@media screen and (orientation: portrait){
body{
	font: 12px Arial, Helvetica, sans-serif;
	background: url(../img/bg.jpg) 50% 50% fixed;
	background-position-x: 50%;
	background-position-y: 50%;
	background-size: initial;
	background-repeat-x: initial;
	background-repeat-y: initial;
	background-attachment: fixed;
	background-origin: initial;
	/* [disabled]background-clip: initial; */
	/* [disabled]background-color: #333; */
	margin: 0px;
	padding: 0px;
	overflow-x: hidden;
	/*overflow:hidden; */
}

form{
	margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

#filter_div{
	width: calc(100% - 40px);
	background-color:white;
	margin:20px;
	display:block;
	clear: both;
	padding: 15px;
    box-sizing: border-box;
	border-radius:4px;
}

img{
	border-radius: 6px;
}

input[type="text"],input[type="submit"],input[type="number"],select,textarea {
	background-color: #fff;
	font-family: Roboto;
	font-size: 15px;
	font-weight: 300;
	margin-left: 5px;
	margin-right: 5px;
	padding: 0 11px 0 13px;
	text-overflow: ellipsis;
	height: 30px;
	font: 12px Arial, Helvetica, sans-serif;
}

#content {
    margin-top: 50px;
}

#googleMap{
	width:97%;
	height:70%;
	max-height:590px;
	float:left;
	margin:10px;
	margin-top:0px;
	margin-bottom:0px;
}

#position_link, #clean_link{
	cursor: pointer;
}

#close2 {
	position: absolute;
    top: 140px;
    margin-left: 92%;
    cursor: pointer;
}

#count{
	text-align: center;
}

.mapInfo {
	visibility: visible;
	background-color: white;
	margin: 0 auto;
	border-radius:3px;
	padding:20px 5px 20px 5px;
}

div .mapInfo {
	padding: 8px;
	margin: 10px;
	height: 100%;
	max-height: 220px;
	border-width: inherit;
    border-bottom-style: inset;
	font: 12px Arial, Helvetica, sans-serif;
}

div .mapInfo:hover {
	background-color:#e5e5e5;
	padding: 8px;
	margin: 10px;
	height: 100%;
	max-height: 220px;
	border-width: inherit;
    border-bottom-style: inset;
	font: 12px Arial, Helvetica, sans-serif;
}

div #font_div{
	padding-left: 3px;
	width:100%;
}

.contact2{
	display:block;
}

#nav {
	display:none;
}

#nav2 {
	display:block;
	overflow:auto;
    width: 100%;
    padding: 5px 0px 5px 0px;
    z-index: 1000;
    top: 0;
	background-color:white;
	border-bottom: 1px solid #e5e5e5;
	border-radius:4px;
	text-align:center;
}

#ganContact{
	display: none;
}

#noOne{
	display: none;
}

#comp_div{
	height:100%
	max-height:350px;
	padding-bottom:10px;
}

#intro_css{
	width:100%;
	max-width:900px;
	height:100%;
	max-height:300px;
}

table {
	font: 12px Arial, Helvetica, sans-serif;
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: grey;
}

.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:100;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 15px;
  background: #fff;
  border-radius: 5px;
  width: 67%;
  height: 55%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 15px;
  right: 25px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 100%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}

#location{
	margin-top:9px;
}

.location,.close-icon {
	position: relative;
	padding: 10px;
}

.close-icon {
	border:1px solid transparent;
	background-color: transparent;
	display: inline-block;
	vertical-align: middle;
  outline: 0;
  cursor: pointer;
}
.close-icon:after {
	content: "X";
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	background-color: #FA9595;
	z-index:1;
	right: 35px;
	top: 0;
	bottom: 0;
	margin: auto;
	margin-top:10px;
	padding: 2px;
	border-radius: 50%;
	text-align: center;
	color: white;
	font-weight: normal;
	font-size: 12px;
	box-shadow: 0 0 2px #E50F0F;
	cursor: pointer;
}

.search {
  position: relative;

  color: #AAA;
  font-size: 16px;
	display:inline-block;
	width:55%;
}

.search input {
  width: 100%;
  height: 32px;

  background: #fcfcfc;
  border: 1px solid #AAA;
  border-radius: 5px;
  box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;
}

.search input { text-indent: 32px;}

#times-circle {
  position: absolute;
  top: 17px;
  right: 10px;
	cursor:pointer;
	border:none;
	padding:0px;
	background:none;
	color: #333;
}

#times-circle2 {
  position: absolute;
  top: 15px;
  right: 43px;
	cursor:pointer;
	border:none;
	padding:0px;
	background:none;
	color: #333;
}

} /* end portrait width 479px */

