table.form-table
{
	width:100%;
	background-color:white;
	border-collapse:collapse;
	font-size:100%;
	font-weight:normal;
	line-height:160%;
}

table.form-table th, table.form-table td
{
	border:1px solid #ADC3D5;
	padding: 5px 5px;
	vertical-align:top;
}

table.form-table th
{
	background-image:url(images/table_head.gif);
	background-repeat:repeat-x;
	text-align: left;
	color:#25639A;
}


table.form-table td
{
	padding: 15px 5px;
}

.form-required 
{
	color: red;
}

.error-fld {
	display: block;
	float: left;
	height: 13px;
	width: 15px;
	background-repeat: no-repeat;
	background-image: url(images/icon_warn.gif);
	position: relative;
}
.modal_form_wrapper{
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background-color: #0F152180;
	z-index: 100;
	transition: 0.5s;
	display: none;
	opacity: 0;

}

.modal_form_wrapper_item{
	max-width: 592px;
	max-height: 377px;
	width: 100%;
	padding: 60px 15px 25px 15px;
	margin: 250px auto 0 auto;

	-webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.5);
	box-shadow: 0 5px 15px rgba(0,0,0,0.5);
	position: relative;
	height: 100%;
	background-image: url(images/fbg.png) !important;
	background-size: cover;
	background-color: #fff;
}

.form_caption{
	display: block;
}
.modal_form_wrapper_item form{
	text-align: center;
}

.modal_form_wrapper_item input[type="text"]{
	width: 90%;
	display: block;
	margin: 0 auto;
	font-size: 20px;
	border: 0;
	border-bottom: 1px solid #bfbfbf;
	padding-bottom: 15px;
}

.modal_form_wrapper_item input[type="text"]:focus{
	outline: 0;
}

.text_description{
	font-size: 24px;
	line-height: 1.1;
	text-align: center;
	color: #000;
	font-weight: bold;
	margin-bottom: 20px;
}

.text_description_second{
	font-size: 16px;
	font-weight: 300;
	line-height: 19.2px;
	text-align: center;
}

.form__curse_submit{
	display:block;
	padding: 10px 15px;
	margin: 15px auto 15px auto!important;
	background: linear-gradient(246.58deg, #71A800 38.68%, #3F6600 94.02%);
	border: #6ea800;
	color: #fff;
	font-size: 22px;
	text-align: center;
	width: 65%;
	border: 1px solid #fff;
	transition: 0.3s;
}

.form__curse_submit:hover{
	display:block;
	color: #71A800;
	background: #fff;
	border-top: 1px solid #71A800;
	border-bottom: 1px solid #71A800;


}

.close_modal_form{
	top: 8px;
	position: absolute;
	right: 10px;
	cursor: pointer;
	height: 24px;
	width: 24px;
	border-radius: 50%;
	display: block;
	text-align: center;
	transition: 0.2s;
	background-size: contain;
	background-repeat: no-repeat;
	border: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M18 -1.99988L-2 18.0001M8 8.00012L18 18.0001M-2 -1.99988L3 3.00012' stroke='%23878A90' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/*
.close_modal_form:before{
	position: absolute;
	content: ' ';
	display: block;
	width: 3px;
	height: 20px;
	background: #ccc;
	transform: rotate(45deg);
	right: 0;
	transition: 0.2s;
	right:8px;
}

.close_modal_form:after{
	position: absolute;
	content: ' ';
	display: block;
	width: 3px;
	background: #ccc;
	height: 20px;
	transform: rotate(-45deg);
	transition: 0.15s;
	right:8px;
}*/

.close_modal_form:hover:after{
	background: #000;
	transform: rotate(45deg);
}

.close_modal_form:hover:before{
	background: #000;
	transform: rotate(-45deg);
}

.third_description{
	font-size: 12px;
	margin: 15px 20px 25px;
	text-align: left;
}

.form_thanks{
	text-align: center;
	display: none;
}

.close_modal_form .close_form{
	font-size: 20px;
	color: #bfbfbf;
	transition: 0.2s;
}



.close_modal_form:hover{
	border-color: #4a4a4a;
}

.close_modal_form:hover .close_form{
	color: #4a4a4a;
}

.modal_form_wrapper_item .serv-page-form-label-box{
	background-color: #F3F3F3;
	border-radius: 4px;
}
.modal_form_wrapper_item .serv-page-form-text{
	color: #878A90;
	text-align: left;
}

.modal_form_wrapper_item input:checked + .serv-page-form-label-box{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Crect width='20' height='20' rx='4' fill='%23F3F3F3'/%3E%3Cpath d='M5 8.63636L9.21053 13L15 7' stroke='url(%23paint0_linear_2880_1450)' stroke-width='2'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_2880_1450' x1='13.6818' y1='2.5' x2='4.44495' y2='4.0944' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2388B23F'/%3E%3Cstop offset='1' stop-color='%23247238'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
}

#license_submit_4{
	width: 100%;
	max-width: 100%;
}

/* #license_submit_6{
	display: none;
} */

.modal_form_wrapper_item{
	margin: auto !important;
}

/* .popup-wrap{
	height: 100vh;
	display: flex;
} */

@media (max-width: 640px) {
	.modal_form_wrapper_item{
		max-width: 592px;
		max-height: none;
		width: 100%;
		padding: 54px 20px 25px 20px;
		margin: 250px auto 0 auto;
		-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
		position: relative;
		height: auto;
		border-radius: 15px;
	}
	.text_description{
font-size: 16px;
	}
	.text_description_second{
		font-size: 12px;
	}
	.form_disc {

		top: -92px;
		left: -92px;

		font-size: 27px;

	}
	.serv-page-form-agree{
		font-size: 10px;
	}
}
