/* MODAL FORM */
body{
	position:relative;
}
.noscroll {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.modal_form, .modal_form *, .page_form, .page_form *{
	box-sizing:border-box;
}
.modal_form .redheadbut{
	display:inline-block;
	text-decoration:none;
	text-transform:uppercase;
	color:#fff;
}
.popup_mask{
    display:none;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
}
.popup_mask._active{
    display:block;
    z-index:999;    
}
.page_form{
	line-height: 1.5;
	display: flex;
}
.page_form .btn{
	display:block;
	color:#fff;
	text-decoration:none;	
}

.modal_form {
    width: 90%;
    max-width: 560px;
    justify-content: center;
    align-items: center;
    text-align: left;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    display: none;
    line-height: 1.5;
}
.modal_form._active {
    display: flex;
    z-index: 1000;
    overflow: auto;
}
.modal_form .modal_wrapper {
    position: relative;
    z-index: 2000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.modal_content_wrapper{
    width:100%;
    height:auto;
    margin:0;
    padding:0;
    background: #fff;
    position:relative;
    z-index: 1002;
}
.modal_form .close-btn {
    position:absolute;
    width: 38px;
    height: 38px;
    background-color: #e7e7e7;
    opacity: 1;
    top:0;
    right:0;
    border:0;
    cursor:pointer;
}
.close-btn:before, .close-btn:after{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    width: 13px;
    height: 2px;
    background-color: #303030;
}
.close-btn:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.close-btn:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.modal_form h2 {
	color:#000;
    width: 100%;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 21px;
}
.modal_form_content, .modal_form_success, .modal_form_error {
    display: flex;
    flex-wrap: wrap;
    padding: 31px 40px 35px;
    font-size: 14px;
    color: #303030;
}
.page_form .modal_form_content, .page_form .modal_form_success, .page_form .modal_form_error {
    padding: 0;
}
.modal_form .desc {
    margin-bottom: 10px;
}
.modal_form .red {
    color: #e12024;
}
.field1, .field4, .field5 {
    width: 100%;
}
.field2 {
    width: 50%;
    padding-right: 10px;
}
.field3 {
    width: 50%;
    padding-left: 10px;
}
.modal_form_content .button_row {
    width: 100%;
    text-align: center;
    margin-top: 18px;
    padding: 4px 0 3px;
}
.modal_form_content input, .modal_form_content textarea {
    outline: none !important;
}
.modal_form_content .checkbox-group {
    padding: 4px 0;
}
.modal_form_content .checkbox-group label {
    box-sizing: content-box;
    height: 20px;
    height: auto;
    position: relative;
}
.modal_form_content .field input[type='text'] {
    height: 38px;
    width: 100%;
    border: 1px solid #d3d3d3 !important;
    background-color: #f8f8f8;
    box-shadow: 0px 1px 3px #e0e0e0 inset;
    padding: 0 10px;
}
.modal_form_content .field input[type=checkbox]{
    display:none;
}
.modal_form_content .field textarea {
    width: 100%;
    height: 112px;
    border: 1px solid #d3d3d3 !important;
    background-color: #f8f8f8;
    box-shadow: 0px 1px 3px #e0e0e0 inset;
    padding: 8px 10px;
}
.modal_form_content .field .error {
    margin-top: 0px;
    font-size: 11px;
    color: #e12024;
    opacity: 0;
}

.modal_form_content .param-text {
    display: block;
    width: 100%;
    white-space: normal;
    padding-left: 20px;
}
.modal_form_content .check {
    position: absolute;
    top: 1px;
    left: -3px;
    width: 18px;
    height: 18px;
    border: 1px solid #c5c5c5;
    background-color: #fff;
}
.modal_form_content input[type="checkbox"]:checked + label.bx-filter-param-label .check {
    border-color: #4c895c;
    background-color: #4c895c;
}
.modal_form_content .check svg path {
    fill: none;
    stroke: var(--add_color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 71px;
    stroke-dashoffset: 71px;
    transition: all 0.6s ease;
}
.modal_form_content .check svg polyline {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 18px;
    stroke-dashoffset: 18px;
    transition: all 0.3s ease;
}
.modal_form_content input[type="checkbox"]:checked + label.bx-filter-param-label .check svg polyline {
    stroke-dashoffset: 0;
}
.modal_form_content .field.error input, .modal_form_content .field.error textarea {
    border-color: #e12024 !important;
}
.modal_form_content .field.error .error{
	opacity: 1;
}

@media screen and (max-width:767px){
    .field2, .field3 {
        width: 100%;
        padding: 0;
    }
}


