/* Mobile navigation: open as a full-width panel from the top. */

:root{
    --primary-teal: #008082;
}


.animate-position-mobile-menu-icon .dt-mobile-menu-icon .lines-button{
	height: 40px;
}

.animate-position-mobile-menu-icon .dt-mobile-menu-icon .menu-line {
    width: 42px;
    height: 6px;
    border-radius: 6px;
	background: var(--primary-teal) !important;
}

.dt-mobile-header,
.right-mobile-menu .dt-mobile-header {
	top: var(--fair-haven-mobile-menu-top, 48px);
	right: 0;
	bottom: auto;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: calc(85vh - var(--fair-haven-mobile-menu-top, 48px));
	min-height: 0;
	max-height: calc(100vh - var(--fair-haven-mobile-menu-top, 48px));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transform: translate3d(0, -100%, 0);
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.5s ease, visibility 0s linear 0.5s;
	 background: linear-gradient(45deg, var(--primary-teal), #49BCBC) !important;
   /* z-index: 99999; */
}

/* The header and the dropdown are siblings. Keep the header's stacking layer
   above the fixed menu panel, including when the panel is open. */
.masthead.masthead-mobile-header {
	z-index: 9603;
}

/* Compact mobile header: menu toggle, logo, then the Donate dropdown. */
.masthead .mobile-header-bar {
	position: relative;
	z-index: 9603;
	min-height: 66px;
	height: 86px;
	padding: 0 10px;
	background: #fff;
	box-sizing: border-box;
}

.mobile-header-bar .mobile-navigation {
	order: 1;
	flex: 0 0 40px;
}

.mobile-header-bar .mobile-branding {
	order: 2;
	flex: 1 1 auto;
	justify-content: center;
	min-width: 0;
}

/* .mobile-header-bar .mobile-branding img {
	max-height: 38px;
	width: auto;
} */

.dt-mobile-menu-icon .menu-line:first-of-type {
    top: 8px;
}

.animate-position-mobile-menu-icon .dt-mobile-menu-icon .menu-line:nth-of-type(2) {
    top: 19px;
}

.animate-position-mobile-menu-icon .dt-mobile-menu-icon .menu-line:nth-of-type(3) {
    top: 30px;
}

.mobile-header-bar .mobile-mini-widgets {
	order: 3;
	flex: 0 0 auto;
	max-width: none;
}

.mobile-header-bar .mobile-mini-widgets > :not(.fair-haven-mobile-donate),
.mobile-header-bar .mobile-mini-widgets .mini-wpml {
	display: none !important;
}

.dt-mobile-header .mobile-main-nav li .sub-nav > li > a .menu-text{
	line-height: 22px !important;
}

.fair-haven-mobile-donate {
	position: relative;
}

.fair-haven-mobile-donate-toggle {
	position: relative;
	background: linear-gradient(to right, var(--primary-teal) , var(--secondary-teal));
    border-radius: 51px;
    border: 1px solid var(--tertiary-teal);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 12px 30px 12px 20px;
    font-family: 'Open Sans', sans-serif;
}

.fair-haven-mobile-donate-toggle::after{
	content: "";
	position: absolute;
    right: 11px;
    top: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='11' viewBox='0 0 18 11' fill='none'%3E%3Cpath d='M0.707032 0.707107L8.70703 8.70711L16.707 0.707109' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
    background-position: center;
	background-size: contain;
    width: 13px;
    height: 8px;
}

.fair-haven-mobile-donate.is-open .fair-haven-mobile-donate-menu{
	display: block;
}

.fair-haven-mobile-donate-menu {
	position: absolute;
	top: calc(100% + 18px);
	right: -5vw;
	display: none;
	min-width: 240px;
	padding: 5px 0;
	background: linear-gradient(45deg, var(--primary-teal), #49BCBC) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

 .fair-haven-mobile-donate{
        display: block !important;
    }

.fair-haven-mobile-donate-menu a {
	display: block;
	padding: 9px 12px;
	color: #fff;
	font: 700 16px/1.2 Open Sans, sans-serif;
	text-decoration: none;
}



.show-mobile-header .dt-mobile-header,
.show-mobile-header.right-mobile-menu .dt-mobile-header {
	transform: translate3d(0, 0, 0);
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.dt-mobile-header .mobile-header-scrollbar-wrap{
	width: 100% !important;
}

/* Keep every menu level visible instead of using The7's mobile accordion. */
.dt-mobile-header .mobile-main-nav .sub-nav,
.dt-mobile-header .mobile-main-nav .dt-mega-menu-wrap,
.dt-mobile-header .mobile-main-nav .dt-mega-menu-wrap > .sub-nav {
	display: block !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

.dt-mobile-header .mobile-main-nav li.has-children > a {
	max-width: none !important;
}

.dt-mobile-header .mobile-main-nav .next-level-button {
	display: none !important;
}

/* Arrange the permanently open sections in two compact columns. */
.dt-mobile-header .dt-close-mobile-menu-icon {
	display: none !important;
}

.dt-mobile-header {
	background: #078d8f;
}

.dt-mobile-header .mobile-main-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 18px;
	padding: 13px 14px 20px;
	box-sizing: border-box;
}

.dt-mobile-header .mobile-main-nav > li,
.dt-mobile-header .mobile-main-nav .sub-nav > li {
	display: block;
	min-width: 0;
}

.dt-mobile-header .mobile-main-nav .sub-nav {
	margin: 0;
}

.dt-mobile-header .mobile-main-nav > li > a,
.dt-mobile-header .mobile-main-nav .sub-nav > li > a {
	display: block;
	padding: 0 0 2px;
	color: #fff;
	font: 700 12px/1.2 Arial, sans-serif;
	text-decoration: none;
}

.dt-mobile-header .mobile-main-nav .sub-nav > li > a {
	padding: 1px 0;
	font-weight: 400;
	font-size: 10px;
}

.dt-mobile-header .mobile-main-nav{
	padding: 0;
}

.dt-mobile-header .mobile-main-nav li.donate-btn{
	display: none;
}

@media (max-width: 360px) {
	.dt-mobile-header .mobile-main-nav {
		gap: 11px 12px;
		padding-right: 10px;
		padding-left: 10px;
	}
}
