/* ==========================================================================
   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;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */
*  {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font: 16px/26px;
    background: #F7F7F7;
    /*font-family: "proxima-nova", 'Arial',sans-serif "Arial","Helvetica", sans-serif;*/
    font-family: "proxima-nova", 'Arial', sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

a {
    text-decoration: none;
    color:#00A3D8;
}

a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Menu
   ============== */
.toggleMenu {
    font-size: 18px;
    border-bottom:1px solid #666;
    border-top:1px solid #666;
    text-align: center;
    display: inline-block;
    padding: 10px;
    text-transform: uppercase;
}
.toggleMenu:before,
.toggleMenu:after {
    /*content: " : : : ";*/
}

nav {
    display: none;
}

nav ul {
    margin: 0;
    padding: 0;
}
nav li {
    display: block;
    position: relative;
}
nav a {
    margin:0;
    padding: 10px 0;
    color:#fff;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    position: relative;
}


nav a:hover {
    color: #00A0D6;
    text-decoration: none;
}

nav span {
    position: absolute;
    bottom: -5px;
    color: #bbb;
    left: 0;
    font-size: 11px;
    display: block;
    text-align: left;
    z-index: 99;
    min-width: 200px;
    text-transform: none;
    /*padding-left: 20px;*/
}
/*
nav .yinpress,
nav .yangpress {
    background:#EC2E52;
    padding: 5px 25px 20px 20px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
nav .yinpress span,
nav .yangpress span {
    bottom: 5px;
    color: #fff;
}
nav .yinpress:hover,
nav .yangpress:hover {
    color:#fff;
    background: #FC2E52;
}*/



/* ==============
    MOBILE: Main
   ============== */



/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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

* {
    -webkit-transition:color 0.2s ease-in;  
    -moz-transition:color 0.2s ease-in;  
    -o-transition:color 0.2s ease-in;  
    transition:color 0.2s ease-in; 
}

/*HEADER*/

#logo {
    display: block;
    margin: 5px 0 35px;
    padding:0;
    width: 139px;
    height: 21px;
    background: url(../img/logo.png) top left no-repeat;
    text-indent: -999em;
}
    #logo a {
        display: block;
    }

.header-container {
    background: #111111;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
    padding: 40px 0 25px;
    position: relative;
    z-index: 99;
}

header {
    position: relative;
}

.user {
    margin-bottom: 20px;
}

.user, 
.user a {
    color:#00A0D6;
}

.welcome-container {
    background: url(../img/bg_welcome.jpg) top left repeat;
    text-align: center;
    padding:40px 0 35px;
    border-bottom: 1px solid #D3D3D3;
}
    .welcome-container h2 {
        margin: 0;
        text-transform: uppercase;
        font-size: 50px;
        font-weight: 900;
        color:#E73B6F;
        
        letter-spacing: -1px;

        color: rgba(233, 52, 86, 0.93);
        text-shadow: 1px 1px #FFFFFF, 0 0 0 #000000, 1px 1px #FFFFFF;
    }
    .welcome-container p {
        font-size: 28px;
        font-weight: 100;
    }
    .welcome-container a {
        display: block;
        width: 180px;
        margin: 0 auto;
        background: #00A3D9 url(../img/bg_button.png) top left repeat;
        font-size: 12px;
        text-transform: uppercase;
        color: #fff;
        text-shadow: 0  0 2px rgba(0, 0, 0, 0.5);
        padding: 10px 20px;
        -webkit-box-shadow:  0 0 3px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
    .welcome-container a:hover {
        background-image: url(../img/bg_button_gray.png);
        text-decoration: none;
    }
    .welcome-container a strong {
        font-size:17px;
        display: block;
        text-shadow:none;
    }


.main {
    padding-top: 40px;
}

.page-title {
    text-align: center;
    font-size: 42px;
}
h2.details {
    margin-bottom: 40px;
    margin-top: 0;
}
/* ---------------------
    FOOTER 
------------------------*/

.footer-container {
    background: #111111;
    margin-top: 80px;
}

footer {
    color:#999;
    padding: 20px 0 50px;
    font-size: 14px;
    font-weight: 300;
}

footer a {
    color: #eee;
}

.footerBox {
    float:none;
    margin-right:5%;
    clear: none;
    margin-bottom: 50px;
}

.footerBox h3 {
    color:#eee;
    /*background-image:url(../img/footer_headings_sprite.png);*/
    background-repeat:no-repeat;
    line-height:27px;
    padding-left:0;
    font-size:19px;
    margin-bottom: 30px;
    font-weight: bold;
}
footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer ul li {
    margin: 0 0 8px;
}

footer #twitter h3 {
    background-position:0 0;
}

