/****************************
2.5 - Google Maps
****************************/
#wpadminbar {
	display: none;
}

#poi-overlay {
	display: block;
	position: relative;
	left: 30px;
	top: 190px;
	right: 0;
	z-index: 999;
	max-width: 420px;
	background:transparent;
}
#map {
	width: 100%;
	height: 100%;
	position: fixed !important;
	z-index: 9;
	top: 150px;
	left: 0;
}
body {
    margin-top: 0px !important; /* don't need to compensate for static header on map page */
}
body.map-is-embed #map {
	top: 37px;
}
#poi-expand-toggle {
	display: none;
}
.page-template-template-map #site-header {
	z-index: 9999;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: unset;
	background: #FFF;
	padding:0px;
}
#menu-bar {
	padding: 1em 0px;
	
}
#site-header #site-logo {
	width:80px;
	height:80px;
}

#map-header {
	background:#000;
	padding: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
	border-top: 1px solid rgba(0, 0, 0, 0.4);
}

/* Generic map controls (menu) styling */
#map-navigation ul {
	padding-left: 0px;
}
#map-navigation ul#menu-map-menu {
	margin: 0px;
	padding: 0px 0px 5px 0px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
}
#menu-map-menu li {
	list-style-type: none;
}
#menu-map-menu li a {
	text-decoration: none;
	font-weight: 400;
	font-size: 20px;
	color: var(--color-off-white);
}

/* Top level items (controls groups) */
#menu-map-menu > li {
	
}
#menu-map-menu > li > a {
	display: none;
}

/* Second level items (actual controls) */
#menu-map-menu > li > ul > li {
	padding: 0px 5px 0px 0px;
	display: inline-block;
}
#menu-map-menu > li > ul > li > a {
	color: #FFF;
}

/* 3rd level items (actual options links) */
#menu-map-menu > li > ul > li > ul > li {
	padding: 3px 0px;
}

#menu-map-menu > li > ul > li > ul > li a {
	transition: all .2s ease-in-out;
	border-bottom: 1px solid rgba(0,0,0,0);
}
#menu-map-menu > li > ul > li > ul > li a:hover {
	color: white;
	border-bottom: 1px solid white;
}

/* region & availability controls */
#menu-map-menu > li:first-child > ul > li:hover {
	background-color: #222;
}
.availability-controller > a::after,
.region-controller > a::after,
.feature-controller > a::after {
    color: var(--line-dark-color);
    font-family: dashicons;
    content: "\f347";
	position: relative;
	top: 5px;
	padding-left: 5px;
}

/* dropdown menu behavior */
#menu-map-menu .dropdown {
	position: relative;
}
#menu-map-menu .dropdown ul {
    display: none;
    position: absolute;
    background: black;
    top: 30px;
    left: -10px;
    padding: 0px 10px 10px;
    width: 175px;
}
/*#menu-map-menu .dropdown:hover ul {
	display: block;
}*/

