@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');
button, button:active, button:focus, input, input:active, input:focus, textarea, textarea:active, textarea:focus, select { outline: none; }
* { box-sizing: border-box; font-family: "Rubik", sans-serif; line-height: 1.6; margin: 0; padding: 0; }
body { background: #e0e0e0; }
a { text-decoration: none; }
li { list-style: none; }
header { width: 100%; background-color: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }

#navbar {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 12px 10px;
}
#navbar ul li { display: inline-block; }
#navbar .navbar__logo a { color: black; font-weight: bolder; }
#navbar .name { color: rgba(0,0,0,.5); }
#navbar .logout a,
#navbar .auth a { color: black; }
#navbar .logout a:hover,
#navbar .auth a:hover { color: #eb4d4b; }

.main { padding: 24px 0; display: flex; justify-content: center; }
.auth__block { width: 50%; background: white; }
.auth__header { padding: .75rem 1.25rem; background-color: rgba(0, 0, 0, .03); border-bottom: 1px solid rgba(0, 0, 0, .125); }
.auth__body form { padding: 1.25rem; }
.form__group { margin-bottom: 1rem; }
.row { display: flex; }
.row.right { justify-content: flex-end; }
.form__label { width: 30%; box-sizing: border-box; text-align: right; padding: 6px 16px; }
.form__input { width: 50%; }
.form__control { display: block; width: 100%; height: 38px; padding: 6px 12px; font-size: 16px; color: #495057; border: 1px solid #ced4da; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; }
.form__control:focus { color: #495057; background-color: #fff; border-color: #f50; box-shadow: 0 0 0 0.2rem rgba(255, 85, 0, .4); }
.button { border: 2px solid black; width: 95px; height: 45px; background: black; font-family: 'Rubik', sans-serif; color: white; cursor: pointer; transition: .4s; }
.button:hover, .button:focus { box-shadow: -20px 20px 0 -17px white, 20px -20px 0 -17px white, 20px 20px 0 -20px black, 0 0 0 2px #f50; border-color: white; color: #f50; }
.auth__block ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.auth__body li { display: inline-block; }
.auth__body li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; 
    padding: 1.25rem; 
    color: black; 
}
.auth__body li a:hover { background: rgb(255 85 0 / 40%); }
.message__block { padding: 5px 20px; text-align: center; color: white; }
.message__block.error { background: #e74c3c; }
.message__block.hint { background: #2ecc71; }
.message__block.information { background: #3498db; }

#preload {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 1000px;
    background: #2574A9 url(http://hello-site.ru//main/images/preloads/tail-spin.svg) center center no-repeat;
    background-size:116px;
}

/*телефон*/
@media (max-width: 650px) {
    .auth__block {
        width: 85%;
    }
    
    .row {
        display: block;
        margin-left: 0 !important;
    }

    .form__label {
        padding: 0px;
    }

    .form__control {
        height: 38px;
        box-sizing: border-box;
    }

    .form__input {
        width: 100%;
    }
}

/* телефон DY Клиенты*/
@media (max-width: 650px) {
    .fullpage {
        display: flex;
        justify-content: center;
    }

    h2 {
        font-size: 20px;
    }
    .content {
        border-radius: 25px;
    }
    .thead,
    .tbody {
        display: none;
    }

    .tfooter {
        display: block;
        border: 0;
    }
}

/* Опрос */
.form__doubleControl {
    box-sizing: content-box;
    height: 24px;
    padding: 6px 12px;
    font-size: 16px;
    color: #495057;
    border: 1px solid #ced4da;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}