/*Connecting fonts*/


@font-face {
	font-family: 'Albertus';
	src: url('../fonts/AlbertusBold-Regular.woff2') format('woff2'),
		url('../fonts/AlbertusBold-Regular.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}

/*Specification*/
:root {
	--white: #ffffff;
}


* {
	transition: all 0.5s linear;
}

body {
	padding: 0;
	margin: 0;
	/*	background: rgba(47,104,158,1);
	background: -moz-linear-gradient(-45deg, rgba(47,104,158,1) 0%, rgba(16,33,50,1) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(47,104,158,1)), color-stop(100%, rgba(16,33,50,1)));
	background: -webkit-linear-gradient(-45deg, rgba(47,104,158,1) 0%, rgba(16,33,50,1) 100%);
	background: -o-linear-gradient(-45deg, rgba(47,104,158,1) 0%, rgba(16,33,50,1) 100%);
	background: -ms-linear-gradient(-45deg, rgba(47,104,158,1) 0%, rgba(16,33,50,1) 100%);
	background: linear-gradient(135deg, rgba(47,104,158,1) 0%, rgba(16,33,50,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f689e', endColorstr='#102132', GradientType=1 );
*/
	background: rgba(15, 35, 55, 1);
}

html,
body {
	height: 100%;
}

header,
div,
p,
a {
	box-sizing: border-box;
}

p {
	font-size: 18px;
	color: #303030;
	margin: 0;
	padding: 0;
}

a,
a:hover,
a:active {
	text-decoration: none;
}

a {
	transition: all 0.5s ease;
}

img {
	width: 100%;
	display: block;
	max-width: 100%;
	height: auto;
}

.wrap {
	/*position: fixed;*/
	background: url(../img/bg.jpg)no-repeat top center;
	/*background-size: contain;*/
	background-size: cover;
	height: auto !important;
	width: auto !important;
	min-height: calc(100vh);
	min-height: calc(var(--vh, 100vh));
	display: flex;
	flex-direction: column;
}

.main {
	flex: 1 1 auto;
}

.main.main-pin {
	padding-bottom: 10px;
}

.footer {
	background: rgba(15, 35, 55, 1);
}

.footer__text {
	font-family: Arial;
	text-align: center;
	font-size: 10px;
	color: #fff;
	letter-spacing: 1.5px;
	line-height: 1;
	font-weight: 400;

}

.footer__link {
	/*margin-top: 5px;*/
	font-family: Arial;
	text-align: center;
	font-size: 11px;
	color: #fff;
	letter-spacing: 1.5px;
	line-height: 1;
	font-weight: 400;
	margin-left: auto;
}

.cf {
	padding-left: 0px;
	padding-right: 0px;
}

.header__content {
	width: 60%;
	margin: 0 auto;
	padding-top: 20px;
}

.logo {
	width: 170px;
	margin-bottom: 40px;
}

.header__test {
	font-family: 'Albertus';
	text-shadow: 0 3px 3px rgba(0, 0, 0, 0.75);
	letter-spacing: 0.54px;
	font-size: 75px;
	color: #fff;
	line-height: 1;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.header__test:nth-child(6) {
	margin-bottom: 15px;
}

.yel {
	color: #FFD400;
}

.header__text {
	font-family: Arial;
	font-size: 18px;
	color: #fff;
	line-height: 1;
	margin-bottom: 10px;
	margin-top: 5px;

}

.header__input {
	/*margin: 0 auto;*/
	display: block;
	font-family: Arial;
	width: 345px;
	background-color: #fff;
	text-align: left;
	font-size: 20px;
	padding: 10px 10px;
	color: #000000;
	margin-bottom: 7px;
	border: none;
}

#pin {
	text-align: center;
}

.header__btn {
	/*margin: 0 auto;*/
	display: block;
	font-family: 'Albertus';
	width: 345px;
	box-shadow: 0 5px 5px rgba(0, 18, 16, 0.5);
	background-color: #f5d710;
	text-align: center;
	font-size: 22px;
	padding: 5px 10px;
	color: #000000;
	border-radius: 10px;
}

.loader_box {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .65);
	z-index: 50
}

.loader {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 75px;
	height: 75px;
	z-index: 51
}

.thank__you_box {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: rgba(0, 0, 0, .65);
	z-index: 51;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	color: #000;
	width: 100%;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center
}

.thank__you_text {
	max-width: 70%;
	border: 2px solid #000;
	padding: 15px;
	border-radius: 7px;
	background: #fff;
	/*margin-top: -50%*/
}

.fadeInUp {
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
}

.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 1%, 0);
		transform: translate3d(0, 10%, 0)
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0)
	}
}

/***MESSAGE****/
.message {
	position: fixed;
	z-index: 20;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.85);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.message__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 340px;
	padding: 30px 5px;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	background-color: #fff;
	border: none;
	border-radius: 9px;

	will-change: transform;
	animation-name: fadeInDown;
	animation-duration: 0.8s;
	animation-delay: 0.4s;
	animation-fill-mode: both;
}

