.toolbar a {
    display: inline-block;
    border: 1px solid #888;
    padding: 5px 8px;
    margin: 0 5px 10px 0;
    color: #000;
    border-radius: 3px;
    font-size: 12px;
    box-shadow: 1px 1px 2px #ddd;
    background: #fff;
    vertical-align: top;
    text-decoration: none;
}

.toolbar select {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    background: #fff;
    padding: 0;
    margin: 0 5px 10px 0;
    color: #000;
    box-shadow: 1px 1px 2px #ddd;
    border-radius: 3px;
    vertical-align: top;
    font-size: 12px;
}

.toolbar input {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    background: #fff;
    padding: 0;
    margin: 0 5px 10px 0;
    color: #000;
    box-shadow: 1px 1px 2px #ddd;
    border-radius: 3px;
    vertical-align: top;
    font-size: 12px;
}

.toolbar span {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0;
    margin: 0 0 10px 0;
    color: #000;
    vertical-align: top;
    font-size: 12px;
}

.brand-textarea__wrapper.essaearea {
    padding: 30px 30px;
}

.editor.brand-textarea__field {
    padding: 20px 30px;
    border: 1px solid #C4C4C4;
    border-radius: 5px;
    width: 100%;
}

div#actual {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #00000080;
    z-index: 999;
}

.personal-form__wrapper__input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px 40px;
    border-radius: 10px;
    background: #fff;
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}

#actual a.change-link {
    color: var(--white-color);
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    background: var(--orange-color);
    border: 1px solid var(--orange-color);
    padding: 9px 30px;
    text-align: center;
    width: max-content;
    transition: .3s;
    cursor: pointer;
}

.essay_detail .videovisitka .star {
    width: 15rem;
    height: 4rem;
}

button.btn.btn-outline-secondary.dropdown-toggle {
    border-radius: 10px;
    border: 1px solid #C2C2C2;
    height: 42px;
    padding: 10px 15px;
    width: 100%;
    font-size: 14px;
    color: var(--black-color);
    caret-color: var(--orange-color);
    background-color: unset;
    text-align: left;
}

button.btn.btn-outline-secondary.dropdown-toggle:after {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.expert .brand-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    align-items: start;
}

.expert img.calendar-icon {
    position: absolute;
    width: 27px !important;
    height: 27px !important;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.expert .mb-2 {
    position: relative;
}

a.btn.btn-outline-secondary.white-btn {
    background: transparent;
    border: 1px solid #AF7D57;
    color: #AF7D57;
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    padding: 9px 30px;
    text-align: center;
    width: max-content;
    transition: .3s;
    height: 100%;
    display: flex;
    align-items: center;
}

a.btn.btn-outline-secondary.white-btn:hover {
    border-color: var(--orange-color);
    color: var(--orange-color);
    transition: .3s;
}

.expert_download a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .3s;
}

.expert_download a:hover span {
    color: var(--orange-color);
    transition: .3s;
}

.expert_download a span {
    color: var(--black-color);
    font-size: 1.4rem;
    text-decoration: unset;
}


.expert .form_expert.brand-form {
    justify-content: flex-start;
}

.expert .form_expert .brand-input__field[type="checkbox"]:checked:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    background: #f07e1e;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}

.expert .form_expert .brand-input__field[type="checkbox"]:focus {
    box-shadow: none;
}

.expert .form_expert .brand-input__field[type="checkbox"] {
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

.dropdown.statusdrop {
    width: 250px;
}

.expert .essevid.mb-2 {
    display: flex;
    gap: 20px;
    align-items: center;
}

.brand-form .essevid label {
    margin: 0;
    padding: 0;
}

.modal.show.authpage {
    display: block;
    position: relative;
    margin-top: clamp(5rem, 5vw, 10rem);
}


#filterForm .input_item_checkbox .checkbox-input {
    appearance: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #C2C2C2;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: 0;
    padding: 0;
    transition: .3s;
}

#filterForm .checkbox-input:checked {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

#filterForm .checkbox-item {
    display: flex;
    align-items: center;
}

#filterForm label.brand-checkbox__label.checkbox-label {
    margin: 0;
}

form#filterForm {
    align-items: center;
}

.row.expert_block .buttons {
    margin: 0;
}

.expert .chosen_n_download {
    margin-top: clamp(2rem, 3.5vw, 3rem);
}

.mb-2 {
    margin-bottom: 0 !important;
}

