.site-header {
    width: 100%;
    z-index: 10;
    position: fixed;
    left: 0;
    top: 0;
}

.main-header {
    display: flex;
    justify-content: flex-start;
    transition: .3s;
}

body:not(.home) .site-header,
body.enable-sticky-header .site-header {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.08);
}

body:not(.home) .main-header,
body.enable-sticky-header .main-header {
    background-color: rgb(var(--secondary-color));
}

body.admin-bar .site-header {
    top: 32px;
}

.main-header-left {
    min-width: 430px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-header-right {
    width: 100%;
    display: flex;
}

.header-navs {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
}

.header-cta > a {
    margin-left: 25px;
    letter-spacing: 1px;
}

.header-top {
    background-color: rgb(var(--brand-color));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 34px;
}

.header-nav-top {
    background-color: rgb(var(--secondary-color));
    padding: 10px 42px;
    display: flex;
    align-items: center;
    border-radius: 0px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.header-nav-top,
.header-nav-bottom {
    padding-right: 11%;
}

.header-nav-bottom .navbar {
    width: calc( 100% - 200px);
    justify-content: center;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
}

.location img {
    margin-right: 10px;
}

.location span {
    font-size: 15px;
    letter-spacing: 1px;
}

.header-fixed-width {
    width: 200px;
    text-align: right;
}

.c20-search-form {
    margin-left: auto;
    width: 325px;
}

.c20-search-form .search-form {
    position: relative;
}

.c20-search-form label {
    width: 100%;
}
.c20-search-form .search-field {
    width: 100%;
    outline: none;
    border: 0;
    border-radius: 4px;
    padding: 4px 15px;
    padding-right: 60px;
    line-height: 2;
}

.c20-search-form .search-submit {
    border: 0;
    background-color: transparent;
    width: 30px;
    height: 30px;
    padding: 0;
    text-indent: -9999px;
    border-radius: 0;
    background-image: url(../img/search-icon.png);
    background-repeat: no-repeat;
    position: absolute;
    background-position: center;
    background-size: 19px;
    right: 10px;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}

.phone-lg {
    font-size: 35px;
    line-height: 1.2;
}

.phone-sm {
    font-size: 14px;
    line-height: 1;
}

/*Mobile Header*/

.mobile-header {
    position: fixed;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    left: 0;
    z-index: 101;
    bottom: 0;
    box-shadow: 0 -2px 8px 0 rgba(0,0,0,0.4);
}

.mobile-header-icon {
    flex: 1;
    text-align: center;
}

.mobile-header-icon img {
    width: 28px;
}

.mobile-header-icon:last-child img {
    /*filter: brightness(0%);*/
}

.mobile-header-icon > * {
    background: rgb(var(--primary-color));
    border: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
}

.mobile-header-icon > *:focus,
.mobile-header-icon > *:hover {
    background:rgb(var(--primary-color));
    color: #fff;
    outline: none;
    box-shadow: none;
}

.mobile-header-icon:nth-child(even) > *:hover,
.mobile-header-icon:nth-child(even) > * {
    background: rgb(var(--secondary-color));
    color: #fff;
}

.mobile-header-icon span {
    font-family: var(--primary-font);
    display: block;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    margin-top: 10px;
}

body {
    padding-bottom: 80px;
}


@media screen and (max-width: 1440px) {

    .site-header .container {
        min-width: 100%;
    }
}

@media screen and (max-width: 1199px) {

}


@media screen and (max-width: 480px) {

    .site-header .container {
        min-width: 100%;
    }

}


@media screen and (min-width: 768px) {

    .mobile-header {
        display: none !important;
    }
    body {
        padding-bottom: 0;
    }
}



/*Fix Header*/

.fix-header {
    padding: 10px 15px;
    position: fixed;
    width: 100%;
    left: 0;
    top: -200px;
    z-index: 10;
    transition: .4s;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.08);
}


body:not(.home) -header,
.enable-sticky-header .fix-header {
    top: 0;
}


body:not(.home) ky-header .fix-header,
body.admin-bar.enable-sticky-header .fix-header {
    top: 32px;
}

/*End Fix Header*/


.header-bottom {
    padding: 0;
}

.navbar-header {
    text-align: center;
    display: flex;
    align-items: center;
}

.header-nav-bottom {
    padding-left: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    padding: 10px 20px;
    z-index: 1;
    height: auto;
    display: block;
    margin: 0;
    text-align: center;
}

.navbar-brand img {
    transition: width .3s;
    height: auto;
    /*width: 250px;*/
}

.header-service {
    font-family: var(--primary-font);
    text-align: left;
    line-height: 1;
    display: none;
}

.header-phone a {
    text-decoration: none;
}

.header-phone > span {
    background-image: url(../img/header-phone-bg.svg);
    margin-bottom: 0;
    line-height: 1.5;
    background-repeat: no-repeat;
    padding-left: 45px;
    background-size: auto;
    background-position: left center;
}

.header-phone > span {
    display: inline-block;
}

.header-phone a:hover {
    color: rgb(var(--primary-color)) !important;
}

/*.header-label {
    font-size: 15px;
    text-transform: uppercase;
    color: rgb(var(--primary-color));
    margin-bottom: 10px;
}
*/

/*Adjust header*/
.mobile-menu-wrap {
    display: none;
}

.c20-nav {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.c20-nav li {
    list-style: none;
    position: relative;
}

.c20-nav li a {
    display: block;
    line-height: 1.64;
    text-decoration: none;
    padding: 12px 10px;
    position: relative;
    color: #fff;
    font-family: var(--secondary-font);
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.c20-nav .nav-arrow {
    z-index: 1;
}

.c20-nav li:not(.menu-item-has-children) > .c20-nav-item-wrap > .nav-arrow {
    display: none !important;
}

.c20-nav > li {
    padding: 0;
}

.c20-nav > li:not(:last-child) {
    margin-right: 8px;
}

.c20-nav > li > .c20-nav-item-wrap {
    display: block;
    position: relative;
    transition: .3s;
}

.c20-nav > li > .c20-nav-item-wrap > a {
    padding: 25px 20px;
    z-index: 1;
    color: #ffff;
}

.c20-nav > li:first-child > .c20-nav-item-wrap > a {
    padding-left: 5px;
}

/*.c20-nav > li:hover > span {
    background-color: rgb(var(--secondary-color));
}*/

.c20-nav > li:hover > .c20-nav-item-wrap > a {
    /*color: #fff;*/
}

.c20-nav > li.menu-item-has-children > .c20-nav-item-wrap > a {
    padding-right: 25px;
}

.c20-nav li.menu-item-has-children .nav-arrow {
    width: 14px;
    height: 14px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .3s ease-out;

    z-index: 0;

    background-repeat: no-repeat;
    background-size: contain;
    transition: transform .3s ease-out;

    background-image: url(../img/control/nav-arrow-white.png);
}

.c20-nav .sub-menu li.menu-item-has-children .nav-arrow {
    right: 12px;
}

.c20-nav > li.menu-item-has-children:hover > .c20-nav-item-wrap > .nav-arrow {
    transform: rotate(180deg) translateY(50%);
    /*background-image: url(../img/control/nav-arrow-white.png);*/
}

.c20-nav .sub-menu li.menu-item-has-children:hover > .c20-nav-item-wrap > .nav-arrow {
    transform: rotate(-90deg) translateY(50%);
}

.c20-nav ul {
    box-shadow: rgba(0,0,0,0.25) 0 3px 11px 0;
    background-color: #fff;
    transition: transform .4s ease-out, opacity .1s ease-out;
    position: absolute;
    opacity: 0;
    z-index: 100;
    top: 100%;
    left: 0;
    transform: translateY(20px);
    visibility: hidden;
    padding: 10px 0;
    min-width: 250px;
}

.c20-nav > li:last-child ul {
    left: auto;
    right: 0;
}

.c20-nav > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.c20-nav li:not(.c20-mega-menu) ul li {
    text-align: left;
}

.c20-nav li:not(.c20-mega-menu) ul li:not(:last-child) {
    /*border-bottom: 1px solid rgba(0, 0, 0, .17)*/
}

/*.navbar ul.nav li:not(.c20-mega-menu) ul li:nth-child(even) {
    border-right: 0;
}*/

.c20-nav .c20-mega-menu ul {
    transform: translateY(5px);
}

.c20-nav li.c20-mega-menu:hover > ul.sub-menu {
    transform: translateY(0);
}

.c20-nav li li:hover > a {
    background: rgb(var(--primary-color));
    color: #fff !important;
}

.c20-nav li.c20-mega-menu {
    position: static;
}

.c20-nav li.c20-mega-menu > ul.sub-menu {
    width: calc(100% - 50px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 15px;
    flex-wrap: wrap;
    left: 25px;
}



.c20-nav li li ul {
    left: 100%;
    top: 0;
}

.c20-nav li li a {
    padding: 10px 15px;
    padding-right: 5px;
    text-transform: initial;
    color: rgb(var(--primary-color));
}

.c20-nav li li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.c20-nav li.c20-mega-menu > ul.sub-menu > li {
    width: calc( 33.333% - ( 3% * .6667 ) );
}

.c20-nav li.c20-mega-menu ul.sub-menu li.mega-menu-title {
    width: 100%;
}

.c20-nav li.c20-mega-menu li.mega-menu-title > a {
    font-size: 22px;
    color: rgb(var(--primary-color));
    text-transform: initial;
}

.c20-nav li.c20-mega-menu li.mega-menu-title:hover > a {
    background: rgb(var(--secondary-color));
    color: #fff;
}

.c20-nav li.c20-mega-menu > ul.sub-menu > li a {
    /*border-bottom: 1px solid rgba(255, 255, 255, .05);*/
}



/*Mobile Menu */

.c20_ham {
    display: none;
    position: relative;
    z-index: 110;
}

.mobile-menu-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 360px;
    max-width: 95%;
    position: fixed;
    z-index: 100;
    background: #fff;
    text-align: left;
    height: 100vh;
    overflow-y: auto;
    /*padding: 20px 25px 85px;*/
    padding-bottom: 85px;
    transition: transform .4s;
    transform: translateX(-100%);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0, .12), 0 1px 5px 0 rgba(0,0,0, .2);
}

.mobile-menu-logo {
    padding: 20px 25px;
}

.c20-mobile-menu {
    padding: 0 25px;
}
.c20-mobile-menu ul {
    margin-bottom: 0;
}

#c20-mobile-menu-1 {
    background-color: rgb(var(--secondary-color));
}

#c20-mobile-menu-1.c20-mobile-menu {
    padding: 25px 25px;
}
#c20-mobile-menu-1.c20-mobile-menu li a {
    color: #fff;
}

