.fade.in {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
}
.project-form {
    padding: 18px 28px;
    background: #e7e7e7;
    border: 1px solid #e0e3e3;
}
.project-form button.btn-close {
    position: absolute;
    left: auto;
    top: 4px;
    right: 12px;
    margin-bottom: 5px;
    border: none;
    font-size: 26px;
    width: 28px;
    background: none;
    color: #a1a9a9;
}
.project-form form {
    margin-top: 25px;
}
.modal-footer {
	background: #e0e3e3;
}
.project-form h4 {
    text-align: center;
    font-weight: 600;
    font-size: 21px;
    margin-top: -28px;
}
.modal-footer button.btn.btn-default {
    color: #000;
    text-transform: uppercase;
    border-radius: 18px;
    padding-bottom: 5px;
}
.project-form .project-form-field {
    padding: 3px 0;
    font-size: 14px;
}
textarea.inputtextarea {
	width: 100%;
	max-height: 73px;
	border: 1px solid #CCC;
    border-bottom-color: #B3B3B3;
    border-radius: 4px;
    background: #fff;
    color: #333;
    padding: 7px 10px 10px;
    border-radius: 4px;
	font-size: 16px;
}
.project-form-caption {
    margin-bottom: 5px;
}
.project-form .project-form-caption {
    display: inline-flex;
    width: 100%;
}
.project-form .project-form-caption:has(.uslugi) {
	width: 50%;
}
.project-form .project-form-caption:has(.soglasie-null) {
	width: 0%;
}
.soglasie-null {
    margin-right: 15px;
    position: relative;
    top: -4px;
    left: 15pt;
}
.soglasie-null font {
    margin-left: 0;
}
.project-form .project-form-value {
    display: inline-flex;
}
.project-form-value:has(input[name="form_checkbox_MONTAZH[]"]), .project-form-value:has(input[name="form_checkbox_PROJECT[]"]), .project-form-value:has(input[name="form_checkbox_RASCHET[]"]), .project-form-value:has(input[name="form_checkbox_POKUPKA[]"]), .project-form-value:has(input[name="form_checkbox_ANALOGI[]"]), .project-form-value:has(input[name="form_checkbox_OFERTA[]"]) {
    float: right;
    display: inline-flex;
    width: 10%;
}
.project-form-value input[type=checkbox] {
    width: 16px;
    height: 16px;
	float: left;
   /* margin-top: 2px;
    /*margin-left: 15px;*/
}
.project-form-value input[type=checkbox]:before {
    line-height: 1em;
    border-radius: 0.25em;
    display: flex;
    padding: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.project-form-value input[type=checkbox]:checked::before {
    content: '\2713';
    color: #2d328e;
    border: 1px inset #2d328e;
    background: #fdfdfd;
    font-weight: 600;
    width: 16px;
    height: 16px;
}
.contacts-form-note {
    text-align: center;
    margin: 55px;
}
input[name="form_text_12"], input[name="form_text_13"], input[name="form_email_14"] {
    height: 30px;
	border: 1px solid #CCC;
    border-bottom-color: #B3B3B3;
    border-radius: 4px;
    background: #fff;
    color: #333;
    width: 100%;
    padding: 0 10px;
    border-radius: 4px;
    max-width: 360px;
	font-size: 16px;
}
.project-form-caption .comments-title {
    margin-bottom: 10px;
}
.project-form-value:has(input[name="form_checkbox_SOGLASIE[]"]) label {
    margin-left: 10px;
    margin-bottom: 0;
    margin-top: 2px;
}
.project-form-value:has(input[name="form_checkbox_SOGLASIE[]"]) {
    display: inline-flex;
}
input.project-button.project-button-cl-common.project-button-s-6 {
    width: 100%;
    max-width: 125px;
    background-color: #2d328e;
    color: #fff;
    border-radius: 20px;
    padding: 6px 15px 6px;
    border-color: #2d328e;
    font-size: 16px;
    border: 1px solid #2d328e;
}
span.probel {
    width: 1px;
    display: inline-flex;
    height: 100%;
    min-height: 23px;
}
input.project-button.project-button-cl-common.project-button-s-7 {
    width: 100%;
    max-width: 125px;
	background-color: #2d328e;
    color: #fff;
    border-radius: 0 20px 20px 0;
    padding: 6px 15px 6px;
    border-color: #2d328e;
    font-size: 16px;
    border: 1px solid #2d328e;
}
.project-form-buttons-wrap {
    margin-top: 5px;
}
.project-form font {
    margin-left: 2px;
}
.project-form-value:has(textarea.inputtextarea) {
    min-width: 100%;
	max-width: 100%;
}
input[name="form_text_12"], input[name="form_text_13"], input[name="form_email_14"] {
	max-width: 100%;
}
.project-form-value:has([name="form_text_12"]) {
    min-width: 100%;
	max-width: 100%;
}
.project-form-value:has([name="form_text_13"]) {
    min-width: 50%;
	max-width: 50%;
}
.project-form-value:has([name="form_text_14"]) {
    min-width: 50%;
	max-width: 50%;
}

@media (max-width: 650px) {
	.project-form h4 {
		font-size: 18px;
	}
	.project-form {
		padding: 15px;
		overflow-y: scroll;
	}
	.project-form h4 {
		margin-top: 0;
	}
	.project-form .project-form-caption {
		width: 80%!important;
	}
	.soglasie-null {
		top: 30px;
	}
	.project-form-value {
		width: 100%;
	}
	input[name="form_text_12"], input[name="form_text_13"], input[name="form_email_14"] {
		max-width: 100%;
	}
	.project-form .soglasie-null font {
		position: relative;
		margin-left: -3px;
		top: -5px;
	}
	
}