#preloader_site {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader_site {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader_site.show {
    display: flex;
}

#preloader_site .spinner,
.preloader_site .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #cccccc;
    border-top-color: #f07e1e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.input_item .birthday {
    position: relative;
}

.input_item .birthday img.calendar-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 27px;
    height: 27px;
}

.result_head_item.chooseone, .result_head_item.choose {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.personal_result_table .item {
    position: relative;
}

.topblock {
    position: relative;
}

.top_editor_timer {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.test_section .top_editor_timer .timer_block {
    width: 100%;
}

.essay_editor.expert_checking {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

.symbolscount {
    color: var(--orange-color);
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 600;
    line-height: normal;
}

div#actual .text {
    font-size: 16px;
}

.middle_title {
    margin: 20px 0;
    font-weight: 600;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.input_item textarea {
    border-radius: 10px;
    border: 1px solid #C2C2C2;
    height: 100px;
    padding: 10px 15px;
    width: 100%;
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    color: var(--black-color);
    caret-color: var(--orange-color);
}

.button.border_btn.chng button.change-link.white-btn {
    background: transparent;
    border: 1px solid #AF7D57;
    color: #AF7D57;
    transition: .3s;
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    padding: 9px 30px;
    text-align: center;
    width: max-content;
    transition: .3s;
    margin-top: 20px;
}

.personal_account_columns.second .personal-form__wrapper__input {
    position: relative;
}


.qs-datepicker-container {
    font-size: 1rem;
    font-family: sans-serif;
    color: black;
    position: absolute;
    width: 15.625em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 9001;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid gray;
    border-radius: .26392em;
    overflow: hidden;
    background: white;
    -webkit-box-shadow: 0 1.25em 1.25em -.9375em rgba(0, 0, 0, 0.3);
    box-shadow: 0 1.25em 1.25em -.9375em rgba(0, 0, 0, 0.3)
}

.qs-datepicker-container * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.qs-centered {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.qs-hidden {
    display: none
}

.qs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    width: 100%;
    height: 100%;
    padding: .5em;
    z-index: 1;
    opacity: 1;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.qs-overlay.qs-hidden {
    opacity: 0;
    z-index: -1
}

.qs-overlay .qs-overlay-year {
    border: none;
    background: transparent;
    border-bottom: 1px solid white;
    border-radius: 0;
    color: white;
    font-size: .875em;
    padding: .25em 0;
    width: 80%;
    text-align: center;
    margin: 0 auto;
    display: block
}

.qs-overlay .qs-overlay-year::-webkit-inner-spin-button {
    -webkit-appearance: none
}

.qs-overlay .qs-close {
    padding: .5em;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0
}

.qs-overlay .qs-submit {
    border: 1px solid white;
    border-radius: .26392em;
    padding: .5em;
    margin: 0 auto auto;
    cursor: pointer;
    background: rgba(128, 128, 128, 0.4)
}

.qs-overlay .qs-submit.qs-disabled {
    color: gray;
    border-color: gray;
    cursor: not-allowed
}

.qs-overlay .qs-overlay-month-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.qs-overlay .qs-overlay-month {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: calc(100% / 3);
    cursor: pointer;
    opacity: .5;
    -webkit-transition: opacity .15s;
    -o-transition: opacity .15s;
    transition: opacity .15s
}

.qs-overlay .qs-overlay-month.active, .qs-overlay .qs-overlay-month:hover {
    opacity: 1
}

.qs-controls {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: lightgray;
    -webkit-filter: blur(0px);
    filter: blur(0px);
    -webkit-transition: -webkit-filter .3s;
    transition: -webkit-filter .3s;
    -o-transition: filter .3s;
    transition: filter .3s;
    transition: filter .3s, -webkit-filter .3s
}

.qs-controls.qs-blur {
    -webkit-filter: blur(5px);
    filter: blur(5px)
}

.qs-arrow {
    height: 1.5625em;
    width: 1.5625em;
    position: relative;
    cursor: pointer;
    border-radius: .26392em;
    -webkit-transition: background .15s;
    -o-transition: background .15s;
    transition: background .15s
}

.qs-arrow:hover {
    background: rgba(0, 0, 0, 0.1)
}

.qs-arrow:hover.qs-left:after {
    border-right-color: black
}

.qs-arrow:hover.qs-right:after {
    border-left-color: black
}

.qs-arrow:after {
    content: '';
    border: .39062em solid transparent;
    position: absolute;
    top: 50%;
    -webkit-transition: border .2s;
    -o-transition: border .2s;
    transition: border .2s
}

.qs-arrow.qs-left:after {
    border-right-color: gray;
    right: 50%;
    -webkit-transform: translate(25%, -50%);
    -ms-transform: translate(25%, -50%);
    transform: translate(25%, -50%)
}

.qs-arrow.qs-right:after {
    border-left-color: gray;
    left: 50%;
    -webkit-transform: translate(-25%, -50%);
    -ms-transform: translate(-25%, -50%);
    transform: translate(-25%, -50%)
}

.qs-month-year {
    font-weight: bold;
    -webkit-transition: border .2s;
    -o-transition: border .2s;
    transition: border .2s;
    border-bottom: 1px solid transparent;
    cursor: pointer
}

.qs-month-year:hover {
    border-bottom: 1px solid gray
}

.qs-month-year:focus, .qs-month-year:active:focus {
    outline: none
}

.qs-month {
    padding-right: .5ex
}

.qs-year {
    padding-left: .5ex
}

.qs-squares {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .3125em;
    -webkit-filter: blur(0px);
    filter: blur(0px);
    -webkit-transition: -webkit-filter .3s;
    transition: -webkit-filter .3s;
    -o-transition: filter .3s;
    transition: filter .3s;
    transition: filter .3s, -webkit-filter .3s
}

.qs-squares.qs-blur {
    -webkit-filter: blur(5px);
    filter: blur(5px)
}

.qs-square {
    width: calc(100% / 7);
    height: 1.5625em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: background .1s;
    -o-transition: background .1s;
    transition: background .1s;
    border-radius: .26392em
}

.qs-square:not(.qs-empty):not(.qs-disabled):not(.qs-day):not(.qs-active):hover {
    background: orange
}

.qs-current {
    font-weight: bold;
    text-decoration: underline
}

.qs-active, .qs-range-start, .qs-range-end {
    background: #add8e6
}

.qs-range-start:not(.qs-range-6) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.qs-range-middle {
    background: #d4ebf2
}

.qs-range-middle:not(.qs-range-0):not(.qs-range-6) {
    border-radius: 0
}

.qs-range-middle.qs-range-0 {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.qs-range-middle.qs-range-6 {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

.qs-range-end:not(.qs-range-0) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

.qs-disabled, .qs-outside-current-month {
    opacity: .2
}

.qs-disabled {
    cursor: not-allowed
}

.qs-empty {
    cursor: default
}

.qs-day {
    cursor: default;
    font-weight: bold;
    color: gray
}

.qs-event {
    position: relative
}

.qs-event:after {
    content: '';
    position: absolute;
    width: .46875em;
    height: .46875em;
    border-radius: 50%;
    background: #07f;
    bottom: 0;
    right: 0
}

.personal-form__input-box_not label {
    max-width: 50px;
}

textarea.input_item__textarea[disabled] {
    background: rgba(153, 153, 153, 0.15);
    border-color: #999;
    color: #909090;
    cursor: not-allowed;
}

.personal_account .info_test.moderalerts {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.personal-form__delete-block svg, .add-icon {
    max-width: 15px;
    margin-left: 10px;
    max-height: 15px;
}

.personal_account_columns.second .personal-form__wrapper__input {
    position: relative;
    padding: 0;
}

.personal-form__header-add svg {
    display: none;
}

.personal-form__add-group {
    width: 100%;
}

.input_item.withcheckbox {
    gap: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.personal_account_columns .input_item.withcheckbox input[type="checkbox"]:checked {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
}

.personal_account_columns .input_item.withcheckbox input[type="checkbox"] {
    appearance: none;
    width: 2rem;
    height: 2rem;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    flex-shrink: 0;
    padding: 0;
}

.personal_account_columns .input_item.withcheckbox input[type="checkbox"]:hover {
    border-color: var(--orange-color);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.personal_account .input_item input[type="radio"] {
    appearance: none;
    width: 2rem;
    height: 2rem;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    flex-shrink: 0;
    padding: 0;
}

.personal_account .input_item input[type="radio"]:checked {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
}

.personal_account .input_item input[type="radio"]:checked:disabled {
    background-color: #f07e1e5e;
    border-color: #f07e1e5e;
}

.personal_account_columns .input_item.withcheckbox input[type="checkbox"]:checked:disabled {
    background-color: #f07e1e5e;
    border-color: #f07e1e5e;
}

.personal-form__wrapper__input.study, .personal-form__wrapper__input.workblock {
    grid-column: 1 / -1;
}

.personal-form__wrapper__input.study .studytitle, .personal-form__wrapper__input.workblock .studytitle {
    color: var(--black-color);
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    font-weight: 400;
    padding-left: 15px;
    margin-bottom: 10px;
    text-align: left;
    font-weight: bold;
}

.personal-form__wrapper__input.study, .personal-form__wrapper__input.workblock {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.personal-form__add-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    row-gap: clamp(1.5rem, 3vh, 2rem);
    margin-top: clamp(1.5rem, 3vh, 2rem);
}

.personal-form__add-group .datecalendar {
    position: relative;
}

.datecalendar img.calendar-icon {
    position: absolute;
    width: 27px !important;
    height: 27px !important;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

a.submit-btn.upload-btn.white-btn.mt-0.add-btn {
    margin-top: 20px !important;
}

.deleteblock {
    grid-column: 1 / -1;
}

.datecalendar {
    position: relative;
}

.input_items[data-hide="sovpadaet"], .input_items[data-hidden="havedoc"] {
    grid-column: 1 / -1;
}

.personal_account_columns .input_item.withcheckbox input[type="checkbox"]:hover:disabled {
    border-color: unset;
    cursor: not-allowed;
}

.gender_block.input_item select.form-select.js-brand-radio {
    margin-bottom: 10px;
}

.input_item .birthday {
    margin-bottom: 20px;
}

.hideinput {
    opacity: 0.001;
}

.input_item.uploadfile {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.input_item.uploadfile label[for="identity_document"], .input_item.uploadfile label[for="education_diploma"] {
    padding: 0;
    margin: 0;
    width: 80%;
}

.personal-form__upload-image {
    width: 10%;
}

.input_item.uploadfile .personal-form__upload-image label {
    padding: 0;
    margin: 0;
}

.input_item.uploadfile .personal-form__upload-image label span {
    display: block;
    width: 40px;
    height: 40px;
    background: var(--orange-color);
    padding: 9px;
    border-radius: 10px;
    opacity: .8;
    transition: .3s;
}

.input_item.uploadfile .personal-form__upload-image label span path {
    fill: var(--white-color);
}

.personal_account .input_item .brand-radio__control {
    display: flex;
    gap: 5px;
    align-items: center;
}

.personal_account .input_item .brand-radio__control:last-child {
    margin-bottom: 0;
}

.brand-input__label.js-input-label {
    color: var(--black-color);
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    font-weight: 400;
    padding-left: 15px;
    margin-bottom: 10px;
}

.middle_title {
    margin: 20px 0;
    font-weight: 600;
    font-size: clamp(1em, 2.5vw, 2.4rem);
}

.middle_title {
    /*border-top: 1px solid #f3984b;*/
    margin-top: 50px;
    /*padding-top: 20px;*/
    color: #f3984b;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3984b;
    display: inline-block;
}

.personal_account_columns.first .personal-form__text.upload-image__text {
    position: absolute;
    bottom: 10px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
}

.personal_account_columns.first .personal-form__text.upload-image__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.personal_account_columns.first .personal-form__text.upload-image__text span.upload__title {
    font-weight: bold;
}

.info_test.moderalerts.needcorr {
    position: relative;
    border-color: #f07e1e;
}

.info_test.moderalerts.onmoder {
    border-color: #F3F316;
}

.info_test.moderalerts.accepted {
    border-color: #3AA325;
}

.video_card_detail .video_card_file {
    margin-top: 0;
}

#video_card_detail .id_user {
    margin-top: 20px;
    font-weight: bold;
    font-size: 15px;
}

span.brand-radio__title {
    display: flex;
    gap: 10px;
}

.test_section .brand-radio__control input[type="checkbox"]:checked ~ .brand-radio__text::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange-color);
}

a.submit-btn.upload-btn.white-btn.mt-0.add-btn svg.add-icon {
    rotate: 45deg;
}

.personal-form__add-group {
    padding: 30px;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    color: var(--black-color);
    caret-color: var(--orange-color);
    box-shadow: 0px 0px 9px 0px rgb(0 0 0 / 10%);
}

.personal-form__delete-block {
    color: #f07e1e;
    font-size: 13px;
    text-align: right;
    cursor: pointer;
    transition: .35s;
}

.personal-form__delete-block:hover {
    color: var(--black-color);
    transition: .35s;
}

a.submit-btn.upload-btn.white-btn.mt-0.add-btn {
    background: var(--orange-color);
    border: 1px solid var(--orange-color);
    border-radius: 10px;
    color: var(--white-color);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 30px;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .35s;
}

a.submit-btn.upload-btn.white-btn.mt-0.add-btn:hover {
    background: var(--white-color);
    color: var(--orange-color);
    transition: .35s;
    cursor: pointer;
}
.dropdown-menu.show {
    max-height: 300px;
    overflow: auto;
}
a.dropdown-item {
    font-size: 14px;
}
.input_item.uploadfile {
    position: relative;
    min-height: 100px;
}
span.uploadfile_size {
    position: absolute;
    bottom: -15px;
    font-weight: bold;
    left: 15px;
    font-size: 10px;
}

.filescan {
    border-radius: 10px;
    border: 1px solid var(--orange-color);
    height: auto;
    padding: 10px 15px;
    /* width: 100%; */
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    color: var(--orange-color);
    caret-color: var(--orange-color);
    background: transparent;
    text-align: center;
    display: inline-block;
    transition: .35s;
    max-width: 370px;
    word-wrap: break-word;
}
.filescan:hover{
    background: var(--orange-color);
    color: var(--white-color);
    transition: .35s;
}
.withfile{
    display: flex;
    flex-direction: column;
}
label.uploadfile_text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gender_block.gapblock {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.essay .essay_editor {
    word-wrap: break-word;
    font-size: 16px;
}

.modal#modal-1 .modal-body .modal-content {
    border: unset;
    padding: 0px 10px;
    font-size: 14px;
}
#modal-1 a.submit-btn {
    background: var(--orange-color);
    border: 1px solid var(--orange-color);
    color: var(--white-color);
    transition: .3s;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    padding: 9px 30px;
    text-align: center;
    width: max-content;
    transition: .3s;
}
#modal-1 .modal-body {
    display: flex;
    flex-direction: column;
}
#modal-1 .modal-dialog.modal-dialog-centered {
    max-width: 700px;
}
button.btn.btn-outline-secondary.dropdown-toggle {
    overflow: hidden;
}
.success.hidden.success_show {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

.success.hidden.success_show .success__text {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}
.success.hidden.success_show .submit-btn {
    background: var(--orange-color);
    border: 1px solid var(--orange-color);
    color: var(--white-color);
    transition: .3s;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    padding: 9px 30px;
    text-align: center;
    width: max-content;
    transition: .3s;
}


.modal .contest_text p {
    color: var(--black-color);
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    line-height: normal;
}



.modal  .contest_contacts_items {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 15px;
    align-items: center;
    width: 100%;
    min-width: 350px;
    margin-bottom: 10px;
    justify-items: center;
}

.modal .contest_contacts_items:not(:first-child) {
    margin-bottom: 15px;
}

.modal .contest_contacts_items .title {
    margin-bottom: 0;
}

.modal .contest_contacts_items h4 {
    color: var(--black-color);
    font-size: 14px;
    font-weight: 400;
}
.modal .contest_contacts_items a {
    color: #AF7D57;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.modal .contest_contacts_items a:hover {
    color: var(--orange-color);
    transition: 0.3s;
}

.contest_image img {
    border-radius: 10px;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #555555;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text h3 {
    color: #ffff;
    font-size: 17px;
    margin-bottom: 20px;
}

.cookie-text p {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

button#acceptCookies {
    background: var(--white-color);
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--black-color);
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    transition: .3s;
    font-weight: unset;
}
button#acceptCookies:hover {
    background: #f07e1e;
    color: #fff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}
section#policy h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
}
section#policy p, section#policy li {
    font-size: 16px;
}

section#policy ul {
    list-style: disc;
    margin: 20px;
}
section#policy li{
    list-style: disc;
}

/*test styles*/

.testblock.about_pro .president__block h3 {
    color: var(--black-color);
    font-size: clamp(1.3rem, 3.7vw, 2.1rem);
    font-weight: 700;
    margin-bottom: clamp(0rem, 1.5vw, 1.5rem);
}
.testblock.about_pro .president__block .info_block {
    background: var(--grey-color);
    border-radius: 10px;
    padding: clamp(1rem, 2.5vw, 2rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.testblock .mb-20px {
    margin-bottom: 30px;
}
.testblock.about_pro .president__block .info_block.govtext {
    flex-direction: row-reverse;
}
.testblock.about_pro .president__block .title.govtitle {
    text-align: right;
}
.testblock.about_pro .governor_advantages .advantage {
    width: 100%;
    max-width: calc(100% / 4 - 30px);
    flex: 1 0 auto;
}
.testblock.about_pro .president__block {
    gap: 30px;
}
.testblock.about_pro .president__block .info_block{
    width: 90%;
}

.testblock .president_info {
    display: flex;
    flex-direction: column;
    align-content: space-around;
    flex-wrap: wrap;
}
.testblock.about_pro .president__block .president_info .rightside {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.testblock.about_pro .president__block .info_block.govtext p {
    text-align: right;
}

.input_item.uploadfile.fullwidthblock {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 50px;
    gap: 20px;
}
.input_item.uploadfile.fullwidthblock label.uploadfile_text {
    width: 100%;
}

.brand-test.secondmod input.brand-input__field {
    border-radius: 10px;
    border: 1px solid #C2C2C2;
    height: 50px;
    padding: 10px 15px;
    width: 100%;
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    color: var(--black-color);
    caret-color: var(--orange-color);
    max-width: 300px;
}
.secondmod .brand-radio__control-wrapper{
    padding: 0;
}

.personal_account .buttons .fill a.submit-btn {
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    padding: 9px 30px;
    text-align: center;
    width: max-content;
    transition: .3s;
    color: #fff;
}

.fullwidthblock{
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 50px;
    gap: 20px;
}

.brand-test__fieldset h3.toptitle {
    font-size: 25px;
}
.brand-test__fieldset .description {
    font-size: 14px;
    margin: 20px 0;
}

.personal_account .input_item label.uploadfile_text {
    margin-bottom: 0;
}
span.notrequired {
    color: #f3984b;
    font-size: 10px;
}

span.brand-radio__text {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.invalid-field {
    border-color: #f00 !important;
    border-width: 2px !important;
}

.invalid-upload-block {
    border: 2px solid #f00 !important;
    border-radius: 4px;
    padding: 8px;
    background-color: #fff0f0;
}

.fileerror {
    display: none;
    color: #f00;
    font-size: 12px;
    margin-top: 5px;
    white-space: nowrap;
}

#modal-1 .modal-body p, #modal-2 .modal-body p {
    font-size: 16px;
}
.nothaveanswer {
    font-size: 18px;
    font-weight: bold;
    color: #f07e1e;
}
.essay .essay_rules {
    font-size: 16px;
}
.toolbar {
    display: none !important;
}

.brand-checkbox__wrapper {
    gap: 10px;
    display: flex;
    margin-top: 10px;
}


input.brand-checkbox__field.present-time-checkbox:checked, .personal_account input.brand-checkbox__field:checked {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
}

input.brand-checkbox__field.present-time-checkbox, .personal_account input.brand-checkbox__field{
    appearance: none;
    width: 2rem;
    height: 2rem;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    flex-shrink: 0;
    padding: 0;
}

input.brand-checkbox__field.present-time-checkbox:hover, .personal_account input.brand-checkbox__field:hover {
    border-color: var(--orange-color);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
input.brand-checkbox__field.present-time-checkbox:checked:disabled, .personal_account input.brand-checkbox__field:checked:disabled {
    background-color: #f07e1e5e;
    border-color: #f07e1e5e;
}
input.brand-checkbox__field.present-time-checkbox:hover:disabled, .personal_account input.brand-checkbox__field:hover:disabled {
    border-color: unset;
    cursor: not-allowed;
}

label.brand-checkbox.brand-checkbox_theme-large-field.personal-form__filter-item.js-brand-checkbox.width-full.nastvrem {
    grid-column: 1 / -1;
}
.banner .info p {
    letter-spacing: unset;
}
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (max-width: 500px){
    .input_item, .gender_block{
        grid-column: 1 / -1 !important;
    }
    .filescan {
        max-width: 280px;
    }
    .photo-block {
        width: 100%;
    }
    nav.nav.nav-pills.photo-block__list {
        flex-direction: row !important;
    }
    .personal_account .nav .nav-link {
        width: auto;
        max-width: 29%;
        white-space: nowrap;
    }
    button#acceptCookies {
        display: block;
    }

}
