

/*!
 * Cartonbox v1.5.4 by Maxim Sofronov <imaxsof@gmail.com>
 * Correct modal windows
 * Demo: https://constlab.github.io/cartonbox/
 * License: MIT
 */

.cartonbox-back {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, .7);
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	-webkit-tap-highlight-color: transparent
}

.cartonbox-preloader {
	display: none;
	position: fixed;
	z-index: 10002;
	box-sizing: border-box;
	width: 25px;
	height: 25px;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	border: 1px solid #999;
	border-bottom-color: rgba(255, 255, 255, 0);
	border-left-color: rgba(255, 255, 255, 0);
	margin: -13px 0 0 -13px;
	-webkit-animation: preloader .5s infinite linear;
	animation: preloader .5s infinite linear
}

@-webkit-keyframes preloader {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg)
	}
}

@keyframes preloader {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg)
	}
}

.cartonbox-wrap {
	width: 768px;
	box-sizing: border-box;
	padding: 0 75px;
	margin: auto;
	display: none;
	z-index: 10001;
	position: relative
}

.cartonbox-flex,
.cartonbox-item {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex
}

.cartonbox-flex {
	min-height: 100vh;
	box-sizing: border-box;
	padding: 25px 0;
	-ms-flex-direction: column;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex-direction: column
}

.cartonbox-item {
	-ms-flex: 1 0 auto;
	-webkit-box-flex: 1;
	flex: 1 0 auto;
	-ms-flex-pack: center;
	-webkit-box-pack: center;
	justify-content: center;
	-ms-flex-align: center;
	-webkit-box-align: center;
	align-items: center;
	-ms-flex-line-pack: center;
	align-content: center
}

.cartonbox-container {
	background: transparent;
	padding: 45px 50px;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box
}

.cartonbox-iframe .cartonbox-container,
.cartonbox-img .cartonbox-container {
	padding: 0;
	line-height: 0
}

.cartonbox-iframe .cartonbox-container iframe {
	width: 100%;
	height: 500px
}

.cartonbox-caption {
	background: transparent;
	padding: 40px 50px;
	color:#fff;
}

.cartonbox-caption-text {
	line-height: 20px;
	max-width: 520px;
	margin: auto;
	text-align: center;
}

.cartonbox-nav {
	box-sizing: border-box;
	height: 33px;
	padding-top: 25px;
	display: none;
	text-align: center;
	font-size: 0;
	line-height: 0
}

.cartonbox-nav-dotted {
	display: inline-block;
	margin: -5px 0 0;
	padding: 0;
	text-align: center;
	white-space: nowrap
}

.cartonbox-nav-dotted li {
	margin: 0;
	list-style: none;
	display: inline-block;
	padding: 5px;
	position: relative
}

.cartonbox-nav-dotted a,
.cartonbox-next a,
.cartonbox-prev a {
	border: 0;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	-webkit-tap-highlight-color: transparent
}

.cartonbox-nav-dotted a {
	display: block;
	box-sizing: border-box;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px #999;
	width: 8px;
	height: 8px;
	-webkit-transition: .2s;
	transition: .2s
}

.cartonbox-nav-dotted a:before {
	position: absolute;
	content: "";
	top: -20px;
	bottom: -20px;
	left: 0;
	right: 0
}

.cartonbox-nav-dotted a:hover {
	box-shadow: inset 0 0 0 1px #fff
}

.cartonbox-nav-dotted .active a {
	box-shadow: inset 0 0 0 4px #fff;
	cursor: !important default
}

.cartonbox-close,
.cartonbox-next,
.cartonbox-prev {
	position: fixed;
	top: 0;
	width: 75px;
	cursor: !important pointer;
	box-sizing: border-box;
	display: none
}

.cartonbox-close {
	right: 0;
	padding: 25px;
	height: 75px;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	-webkit-tap-highlight-color: transparent;
	z-index: 10004
}

.cartonbox-close svg,
.cartonbox-next svg,
.cartonbox-prev svg {
	width: 25px;
	height: 25px;
	display: block;
	fill: #999;
	-webkit-transition: .2s;
	transition: .2s
}

.cartonbox-close:hover svg,
.cartonbox-next a:hover svg,
.cartonbox-prev a:hover svg {
	fill: #fff
}

.cartonbox-next,
.cartonbox-prev {
	z-index: 10003;
	left: 0;
	bottom: 0
}

.cartonbox-next {
	left: auto;
	right: 0
}

.cartonbox-next a,
.cartonbox-prev a {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0
}

.cartonbox-next svg,
.cartonbox-prev svg {
	margin: -28px 25px 0;
	content: "";
	height: 55px;
	position: absolute;
	top: 50%;
	left: 0
}


.cartonbox-content img{
	cursor: pointer !important;
}