#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;  
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);   
}
#header_top {
    background-color: #d4171b;
    color: black;
    height: 30px;
    overflow: hidden;
    font-size: 14px;
}
#header_top > ul { 
    margin: 0;
    margin: auto;
    list-style: none outside none;
    padding: 0;
    text-align: right;
}
#header_top > ul > li { 
    display: inline-block;
    vertical-align: middle;
    height: 30px;
    padding: 0 10px;
    transition: background-color 200ms;
}
#header_top > ul > li * {
    color: white;
    text-decoration: none;
    display: inline-block;
    line-height: 30px;    
}
#header_top > ul > li img {
    vertical-align: middle;
}
#header_top > ul > li:hover {
    background-color: #BA050A;
}
#header_main {
    background-color: white;  
    position: relative;  
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3); 
}
#header_lang a {
    cursor: pointer;    
}
#header_lang a.active {
    font-weight: bold;    
}
#header_logo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}
#header_logo > img {
    position: absolute;    
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
#header_menu_right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -60px;    
    transition: right 400ms;
}
#header.side_menu #header_menu_right { right: 0 }
#header_menu {
    margin-left: 150px;
    margin-right: 160px;
}
#header_menu > table {
    margin: auto;
    border-spacing: 0;
}
.header_menu_item {
    padding: 10px 10px; 
    text-align: left; 
    vertical-align: center;
    height: 60px;
    position: relative;
    color: black;
    text-transform: uppercase;
    transition: color 400ms;
}
.header_menu_item > span { white-space: nowrap }
.header_menu_item.hover {
    color: black;
}
.header_menu_item.hidden { visibility: hidden }
.header_menu_item > a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.header_menu_item.parent {
    background-image: url(../img/arrow-dd.png);
    background-repeat: no-repeat;
    background-position: center 80%;
}
.header_dropdown { 
    display: none;
    position: absolute;
    overflow: hidden;
    top: 80px;
    white-space: nowrap;
    min-width: 150px;
    padding: 5px;
    padding-top: 0;  
    margin-left: -5px;   
}
.header_dropdown_content {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    background-color: white;
    border-top: 3px solid #d4171b;  
    overflow-x: hidden;
    overflow-y: auto;
}
.header_dropdown_list {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    z-index: 999;
    text-align: left;
    font-weight: normal;
    text-align: left;
}
.header_dropdown_list.level1 {
    padding: 10px;
}
.header_dropdown_list.level2 li { 
    padding: 2px 10px;    
}
.header_dropdown_list a {
    color: black;   
    text-decoration: none;
    white-space: nowrap;    
}
.header_dropdown_list a:hover {
    color: #d4171b;  
}

#header_menu_button { 
    float: right;
    height: 80px; 
    width: 60px;
    background-image: url(../img/hamburger.png);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: filter 200ms;
}
#header_search_button { 
    float: right;
    height: 80px; 
    width: 50px;
    background-image: url(../img/search.png);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: filter 200ms;
}

#header_cart_button { 
    float: right;
    display: block;                
    height: 80px; 
    width: 50px;
    background-image: url(../img/icon-cart-b.png);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: filter 200ms;
}
#header_cart_button:hover { filter: brightness(0%) }
#header_menu_button:hover { filter: brightness(0%) }
#header_side_menu li { display: none }
#header_side_menu li.visible { display: block }

#header_spacer { height: 110px }


#basket { 
    padding: 10px;
    width: 280px;
    font-size: 15px;
    white-space: normal;
}
#basket_header { font-size: 14px }
#basket > ul {
    list-style: none outside none;
    padding: 0;
    margin: 0;  
    margin-bottom: 10px;  
}
#basket li {
    border-top: 1px solid silver; 
    margin-top: 10px;
    padding-top: 10px;  
}
#basket_menu .button { display: block }
#basket_menu .button + .button { margin-top: 10px }

.basket_item_image { float: left }
.basket_item_content { position: relative }
.basket_item_content.floated { margin-left: 85px }
.basket_item_remove {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 10px;
    height: 10px;
    background-image: url(../img/basket-remove.png);
    background-position: center center;
    background-repeat: no-repeat;
}       


.header_dropdown.right {
    padding-right: 0;
    right: 0;    
}
.header_dropdown.nav_fullwidth {
    left: 0;
    right: 0;
    padding-left: 0;    
    padding-right: 0;
    margin: 0;
}
.header_dropdown.nav_fullwidth > .header_dropdown_content { 
    margin-bottom: 20px;
    text-align: center;
}
.header_dropdown.nav_fullwidth > .header_dropdown_content > ul {
    display: inline-block;    
    max-width: 1300px;
    margin: auto;
}
.header_dropdown.nav_fullwidth .header_dropdown_item.level1 {
    float: left; 
    margin-bottom: 10px;   
}
.header_dropdown.nav_fullwidth .header_dropdown_item.level1 > a {
    background-color: #74b9db;    
    display: block;
    color: white;
    padding: 2px 10px;
    margin-bottom: 5px;
    transition: background-color 200ms;
}
.header_dropdown.nav_fullwidth .header_dropdown_item.level1 > a:hover {
    background-color: silver;    
}

#header_glass {
    background-color: black;
    bottom: 0;
    display: none;
    left: 0;
    opacity: 0.25;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 199;
}

#header_search form {
    padding: 5px;    
}
#header_search .ac_edit { display: inline-block; width: 150px }


/* ANIMATIONS */
#header { transition: top 400ms }          
#header_menu .header_menu_item { transition: height 400ms }
#header_menu_right > a { transition: height 400ms }
#header_logo > img { transition: height 400ms; height: 54px }
#header .header_dropdown { transition: top 400ms }
#header.compact .header_dropdown { top: 60px }        
#header.compact #header_logo > img { height: 40px }
#header.compact .header_menu_item { height: 40px }
#header.compact #header_menu_right > a { height: 60px }

@media(max-width: 600px) {
    #header_side_menu { 
        left: 0;
        right: 0;
        padding-left: 0;
        padding-right: 0;
    }    
}