footer #newsletter h3{
    background-position:0 -27px;
}

footer #links h3{
    background-position:0 -54px;
}

footer #jTweets {

}

footer #newsletter{
}

footer #links{
    margin-right:0;
}

footer #links ul {
    /*font-size:12px*/
    margin:10px 0 0;
}



/* Footer Tweets */

footer #jTweets ul {
    list-style:none;
    margin:0;
    padding: 0;
}

footer #jTweets ul li {
    background:url(../img/ico_quotes_tweet.png) 3px 3px no-repeat;
    border-bottom:1px dotted #444;
    /*font-family:"Georgia", "Times New Roman", serif;*/
    /*font-style:italic;*/
    padding:0 0 13px 22px;
}

footer #jTweets ul li a.timesince {
    font-size:11px;
    color:#5C7272;
    clear:both;
    display:block;
}

footer #jTweets ul li a.timesince:before {
    content:"about ";
}

footer #jTweets strong {
    font-size:13px;
}

footer #jTweets .jta-tweet-timestamp {
    display:block;
    font-size:10px;
}

footer #jTweets .jta-clear {
    display:none;
}

/* Newsletter */

footer #newsletter form {
    margin-top:20px;
}

footer #newsletter form input[type="text"] {
    background:#fff;
    border:none;
    border-radius: 2px;
    color: #666;
    padding: 8px 10px;
    margin-right: 5px;
    text-shadow: none;
    width: 180px;
    font:italic 12px 'Georgia','Times New Roman',serif;
    float:left;
}

footer #newsletter form input[type="submit"] {

    clear:both;
    text-transform:none;
    text-decoration:none;
    -webkit-transition:color 0.1s ease-in;  
    -moz-transition:color 0.1s ease-in;  
    -o-transition:color 0.1s ease-in;  
    transition:color 0.1s ease-in; 
    border:none;
    margin-bottom:10px;

    background: #00A3D9 url(../img/bg_button.png) top left repeat;
    font-weight: bold;

    color: #fff;
    padding: 7px 10px;
    border-radius: 2px;

}

footer #newsletter .response {
    margin-bottom:20px;
    font:italic 12px/1.5 'Georgia','Times New Roman',serif;
    color:#4AB5B5;
}

/* Copyright  */

footer #copyright {
    clear:both;
    text-align:center;
    padding-top:50px;
    font-size:11px;
}

footer #copyright a {
    font-weight:bold;
}



/* Themes Listings */
#latestThemes {
    clear: both;
}

.theme-article {
   /* float:left;
    width:47%;*/
    min-width: 320px;
    margin-bottom: 80px;
    background: #fff;
    padding:7px 7px 10px;
    padding:0px 0px 20px;
    min-height: 340px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: 0 15px 5px -10px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 0;
}
.theme-article:hover {
   /* box-shadow: 0 15px 5px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    top:-10px;*/
    /*transform: scale(1.05);
    -ms-transform: scale(1.05); 
    -webkit-transform: scale(1.05); */
}
   
    .theme-article {

    }
    .theme-article h3 {
        font-weight: normal;
        font-size: 16px;
        margin: 0 20px;
    }
    
    .theme-article .theme-thumb {
        display: block;
       
        width: 100%;
        height: auto;
    }
    .theme-thumb-wrapper {
        display: block;
        overflow: hidden;
        min-height: 150px;
        max-height: 280px;
         margin-bottom: 20px;
    }
    .theme-article .theme-tags {
        font-size: 12px;
        background: url(../img/ico_tags.png) left 50% no-repeat;
        padding-left: 20px;
        margin:10px 20px 0;
    }
    
    .theme-article .theme-tags a {
        color: #545454;
    }