#c20-mobile-menu-1.c20-mobile-menu ul > li.menu-item-has-children .nav-arrow {
    background-image: url(../img/control/nav-arrow-white.png);
}

body.mobile-menu-show {
    overflow: initial;
}

body.mobile-menu-show .mobile-menu-wrap {
    transform: translateX(0);
}

.c20-mobile-menu {
    width: 400px;
    max-width: 100%;
    margin: 0 auto 10px;
}

.c20-mobile-menu ul li {
    list-style: none;
    position: relative;
}

.c20-mobile-menu ul li span {
    display: block;
    width: 100%;
    position: relative;
}

.c20-mobile-menu ul {
    padding: 0;
}

.c20-mobile-menu li a {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    padding: 5px 0;
    display: block;
    position: relative;
    transition: .3s;
    font-family: var(--primary-font);
    text-decoration: none;
}

.c20-mobile-menu li a:hover,
.c20-mobile-menu li a:focus {
    text-decoration: none;
    outline: none;
}

.c20-mobile-menu ul li li.current-menu-item a,
.c20-mobile-menu li a:hover {
    text-decoration: none;
    color: rgb(var(--primary-color));
}

.c20-mobile-menu ul > li {
    vertical-align: middle;
}

.c20-mobile-menu ul > li.current-menu-item > .c20-nav-item-wrap > a,
.c20-mobile-menu ul > li > .c20-nav-item-wrap > a:hover {
    color: rgb(var(--primary-color));
}

