/*Tripline Player CSS*/

/* embedded map player */
* {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.map-iframe {
	font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
	font-size:14px;
	color: #50514f;
	-webkit-font-smoothing: antialiased;
    letter-spacing: .1px;
}

.map-iframe a {
	color:#fff;
}

.map-container a.mapboxgl-ctrl-logo,
.map-iframe a.mapboxgl-ctrl-logo {
	width:70px;
	opacity: 0.7;
}

.map-iframe a.offsite {
	color:#1c91c4;
}

.map-iframe a.offsite:active, .map-iframe a.offsite:focus {
	color:#1c91c4;
	text-decoration: none;
}

.map-iframe a.offsite:hover {
	text-decoration:none;
	color: #1982B0;
}

.map-iframe .player-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	text-align:left;
}

/*container*/
.player {
	position: relative;
	width: 100%;
	height:100%;
	background: #EEE url('/media/image/loading-big.gif') no-repeat center center;
	overflow:hidden;
}
.player .map-container {
	position: relative;
	width:100%;
	height:100%;
}

/*controls*/
.player .map-control.overmap {
	position:absolute;
	z-index:2;
	color:#fff;
	font-size:70px;
	text-shadow: 1px 1px #777;
}
.player .map-control.overmap.mid-left {
	top:calc(50% - 70px);
	left:10px;
}
.player .map-control.overmap.mid-right {
	top: calc(50% - 70px);
	right:10px;
}
.map-iframe .player .map-control.overmap.mid-left {
	top:calc(55% - 70px);
	left:10px;
}
.map-iframe .player .map-control.overmap.mid-right {
	top: calc(55% - 70px);
	right:10px;
}
.player .map-control.overmap.bottom-right {
	font-size:28px;
	bottom:-5px;
	right:10px;
}

.player .map-control-bar {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	height:29px;
	background:rgba(0,0,0,0.6);
	z-index: 3;
}

.player .map-control-bar .map-logo {
	float: left;
	height: 100%;
	margin: 0px 6px 0px 0px;
	padding: 0px 10px 0 7px;
	border-right: 1px solid #50514F;
	width: 78px;
}

.player .map-control-bar .map-logo img {
	margin:5px 0 0 7px;
	width: 50px;
}

.player .map-control-bar .map-title {
	float: none;
	width:auto;
	overflow:hidden;
	padding:5px 0 0 0;
}

.player .map-control-bar .map-title a {
	color: #fafafa;
	font-size: 14px;
	font-weight: bold;;
	text-decoration:none;
	white-space:nowrap;
}

.player .map-control-bar .map-title a:hover {
	color:#fff;
	text-decoration:none;
}

.player .map-control-bar .map-controls {
	float: right;
	margin: 3px 10px 0px 10px;
	font-size: 150%;
}

.player .trip-page-controls {
	position: absolute;
	left:50%;
	margin: 0 0 0 -65px;  
	bottom:-1px; 
	padding:5px 5px 5px 5px; 
	border:1px solid #c8c8c8;
	border-bottom:0;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
    -webkit-border-top-left-radius:3px;
    -webkit-border-top-right-radius:3px;
    behavior:url(border-radius.htc);
    background:#fafafa;
}

.player .trip-page-controls a.map-control {
	color:#777;
}

.player .trip-page-controls a.map-control:hover {
	color:#50514F;
}

/*infobox*/

.player .infoBox {
	padding:5px;
	background-color:#fafafa;
	border:1px solid #c8c8c8;
	-moz-border-radius:3px;
    -webkit-border-radius:3px;
    behavior:url(border-radius.htc);
	box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	-moz-box-shadow: 0 1px 2px rgba(34,25,25,0.4);
	-webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
}

.player .infoBox i.fa-caret-down {
	position:absolute;
	line-height:0;
	bottom:-5px;
    left:134px;
    font-size: 50px;
    color: #fafafa;
    text-shadow: 3px 5px 3px rgba(0, 0, 0, 0.3);
}

