/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
}

h1,h2,h3,h4,h5,h6 {
    color: #2e5e8b;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

h2,h3 {
    padding: .25em 2.5%;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.2em;
}
h4,h5,h6 {
    font-size: 1em;
    font-weight: 600;
}
h6 { font-weight: 400; margin: .5em 0; }
h1 { font-weight: 800; }

a,a:visited, span.link {
    text-decoration: none;
    color: #2e5e8b;
}
a:hover {
    text-decoration: underline;
}
strong { font-weight: 600; }

.printonly { display: none; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media all and (min-width: 0) {
    header { overflow: hidden; }
    header h1 {
        font-size: 2em;
        line-height: .8em;
        text-align: center;
        margin: .25em 0;
    }
    header address {
        color: #e0e0e0;
        font-size: .9em;
        width: 95%;
        margin: .25em auto;
    }
    header address p {
        border-bottom: 1px solid #e0e0e0;
    }
    header address span {
        color: #2e5e8b;
    }
    main > section { width: 95%; margin: 0 auto; }
    main > h2 { padding: .25em 2.5%;}
    .main ol {
        list-style: none;
        margin: .25em 0;
        padding: 0;
    }
    .main ol > li { 
        padding: 1em 2.5%;
    }
    .main ol > li:nth-child(even) {
        background: #f1f1f1;
    }
    .main ul.roles {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .main ul.tasks, .sidebar ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .main ul.tasks li, .sidebar ul li {
        padding-left: 1.5em;
        position: relative;
    }
    .main ul.tasks li:after, .sidebar ul li:after {
        content: "";
        position: absolute;
        left: .25em;
        width: .5em;
        height: .5em;
        top: .5em;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        -o-border-radius: 50%;
        border-radius: 50%;
        background: #2e5e8b;
    }
    .sidebar section {
        margin: 1em 0;
        padding: .5em;
        position: relative;
    }
    .sidebar section > p, .sidebar section > ul { width: 95%; margin: 0 auto; }
    .sidebar ul li.heading {
        padding-left: 0;
        font-weight: 600;
        font-size: 1.1em;
    }
    .sidebar ul li span {
        font-size: .8em;
        font-style: italic;
        font-weight: 300;
    }
    .sidebar ul li.heading:after {
        display: none;
    }
    .sidebar section.boxed {
        margin: 1em auto .5em;
        border: 1px solid #e0e0e0;
        width: 90%;
        padding: .25em 2.5%;
    }
    .sidebar .skills ul li:after { display: none; }
} 

@media all and (min-width: 35em) {
    header h1 {
        width: 30%;
        float: left;
        font-size: 3em;
    }
    header address {
        width: 67%;
        float: right;
        border: 1px solid #e0e0e0;
    }
    header address p {
        margin: 0;
        padding: .5em 1% .25em;
    }
    header address p:nth-child(2), header address p:nth-child(4) {
        width: 38%;
        float: left;
        border-right: 1px solid #e0e0e0;
    }
    header address p:nth-child(3), header address p:last-child {
        width: 57.7%;
        float: left;
    }
    header address p:nth-child(4) {
        clear: both;
        border-bottom: 0;
    }
    header address p:last-child {
        border-bottom: 0;
    }

}
@media all and (min-width: 45em) {
    header, main { max-width: 50em; margin: 0 auto; position: relative; }
    main > section {
        position: relative;
        margin-bottom: 1em;
        width: 100%;
        padding: .5em 2.5%;
    }
    .main {
        
        position: relative;
    }
    .csstransforms main > h2, .csstransforms .main h3, .csstransforms .sidebar h3 { 
        position: absolute;
        top: 0;
        left: -30px;
        border-bottom: 0;
        -webkit-transform-origin: 0 0;
        -moz-transform-origin: 0 0;
        -o-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        transform-origin: 0 0;
        -webkit-transform: rotate(-90deg); 
        -moz-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    }
    .csstransforms main > h2 {
        top: 105px;
    }
    .csstransforms .main h3 {
        top: 120px;
        
    }
    .csstransforms .sidebar section.skills h3 {
        top: 70px;
    }
    .csstransforms .sidebar section.samples h3 {
        top: 136px;
    }
     .csstransforms .sidebar section.refs {
        padding: 1.5em .5em;
     }
    .csstransforms .sidebar section.refs h3 {
        top: 115px;
    }
    .csstransforms .sidebar section.interests h3 {
        top: 92px;
    }
    .csstransforms main > section, .csstransforms .main section, .csstransforms .sidebar section {
        border-left: 1px solid #e0e0e0;
    }
    .sidebar {
        font-size: .9em;
        padding-top: 1em;
    }
}

@media print {
    
    .main {
        /* width: 63%;
        float: left; */
        font-size: .9em;
    }
    
    /* .sidebar {
        width: 32%;
        float: right;
        font-size: .95em;
    }  */
    .noprint { display: none; }
    .brk { page-break-after: always;}
    .printonly { display: block; }
    .sidebar section.skills { margin-top: 0; padding-top: 0; }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        /*color: #000 !important; *//* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    /*a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }*/

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}