/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

body {
    background-color: #0d0d0d;
    font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    color: #000;
    line-height: 1.375em;  /* 22px / 16px */
}

body > div {
    max-width: 1000px;
    margin: 3.125em auto; /* 50px / 16px */
    border-top: 0.625em solid #1cd4ea; /* 10px / 16px */
    border-bottom: 0.625em solid #1cd4ea; /* 10px / 16px */
    background-color: #fafafa;
}

a {
    color: #000;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    outline: none;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

i {
    font-family: 'Open Sans', sans-serif;
	font-style: italic;
}

a:hover {
    color: #1cd4ea;
}

header {
    padding: 1.250em; /* 20px / 16px */
    border-bottom: 1px solid #d8d8d8;
    background-color: #f6f6f6;
    overflow: hidden;
}

#profile {
    float: left;
    width: 5.000em; /* 80px / 16px */
    height: 5.000em; /* 80px / 16px */
    padding: 0.625em; /* 10px / 16px */
    border: 1px solid #cfcfcf;
}

header div {
    float: left;
    margin-left: 0.938em; /* 15px / 16px */
}

header ul {
    float: right;
}

header li {
    float: left;
    margin-left: 0.438em; /* 7px / 16px */
}

h1, h2, h3, h4, h5 {
    font-family: 'Fjalla One', sans-serif;
    text-align: left;
}

h1, h2 {
    color: #424242;
}

h1 {
    margin: 0.472em 0 0.10em 0; /* 17px / 36px, 3px / 36px */
    font-size: 2.250em; /* 36px / 16px */
    line-height: 1.2em; /* 43px / 36px */
}

#nick {
    margin-left: 0.278em; /* 10px / 36px */
    color: #dddddd;
}

h2 {
    clear: both;
    font-size: 1.125em; /* 18px / 16px */
}

section {
    margin: 0 2.500em; /* 40px / 16px */
    padding: 2.500em 0; /* 40px / 16px */
    border-bottom: 1px solid #cfcfcf;
    overflow: hidden;
}

section:last-child {
    border-top: 0;
}

section:hover {
    border-bottom-color: #1cd4ea;
}

h3 {
    float: left;
    width: 30%;
    font-size: 1.625em; /* 26px / 16px */
    color: #1cd4ea;
    line-height: 1.2em;
    letter-spacing: 0.058em; /* 1.5px / 16.px */
}

article {
    float: right;
    width: 70%;
    margin-bottom: 2.500em; /* 40px / 16px */
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 2.500em; /* 40px / 16px */
    text-align: justify;
}

article:hover {
    border-bottom-color: #1cd4ea;
}

article:hover h4 {
    color: #1cd4ea;
}

section > article:last-child, #slider > article:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding: 0;
}

dl {
    width: 70%;
    margin: 0;
    padding: 0;
}

dt {
    float: left;
    margin-right: 0.313em; /* 5px / 16px */
    font-weight: bold;
}

dd {
    text-align: left;
}

h4 {
    font-size: 1.438em; /* 23px / 16px */ 
    line-height: 1.4em;
}

h5 {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	font-size: 0.95em;
    margin-top: 0.313em; /* 5px / 16px */
}

article > p, article > ul {
    margin-top: 0.625em; /* 10px / 16px */
}

#references img {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
}

#references h3 {
    display: block;
    float: none;
    width: 100%;
    margin-bottom: 1.231em; /* 32px / 26px */
    text-align: center;
}

#references p {
    margin: 0;
}

.slider-pager {
    display: none;
    position: absolute;
    top: 50%;
    width: 10%;
    margin-top: -0.5em; /* 25px / 50px */
    background-color: inherit;
    font-size: 3.125em; /* 50px / 16px */
    color: #e0e0e0;
    font-weight: bold;
    text-decoration: none;
}

.slider-pager:hover {
    color: #000;
    text-decoration: none;
}

#references {
    position: relative;
}

#slider-right {
    z-index: 2;
    right: 0;
    text-align: right;
}

#slider {
    position: relative;
    z-index: 5;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

#slider article {
    position: relative;
    width: 100%;
    margin: 0 auto 2.500em auto; /* 40px / 16px */
    background-color: #fafafa;
}

#slider > article > a {
    display: block;
    margin: 10px auto 2.200em auto; /* 40px / 16px */
    border: 1px solid #c8c8c8;
    padding: 0.313em; /* 5px / 16px */
    background-color: #e9e9e9;
    overflow: hidden;
}

#slider h4 {
    text-align: center;
}

#slider p {
    width: auto;
}

@media screen and (max-width:599px) {
    body > div {
        margin: 0;
    }
    #profile {
        float: none;
        display: block;
        margin: 0 auto 1.250em auto; /* 16px / 20px */
        padding: 0;
    }
    header > div {
        display: block;
        float: none;
        margin: 0;
    }
    header ul {
        display: block;
        float: none;
        margin-top: 1.250em; /* 20px / 16px */
        text-align: center;
    }
    header li:first-child {
        margin-left: 0;
    }
    header li {
        display: inline-block;
        float: none;
    }
    h1, h2 {
        text-align: center;
    }
    #nick {
        display: block;
        margin: 0;
    }
    h3 {
        display: block;
        float: none;
        width: 100%;
        margin-bottom: 1.3em; /* 33px / 26px */
    }
    dl {
        width: 100%;
    }
    dt {
        float: none;
        font-weight: bold;
    }
    dd {
        padding-left: 0.938em; /* 15px / 16px */
    }
    article {
        display: block;
        float: none;
        width: 100%;
        text-align: left;
    }
    .slider-pager {
        font-size: 1.5em; /* 34px / 16px */
    }
}
