*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body{
	background: url("../assets/bg.png");
	background-size: cover;
	padding: 60px 0;
}

/* Layout */
.ba-container{
	padding-left: 20px;
	padding-right: 20px;
	max-width: 1200px;
}
/* Typography */
a,
input[type="submit"],
input[type="button"],
button{
	-webkit-transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
	-moz-transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
	transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
}
input[type="submit"],
input[type="button"],
button,
.ba-button{
	display: inline-block;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {

	-webkit-transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
	-moz-transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
	transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
}
.form{
	background-color:  #ffffff;
	max-width: 336px;
	min-height: 532px;
	margin: auto;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	position: relative;
}
.form-head{
	background-color:  #f8edaf;
	width: 100%;
	height: 72px;
	padding: 20px 0 0 25px;
}
.form-head__title h1{
	color:  #6e7f7b;
	font-size: 14px;
	font-weight: 700;
}
.form-head__title h2{
	color:  #a6a28d;
	font-size: 10px;
	font-weight: 400;
	text-transform: uppercase;
}
.form-head__price{
	color:  #637570;
	font-size: 36px;
	font-weight: 500;
	position: absolute;
	right: 23px;
	top: 11px;
}
.form-payment{
	padding: 25px 23px 0 24px;
	color:  #727f82;
	font-size: 13px;
}
.form-payment__label{
	color:  #9eabad;
	font-size: 13px;
	font-weight: 400;
}
.form-payment__input{
	border: 2px solid #bac8cb;
	width: 100%;
	height: 44px;
	margin-top: 5px;
	margin-bottom: 28px;
	font-weight: 500;
	padding-left: 10px;
}
.form-payment__input:focus,
.form-payment__select:focus{
	border: 2px solid #82d4e7;
}
.flex-container{
	display: flex;
	/*flex-wrap: wrap;*/
	justify-content: space-between;
}
.form-payment__select{
	/*flex-grow: 1;*/
	flex-basis: 176px;
	border: 2px solid #bac8cb;
	height: 44px;
	display: inline-block;
	margin-top: 5px;
	margin-bottom: 28px;
	padding-left: 10px;
	color:  #727f82;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: url("../assets/triangle.png") 93% center no-repeat;
}
.form-payment__select:nth-child(2){
	flex-basis: 96px;
	background-position-x: 88%;
}
.form-payment__select option:first-child:checked{
	display: none;
}
#cvv{
	width: 96px;
	margin-right: 9px;
}
.form-payment__input + p{
	display: inline-block;
	font-size: 12px;
	color:  #9eabad;
}
.form-payment__input + p > a{
	color:  #9eabad;
	border-bottom: 1px solid #9eabad;
	padding-bottom: 2px;
}
.form-payment__input + p > a:hover,
.form-payment__cancel:hover{
	border-bottom: 1px dashed #606a6c;
	color: #606a6c;
	transform: scale(1.1);
}
hr{
	opacity: 0.35;
	margin-top: 10px;
}
.form-payment__submit{
	background-color:  #25b86a;
	width: 100%;
	height: 48px;
	border: none;
	color:  #ffffff;
	font-size: 20px;
	font-weight: 700;
	margin-top: 31px;
}
.form-payment__submit:hover{
	background-color:  #fff;
	border: 2px solid #25b86a;
	color: #25b86a;
}
.form-payment__cancel{
	color:  #9eabad;
	font-size: 12px;
	border-bottom: 1px solid #9eabad;
	text-decoration: none;
	display: block;
	width: 79px;
	margin: 18px auto 0;
}