@media screen and (orientation: landscape){
body{
	font: 12px Arial, Helvetica, sans-serif;
	background: url(../img/bg.jpg) 50% 50% fixed;
	background-position-x: 50%;
	background-position-y: 50%;
	background-size: initial;
	background-repeat-x: initial;
	background-repeat-y: initial;
	background-attachment: fixed;
	background-origin: initial;
	margin: 0px;
	padding: 0px;
	overflow-x: hidden;
	/*overflow:hidden; */
}

form{
	margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

#googleMap_device{
	height:calc(100% - 81px)!important;
}

#content_device3{
	height:calc(100% - 93px)!important;
}

#filter_div{
	width: calc(100% - 40px);
	background-color:white;
	margin:20px;
	display:block;
	clear: both;
	padding: 15px;
    box-sizing: border-box;
	border-radius:4px;
}

img{
	border-radius: 6px;
}

#position_link, #clean_link{
	cursor: pointer;
}

#close2 {
	position: absolute;
    top: 85px;
    margin-left: 95%;
    cursor: pointer;
}

input[type="text"],input[type="submit"],input[type="number"],select,textarea {
	background-color: #fff;
	font-family: Roboto;
	font-size: 15px;
	font-weight: 300;
	margin-left: 5px;
	margin-right: 5px;
	padding: 0 11px 0 13px;
	text-overflow: ellipsis;
	height: 30px;
	font: 12px Arial, Helvetica, sans-serif;
}

div .mapInfo {
	background-color: white;
	padding: 8px;
	margin: 10px;
	height: 100%;
	max-height: 133px;
	border-width: inherit;
	border-radius:3px;
}

.c-padding{
	padding-left: 190px;
}

div .mapInfo:hover {
	background-color:#e5e5e5;
	padding: 8px;
	margin: 10px;
	height: 100%;
	max-height: 133px;
	border-width: inherit;
	border-radius:3px;
}

#content {
    margin-top: 50px;
}

div #font_div{
	float:left;
	padding-left: 3px;
	width: calc(100% - 200px);
    max-width: 450px;
}

.contact2{
	display:inline-block;
}

@media screen and (min-width: 434px){
	#nav {
		width: 100%;
		height: 30px;
		padding: 5px 0px 5px 0px;
		z-index: 1000;
		top: 0;
		background-color: white;
		border-bottom: 1px solid #e5e5e5;
	}
}

@media screen and (max-width: 433px){
	#nav {
		width: 100%;
		height: 47px;
		padding: 5px 0px 5px 0px;
		z-index: 1000;
		top: 0;
		background-color: white;
		border-bottom: 1px solid #e5e5e5;
	}
}

#nav2 {
	display:none;
}

#ganContact{
	display: none;
}

#noOne{
	display: none;
}

#comp_div{
	/*height:100%;
	max-height:200px;*/
	margin-left:20px;
	margin-right:20px;
}

#img_div{
	width:100%;
	max-width:170px;
	height:100%;
	max-height:170px;
	float:left;
	padding:5 0 200 0;
	margin-left:5px;
	box-sizing:border-box;
}

#content_div{
	width:100%;
	max-width:250px;
	height:100%;
	max-height:170px;
	float:left;
	padding: 5px;
    margin-top: 5px;
}

#intro_css{
	width:100%;
	max-width:900px;
	height:100%;
	max-height:300px;
}

table {
	font: 12px Arial, Helvetica, sans-serif;
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: grey;
}

.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:100;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 15px;
  background: #fff;
  border-radius: 5px;
  width: 50%;
  height: 55%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 15px;
  right: 25px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 100%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}

#location{
	margin-top:9px;
}

.location,.close-icon {
	position: relative;
	padding: 10px;
}

.close-icon {
	border:1px solid transparent;
	background-color: transparent;
	display: inline-block;
	vertical-align: middle;
  outline: 0;
  cursor: pointer;
}
.close-icon:after {
	content: "X";
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	background-color: #FA9595;
	z-index:1;
	right: 35px;
	top: 0;
	bottom: 0;
	margin: auto;
	margin-top:10px;
	padding: 2px;
	border-radius: 50%;
	text-align: center;
	color: white;
	font-weight: normal;
	font-size: 12px;
	box-shadow: 0 0 2px #E50F0F;
	cursor: pointer;
}

.search {
  position: relative;

  color: #AAA;
  font-size: 16px;
	display:inline-block;
	width:55%;
}

.search input {
  width: 100%;
  height: 32px;

  background: #fcfcfc;
  border: 1px solid #AAA;
  border-radius: 5px;
  box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;
}

.search input { text-indent: 32px;}

#times-circle {
  position: absolute;
  top: 17px;
  right: 10px;
	cursor:pointer;
	border:none;
	padding:0px;
	background:none;
	color: #333;
}

#times-circle2 {
  position: absolute;
  top: 6px;
  right: 43px;
	cursor:pointer;
	border:none;
	padding:0px;
	background:none;
	color: #333;
}
} /* end landscape*/

