.title_pay {
	padding-top: 40px;
}
.main_title {
	padding: 20px 0;
}
.top_line{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

.number,
.line{
	border: 1px solid #3eb5f1;
}

.number{
	width: 50px;
	height: 50px;
	text-align: center;
	vertical-align: middle;
	border-width: 2px;
	font-size: 30px;
	line-height: 1em;
	padding: 0;
}

.line{
	width: 120%;
	margin-right: -20%;
}

.number{
	border-radius: 100%;
	padding: 10px;
}

.main{
	background: url("../img/pay/pay_back.jpg") 0 0 no-repeat;
	position: relative;
}

.main_container{
	max-width: 83%;
	margin: 0 auto;
	padding-bottom: 8%;
}

.main_title{
	color: #3eb5f1;
	text-transform: uppercase;
	margin: 10px 0px;
}

.number,
.line_1,
.line_2{
	border: 1px solid #3eb5f1;
}

.number{
	width: 50px;
	height: 50px;
	text-align: center;
	vertical-align: middle;
	border-width: 2px;
	font-size: 30px;
	line-height: 1em;
	padding: 0;
}

.line_2{
	width: 107%;
	margin-right: -20%;
}

.line_1{
	width: 21%;
	margin-left: -20%;
}


.number{
	border-radius: 100%;
	padding: 10px;
}

.step_1{
	margin: 20px auto;
	display: flex;
	flex-direction: column;
}

.step_1 .form_block{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.step_1 .form_block .right{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 32%;
}

.step_1 .form_block .left{
	width: 65%;
}

.step_1 .form_block .left input,
.step_1 .form_block .right input,
.step_1 .form_block .left select{
	width: 100%;
	padding: 15px 30px;
	border: 1px solid #3eb5f1;
	border-radius: 40px;
	outline: none;
}

.step_1 .form_block .left label,
.step_1 .form_block .right label{
	width: 100%;
	margin-top: 10px;
}

.step_1 .form_block .right input{
	width: 100%;
}

.step_1 .form_block .input_title{
	margin: 0 30px;
	font-weight: bold;
	font-size: 24px;
	padding-bottom: 10px;
}

.step_1 .form_block .small_text{
	font-size: 12px;
	margin-left: 30px;
}

.step_1 .form_block .input_title::after{
	content: "*";
	color: #3eb5f1;
}


.step_1 .form_block input[placeholder]{
	font-size: 18px;
}
.step_1 .form_block input::-moz-placeholder{
	font-size: 18px;
} 
.step_1 .form_block input:-moz-placeholder{
	font-size: 18px;
} 
.step_1 .form_block input:-ms-input-placeholder{
	font-size: 18px;
} 

.step_1 .tip{
	font-size: 16px;
	font-weight: bold;
	margin-left: 30px;	
}

.step_1 .tip::before{
	content: "*";
	color: #3eb5f1;
}

.step_1 .button{
	width: 30%;
	background-color: #3eb5f1;
	color: white;
	border: none;
	border-radius: 40px;
	padding: 20px 30px;
	font-size: 24px;
	margin-right: 0;
	margin-left: auto;
	margin-top: 5%;
	cursor: pointer;
}

.decor{
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.decor img{
	width: 100%;
}

.step_1 .form_block div.select {
  display:flex;
  flex-direction: column;
  position:relative;
  border: 1px solid #3eb5f1;
  border-radius: 40px;
  outline: none;
  /*width:250px;*/
  /*height:40px;*/
}

.step_1 .form_block .option {
  padding:0 30px 0 10px;
  min-height:40px;
  display:flex;
  align-items:center;
  position:absolute;
  top:0;
  width: 100%;
  pointer-events:none;
  order:2;
  z-index:1;
  transition:background .4s ease-in-out;
  box-sizing:border-box;
  overflow:hidden;
  white-space:nowrap;
  
}

.step_1 .form_block .option:hover {
  background:none;
}

.step_1 .form_block .select:focus .option {
  position:relative;
  pointer-events:all;
}

.step_1 .form_block .select input {
  opacity:0;
  position:absolute;
  left:-99999px;
  
}

.step_1 .form_block .select label{
	padding: 20px 30px;
	font-size: 24px;
	margin: 0;
	line-height: 1em;
	color: #969696;
	border-radius: 40px;
	font-weight: normal;
}

.step_1 .form_block .select input:checked + label {
  order: 1;
  z-index:2;
  background:none;
  position:relative;
}

/*.select input:checked + label:after {
  content:'';
  width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid white;
  position:absolute;
  right:10px;
  top:calc(50% - 2.5px);
  pointer-events:none;
  z-index:3;
}*/

.step_1 .form_block .select input:checked + label:before {
  position:absolute;
  right:0;
  height: 40px;
  width: 40px;
  content: '';
  background:none;
}
.step_1 .check-label {
	padding-left: 25px;
	font-size: 12px;
}
.step_1 .check-box-pd {
	width: 20px !important;
}
.text-error {
	color: red;
	font-size: 16px;
}
 
@media screen and (max-width: 1700px){
	form.step_1{
		max-width: 90%;
	}
}

@media screen and (max-width: 1600px){
	form.step_1{
		max-width: 100%;
	}
}

@media screen and (max-width: 1400px){
	.main_container{
		max-width: 93%;
	}

	.header_title{
		font-size: 40px;
	}

	.main_container{
		padding-bottom: 12%;
	}
	.step_1 .form_block .input_title {
		font-size: 18px;
	}
}

@media screen and (max-width: 1270px){
	.step_1 .form_block .right{
		min-width: 380px;
		margin-left: 15px;
	}

	.step_1 .button{
		min-width: 380px;
	}
}

@media screen and (max-width: 1180px){

	.step_1 .button{
		font-size: 24px;
	}
}

@media screen and (max-width: 1024px){

	.dropdown .btn, .dropdown.show .btn, .dropdown 
	.btn-secondary:not(:disabled):not(.disabled).active, 
	.dropdown .btn-secondary:not(:disabled):not(.disabled):active, 
	.dropdown .show>.btn-secondary.dropdown-toggle{
		background: url("../img/pay/hamburger.svg") center center no-repeat
	}

	.header_title{
		font-size: 32px;
	}

	.main_title{
		font-size: 26px;
	}

	form.step_1{
		margin: 0 auto;
	}
}


@media screen and (max-width: 970px){
	.header_title{
		font-size: 28px;
	}

	.main_title{
		font-size: 22px;
	}

	.step_1 .form_block{
		flex-direction: column;
	}

	.step_1 .form_block .right,
	.step_1 .button{
		min-width: 0;
		width: 100%;
		margin-left: 0;
	}

	.step_1 .form_block .left{
		width: 100%;
	}

	.step_1 .form_block .small_text{
		margin-bottom: 0;
	}

	.step_1 .form_block .right br{
		display: none;
	}
}


@media screen and (max-width: 768px){

	.header_title{
		font-size: 24px;
	}

	.step_1 .button{
		width: 100%;
		margin: 40px auto;
	}

	.header_title{
		padding: 5% 0;
	}

	.decor img{
		width: 130%;
		margin: 0 auto;
	}

}

@media screen and (max-width: 650px){
	.main_title{
		margin-left: 0;
	}

	.step_1 .form_block input[placeholder]{
		font-size: 20px;
	}

	.step_1 .form_block .input_title{
		font-size: 20px;
	}

	.main{
		background: none;
	}
}


@media screen and (max-width: 550px){
	.main_title{
		margin-left: 0;
		line-height: 1.4em;
		text-align: center;
	}

	.header_title{
		line-height: 1.4em;
	}

}

@media screen and (max-width: 480px){
	form.step_1{
		max-width: 93%;
	}

	.decor img{
		width: 200%;
	}

	.main_title{
		text-align: center;
		max-width: none;
	}

	.step_1 .form_block .card_text b{
		font-size: 18px;
	}

}

@media screen and (max-width: 400px){

	.step_1 .button{
		font-size: 22px;
	}
}

@media screen and (max-width: 360px){
	.header_title,
	.main_title,
	.step_1 .button{
		font-size: 18px;
	}
}



.step_2{
	margin: 20px auto;
	display: flex;
	flex-direction: column;
}

.step_2 .card_block {
	display: flex;
	justify-content: space-around;
	flex-flow: row wrap;
}

.step_2 .card{
	width: 48%;
	padding: 7% 3% 1% 3%;
	border: none;
	margin-top: 20px;
}

.step_2 .card_1{
	background: url("../img/pay/pay_back-red.jpg") no-repeat;
	width: 98%;
	background-size: cover;
}
.step_2 .card_2{
	background: url("../img/pay/pack_2_back.jpg") 100% 0 no-repeat;
}
.step_2 .card_2.rent {
	background: url("../img/pay/2800.jpg") 100% 0 no-repeat;
}
.step_2 .card_2.total-sell{
	background: url("../img/pay/12.jpg") 100% 0 no-repeat;
}
.step_2 .card_3.total-sell {
	background: url("../img/pay/6.jpg") 100% 0 no-repeat;
}
.step_2 .card_3.rent {
	background: url("../img/pay/pack_2_back.jpg") 100% 0 no-repeat;	
}
.step_2 .card_3{
	background: url("../img/pay/pack_3_back.jpg") 100% 0 no-repeat;
}
.step_2 .card_4{
	background: url("../img/pay/pack_4_back.jpg") 100% 0 no-repeat;
}
.step_2 .card_5{
	background: url("../img/pay/pack_5_back.jpg") 100% 0 no-repeat;
}
.step_2 .card_6{
	background: url("../img/pay/pack_6_back.jpg") 100% 0 no-repeat;
}

.step_2 .pack{
	font-size: 32px;
	text-transform: uppercase;
}
.step_2 .choose_package:hover {
	cursor: pointer;
}
.step_2 .pack_size{
	font-size: 32px;
	text-align: center;
	text-transform: uppercase;
	color: #7fccf5;
	font-weight: bold;
}

.step_2 .price{
	display: flex;
	flex-direction: row;
	font-size: 24px;
	white-space: nowrap;
	margin-top: 10%;
	margin-left: auto;
  	margin-right: 0;
}

.step_2 .price p:nth-child(1){
	font-size: 24px;
	line-height: 1.4em;
}

.step_2 .price p:nth-child(1)::before{
	content: "*";
	color:  #7fccf5;
	font-size: 20px;
}

.step_2 .price p:nth-child(2){
	font-size: 60px;
	line-height: 1em;
	margin-left: 5px;
}
.step_2 .price p:nth-child(3){
	font-size: 36px;
	line-height: 1em;
}

.step_2 .card_text{
	font-size: 14px;
}

.step_2 .card_text b{
	font-size: 24px;
	font-weight: bold;
}

.step_2 label{
	display: flex;
	flex-direction: row;
	align-items: center;
	background: white;
	padding: 25px 50px;
	border-radius: 40px;
}

.step_2 label p{
	line-height: 1em;
	margin: 0;
	margin-left: 10px;
	font-size: 22px;
	font-weight: 600;
}

.step_2 .tip{
	font-size: 14px;
	margin-top: 10px;
	margin-bottom: 0;
}

.step_2 .tip::before{
	content: "*";
	color:  #7fccf5;
}

.step_2 .button{
	width: 30%;
	background-color: #3eb5f1;
	color: white;
	border: none;
	border-radius: 40px;
	padding: 20px 30px;
	font-size: 24px;
	margin-right: 0;
	margin-left: auto;
	margin-top: 5%;
	cursor: pointer;
}


@media screen and (max-width: 1800px){
	.step_2 .card{
		padding: 7% 1% 1% 1%;
	}

}

@media screen and (max-width: 1600px){
	.step_2 {
		max-width: 100%;
	}

}

@media screen and (max-width: 1400px){
	.step_2 .price p:nth-child(2){
		font-size: 48px;
	}

	.step_2 .card{
		background-position: 0 0;
	}

	.step_2 .pack,
	.step_2 .pack_size{
		font-size: 24px;
	}
}

@media screen and (max-width: 1180px){
	.step_2 .pack,
	.step_2 .pack_size{
		font-size: 24px;
	}

	.step_2 label{
		padding: 20px 30px;
	}

	.step_2 .price p:nth-child(2){
		font-size: 36px;
	}

	.step_2 .price p:nth-child(3){
		font-size: 28px;
	}

	.step_2 .button{
		font-size: 24px;
	}

	.step_2 .card{
		background-position: 30% 0;
	}
}

@media screen and (max-width: 1024px){
	.step_2 .card{
		width: 48%;
		padding: 7% 4% 1% 4%;
	}

	.step_2 .pack,
	.step_2 .pack_size{
		font-size: 22px;
	}

	.step_2 .price p:nth-child(2){
		font-size: 32px;
	}

	.step_2 .price p:nth-child(3){
		font-size: 26px;
	}

	.step_2 {
		margin: 0 auto;
	}

	.step_2 .button{
		width: 48%;
		font-size: 22px;
	}

}

@media screen and (max-width: 920px){
	.step_2 .pack,
	.step_2 .pack_size{
		font-size: 28px;
	}

	.step_2 .price p:nth-child(2){
		font-size: 42px;
	}

	.step_2 .price p:nth-child(3){
		font-size: 32px;
	}
	.step_2 nobr {
		white-space: inherit;
	}
}


@media screen and (max-width: 768px){

	.step_2 {
		max-width: 90%;
	}

	.step_2 .card{
		width: 100%;
		padding: 10% 20px 5% 20px;
	}

	.step_2 .pack,
	.step_2 .pack_size{
		font-size: 28px;
	}

	.step_2 .price p:nth-child(2){
		font-size: 40px;
	}

	.step_2 .price p:nth-child(3){
		font-size: 32px;
	}

	.step_2 .button{
		width: 100%;
		margin: 40px auto;
	}
}

@media screen and (max-width: 650px){
	.step_2{
		max-width: 90%;
	}

	.step_2 .card{
		padding: 10% 5% 5% 5%;
	}

}


@media screen and (max-width: 550px){
	.step_2{
		max-width: 90%;
	}

	
}

@media screen and (max-width: 480px){
	.step_2{
		max-width: 93%;
	}
	.step_2 .card_text b{
		font-size: 18px;
	}

}

@media screen and (max-width: 400px){
	.step_2 .pack, .step_2 .pack_size{
		font-size: 22px;
	}

	.step_2 .price p:nth-child(1){
		font-size: 18px;
	}

	.step_2 .price p:nth-child(2){
		font-size: 34px;
	}

	.step_2 .price p:nth-child(3){
		font-size: 26px;
	}

	.step_2 .button{
		font-size: 22px;
	}

}

@media screen and (max-width: 360px){
	.step_2 label p{
		font-size: 18px;
	}

	.step_2 .button{
		font-size: 18px;
	}
}


.step_3{
	margin: 20px auto;
	display: flex;
	flex-direction: column;
}

.step_3 .radio_block span{
	font-size: 24px;
}

.step_3 .radio_block label{
	margin-top: 2%;
}

.step_3 .radio_block label input{
	margin-right: 20px;
}


.step_3 .button{
	width: 30%;
	background-color: #3eb5f1;
	color: white;
	border: none;
	border-radius: 40px;
	padding: 20px 30px;
	font-size: 24px;
	margin-right: 0;
	margin-left: auto;
	margin-top: 5%;
	cursor: pointer;
}

.step_3 label br{
	display: none;
}

@media screen and (max-width: 1600px){
	form.step_3 {
		max-width: 100%;
	}

}
@media screen and (max-width: 1180px){


	.step_3 .button{
		font-size: 24px;
	}

}

@media screen and (max-width: 1024px){
	form.step_3{
		margin: 0 auto;
	}

	.step_3 .button{
		width: 48%;
		font-size: 28px;
	}

}

@media screen and (max-width: 768px){
	.step_3 .button{
		max-width: 380px;
		width: 100%;
		margin: 40px auto;
	}
	.step_3 .radio_block span{
		font-size: 20px;
	}

	.step_3 .radio_block label input{
		margin-right: 10px;
	}

	.step_3 .radio_block label{
		margin-top: 5px;
	}

}

@media screen and (max-width: 480px){
	form.step_3 {
		max-width: 93%;
	}
	.step_3 .radio_block span{
		font-size: 18px;
	}
}

@media screen and (max-width: 400px){

	.step_3 .button{
		font-size: 22px;
	}

	.step_3 .radio_block span{
		font-size: 18px;
	}

	.step_3 label br{
		display: block;
	}

	.step_3 label nobr{
		display: block;
		margin-left: 25px;
	}

}

@media screen and (max-width: 360px){
	.step_3 .button{
		font-size: 18px;
	}
}


/*#################### NEW STYLES #########################*/

.two-sided {
	width: 55%;
}

.card_1 {
	display: flex;
	align-items: flex-end;
}

.two-sided img {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 45%;
}

.step_2 .price p:nth-child(1)::before {
	display: none;
}

.diploma-descr::before {
	content: "*";
	color: #fe2a2a;
	font-size: 16px;
}

.two-sided span {
	color: #fe2a2a;
}

.two-sided .spec-banner {
	margin-top: 0;
}

.step_2 .pack_size {
	text-align: left;
}

.step_2 label p { 
	color: #334b7d;
}

@media(max-width: 1024px) {
	.two-sided {
		width: 65%;
	}
	.two-sided img {
		width: 35%;
	}
	.step_2 .card_block .card_1 {
		width: 98%!important;
	}
}

@media(max-width: 768px) {
	.two-sided {
		width: 100%;
	}
	.two-sided img {
		display: none;
	}
}



/*#################### NEW STYLES #########################*/