/*
 Theme Name:   UnderStrap Child
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       Alana Farkas, Ellery Mann, Dave Kriebel
 Template:     understrap
 Version:      0.2.4
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

#community-map .info-text {

}

.gm-style .gm-style-iw {
	overflow-y: auto;
	padding-right: 25px;
	box-sizing: content-box;
}
#community-map .info-text section {
	margin-top:0;
}

#map-page #coalition-stat-counter, #map-page .coalition-list {
	min-height: 0;
	margin-bottom: 0 !important;
}

div.gmnoprint {
	pointer-events: none;
}

div.gmnoprint button {
	pointer-events: all;
}


/* SEARCH FORM */
#search-trigger,
#search-trigger span {
	width: 24px;
	height: 24px;
	float: right;
	border: none;
	background: none;
	font-size: 24px;
	color: #498dc9;
}
#search-form {
	width: 100%;
	height: 50px;
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
	margin: 0;
	display: none;
	background: #CCC;
	box-shadow: 0 2px 1px rgb(0 0 0 / 10%);
	z-index: 10;
}
#search-form input {
	width: calc( 100% - 200px );
	height: 50px;
	padding: 10px;
	float: left;
	border: none;
	background: #CCC;
	font-size: 14px;
	color: #000;
}
#search-form button {
	width: 200px;
	height: 50px;
	padding: 10px;
	float: right;
	border: none;
	background: #498dc9;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	color: #FFF;
}
#search-form button:hover {
	background: #000;
}
#search-trigger:focus,
#search-trigger span:focus,
#search-form button:focus,
#search-form input:focus {
	border: none;
	outline: none;
}

/* SEARCH PAGE */
.search-header {
	padding: 30px 0;
	background: #498dc9;
	color: #FFF;
}
.search-header h1 {
	color: #FFF;
}

.search-pagination nav {
	display: inline-block;
	margin: 30px 0 0;
}


/* MAP */
#map-page,
#map-page-flexible-content,
body.page-template-coalitionmap #wrapper-footer {
	width: 100%;
	float: left;
}
#map-page-flexible-content {
	background: #FFF;
}
body.page-template-coalitionmap #wrapper-footer {
	overflow-y: hidden;
}
#project-map {
	width: 75%;
	float: left;
	position: relative;
	z-index: 99;
}
#project-states-list {
	width: 25%;
	float: right;
	padding: 0;
	background: #428373;
	color: #FFF;
	overflow-y: scroll;
	position: relative;
	z-index: 99;
}
#project-states-list ul,
#project-states-list ul li,
#project-states-list ul li .state-accs-wrapper,
#project-states-list ul li h6,
#project-states-list ul li p {
	width: 100%;
	float: left;
	padding: 0;
	margin: 0;
	list-style: none;
}
#project-states-list ul li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#project-states-list ul li h6 {
	padding: 15px 30px;
	font-size: 16px;
	color: #FFF;
	cursor: pointer;
}
#project-states-list ul li h6:hover {
	background: #000;
	color: #FFF;
}
#project-states-list ul li .state-accs-wrapper {
	padding: 30px;
	background: #f5f4f4;
	display: none;
}
#project-states-list ul li p,
#project-states-list ul li a {
	color: #000;
}
#project-states-list ul li p:before {
	content: "- ";
}

/* COALITIONS PAGE */
body.page-id-453 #project-states-list {
	display: none;
}
body.page-id-453 #project-map {
	width: 100%;
}

.wrapper {
	display: inline-block;
	width: 100%;
}


/* BREAKPOINTS */
@media only screen and (max-device-width: 980px) {
	#search-trigger {
		margin: 15px 0 0 15px;
	}
}
@media only screen and (max-device-width: 800px) {
	#project-map,
	#project-states-list {
		width: 100%;
	}
	#project-states-list {
		height: 400px !important;
	}
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	a.navbar-brand.custom-logo-link {
		float: left;
	}
}
@media only screen and (max-device-width: 480px) {
	#search-form {
		height: 100px;
	}
	#search-form input,
	#search-form button {
		width: 100%;
	}
}