.c20-mobile-menu ul > li:not(.menu-item-has-children) .nav-arrow {
    display: none;
}

.c20-mobile-menu ul > li.menu-item-has-children .nav-arrow {
    width: 30px;
    height: 38px;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    transition: transform .3s ease-out;
    position: absolute;
    right: 0;
    top: 0;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    background-image: url(../img/control/nav-arrow-black.png);
}

.c20-mobile-menu > ul ul {
    padding-left: 20px;
}
.c20-mobile-menu ul > li.show-child-menu .nav-arrow {
    transform: rotate(180deg);
}



/*.c20-mobile-menu ul.menu > li > .c20-nav-item-wrap > a:before {
    content: '';
    width: 0;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgb(var(--primary-color));
    transition: width .4s;
}*/

.c20-mobile-menu ul.menu > li.current-menu-item > .c20-nav-item-wrap > a:before,
.c20-mobile-menu ul.menu > li > .c20-nav-item-wrap > a:hover:before {
    width: 100%;
}

.c20-mobile-menu ul.menu > li.menu-item-has-children > .c20-nav-item-wrap > a:hover:before,
.c20-mobile-menu ul.menu > li.current-menu-item.menu-item-has-children > .c20-nav-item-wrap > a:before,
.c20-mobile-menu li.current-menu-ancestor > .c20-nav-item-wrap > a:before {
    width: calc(100% + 30px)!important;
}

