* {
	box-sizing: border-box;
}

body {
	width: 100%;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	background-color: #f3f6fb;
}

a {
	color: #ff316b;
	text-decoration: none;
	border-bottom: 1px solid #ff316b41;
	transition: 0.3s all ease;
}

a:hover {
	border-bottom-color: transparent;
}

.container {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	padding: 0 20px;
}

.payForm {
	width: 100%;
	max-width: 640px;
	/* min-width: 400px; */
	margin: 0 auto;
	padding: 20px;
	border-radius: 10px;
	background-color: #fff;
	padding-bottom: 40px;
	margin-bottom: 40px;
}

.logo-wrap {
	text-align: center;
	margin: 20px 0;
}

.logo {
	max-width: 200px;
}

h1 {
	text-align: center;
}

.tabs {
	display:flex;
	margin-bottom: 30px;
}

.tabs-item {
	width : 50%;
	text-align: center;
	cursor: pointer;
	border-radius: 10px;
	padding: 10px;
	opacity: 0.6;
}

.tabs-item .inner {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	text-align: center;
}

.tabs-item .inner div{
	width: 100%;
}

.tabs-item.active {
	color: #fff;
	background-color: #ff316b;
	opacity: 1;
}

.payRow input {
	width: 100%;
	padding: 5px 10px;
	border: 1px solid #e5e5e5;
	outline: none;
	font-size: 18px;
	border-radius: 4px;
	margin-bottom: 20px;
	padding: 10px;
}
.payRow input:focus, .payRow input:hover {
	border-color: #f7e207!important;
}
.payRow input.submit {
	background: #f7e207;
	color: #282828;
	border: 0;
	/* width: 150px; */
	text-align: center;
	/* height: 40px; */
	font-size: 16px;
	border-radius: 30px;
	margin-top: 20px;
	cursor: pointer;
	outline: none;
	display: inline-block;
	padding: 20px 50px;
	width: auto;
}
.payRow.submit:hover, .payRow.submit:active {
	background: rgba(247, 226, 7, 0.8);
}

.payRow input.errorField {
	border: 1px solid red;
}

.payRow input.errorField:valid {
	border: 1px solid #e5e5e5;
}

.error {
	text-align: center;
}

.error-emoji {
	text-align: center;
}

.pay-systems {
	display : flex;
}

.pay-systems__item {
	padding: 20px;	
	width: 33%;
	text-align: center;
	font-size: 14px;
	font-weight: bold;;
}

.pay-systems__item img {
	margin-bottom: 20px;
}

@media screen and (max-width : 480px) {
	.pay-systems__item {
		color: #fff;
		padding: 10px;
		font-size: 0;
	}

	.pay-systems__item img {
		margin-bottom: 0px;
	}
	
}

.checkbox {
	position: relative;
	padding-left: 30px;
	cursor: pointer;
}

.checkbox:before {
	content : '';
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: #d1e0e3;
	display: block;
	position: absolute;
	left: 0;
}

label:after {
	color: red;
	font-size: 12px;
	content: '*';
	margin-left: 5px;
}

.checkbox.active:before {
	background-color: #ff316b;
	border: 4px solid #d1e0e3;
	width: 12px;
	height: 12px;
}

.checkbox.errorField:after {
	content : '';
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: red;
	position: absolute;
	left: -15px;
	top: 5px;
}

.checkbox.errorField.active:after {
	display: none;
}