body{
    background: url(img/body.png);
}
#headerWrapper{
    position: fixed;
    z-index: 2000;
    width: 100%;
    background: #ffa800;
    background: -moz-linear-gradient(top,  #ffa800 0%, #fd9802 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffa800), color-stop(100%,#fd9802));
    background: -webkit-linear-gradient(top,  #ffa800 0%,#fd9802 100%);
    background: -o-linear-gradient(top,  #ffa800 0%,#fd9802 100%);
    background: -ms-linear-gradient(top,  #ffa800 0%,#fd9802 100%);
    background: linear-gradient(to bottom,  #ffa800 0%,#fd9802 100%);
    box-shadow: 0 0 0 1px #bf7300, 0 0 10px 0 #000;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa800', endColorstr='#fd9802',GradientType=0 );
}
#headerWrapper nav{
    margin: 0 auto;
    width: 980px;
    height: 40px;
    line-height: 40px;
}
#headerWrapper nav > a{
    display: block;
    float: left;
    margin-right: 20px;
    padding: 0 20px;
    background: rgba(0,0,0,0.03);
    box-shadow: 8px 0 6px -6px rgba(0,0,0,0.3), -8px 0 6px -6px rgba(0,0,0,0.3);
    color: #fff;
    text-shadow: 1px 1px 0 #cf8300;
    transition: background 500ms;
}
#headerWrapper nav > a:hover,
#headerWrapper nav > a:focus{
    background: rgba(255,255,255,0.05);
    box-shadow: 7px 0 6px -3px rgba(0,0,0,0.3), -7px 0 6px -3px rgba(0,0,0,0.3);
}
#headerWrapper nav > a.active{
    background: rgba(0,0,0,0.05);
    box-shadow: inset 8px 0 6px -6px rgba(0,0,0,0.3), inset -8px 0 6px -6px rgba(0,0,0,0.3);
    color: #eee;
    text-shadow: -1px -1px 0 #cf8300;
}

/* CONTENT */
#contentWrapper{
    margin: 0 auto ;
    padding: 0 20px 50px 20px;
    width: 980px;
    background: #f5f5f5;
    box-shadow: 0 1px 0 1px #fff, 0 0 10px 0 #000;
    font-size: 20px;
    line-height: 1.3em;
    overflow: hidden;
}
#rotat9rA{
    float: right;
}
#contentWrapper p{
    line-height: 1.6em;
}
#contentWrapper h1{
    padding-top: 50px;
    /* height: 270px; */
    border: none;
}
#contentWrapper h2{
    margin-bottom: 0.5em;
    padding-top: 55px;
    border-bottom: solid 1px #000;
    font-size: 35px;
    line-height: 27px;
}
#contentWrapper h3{
    padding-top: 55px;
}
#contentWrapper h4{
    padding-top: 55px;
}
#contentWrapper h5{
    padding-top: 55px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#contentWrapper h2 > a,
#contentWrapper h3 > a,
#contentWrapper h4 > a,
#contentWrapper h5 > a{
    float: right;
    color: #444;
    text-shadow: 1px -1px 0 #fff, -1px -1px 0 #fff;
    font-size: 25px;
}
#contentWrapper h3 > a{
    color: #888;
    font-size: 18px;
}
#contentWrapper h4 > a{
    color: #aaa;
    font-size: 14px;
}
#contentWrapper h5 > a{
    color: #ccc;
    font-size: 10px;
}
#contentWrapper h2 > a:hover,
#contentWrapper h2 > a:focus,
#contentWrapper h3 > a:hover,
#contentWrapper h3 > a:focus,
#contentWrapper h4 > a:hover,
#contentWrapper h4 > a:focus,
#contentWrapper h5 > a:hover,
#contentWrapper h5 > a:focus{
    transform: translateY(-5px);
}
#contentWrapper pre{
    margin-bottom: 1em;
    padding-left: 20px;
    border-left: solid 20px #c7c8c9;
    background: #fff;
}
#contentWrapper code{
    padding: 2px 5px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 5px 1px #000;
}
#compareTable{
    margin: 0 auto 1em auto;
    font-size: 11px;
    line-height: 1em;
}

