#header
{

}

#header .float-left
{
    float:left;
}

#header .logo-container
{
    position:relative;
}

#header .search-container
{
    position:absolute;
    top: 10px;
    right: 10px;
}

#header .template-switcher-container
{
    position:absolute;
    top: 14px;
    right: 215px;
}

#header .search-container input
{
    width: auto;
}

#header .logo
{
    vertical-align:middle;
}

.nav-fostrap a {
    text-decoration: none;
}


.nav-fostrap .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nav-fostrap {

}

.nav-fostrap ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: block;
}

.nav-fostrap li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
    border: 1px solid transparent;
    z-index: 1000;
}

.nav-fostrap li a {
    padding: 15px 20px;
    display: inline-block;
    outline: 0;
}

.nav-fostrap li:not(.nohover):hover ul.dropdown {
    display: block;
}

.nav-fostrap li ul.dropdown {
    position: absolute;
    display: none;
    width: 200px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -ms-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    padding-top: 0;
}

.nav-fostrap li ul.dropdown li {
    display: block;
    list-style-type: none;
}

.nav-fostrap li ul.dropdown li a {
    padding: 15px 20px;
    display: block;
}

.nav-fostrap li ul.dropdown li:last-child a {
    border-bottom: none;
}

.nav-fostrap li:hover {
    border: 1px solid transparent;
    z-index: 100000;
}

.nav-fostrap li:first-child:hover a {
    border-radius: 3px 0 0 3px;
}

.nav-fostrap li ul.dropdown li:hover a {

}

.nav-fostrap li ul.dropdown li:first-child:hover a {
    border-radius: 0;
}

.nav-fostrap li:hover .arrow-down {
    border-top: 5px solid #fff;
}

.nav-bg-fostrap .title-mobile {
    display: none;
}

.navbar-fostrap img {
    display: none;
}

nav .fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}

@media only screen and (max-width:900px) {
    #header .template-switcher-container {
        position: absolute;
        top: inherit;
        bottom: 0;
        right: 5px;
        z-index: 1000;
    }

    .nav-fostrap .search-container {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
    }
    #header .logo-container{
        height:50px;
        overflow:hidden;
        visibility:hidden;
    }
    #main .header {
        display: none;
    }

    .nav-fostrap {
        width: 200px;
        height: 100%;
        display: block;
        position: fixed;
        left: -200px;
        top: 0px;
        -webkit-transition: left 0.25s ease;
        -moz-transition: left 0.25s ease;
        -ms-transition: left 0.25s ease;
        -o-transition: left 0.25s ease;
        transition: left 0.25s ease;
        margin: 0;
        border: 0;
        border-radius: 0;
        overflow-y: auto;
        overflow-x: hidden;
        height: 100%;
        z-index: 1100;
        box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.2);
    }

    .nav-bg-fostrap .title-mobile {
        position: fixed;
        display: block;
        font-size: 20px;
        left: 65px;
    }

    .nav-fostrap.visible {
        left: 0px;
        -webkit-transition: left 0.25s ease;
        -moz-transition: left 0.25s ease;
        -ms-transition: left 0.25s ease;
        -o-transition: left 0.25s ease;
        transition: left 0.25s ease;
    }

    .nav-bg-fostrap {
        display: inline-block;
        vertical-align: middle;
        width: 100%;
        height: 40px;
        line-height:40px;
        margin: 0;
        position: absolute;
        top: 0px;
        left: 0px;
        padding: 6px 0 6px 0;
        -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
        -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
        -ms-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
        -o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    }

    .navbar-fostrap {
        display: inline-block;
        vertical-align: middle;
        height: 50px;
        cursor: pointer;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        padding: 4px;
        z-index: 1000;
    }

    .navbar-fostrap img {
        height: 46px;
        display: block;
    }

    .navbar-fostrap span {
        background: #fff;
        height: 2px;
        margin: 5px;
        display: block;
        width: 20px;
    }

    .navbar-fostrap span:nth-child(2) {
        width: 20px;
    }

    .navbar-fostrap span:nth-child(3) {
        width: 20px;
    }

    .nav-fostrap ul {
        padding-top: 50px;
    }

    .nav-fostrap li {
        display: block;
    }

        .nav-fostrap li a {
            display: block;
        }

    .nav-fostrap li:first-child:hover a {
        border-radius: 0;
    }

    .nav-fostrap li ul.dropdown {
        position: relative;
    }

    .nav-fostrap li ul.dropdown li a {
        border-bottom: none;
    }

    .nav-fostrap li:hover a {

    }

    .nav-fostrap li ul.dropdown li:hover a {

    }

    .nav-fostrap li ul.dropdown li a {
        padding: 10px 10px 10px 30px;
    }

    .nav-fostrap li:hover .arrow-down {
        border-top: 5px solid #fff;
    }

    .nav-fostrap .arrow-down {
        border-top: 5px solid #505050;
        position: absolute;
        top: 20px;
        right: 10px;
    }

    .nav-fostrap .cover-bg {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    #sidebar {
        position: absolute;
        bottom: 0;
        top: 52px;
        z-index: 900;
        box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.2);
        padding-right: 0 !important;
        left: -275px;
        -webkit-transition: left 0.25s ease;
        -moz-transition: left 0.25s ease;
        -ms-transition: left 0.25s ease;
        -o-transition: left 0.25s ease;
        transition: left 0.25s ease;
    }

    #sidebar fieldset legend {
        padding: 4px 0 4px 0 !important;
    }

    #sidebar.visible {
        left: 0px;
        -webkit-transition: left 0.25s ease;
        -moz-transition: left 0.25s ease;
        -ms-transition: left 0.25s ease;
        -o-transition: left 0.25s ease;
        transition: left 0.25s ease;
    }
}