.message__title {
	margin-bottom: 16px;
	font-size: 26px;
	line-height: 1.15em;
	font-weight: 700;
	text-align: center;
}

.message__text {
	font-size: 22px;
	line-height: 1.15em;
	font-weight: 400;
	text-align: center;
	margin-bottom: 15px;
}

.message__text--mod {
	margin-bottom: 0;
}

.message__btn {
	width: 100%;
	max-width: 280px;
	margin-top: 0;
	padding: 9px;
}

.message__close {
	position: absolute;
	top: 7px;
	right: 5px;
	width: 30px;
	height: 30px;
	font-size: 0;
	color: rgba(0, 0, 0, 0);
}

.message__close::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 4px;
	height: 100%;
	background-color: #444;
	transform: translateX(-50%) rotate(-45deg);
}

.message__close::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 4px;
	height: 100%;
	background-color: #444;
	transform: translateX(-50%) rotate(45deg);
}

.message__close:hover.message__close::before,
.message__close:hover.message__close::after {
	background-color: #222;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translate3d(0, -100%, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.input--error {
	border: 1px solid red;
}

/*Media Requests*/


/*1519x722*/
@media screen and (max-width: 1540px)and (max-height:725px) {
	.logo {
		margin-bottom: 20px;
	}

	.header__content {
		width: 50%;
	}

	.header__test {
		font-size: 50px;
		margin-bottom: 10px;
	}

	.header__content {
		width: 45%;
	}
}

/*PC*/
/*1440x900*/
/*в браузере: 1423x750*/
@media screen and (max-width: 1450px)and (max-height:900px) {
	.logo {
		margin-bottom: 10px;
	}

	.header__content {
		width: 45%;
	}

	.header__test {
		font-size: 50px;
		margin-bottom: 10px;
	}

}

/*iPad 12.9.2017*/
/*1366x954 - landscape*/

/*iPad 12.9.2018*/
/*1366x950 - landscape*/

/*PC*/
/*1366x768*/
/*в браузере: 1349x618*/
@media screen and (max-width: 1370px)and (max-height:770px) {

	.header__content {
		width: 39%;
	}

	.header__test:nth-child(6) {
		margin-bottom: 20px;
	}
}

/*1280x760*/
@media screen and (max-width: 1280px)and (max-height:765px) {
	.header__content {
		width: 47%;
	}
}

/*monik*/
/*1280 × 720*/
@media screen and (max-width: 1280px)and (max-height:750px) {
	.header__content {
		width: 45%;
	}
}

/*PC*/
/*1280x1024*/
/*в браузере: 1263x874*/
@media screen and (max-width: 1280px)and (max-height:960px) {
	.header__content {
		width: 52%;
	}
}

/*Tab4*/
/*1280x679*/
@media screen and (max-width: 1300px)and (max-height:681px) {
	.header__content {
		width: 41%;
	}
}


/*Galaxy Tab S4*/
/*Galaxy Tab 5Se*/
/*1138x544 - landscape*/
@media screen and (max-width: 1139px)and (max-height:545px) {
	.header__content {
		padding-top: 10px;
	}

	.logo {
		width: 130px;
		margin-bottom: 15px;
	}

	.header__test {
		font-size: 35px;
	}

	.header__btn,
	.header__input {
		width: 260px;
	}
}


/*pc Matt*/
/*1080x1920*/
/*в браузере: 1080x1777*/
@media screen and (max-width: 1081px)and (max-height:1921px) {

	.header__content {
		width: 100%;
	}
}




/*iPad Air2*/
/*iPad Mini3*/
/*1024x704 - landscape*/
@media screen and (max-width: 1025px)and (max-height:705px) {
	.header__content {
		width: 51%;
	}
}


/*Galaxy Tab S3*/
/*1024x648 - landscape*/
@media screen and (max-width: 1025px)and (max-height:649px) {
	.header__content {
		width: 47%;
	}
}

/*PC*/
/*1024x768*/
/*в браузере: 1007x618*/

/*Nexus7*/
/*960x432 - landscape*/
@media screen and (max-width: 961px)and (max-height:433px) {
	.header__content {
		width: 100%;
	}

	.wrap {
		background-position-y: 2%;
		background-size: cover;
	}

	.header__test {
		font-size: 30px;
		margin-bottom: 5px;
	}

	.header__test:nth-child(6) {
		margin-bottom: 10px;
	}
}


@media screen and (min-width: 500px) and (max-width:900px)and (max-height:500px) and (orientation:landscape) {
	.header__test {
		font-size: 12px;
		margin-bottom: 3px;
	}

	.header__content {
		padding-top: 0px;
		position: relative;

	}

	.logo {
		width: 100px;
		margin-bottom: 3px;
		left: calc(50% - 50px);
		position: absolute;
		top: 5px;
	}

	.header__btn {
		font-size: 18px;
		padding: 5px;
	}

	.header__input {
		font-size: 16px;
		padding: 5px;
	}

	.header__text {
		font-size: 16px;
		margin-bottom: 5px;

	}

}