#contentWrapper nav.submenu{
    margin-bottom: 1em;
}

#contentWrapper nav.submenu > a{
    display: block;
    margin-bottom: 0.5em;
    padding: 10px;
    max-width: 280px;
    width: 100%;
    border-radius: 7px;
    background: #ddd;
    box-shadow: 2px 2px 5px 0 #000, inset -10px 0 0 -0px #ccc;
    color: #444;
    text-decoration: none;
    text-shadow: 1px 1px 0 #eee;
    font-size: 18px;
}
#contentWrapper nav.submenu > a:hover,
#contentWrapper nav.submenu > a:focus{
    box-shadow: 1px 1px 2px 0 #000;
}
#contentWrapper nav.submenu > a:active{
    box-shadow: inset 0 0 5px 0 #000; 
}

#contentWrapper dl{
    margin-bottom: 55px;
}
#contentWrapper dt{
    font-weight: bold;
}
#contentWrapper dd{
    display: inline-block;
    margin-bottom: 1em;
    padding: 2px 5px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 5px 1px #000;
}

/*HEADER DEMO*/
#headerDemo{
    position: relative;
    top: 65px;
    z-index: 1000;
    margin-bottom: 50px;
    width: 410px;
    height: 235px;
}
#headerDemo > figure{
    position: absolute;
    top: 0;
    left: 0;
}
#headerDemo > figure:first-child{
    z-index: 1000;
}
#headerDemo > figure > img{
    width: 400px;
    height: 225px;
}
#headerDemo > figure > figcaption{
    position: absolute;
    bottom: 20px;
    left: 5px;
    display: block;
    padding: 0 20px;
    width: 390px;
    height: 30px;
    background: rgba(255,255,255,0.5);
    color: #fff;
    text-align: right;
    text-shadow: 1px 1px 0 #000, 0 0 2px #fff;
    font-size: 16px;
    line-height: 30px;
}
.socialcount{
    float: right;
    clear: both;
    width: 100%;
    text-align: right;
}

#sample_1{
    position: relative;
    margin: auto;
    margin-bottom: 20px;
    width: 400px;
    height: 225px;
}
#sample_1 > img{
    position: absolute;
}
#sample_1 > img:first-child{
    z-index: 1000;
}

#sample_2{
    position: relative;
    margin: auto;
    margin-bottom: 20px;
    width: 400px;
    height: 225px;
}
#sample_2 > img{
    position: absolute;
}
#sample_2 > img:first-child{
    z-index: 1000;
}

#sample_2Nav{
    clear: both;
    margin-bottom: 20px;
    text-align: center;
}
#sample_2Nav > a{
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: rgba(0,0,0,0.9);
    box-shadow: 1px 1px 0 0 #000, -1px -1px 0 0 #999, 0 0 5px 2px #000;
    color: #bbb;
    text-decoration: none;
    font-size: 12px;
    line-height: 30px;
}
#sample_2Nav > a.activeSlide{
    background: rgba(0,0,0,1);
    box-shadow: 1px 1px 0 0 #000, -1px -1px 0 0 #999, 0 0 2px 1px #000;
}
/* CONTENT - END */