#menu-map-menu > li:nth-child(3),
#menu-map-menu > li:nth-child(4) {
	min-width:20%;
	text-align:center;
}
#menu-map-menu > li.is-dropdown-submenu-parent > a {
	padding-right: 30px;
}
#menu-map-menu > li.is-dropdown-submenu-parent>a:after {
	right: 5px;
	margin-top: -2px;
	z-index: 999;
	border-top: 6px solid #fff;
	border-bottom: 5px solid transparent;
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
}
#menu-map-menu .toggle-button > a,
#menu-map-menu .reset-button > a,
#menu-map-menu .itinerary-button > a {
	color: #FFF;
	/* border: 1px solid #FFF; */
	border-radius: 5px;
	padding: 2px 10px;
}
#menu-map-menu .toggle-button > a:hover,
#menu-map-menu .reset-button > a:hover,
#menu-map-menu .itinerary-button > a:hover,
#menu-map-menu .toggle-active > a {
	background: #fd5200;
	color: white;
	border-color: #fd5200;
}
#map-navigation #menu-map-menu .toggle-active > a {
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
}
#map-navigation #menu-map-menu li.toggle-button:nth-child(5) {
	margin-left:60px;
}
#map-navigation #menu-map-menu li.toggle-button,
#map-navigation #menu-map-menu li.reset-button,
#map-navigation #menu-map-menu li.itinerary-button {
	border:0;
}
#map-navigation #menu-map-menu > .reset-button {
	margin-right:60px;
}
.brewery {
	position:relative;
	padding-top: 30px;
}
.brewer-content {
	padding: 25px 30px 25px 30px;
	background: #FFF;
	margin-bottom: 0;
}
.brewer-content h1 {
	font-size: 22px; 
	font-weight: 700;
	text-align: left;
	margin-bottom: 20px;
	margin-top: 0;
}
.brewer-content p {
	font-size:16px;
}
.brewer-contact {
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}
.brewer-contact .map-address-1,
.brewer-contact .map-address-2,
.brewer-contact a {
	display:block;
	font-size:13px;
}
.brewer-contact a {
	color:#e95e30;
	font-weight:400;
}
.brewer-contact a:hover {
	color: #083fdc;
	text-decoration: underline;
}
.brewer-open-closed {
	font-size: 11px;
	font-weight: 700;
	color: #790101;
	margin-bottom: 15px;
}
.brewer-open-closed span {
	font-size: 14px;
	font-weight: 400;
	color: #555;
}
.brewer-open-closed span.availability {
	font-weight: 500;
	font-size: 14px;
	color:#790101;
}
.brewer-open-closed .open-closed {
	padding-right:10px;
}
.brewer-open-closed .open-closed .green-highlight {
	color:#136100;
	font-weight:500;
}
.brewer-open-closed .open-closed .red-highlight {
	color: #790101;
	font-weight:500;
}
.brewer-open-closed .hours-display {
	display: block;
	margin:16px 0;
}
.brewer-description p:last-child {
	margin-bottom:0;
}
.brewer-icons .brewery-button {
	border: 2px solid #ef5800;
	border-radius: 100px;
	color: #ef5800;
	display: inline-block;
	font-weight: 700;
	font-size: 9px;
	padding: 5px 15px 5px 15px;
	/* margin-top: 15px; */
	margin-right: 10px;
	text-transform: uppercase;
}
.brewer-icons .brewery-button:hover {
	background: #ef5800;
	color: #FFF;
}
.brewery-number {
	position: absolute;
	left: -15px;
	top: 10px;
	width: 44px;
	height: 44px;
	line-height: 42px;
	font-size: 22px;
	text-align: center;
	color: #FFF;
	background: var(--color-med-green);
	border-radius: 100%;
	font-weight: 700;
}
.reset-button,
.itinerary-button {
	display: inline-block;
	border: 1px solid #000;
	padding: 5px 30px;
}
a.reset-button:hover,
a.itinerary-button:hover {
	border: 1px solid #000;
	background:#fb7400;
	color:#FFF;
}
.itinerary-section {
	position: relative;
	margin-bottom: 20px;
	padding-left:50px;
}
.itinerary-label {
    position: absolute;
    background: #FFF;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 100%;
    line-height: 30px;
    left: 0;
    font-weight: 400;
    border: 3px solid #ea4335;
    color: #ea4335;
    font-size: 16px;
}
.itinerary-label:after {
	content: '';
	width: 3px;
	height: 70px;
	position: absolute;
	margin:2px auto 0;
	right: 0;
	left: 0;
	background-color: #ea4335;
	display: block;
}
.itinerary-section:last-child .itinerary-label:after {
	content: '';
	display:none;
}
.itinerary-section .orgname {
	font-weight:700;
}
.itinerary-section .close-button {
    line-height: 1;
    font-size: 24px;
    margin-top: 10px;
    position: absolute;
    top: 1rem;
    right: 1rem;
    text-decoration: none;
}
.itinerary-section p {
    font-size: 16px;
    line-height: 1.4;
}
#itinerary-container .brewer-content {
	padding-top:20px;
}

.brewer-icons {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	margin-top: 20px;
}

.pin-button a.button {
	font-size: 16px;
	bottom: 10px;
	right: 50px;
	text-decoration: none;
	padding: 10px 10px;
}

#no-result {
	margin-bottom:40px;
}
#no-result, #itinerary-container {
	display:none;
}
#return-to-map {
	color: #e95e30;
	display: block;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 10px;
}
#return-to-map:hover {
	text-decoration:underline;
}
.itinerary-footer {
	text-align:center;
}
.google-map-link {
	display: inline-block;
	border: 4px solid #035c9a;
	border-radius: 40px;
	color: #035c9a;
	padding: 12px 30px;
	margin: 0px auto;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
}
.google-map-link:hover {
	border-color:#222;
	color:#222;
}
.region-controller .js-dropdown-active,
.availability-controller .js-dropdown-active {
	display:block !Important;
}

/* interface mods for touchscreens (hover is dumb) */
@media screen and (pointer: coarse) {
	#menu-map-menu .toggle-button:not(.toggle-active) > a:hover,
	#menu-map-menu .reset-button > a:hover,
	#menu-map-menu .itinerary-button > a:hover {
		background: unset;
		border: none;
	}
}

