.section-transform #main-menu {
    opacity: 0;
    -webkit-transition: opacity 50ms ease !important;
    -moz-transition: opacity 50ms ease !important;
    -o-transition: opacity 50ms ease !important;
    -ms-transition: opacity 50ms ease !important;
    transition: opacity 50ms ease !important;
}

.section-transform-active #main-menu{
    opacity: 1;
}

#main-menu {
    padding: 0;
}

#main-menu li.dropdown > .dropdown-menu {
    display: none;
    padding: 0;
    overflow: hidden;
    transition: display 1s;
}

#main-menu > li > a {
    text-decoration: none;
    display: block;
    position: relative;
    color: var(--brand-color-black);
    padding: 6px 5px;
    font-size: 16px;
}

#main-menu > li {
    margin-bottom: 15px;
}

#main-menu > li.open {

}

#main-menu > li.menu-item.open {
    background-color: var(--brand-color-main);
    color: var(--brand-color-black);
}

#main-menu > li.active.current_page_item > a,
#main-menu > li.current-page-ancestor > a {
    color: var(--brand-color-black);
}

#main-menu > li > ul > li {
    color: white;
    text-decoration: none;
}

#main-menu > li > ul > li > a {
    color: white;
    text-decoration: none;
    padding: 10px 10px;
    font-size: 16px;
    display: block;
    border-bottom: 1px solid var(--brand-color-main);
}

#main-menu > li > ul > li:first-child > a {
    border-top: 1px solid var(--brand-color-main);
}
#main-menu > li > ul > li.active > a {
    color: var(--brand-color-main);
}

#main-menu li {
    list-style: none;
}

#main-menu > li.menu-item {
    font-weight: 700;
    position: relative;
    background-color: var(--brand-color-gray);
    border-radius: 6px;
    padding: 5px;
}

#main-menu > li.menu-item-has-children > a:before,
#main-menu > li > a:before {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    right: 0;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
}

#main-menu > li > a:hover {
    color: var(--brand-color-black);
}

#main-menu > li.active.open > a:before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="36" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"%3E%3Cpath fill="white" d="M16.293 9.293L12 13.586L7.707 9.293l-1.414 1.414L12 16.414l5.707-5.707z"%2F%3E%3C%2Fsvg%3E')
}


#main-menu > li > a:before {
    content: "";
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="36" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"%3E%3Cpath fill="%2327374b" d="M10.707 17.707L16.414 12l-5.707-5.707l-1.414 1.414L13.586 12l-4.293 4.293z"%2F%3E%3C%2Fsvg%3E')
}

#main-menu > li.menu-item-has-children.open a:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' xmlns:xlink='http://www.w3.org/1999/xlink' class='menu-chevron' aria-hidden='true' focusable='false' style='-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);' preserveAspectRatio='xMidYMid meet' viewBox='0 0 20 20'%3E%3Cpath d='M5 6l5 5l5-5l2 1l-7 7l-7-7z' fill='%23939393'/%3E%3Crect x='0' y='0' width='20' height='20' fill='rgba(0, 0, 0, 0)' /%3E%3C/svg%3E");
}

.main-menu-nav-button {
    color: lime;
}

a.menu-open  {
    margin-left: 15px;
}

a.menu-open.menu-opened,
a.menu-close {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' aria-hidden='true' focusable='false' width='40' height='40' fill='%23FFFFFF' stroke='%23FFFFFF' preserveAspectRatio='xMidYMid meet' viewBox='0 0 20 20'%3E%3Cpath d='M14.95 6.46L11.41 10l3.54 3.54l-1.41 1.41L10 11.42l-3.53 3.53l-1.42-1.42L8.58 10L5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z' /%3E%3C/svg%3E");
}

#main-menu .dropdown-menu > li.menu-item {
    font-weight: 400;
    font-size: 16px;
    background: #070707;
}

#main-menu li.dropdown.active.open > .dropdown-menu {
    display: block;
}

.menu-open, .menu-close {
    display: block;
    color: black;
    width: 35px;
    height: 35px;
    background-position: center;
}

/*
	Improved screen reader only CSS class
	@author Gaël Poupard
		@note Based on Yahoo!'s technique
		@author Thierry Koblentz
		@see https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html
	* 1.
		@note `clip` is deprecated but works everywhere
		@see https://developer.mozilla.org/en-US/docs/Web/CSS/clip
	* 2.
		@note `clip-path` is the future-proof version, but not very well supported yet
		@see https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path
		@see http://caniuse.com/#search=clip-path
		@author Yvain Liechti
		@see https://twitter.com/ryuran78/status/778943389819604992
	* 3.
		@note preventing text to be condensed
		author J. Renée Beach
		@see https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
		@note Drupal 8 goes with word-wrap: normal instead
		@see https://www.drupal.org/node/2045151
		@see http://cgit.drupalcode.org/drupal/commit/?id=5b847ea
	* 4.
		@note !important is important
		@note Obviously you wanna hide something
		@author Harry Roberts
		@see https://csswizardry.com/2016/05/the-importance-of-important/
*/

.sronly {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;  /* 2 */
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;            /* 3 */
}

/*
	Use in conjunction with .sr-only to only display content when it's focused.
	@note Useful for skip links
	@see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
	@note Based on a HTML5 Boilerplate technique, included in Bootstrap
	@note Fixed a bug with position: static on iOS 10.0.2 + VoiceOver
		@author Sylvain Pigeard
		@see https://github.com/twbs/bootstrap/issues/20732
*/
.sronly-focusable:focus,
.sronly-focusable:active {
    clip: auto !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    height: auto !important;
    margin: auto !important;
    overflow: visible !important;
    width: auto !important;
    white-space: normal !important;
}

