.custom_input_wrap {
    display: block;
    margin: 0 auto 1.3em;
    line-height: 1.2;
}
.custom_input_wrap.file {
    text-align: center;
    font-size: 14px;
}
.custom_input_wrap .custom_input {
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    width: 100%;
    font-size: inherit;
    height: 3em;
    font-family: inherit;
    padding: 0 0 0 1.4em;
    background-color: #ffffff;
    box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.25);
    border: none;
    line-height: 1.2;
}
.custom_input_wrap textarea.custom_input {
    height: 8.3em;
    padding: 0.9em 0 0.9em 1.4em;
}
.custom_input_wrap .custom_input.error,
.custom_input_wrap .custom_input.phone_mask_error_input {
    border: 1px solid #FF0000;
}
.custom_input_wrap .custom_input::placeholder {
    color: #000000;
}
.custom_input_wrap .error:not(.custom_input),
.custom_input_wrap .phone_mask_error, .custom_input_wrap_phone .phone_mask_error_phone{
    display: block;
    color: #FF0000;
    font-size: 12px;
    margin: 0 auto -1.2em;
    font-weight: 400;
}
/**/
.marsh_button {
    background: #7A5A38;
    display: inline-block;
    border: none;
    color: #ffffff;
    font-family: inherit;
    text-align: center;
    height: 3em;
    box-sizing: border-box;
    font-weight: 500;
    font-size: inherit;
    padding: 0 1em;
}
/**/
.popup {
    display: block;
    margin: 20px auto;
    width: 98%;
    max-width: 560px;
    box-sizing: border-box;
    background-color: #F4F2F2;
    border: 1px solid #C4C4C4;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    padding: 35px 35px 40px;
    color: #000000;
    font-size: 18px;
    line-height: 1.2;
    position: relative;
}
.mfp-close-btn-in .popup .mfp-close {
    color: #7A5A38;
}
.popup .row1 {
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #7A5A38;
    margin: 0 auto 1.8em;
}
.popup .row3 {
    margin: 0 auto 1.7em;
}
.popup .row3 .marsh_button {
    display: block;
    width: 100%;
}
.popup .row4 {
    font-size: 0.7em;
    margin: 0 auto;
}
.popup .row4 .link {
    font-size: inherit;
}
@media(max-width: 767px) {
    .popup {
        padding: 20px;
        font-size: 16px;
    }
}

/*notification_popup*/
.notification_popup {
    margin: 20px auto;
    width: 98%;
    max-width: 780px;
    background-color: #F4F2F2;
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    padding: 5em 16em 5em 3em;
    position: relative;
    z-index: 1;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-image: url(../../img/popups/devushka.png);
    min-height: 20em;
}
.notification_popup .row1 {
    margin: 0 auto 1em;
    font-size: 1.5em;
    font-weight: 700;
    color: #7A5A38;
}
.notification_popup .row2 p {
    margin: 0 auto 1.2em;
}
.notification_popup .row2 p:last-child {
    margin: 0 auto;
}
@media (max-width: 1199px) {
    .notification_popup {
        font-size: 22px;
        min-height: 22em;
    }
}
@media (max-width: 767px) {
    .notification_popup {
        font-size: 16px;
        padding: 2em;
        min-height: 0;
        background-image: none;
    }
}
/*.marsh_border_button*/
.marsh_border_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.15em;
    box-sizing: border-box;
    border: 1px solid #7A5A38;
    padding: 0 1.5em;
    color: #7A5A38;
    max-width: 100%;
    transition: 0.3s;
}

.marsh_border_button:hover {
    background-color: #7A5A38;
    color: #ffffff;
}

.marsh_border_button:active {
    transform: scale(0.95);
}

/*file_input*/
.file_input_wrap {
    display: inline-flex;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    padding-right: 2.85em;
    padding-left: 3.55em;
}

.file_input_wrap .file_input {
    position: absolute;
    top: 100%;
    left: 50%;
    box-sizing: border-box;
    width: 1px;
    height: 1px;
    font-size: 0;
    opacity: 0;
    display: block;
}

.file_input_wrap:before,
.file_input_wrap:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 1.35em;
    width: 1.3em;
    height: 1.4em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../../img/popups/clip-7a5a38.svg);
    transition: 0.3s;
    transform: translate(0, -50%);
}

.file_input_wrap:after {
    opacity: 0;
    background-image: url(../../img/popups/clip-ffffff.svg);
}

.file_input_wrap:hover:before {
    opacity: 0;
}

.file_input_wrap:hover:after {
    opacity: 1;
}

.file_input_wrap .file_input_subs {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/**/
.stars_mark_input_wrap {
    display: flex;
    justify-content: space-between;
    font-size: 3.5em;
    flex-wrap: wrap;
    color: #7A5A38;
    margin: 0 auto 0.37em;
    position: relative;
}
.stars_mark_input_wrap .error {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    text-align: center;
    display: block;
}
.stars_mark_input_wrap .star_mark_input_wrap {
    flex: auto;
    display: block;
    max-width: 0.8em;
    cursor: pointer;
}

.stars_mark_input_wrap .star_mark_input_wrap:before {
    content: "\2606";
    display: block;
    line-height: 0.7;
}

.stars_mark_input_wrap .star_mark_input_wrap.checked:before {
    content: "\2605";
}

.stars_mark_input_wrap .star_mark_input_wrap .star_mark_input {
    position: absolute;
    top: 100%;
    left: 50%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
}