@media screen and (min-width:1280px) and (max-width:1365px) {
	#map-navigation #menu-map-menu > li:nth-child(3), 
	#map-navigation #menu-map-menu > li:nth-child(4) {
		min-width:18%;
	}
	#map-navigation #menu-map-menu > .reset-button {
		margin-right:20px;
	}
	#map-navigation #menu-map-menu > li.toggle-button:nth-child(5) {
    margin-left: 20px;
	}
}
@media screen and (min-width:1366px) and (max-width:1600px) {
	#map-navigation #menu-map-menu > li:nth-child(3), 
	#map-navigation #menu-map-menu > li:nth-child(4) {
		min-width:18%;
	}
	#map-navigation #menu-map-menu > .reset-button {
		margin-right:35px;
	}
	#map-navigation #menu-map-menu > li.toggle-button:nth-child(5) {
    margin-left: 35px;
	}
}
@media screen and (max-width:1023px) and (orientation:portrait) {
	#header-bar {
		background: black;
	}
	#menu-bar {
		padding: 7px 5px 7px 10px;
	}
	#site-header #site-logo {
		width:50px;
		height:50px;
	}
	#map-header {
		width: 100%;
		margin-top:0;
		white-space:nowrap;
	}
	#map-header .map-header {
		width:100%;
	}
	#map {
		width: 100%;
		 /*fixed !important;*/
		z-index: 1;
		top: 100px;
		left: 0;
		height: 375px;
	}
	#poi-overlay {
		position: absolute;
		top: unset;
		bottom: 0px;
		left: 0;
		z-index: 999;
		max-width: 100%;
		/* width: 100%; */
		padding: 0 0px;
		/*height: calc(100vh - 370px - 104px);*/
		/*overflow-y: scroll;
		scrollbar-width: none;*/
		background: whitesmoke;
		/* margin-top: 30px; */
		/* padding-top: 31px; */
	}
	#poi-list {
		overflow-y: scroll;
		scrollbar-width: none;
		height: calc(100vh - 370px - 104px);
	}
	#poi-expand-toggle {
		position: absolute;
		display: inline-block;
		z-index: 999;
		top: 10px;
		right: 10px;
		border-radius: 15px;
		padding: 5px;
		background: var(--color-gold);
		height: 20px;
		width: 30px;
		text-align: center;
	}
	.brewery-number {
		left: 10px;
		top: 8px;
	}
	.page-template-template-map .top-bar-left .menu .mobile-logo > h2 {
		margin:10px 0;
		margin-left:10px;
	}
	.page-template-template-map #site-header {
		height: auto;
    padding: 0;
	}
	.page-template-template-map #content {
		/*position: relative;
    	top: 360px;
		background:#DDD;*/
	}
	.page-template-template-map {
		background:#DDD;
	}
	.page-template-template-map .footer {
    position: relative;
    top: 360px;
    height: 100%;
		background:#FFF;
	}
	
	/* Jesse - 2025 - KEEP */
	#menu-map-menu li a {
		font-size: 18px;
	}

	#menu-map-menu li:nth-child(1) {
		xorder: 3;
	}
	
	#map-navigation .is-accordion-submenu-parent>a:after {
    border-color: #FFF transparent transparent;
	}
	#map-navigation #menu-map-menu > li.toggle-button, 
	#map-navigation #menu-map-menu > li.reset-button, 
	#map-navigation #menu-map-menu > li.itinerary-button {
		padding:0;
	}
	#map-navigation #menu-map-menu > .itinerary-button {
		margin-left:10px;
	}
	#map-navigation #menu-map-menu > .reset-button {
		margin-right:10px;
	}
	#map-navigation .submenu {
		text-align: center !important;
		background: #FFF;
		position: absolute;
		left: 0;
		right: 0;
	}
	#map-navigation .submenu > li {
		display:block;
	}
	.page-template-template-map ::-webkit-scrollbar {
			-webkit-appearance: none;
			height: 4px;
	}
	.page-template-template-map ::-webkit-scrollbar-thumb {
			border-radius: 4px;
			background-color: rgba(255,255,255,.5);
			-webkit-box-shadow: 0 0 1px rgba(0,0,0,.5);
	}
}

@media screen and (min-width:1024px) and (max-width:1279px) {
	#map-header {
		width: 100%;
		white-space:nowrap;
	}
	#map-header .map-header {
		width:100%;
	}
	#map-navigation .is-accordion-submenu-parent>a:after {
		border-color: #FFF transparent transparent;
	}
	#map-navigation #menu-map-menu > li.toggle-button, 
	#map-navigation #menu-map-menu > li.reset-button, 
	#map-navigation #menu-map-menu > li.itinerary-button {
		padding:0;
	}
	#map-navigation #menu-map-menu > .itinerary-button {
		margin-left:10px;
	}
	#map-navigation #menu-map-menu > .reset-button {
		margin-right:10px;
	}
	#map-navigation #menu-map-menu > li:nth-child(3), 
	#map-navigation #menu-map-menu > li:nth-child(4) {
		min-width:0;
	}
	#map-navigation #menu-map-menu > li {
	}
	#map-navigation #menu-map-menu > li > a {
		padding-right:30px;
	}
	#map-navigation .is-accordion-submenu-parent>a:after {
		right:10px;
	}
	#map-navigation #menu-map-menu > li.toggle-button:nth-child(5) {
		margin-left:10px;
	}
	#map-navigation #menu-map-menu > li.toggle-button:nth-child(7) {
		margin-right:10px;
	}
}
