#header {
    height: auto;
    position: relative;
    width: 100%;
}

.header-image {
    float: left;
    height: auto;
    position: relative;
    width: 100%
}

.header-image img {
    display: block;
    margin: 0 auto;
    position: relative
}

.header-image .header-image-container {
    height: 100%;
    overflow: auto;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 100
}

.header-image .header-image-text-wrapper {
    display: table;
    height: 100%;
    margin: 0 auto;
    width: 100%
}

.header-image .header-image-text {
    display: table-cell;
    font-size: 14px;
    height: 100%;
    margin: 0;
    vertical-align: middle
}

#wrapper .header-image .header-image-text .header-image-headline {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 220%;
    line-height: 100%;
    margin: 0 0 18px;
    position: relative;
    text-align: center;
    width: 100%
}

.header-image .header-image-text .header-image-link-wrapper {
    text-align: center
}

.header-image .header-image-text .header-image-link {
    background: #169fe6;
    border: 2px solid #169fe6;
    color: white;
    display: inline-block;
    line-height: 100%;
    padding: 10px 20px;
    text-decoration: none;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease
}

.header-image .header-image-text .header-image-link:hover {
    background: none !important;
    color: white
}

.menu-box .link-home {
    border-left: 1px solid #535353;
    color: white;
    float: left;
    position: relative;
    font-family: ElegantIcons, serif !important;
}

.menu-box .link-home i {
    font-family: ElegantIcons, serif !important;
    font-size: 24px !important;
}

.menu-box ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 100
}

body .menu-box ul .menu-item-has-children .sub-menu a:after {
    content: ""
}

.selectnav {
    display: none
}

#wrapper .sticky-nav {
    max-width: 100%;
    position: fixed;
    top: 0;
    z-index: 600;
    box-shadow: 0 1px 7px #ddd;
}

.admin-bar .sticky-nav {
    top: 32px !important
}

.header-content {
    padding: 17px 0 0;
    position: relative;
    width: 100%;
    background: #fff;
}

/* Primary Header Menu */
.header-logo {
    clear: both;
    margin: 0;
    max-width: 880px;
    position: relative;
    width: auto;
    height: 45px;
}

.right-nav {
    width: auto;
    padding-top: 4px;
}

.menu-box-container {
    height: auto;
    position: relative;
    width: 100%;
    min-height: 44px;
}

.menu-box-wrapper {
    background: transparent;
    border-bottom: none;
    float: left;
    position: relative;
    width: 100%;
    z-index: 500;
}

.menu-box {
    float: left;
    min-height: 44px;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 500;
}

.menu-box ul li {
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
    height: 44px;
    line-height: 44px;
}

.menu-box a {
    border-right: none;
    color: #0d142a;
    display: block;
    font-family: Oswald, Arial, Helvetica, sans-serif;
    font-size: 15px;
    padding: 0 12px;
    text-decoration: none;
    text-transform: capitalize;
    height: auto;
    line-height: 44px;
}

body .menu-box ul .menu-item-has-children a::after {
    content: "3";
    font-family: ElegantIcons, serif !important;
    font-variant: normal;
    speak: none;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: none;
}

.menu-box a:hover, .menu-box:hover > a {
    background-color: transparent;
    -webkit-transition: background-color 1s ease;
    -moz-transition: background-color 1s ease;
    -o-transition: background-color 1s ease;
    -ms-transition: background-color 1s ease;
    transition: background-color 1s ease;
    color: #141519 !important;
}

.menu-box ul ul {
    background: #fff;
    border-top: none;
    display: none;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 110;
}

.menu-box ul ul li {
    border-bottom: none;
    display: block;
    float: none;
    height: auto;
    margin: 0;
    position: relative;
    width: 100%;
    min-height: 1px;
}

#wrapper #header .menu-box ul ul .last-menu-item {
    border-bottom: none
}

.menu-box ul ul a {
    border-right: none;
    color: #333 !important;
    display: block;
    font-size: 13px;
    font-weight: normal;
    height: auto;
    line-height: 39px;
    margin: 0;
    min-height: 39px;
    padding: 0 0 0 19px;
    text-align: left;
    width: 193px
}

.menu-box ul ul ul {
    top: -2px;
    left: 100%
}

.menu-box ul li:hover > ul {
    display: block
}

#header .menu-box .current-menu-item > a,
#header .menu-box .current-menu-ancestor > a,
#header .menu-box .current_page_item > a,
#header .menu-box .current-page-ancestor > a {
    background-color: transparent;
    color: #6d0404 !important;
}

.home #header .menu-box .link-home {
    background-color: #333
}

#header .menu-box .sub-menu .current-menu-item > a,
#header .menu-box .sub-menu .current-menu-ancestor > a,
#header .menu-box .sub-menu .current_page_item > a,
#header .menu-box .sub-menu .current-page-ancestor > a {
    background-color: #ededed;
    color: black !important
}

#header .menu-box ul ul a:hover, #header .menu-box ul ul:hover > a {
    background-color: #dda0a0 !important;
    color: #737A86 !important;
    -webkit-transition: background-color 1s ease;
    -moz-transition: background-color 1s ease;
    -o-transition: background-color 1s ease;
    -ms-transition: background-color 1s ease;
    transition: background-color 1s ease;
}

.custom-logo-outer {
    width: auto;
}

.header-content {
    padding-bottom: 12px;
}

/* Header and Gtranslate icon*/
.header-navigation {
    display: flex;
    flex-direction: row;
    margin-left: auto;
}

.gtranslate-box {
    position: relative;
    min-width: 163px;
    padding-top: 5px;
}

#gtranslate_wrapper {
    display: none;
}

#header .switcher {
    display: block;
    position: absolute;
}

.header-content .custom-container {
    display: flex;
    flex-direction: row;
}

.switcher div.selected {
    background: #fff;
    transition: 2s;
}

.switcher.show div.selected,
.switcher.show .option {
    background: #f5f5f5;
}

.switcher .selected a {
    width: auto;
    border: none;
    padding: 10px 7px 2px;
}

.switcher {
    position: fixed;
    right: 0;
}

.switcher.show .selected a {
    opacity: 0.5;
    transition: 1.5s;
}

.switcher.show div.selected::after {
    display: inline-block;
    content: "";
    border-bottom: 1px solid #E5E5EA;
    width: 135px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.switcher .option {
    border: none;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.switcher .option::-webkit-scrollbar {
    display: none;
}

.switcher .option a {
    padding: 5px 11px;
    margin: 0 4px;
}

.switcher .selected a:hover {
    background: unset;
}

@media (max-width: 991px) {
    .header-content .custom-container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    #gtranslate_wrapper {
        display: block;
    }

    .gtranslate-box {
        display: none;
    }

    .header-content .custom-container {
        flex-direction: row;
    }
}