

/* Start:/local/templates/npfd_red_new/components/bitrix/form.result.new/red_writeletter/style.css?17055910587554*/
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(/local/templates/npfd_red_new/components/bitrix/form.result.new/red_writeletter/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(/local/templates/npfd_red_new/components/bitrix/form.result.new/red_writeletter/images/icon_warn.gif);
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 99999;
		-webkit-transition: opacity .5s;
		-moz-transition: opacity .5s;
		-ms-transition: opacity .5s;
		-o-transition: opacity .5s;
		transition: opacity .5s;
}
.popup {
	background-color: #fff;
	border: 3px solid #fff;
	display: inline-block;
	left: 50%;
	opacity: 0;
	padding: 15px;
	width: 300px;
	height: 323px;
	position: fixed;
	text-align: justify;
	top: 40%;
	visibility: hidden;
	z-index: 999999;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: opacity .5s, top .5s;
	-moz-transition: opacity .5s, top .5s;
	-ms-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
	border-radius: 11px;
}
.popup .close_order {
	width: 6px;
	height: 17px;
	position: absolute;
	padding: 1px 9px 4px 9px;
	top: -15px;
	right: -15px;
	cursor: pointer;
	color: #fff;
	font-family: 'tahoma', sans-serif;
	background: -webkit-gradient(linear, left top, right top, from(#3d51c8), to(#051fb8));
	background: -webkit-linear-gradient(top, #3d51c8, #051fb8);
	background: -moz-linear-gradient(top, #3d51c8, #051fb8);
	background: -o-linear-gradient(top, #3d51c8, #051fb8);
	background: -ms-linear-gradient(top, #3d51c8, #051fb8);
	background: linear-gradient(top, #3d51c8, #051fb8);
	background-color: #3d51c8;
	border: 1px solid #061fb8;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
	text-align: center;
	box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.5);
}
.popup .close_order:hover {
	background: -webkit-gradient(linear, left top, right top, from(#051fb8), to(#3d51c8));
	background: -webkit-linear-gradient(top, #051fb8, #3d51c8);
	background: -moz-linear-gradient(top, #ff5f0, #3d51c87);
	background: -o-linear-gradient(top, #051fb8, #3d51c8);
	background: -ms-linear-gradient(top, #051fb8, #3d51c8);
	background: linear-gradient(top, #051fb8, #3d51c8);
	background-color: #051fb8;
	border: 1px solid #00385E;
}
.popup .close_order:active {
	background: #8f9be0;
}


p.form-notice{
	margin: 10px 0;
	font-style: italic;
}
span.required{
	color: red;
}

#FORM_IP20170203 form select{
	border: 1px solid #646463;
	border-width: 1px !important;
	height: 30px;
	width: 100%;
	background: #fff;
	padding: 0 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-top: 9px;
}

#FORM_IP20170203 .row.agree label:after{
	content: '*';
	color: red;
	margin: 0 0 0 5px;
}
/*
#FORM_IP20170203 form input[required]:valid,
#FORM_IP20170203 form textarea[required]:valid,
#FORM_IP20170203 form select.valid{
	border: 1px solid #30b752 !important;
}
*/
#FORM_IP20170203 form .btn,
#FORM_IP20170203 form .btn:hover{
	background: #aaa;
}
#FORM_IP20170203 form .btn.valid-btn {
	background: #d53631;
}

.callme #FORM_IP20170203 form .col-2{
	width: 220px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

@media (max-width: 767px) {
	.callme #FORM_IP20170203 form .col-2 {
		width: 100%;
	}
}

.callme .agree label{
	margin: 0;
	padding: 0;
	top: 0;
	left: 5px;
}

.field-attention {
	position: relative;
}

.icon-attention {
	position: absolute;
	width: 35px;
	height: 35px;
	right: -40px;
	top: 30px;
}

#FORM_IP20170203 input, #FORM_IP20170203 select {
	position: relative;
}

.popup-attention {
	display: none;
	position: absolute;
	background: #fff;
	z-index: 10;
	border: 2px solid red;
	border-radius: 2px;
}

.popup-attention .popup-wrap {
	position: relative;
	width: 440px;
	height: 30px;
	font-size: 12px;
	color: #000;
	font-weight: bold;
	text-align: center;
	margin: 10px;
}

.popup-attention .popup-wrap:before, .popup-attention .popup-wrap:after {
	content: '';
	display: block;
	position: absolute;
	top: 40px;
	width: 0;
	height: 0;
	border: solid transparent;
}

.popup-attention .popup-wrap:before {
	left: 5px;
	border-top-color: #f00;
	border-width: 10px;
}

.popup-attention .popup-wrap:after {
	left: 7px;
	border-top-color: #fff;
	border-width: 8px;
}

.mark-error {
	outline-color: red;
	outline-style: solid;
	outline-width: 2px;
	outline-offset: -2px;
}

.mark-success {
	outline-width: 0;
}

.description-popup {
	display: none;
	position: absolute;
	background: #fff;
	z-index: 10;
	right: -370px;
	top: 13px;
	/*border: 2px solid rgb(77, 144, 254);*/
	border: 2px solid #000;
	border-radius: 2px;
	margin: 10px;
}

.icon-attention:hover + .description-popup {
	display: block;
}

.description-popup .popup-wrap {
	width: 300px;
	height: 50px;
	font-size: 14px;
	color: #000;
	font-weight: bold;
	text-align: center;
	padding: 5px;
	vertical-align: middle;
	display: table-cell;
}

.description-popup .popup-wrap:before, .description-popup .popup-wrap:after {
	content: '';
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border: solid transparent;
}

.description-popup .popup-wrap:before {
	left: -20px;
	top: 11px;
	/*border-right-color: rgb(77, 144, 254);*/
	border-right-color: #000;
	border-width: 10px;
}

.description-popup .popup-wrap:after {
	top: 13px;
	left: -16px;
	border-right-color: #fff;
	border-width: 8px;
}

@media (max-width: 1280px) {
	.description-popup {
		top: 100%;
		right: -40px;
	}
	.description-popup .popup-wrap:before {
		left: auto;
		right: -2px;
		top: -20px;
		border-right-color: transparent;
		border-bottom-color: #000;
	}
	.description-popup .popup-wrap:after {
		left: auto;
		right: 0;
		top: -15px;
		border-right-color: transparent;
		border-bottom-color: #fff;
	}
}

.symbol-counter {
	float: right;
	color: #aaa;
	font-size: 16px;
	position: relative;
	top: 3px;
}

.error-block {
	padding: 23px 0 0;
}

.errors{
	color: red;
	font-size: 16px;
	display: none;
	margin-top: 10px;
	font-style: italic;
}
.error{
	border: 1px solid red !important;
}

.col-1.fio {
	display: none;
}

input[type="file"] {
	display: block;
	margin-top: 8px;
}

.files {
	width: 100%;
	position: relative;
	margin: 15px 0;
}

.files__file {
	opacity: 0;
	visibility: hidden;
	position: absolute;
}

.files__file-button-text {
	line-height: 1;
	margin-top: 1px;
}

.files .files__file-button {
	width: 100%;
	max-width: 160px;
	height: 40px;
	background: #e32a1a;
	padding-left: 15px;
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	cursor: pointer;
	margin-top: 8px;
}

.row.files #inputFile {
	height: 0;
	margin-top: 0;
}

.row.textarea.field-attention {
	padding-top: 0;
}
/* End */
/* /local/templates/npfd_red_new/components/bitrix/form.result.new/red_writeletter/style.css?17055910587554 */
