header {
    position: fixed;
    width: 100%;
    height: 152px;
    background: #fff;
    z-index: 200;
    overflow: hidden;
    
    -ms-transition:     height 0.3s ease-in-out;
    -moz-transition:    height 0.3s ease-in-out;
    -webkit-transition: height 0.3s ease-in-out;
    -o-transition:      height 0.3s ease-in-out;
    transition:         height 0.3s ease-in-out;
}

header.shorten {
    height: 90px;
    -webkit-box-shadow: 0 2px 4px #f3f3f3;
    -moz-box-shadow: 0 2px 4px #f3f3f3;
    box-shadow: 0 2px 4px #f3f3f3;
}

#logo {
    float: none !important;
    padding: 20px 0 40px;
    line-height: 20px;
    text-align: center;
    display: block;
}

#logo img {
    height: 35px;
    -ms-transition:     height 0.3s ease-in-out;
    -moz-transition:    height 0.3s ease-in-out;
    -webkit-transition: height 0.3s ease-in-out;
    -o-transition:      height 0.3s ease-in-out;
    transition:         height 0.3s ease-in-out;
}

header.shorten #logo img{
    height: 25px;
}

.navbar-header {
    display: block;
    margin-right: 1em;
    padding: 20px 20px;
    position: absolute;
    left: 0;
    top: 5px;
    z-index: 12;

    transition: left 0.3s ease-in-out 0s;
    -webkit-transition: left 0.3s ease-in-out 0s;
    -moz-transition: left 0.3s ease-in-out 0s;
    -o-transition: left 0.3s ease-in-out 0s;
}

a.nav-expander {
    color: #111;
    font-size: 16px;
    font-weight: 100;
    text-decoration: none;
    margin: 0 10px; 
}

a.nav-expander i {
    margin-right: 10px;
}

a.nav-expander:hover {
    cursor: pointer;
}

a.nav-expander.fixed {
    position: fixed;
}

.nav-expanded a.nav-expander.fixed, .nav-expanded a.nav-expander {
    left: 30em;
}

nav {
    background: #fff;
    display: block;
    height: 100%;
    overflow: auto;
    position: fixed;
    left: -30em;
    font-size: 15px;
    top: 0;
    width: 20em;
    z-index: 2000;

    transition: left 0.3s ease-in-out 0s;
    -webkit-transition: left 0.3s ease-in-out 0s;
    -moz-transition: left 0.3s ease-in-out 0s;
    -o-transition: left 0.3s ease-in-out 0s;

}
.nav-expanded nav {
    left: 0;
}

body.nav-expanded {
    margin-left: 0;
    transition: left 0.4s ease-in-out 0s;
    -webkit-transition: left 0.4s ease-in-out 0s;
    -moz-transition: left 0.4s ease-in-out 0s;
    -o-transition: left 0.4s ease-in-out 0s;
}

#nav-close {
    color: #111;
    font-size: 16px;
    font-weight: 100;
    text-decoration: none;
    margin-left: 0;
    padding-left: 0;
}

#nav-close i {
    margin-right: 10px;
}

.menu-closer {
    margin-bottom: 1em;
}

.main-menu {
    padding-top: 35px;
}

.list-head a {
    cursor: default;
    font-weight: 700;
}

.main-menu li.list-head a:hover {
    color: #111;
}
.main-menu li {
    margin-left: 20px;
    font-size: 1em;
    font-weight: 100;
    position: relative;
}

.main-docs:before {
    content: "";
    position: absolute;
    left: 16px;
    top: -8px;
    height: 0;
    width: 6%;
    border-top: 1px solid #F01C2B;
}


.main-menu li a {
    text-decoration: none;
    color: #111;
    padding: 0.3em 1em;
    display: block;
}

.main-menu li.main-bolded a {
    font-weight: 700;
}

.main-menu li a:hover {
    color: #F01C2B;
    text-decoration: none;
}

#nav-close:before {
    border: 0;
}

.main-menu li .sub-nav {
    border-bottom: 0px;
    padding: 4px;
}

.main-menu a .caret {
    width: 0;
    height: 0;
    display: inline-block;
    vertical-align: top;
    border-top: 4px solid #4f5963;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
    margin-top: 8px;
}

.main-menu a:hover .caret {
    border-top-color: #4f5963;
}

.main-menu li.open > a > .caret {
    border-top: none;
    border-bottom: 4px solid #4f5963;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.main-menu li.open > a:hover > .caret {
    border-bottom-color: #4f5963;
}

.navbar {
    margin-bottom: 0;
    background: #fff;
}

.menu-ico {
    margin: 0 5px;
}

header #header-menu {
    float: left;
    display: block;
    margin-top: 0;
    clear: both;
}

header #header-menu li {
    float: left;
    list-style: none;
    padding: 5px 15px;
}

header #header-menu li:first-child {
    padding-left: 0;
}

header ul#header-menu li a {
    color: #111;
    font-weight: 100;
    font-size: 14px;
}

header ul#header-menu li.header-docs {
    border-left: 1px solid #8a1f11;
    padding-right: 0;
}

header ul#header-menu li.header-docs a{
    margin-right: 10px;
}

.social-icons {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

.social-icons a {
    margin: 0 15px;
    display: inline-block;
}

.magazin-header-list, .onama-header-list {
    list-style: none outside none;
    padding-left: 20px;
}

.header-search {
    position: absolute;
    right: 30px;
    top: 30px;
}

.header-search a {
    float: left;
    margin-right: 15px;
    color: #121820;
}

.search-input {
    position: absolute;
    width: 300px;
    right: -355px;
    top: -3px;
    overflow: hidden;

    -ms-transition:     right 0.3s ease-in-out;
    -moz-transition:    right 0.3s ease-in-out;
    -webkit-transition: right 0.3s ease-in-out;
    -o-transition:      right 0.3s ease-in-out;
    transition:         right 0.3s ease-in-out;
}

.search-input.shown {
    right: 55px;
}
