@charset "utf-8";

/*-------------------------------------------*/
/* BASIC SETUP */
/*-------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #ffffff;
    color: #000000;
    font-family: PT Sans, sans-serif;
    font-size: 21px;
    font-weight: normal;
}

html,
body {
    height: 100%;
    min-width: 100%;
    background-color: #ffffff;
}

.wrapper {
    display: table; 
    height: 100%;
    min-width: 100%;
}

.content {
    position: relative;
    display: table-row;
    height:100%;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

* html .clearfix {height: 1%;}
.clearfix {display: block;}

* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/*-------------------------------------------*/
/* REUSABLE COMPONENTS */
/*-------------------------------------------*/

.row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2%;
}

*:focus {
    outline: none;
}

section {
    position: relative;
}

a {
    text-decoration: none;
}


/*-------------------------------------------*/
/* HEADER */
/*-------------------------------------------*/
.top-nav {
    background-color: #fff;
    width: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
    z-index: 99;
    font-size: 0;
    line-height: 0;
    -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, .37);
    -moz-box-shadow:    0px 3px 10px 0px rgba(0, 0, 0, .37);
    box-shadow:         0px 3px 10px 0px rgba(0, 0, 0, .37);
}

.top-nav-bg {
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIwLjMiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIwLjMiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
    background: rgba(249,249,249,.3);
}

.menu-btn {
    display: none;
    position: fixed;
    right: 13px;
    top: 9px;
    font-size: 30px;
    line-height: 31px;
    text-transform: uppercase;
    font-weight: normal;
    cursor: pointer;
    z-index: 9;
}

.menu-btn:before {
    content: "\2630";
}

.menu-btn:link,
.menu-btn:visited {
    color: #000000;
}

.menu-btn:hover {
    color: #81b3d2;
}

.menu-btn:active {
    color: #b2b2b2;
}

.navigation li  {
    font-size: 14px;
    line-height: 26px;
    text-transform: uppercase;
    font-weight: bold;
    list-style: none;
    display: inline-block;
    vertical-align: middle;
    text-align: center;    
    width: 20%;
    text-decoration: none;
    padding: 15px 1px;    
}

.nav-link {
    color: #000000;
     -webkit-transition: color 0.2s ease-out;
     -moz-transition: color 0.2s ease-out;
     -o-transition: color 0.2s ease-out;
     transition: color 0.2s ease-out;
}

.nav-link:link,
.nav-link:visited {
    color: #000000;
}

.nav-link:hover {
    color: #81a5d2;
}

.nav-link:active {
    color: #b2b2b2;
}


.logo {
    background-color: none;
    position: relative;
    z-index: 1000;
}

.logo a {
    position: absolute;
    top: -13px;
    left: 0;
    width: 100%;
    height: 73px;
    background: url(../img/logo.png) no-repeat top center;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 1000;
}


.scroll-to-top {
    position: fixed;
    cursor: pointer;
    right: 2%;
    bottom: 30px;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
    padding: 6px 11px 11px 10px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    z-index: 99;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJiOTBjNiIgc3RvcC1vcGFjaXR5PSIwLjYiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzJiOTBjNiIgc3RvcC1vcGFjaXR5PSIwLjYiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
    background: rgba(43,144,198,.6);
}

.scroll-to-top:before {
    content: "\25b2";
}


/*-------------------------------------------*/
/* Footer */
/*-------------------------------------------*/

footer {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    font-size:0;
    line-height:0;
    position: relative;
    top: 450px;
    padding: 33px 0;
    z-index: 3;
    -webkit-box-shadow: 0px -5px 10px 0px rgba(0, 0, 0, 0.37);
    -moz-box-shadow:    0px -5px 10px 0px rgba(0, 0, 0, 0.37);
    box-shadow:         0px -5px 10px 0px rgba(0, 0, 0, 0.37);
}

.visit-s,
.social-icons,
.logo-footer {
    display: inline-block;
    vertical-align: middle;
    width: 33%;
}