/* Ads 
---------------------------------------------------*/
.forum-top-ads {
    border-bottom:1px solid #ddd;
    border-top:1px solid #ddd;
    clear:both;
    position: relative;
    top:-40px;
}

.forum-top-ads ul {
    margin:0;
    padding: 0;
}

.forum-top-ads ul li {
    width:50%;
    display:block;
    float:left;
    text-align: center;
    padding:25px 0;
}

.forum-top-ads ul li a {
    color:#333;
    text-decoration:none;
}

.forum-top-ads ul li a:hover {
    text-decoration: underline;
}

    

.themes-categories {
    display: block;
    text-align: center;
    position: relative;
    margin: 0 auto 50px;
    z-index: 88;
    clear: both;
}   
    .themes-categories h3 {
        display: inline-block;
        margin: 0 20px 0 0;
        font-size: 16px;
        font-weight: normal;
    }

    .dropdown-theme-terms {
        display: inline-block;
        text-align: left;
        background: #fff;
        border:1px solid #E1E1E1;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        text-transform: uppercase;
        margin: 0;
        position: relative;
        z-index: 999;
    }
    
    .dropdown-theme-terms ul {
        display: none;
        position: absolute;
        z-index: 89;
        top:-1px;
        left:-1px;
        list-style: none;
        margin: 0;
        padding: 0;
         -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        border:1px solid #E1E1E1;
    }

    .dropdown-theme-terms:hover ul {
        display: block;
        background: #fff;
    }

    .dropdown-theme-terms a {
        padding: 10px;
        display: block;
        min-width: 250px;
        font-size: 14px;
    }
    .dropdown-theme-terms a:hover {
        background: #E1E1E1;
    }

    a.themes-all {
        background: url(../img/arrow_down.png) 95% 50% no-repeat;
    }

h3.section-title {
    text-align: center;
    margin: 30px 0 0;
    font-size: 28px;
}
h4.section-subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
     margin: 0 0 30px;

}
.three-cols .theme-article {
    width:30%;
    margin: 0 3% 80px 0;
}   
    .three-cols .theme-article:nth-child(2n+0) {
        margin-right: 3%;
    }
    .three-cols .theme-article:nth-child(3n+0) {
        margin-right: 0;
    }
/* ---------------------
    Theme Single 
------------------------*/

h2.details .title {
    display: block;
    font-size: 42px;
    text-align: center;
}

h2.details .tagline {
    font-size: 20px;
    text-align: center;
    display: block;
    font-weight: normal;
}

.theme-actions {
    text-align: center;
    margin: 40px 0;
}
    .theme-actions a {
        background: url(../img/bg_button.png) top left repeat;
        color: #fff;
        padding: 10px 20px 10px 10px;
        display: inline-block;
        margin: 0 8px;
        font-weight: 600;
        text-transform: uppercase;
        -webkit-box-shadow:  0 0 3px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        margin-bottom: 20px;
        min-width: 125px;
    }
    
    .theme-actions a.download {
         background-image: url(../img/bg_button_red.png);
    }

    .icon {
        display: inline-block;
        width:26px;
        height: 18px;
        background: url(../img/sprite_icons.png) 0 0 no-repeat;
        vertical-align: text-top;
        margin-right: 5px;

    }
    .view .icon {
          background-position: 0 0;
    }
    .download .icon {
        background-position: 0 -18px;
    }
    .twitter-share .icon {
        background-position: 0 -36px;
    }   

.theme-links {
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
}
    .theme-links a,
    .theme-links span {
        display: inline-block;
        margin: 0 20px;
    }
