@charset "utf-8";
/* CSS Document */
body
{
    margin: 0;
    width: 100%;
    background: url('../images/theronbg.png') 30px 0 repeat;
    font-family: 'Open Sans', sans-serif;
}
a {
 
    color: #4C9CF1;
    text-decoration: none;
    font-weight: bold;
 
}
 
a:hover {
 
    color: #444;
 
}
 
img {
 
    width: 100%;
 
}
 
header {
 
    background: #fff;
    width: 100%;
    height: 120px;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 4px solid #4C9CF1;
    z-index: 100;
 
}
#logo{
 
    margin-left: 20px;
    float: left;
    width: 227px;
    height: 110px;
    background: url(../images/logo.png) no-repeat center;
    display: block;
 
}
 
nav {
 
    float: right;
    padding: 20px;    
 
}
 
#menu-icon {
 
    display: hidden;
    width: 40px;
    height: 40px;
    background: #4C8FEC url(../images/menu-icon.png) center;
 
}
 
a:hover#menu-icon {
 
    background-color: #444;
    border-radius: 4px 4px 0 0;
 
}
 
ul {
 
    list-style: none;
 
}
 
li {
 
    display: inline-block;
    float: left;
    padding: 10px
 
}
 
.current {
 
    color: #2262AD;
 
}
 
section {
 
    margin: 80px auto 40px;
    max-width: 980px;
    position: relative;
    padding: 20px
 
}
/*MEDIA QUERY*/
@media only screen and (max-width : 640px) { /*If device width is higher than 640px use this css and if less than 640px use above */
 
    header {
 
        position: absolute;
 
    }
 
    #menu-icon {
 
        display:inline-block;
 
    }
 
    nav ul, nav:active ul { 
 
        display: none;
        position: absolute;
        padding: 20px;
        background: #fff;
        border: 1px solid #ccc;
        right: 20px;
        top: 60px;
        width: 30px;
        border-radius: 4px 0 4px 4px;
 
    }
 
    nav li {
 
        text-align: center;
        width: 100%;
        padding: 10px 0;
        margin: 0;
 
    }
 
    nav:hover ul {
 
        display: block;
 
    }
}
