/* MAIN HEADER */
#main-header {
    background: #fff !important;
    box-shadow: none;
    padding: 0;
}

#main-header .container.et_menu_container {
    position: initial;
}

.et_header_style_left #et-top-navigation {
    float: left;
    width: 100%;
    padding-left: 150px !important;
}

.et_non_fixed_nav.et_transparent_nav #main-header {
	top:0px !important;
}

.et_non_fixed_nav.et_transparent_nav #main-header.helloHeader {
	top:30px !important;
}

.admin-bar.et_non_fixed_nav.et_transparent_nav #main-header {
	top:32px !important;
}

.admin-bar.et_non_fixed_nav.et_transparent_nav #main-header.helloHeader {
	top:66px !important;
}

.et_header_style_left .logo_container {
    width: auto;
}

#logo {
    max-height: 55%;
    margin-top: 0px;
}

nav#top-menu-nav {
    float: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}


#top-menu li {
	padding-left:0px;
	padding-right:0;
    position: initial;
}

#top-menu li:hover > a {
    color: var(--mainColor);
}

#top-menu a {
    font-family: 'Montserrat';
    font-weight: 700;
    color: var(--menuColor);
    font-size: 17px;
    padding: 0px 17px 33px !important
}

#top-menu .menu-item-has-children>a:first-child {
    padding-right: inherit;
}

#top-menu .menu-item-has-children>a:first-child:after {
    display: none;
}

#right-menu {
    margin-top: -32px;
    display: flex;
    align-items: center;
}

#right-menu li {
    display: inline-block;
    margin-left: 20px;
}

#right-menu li a {
    font-family: 'Montserrat';
    font-size: 15px;
    font-weight: 400;
    color: var(--menuColor);
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
    color:var(--altColor);
    opacity:1;
}

#top-menu-nav>ul>li>a:hover, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    opacity: 1;
    color: var(--mainColor) !important;
}

.mega-menu {
    opacity: 0;
    visibility: hidden;
    width: 100%;
    left: 0;
    border: 0;
    border-radius: 0;
    background: var(--altColor);
    position: absolute;
    padding: 60px 0;
    /* box-shadow: 0 0px 23px 0px #7c7c7c1f; */
    height: calc(100vh - 100px);
    transition:0.25s all;
}

.mega-menu .container {
    width: 76%;
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
}

.dismiss-mega {
    position: absolute;
    color: white;
    right: 0;
    top: 7px;
    border: 1px solid white;
    padding: 10px 19px;
    border-radius: 25px;
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
    opacity: 0.6;
    font-weight: 400;
    transition: 0.25s all;
    text-transform: uppercase;
    font-size: 11px;
}

.dismiss-mega:hover {
    opacity: 1;
}

.dismiss-mega i {
    font-size: 13px;
    line-height: 9px;
    margin-bottom: -2px;
}

#top-menu .mega-menu h3 {
    color: white;
}

#top-menu .mega-menu p {
    color: white;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    padding-top: 30px;
}

#top-menu .mega-menu-inner a {
    background: #1c1a2a;
    padding: 20px !important;
    border-radius: 5px;
    transition: 0.3s all !important;
}

#top-menu .mega-menu-inner a img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: var(--altColor);
    padding: 10px;
    transition: 0.3s all;
}

#top-menu .mega-menu-inner a h4 {
    color: white;
    font-size: 16px;
    padding: 10px 0 5px;
    line-height: 20px;
}

#top-menu .mega-menu-inner a p {
    color: white;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
}

#top-menu .mega-menu-inner a:hover {
    background: linear-gradient(144deg, var(--mainColor), var(--btnColor));
    transform: scale(1.02);
}

#top-menu .mega-menu-inner a:hover h4, #top-menu .mega-menu-inner a:hover p {
    color: white;
}

#top-menu .mega-menu-inner a:hover img {
    background: #f4f7fd;
}

#top-menu .mega-menu-inner a:last-of-type {
    background: linear-gradient(144deg, var(--mainColor), var(--btnColor));
    text-transform: uppercase;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
#top-menu .mega-menu-inner a:last-of-type p {
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 15px;
    height: auto;
    line-height: 25px;
    padding: 0 15px;
}

@media (min-width:981px) {
    #top-menu-nav>ul>li.menu-btn> a {
        position: relative;
        overflow: hidden;
        z-index: 1;
        background: linear-gradient(144deg, var(--mainColor), var(--btnColor));
        color: white;
        border-radius: 25px;
        border: none;
        font-family: 'Montserrat';
        font-size: 14px;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.5px;
        padding: 13px 55px 13px 25px !important;
        display: inline-block;
        transition: 0.3s all;
    }

    #top-menu-nav>ul>li.menu-btn> a:after {
        line-height: 0.8em;
        content: "\35";
        position: absolute;
        background: white;
        color: var(--btnColor);
        border-radius: 25px;
        padding: 8px 6px;
        top: 6px;
        right: 6px;
        font-size: 1.4em;
        opacity: 1;
        margin-left: 0.3em;
        left: auto;
        display: inline-block;
        transition: all .2s;
        text-transform: none;
        -webkit-font-feature-settings: "kern" off;
        font-feature-settings: "kern" off;
        font-variant: none;
        font-style: normal;
        font-weight: 400;
        font-family: ETmodules !important;
    }

    #top-menu-nav>ul>li.menu-btn> a:hover {
        color: white !important;
        box-shadow: 0 4px 19px 2px #e2e2e2;
        transform: translateY(-3px);
    }

    #top-menu-nav>ul>li.menu-btn> a:hover:after {
        transform: rotate(-25deg);
    }

}

