`
/* 
    Created on : 2017-06-05, 09:58:01
    Author     : Jan Skwara
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700|Quicksand:700');

body {
	font-family: 'Open Sans', sans-serif;
	color: #7f7f7f;
	background: #e0e0e0;
}

h1,h2,h3,h4 {
	font-family: 'Quicksand', sans-serif;
	color: #333333;
}

a {
  outline: 0;
  text-decoration: none;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.clearfix:after {
  clear: both;
}

input[type="checkbox"], input[type="radio"] {
    margin: 4px 0 0;
    margin-top: 1px\9;
    line-height: normal;
}

.apoi-section {
    position: relative;
	color: #767373;
	//background: #99999A;
	min-height: 700px;
	height: 100%;
	overflow: hidden;
}

.apoi-filter-container {
	width: 100%;
	height: 100%;
	
	text-align: center;
	/* -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.15); */
	font-size: 0;
}


#apoi-maps-container {
    width: 100%; 
    height: 700px;
	height: 700px;
	height: 100%;
}

.apoi-filter {
	cursor: pointer;
	text-align: center;
	font-size: 12px;
	//background: #fff;
	//color: #767373;
	color:white;
	font-weight: 600;
	display: inline-block;
	height: auto;
	padding: 12px 22px;
}

.apoi-filter:hover {
	//background: #f8f8f8;
	box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.25) inset;
}

.apoi-filter .apoi-map-icon {
	display: block;
	font-size: 28px;
	/* color: #99999a; */
	color: white;
	margin-bottom: 5px;

	/* display: none; */
}

/* @media screen and (min-width: 768px) {
	.apoi-filter {
		padding: 12px 22px 8px 22px;
		height: 70px;
	}
	.apoi-filter .apoi-map-icon {
		display: block;
	}
} */

.apoi-filter.selected {
    background: white;
    color: #C81010;
}

.apoi-filter.selected .apoi-map-icon {
	color: #C81010;
}

#apoi-list {
	position: absolute;
	top: 70px;
	right: 10px;
	height: 305px;
	background: #f2f2f2;
	width: 380px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	z-index: 2;
	overflow-x: hidden;
}

#apoi-details-container {
	position: absolute;
	top: 455px;
	right: 10px;
	height: 305px;
	background: #f2f2f2;
	width: 380px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	z-index: 2;
	overflow-x: hidden;
}


.apoi-rank-full {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url('../icons/star-full.png');
}

.apoi-rank-half {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url('../icons/star-half.png');
}

.apoi-rank-empty {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url('../icons/star-empty.png');
}

.apoi-rank-full2 {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url('../icons/star-full-white.png');
}

.apoi-rank-half2 {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url('../icons/star-half-white.png');
}

.apoi-rank-empty2 {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url('../icons/star-empty-white.png');
}

.apoi-short-details,
.apoi-short-details-json {
	clear: both;
	height: 95px;
	padding: 10px 0 0 10px;
	cursor: pointer;
	margin-bottom: 10px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
	background: #fff;
}

.apoi-short-details h4,
.apoi-short-details-json h4 {
	font-size: 14px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0;
}

.apoi-short-details address,
.apoi-short-details-json address {
	font-size: 12px;
	color: #99999a;
	margin-top: 5px;
	margin-bottom: 0px;
	font-style: normal;
}

.apoi-short-left {
    float: left;
    width: 200px;
	position: relative;
	height: 100%;
	padding-right: 10px;
}

.apoi-details-photo {
	float: right;
	display: block;
	width: 95px;
	height: 95px;
	margin-top:-10px;
	position: relative;
	overflow: hidden;
}

.apoi-short-details img,
.apoi-short-details-json img {
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	-ms-transform: translate(-50%,-50%); /* IE 9 */
    -webkit-transform: translate(-50%,-50%); /* Safari */
    transform: translate(-50%,-50%);
}


.apoi-rank {	
	position: absolute;
    right: 10px;
	bottom: 6px;
}

.apoi-place-image {
	height: 195px;
	position: relative;	
	overflow: hidden;
}

.apoi-place-image:empty {
	height: 88px;
	background: #000;
	margin-bottom: 2px;
}

.apoi-place-image img {
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%); /* IE 9 */
    -webkit-transform: translateY(-50%); /* Safari */
    transform: translateY(-50%);
	width: 100%;
}

.list-hide {
	width: 30px;
	height: 30px;
	font-size: 24px;
	background: #f2f2f2;
	cursor: pointer;
	text-align: center;
	color: #595959;
	padding-right: 2px;
}

.list-hide span:before {
	-ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
	display: inline-block;
}

.details-hide {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 30px;
	height: 30px;
	font-size: 24px;
	background: rgba(255,255,255,1);
	cursor: pointer;
	text-align:center;
	color: #595959;
}

.details-hide span:before {
	-ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
	display: inline-block;
}

.apoi-place-name {
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 10px 3px 10px;
	position: relative;
	margin-top: -60px;
	height: 60px;
	display: table;
}

.apoi-place-name h4 {
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	margin: 0;
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	min-width: 360px;
	padding-right: 60px;
}

.apoi-place-name > span {
	margin-bottom: 5px;
	display: block;
}

.apoi-place-name #apoi-route-link {
	position: absolute;
	display: block;
	right: 10px;
	top: 50%;
	-ms-transform: translateY(-50%); /* IE 9 */
    -webkit-transform: translateY(-50%); /* Safari */
    transform: translateY(-50%);
	border-radius: 50%;
	background: #fff;
	width: 33px;
	height: 33px;
	padding-right: 4px;
	padding-top: 1px;
	text-align: center;
}

#apoi-route-link .apoi-map-icon {
	color: #1091dd;
	font-size: 24px;
	color: #1091dd;
	line-height: 33px;
}

#apoi-route-link:hover,
#apoi-route-link:active,
#apoi-route-link:visited {
	text-decoration: none;
}

.apoi-place-address,
.apoi-place-phone,
.apoi-place-web {
	border-bottom: 1px solid #e1e1e1;
	padding: 15px 10px 15px 0;
	font-size: 12px;
	color: #706e6e;
	font-weight: bold;
	background: #fff;
}	

.apoi-place-address:empty,
.apoi-place-phone:empty,
.apoi-place-web:empty { 
	display: none;
}

.apoi-place-address:not(:empty)::before,
.apoi-place-phone:not(:empty)::before,
.apoi-place-web:not(:empty)::before {
	padding: 0 10px 0 15px;
	color: #1091dd;
	font-size: 18px;
	font-family: 'map-icons';
	position: relative;
	top: 2px;
}

.apoi-place-address:not(:empty)::before {
    content: "\e877";
}

.apoi-place-phone:not(:empty)::before {
    content: "\e8a4";
}

.apoi-place-web:not(:empty)::before {
    content: "\e833";
}

.apoi-place-web a,
.apoi-place-phone a {
	color: #706e6e;
}

.apoi-place-photos  {
	column-count: 2;
    column-gap: 1px;
	margin-left: 10px;
	margin-top: 5px;
}

.apoi-place-photos img {
	width: 95%;
	margin-top: 5px;
}

.apoi-review {
    padding: 15px;
    font-size: 12px;
    color: #848484;
}

.apoi-review:nth-child(odd) {
	background: #fff;
}

.apoi-review h4 {
    color: #494949;
    font-size: 14px;
    font-weight: bold;
	margin: 0;

}

.apoi-review > span {
    margin-bottom: 7px;
	display: block;
}

.apoi-review-date {
	padding-left: 10px;
	color: #9d9d9d;
}

#apoi-route {
    margin: 20px 10px;
    font-size: 13px;
	background: #fff !important;
}

.adp-placemark {
    background: #fff;
	padding: 5px;
}

.apoi-autocomplete-container {
	position: absolute;
	top: 10px;
	right: 10px;
	height: 50px;
	background: #f2f2f2;
	width: 380px;
	overflow-y: auto;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	z-index: 2;
}


#apoi-autocomplete {
	width: 325px;
	height: 40px;
	margin: 5px;
	padding-left: 10px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
	border: none;
}

#apoi-geolocation {
	width: 40px;
	height: 40px;
	margin-right: 5px;
	margin-top: 5px;
	float: right;
	background: #1091dd;
	color: #fff;	
	text-align: center;
	line-height: 40px;
	font-size: 18px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
}

#apoi-geolocation:hover {
	text-decoration: none;
}

#apoi-switch-street {
	position: absolute;
	top: 715px;
	left: 10px;
	height: 45px;
	width: 45px;
	background: #fff;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	text-align: center;
	line-height: 45px;
	font-size: 24px;
	color: #99999a;
	line-height: 45px;
	z-index: 2;
}

#apoi-switch-map {
	position: absolute;
	top: 715px;
	left: 10px;
	height: 45px;
	width: 45px;
	background: #fff;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	text-align: center;
	line-height: 50px;
	font-size: 24px;
	z-index: 10000;
	color: #99999a;
	line-height: 45px;
}


#apoi-switch-street:hover,
#apoi-switch-map:hover {
	text-decoration: none;
}

.apoi-transport-modes {
	position: absolute;
	top: 715px;
	left: 65px;
	max-height: 45px;
	background: #fff;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	z-index: 2;
}

.apoi-transport-modes input {
    opacity: 0;
	width: 15px;
}

.apoi-transport-modes label {
    height: 45px;
    line-height: 45px;
    text-align: center;
    width: 45px;
	margin-left: -15px;
	font-size: 18px;
	color: #99999a;
}

.apoi-transport-modes input[type="radio"]:checked:not(old) + label {
	background: #1091dd;
    color: #fff;
}

#apoi-route-time {
	position: absolute;
	top: 680px;
	left: 65px;
	height: 25px;
	background: #fff;
	font-size: 12px;
	line-height: 25px;
	padding: 0 7px 0 7px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
	z-index: 2;
}

.apoi-short-details {
	display: block;
}

.clearfix {
    clear: both;
}

.infobox-photo {
    float: none;
    width: 100%;
	min-height: 0;
	max-height: 150px;
	overflow: hidden;
	max-width: 270px;
}

.infobox-photo img {
	width: 270px;
}

.gm-style div > div:last-child > div > div:first-child > div:nth-child(2) {
	box-shadow: none !important;
}

.gm-style div > div:last-child > div > div:first-child > div {
    background: transparent !important;
	border: none;
	box-shadow: none;
}

.gm-style div > div:last-child > div > div:first-child > div:nth-child(3) > div div {
    background-color: transparent !important;
	box-shadow: none !important;
}

.gm-style div > div:last-child > div > div:first-child > div:first-child {
    background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}
.gm-style img {
    border-radius: 5px 5px 0 0 !important;
}

.gm-style-iw {
   width: 270px !important;
   top: 20px !important;
   left: 25px !important;
   background-color: #fff;
   box-shadow: 0 1px 6px rgba(178, 178, 178, 0.6);
   border-radius: 5px;
}

.gm-style-iw + div {
	right: 35px !important;
	top: 27px !important;
}

.gm-style .gm-style-iw {
	overflow: visible;
}

.infobox-text {
    float: none;
    padding: 10px;
	background-color: #fff;
	margin-top: -3px;
	border-radius: 0 0 5px 5px;
	width: 270px;
}

.infobox-text h4 {
	margin: 5px;
	font-size: 16px;
}

.infobox-text address {
	font-style: normal;
	margin: 15px 5px 5px 5px;
}

.infobox-text:after {
	display: block;
	content: " ";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 10px 0 10px;
	border-color: #ffffff transparent transparent transparent;
	position: absolute;
	bottom: -7px;
	left: 125px;
}

#apoi-switch-map {
    display: none;
}

.apoi-street-view {
    left: -100%;
    z-index: 10;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition:    all .5s ease-in-out;
    -ms-transition:     all .5s ease-in-out;
    -o-transition:      all .5s ease-in-out;
    transition:         all .5s ease-in-out;
}

.apoi-place-street-view {
    width: 100%;
    height: 200px;
	margin: 10px 0 10px 0;

}
      

@media only screen and (max-width: 767px) {
    .apoi-container {
        width: 100%; 
        height: auto;
    }

    #apoi-maps-container {
        width: 100%; 
    }
	
	#apoi-list {
		display: none !important;
		position: relative;
		width: 100%;
		top: 0;
		left: 0;
		right: 0;
	}
	
	#apoi-details-container {
		position: relative;
		width: 100%;
		margin-top: -305px;
		z-index: 2000;
		background: #fff;
		top: 0;
		left: 0;
		right: 0;
	}

	.apoi-autocomplete-container {
		position: static;
		width: calc(100% - 10px);
		margin: 5px;
	}
	
	#apoi-autocomplete {
		width: calc(100% - 55px);
	}
	
	#apoi-switch-street,
	#apoi-switch-map {
		position: static;
		float: left;
		margin-bottom: 5px;
		margin-left: 5px;
	}
	
	#apoi-switch-street {
		display: block;
	}
	
	.apoi-transport-modes {
		position: static;
		float: right;
		margin-right: 5px;
	}
	
	#apoi-route-time {
		position: static;
		float: right;
		height: 45px;
		line-height: 45px;
		margin-right: 5px;
		margin-bottom: 5px;
	}
		
}