
.power-layer{
	position: fixed;
	top:50px;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 898;
	display: none;
	background:#fff;
	.close{
		background-color: transparent;
		border:none;
		font-size: 28px;
		line-height: 40px;
		position: absolute;
		top:15px;
		right: 15px;
		width: 40px;
		height: 40px;
		z-index: 902;
		background-color: rgba(255,255,255,.5);
		border-radius: 50px;
		display: block;
		cursor: pointer;
		svg{
			width: 20px;
			height: 20px;
		}
	}
}

.power-layer-active{
	overflow: hidden;
	.power-layer{
		display: block;
		overflow: hidden;
	}
}

.power-layer-body{
	height: 100%;
	width: 100%;
	position: relative;
	.power-layer-embed, .power-layer-image{
		background-position: center center;
		background-size: cover;
		background-repeat: no-repeat;
	}
	.power-layer-image{
		display: none;
	}
	.power-layer-image-sm{
		.cycle-slide{
			max-width: 100%;
			height: auto !important;
		}
	}
	.power-layer-map{
		min-height: 400px;
		position: relative;
		overflow: hidden;
		background-color: #ddd;
	}
	.power-layer-content{
		padding:30px;
	}
	.power-layer-video{
		padding-top: 66%;
		position: relative;

		iframe{
			position: absolute;
			top: 0;
			left: 0;
			bottom: 0;
			width: 100% !important;
			@media all and (min-width:@screen-sm) {
				width: 50% !important;
			}
			height: 100% !important;
		}
	}
	.power-layer-full-iframe{
		position: absolute;
		top:0;
		right: 0;
		bottom: 0;
		left: 0;
		overflow-y: auto;
		z-index: 900;
		background-color: #fff;
		iframe{
			position: absolute;
			overflow-y: auto;
			top:0;
			right: 0;
			bottom: 0;
			left: 0;
			width: 100% !important;
			height: 100% !important;
		}
	}
}


.gmap{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin-bottom: 10px;
	overflow: hidden;
}

.gmap-wrapper{
	position: relative;
	padding-top: 66%;
}

.scrolloff > div{
	pointer-events:none;
}

@media all and (min-width:@screen-sm) {
	.scrolloff > div{
		pointer-events:auto;
	}
	.power-layer-image-btn{
		position: absolute;
		top: 50%;
		width: 36px;
		height: 80px;
		text-align: center;
		background-color: rgba(29, 31, 32, 0.3);
		color:#fff;
		margin-top: -40px;
		z-index: 901;
		background-size: 16px 26px;
		background-position: center center;
		background-repeat: no-repeat;
		cursor: pointer;
		&:hover{
			background-color: rgba(29, 31, 32, 0.5);
		}
	}
	.power-layer-image-btn-next{
		right: 0;
		border-top-left-radius: 2px;
		border-bottom-left-radius: 2px;
		background-image: url('data:image/svg+xml;utf8,<svg id="6803e53c-8c5a-423f-9555-ef657aa6b22e" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.26 25.46"><polygon points="3.54 25.46 0 21.92 9.19 12.73 0 3.54 3.54 0 16.26 12.73 3.54 25.46" style="fill:%23fff"/></svg>');
	}
	.power-layer-image-btn-prev{
		left: 0px;
		border-top-right-radius: 2px;
		border-bottom-right-radius: 2px;
		background-image: url('data:image/svg+xml;utf8,<svg id="db57ea79-800f-427c-8d6b-1d93d5e780fa" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.26 25.46"><polygon points="12.73 0 16.26 3.54 7.07 12.73 16.26 21.92 12.73 25.46 0 12.73 12.73 0" style="fill:%23fff"/></svg>');
	}
	.power-layer-body{
		.power-layer-image-sm{
			display: none;
		}
		.power-layer-image{
			display: block;
		}
		.power-layer-map, .power-layer-embed, .power-layer-image, .power-layer-content{
			top:0;
			bottom: 0;
			left: 0;
			position: absolute;
		}
		.power-layer-embed, .power-layer-map, .power-layer-image{
			right: 50%;
			overflow: hidden;
			background-image: inherit;
			> img{
				display: none !important;
			}
		}
		.power-layer-content{
			padding-top:100px;
			padding-bottom: 100px;
			padding-right: 80px;
			padding-left: 80px;
			right: 0;
			left: 50%;
			overflow-y: auto;
			z-index: 900;
			background-color: #fff;
		}
	}


	.power-layer{
		left: 96px;
		top:0;
	}
}
@media all and (max-width:@screen-xs-max) {
	.power-layer-body{
		overflow-y: auto;
	}
	.power-layer-embed, .power-layer-image{
		background-image: none !important;
		> img{
			max-width: 100%;
			height: auto !important;
			display: block;
		}
	}
}