.c20-mobile-menu li:not(.current-menu-ancestor) ul,
.c20-mobile-menu li:not(.current-menu-parent) ul {
    display: none;
}

.c20-mobile-menu li.current-menu-item.menu-item-has-children ul {
    display: block;
}

/*.menu-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-family: var(--primary-font);
    line-height: 1;
}

.menu-contact span {
    font-size: 22px;
    font-weight: 900;
    color: #2D3A6D;
    font-family: inherit;
    margin-bottom: 5px;
}

.menu-contact a {
    font-size: 40px;
    text-decoration: none;
    font-family: inherit;
    color: #2D3A6D;
}*/


.hamburger {
    padding: 15px 0;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    margin-left: 10px;
    overflow: visible;
}

.hamburger:hover {}
.hamburger:focus,
.hamburger:active {
    outline: none;
}

.hamburger.is-active:hover {}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #fff;
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 40px;
    height: 5px;
    background-color: #fff;
    border-radius: 0;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -12px;
}
.hamburger-inner::after {
    bottom: -12px;
}

/** Squeeze*/
.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}
.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}
.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.header-controller .btn {
    font-size: 22px;
}

.header-service {
    display: block;
}


@media screen and ( max-width: 1800px ) {

    .main-header-left {
        min-width: 300px;
    }
}


@media screen and ( max-width: 1680px ) {
    .header-nav-top,
    .header-nav-bottom {
        padding-right: 5%;
    }
}

@media screen and ( max-width: 1600px ) {

    .header-nav-top,
    .header-nav-bottom {
        padding-right: 3%;
    }

    .c20-search-form {
        width: 250px;
    }

    .main-header-left {
        min-width: 280px;
    }

    .header-navs {
        width: 100%;
    }

    .header-cta > .c20-nav-item-wrap {
        font-size: 16px;
    }

    .header-cta > .c20-nav-item-wrap a {
        font-size: 22px;
    }

    .header-cta {
        padding-left: 10px;
    }

    .navbar-brand {
        padding: 15px;
    }

    .c20-nav > li > .c20-nav-item-wrap > a {
        font-size: 18px;
    }

    .header-nav-top .c20-nav li a {
        font-size: 16px;
    }

    .c20-nav > li:not(:last-child) {
        margin-right: 10px;
    }

    .header-nav-top .c20-nav > li:not(:last-child) {
        margin-right: 40px;
    }

    .c20-nav li li a {
        padding: 8px 10px;
        padding-right: 5px;
        font-size: 16px;
        line-height: 1.4;
    }
}

