.template_form_popup {
	position: relative;
	max-width: 300px;
}

.template_form_popup h2.module_title {
	margin: 0;
	color: #fff;
	background: #3c4e64 url(../img/bg_form_popup_header.jpg) no-repeat center;
	background-size: cover;
	padding: 20px 40px;

	font-size: 16px;
	font-weight: bold;
	line-height: 1.25;
	text-transform: uppercase;
	text-align: center;
}

.template_form_popup .module_body {
	background: #fff;
	padding: 35px 20px;
	font-size: 0;
}

.template_form_popup .module_body .uploadfile
{
	width: 100%;
}

.template_form_popup .module_body .option_field_list,.template_form_popup .module_body .uploadfile
{
	font-size: 12px;
	list-style: none;
}

.template_form_popup .module_body .checkbox .field_title ,.template_form_popup .module_body .uploadfile .field_title
{
	display: inline-block;
	width: 100%;
	vertical-align: top;
	background: #e7f2ff;
	border: none;
	color: #000;
	font-size: 14px;
	line-height: 15px;
	font-weight: 500;
	padding: 15px;
	border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;


}

.template_form_popup .module_body .uploadfile .upload_zone
{
	color: #646C7F;
	padding: 15px;
	border: 2px dashed rgba(0,0,0,0.1);
	border-radius: 6px;
	width: 100%;
	margin:10px 0px;

}

.template_form_popup .module_body .uploadfile .upload_zone .dz-preview
{
	padding: 10px;
}

.dz-success-mark, .dz-error-mark, .dz-image, .dz-size
{
	display: none;
}

.dz-filename
{
	font-weight: bold;
	font-size: 15px;
}

.template_form_popup .module_body .checkbox .field_edit:before
{
	display: none;
}


.field_option_checkbox, .field_option_title
{
	display: inline-block;
}

.template_form_popup .field_row {
	margin-bottom: 15px;
}

.template_form_popup .field_row:last-child {
	margin-bottom: 0;
}

.template_form_popup .field_row .field_edit:before {
	content: '';
	display: inline-block;
	vertical-align: top;
	width: 47px;
	height: 45px;
	background: #4a99fe url(../img/icon-man-white.png) no-repeat center;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.template_form_popup .field_row.phone .field_edit:before,
.template_form_popup .field_row.vash_telefon .field_edit:before {
	background-image: url(../img/icon-phone-white.png);
}

.template_form_popup .field_row.mail .field_edit:before {
	background-image: url(../img/icon-mail-white.png);
}

.template_form_popup .field_row.company .field_edit:before,
.template_form_popup .field_row.name_ur_lico .field_edit:before {
	background-image: url(../img/icon-company-white.png);
}

.template_form_popup .field_row.upload_declor {
	position: relative;
}

.template_form_popup .field_row.upload_declor .field_edit:before {
	display: none;
}

.template_form_popup .field_row.upload_declor input[type="file"] {
	display: none;
}

.template_form_popup .field_row.upload_declor a {
	font-size: 10px;
	font-weight: 500;
	display: block;
	position: relative;
	min-height: 45px;
	padding: 5px;
	padding-left: 62px;
	padding-right: 20px;
	cursor: pointer;
}

.template_form_popup .field_row.upload_declor a:before {
	content: '';
	position: absolute;
	z-index: 1;
	width: 47px;
	height: 45px;
	top: 0;
	left: 0;
	background: #5a6ed5 url(../img/icon-file.png) no-repeat center;
}

.template_form_popup .files_count {
	position: absolute;
	z-index: 2;
	background: #4554a4;
	border-radius: 50%;
	color: #fff;
	font-weight: 500;
	font-size: 10px;
	width: 15px;
	height: 15px;
	text-align: center;
	line-height: 15px;
	top: -5px;
	left: 39px;
}

.template_form_popup .button_mod_feedback {
	padding-top: 15px;
	border-radius: 0;
}

.template_form_popup .field_row_text .field_edit:before,
.template_form_popup .button_mod_feedback .field_edit:before {
	display: none;
}

.template_form_popup input[type="text"],
.template_form_popup input[type="number"],
.template_form_popup input[type="email"] {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 47px);
	background: #e7f2ff;
	border: none;
	color: #000;
	font-size: 14px;
	line-height: 15px;
	font-weight: 500;
	padding: 15px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.template_form_popup textarea {
	display: block;
	width: 100%;
	height: 100px;
	resize: vertical;
	background: #e7f2ff;
	border: none;
	color: #000;
	font-size: 14px;
	line-height: 15px;
	font-weight: 500;
	padding: 15px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.template_form_popup .button_mod_feedback input[type="submit"] {
	display: block;
	width: 100%;
	border-radius: 5px;
	padding: 15px 25px;
	font-size: 16px;
	line-height: 1.25;
	color: #fff;
	background: #4a99fe;
	background: linear-gradient(to right, #5b6fd6, #6277e3);
	border: none;
	cursor: pointer;
}

.template_form_popup .button_mod_feedback input[type="submit"]:hover,
.template_form_popup .button_mod_feedback input[type="submit"]:active,
.template_form_popup .button_mod_feedback input[type="submit"]:focus {
	background: #316ec2;
	background: linear-gradient(to right, #3170c3, #4690ef);
}

.template_form_popup .checkboxes_title {
	font-weight: 500;
	margin-bottom: 10px;
}

.template_form_popup .checkboxes_item {
	margin-bottom: 10px;
}

.template_form_popup .checkboxes_item:last-child {
	margin-bottom: 0;
}

.template_form_popup .checkboxes input[type="checkbox"] {
	display: none;
}

.template_form_popup .checkboxes label {
	position: relative;
	padding-left: 40px;
	display: block;
	cursor: pointer;
	line-height: 1.25;
}

.template_form_popup .checkboxes label:before {
	content: '';
	position: absolute;
	z-index: 1;
	left: 0;
	top: 5px;
	width: 30px;
	height: 30px;
	background: #e7eced;
}

.template_form_popup .checkboxes input[type="checkbox"]:checked + label:before {
	background: #e7eced url(../img/checked.png) no-repeat;
	background-size: 30px 30px;
}

@media (min-width: 1200px) {
	.template_form_popup {
		max-width: 520px;
		width: 520px;
	}

	.template_form_popup h2.module_title {
		padding: 20px;
	}

	.template_form_popup .upload_declor,
	.template_form_popup .upload_declor + .button_mod_feedback {
		display: inline-block;
		vertical-align: top;
		margin-top: 15px;
	}

	.form_footer {
		font-size: 0;
		padding-top: 15px;
	}

	.template_form_popup .upload_declor  {
		width: 45%;
	}

	.template_form_popup .upload_declor + .button_mod_feedback {
		width: 55%;
		padding-top: 0;
	}
}


.template_form_popup .upload_zone input
{
	display: none;
}

.template_form_popup .upload_zone .upload_files .field_edit::before
{
	display: none;
}