#flash-popup-header-img.proalert{ width: auto !important; }

.flash-popup{ max-width: 680px; width: 100% !important; margin: 0 !important; transform: translate(-50%, -50%); }

#flash-popup-main-desc {
	font-size: 15px;
	font-weight: 400;
	font-style: normal;
	color: #000;
	text-align: center;
	padding: 0 110px;
	margin: 0;
	line-height: 25px;
}

#flash-popup-main-desc b { color: #09c47e; font-weight: bold; }

#flash-popup-dropdown-discount { margin-left: 15px; }

.flash-popup-dropdown-toggle {
	height: 46px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	width: 190px;
	position: relative;
}

.flash-popup-dropdown-list {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	width: 185px;
	margin: 5px 0;
	overflow: auto !important;
}

#flash-popup-dropdown-list-periods {
	width: 210px;
	overflow-y: scroll;
	height: 223px;
}

.flash-popup-dropdown-list-item input {
	display: none;
}

.flash-popup button {
	width: 115px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	height: 46px;
	letter-spacing: 1px;
}

#flash-popup-reminder {
	font-family: "PT Sans", sans-serif !important;
	list-style: none;
	padding-left: 25px;
	line-height: 30px;
	font-size: 16px !important;
}

#flash-popup-reminder li,
#flash-popup-reminder a{
    font-family: "PT Sans", sans-serif !important;
	font-size: 16px !important;
}

#flash-popup-reminder > li:before {
	font-family: "PT Sans", sans-serif !important;
	content: "> ";
	font-size: 14px !important;
	font-weight: bold;
	margin-right: 10px;
}

#flash-popup-reminder li img {
	margin: 0 5px;
	padding: 0;
	max-height: 25px;
	display: inline-block;
	line-height: 20px;
	vertical-align: middle;
}

#flash-popup-result {
	color: #09c47e;
	font-weight: bold;
	font-size: 18px;
	width: 100px;
	display: inline-block;
	margin: 0 8px;
}

.flash-popup-is-regular { font-size: 16px; margin: 0 25px; }

.flash-popup-checkbox {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	width: 25px;
	height: 25px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border: 2px solid #aeaeae;
	vertical-align: middle;
	cursor: pointer;
	position: relative;
	margin: 0 8px 2px 0;
}

.flash-popup-checkbox input { display: none }

.flash-popup-checkbox input:checked + span {
	position: absolute;
	width: 25px;
	height: 25px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border: 2px solid #09c47e;
	margin: -2px;
	display: block;
	box-sizing: border-box;
	background-image: url("/.s/img/popup/checkbox-yes.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 80%;
}

.flash-popup-footer-desc { font-size: 12px; margin: 10px 25px; color: #787d82; }


/*
	- Dima Kit 18 July 2017 11:00 -
	Добавил адаптивности для попапа
*/
@media screen and (max-width: 680px) {
	.js-close-popup.close-popup-fixed-btn { top: calc(65px + .5rem)!important; width: 25px; height: 25px; right: 1rem!important; background-position: -1px 0px; }
	.flash-popup {
		max-width: calc(100% - 1rem); margin: 0 !important; left: .5rem !important; transform: translate(0, -50%); padding: .5rem!important;
		* { box-sizing: border-box; }
		img#flash-popup-header-img.proalert { height: 8rem; }
		#flash-popup-main-desc { padding: 0; }
		form {
			display: flex; flex-direction: column; gap: .5rem;
			div { text-align: center; }
			.flash-popup-dropdown {
				display: block; margin:0 0 .5rem!important;
				.flash-popup-dropdown-toggle { width: 100%; line-height: 2.5rem; padding: 0; height: auto; }
				.flash-popup-dropdown-list { z-index: 9998; }
			}
			.js-submit-form-button-pu { line-height: 2.5rem; padding: 0 2rem; height: auto; width: auto; }
			#flash-popup-reminder { padding-left: .5rem; margin: 0; }
		}
	}
}

@media screen and (max-height: 768px) {
	.js-close-popup.close-popup-fixed-btn { top: calc(65px + .5rem)!important; right: calc(((100% - 680px) / 2) + .5rem) !important; }
	.flash-popup { top: 75px !important; transform: translate(0, 0) !important; max-height: calc(100% - 80px); left: calc((100% - 680px) / 2) !important; }
}

@media screen and (max-width: 450px), screen and (max-height: 400px) {
	.close-popup-fixed-btn {
		display: block !important;
		position: fixed;
		top: 60px !important;
		right: 0px !important;
		-moz-border-radius: 14px;
		-webkit-border-radius: 14px;
		border-radius: 14px;
		width: 28px;
		height: 28px;
		z-index: 99999;
		background-image: url("/.s/img/popup/close-btn.png");
	}

	.flash-popup {
		transform: none !important;
		top: 65px !important;
		max-height: calc(100% - 70px);
		overflow-x: hidden !important;
		overflow-y: auto !important;
		border-radius: .5rem !important;
		border: 1px solid lightgray;
		box-sizing: border-box;
	}

	.flash-popup #flash-popup-button-close { display: none; }
}