/* HELLO BAR */
.hello-topbar {
    display:none;
    top: 0;
    position: relative;
    left: 0;
    right: 0;
    background: var(--helloBg);
    z-index:9999;
    transition:0.5s all;
}

.hello-topbar h2 {
    text-align: center;
    color: var(--helloText);
    padding: 12px 0 10px;
    font-size: 12px;
    font-weight: 400;
    font-family: var(--bodyFont);
}

.hello-topbar h2 a {
    text-align: center;
    color: var(--helloText);
    padding: 0;
    font-weight: bold;
    font-family: var(--bodyFont);
}

.hello-topbar h2 a:hover {
    text-decoration: underline;
}

.close-topbar {
    position: absolute;
    right: 30px;
    color: whitesmoke;
    top: 5px;
    transition: 0.4s all;
}

.close-topbar:hover {
    color:white;
}

.home #main-header.helloHeader {
    top:34px !important;
}

@media (max-width:680px) {
    .hello-topbar {
        position:absolute;
    }
    .hello-topbar h2 {
        padding: 12px 0 10px;
        line-height: 8px;
        font-size: 10px;
        text-align: left;
        padding-left: 25px;
    }
    .hello-topbar h2 a {
        font-size: 10px;
        padding: 0;
    }
    .close-topbar {
        right:22px;
        top:4px;
    }
}

/* gTranslate Tweaks */
html[lang="en-US"] a[title="English"], html[lang="en-CA"] a[title="English"], html[lang="auto"] a[title="English"] {
	display:none !important;
}

html[lang="fr"] a[title="French"], .gtranslate-wrapper, .skiptranslate, .et-fb-root-ancestor a.glink {
	display:none !important;
}

#et-secondary-menu .gtranslate_wrapper {
	float: right;
    padding-left: 15px;
}

#et-secondary-menu a.glink {
    text-decoration: none;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
	font-weight:normal !important;
}

@media (max-width:980px) {
	.gtranslate-wrapper {    
		position: absolute;
		right: 45px;
		top: 20px;
		display:block !important;
	}
	a.glink { 
		font-size: 18px;
		color: white;
        font-weight: normal !important;
	}
}


/* SEARCH */
#et_top_search {
    position: relative;
    display: block;
    width: auto;
    margin: 0 0 -10px -9px;
    float:right;
}
#et_top_search a {
    color: var(--menuColor);
    font-family: var(--menuFont);
    border: 1px solid;
    padding: 12px 16px 7px 14px;
    margin: 0px;
    display: flex;
    align-items: center;
    border-radius: 25px;
}

#et_top_search a i {
    margin-right:7px;
    font-size: 11px;
    margin-top: -5px;
    display: inline-block;
}

#et_top_search a:hover {
    color:var(--mainColor);
}

.et-top-search {
    display: none;
    position: fixed;
    width: 100%;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    background-repeat: repeat;
    background-color: var(--altColor);
    border-bottom: 0;
    border-top: 0;
    padding: 0;
    z-index: 999;
}

#et_search_icon:before {
    font-size:15px;
}

.admin-bar .et-top-search {
    top:32px;
}

#main-header .et-search-form {
    background: #ffffff;
    padding: 30px 100px;
    position: relative;
    height: 118px;
    right:0;
}

.search-view-more-btn {
    border: 2px solid white;
    color: white;
    padding: 10px 75px;
    border-radius: 25px;
    display: table;
    text-transform: uppercase;
    margin: 30px auto 0;
    font-weight: bold;
    transition:0.4s all;
}

.search-view-more-btn:hover {
    background:white;
    color:var(--mainColor);
}

input.et-search-field {
    width: 100%;
    background: none;
    padding: 7px 0px;
    font-size: 32px;
    border-bottom: 3px solid #efefef;
    border-radius: 0;
    font-weight: 700;
    position: relative;
    color: black;
    right:0;
}

input.et-search-field::placeholder {
    font-weight:700;
}

input.et-search-field:focus {
    background:transparent;
    color:var(--mainColor);
}

span.highlight {
    position: absolute;
    bottom: 32px;
    left:100px;
    font-size: 32px;
    z-index: 10;
    height: 0;
    overflow: hidden;
    color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    max-width: 100%;
    border-top: 3px var(--mainColor);
    min-width: 3px;
    font-weight: 700;
}

