/*
Theme Name: EricsTheme
Author: FortLord-dev
Description: GoogleMapsAPI theme
Version: 0.0.1
Tags: GoogleMapsAPI
*/
html{
  margin:0;
  padding:0;
  width: 100vw;
  height: 100vh;
  overflow-x:hidden;
}
body{
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
}

a {
	color:#0099cc;
}
/*#header {
	background: #90a090;
	border-bottom: double 3px #aba;
	border-left: solid 1px #9a9;
	border-right: solid 1px #565;
	border-top: solid 1px #9a9;
	font: italic normal 130% 'Times New Roman', Times, serif;
	letter-spacing: 0.2em;
	margin: 0;
	padding: 15px 10px 15px 60px;

}*/
#frontpage-cont{
  height: calc(100% - 282px);
}
#infoMasta{
  margin:0;
  padding:0;
}
#over_map {
  border-radius: 15px 50px 30px;
  padding: 0px 10px 40px 10px;
  cursor: pointer;
  position: absolute;
  background: #444444;
  color: #cecece;
  width:300px;
  top: 20%;
  left: 10%;
  z-index: 99;
  display:none;
}
#over_map_exit{
  position:absolute;
  cursor: pointer;
  font-size: 2em;
  font-weight: bold;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

#loc_title, #legend_title{
  /* font-family: serif; */
  margin-top: 10px;
  width: 100%;
  text-align: center;
}
#loc_img{
  margin-left: -10px;
  border-radius: 15px 50px 0px 0px;
}

p#loc_descr {
    padding: 0px 20px;
    /* font-family: open-sans, sans-serif; */
    line-height: 1.2em;
}

#loc_link{
  float: right;
  padding-right:20px;
}

#loc_link:hover{
	color:#99ffff;
}

#maplegend {
	position: absolute;
    top: 20%;
    right: 0;
    width: 240px;
    border-radius: 15px 0px 0px 15px;
    background-color: #444444;
    color: #cccccc;
    padding: 1em 1em 2em 1em;
}

#front-footer {
	min-height: 200px;
    background-color: #444444;
    color: #cccccc;
    padding: 1.4em;
}

#footer-right-widget h2 {
	font-size: 1.2em;
}

img.alignleft {
    float: left!important;
    margin: 0 1em!important;
}

/********************** FOR SINGLE POSTS **************/
#single-post-cont{
  z-index:100;
  padding-left: 20px;
  padding-right: 20px;
  background: #eeeeee;
  border-radius: 15px 50px 30px;
  padding-bottom: 30px;
  margin-bottom: 50px;
}
#single-post-img-cont{
  margin-left: -20px;
  margin-right: -20px;
  /*height: 30vh;*/
  min-height: 300px;
  overflow: hidden;
  margin-top: -20vh;
  border-radius: 15px 50px 0px 0px;
}
#single-post-img-cont h1{
  width: 100%;
  text-shadow: 3px 3px 3px #000000;
  text-align: center;
  color: white;
  padding-top: 20vh;
  position:absolute;
}
#single-post-img-cont img{
  margin-top: -10%;
  margin-bottom: -10%;
}
#single-post-desc{

}

/*****************************************************
            header
*****************************************************/
#masthead .wrap {
    position: relative;
    width: 80%;
    margin: auto;
}

.site-header {
	background-color: #fafafa;
	position: relative;
  height: 82px;
  z-index:1001;
}

/* Site branding */

.site-branding {
	padding: 1em 0;
	position: relative;
	-webkit-transition: margin-bottom 0.2s;
	transition: margin-bottom 0.2s;
  height:82px;
	z-index: 3;
}

.site-branding a {
	text-decoration: none;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.site-branding a:hover,
.site-branding a:focus {
	opacity: 0.7;
}

.site-title {
	clear: none;
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.08em;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.site-title,
.site-title a {
	color: #222;
	opacity: 1; /* Prevent opacity from changing during selective refreshes in the customize preview */
}

body.has-header-image .site-title,
body.has-header-video .site-title,
body.has-header-image .site-title a,
body.has-header-video .site-title a {
	color: #fff;
}

.site-description {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	margin-bottom: 0;
}

body.has-header-image .site-description,
body.has-header-video .site-description {
	color: #fff;
	opacity: 0.8;
}

.custom-logo-link {
	display: inline-block;
	padding-right: 1em;
	vertical-align: middle;
	width: auto;
}

.custom-logo-link img {
	display: inline-block;
	max-height: 50px;
	width: auto;
}

body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
	max-height: 200px;
	max-width: 100%;
}

.custom-logo-link a:hover,
.custom-logo-link a:focus {
	opacity: 0.9;
}

body:not(.title-tagline-hidden) .site-branding-text {
	display: inline-block;
	vertical-align: middle;
}

.custom-header {
	position: relative;
}

.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
	display: table;
	height: 300px;
	height: 75vh;
	width: 100%;
}

