#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
}

.transform_left {
    transform: translate3d(-350px, 0px, 0px);
}

#header_main {
    z-index: 10;
    background: white;
    position: relative;
    height: 145px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}

#header_contacts {
    position: absolute;
    top: 35px;
    right: 30px;
}

#header.compact #header_contacts {
    top: 20px;
}

#header_contacts ul,
#home_contacts ul {
    list-style-type: none;
}

#header_contacts li,
#home_contacts li {
    display: inline;
    height: 54px;
    border-right: 1px solid #2699BE;
    padding-right: 20px;
    margin-left: 20px;
}

#header_contacts li:last-child,
#home_contacts li:last-child {
    padding-right: 0;
    border: 0
}

#header_contacts li a,
#home_contacts li a {
    font-size: 16px;
    line-height: 54px;
    font-weight: 300;
    color: black;
    text-decoration: none
}

#header_contacts .mobile a:before,
#footer .mobile a:before {
    content: "";
    display: inline-block;
    background-image: url(../img/mobile-icon.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 13px;
    height: 20px;
    margin: 2px 5px -2px 4px;
}

#header_contacts .phone a:before,
#footer .phone a:before {
    content: "";
    display: inline-block;
    background-image: url(../img/phone-icon.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    margin: 2px 5px -2px 4px;
}

#header_contacts .email a:before,
#footer .email a:before {
    content: "";
    display: inline-block;
    background-image: url(../img/email-icon.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 21px;
    height: 15px;
    margin: 2px 5px -2px 4px;
}

#header_logo {
    position: relative;
    top: 75px;
    bottom: 0;
    left: 20px;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
}

#header_logo span {
    font-size: 20px;
    font-weight: 400;
}

#header_logo > img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 240px;
}

#header_menu_right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -60px;
    transition: right 400ms;
}

#header.side_menu #header_menu_right {
    right: 5px;
    top: 15px;
}

#header_menu {
    display: block;
    background: #0f5989;
    height: 60px;
    color: white;
    border-top: 10px solid #f6e96d;
}

#header_menu ul {
    list-style-type: none;
    margin-block-start: 0em;
    padding-inline-start: 0px;
    line-height: 60px;
    text-align: center
}

#header_menu li {
    display: inline;
}

#header_menu > table {
    margin: auto;
    border-spacing: 0;
}

.header_menu_item {
    text-align: left;
    font-size: 20px;
    vertical-align: center;
    height: 90px;
    position: relative;
    color: #500063;
    transition: color 1000ms;
}

.header_menu_item > span {
    white-space: nowrap;
    padding: 0px 14px;
    transition: opacity 0.6s linear;
    -moz-transition: opacity 0.6s linear;
    font-size: 15px;
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 2px solid #ffffff00;
    transition: 300ms;
}

.header_menu_item:hover > span {
    color: #fad103;
    padding-bottom: 8px;
    border-bottom: 2px solid #fad103;
    transition: 300ms;
}

.header_menu_item.hidden {
    display: none;
}

.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: 90px;
    white-space: nowrap;
    min-width: 150px;
    padding: 5px;
    padding-top: 0;
    margin-left: -5px;
    background: white;
}

.header_dropdown_content {
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.3);
    background-color: white;
    //border-top: 3px solid #ff6101;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 20px;
    width: 350px;
}

.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: 0 25px 25px 25px;
}

.header_dropdown_list.level2 li {
    padding: 2px 10px;
}

.header_dropdown_list a {
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    padding: 5px 0;
    font-size: 16px;
    color: #5d5d5d;
}

.header_dropdown_list a:hover {
    color: #d4171b;
}

.header_dropdown_content li {
    border-bottom: 1px solid #dbdfe1;
    padding: 5px;
}

#header.compact #header_menu_button {
    top: 20px
}

#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;
    position: absolute;
    top: 32px;
    right: 20px;
    z-index: 999;
    transition: all 400ms;
}

#header_side_menu li {
    display: none
}

#header_side_menu li.visible {
    display: block
}

#header_spacer {
    height: 190px;
    transition: height 200ms
}

#header.collapsed #header_main {
    height: 90px;
}

.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_menu_mobile {
    display: none
}


/* ANIMATIONS */

#header {
    transition: top 400ms
}

#header_menu .header_menu_item {
    transition: height 400ms
}

#header_menu_right > a {
    transition: height 400ms
}

#header_logo > img {
    transition: all 400ms;
    /* height: 90px; */
}

#header .header_dropdown {
    transition: top 400ms
}

#header.compact {
    top: -30px
}

#header.compact .header_dropdown {
    top: 60px
}

#header.compact #header_logo > img {
    width: 150px;
    top: -15px;
}

#header.compact #header_menu_right {
    top: 10px;
}

#header.compact .header_menu_item {
    height: 50px
}

#header.compact #header_menu {
    height: 60px;
    position: relative;
}

#header.compact #header_menu_right > a {
    height: 60px
}

#header_spacer.compact,
#header_spacer.collapsed {
    height: 60px
}

#header_dropdown {
    display: none;
    background: #0f5989;
    margin-block-start: 0em;
    list-style-type: none;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    position: relative;
    top: -50px;
}

#header_dropdown li {
    padding: 20px;
    box-sizing: border-box;
}

#header_dropdown li a {
    font-size: 20px;
    text-transform: uppercase;
    color: white;
}