.theme-preview  {
    position: relative;
    margin: 30px 0 30px;
}
    .theme-preview img {
        width: 100%;
        height: auto;
         -webkit-box-shadow:  0 0 3px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    }


#freeRibbon {
    background: url(../img/ribbon.png) left top no-repeat;
    height: 150px;
    position: absolute;
    right: -8px;
    top: -7px;
    width: 150px;
    z-index: 100;
    display: none;
}

.next-prev-posts {
    text-align: center;
}

.prev-post,
.next-post {
    position: static;
    top:200px;
    left: 0;
    background: #A9A9A9 url(../img/bg_button_gray.png) top left repeat;
    padding: 10px 20px;
    display: inline-block;
    color: #fff;

    -webkit-box-shadow:  0 0 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.prev-post a,
.next-post a {
    color: #fff;
}

.next-post {
    right: 0;
    left: auto;
}
.ico_prev, 
.ico_next {
    background: url(../img/arrows_leftright.png) 0 0 no-repeat;
    display: inline-block;
    width:9px;
    height: 17px;
    vertical-align: middle;
    margin-left: 10px;


}
.ico_prev {
    background-position: 0 -17px;
    margin-left: 0;
    margin-right: 10px;
}


.single-post .main img {
    border: 10px solid #FFFFFF;
    box-shadow: 0 1px 5px rgba(55, 55, 55, 0.3);
}





/* Pagination */
.emm-title {
    display: none;
}
.emm-paginate {
    padding: 45px 0 20px;
    clear: both;
    text-align: center;
}
.emm-paginate a, .emm-paginate span {
    background: none;
    border-radius: 100%;
    margin: 0 4px;
    height: 50px;
    width: 50px;
    display: inline-block;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    text-shadow: none;
    color: #00A3D9;
    transition: color 0.1s ease-in 0s;
    background: #fff;
}
.emm-paginate .emm-title {
    border: medium none;
    padding-left: 0;
    background: none;
    display: none;
}
.emm-paginate .emm-current {
    color: #fff;
    background: #00A3D9;
}
.emm-paginate a:hover {
    background: #00A3D9;
    color: #fff;
}



/* FORUM */
#searchform {
    border-bottom: 0px solid #DDDDDD;
    display: block;
    padding: 0 0 50px;
    text-align: center;
}
#searchform input[type="text"] {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 0px solid #F0F0F0;
    border-radius: 2px;
    box-shadow: 1px 1px #FFFFFF, 1px 1px 0px #AAAAAA inset;
    color: #666666;
    margin-top: 5px;
    padding: 7px;
    transition: background 0.2s ease-in 0s;
    width: 250px;
}
#searchform input[type="submit"] {
    text-transform:uppercase;
    text-decoration:none;
    -webkit-transition:color 0.1s ease-in;  
    -moz-transition:color 0.1s ease-in;  
    -o-transition:color 0.1s ease-in;  
    transition:color 0.1s ease-in; 
    border:none;
    margin-bottom:10px;
    min-width: 100px;
    font-size:11px;

    background: #00A3D9 url(../img/bg_button.png) top left repeat;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0  0 2px rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    -webkit-box-shadow:  0 0 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
#searchform label {
    font-size: 20px;
    font-weight: bold;
    color:#aaa;
    font-weight: normal;
}





/******************************************************************
LOGIN PAGE ELEMENTS STYLES
******************************************************************/

#signin, #register {
    float:none;
    padding:25px;
    background: #fff;
    border:1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    min-height: 300px;
    margin-top: 15px;
}

#signin {
    
}

#signin h2, #register h2 {
    margin-top: 0;
}

.login #separator {
    width:8%;
    float:left;
    text-align:center;
    font-family:Georgia, serif;
    font-size:28px;
    font-style:italic;
    color:#0099FF;
    /*background:url(images/bk_sep_login.png) 50% 50% no-repeat;*/
    height:160px;
    margin-top:26px;
    padding-top:115px;
    display: none;
}

