/*Сброс стандартных стилей браузера*/
* {
	box-sizing: border-box;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
}

:focus {
	outline: 0;
}

ARTICLE,
ASIDE,
DETAILS,
FIGCAPTION,
FIGURE,
FOOTER,
HEADER,
HGROUP,
MENU,
NAV,
SECTION {
	display: block;
}

BODY {
	line-height: 1.1;
}

INPUT[type=search]::-webkit-search-cancel-button,
INPUT[type=search]::-webkit-search-decoration,
INPUT[type=search]::-webkit-search-results-button,
INPUT[type=search]::-webkit-search-results-decoration {
	-webkit-appearance: none;
	-moz-appearance: none;
}

INPUT[type=search] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

TEXTAREA {
	overflow: auto;
	vertical-align: top;
	resize: vertical;
}

[hidden] {
	display: none;
}

HTML {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*:focus,
*:active,
*:hover {
	outline: none;
}

FIGURE {
	margin: 0;
}

FORM {
	margin: 0;
}

FIELDSET {
	border: 1px solid #C0C0C0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

LEGEND {
	border: 0;
	/* 1 */
	padding: 0;
	white-space: normal;
	/* 2 */
	*margin-left: -7px;
	/* 3 */
}

BUTTON,
INPUT,
SELECT,
TEXTAREA {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
	font-family: 'Montserrat';
	/*+border-radius: 0;*/
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0;
	/*+box-shadow: 0 0;*/
	-moz-box-shadow: 0 0;
	-webkit-box-shadow: 0 0;
	box-shadow: 0 0;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

BUTTON,
INPUT {
	line-height: normal;
}

BUTTON,
SELECT {
	text-transform: none;
}

BUTTON,
HTML INPUT[type="button"],
INPUT[type="reset"],
INPUT[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
	overflow: visible;
}

BUTTON::-moz-focus-inner,
INPUT::-moz-focus-inner {
	border: 0;
	padding: 0;
}

HTML,
BUTTON,
INPUT,
SELECT,
TEXTAREA {
	color: #222;
}

::-moz-selection {
	background: #B3D4FC;
	text-shadow: none;
}

::selection {
	background: #B3D4FC;
	text-shadow: none;
}

IMG {
	vertical-align: middle;
	max-width: 100%;
	height: auto;
	border: 0;
	-ms-interpolation-mode: bicubic;
}

FIELDSET {
	border: 0;
	margin: 0;
	padding: 0;
}

TEXTAREA {
	resize: vertical;
	overflow: auto;
	vertical-align: top;
	font-family: inherit;
}

.chromeframe {
	margin: 0.2em 0;
	background: #CCC;
	color: #000;
	padding: 0.2em 0;
}

HR {
	margin: 20px auto;
}

A {
	transition: 350ms;
	transition-property: color;
	color: currentColor;
	text-decoration: none;
}

A:hover {
	text-decoration: none;
}

SUP {
	font-size: 70%;
	line-height: normal;
}

HEADER,
SECTION,
FOOTER,
ASIDE,
NAV,
MAIN,
ARTICLE,
FIGURE {
	display: block;
}

/*Общее*/
BODY {
	font-family: 'Montserrat';
	margin: 0;
}

.payform_page {
	min-height: 100vh;
	height: 100%;
	background-color: #FBFBFC;
	overflow: hidden;
}

.payform-container {
	position: absolute;
	top: 15%;
	left: 50%;
	transform: translateX(-50%);
}

.payform-wrap {
	position: relative;
	height: 100%;
	min-height: 457px;
}

.payform-price {
	display: flex;
	justify-content: center;
	margin-bottom: 31px;
}

.payform-inprice {
	display: inline-block;
	position: relative;
	font-weight: 600;
	font-size: 36.8231px;
	line-height: 45px;
	text-align: center;
	padding-bottom: 15px;
}

.payform-inprice:after {
	content: '';
	position: absolute;
	left: 50%;
    transform: translateX(-50%);
	bottom: 0;
	width: 180px;
	height: 4px;
	background-color: #0094FF;
	border-radius: 100px;
}

.payform-method {
	background: #FFFFFF;
	box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.07);
	border-radius: 20px;
	margin-bottom: 25px;
	cursor: pointer;
	transition: 350ms;
	padding: 26px 38px;
	display: flex;
	align-items: center;
	-webkit-touch-callout: none;
	user-select: none;
}

.payform-method:last-child {
	margin-bottom: 0px;
}

.payform-method:hover {
	box-shadow: 0px 10px 43px rgba(0, 0, 0, 0.23);
}

.payform-method_logo {
	width: 50px;
	height: 50px;
	/*+border-radius: 50%;*/
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-khtml-border-radius: 50%;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-content: center;
}

.payform-method_logo>* {
	height: auto;
	width: auto;
	margin: auto;
}

.payform-method_logo.card {
	background-color: #8B8B8B;
}

.payform-method_logo.qiwi {
	background-color: #FF8C00;
}

.payform-method_logo.youmoney {
	background-color: #9C00FF;
}

.payform-method_text {
	width: calc(100% - 86px);
	padding: 0 19px;
}

.payform-method_title {
	font-weight: 600;
	font-size: 20.7676px;
	line-height: 25px;
	color: #000000;
	display: block;
}

.payform-method_desk {
	display: block;
	font-weight: 500;
	font-size: 17.8008px;
	line-height: 22px;
	color: #BDBDBD;
	margin-top: 3px;
}

.payform-method_arrow {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxMiAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuODg1MDEgMTUuODg1TDcuNzU1MDEgOUwwLjg4NTAxIDIuMTE1TDMuMDAwMDEgMEwxMiA5TDMuMDAwMDEgMThMMC44ODUwMSAxNS44ODVaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K");
	height: 36px;
	width: 36px;
	background-size: auto;
	background-position: center;
	background-repeat: no-repeat;
}

.payform-step {
	width: 457px;
	position: absolute;
	transition: 200ms ease-in-out;
}

.step1_close .payform-step1 {
	opacity: 0;
	pointer-events: none;
	background-color: #FFFFFF;
}

.payform-step2 {
	background: #FFFFFF;
	box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.07);
	border-radius: 20px;
	position: relative;
	padding: 37px 39px 0;
	opacity: 0;
	pointer-events: none;
	transition: 200ms ease-in-out;
}

.step2 .payform-step2 {
	opacity: 1;
	pointer-events: auto;
}

.payform-spinner {
	position: absolute;
	background-color: #FFFFFF;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 50;
	height: 100%;
	width: 100%;
	border-radius: 20px;
	opacity: 0;
	pointer-events: none;
	transition: 350ms;
}

.payform-spinner, .payform-inspinner {
	transition-duration: .2s;
}

.payform-inspinner {
	animation: spinner 1300ms linear infinite;

	width: 60px;
	height: 60px;
	opacity: 0;

	transition-delay: .2s;
}

.load .payform-spinner {
	opacity: 1;
	pointer-events: auto;
}

.load .payform-inspinner {
	opacity: 1;
}

@keyframes spinner {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.payform-inputs_header {
	transition: 350ms;
	display: flex;
	align-items: center;
	margin-bottom: 37px;
}

.payform-inputs_logo {
	width: 50px;
	height: 50px;
	/*+border-radius: 50%;*/
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-khtml-border-radius: 50%;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-content: center;
}

.payform-inputs_logo>* {
	filter: brightness(80%);
	width: 100%;
}

.payform-inputs_text {
	width: calc(100% - 50px);
	padding: 0 19px;
}

.payform-inputs_title {
	font-weight: 600;
	font-size: 22.4514px;
	line-height: 27px;
	color: #000000;
	display: block;
}

.payform-inputs_desk {
	font-weight: 500;
	font-size: 19.2441px;
	line-height: 23px;
	color: #BDBDBD;
	margin-top: 3px;
	display: block;
}

.payform-inputs_group INPUT {
	background: #F8F8F8;
	border-radius: 15px;
	width: 100%;
	border: 0px solid black;
	padding: 22px 26px;
	font-weight: 500;
	font-size: 17px;
	line-height: 21px;
	color: #000000;
	transition: 250ms;
	/*+box-shadow: inset 0 0 0 0px #0094FF;*/
	-moz-box-shadow: inset 0 0 0 0px #0094FF;
	-webkit-box-shadow: inset 0 0 0 0px #0094FF;
	box-shadow: inset 0 0 0 0px #0094FF;
}

.payform-inputs_group INPUT:focus {
	/*+box-shadow: inset 0 0 0 2px #0094FF;*/
	-moz-box-shadow: inset 0 0 0 2px #0094FF;
	-webkit-box-shadow: inset 0 0 0 2px #0094FF;
	box-shadow: inset 0 0 0 2px #0094FF;
}

.payform-inputs_group INPUT.error {
	/*+box-shadow: inset 0 0 0 2px #FF6464;*/
	-moz-box-shadow: inset 0 0 0 2px #FF6464;
	-webkit-box-shadow: inset 0 0 0 2px #FF6464;
	box-shadow: inset 0 0 0 2px #FF6464;
	background-color: #FFDADA;
}

.payform-inputs_group INPUT::placeholder {
	color: #BDBDBD;
}

.payform-inputs_group INPUT.error {
	color: #FF5C5C;
}

.payform-inputs_group {
	margin-bottom: 27px;
}

.payform-btn {
	background: #0094FF;
	box-shadow: 0px 7px 30px rgba(0, 106, 183, 0.3);
	border-radius: 15px;
	border: 0px solid black;
	width: 100%;
	padding: 22px 26px;
	color: #FFFFFF;
	font-weight: 600;
	font-size: 17px;
	line-height: 21px;
	transition: 350ms;
}

.payform-btn:hover {
	box-shadow: 0px 7px 30px rgba(0, 106, 183, 0.5);
	background: #028BEF;
}

.payform-btn:active {
	box-shadow: 0px 7px 30px rgba(0, 106, 183, 0.5), inset 0px 7px 30px rgba(0, 0, 0, 0.3);
}

.payform-confirm {
	font-weight: 500;
	font-size: 13px;
	line-height: 16px;
	text-align: center;
	color: rgba(0, 0, 0, 0.5);
	display: block;
}

.payform-confirm A {
	text-decoration: underline;
}

.payform-confirm A:hover {
	text-decoration: none;
}

.payform-back {
	position: absolute;
	width: 42px;
	height: 42px;
	left: -21px;
	top: 37px;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgb3BhY2l0eT0iMC41IiBjbGlwLXBhdGg9InVybCgjY2xpcDBfMl8zODIpIj4KPHBhdGggZD0iTTE3LjQ3OTIgMTkuNTk1M0wxMi4yODQzIDE0LjM4OTFMMTcuNDc5MiA5LjE4MjhMMTUuODc5OSA3LjU4MzVMOS4wNzQzNCAxNC4zODkxTDE1Ljg3OTkgMjEuMTk0NkwxNy40NzkyIDE5LjU5NTNaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzJfMzgyIj4KPHJlY3Qgd2lkdGg9IjI3LjIyMjIiIGhlaWdodD0iMjcuMjIyMiIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMC43Nzc4MzIpIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==");
	box-shadow: 0px 14.7778px 30px rgba(0, 0, 0, 0.07);
	/*+border-radius: 50%;*/
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-khtml-border-radius: 50%;
	border-radius: 50%;
	display: block;
	z-index: 10;
	background-color: #FFFFFF;
	background-size: auto;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	transition: 350ms;
}

.payform-back:hover {
	box-shadow: 2px 14.7778px 30px rgba(0, 0, 0, 0.12);
	transform: scale(1.1);
}

.payform-alert {
	margin-top: 56px;
	height: 57px;
	overflow: hidden;
	position: relative;
	text-align: center;
}

.payform-inalert {
	font-weight: 500;
	font-size: 14.6389px;
	line-height: 57px;
	text-align: center;
	color: rgba(255, 0, 0, 0.5);
	width: 247px;
	height: 57px;
	background: #FFDADA;
	border-radius: 21.5px 21.5px 0px 0px;
	position: relative;
	display: block;
	margin: auto;
	transform: translatey(100%);
	transition: 250ms ease-in;
}

.has_error .payform-inalert {
	transform: none;
}

.payform-inputs {
	display: none;
}

.load .payform-back {
	opacity: 0;
}

@media (max-width: 500px) {

	.payform-inprice {
		font-size: 29.249px;
		line-height: 36px;
		padding-bottom: 10px;
	}

	.payform-inprice:after {
		height: 3px;
	}

	.payform-wrap {
		max-width: 100%;
	}

	.payform-container {
		max-width: 100%;
		padding: 0 10px;
	}

	.payform-step {
		width: 332px;
		max-width: 100%;
		left: 50%;
		transform: translatex(-50%);
	}

	.payform-method {
		padding: 22px 12px 22px 24px;
		margin: auto auto 21px auto;
	}

	.payform-method:last-child {
		margin-bottom: 0;
	}

	.payform-method_logo {
		height: 42px;
		width: 42px;
		padding: 10px;
	}

	.payform-method_text {
		padding: 0 16px;
		width: calc(100% - 72px);
	}

	.payform-method_title {
		font-size: 17.4274px;
		line-height: 21px;
	}

	.payform-method_desk {
		font-size: 14.9378px;
		line-height: 18px;
	}

	.payform-method_arrow {
		width: 30px;
		height: 30px;
	}

	.payform-step2 {
		width: 350px;
		padding: 28px 20px 0;
	}

	.payform-inputs_title {
		font-size: 17.1948px;
		line-height: 21px;
	}

	.payform-inputs_desk {
		font-size: 14.7384px;
		line-height: 18px;
	}

	.payform-inputs_logo {
		height: 38px;
		width: 38px;
	}

	.payform-inputs_text {
		width: calc(100% - 38px);
		padding: 0 0 0 15px;
	}

	.payform-inputs_header {
		margin-bottom: 30px;
		padding-left: 10px;
	}

	.payform-inputs_group INPUT {
		font-size: 13.9132px;
		line-height: 17px;
		padding: 18px 21px;
	}

	.payform-inputs_group {
		margin-bottom: 22px;
	}

	.payform-btn {
		padding: 18px 21px;
		font-size: 13.9132px;
		line-height: 17px;
	}

	.payform-confirm {
		font-size: 10.6395px;
		line-height: 13px;
		margin-top: 25px;
	}

	.payform-alert {
		margin-top: 23px;
		height: 50px;
	}

	.payform-inalert {
		font-size: 13px;
		width: 219px;
		height: 50px;
		line-height: 50px;
	}

	.payform-back {
		left: 0;
		top: -21px;
	}
}