.custom-header-media {
	bottom: 0;
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.custom-header-media:before {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+75 */
	background-color: #0099CC;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
	bottom: 0;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 2;
}

.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
	position: fixed;
	height: auto;
	left: 50%;
	max-width: 1000%;
	min-height: 100%;
	min-width: 100%;
	min-width: 100vw; /* vw prevents 1px gap on left that 100% has */
	width: auto;
	top: 50%;
	padding-bottom: 1px; /* Prevent header from extending beyond the footer */
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.wp-custom-header .wp-custom-header-video-button { /* Specificity prevents .color-dark button overrides */
	background-color: rgba(34, 34, 34, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.6);
	color: rgba(255, 255, 255, 0.6);
	height: 45px;
	overflow: hidden;
	padding: 0;
	position: fixed;
	right: 30px;
	top: 30px;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	width: 45px;
}

.wp-custom-header .wp-custom-header-video-button:hover,
.wp-custom-header .wp-custom-header-video-button:focus { /* Specificity prevents .color-dark button overrides */
	border-color: rgba(255, 255, 255, 0.8);
	background-color: rgba(34, 34, 34, 0.8);
	color: #fff;
}

.admin-bar .wp-custom-header-video-button {
	top: 62px;
}

.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
	bottom: 0;
	position: absolute;
	top: auto;
	-ms-transform: translateX(-50%) translateY(0);
	-moz-transform: translateX(-50%) translateY(0);
	-webkit-transform: translateX(-50%) translateY(0);
	transform: translateX(-50%) translateY(0);
}

/* For browsers that support 'object-fit' */
@supports ( object-fit: cover ) {
	.has-header-image .custom-header-media img,
	.has-header-video .custom-header-media video,
	.has-header-video .custom-header-media iframe,
	.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
		height: 100%;
		left: 0;
		-o-object-fit: cover;
		object-fit: cover;
		top: 0;
		-ms-transform: none;
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
		width: 100%;
	}
}

/* Hides div in Customizer preview when header images or videos change. */

body:not(.has-header-image):not(.has-header-video) .custom-header-media {
	/*display: none;*/
}

.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-video.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
	display: table-cell;
	height: 100%;
	vertical-align: bottom;
}


/* SEARCH Page*/
.search-img{
  border-radius: 5px;
}

/*********************** INFO WINDOW *****************************/
.gm-style-iw + div {display: none;}
.gm-style-iw {text-align:center;}



select{
  max-width:100% !important;
  min-width: 150px;
}


/*********************** MEDIA QUERIES *********************************/
@media screen and (max-device-width: 1024px){

		#over_map{
			top: 10%;
			left: 0%;
		}

		#maplegend{
			font-size: .5em;
			top: 10%;
			right: 0px;
			width: 200px;
		}

		#loc_title{
			font-size: 1.2em;
		}

	#front-footer{
		font-size: .6em;
	}

		#legend_title{
			font-size: 1.2em;
		}

		#frontpage-cont {
			height: calc(100% - 222px);
	}

	#front-footer{
		min-height: 140px;
		padding: 1em;

	}
}

@media only screen and (max-device-width: 640px) {
	.site-header{
		height: 105px;
	}

	#mastead .wrap {
		width: 95%;
	}

	.site-branding{
		height: 105px;
		padding: 5px 0;
		line-height: .5em;
	}

	.frontpage-cont{
		height: calc(100% - 105px);
	}

	p {
		font-size: .5em;
		padding
	}

	/* #search-form {
		display:none;
	} */

	.float-right {
		float: none!important;
	}

	#over_map {
	    border-radius: 0;
	    padding: .5em;
	    position: absolute;
	    width: 100%;
	    top: 20%;
	    left: 0;
	    z-index: 99;
}

#loc_img {
	margin-left: 0;
	width: 100%;
	border-radius: 0;
}

	#frontpage-cont{
  		height: calc(100% - 82px);
	}
	#maplegend{
		display: none;
	}
}
