/* Custom Styles For Fixed Header */

#header {
    position: fixed;
    width: 100%;
    line-height: 23px;
    font-weight: 500;
    top: 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    z-index: 99999;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    box-shadow: 0 2px 2px #222;
}

/* Responsive Media Queries */

@media screen and (min-width: 992px) {
    body.admin-bar #header {
        margin-top: 32px;
    }
    #header {
        padding: 15px 0;
    }
    .shrink {
        min-height: 35px;
        padding: 5px 0 !important;
        -moz-transition: all .4s ease-in-out;
        -webkit-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }
} 

@media screen and (max-width: 991px) {
    body.admin-bar #header {
        margin-top: 32px;
    }
}

@media screen and (min-width:768px) {
    #lab-content {
        margin-top: 80px;
    }
}

@media screen and (max-width: 782px) {
    #lab-content {
        margin-top: 40px;
    }

    body.admin-bar #header {
        margin-top: 46px;
    }
}

@media screen and (max-width: 650px) {
    #header {
        padding: 0;
        z-index: 1001;
    }
    #logo {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 300px;
    }
}

@media screen and (min-width: 650px) {
    ul.sub-menu {
        right: 0;
        left: auto;
    }
    ul#menu-header-menu {
        background: inherit;
        border: inherit;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}