@media screen and ( max-width: 1440px ) {

    .navbar-brand {
        padding: 0 15px 0 0;
    }

    .header-nav-top {
        padding-left: 15px;
    }

    .header-nav-top,
    .header-nav-bottom {
        padding-right: 3%;
    }

    .c20-nav > li:not(:last-child) {
        margin-right: 5px;
    }

    .c20-nav li.c20-mega-menu > ul.sub-menu {
        padding: 20px;
    }
}

@media screen and ( max-width: 1439px ) {

    .header-cta > a {
        margin-left: 15px;
    }

    .main-header-left {
        min-width: 260px;
    }

    .header-nav-top .c20-nav > li:not(:last-child) {
        margin-right: 25px;
    }

    .c20-nav > li > .c20-nav-item-wrap > a {
        padding: 25px 10px;
    }

    .c20-nav > li.menu-item-has-children > .c20-nav-item-wrap > a {
        padding-right: 20px;
    }

}

@media screen and ( max-width: 1280px ) {

    .header-nav-top,
    .header-nav-bottom {
        padding-right: 10px;
        padding-left: 10px;
    }

    .header-nav-bottom .c20-nav > li:not(:last-child) {
        margin-right: 5px;
    }

    .header-cta {
        text-align: center;
        padding: 5px 10px;
    }

    .header-cta > a {
        margin-left: 15px;
    }

    .main-header {
        padding: 0;
    }

    .header-fixed-width {
        width: 175px;
    }

    .main-header-left {
        min-width: 230px;
    }

    .navbar-brand {
        padding: 10px;
    }    

    .header-cta > .c20-nav-item-wrap a {
        margin-top: 5px;
    }

    .c20-nav > li > .c20-nav-item-wrap > a {
        font-size: 16px;
    }
    
    .c20-nav li.c20-mega-menu > ul.sub-menu > li {
        width: calc(50% - 2%);
    }

}

@media screen and (max-width:1199px) {

    .main-header-right {
/*        background-color: rgb(var(--primary-color));*/
        align-items: center;
        padding-right: 20px;
    }

    .header-cta {
        padding: 5px 0;
    }

    .header-cta > a {
        margin: 0 15px;
    }

    .header-nav-top {
        padding: 5px 15px;
        border-bottom: 0;
    }

    .navbar-brand {
        padding: 10px;
    }
}

/*Navigation Break Point*/
@media screen and (max-width:1199px) {

    .mobile-menu-wrap {
        display: flex;
    }

    .c20_ham {
        display: flex !important;
    }

    .c20-nav {
        display: none !important;
    }

    body.mobile-menu-show {
        overflow: hidden;
    }

}

@media screen and (max-width: 991px) {

    .header-cta .c20_social {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    .main-header {
        padding: 0; 
    }

    .c20_ham {
        display: none !important;
    }

    .main-header-right {
        padding: 0 5px;
    }

    .header-nav-top {
        padding: 5px 0;
    }

    .header-cta > a {
        margin: 0 10px;
    }
}


@media screen and (max-width: 600px) {

    .site-header {
        position: absolute;
    }

    body.enable-sticky-header.home .main-header {
        background-color: transparent;
    }

    body.enable-sticky-header .navbar-brand img {
        width: auto;
    }

    .header-cta {
        padding: 10px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-cta > a {
        width: 100%;
        margin: 0 0 10px !important;
    }
}

@media screen and (max-width: 490px) {

    .main-header {
        padding: 0;
        flex-wrap: wrap;
    }

    .main-header-left {
        min-width: 100%;
        width: 100%;
        justify-content: center;
    }

    .main-header-right {
        padding: 20px 10px;
    }

    .header-cta {
        width: 100%;
        padding: 0;
    }

    .header-cta .btn {
        margin-top: 10px !important;
    }
}

