.modal-sf {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.modal-sf.is-open {
	display: block;
}

.modal-sf__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
}

.modal-sf__box {
	position: relative;
	z-index: 1;
	width: 800px;
	height: 500px;
	margin: 80px auto 0;
	background: #fff;
	padding: 22px 20px 20px;
	background: url('/images/pages/certification/offers/modal-sf-1-bg.png');
	background-size: contain;
	background-repeat: no-repeat;
}

.modal-sf__box>img {
	margin: -100px auto 0;
	display: block;
}

.modal-sf__close {
	position: absolute;
	top: 15px;
	right: 15px;
	border: 0;
	background: #fff;
	font-size: 22px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.modal-sf__title {
	margin: 0 auto 10px;
	color: #0D1B31;
	text-align: center;
	font-family: Montserrat;
	font-size: 30px;
	font-style: normal;
	font-weight: 700;
	line-height: 42px;
	width: 540px;
}

.modal-sf__text {
	color: #0D1B31;
	font-family: Montserrat;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px;
	margin: 20px auto 30px;
	width: 540px;
	text-align: center;
}

.modal-sf__btn {
	width: 330px;
	margin: 0 auto;
	display: block;
	border: 0;
	cursor: pointer;
	border-radius: 3px;
	background: #EB4479;
	color: #FFF;
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 60px;
	text-transform: uppercase;
	transition: .2s linear;
}

.modal-sf__btn:hover {
	opacity: .9;
}

.modal-sf-form .modal-sf__box {
	position: relative;
	z-index: 1;
	width: 568px;
	height: 418px;
	margin: 80px auto 0;
	background: #fff;
	padding: 80px 20px 20px;
	background: url('/images/pages/certification/offers/modal-sf-2-bg.png');
	background-size: contain;
	background-repeat: no-repeat;
}

.modal-sf-form .modal-sf__close {
	top: 20px;
	right: 25px;
}

.modal-sf-form form {
	width: 330px;
	margin: 0 auto;
}

.modal-sf-form form input {
	margin: 0px 0 10px;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px 13px;
	border: 1px solid #e4e6ea;
}

.modal-sf-form input[type="checkbox"] {
	left: 3px;
	top: 7px;
}

.modal-sf-form .for-checkbox {
	margin: 10px 0 0;
}

.modal-sf-form .for-checkbox label span a {
	color: #fff;
	line-height: 15px;
}

.modal-sf-form .for-checkbox label span {
	font: 500 12px / 12px "Montserrat";
	color: #fff;
}

.modal-sf-form form .btn-form {
	border-radius: 3px;
	background: #FFB01F;
	color: #0D1B31;
	border: 0;
	text-align: center;
	text-transform: uppercase;
	font: 700 16px/60px 'Montserrat';
	padding: 0;
	margin: 20px auto 0;
	transition: .2s linear;
}

.modal-sf-form form .btn-form:hover {
	opacity: .9;
	cursor: pointer
}

.modal-sf-thanks .modal-sf__box {
	width: 540px;
	height: 390px;
	padding-top: 150px;
	background: url('/images/pages/certification/offers/modal-sf-1-bg-thanks.png');
	background-size: contain;
	background-repeat: no-repeat;
}

.modal-sf-thanks .modal-sf__title,
.modal-sf-thanks .modal-sf__text {
	width: 385px;
	margin-top: 0;
}

.modal-sf-thanks .modal-sf__btn {
	width: 145px
}

@media (max-width: 800px) {
	.modal-sf__box {
		width: 90%
	}
}

@media (max-width: 576px) {
	.modal-sf__box {
		background: url('/images/pages/certification/offers/modal-sf-1-bg-mob.png');
		background-size: cover;
		background-repeat: no-repeat;
		width: 85%
	}

	.modal-sf-form .modal-sf__box {
		width: 93%;
		margin: 20px auto 0;
	}

	.modal-sf__box>img {
		width: 50%;
		height: auto;
	}

	.modal-sf__text,
	.modal-sf__title {
		width: 80%;
	}
}

@media (max-width: 480px) {
	.modal-sf__box {
		background: url('/images/pages/certification/offers/modal-sf-1-bg-mob.png');
		background-size: contain;
		background-repeat: no-repeat;
	}
}

@media (max-width: 414px) {
	.modal-sf-form .modal-sf__box {
		background: url(/images/pages/certification/offers/modal-sf-2-bg.png) center center;
		background-size: cover;
		background-repeat: no-repeat;
		padding-top: 65px;
	}
}

@media (max-width:395px) {
	.modal-sf__title {
		font-size: 25px;
		line-height: 35px;
	}

	.modal-sf__btn {
		width: 100%
	}
}