.login form label, .login form input {
    float:left;
    margin-bottom:15px;
}

.login form label {
    width:120px;
    /*font-size:13px;*/
    clear: both;
    margin: 5px 0 15px 0;
}

.login form label.remember, .login form label.newsletter-signup {
    width:290px;
    margin-left:120px;
    line-height:100%;
}

.login a.forgot, .login a.signin {
    display:block;
    margin-left:120px;
    font-size:12px;
    clear:both;
}


.login form input[type="text"], .login form input[type="password"]{
   /* -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);*/
    padding:5px 10px;
    width:220px;
    border:1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.login form input[type="checkbox"] {
    margin:0 10px 0 0;
}

.login form input[type="submit"] {
    clear:both;
    margin-left:120px;
    text-transform:uppercase;
    text-decoration:none;
    -webkit-transition:color 0.1s ease-in;  
    -moz-transition:color 0.1s ease-in;  
    -o-transition:color 0.1s ease-in;  
    transition:color 0.1s ease-in; 
    border:none;
    margin-bottom:10px;
    min-width: 100px;

    float:none;
    display: block;


    background: #00A3D9 url(../img/bg_button.png) top left repeat;
    font-weight: bold;

    text-transform: uppercase;
    color: #fff;
    text-shadow: 0  0 2px rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    -webkit-box-shadow:  0 0 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#newsletter_why {
    clear: left;
    color: #666666;
    display: none;
    font-family: Georgia;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 10px;
    margin-left: 120px;
    width: 290px;
}

.mce_inline_error {
    display: block;
}

.mobileVisible {
    display: block;
}



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

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
    nav {
        text-align: left;
    }
    nav a {
        
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    

    .footerBox {
        float:left;
        margin-right:5%;
        width:30%;
        clear: none;
    }


}

@media only screen and (min-width: 768px) {

    .user {
        position: absolute;
        right: 0;
        top:-25px;
        font-size: 13px;
    }

    nav {
        display: block;
        text-align: right;
        margin-right: -20px;
    }
    #navMenu > li {
        margin-left: 5px;
    }
    nav a {
        padding: 10px 20px;
    }
    nav .user {
        padding: 10px 15px;
    }
    #logo {
        float: left;
    }

    nav {
        float: none;
    }
    nav li {
        margin-right: 0;
        display: inline-block;
        position: relative;
    }

    nav li.themes:hover {
        background: #00A0D6;
        transition: none;
    }
    nav li.themes:hover > a {
        color: #fff;
    }
    nav a.themes {
        background: url(../img/arrow_white_down.png) right 50%;
        background-repeat: no-repeat;
        padding-right: 20px;
        margin-right: 10px;

    }

    nav a span {
        padding-left: 20px;
    }

    .subnav {
        display: none;
        position: absolute;
        top:38px;
        left:0;
        text-align: left;
        background: #111111;
        background: #00A0D6;
        z-index: 99;
        padding:0;
        
    }
    .subnav li {
        display: block;
    }
    .subnav li a {
        min-width: 200px;
    }

    .subnav li a:hover {
        background: #00A3D9;
        background: #000;
        color: #fff;
    }
    nav li:hover .subnav {
        display: block;
    }


    .theme-article {
        float: left;
        width: 47%;
        margin: 0 6% 80px 0;
    }
    .theme-article.even {
        margin-right: 0;
    }
    .three-cols .theme-article {
        margin: 0 3% 80px 0;
        width: 30%;
    }

    

    .prev-post,
    .next-post {
        position: absolute;
    }

    .mobileVisible {
        display: none;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }


    /******************************************************************
    LOGIN PAGE ELEMENTS STYLES
    ******************************************************************/

    #signin, #register {
        float:left;
        width:45%;
        padding:25px;
    }

    #signin {
        margin-right: 5%;
    }
    #register {
        margin-left: 5%;
    }
}

/* ==========================================================================
   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;
    }
}