@charset "utf-8";

.vopros_ankety{
    margin: 20px 0px 20px 10px;
}

input,
textarea {
    padding: 15px 10px;
    border: 0px solid var(--tset_osnovnoi);
    border-left: 20px solid var(--tset_osnovnoi);
    display: block;
    margin-top: 6px;
    font-size: 13px;
    outline: none;
}

textarea:focus {
    background: #fff;
}

input[type="submit"] {
    color: #fff;
    border: 1px solid var(--tset_osnovnoi);
    font-size: 16px;
    margin-top: 6px;
    background: var(--tset_osnovnoi);
    text-decoration: none;
    display: block;
    cursor: pointer;
    padding: 4px;
    height: 60px;
}

input[type="submit"]:disabled {
    opacity: .3;
    cursor: no-drop;
}

.open_modal {
    position: absolute;
    left: 50%;
}

.open_modal p {
    background: var(--tset_osnovnoi);
    border-radius: 5px;
    padding: 2px 44px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0 0 0 -50%;
    display: block;
    max-width: 280px;
}

.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,
.popup2 {
    display: inline-block;
    left: 50%;
    opacity: 0;
    position: fixed;
    text-align: justify;
    top: 30%;
    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;
}

form {
    padding: 0px 20px 0px 0px;
    right: 0;
    width: 100%;
    background: var(--tset_chernyi);
}

.popup2 .window {
    padding: 0 27px 27px;
    right: 0;
    width: 280px;
    background:  var(--tset_chernyi);
}

form input {
    background: #f0f0f0;
    margin-top: 8px;
    width: 100%;
}

form input[name="txtname"] {
    margin-top: 20px;
}

form textarea {
    background: #f0f0f0;
    margin-top: 8px;
    width: 100%;
    height: 100%;
    resize: none;
}

form label {
    width: 100%;
    height: 20px;
    display: block;
    margin: 8px -2px;
    padding: 0;
}

form input[type="submit"] {
    background: var(--tset_osnovnoi);
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    margin: 50px 0px 0px 0px;
}

form input[type="checkbox"] {
    width: auto;
    margin: 2px;
    padding: 2px;
    float: left;
}

form h5 {
    position: absolute;
    top: 10px;
    left: 29px;
    font-size: 14px;
    color: white;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
}

.popup .close_modal,
.popup2 .close_modal {
    position: absolute;
    padding: 1px 9px 4px 9px;
    top: -15px;
    right: -15px;
    cursor: pointer;
    color: #fff;
    text-align: center;
}

.popup2 h5 {
    position: absolute;
    top: 10px;
    left: 140px;
    font-size: 14px;
    color: white;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
}

.popup2 p {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
}

.popup2 p strong {
    font-size: 20px;
    line-height: 30px;
    font-weight: normal;
    display: block;
}

.popup2 hr {
    background: var(--tset_osnovnoi);
    height: 1px;
    border: none;
}


.checkbox {
    display: flex;
    align-items: center;
    margin: 40px 0px 0px 0px;
}

.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox input[type="checkbox"]:checked~.custom-checkbox:after {
    background-color: var(--tset_osnovnoi);
}

.custom-checkbox {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #fff;
}

.custom-checkbox:after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    left: 2px;
    bottom: 2px;
    transition: all linear 0.3s;
}