.visit-s {
    font-size: 21px;
    line-height: 26px;
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 63px;
}

.social-icons {
    text-align: center;
}

.social-icons a {
    display: inline-block;
    vertical-align: baseline;
    font-size: 21px;
    line-height: 26px;
    font-weight: normal;    
    margin: 3px;
    padding: 13px 14px 15px 14px;

    -webkit-transition-property: color background;
    -webkit-transition-duration: 0.3s;
    -webkit-transition-timing-function: ease;

    -moz-transition-property: color background;
    -moz-transition-duration: 0.3s;
    -moz-transition-timing-function: ease;

    -ms-transition-property: color background;
    -ms-transition-duration: 0.3s;
    -ms-transition-timing-function: ease;

    -o-transition-property: color background;
    -o-transition-duration: 0.3s;
    -o-transition-timing-function: ease;

    transition-property: color background;
    transition-duration: 0.3s;
    transition-timing-function: ease;

}

.social-icons a:link,
.social-icons a:visited {
    color: #fff;
    background: #81b3d2;
}

.social-icons a:hover {
    background: #669ec0;
}

.social-icons a:active {
    color: #88b6d1;
    background: #5496bd;
}

.social-icons a i {
    display: block;
    vertical-align: top;
    width: 20px;
    height: 20px;
}

.logo-footer {
    margin-top: -5px;
    text-align: right;
}

.logo-text,
.logo-htmlacademy {
    display: inline-block;
    vertical-align: middle;    
    font-size:0;
    line-height:0;
}

.logo-text {
    font-size: 14px;
    line-height: 26px;
    text-transform: uppercase;
}

.logo-htmlacademy {
    width: 135px;
    height: 35px;
    background-image: url(../img/sprite.png);
    background-repeat: no-repeat;
    font-size: 14px;
    line-height: 26px;
    margin-left: 8px;
    text-transform: uppercase;
    background-position: 0 -63px;
    cursor: pointer;
}

.logo-htmlacademy:link,
.logo-htmlacademy:visited {
    background-position: 0 -63px;
}

.logo-htmlacademy:hover {
    background-position: 0 -135px;
}

.logo-htmlacademy:active {
    background-position: 0 -200px;
}


/* Author Link */

.author-link {
    position: fixed;
    top: 35%;
    left: 0;
    width: 150px;
    padding: 10px 0 20px 0;
    height: 110px;
    background: rgba(0, 0, 0, .7);
    opacity: .5;
    font-size: 15px;
    line-height: 15px;
    z-index: 9;
    text-align: center;
    color: #ffffff;

    -webkit-transition-property: transition opacity;
    -webkit-transition-duration: 0.3s;
    -webkit-transition-timing-function: ease;

    -moz-transition-property: transition opacity;
    -moz-transition-duration: 0.3s;
    -moz-transition-timing-function: ease;

    -ms-transition-property: transition opacity;
    -ms-transition-duration: 0.3s;
    -ms-transition-timing-function: ease;

    -o-transition-property: transition opacity;
    -o-transition-duration: 0.3s;
    -o-transition-timing-function: ease;

    transition-property: transition opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.author-link:hover {
    width: 300px;
    opacity: 1;
}

.author-link-hd,
.author-site,
.skype-author {
    display: block;
    padding: 7px 10px;
    color: #ffffff;

    -webkit-transition-property: color;
    -webkit-transition-duration: 0.5s;
    -webkit-transition-timing-function: ease;

    -moz-transition-property: color;
    -moz-transition-duration: 0.5s;
    -moz-transition-timing-function: ease;

    -ms-transition-property: bcolor;
    -ms-transition-duration: 0.5s;
    -ms-transition-timing-function: ease;

    -o-transition-property: color;
    -o-transition-duration: 0.5s;
    -o-transition-timing-function: ease;

    transition-property: color;
    transition-duration: 0.5s;
    transition-timing-function: ease;
}

.author-site:hover,
.skype-author:hover {
    color: #9CC8E9;
}
