.hidden {
    display: none !important;
}

form {
    position: relative;
}

form * {
    box-sizing: border-box;
}

form .btn_send {
    margin-top: 15px;
}

.nc-fields__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2em;
    position: relative;
}

.nc-fields__wrapper .calculate-fields,
.nc-fields__wrapper .contact-fields {
    flex: initial;
    height: 100%;
    position: relative;
    width: 47%;
}

.nc-fields__wrapper .divider {
    border-left: 1px solid #bfbfbf;
    flex: initial;
    width: 1px;
}

.divider-form-vert {
    border-left: 1px solid #bfbfbf;
    width: 1px;
    margin: 0 15px;
    height: 100%;
}

@media (max-width: 960px) {
    .divider-form-vert {
        display: none;
    }

    .block-fields-form-calc {
        width: 100%;
    }
}

.contact-fields .nc-field {
    display: block;
}

.contact-fields .nc-field .nc-field-caption {
    display: block;
    margin-bottom: .25em;
}

.nc-field {
    align-items: center;
    display: flex;
    margin-bottom: 1em;
}

.nc-field .nc-field-caption {
    flex: 35%;
}

.nc-field select,
.nc-field input,
.nc-field textarea {
    flex: 65%;
}

.nc-field input,
.nc-field textarea,
.nc-field select {
    width: 100%;
    padding: 0 17px;
    height: 47px;
    line-height: 47px;
    border: 1px solid #bfbfbf;
}

.nc-field textarea {
    max-width: 518px;
    width: 100%;
    padding: 0 17px;
    height: 170px;
    border: 1px solid #bfbfbf;
    resize: none;
    line-height: 24px;
    border: 1px solid #bfbfbf;
    /*line-height: 47px;*/
}

.upload-file {
    display: block;
}

.upload-file__btn {
    background: #252525;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    padding: 13px;
    text-transform: uppercase;
}

.file-info {
    align-items: center;
    display: flex;
    margin-top: 10px;
}

.file-name {
    display: inline-block;
    font-size: 14px;
    margin-right: 10px;
    position: relative;
}

.remove-file {
    background-image: url(/i/remove.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: red;
    cursor: pointer;
    display: block;
    height: 7px;
    width: 8px;
}

.required.invalid {
    border: 1px solid #C75C5C !important;
    -webkit-box-shadow: inset 2px 2px 13px 0px rgba(255, 0, 0, 0.7);
    -moz-box-shadow: inset 2px 2px 13px 0px rgba(255, 0, 0, 0.7);
    box-shadow: inset 2px 2px 13px 0px rgba(255, 0, 0, 0.7);
}

/* --- Preloader --- */
.form-preloder {
    align-items: center;
    background: rgba(255, 255, 255, .7);
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.form-preloder.active {
    display: flex;
}

.spiner {
    animation: anim-spin 1s infinite ease;
    height: 50px;
    position: relative;
    width: 50px;
}

.spiner:after {
    bottom: 0;
    border-bottom: solid 5px #e61800;
    border-left: solid 5px transparent;
    border-radius: 100%;
    border-right: solid 5px transparent;
    border-top: solid 5px #e61800;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

@keyframes anim-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.btn_send:disabled {
    background-color: #555;
}

.tpl-total-price {
    margin-bottom: 20px !important;
}

#contacts-agreements-chkbox {
    margin-top: 25px;
    margin-bottom: 20px;
}