.player .wp-infoWindow .place-container {width:300px;padding:2px;}
.player .wp-infoWindow .icon {position:absolute;display:none;}
.player .wp-infoWindow .place-details {width: 290px;}
.player .wp-infoWindow .title {color:#50514F; font-weight:bold; font-size:110%; line-height:1.2em;margin-bottom:2px;}
.player .wp-infoWindow .address {color:#686868;font-size:77%;}
.player .wp-infoWindow .description {line-height:14px;}
.player .wp-infoWindow .place-photos {padding:5px 0px;}
.player .wp-infoWindow .place-photos .photo {float:left;margin-right:5px;}
.player .wp-infoWindow .phone {color:#686868;font-size:77%;}
.player .wp-infoWindow .place-links {clear:both;font-size:86%;padding-top:5px}
.player .wp-infoWindow .place-actions {padding-top:8px;}
.player .wp-infoWindow .place-actions td {padding:0px 4px 4px 0px;}

.player .line-infoWindow .info-container {width:80px;padding:2px;}
.player .line-infoWindow .info-header {width: auto;}
.player .line-infoWindow .info-header .title {color:#50514F; font-weight:bold; font-size:110%;margin-bottom:5px;}
.player .line-infoWindow .info-details .primary {color:#50514F;margin-bottom:2px;}
.player .line-infoWindow .info-details .secondary {color:#686868; font-size:86%;}

/*mapbox markers*/
.mapbox-wp-marker {
	height:18px;
	width:18px;
	font-size: 10px;
	font-weight: bold;
	line-height: 18px;
	color: #FFFFFF;
	text-align: center;
	background-color: #FC0000;
	border-radius: 100%;
	box-shadow: 1px 1px #888888;
	cursor: pointer;
}
.mapbox-wp-marker.small {
	height:8px;
	width:8px;
	font-size: 0px;
	line-height: 0;
}

/*mapboxjs popups*/
.leaflet-popup-content-wrapper {
    background: #fafafa;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    width: 260px;
}
.leaflet-popup-content-wrapper .title {
	font-weight: bold;
}
.leaflet-popup-content-wrapper .description {
	line-height: 14px;
    font-size: 11px;
    margin-bottom:3px;
}
.leaflet-popup-content-wrapper .assets {
	margin: 5px 0;
}
.leaflet-popup-content-wrapper .asset img {
	width: 45px;
}
.leaflet-container .leaflet-control-attribution {
	background: rgba(255,255,255,0.15 ) !important;
}
.leaflet-control-attribution:after {
	opacity: .35;
}
.leaflet-control-attribution:hover:after {
	opacity: 0;
}
.leaflet-container .leaflet-control-attribution a {
	color: #666 !important;
	font-weight:normal !important;
	font-size: 10px !important;
}

/*mapboxgl popups TODO: style*/
.player .mapboxgl-popup-content {
    position: relative;
    background: #fafafa;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 5px 10px 10px;
    pointer-events: auto;
    width: 260px;
}
.map-iframe .player .mapboxgl-popup-content {
	padding: 5px 10px;
}
.player .mapboxgl-popup-close-button {
	color: #888;
}
.player .mapboxgl-popup-content .title,
.editor .mapboxgl-popup-content .title {
	font-weight: bold;
}
.player .mapboxgl-popup-content .description {
	line-height: 14px;
    font-size: 11px;
    margin-bottom:3px;
}
.player .mapboxgl-popup-content .assets {
	margin: 5px 0;
}
.player .mapboxgl-popup-content .asset img {
	width: 45px;
}

/*gallery*/

.player .blueimp-gallery>.slides>.slide>.slide-content {
	max-height:700px !important;
}

.player .gallery {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	text-align:center;
	background:rgba(0,0,0,.8);
	display:none;
	}

.player .gallery .gallery-content {
	width: auto;
	height: 95%;
	padding:1%;
	margin-left:15px;
}

.player .gallery .gallery-content img {
	width: auto;
	height: 100%;
}

.player .gallery .item-counter {
	position:absolute;
	top:0;
	left:0;
	padding:3px 3px 3px 5px;
	text-align:left;
	color:#aaa;
}

.player .gallery .item-counter span.item-num {
	padding:0 5px 0 0;
	color:#ddd;
}

.player .gallery .item-counter span.item-total {
	padding:0 0 0 2px;
	color:#ddd;
}

.player .gallery .item-caption {
	position:absolute;
	bottom:0;
	left:0;
	width: 25%;
	padding:3px 3px 3px 5px;
	text-align:left;
	color:#aaa;
	line-height:16px;
}

.player .gallery a.gallery-nav {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 15%;
	font-size: 20px;
	color: #fff;
	text-align: center;
	opacity: .1;
}

.player .gallery a.gallery-nav:hover {
	opacity:.6;
	cursor:pointer;
}

.player .gallery a.gallery-nav.left {
	left: 0;
}

.player .gallery a.gallery-nav.right {
	right: 0;
}

.player .gallery a.gallery-nav span.control {
	position: absolute;
	top: calc(50% - 25px);
	z-index: 5;
	display: inline-block;
}

.player .gallery a.gallery-close {
	position: absolute;
	top:0;
	right:1%;
	z-index: 5;
	color:#fff;
	opacity:.6;
	cursor:pointer;
}

/*preview*/

.player .preview {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: #50514f;
	background-position: center;
	background-size: cover;
	text-align: center;
	color: #c8c8c8;
	display:none;
	cursor:pointer;
	z-index: 2;
}

.player .preview .overlay {
  position: absolute;
  top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: .50;
}
.player .preview .preview-content {
	position:relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.player.embedded .preview .preview-content {
	height: calc(100% - 24px);
}

.player .preview .message-container .message-rec {
	max-width: 300px;
	margin: auto;
}

.player .preview .message-container .message-rec iframe {
	/*position:relative;
	width: 100%;
	max-width:300px;*/
	max-width:100%;
}
.player .preview .message-container .message-rec img {
	/*position:relative;
	width: 100%;
	max-width:300px;
	*/
	max-width:100%;
}

.player .preview .action-container {
	width:100%;
	max-width:250px;
	text-align: center;
}

.player .preview .action-container .action {
    color: #fff;
		font-size: 1.5em;
		font-weight: bold;
		line-height: 1;
		margin-bottom: 10px;
}

.player .preview .action-container a {
	color: #fff;
	font-size: 10px;
	text-decoration: none;
}

/*error*/

.player .error {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: #50514f;
	text-align: center;
	color: #c8c8c8;
	padding-top: 5%;
	display:none;
}

.player .error .hd {
	color: #fff;
	font-weight: bold;
	font-size: 125%;
}

.player .error .bd {
	width:70%;
	margin:auto;
	padding:20px 0 30px 0;
	color:#fff;
	font-size:1.2em;
}

.player .error .ft {
	
}

.player .error .ft a {
	color:#eee;
	text-decoration:underline;
}

.player .error .ft a:hover {
	color:#fff;
}

/*printing*/
@media print {
	.noprint {
 	   display:none;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {

	.player .trip-page-controls {
    	margin: 0 0 0 -47px;
    }
    
}



