:root{
	--primary1: #4cc13b;
	--primary: #6ebe50;
	--white: #ffffff;
	--font: 'Open Sans', sans-serif;
}

/* Always set the map height explicitly to define the size of the div * element that contains the map. */
#map {
	height: 100%;
}
/* Optional: Makes the sample page fill the window. */
*{
	margin: 0;
	padding: 0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: var(--font);
	font-weight:300;
	font-size:12px;
}
a{
	text-decoration:none;
	color:inherit;
}
.hidden{display:none!important;visibility:hidden}
.clearfix:before,.clearfix:after{content:"";display:table}
.clearfix:after{clear:both}
.clearfix{*zoom:1}
.container{
	width:100%;
	margin:0 auto;
	display:block;
}

/* Header */
header{
	background:#f5f5f5;
	margin:0;
	padding:10px;
	position: relative;
	padding-bottom: 5px;
}
.logo{margin:0;width: fit-content;width: -webkit-fit-content;}
.logo a{display: block;}
.logo img{height:50px;}
.plus_btn{
	position: absolute;
    top: 0;
    right: 15px;
	bottom: 0;
	cursor: pointer;
    margin: auto;
    height: 30px;
    padding: 0 10px;
    background: var(--white);
    border: solid 1px var(--primary);
	color: var(--white);
	background: var(--primary);
	border-radius: 4px;
	-webkit-transition:all .3s ease-out;
	-moz-transition:all .3s ease-out;
	-o-transition:all .3s ease-out;
	transition:all .3s ease-out
}
.plus_btn:hover{
	background: var(--white);
	color: var(--primary);
}

#seacareplus .close{
	position: absolute;
    top: 6px;
    right: 0;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 25px;
	color: #999;
	z-index: 2;
	-webkit-transition:all .3s ease-out;
	-moz-transition:all .3s ease-out;
	-o-transition:all .3s ease-out;
	transition:all .3s ease-out
}
#seacareplus{
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	height:100%;
	background: rgba(0,0,0,0.3);
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
}
#seacareplus.active{
	opacity: 1;
	visibility: visible;
}
#seacareplus > div{
	background: var(--white);
	position: relative;
	overflow: auto;
    height: 90%;
    max-height: 650px;
}
#seacareplus > div h2{
	padding:10px;
	text-align: center;
	color: var(--primary);
	background: #f1f1f1;
	position: sticky;
    position: -webkit-sticky;
    top: 0;
}
#seacareplus .infoWindow{
	margin:20px;
}

/* Main Section */
.flex-container{
	display: flex;
	flex-direction: row-reverse;
}
.mapSection{
	width:75%;
}
.sidebar{
	width:25%;
}
#map{
	width:100%;
	height:100%;
	height:calc(100vh - 109px);
}


.sidebar fieldset{
	border:none;
	margin:0;
	background:#f1f1f1;
	padding:15px;
    height: 122px;
}

fieldset input,fieldset select{
    border-radius: 4px;
    border: solid 1px #c1c1c1;
    padding: 0 5px;
    margin: 5px 0;
    width: 100%;
    padding-right: 30px;
    border: solid 1px var(--primary);
    height: 30px;
    line-height: 30px;
}
.sidebar fieldset .cta{
	text-align:center;
	background: var(--primary);
    color: var(--white);
    padding:0 5px;
    border: solid 1px var(--primary);
	outline:none;
	-webkit-transition:all .3s ease-out;
	-moz-transition:all .3s ease-out;
	-o-transition:all .3s ease-out;
	transition:all .3s ease-out
}
.sidebar fieldset .cta:hover{	
	background: var(--white);
    color: var(--primary);
}

#locationSelect{
	display: none;
}

.infoWindow{
	width:100%;
	max-width:300px;
}
.infoWindow h1{
	margin:0;
	font-size:16px;
	margin-bottom: 10px;
}
.infoWindow.prime1 h1:after{
    content: 'PRIME';
    background: var(--white);
    color: var(--primary);
    padding: 2px 5px;
    border-radius: 5px;
    margin-left: 10px;
    font-size: 12px;
    font-weight: 300;
    border: solid 1px var(--primary);
}
.infoWindow p{
	margin:0;
	line-height:1.4;
}
.infoWindow a{
    display: inline-block;
    color: var(--white);
    background: var(--primary);
    padding: 2px 5px;
    border-radius: 4px;
    margin-top: 10px;
    border: solid 1px var(--primary);
}
.infoWindow a:hover{
	background: var(--white);
    color: var(--primary);
}
div#centeres {
    height: calc(100vh - 231px);
    overflow: auto;
}
#centeres .infoWindow{
	padding:15px;
	border-bottom:solid 1px #c1c1c1;
	max-width: 100%;
}
#centeres .infoWindow:last-child{
	border-bottom: none;
}
#centeres::-webkit-scrollbar {
    width: 5px;
}
#centeres::-webkit-scrollbar-track {
	border-radius:4px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
#centeres::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  outline: 1px solid var(--primary);
}
#centeres > .note{
	padding:15px;
	display: block;
}

footer{
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	background: #f5f5f5;
	text-align: center;
}
footer li{
	display:inline-block;
	padding:10px;
}


.gm-style .gm-style-iw-c .gm-ui-hover-effect{
	top:0 !important;
	right:0 !important;
}


@media only screen and (max-width: 650px) {
	header{padding:5px;padding-bottom: 0;}
	.logo img{height:30px}

	.flex-container{
		flex-direction: column-reverse;
	}

	.sidebar fieldset{
		position: relative;
		height: auto;
		border-top: solid 1px var(--primary);
	}

	div#centeres{height:400px}
	#map{
		height:400px;
		border-top: solid 1px var(--primary);
		border-bottom: solid 1px var(--primary);
	}

	/*
	
	.sidebar fieldset{border-top: solid 1px var(--primary);position:absolute;top:40px;left:0;width:100%;z-index:100;background: #f5f5f5;}
	*/

	.sidebar fieldset input, .sidebar fieldset select{display:inline-block;width:auto;}
	.mapSection,.sidebar{float:none;width:100%;}
	footer{position:relative;}
	
}