.section-transform .menu-close {
    opacity: .1;
    cursor: pointer;
}
.section-transform {
    height: 0;
    width: 300px;
    z-index: 999999 !important;
    overflow: hidden;
    box-sizing: content-box;
}
.section-transform .et_pb_text_inner h2 {
    color: transparent;
}

.section-transform-active .et_pb_text_inner h2 {
    color: black;
}
.section-transform-active .menu-close {
    opacity: 1;
}
/*.section-transform,*/
/*.section-transform-active .menu-close {*/
/*    -webkit-transition: all 0.5s ease !important;*/
/*    -moz-transition: all 0.5s ease !important;*/
/*    -o-transition: all 0.5s ease !important;*/
/*    -ms-transition: all 0.5s ease !important;*/
/*    transition: all 0.5s ease !important;*/
/*}*/
/*.section-transform-active .et_pb_text_inner h2 {*/
/*    -webkit-transition: all 0.2s ease !important;*/
/*    -moz-transition: all 0.2s ease !important;*/
/*    -o-transition: all 0.2s ease !important;*/
/*    -ms-transition: all 0.2s ease !important;*/
/*    transition: all 0.2s ease !important;*/
/*}*/

.et-menu-nav .nav li ul {
    width: auto;
}

.et_pb_fullwidth_menu .et-menu-nav>ul ul, .et_pb_menu .et-menu-nav>ul ul {
    padding: 0;
}

.nav li li {
    position: relative;
    line-height: 2em;
    display: block;
    padding: 0;
    margin: 0;
}

.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu a {
    border-bottom: 1px dashed var(--brand-color-gray);
    color: #000000!important;
    display: block;
    width: 100%;
    white-space: nowrap;
    font-weight: normal;
    font-size: 15px;
    padding: 5px 15px;
    text-transform: capitalize;
}

.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu a:hover {
    color: var(--brand-color-white) !important;
    background-color: var(--brand-color-main);
    opacity: 1;
}

.et_pb_menu_0_tb_header.et_pb_menu .current-menu-ancestor > a {
    color: var(--brand-color-main) !important;
}


.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu li:last-child a {
    border-bottom: 0 dashed var(--brand-color-gray);
}

.et-menu li li a {
    padding: 6px;
    width: auto;
    min-width: 200px;
}

.nav-grid {
    display: grid;
    grid-template-columns: auto 1fr 1fr auto auto;
}

.nav-cta {

}

.section-transform-active {
    height: 100%;
    width: 300px;
    background-color: var(--brand-color-white) !important;
    display: block !important;
}

@media (max-width: 980px) {
    .nav-grid {
        grid-template-columns: 1fr auto auto auto;
    }
    #et-main-area {
    }
    .section-transform-active {
        /*max-height: calc(100% - 100px);*/
    }
}

@media (min-width: 1160px) {
    #main-menu {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 15px;
    }
    #main-menu > li > a {
        font-size: 14px;
        font-weight: 600;
    }
    #main-menu > li.menu-item {
        font-weight: 600;
        /*padding: 0 15px;*/
    }
    #main-menu > li {
        margin-bottom: 0;
    }
}


.nav-grid .et_pb_column {
    margin: 0;
}

.desktop-header {

}

.mobile-header {

}

.mobile-header-logo-container {
    margin-bottom: 0 !important;
    width: auto !important;
}

.mobile-header-menu-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-inline-container {
    position: relative;
}

ul.menu-inline > li > ul {
    display: none;
    margin: 0;
    padding: 0;
    position: absolute;
    background: #f5f8fa;
    white-space: nowrap;
    border-top: 5px solid #ec1e23;
}

ul.menu-inline > li.menu-item-has-children > a:first-child:after {
    font-family: ETmodules;
    content: "3";
    font-size: 18px;
    font-weight: 800;
    color: #ec1e23;
    margin-top: -3px;
}



.menu-inline a {
    display: flex;
    padding: 8px 0;
    position: relative;
    align-items: center;
}

.menu-inline a span {
    padding: 0 8px;
    line-height: 16px;
    position: relative;
}

.menu-inline a:hover {
    text-decoration: none;
}

ul.menu-inline > li.menu-item-has-children > a:first-child span {
    padding-right: 0;
}

ul.menu-inline > li > ul > li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px dashed #d1d1d1;
}

ul.menu-inline > li > ul > li:last-of-type {
    border-bottom: 0;
}

ul.menu-inline > li > ul > li a {
    color: #000;
    text-transform: capitalize;
    padding: 10px 10px;
}

.menu-inline .menu-item.dropdown:hover .dropdown-menu {
    display: block;
}


.footer-menu {
    padding: 0 !important;
    margin: 0!important;
    line-height: 16px !important;
}

.footer-menu li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.footer-menu li a {
    color: var(--brand-color-alt);
    font-size: 14px;
    line-height: 16px;
}

.footer-menu li a:hover {
    color: #FFF;
}

.hero-vid {
    aspect-ratio: 16 / 9
}

@media (max-width: 980px) {
    .footer-menu li {
        text-align: center;
    }
}

.nav-menu-block-left {
    margin-left: 15px;
}

.menu-column {

}

@media (max-width: 500px) {
    .section-transform {
        width: 100%;
    }
    .section-transform-active {
        width: 100%;
    }
}