span.et_close_search_field {
    right:10px !important;
    top:10px;
    margin:0;
    opacity:0.7;
}

span.et_close_search_field:after {
    color:black !important;
}

span.et_close_search_field:hover {
    opacity:1.0;
}

.close-search {
    border: 1px solid white;
    color: white;
    padding: 12px 20px 10px;
    position: absolute;
    bottom: 20px;
    left: 100px;
    border-radius: 5px;
    transition: 0.3s all;
    z-index: 99999;
}

.close-search i {
    margin-right:7px;
}

.close-search:hover {
    background:white;
    border-color:white;
    color:var(--mainColor);
}

/* AUTOCOMPLETE */
.autocomplete-suggestions, .mobile-nav div.mobile-form .autocomplete-suggestions {     
    background: #ffffff;
    overflow: visible;
    max-height: initial !important;
    width: 100% !important;
    margin-top: 1px;
    border-radius:0;
}
.et-top-search .autocomplete-suggestions {
    background:rgba(0,0,0,0.0);
    width:100% !important;
    right:0;
    left:0;
    bottom:0;
    top:118px;
    box-shadow:none;
    padding:50px 100px;
    margin-top:0;
    border:0;
    overflow-y:scroll;
}
.mobile-nav div.mobile-form .autocomplete-suggestions {
    left: 0px;
    right: 0px;
    width:auto !important;
    border-radius:0;
    font-size:15px;
    z-index:99999 !important;
    max-height: 520px !important;
    overflow: hidden;
    overflow-y: scroll;
}
.et-top-search .autocomplete-suggestion, .et-top-search .autocomplete-no-suggestion { 
    padding: 9px 10px; 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #ebebeb;
    cursor: pointer; 
}
.mobile-nav div.mobile-form .autocomplete-suggestion, .mobile-nav div.mobile-form .autocomplete-no-suggestion {
    padding: 12px 10px 6px; 
    border-bottom: 1px solid #ebebeb;
    cursor: pointer; 
}
.et-top-search .autocomplete-no-suggestion {
    color: white;
    border: 0;
    padding: 0;
}
.et-top-search .autocomplete-suggestion {color:white;}
.et-top-search .autocomplete-suggestion {
    border-bottom: 0;
    cursor: pointer;
    display: inline-block;
    padding: 0;
    font-weight: 700;
    font-size: 16px;
    width:100%;
}
.et-top-search .autocomplete-suggestion:last-child, .mobile-nav div.mobile-form .autocomplete-suggestion:last-child {border-bottom:0;}
.et-top-search .autocomplete-selected, .mobile-nav div.mobile-form .autocomplete-selected { text-decoration:underline;}
.et-top-search .autocomplete-suggestions strong, .mobile-nav div.mobile-form .autocomplete-suggestions strong { font-weight: bold; color: white; }
.et-top-search .autocomplete-group, .mobile-nav div.mobile-form .autocomplete-group { 
    padding: 2px 0px; 
}
.et-top-search .autocomplete-group {
    float: left;
    width: 26.33%;
    margin-right: 10%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 30px;
}
.et-top-search .autocomplete-group:nth-of-type(3n+3) {
    margin-right:0;
}
.et-top-search .autocomplete-group strong, .mobile-nav div.mobile-form .autocomplete-group strong { 
    display: block; color:#064b5d;
}
.et-top-search .autocomplete-group strong {
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    color: #fff;
    border: 0;
    border-bottom: 1px solid;
}
.et-top-search .autocomplete-span, .mobile-nav div.mobile-form .autocomplete-span {
    padding: 2px 4px 1px;
    font-size: 11px;
    margin-right: 8px;
    text-transform: uppercase;
    float: left;
    line-height: 19px;
    margin-top: 3px;
    color: white;
    width: 60px;
    text-align: center;
}
.autocomplete-suggestion p {
    font-size: 14px;
    font-weight: 400;
}
.autocomplete-suggestion span {
    display: block;
    font-size: 10px;
    text-decoration: none;
    color: silver;
    margin-top: -7px;
    font-weight: 400;
}
.mobile-nav div.mobile-form .autocomplete-span {
    padding: 0;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 10px;
    margin-top: 0;
    width: auto;
    text-align: left;
    display: inline-block;
    color: #1584a4;
}
.mobile-nav div.mobile-form .autocomplete-par {
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    color:black;
}
.et-top-search .autocomplete-suggestions:before, .mobile-nav div.mobile-form .autocomplete-suggestions:before {
    content:'';
    display:none;
    width:0;
    height:0;
    position:absolute;
    top:0;
    left:calc(50% - 7.5px);
    border-color:rgba(204,204,204,1);
    border-left: 7.5px solid transparent;
    border-right: 7.5px solid transparent;
    border-bottom: 7px solid white;
    margin-top:-7px;
}  