/*!
  Flashy - jQuery Lightbox & Popup Plugin
  @name flashy.css
  @description jQuery plugin for creating responsive lightboxes & popups with focus on performance and effects
  @author Max Lavretiev
  @site http://www.avirtum.com
  @copyright (c) Max Lavretiev
*/
.flashy-container .flashy-content-outer,
.flashy-overlay {
	display: -webkit-box;
	display: -ms-flexbox;
	-webkit-box-direction: normal;
}
.flashy-overlay,
body.flashy-active {
	overflow: hidden;
}
body.flashy-active .flashy-overlay {
	opacity: 1;
	pointer-events: auto;
}
.flashy-overlay {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	display: flex;
	-webkit-box-orient: vertical;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	-webkit-transform: translateZ(1000px);
	transform: translateZ(1000px);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	background-color: rgba(0, 0, 0, 0.88);
	opacity: 0;
	pointer-events: none;
	z-index: 99999999;
}
.flashy-container {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	outline: 0;
	overflow-x: hidden;
	overflow-y: scroll;
	overflow-scrolling: touch;
	z-index: 1002;
}
.flashy-container .flashy-content-outer {
	position: absolute;
	display: flex;
	-webkit-box-orient: horizontal;
	-ms-flex-direction: row;
	flex-direction: row;
}
.flashy-container .flashy-content-inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	min-width: 100vw;
	min-height: 100vh;
	padding: 30px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.flashy-container .flashy-content {
	display: inline-block;
	padding: 0;
	background: #fff;
	opacity: 0;
	pointer-events: none;
}
.flashy-container .flashy-content * {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.flashy-container .flashy-content.flashy-show {
	opacity: 1;
	pointer-events: auto;
}
.flashy-container .flashy-content.flashy-error {
	color: #a94442;
	background-color: #f2dede;
	border: 1px solid #a94442;
	-webkit-box-shadow: 0 0 40px rgba(169, 68, 66, 0.9);
	box-shadow: 0 0 40px rgba(169, 68, 66, 0.9);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	width: auto !important;
}
.flashy-overlay .flashy-numeration,
.flashy-overlay .flashy-title {
	padding: 0 10px;
	line-height: 38px;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	letter-spacing: 0.6px;
	text-align: center;
	left: 0;
}
.flashy-container .flashy-content.flashy-image img {
	max-width: 100%;
}
.flashy-container .flashy-content.flashy-ajax,
.flashy-container .flashy-content.flashy-inline {
	width: 100%;
}
.flashy-container .flashy-content.flashy-iframe iframe {
	width: 100%;
	height: 70vh;
	border: none;
}
.flashy-container .flashy-content.flashy-video {
	width: 100%;
	height: 260px;
}
.flashy-container .flashy-content.flashy-video iframe {
	width: 100%;
	height: 100%;
	border: none;
	background-color: #000;
}
@media (min-width: 768px) {
	.flashy-container .flashy-content.flashy-iframe {
		width: 90%;
		height: 70vh;
	}
	.flashy-container .flashy-content.flashy-video {
		width: 640px;
		height: 360px;
	}
}
@media (min-width: 992px) {
	.flashy-container .flashy-content.flashy-ajax,
	.flashy-container .flashy-content.flashy-inline {
		max-width: 1200px;
		width: 80%;
	}
	.flashy-container .flashy-content.flashy-iframe {
		width: 90%;
		height: 70vh;
	}
	.flashy-container .flashy-content.flashy-video {
		width: 936px;
		height: 525px;
	}
}
.flashy-overlay.flashy-fullscreen .flashy-close,
.flashy-overlay.flashy-fullscreen .flashy-next,
.flashy-overlay.flashy-fullscreen .flashy-numeration,
.flashy-overlay.flashy-fullscreen .flashy-prev,
.flashy-overlay.flashy-fullscreen .flashy-title {
	opacity: 0 !important;
	pointer-events: none !important;
}
.flashy-overlay .flashy-numeration {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	position: absolute;
	top: 0;
	background-color: rgba(0, 0, 0, 0.8);
	opacity: 0;
	pointer-events: none;
	z-index: 1003;
}
.flashy-overlay .flashy-close,
.flashy-overlay .flashy-title {
	-webkit-transition: all 0.3s;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 1003;
	right: 0;
}
.flashy-overlay .flashy-numeration.flashy-show {
	opacity: 1;
	pointer-events: auto;
}
.flashy-overlay .flashy-title {
	transition: all 0.3s;
	bottom: 0;
	opacity: 0;
	pointer-events: none;
}
.flashy-overlay .flashy-title.flashy-show {
	pointer-events: auto;
	opacity: 1;
}
.flashy-overlay .flashy-close {
	transition: all 0.3s;
	top: 4%;
	right: 2%;
	width: 32px;
	height: 32px;
	padding: 0;
	background-repeat: no-repeat;
	background-position: center center;
	background: url(../images/videos-close1.png) no-repeat center;
	cursor: pointer;
	border-radius: 50%;
}
.flashy-overlay .flashy-close:hover {
	opacity: 1;
}
.flashy-overlay .flashy-next,
.flashy-overlay .flashy-prev {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	position: absolute;
	top: 50vh;
	width: 28px;
	height: 28px;
	margin-top: -34px;
	padding: 20px 5px;
	background-color: rgba(0, 0, 0, 0.8);
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	z-index: 1003;
}
.flashy-overlay .flashy-next.flashy-show,
.flashy-overlay .flashy-prev.flashy-show {
	pointer-events: auto;
	opacity: 0.8;
}
.flashy-overlay .flashy-next.flashy-show:hover,
.flashy-overlay .flashy-prev.flashy-show:hover {
	opacity: 1;
}
.flashy-overlay .flashy-prev {
	left: 2%;
	background: url(../images/videos-arrow1.png) no-repeat center;
}
.flashy-overlay .flashy-next {
	right: 2%;
	background: url(../images/videos-arrow2.png) no-repeat center;
}
.flashy-preloader {
	display: none;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	-webkit-animation: flashy-spin 1.2s infinite linear;
	animation: flashy-spin 1.2s infinite linear;
	width: 80px;
	height: 80px;
	background-color: rgba(0, 0, 0, 0.25);
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMTM4cHgiIGhlaWdodD0iMTM4cHgiIHZpZXdCb3g9IjgxIDgxIDEzOCAxMzgiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgODEgODEgMTM4IDEzOCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTIxOSwxNTBjMC0zOC4xLTMwLjktNjktNjktNjljLTM4LjEwMSwwLTY5LDMwLjktNjksNjkgTTkyLjcsMTUwYzAtMzEuNSwyNS41LTU3LjMsNTcuMy01Ny4zczU3LjMsMjUuOCw1Ny4zLDU3LjMiLz48L3N2Zz4=);
	background-size: cover;
	border-radius: 100%;
	-webkit-box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	z-index: 2002;
}
.flashy-preloader.flashy-show {
	opacity: 1;
}
@-webkit-keyframes flashy-spin {
	from {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes flashy-spin {
	from {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/*Smartphone css*/
@media screen and (max-width: 480px) {
	.flashy-overlay .flashy-close {
		top: 10%;
	}
}

@media screen and (min-width: 481px) and (max-width: 600px) {
	.flashy-overlay .flashy-close {
		top: 10%;
	}
}

@media screen and (min-width: 601px) and (max-width: 767px) {
	.flashy-overlay .flashy-close {
		top: 10%;
	}
}

@media screen and (min-width: 768px) and (max-width: 900px) {
}

@media screen and (min-width: 901px) and (max-width: 1024px) {
}

@media screen and (min-width: 1025px) and (max-width: 1240px) {
}

#videoToggle {
	cursor: pointer;
}
.video-dialog {
	position: fixed;
	padding: 20px;
	height: 100vh;
	width: 100%;
	display: flex;
	left: 0;
	top: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.5, 0, 0.5, 1);
}
.video-dialog--form {
	background: rgba(0, 0, 0, 0.9);
	overflow-x: hidden;
	overflow-y: auto;
	align-items: flex-start;
}
@media (min-width: 992px) {
	.video-dialog--form {
		padding: 40px 20px;
	}
}
.video-dialog__overlay {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: black;
	opacity: 0;
	cursor: pointer;
}
.video-dialog__inner {
	position: relative;
	width: auto;
	max-width: 100%;
	z-index: 5;
}
.video-dialog__inner--form {
	width: 1000px;
}
.video-dialog__body {
	text-transform: none;
	background: red;
	padding: 30px;
}
.video-dialog__inner a {
	color: red;
	font-weight: bold;
}
.video-dialog__inner a:hover {
	color: black;
}
.video-dialog iframe,
.video-dialog video {
	position: relative;
	z-index: 10;
	box-shadow: 0 0 19px rgba(0, 0, 0, 0.16);
	width: 100%;
	height: 100%;
	max-height: 85vh;
	display: block;
}
.video-dialog video {
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
}
.video-dialog__close {
	background-color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	right: -15px;
	top: -15px;
	width: 50px;
	height: 50px;
	overflow: hidden;
	border-radius: 100%;
	padding: 0;
	transition: all 0.3s cubic-bezier(0.5, 0, 0.5, 1);
	z-index: 150;
}
.video-dialog__close .icon svg {
	display: block;
	fill: black;
	transition: all 0.3s cubic-bezier(0.5, 0, 0.5, 1);
}
.video-dialog__close:focus,
.video-dialog__close:hover {
	background-color: black;
}
.video-dialog__close:focus .icon svg,
.video-dialog__close:hover .icon svg {
	fill: black;
}
.video-dialog--active {
	opacity: 1;
	visibility: visible;
}
.video-dialog--active .video-dialog__overlay {
	opacity: 0.9;
}
.icon--close {
	width: 50px;
	height: 50px;
	vertical-align: baseline;
}

.video-dialog__close .icon svg {
	display: block;
	fill: black;
	transition: all 0.3s cubic-bezier(0.5, 0, 0.5, 1);
	width: 100%;
	height: 100%;
}

.video-holder {
	margin-bottom: 20px;
	overflow: hidden;
	border: 5px solid #dddddd;
	aspect-ratio: 16 / 9;
	position: relative;
}

.video-holder svg {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	width: 20%;
	margin: 0 auto;
	transform: translateY(-50%);
	fill: white;
	z-index: 3;
	transition: 0.5s;
}

.video-holder img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.5s;
	z-index: 1;
}

.video-holder:hover img {
	transform: scale(1.15);
}

.video-holder:hover svg {
	transform: translateY(-50%) scale(0.85);
	fill: #03a679;
}

.video-holder::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-color: #03a679;
	opacity: 0.3;
}