@media screen and (min-width: 500px)and (max-width:900px)and (max-height:310px) and (orientation:landscape) {
	.header__test {
		font-size: 15px;
		margin-bottom: 1px;
	}

	.header__content {
		padding-top: 2px;
		position: relative;

	}

	.logo {
		width: 100px;
		margin-bottom: 3px;
		left: calc(50% - 50px);
		position: absolute;
		top: 5px;
	}

	.header__btn {
		font-size: 16px;
		padding: 3px;
	}

	.header__input {
		font-size: 14px;
		padding: 3px;
	}

	.header__text {
		font-size: 14px;
		margin-bottom: 3px;

	}
}

@media screen and (min-width: 500px) and (max-width:569px)and (max-height:400px) and (orientation:landscape) {
	.header__test {
		font-size: 12px;
	}

	.header__btn {
		font-size: 14px;

	}

	.header__input {
		font-size: 12px;
	}

	.header__text {
		font-size: 12px;
	}

	.header__btn,
	.header__input {
		width: 200px;
	}

}



@media screen and (max-width: 500px)and (max-height:900px) {
	.header__content {
		padding-top: 7px;
	}

	.header__test {
		font-size: 40px;
	}

	.header__test:nth-child(6) {
		margin-bottom: 10px;
	}

	.header__btn,
	.header__input {
		width: 90%;
		margin: 10px auto;
	}

	.wrap {
		background: url(../img/bg_small.jpg)no-repeat top center;
		background-size: cover;

		/*height: auto;
		min-height: 100%;*/
	}

	.header__content {
		width: 100%;
	}

	.header__text {
		text-align: center;
		margin: 0 auto;
		font-size: 18px;
		margin-bottom: 10px;
	}

	.header__input {
		font-size: 22px;
		padding: 10px 10px;
		margin-bottom: 7px;
	}

	.header__btn {
		font-size: 20px;
		padding: 7px 0;

	}

}

@media screen and (max-width: 500px)and (max-height:641px) and (min-height:552px) {
	.header__test {
		font-size: 35px;
	}

	.header__btn,
	.header__input {
		width: 80%;
		margin: 10px auto;
	}

	.header__text {
		font-size: 14px;
		margin-bottom: 7px;
	}

	.header__input {
		font-size: 18px;
		padding: 7px 0;

	}

	.header__btn {
		font-size: 20px;
		padding: 7px 10px;

	}
}

@media screen and (max-width: 414px)and (max-height:620px) {
	.header__test {
		font-size: 37px;
	}
}

@media screen and (max-width: 376px)and (max-height:639px) {
	.header__content {
		padding-top: 4px;
	}

	.header__test {
		font-size: 20px;
	}

	.header__test:nth-child(6) {
		margin-bottom: 15px;
	}

	.header__btn,
	.header__input {
		width: 80%;
		margin: 10px auto;
	}

	.header__text {
		font-size: 14px;
		margin-bottom: 7px;
	}

	.header__input {
		font-size: 18px;
		padding: 7px 10px;

	}

	.header__btn {

		font-size: 16px;
		padding: 7px 0;

	}

}

@media screen and (max-width: 361px)and (max-height:561px) {
	.header__test {
		font-size: 26px;
	}

	.header__test:nth-child(6) {
		margin-bottom: 10px;
	}

	.header__text {

		font-size: 16px;
		margin-bottom: 5px;
	}

	.header__input {
		font-size: 16px;
		padding: 5px 10px;
	}

	.header__btn {

		font-size: 18px;
		padding: 5px 0;

	}
}

@media screen and (max-width: 320px)and (max-height:460px) {
	.logo {
		width: 110px !important;
		margin-bottom: 4px;
	}

	.header__text {
		font-size: 12px;
		margin-bottom: 3px;
	}

	.header__btn {
		font-size: 14px;
	}

	.header__test {
		font-size: 16px;
	}

	.footer__text {
		font-size: 8px;
	}
}

a {
	cursor: pointer;
}

/*скрыть преобразование текста с номером телефона в ссылку для FF на ios*/
.footer a[href^="tel"] {
	pointer-events: none;
	color: #fff;
	text-decoration: none;
}



.popup__close {
	width: 32px;
	height: 32px;
	position: absolute;
	font-size: 0;
	color: transparent;
	border: 0;
	cursor: pointer;
	top: 0px;
	right: 2px;
	z-index: 1;
	padding: 8px;
	background: #fff;
	border-radius: 50%;

}

.popup__close-item {
	width: 100%;
	height: 22px;
	display: block;
	position: absolute;
	top: 8px;
	right: 0;
	bottom: 0;
	left: -10px;
	margin: auto;
	transition: background 0.2s linear;
}

.popup__close-item:before,
.popup__close-item:after {
	content: "";
	width: 70%;
	height: 2px;
	background-color: #515151;
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1;
	transform: scaleX(1) translate(0px, 10px) rotate(45deg);
	transition: transform 0.2s linear;
}

.popup__close-item:before {
	transform: scaleX(1) translate(0px, 10px) rotate(-45deg);
}