#footerWrapper{
    bottom: 0;
    z-index: 10;
    width: 100%;
    background: #222222;
    background: -moz-linear-gradient(top,  #1d2226 0%, #262d33 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1d2226), color-stop(100%,#262d33)); 
    background: -webkit-linear-gradient(top,  #1d2226 0%,#262d33 100%); 
    background: -o-linear-gradient(top,  #1d2226 0%,#262d33 100%); 
    background: -ms-linear-gradient(top,  #1d2226 0%,#262d33 100%); 
    background: linear-gradient(to bottom,  #1d2226 0%,#262d33 100%); 
    box-shadow: 0 0 0 1px #39434c, 0 0 10px 0 #000;
}
#footerWrapper > div{
    margin: 0 auto;
    width: 980px;
    height: 40px;
    color: #ddd;
    line-height: 40px;
}
#footerWrapper > div > p{
    padding: 0 20px;
    text-align: center;
}
#footerWrapper > div > p > a{
    color: #fe8a00;
    text-shadow: 1px 1px 0 #080808;
}
#footerWrapper > div > p > a:hover,
#footerWrapper > div > p > a:focus{
    color: #feb258;
    text-shadow: 0 0 2px #000;
}

/* MORE EXAMPLES */
.examples > article > div{
    position: relative;
    margin: auto;
    margin-bottom: 20px;
    width: 400px;
    height: 225px;
}
.examples > article > div > img{
    position: absolute;
}
.examples > article > div > img:first-child{
    z-index: 1000;
}

.textExample > article > div > div{
    position: absolute;
    padding: 20px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 1px 1px 5px 2px #000;
}
.textExample > article > div > div:first-child{
    z-index: 1000;
}
/* MORE EXAMPLES - END */

/* --------------------------- MEDIA QUERIES -------------------------------- */

/* MEDIUM */
@media screen and (min-width:480px) and (max-width:980px) {
    #headerWrapper{
        position: static;
        display: table;
    }
    #headerWrapper > nav{
        display: table-row;
    }
    #headerWrapper > nav > a{
        display: table-cell;
        margin: 0;
        box-shadow: inset 0 -2px 10px -5px #000, inset 0 2px 10px -5px #fff, inset -1px 0 0 0 #e59100;
    }
    #rotat9rA{
        float: none;
        margin: auto;
        text-align: center;
    }
    #headerDemo{
        margin-right: auto;
        margin-left: auto;
    }
    #contentWrapper{
        width: 100%;
    }
    #footerWrapper > div{
        width: 100%;
    }
    #compareTable{
        width: 240px;
    }
}
/* MEDIUM - END */

/* SMALL */
@media screen and (max-width:480px) {
    #contentWrapper{
        padding: 0 5px 50px 5px;
        width: 100%;
    }
    #footerWrapper > div{
        width: 100%;
    }
    #compareTable{
        width: 240px;
    }
    #compareTable tr > th:nth-child(5),
    #compareTable tr > td:nth-child(5){
        display: none;
    }
    
    #rotat9rA{
        float: none;
        margin: auto;
        text-align: center;
    }
    #rotat9rA img{
        width: 280px;
    }
    #headerDemo{
        margin-right: auto;
        margin-left: auto;
        width: 290px;
        height: 168px;
    }
    #headerDemo > figure > img{
        width: 280px;
        height: 158px;
    }
    #headerDemo > figure > figcaption{
        width: 270px;
    }
    
    #headerWrapper{
        position: static;
        z-index: 2000;
        width: 100%;
    }
    #headerWrapper nav{
        margin: 0 auto;
        width: 100%;
        height: auto;
    }
    #headerWrapper nav:before,
    #headerWrapper nav:after{
        display: table;
        content: " ";
    }
    #headerWrapper nav:after{
        clear: both;
    }

    #headerWrapper nav > a{
        display: inline-block;
        margin-right: 20px;
        padding: 0 20px;
        width: 100%;
        box-shadow: inset 0 -2px 10px -5px #000, inset 0 2px 10px -5px #fff;
    }
    
    #sample_1,
    #sample_2{
        width: 280px;
        height: 158px;
    }
    #sample_1 > img,
    #sample_2 > img{
        width: 280px;
        height: 158px;
    }
    
    /*MORE EXAMPLES*/
    .examples > article > div{
        width: 280px;
        height: 158px;
    }
    .examples > article > div > img{
        width: 280px;
        height: 158px;
    }
}
/* SMALL - END */