/*.back_to_top{
	width:calc(100% - 4px);
	height:20px;
	border: 1px solid black;
    padding: 1px;
	background:-webkit-linear-gradient(top, rgb(41, 136, 229) 0%, rgb(30, 87, 153) 100%);
	text-align:center;
	display:none;
	position:fixed;
	bottom:0;
}*/

.back_to_top {
    position: fixed;
    bottom: 30px;
    right: 15px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 28px;
    display: block;
    text-decoration: none;
    /*-webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;*/
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.back_to_top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 0px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#back_to_top:before {
  border-bottom: 25px solid rgba(0, 0, 0, 0.7);
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  top: -25px;
  width: 0;
}
/*.back_to_top:hover {
    background: rgba(0, 0, 0, 0.9);
}
.back_to_top:hover i {
    color: #fff;
    top: 5px;
}*/


.footer{
	width:calc(100% - 4px);
	height:20px;
	border: 1px solid black;
    padding: 1px;
	background:-webkit-linear-gradient(top, rgb(41, 136, 229) 0%, rgb(30, 87, 153) 100%);
	text-align:left;
	position:relative;
}

.footer2{
	width:calc(100% - 4px);
	height:20px;
	border: 1px solid black;
    padding: 1px;
	background:-webkit-linear-gradient(top, rgb(41, 136, 229) 0%, rgb(30, 87, 153) 100%);
	text-align:center;
	display:none;
	position:absolute;
	bottom:0;
}

.search_device {
  position: relative;

  color: #AAA;
  font-size: 16px;
	display:inline-block;
	width:100%;
	margin-top: 12px;
	margin-bottom: 15px;
}

.search_device input {
  width: 100%;
  height: 32px;

  background: #fcfcfc;
  border: 1px solid #AAA;
  border-radius: 5px;
  box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;
}

.search_device input { text-indent: 10px;}

.disable-scrolling {
    /*overflow: hidden !important;*/
    overflow-x: hidden !important;
}


@media screen and (min-width: 350px){
	.menu2{
	margin: 0 auto;
	}
	
	.menu2 div{
		border:1px solid black;
		padding:3px 4px 4px 4px;
		height:26px;
		width: calc((100% / 3) - 10px);
		margin-left:0px;
		margin-right: -3.1px;
		color:white;
		display:inline-block;
		cursor: pointer;
		/*background: -webkit-linear-gradient(top, #2989d8 0%,#1e5799 100%);*/
	}
	
	.menu2 font{
		color:white;
		font-size:14pt;
	}
	
	.menu2-down{
		position: fixed;
		width: 100%;
		top: 0;
	}
	
	.menu2-down div{
		border:1px solid black;
		padding:4px;
		height:30px;
		width: calc((100% / 3) - 10px);
		margin-left:0px;
		margin-right: -3.1px;
		color:white;
		display:inline-block;
		cursor: pointer;
		/*background: -webkit-linear-gradient(top, #2989d8 0%,#1e5799 100%);*/
	}
	
	.menu2-down font{
		color:white;
		font-size:14pt;
	}
}
@media screen and (max-width: 349.9px){
	.menu2{
	margin: 0 auto;
	}
	
	.menu2 div{
		border:1px solid black;
		padding:4px;
		height:42px;
		width: calc((100% / 3) - 10px);
		margin-left:0px;
		margin-right: -3.1px;
		color:white;
		display:inline-block;
		cursor: pointer;
		/*background: -webkit-linear-gradient(top, #2989d8 0%,#1e5799 100%);*/
	}
	
	.menu2 font{
		color:white;
		font-size:14pt;
		display:block;
	}
	
	.menu2-down{
		position: fixed;
		width: 100%;
		top: 0;
	}
	
	.menu2-down div{
		border:1px solid black;
		padding:4px;
		height:45px;
		width: calc((100% / 3) - 9px);
		margin-left:0px;
		margin-right: -4px;
		color:white;
		display:inline-block;
		cursor: pointer;
		/*background: -webkit-linear-gradient(top, #2989d8 0%,#1e5799 100%);*/
	}
	
	.menu2-down font{
		color:white;
		font-size:14pt;
		display:block;
	}
}

#search_i{
	background: -webkit-linear-gradient(top, #2F69AF 0%,#122E4F 100%);
	background: -moz-linear-gradient(top, #2F69AF 0%,#122E4F 100%);
}

#map_i{
	background: -webkit-linear-gradient(top, #2988E5 0%,#1e5799 100%);
	background: -moz-linear-gradient(top, #2F69AF 0%,#122E4F 100%);
}

#list_i{
	background: -webkit-linear-gradient(top, #2988E5 0%,#1e5799 100%);
	background: -moz-linear-gradient(top, #2F69AF 0%,#122E4F 100%);
}

/*.gmnoprint a, .gmnoprint span {
    display:none;
}
.gmnoprint div {
    background:none !important;
}*/