/* variables */
:root {
    --base-color-1: #D64843;
    --base-color-2: #D13980;
    --base-color-3: #D08939;
    --base-color-4: #3B7DC9;
    --base-color-5: #30A56E;
    --base-color-6: #ffffff;
    --base-color-7: #2e2e54;
    --base-color-8: #d2d4d8;
    --base-color-9: #69748C;
    --base-color-10: #3ad6e3;

    --accent-color-1: #1e1e3e;
    --accent-color-2: #F5F6F7;
    --accent-color-3: #ebebef;
    --accent-color-4: #DADADA;

    --primary: #d13980;
    --secondary: #fff;
    --success: #3bad4b;
    --info: #66c0da;
    --warning: #f7ca2e;
    --danger: #f86c6b;
    --white: #ffffff;
    --dark: #333333;
    --grey: #e3e3e3;
    --site-bg: #1e1e3e;
    --site-bg-contrast: #ffffff;
    --text-color: #2e2e54;
    --text-color-light: #69748c;
    --text-color-contrast: #ffff;
    --link-color: #d13980;
    --link-color-active: #bc3373;
    --border-color: #d2d4d8;
    --border-color-active: rgba(102, 192, 218, .8);
    --btn-bg: #d13980;
    --btn-text: #ffffff;
    --btn-bg-hover: #bc3373;

    --section-bottom: 50px;

    --h1: 36px;
    --h2: 28px;
    --h3: 22px;
    --h4: 18px;
    --h5: 14px;
    
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

menu,
ul,
ol {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

img {
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

/*base*/
BODY,
HTML {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.3;
    width: 100%;
    min-width: 360px;
    height: 100%;
    color: var(--text-color);
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 54px;
    background-color: var(--site-bg);
}

body.user_page {
    background-color: var(--site-bg-contrast);
}

body.overflow {
    overflow: hidden;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.styled_checkbox {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    position: relative;
}

.styled_checkbox input {
    display: block;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.check_place {
    font-size: 14px;
    line-height: 1.3;
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
}

/* checkbox */

.styled_checkbox input[type=checkbox] + .check_place::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    position: absolute;
    cursor: pointer;
    top: 1px;
    left: 0;
    transition: 0.3s;
}

.styled_checkbox input[type=checkbox]:checked + .check_place::before {
    background-color: var(--base-color-5);   
    border-color: var(--base-color-5);
}

.styled_checkbox input[type=checkbox] + .check_place::after {
    content: "";
    width: 9px;    
    height: 5px;
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
    position: absolute;
    top: 5px;
    left: 3px;
    transform: rotate(-45deg);
    opacity: 0;
    transition: 0.3s;
}

.styled_checkbox input[type=checkbox]:checked + .check_place::after {
    opacity: 1;
}

/* radio */


.styled_checkbox input[type=radio] + .check_place::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    position: absolute;
    cursor: pointer;
    top: 1px;
    left: 0;
    transition: 0.3s;
}

.styled_checkbox input[type=radio]:checked + .check_place::before {
    background-color: var(--base-color-5);   
    border-color: var(--base-color-5);
}

.styled_checkbox input[type=radio] + .check_place::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--white);
    position: absolute;
    top: 5px;
    left: 4px;
    opacity: 0;
    transition: 0.3s;
}

.styled_checkbox input[type=radio]:checked + .check_place::after {
    opacity: 1;
}


input,
.input,
textarea,
.textarea {
    font-size: 14px;
    color: var(--base-color-7);
    height: 44px;
    border-radius: 6px;
    padding: 0 12px;
    min-width: 1px;
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0px 0px 0px 2px transparent inset;
    transition: box-shadow 0.3s, border 0.3s;
}

textarea,
.textarea {
    height: 100px;
    padding: 8px 12px;
    resize: vertical;
}

.textarea {
    overflow-y: auto;
}

.input {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
}

.inputr::-webkit-scrollbar { 
    display: none;  /* Older Safari and Chromium */
}

.input,
.textarea {
    white-space: pre-wrap; 
}

input[type=date] {
    outline: none;
}

input[type=text].error,
input[type=password].error,
input[type=tel].error,
input[type=number].error,
input[type=email].error,
input[type=date].error,
.input.error,
textarea.error,
.textarea.error {
    border-color: var(--danger);
    /* background-image: url('../images/error-img.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 38px;
    background-position: calc(100% - 12px) 11px; */
}

input[type=text].success,
input[type=password].success,
input[type=tel].success,
input[type=number].success,
input[type=email].success,
input[type=date].success,
.input.success,
textarea.success,
.textarea.success {
    border-color: var(--base-color-5);
    box-shadow: 0px 0px 0px 1px var(--base-color-5) inset;
    background-image: url('../images/success-img.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 38px;
    background-position: calc(100% - 12px) 11px;
}


input[type=text]:focus,
input[type=password]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=date]:focus,
.input[contenteditable],
textarea:focus,
.textarea[contenteditable] {
    outline: none !important;
    border-color: var(--base-color-5);
    outline: 0;
    outline-offset: 0;
}

.deleted {
    font-weight: 400;
    text-decoration: line-through;
    text-decoration-color: #BD3F3A;
}
.added {
    font-weight: 400;
    background-color: #c5e5d7;
}

.highlighted {
    font-weight: 400;
    background-color: #f3cbca;
}

.highlighted.active {
    font-weight: 400;
    color: var(--base-color-6);
    background-color: #cf3e3d;
}

/* [contenteditable] span.deleted {
    background-color: #fdd;
    color: #900;
    text-decoration: line-through;
    pointer-events: none;
    user-select: none;
} */

/* [contenteditable] span.added {
    background-color: #dfd;
    color: #060;
}

[contenteditable] span.deleted::selection {
    background: transparent;
} */

.styled_input {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.styled_input label {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.styled_inner {
    display: flex;
    flex-direction: column;
    position: relative;
}

.styled_inner .input,
.styled_inner .textarea {
    width: 100%;
}

.input_info-text {
    margin-top: 4px;
    color: var(--base-color-9);
}

.input_info-text.error {
    color: var(--danger);
}

.input_info-text.success {
    color: var(--base-color-5);
}

input::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.error_message {
    color: var(--danger)
}

.radio_toggle {
    display: flex;
    padding: 2px;
    background-color: var(--accent-color-2);
    border: 1px solid var(--base-color-8);
    border-radius: 6px;
}

.radio_box-btn {
    display: flex;
    width: 100%;
    position: relative;
    margin-bottom: 0;
}

.styled_input label.radio_box-btn {
    display: flex;
    margin-bottom: 0;
}

.radio_box-btn input {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

.radio_box-btn .radio_inner {
    text-align: center;
    font-size: 14px;
    color: var(--base-color-9);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4px 16px;
    min-height: 40px;
    border-radius: 4px;
    box-shadow: 0px 3px 8px 0px transparent;
    border: 1px solid transparent;
    transition: 0.3s;
    cursor: pointer;
}

.radio_box-btn .radio_inner .icon {
    flex: 0 0 20px;
    fill: var(--base-color-9);
    margin-right: 8px;
    width: 20px;
    height: 20px;
    transition: 0.3s;
}

.radio_box-btn input[type=radio]:checked + .radio_inner {
    color: var(--base-color-7);
    background-color: var(--base-color-6);
    box-shadow: 0px 3px 8px 0px #2E2E541F;
}

.radio_box-btn input[type=radio]:checked + .radio_inner .icon {
    fill: var(--base-color-7);
}

.loader {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 13;
    background-color: rgba(32, 30, 80, 0.4);
    background-image: url('../images/loader.gif');
    background-repeat: no-repeat;
    background-position: center;
}

a {
    color: var(--link-color);
}

article>*:not([class]) {
    margin-bottom: 22px;
}

article a {
    color: var(--link-color);
    text-decoration: none;
    transition: 0.3s;
}

article li {
    position: relative;
    padding-left: 10px;
}

article li::before {
    content: "";
    width: 4px;
    height: 4px;
    background-color: var(--text-color);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
}


h1,
.main_title {
    font-size: var(--h1);
    font-weight: 700;
    margin-bottom: calc(var(--h1) * 1.1);
}

article * + h1 {
  margin-top: calc(var(--h1) * 2);
}

h2,
.sub-main_title {
    font-size: var(--h2);
    font-weight: 700;
    margin-bottom: calc(var(--h2) * 1.1);
}

article * + h2 {
  margin-top: calc(var(--h2) * 2);
}

h3,
.item_title {
    font-size: var(--h3);
    font-weight: 700;
    margin-bottom: calc(var(--h3) * 1.1);
}

article * + h3 {
  margin-top: calc(var(--h3) * 2);
}

h4,
.box_title {
    font-size: var(--h4);
    font-weight: 700;
    margin-bottom: calc(var(--h4) * 1.1);
}

article * + h4 {
  margin-top: calc(var(--h4) * 2);
}

h5,
.small_title {
    font-size: var(--h5);
    font-weight: 700;
    margin-bottom: calc(var(--h5) * 1.1);
}

article * + h5 {
  margin-top: calc(var(--h5) * 2);
}

.start_page .item_title,
.form_quiz .item_title {
    font-size: 20px;
}

a:active {
    color: inherit;
    /*dont touch*/
}

.checkbox_styled {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.checkbox_styled input {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
}

.checkbox_styled .icon {
    margin: 0;
    background-color: transparent;
    border-radius: 4px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    cursor: pointer;
}

.checkbox_styled.wasChecked .icon {
    background-color: var(--base-color-8);
    border-color: var(--base-color-8);
}

.checkbox_styled input:checked + .icon {
    background-color: var(--base-color-5);
    border-color: var(--base-color-5);
}

.checkbox_styled input:checked + .icon {
    background-color: var(--base-color-5);
    border-color: var(--base-color-5);
}


.checkbox_styled.wasAdded input:checked + .icon, 
.checkbox_styled.wasAdded .icon {
    background-color: var(--base-color-10);
    border-color: var(--base-color-10);
}


.checkbox_styled .icon::before, 
.checkbox_styled.wasChecked .icon::before,
.checkbox_styled.wasAdded .icon::before {
    content: "";
    width: 10px;
    height: 6px;
    border-bottom: 2px solid var(--base-color-6);
    border-left: 2px solid var(--base-color-6);
    position: absolute;
    top: 4px;
    left: 4px;
    transform: rotate(-45deg);
    opacity: 0;
    transition: 0.3s;
}

.checkbox_styled input:checked+.icon::before, 
.checkbox_styled.wasChecked .icon::before,
.checkbox_styled.wasAdded .icon::before {
    opacity: 1;
}

.checkbox_styled input[type=radio]+.icon {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    /* background-color: var(--base-color-5) */
}

.checkbox_styled input[type=radio]+.icon::before {
    border-bottom: 0;
    border-left: 0;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.icon {
    display: block;
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

/* btn */

.btn {
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    color: var(--base-color-6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    min-height: 32px;
    border-radius: 6px;
    border: 1px solid var(--base-color-2);
    background-color: var(--base-color-2);
    cursor: pointer;
    transition: 0.3s;
}

.btn:disabled,
.btn.disabled {
    cursor: unset;
    filter: grayscale(1);
    opacity: 0.5;
    pointer-events: none;
}

.btn .icon {
    fill: var(--base-color-6);
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    transition: 0.3s;
}

.btn .icon + span {
    margin-left: 8px;
}

.btn span + .icon {
    margin-left: 8px;
}

/* btn size */

.btn.big {
    font-size: 14px;
    min-height: 44px;
    padding: 4px 20px;
}

.btn.big Span {display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;}

.btn.big .icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.btn.small {
    font-size: 12px;
    min-height: 24px;
    padding: 4px 8px;
}

.btn.small .icon {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
}

/* btn color */

.btn.gray_outline {
    color: var(--base-color-7);
    background-color: transparent;
    border-color: var(--base-color-8);
}

.btn.gray_outline .icon {
    fill: var(--base-color-7);
}

.btn.outline {
    color: var(--base-color-2);
    background-color: transparent;
    border-color: var(--base-color-2);
}

.btn.outline .icon {
    fill: var(--base-color-2);
}

.close_btn {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.close_btn::before,
.close_btn::after {
    content: "";
    width: 18px;
    height: 2px;
    background-color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transition: background-color 0.3s;
}

.close_btn::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close_btn::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.shadow {
    font-size: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(32, 30, 80, 0.4);
    cursor: pointer;
    z-index: 12;
}

.shadow.less {
    z-index: 8;
}

.hidden {
    display: none !important;
}

.popup_wrap {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
    overflow-y: auto;
    padding-top: 156px;
    padding-bottom: 156px;
    background: rgba(32, 30, 80, 0.4);
}

.popup {
    color: var(--text-color);
    width: calc(100% - 30px);
    max-width: 500px;
    background-color: var(--site-bg-contrast);
    padding: 32px;
    border-radius: 5px;
    height: max-content;
    display: none;
    position: relative;
}

.confirm_popup {
    max-width: 340px;
    top: calc(50% - 127px);
}

.confirm_popup .btn {
    width: 100px;
}

.confirm_place {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.confirm_form .title {
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

.popup.active {
    display: block;
}

.close_popup {
    font-size: 0;
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 30px;
    height: 30px;
}

.close_popup::before,
.close_popup::after {
    content: "";
    width: 20px;
    height: 1px;
    background-color: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: 0.3s;
}

.close_popup::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close_popup::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.popup .btn+.error {
    color: var(--danger);
    margin-top: 8px;
}

.popup.login_popup.active {
    display: flex;
    flex-direction: column;
}

.popup.login_popup form {
    display: flex;
    flex-direction: column;
}

.login_box {
    display: flex;
    flex-direction: column;
    margin: 40px auto var(--section-bottom) auto;
    width: calc(100% - 30px);
    max-width: 500px;
    background-color: var(--site-bg-contrast);
    padding: 20px;
    border-radius: 5px;
    box-shadow: #ddd 0 0 10px;
}

.sub_text {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.input_wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.input_wrap span {
    margin-bottom: 3px;
}

.input_wrap.code_wrap input {
    font-size: 18px;
    max-width: 150px;
    letter-spacing: 10px;
    padding: 0 15px;
    text-align: center;
}

.popup button.btn {
    margin-top: 20px;
}

.popup.category_popup {
    max-width: 740px;
    padding: 16px;
}

.popup.category_popup .cabinet {
    padding: 0;
}

.popup.category_popup .cabinet .centre {
    padding: 0;
    margin: 0;
    width: 100%;
}

.popup.edit_category_popup .image_place {
    margin-bottom: 22px;
    max-width: 200px;
    width: fit-content;
    height: auto;
    position: relative;
}

.popup.edit_category_popup .image_place img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.popup.edit_category_popup .remove_icon {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff;
    border-radius: 5px;
}

.popup.edit_category_popup .remove_icon .icon {
    width: 18px;
    height: 18px;
    fill: var(--primary);
    transition: 0.3s;
}

.dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 44px;
}

.dropdown.filters {
    min-height: 0px;
    width: auto;
    margin-right: 8px;
}

.dropdown.dropdown-open .overflow {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.dropdown.filters .overflow {
    border: unset;
    padding: 5px 30px 5px 0;
    min-height: 0px;
    color: #d13980;
}

.blog_sect .dropdown {
    width: auto;
}

.dropdown_short {
    width: 68px;
    height: 30px;
    margin: 0 20px;
    color: #1d1d1d;
}

.blog_sect .dropdown.dropdown-open {
    width: 200px;
}

.dropdown.dropdown_short.dropdown-open {
    width: 68px;
}

.dropdown .overflow {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    padding: 0 50px 0 12px;
    min-height: 44px;
    border-radius: 6px;
    position: relative;
    float: left;
}

.dropdown.short .overflow {
    width: 138px;
}

.dropdown Span {
    cursor: pointer;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
}

.dropdown.filters Span {
    padding-left: 0px;
}

.dropdown_short Span {
    padding: 0 10px;
}

.dropdown UL {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    z-index: 4;
    margin: 0;
    overflow: auto;
    display: block;
    background-color: var(--site-bg-contrast);
    border: 1px solid var(--border-color);
}

.dropdown_short ul {
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    top: 28px;
}

.dropdown UL LI {
    position: relative;
    float: left;
    background: none;
    width: 100%;
    font-size: 14px;
    line-height: 1.6;
    transition: 0.3s;
    cursor: pointer;
}

.dropdown_short UL LI {
    border: none;
}

.dropdown UL LI A {
    display: block;
    width: 100%;
    padding: 10px;  
    text-decoration: none;
    color: #282828;
    position: relative;
    float: left;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.dropdown_short ul li a {
    color: #1d1d1d;
    text-align: center;
    padding: 6px 0;
}

.dropdown UL LI A.selected {
    display: none;
}

.drop_arrow {
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    width: 45px;
    height: 100%;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
}

.dropdown.filters .drop_arrow {
    width: 21px;
    position: relative;
}

.drop_arrow::after,
.drop_arrow::before {
    content: "";
    width: 1px;
    height: 7px;
    background-color: var(--accent-color-1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: bottom;
    transition: 0.3s;
}

.drop_arrow::after {
    transform: translate(-50%, -50%) rotate(-45deg);    
}

.drop_arrow::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.dropdown-open .drop_arrow::after {
    transform-origin: top;
    transform: translate(-50%, -50%) rotate(45deg);
}

.dropdown-open .drop_arrow::before {
    transform-origin: top;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dropdown_short .drop_arrow {
    right: -1px;
    top: 0;
    background-color: #8bc34a;
    border-radius: 0 3px 3px 0;
    width: 31px;
    height: 30px;
}

.dropdown_alt {
    width: 100%;
    height: 35px;
    background-color: #fff;
    border-radius: 2px;
}

.dropdown_alt .drop_arrow {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    background-color: #fff;
    width: 35px;
    height: 35px;
    right: -1px;
    top: -1px;
}

.dropdown_alt .drop_arrow:after {
    content: "";
    width: 5px;
    height: 5px;
    border-left: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
}

.dropdown_alt ul {
    border: none;
    padding: 0;
    top: calc(100% + 1px);
    right: -1px;
    left: -1px;
    overflow-y: auto;
    max-height: 230px;
    border: 1px solid #ddd;
    border-top: none;
}

.dropdown_alt UL LI {
    font-size: 16px;
    border: none;
}

.dropdown_alt UL LI A {
    background-color: #fff;
    padding: 10px 15px;
}

.dropdown_alt UL LI:last-child A {
    border-bottom: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.dropdown_alt.dropdown-open {
    width: initial;
}

.dropdown_alt.dropdown-open .drop_arrow {
    border-bottom-right-radius: 0;
}

.dropdown_sm {
    background-color: #fff;
    height: 45px;
}

.dropdown_sm .drop_arrow {
    width: 45px;
    height: 45px;
}

.dropdown_sm .drop_arrow:after {
    border-width: 8px 6px 0 6px;
    border-color: #fff transparent transparent transparent;
    margin: -4px 0 0 -6px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.breadcrumbs li a {
    padding-right: 12px;
    margin-right: 6px;
    position: relative;
}

.breadcrumbs li a::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: currentColor;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.breadcrumbs a {
    text-decoration: none;
}

/*header*/
.header_site {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 6px 16px;
    background-color: var(--site-bg-contrast);
    border-bottom: 1px solid var(--base-color-8);
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
}

body.user_page .header_site {
    border-bottom: 1px solid var(--border-color);
}

.open-top_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    width: 24px;
    height: 24px;
}

.open-top_menu .icon {
    width: 24px;
    height: 24px;
    fill: var(--base-color-7);
}

.create_btn.btn {
    margin-right: 46px;
}

.header-top_menu {
    display: none;
    flex-direction: column;
    padding: 10px;
    width: 200px;
    border-radius: 5px;
    background-color: var(--site-bg-contrast);
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
}

.header-top_menu.active {
    display: flex;
}

.header-top_menu ul {
    display: flex;
    flex-direction: column;
    /*padding-bottom: 8px;*/
    /*margin-bottom: 8px;*/
    /*border-bottom: 1px solid var(--border-color);*/
}

.header-top_menu ul li+li {
    margin-top: 3px;
}

.header-top_menu ul a {
    font-size: 16px;
    text-decoration: none;
    color: var(--text-color-light);
    transition: 0.3s;
}

.header-top_menu ul a.active {
    color: var(--link-color-active);
}

.header_logo {
    display: block;
    width: 78px;
    height: auto;
}

.header_logo img {
    width: 100%;
    height: auto;
}

.user_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 1px solid var(--base-color-9);
    border-radius: 50%;
    transition: 0.3s;
}

.user_btn .icon {
    width: 16px;
    height: 16px;
    fill: var(--base-color-9);
    transition: 0.3s;
}

.user_btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.header_menu {
    display: none;
    flex-direction: column;
    padding: 10px;
    width: 225px;
    border-radius: 5px;
    background-color: var(--site-bg-contrast);
    position: absolute;
    top: calc(100% + 10px);
    right: 10px;
    z-index: 12;
    border: 1px solid var(--border-color)
}

.header_menu.menu_opened {
    display: flex;
}

.toggle_language {
    display: flex;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.toggle_language a {
    font-size: 12px;
    display: block;
    text-decoration: none;
    padding: 2px 3px;
    margin: 0 2px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    transition: 0.3s;
}

.toggle_language a.active {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--text-color-contrast);
    cursor: unset;
}

.menu_list li + li {
    display: flex;
    margin-top: 8px;
}

.menu_list a {
    font-size: 14px;
    text-decoration: none;
    color: var(--base-color-8);
    display: flex;
    align-items: center;
    padding: 8px 16px;
    width: 100%;
    transition: 0.3s;
    position: relative;
}

.menu_list a::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    transition: 0.3s;
}

.menu_list a .icon {
    fill: var(--base-color-8);
    flex: 0 0 18px;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.menu_list a span {
    white-space: nowrap;
    position: relative;
    display: block;
    z-index: 1;
    overflow: hidden;
    transition: 0.3s;
}

.menu_list a.active {
    background-color: #362a4c;
}

.menu_list a.active::after {
    background-color: var(--base-color-2);
}

.menu_list a.active .icon {
    fill: var(--base-color-2);
}

.social_list {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.social_list a {
    display: block;
    padding: 5px;
}

.social_list a .icon {
    fill: var(--primary);
    transition: 0.3s;
}

.logout {
    font-size: 14px;
    text-decoration: none;
    color: var(--base-color-8);
    display: flex;
    align-items: center;
    margin-top: 32px;
    padding: 8px 16px;
    position: relative;
    transition: 0.3s;
}

.logout .icon {
    fill: var(--base-color-8);
    flex: 0 0 18px;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    transition: 0.3s;
}

.logout::before {
    content: "";
    display: block;
    width: calc(100% - 16px);
    height: 1px;
    background-color: var(--base-color-9);
    border: none;
    position: absolute;
    top: -16px;
    left: 16px;
}

.logout span {
    white-space: nowrap;
    position: relative;
    display: block;
    z-index: 1;
    overflow: hidden;
    transition: 0.3s;
}


/* Site grid */

.content_wrap {
    display: flex;
    width: 100%;
    height: 100%;
}

.site-left_menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 34px 16px 34px 0;
    height: calc(100% - 54px);
    background-color: var(--base-color-7);
    position: fixed;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
}

.site-left_menu.active {
    display: flex;
}

.close-left_menu {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    position: fixed;
    top: 64px;
    right: 10px;
}

.close-left_menu .icon {
    fill: var(--base-color-6);
    width: 24px;
    height: 24px;
}

.my_profile-btn {
    font-size: 14px;
    text-decoration: none;
    color: var(--base-color-8);
    display: flex;
    align-items: center;
    margin-top: 32px;
    padding: 8px 16px;
    position: relative;
    transition: 0.3s;
}

.my_profile-btn::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    transition: 0.3s;
}

.my_profile-btn .icon {
    fill: var(--base-color-8);
    flex: 0 0 18px;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    transition: 0.3s;
}

.my_profile-btn::before {
    content: "";
    display: block;
    width: calc(100% - 16px);
    height: 1px;
    background-color: var(--base-color-9);
    border: none;
    position: absolute;
    top: -16px;
    left: 16px;
}

.my_profile-btn.active::after {
    background-color: var(--base-color-2);
}

.my_profile-btn.active .icon {
    fill: var(--base-color-2);
}

.my_profile-btn.active {
    background-color: #633262;
}

.my_profile-btn span {
    white-space: nowrap;
    position: relative;
    display: block;
    overflow: hidden;
    transition: 0.3s;
    transition: 0.3s;
}

.use_menu-info {
    display: flex;
    flex-direction: column;
    padding: 20px 0 0 16px;
    margin-top: auto;
}

.change_size-menu {
    display: none;
}

.user_box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user_box .user_image {
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 1px solid var(--base-color-9);
    border-radius: 50%;
}

.user_box .user_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user_box .user_image .icon {
    width: 16px;
    height: 16px;
    fill: var(--base-color-9);
    transition: 0.3s;
}

.user_box .col {
    display: flex;
    flex-direction: column;
}

.user_box .user_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--base-color-6);
    display: block;
    transition: 0.3s;
}

.user_box .user_status {
    font-size: 12px;
    color: var(--base-color-6);
    display: block;
    transition: 0.3s;
}

.user_menu-data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 8px;
}

.user_menu-data .icon {
    margin-right: 8px;
    display: block;
    width: 12px;
    height: 12px;
    fill: var(--base-color-8);
}

.user_menu-data span {
    font-size: 12px;
    color: var(--base-color-8);
    margin-right: 8px;
}

.user_menu-data b {
    font-size: 12px;
    color: var(--base-color-6);
}

.user_menu-data b i {
    font-style: normal;
}

.user_menu-data b i.points_small {
    display: none;
}

.user_menu-data A {margin:0 0 0 8px; font-size:12px;}

.site_content {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 64px 16px;
    width: 100%;
}

/* CREATE QUIZ HEADER */

.create_quiz-header {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    background-color: var(--site-bg-contrast);
    border-bottom: 1px solid var(--base-color-8);
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
}

.create_quiz-header > .col:nth-child(1) {
    display: flex;
    align-items: center;
    margin-right: auto;
    padding-right: 16px;
}

.create_quiz-header .header_logo {
    margin-right: auto;
}

.moderation_percent {
    display: none;   
}

.create_quiz-header .preview_btn {
    margin-right: 12px;
    padding: 4px 12px;
    min-height: 32px;
}

.create_quiz-header .preview_btn .icon {
    width: 12px;
    height: 12px;
}

.create_quiz-header .user_btn {
    margin-left: 0;
}

.create_quiz-header .quiz_back-btn {
    display: none;
}

.create_quiz-header .open_mob-chat {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    padding: 0;
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: none;
}

.create_quiz-header .open_mob-chat .icon {
    width: 20px;
    height: 20px;
    fill: var(--base-color-7);
}

.create_quiz-header .btn.save_btn {
    display: none;
}

.quiz_back-row {
    display: flex;
    padding: 6px 16px;
}

.quiz_back-row .back_btn {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--base-color-8);
    display: flex;
    align-items: center;
}

.quiz_back-row .back_btn i {
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--base-color-9);
    border-radius: 6px;
}

.quiz_back-row .back_btn i .icon {
    fill: var(--base-color-8);
    display: block;
    width: 12px;
    height: 12px;
}

/* CREATE QUIZ ASIDE */

.crete_quiz-aside {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--base-color-7);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9;
}

.create_menu {
    display: flex;
    align-items: center;
    width: 100%;
}

.create_menu li {
    display: flex;
    width: 100%;
}

.create_menu a {
    text-decoration: none;
    font-size: 8px;
    font-weight: 700;
    color: var(--base-color-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 4px;
    transition: 0.3s;
    position: relative;
}

.create_menu a::before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--base-color-2);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.3s;
}

.create_menu a .icon {
    display: block;
    margin: 0 0 4px 0;
    width: 16px;
    height: 16px;
    fill: var(--base-color-8);
    transition: 0.3s;
}

.create_menu a.active {
    color: var(--base-color-6);
    background: #362a4c;
}

.create_menu a.active::before {
    opacity: 1;
}

.create_menu a.active .icon {
    fill: var(--base-color-2);
}

.change_size-crete {
    display: none;
}

/* BOTTOM NAVIGATION */

.bottom_nav {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9;
}

.bottom_nav.hight {
    z-index: 13;
}

.navigation_list {
    display: flex;
    align-items: center;
    background-color: var(--base-color-7);
}

.navigation_list li {
    display: flex;
    flex: 1 1 auto;
}

.navigation_list a {
    text-decoration: none;
    font-size: 8px;
    font-weight: 700;
    color: var(--base-color-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 4px;
    transition: 0.3s;
    position: relative;
}

.navigation_list a::before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--base-color-2);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.3s;
}

.navigation_list a .icon {
    display: block;
    margin: 0 0 4px 0;
    width: 16px;
    height: 16px;
    fill: var(--base-color-8);
    transition: 0.3s;
}

.navigation_list a.active {
    color: var(--base-color-6);
    background: #362a4c;
}

.navigation_list a.active::before {
    opacity: 1;
}

.navigation_list a.active .icon {
    fill: var(--base-color-2);
}

.bottom_popup {
    display: flex;
    flex-direction: column;
    padding: 34px 0 24px 0;
    width: 100%;
    background-color: var(--base-color-7);
    border-bottom: 1px solid var(--accent-color-1);
    position: absolute;
    bottom: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.bottom_popup.active {
    opacity: 1;
    visibility: visible;
}

.close-bottom_popup {
    font-size: 0;
    display: block;
    padding: 0;
    width: 24px;
    height: 24px;
    border: none;
    background-color: transparent;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
}

.close-bottom_popup .icon {
    fill: var(--base-color-8);
    width: 24px;
    height: 24px;
}

.bottom-user_box {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    padding: 0 16px;
    width: 100%;
}

.bottom-user_image {
    flex: 0 0 32px;
    margin-right: 16px;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 1px solid var(--base-color-9);
    border-radius: 50%;
}

.bottom-user_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.bottom-user_image .icon {
    width: 16px;
    height: 16px;
    fill: var(--base-color-9);
    transition: 0.3s;
}

.bottom-user_box .col {
    display: flex;
    flex-direction: column;
}

.bottom-user_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--base-color-6);
    display: block;
    transition: 0.3s;
}

.bottom-user_status {
    font-size: 12px;
    color: var(--base-color-8);
    display: block;
    transition: 0.3s;
}

.bottom_menu-data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
    padding: 0 16px;
}

.bottom_menu-data .icon {
    margin-right: 8px;
    display: block;
    width: 12px;
    height: 12px;
    fill: var(--base-color-8);
}

.bottom_menu-data span {
    font-size: 12px;
    color: var(--base-color-8);
    margin-right: 8px;
}

.bottom_menu-data b {
    font-size: 12px;
    color: var(--base-color-6);
}

.bottom_menu-data b i {
    font-style: normal;
}

.bottom_menu-data b i.points_small {
    display: none;
}

.bottom_popup-menu {
    margin: 26px 0 8px 0;
    padding: 8px 0;
    border-top: 1px solid var(--base-color-9);
    border-bottom: 1px solid var(--base-color-9);
}

.bottom_popup-menu li {
    display: flex;
}

.bottom_popup-menu li + li {
    margin-top: 8px;
}

.bottom_popup-menu a {
    font-size: 14px;
    text-decoration: none;
    color: var(--base-color-8);
    display: flex;
    align-items: center;
    padding: 8px 16px;
    position: relative;
    transition: 0.3s;
}

.bottom_popup-menu a .icon {
    fill: var(--base-color-8);
    flex: 0 0 18px;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    transition: 0.3s;
}

.bottom_popup .logout {
    margin-top: 0;
}

.bottom_popup .logout::before {
    display: none;
}

/*FOOTER SITE*/
.footer_site {
    background-color: var(--site-bg-contrast);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

body.user_page .footer_site {
    border-top: 1px solid var(--border-color);
}

.bottom_info {
    font-size: 12px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.footer_email {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}

.footer_email li a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.footer_email li .icon {
    fill: var(--dark);
    margin-right: 10px;
    transition: 0.3s;
}

/*QUIZ LIST*/
.quiz_list {
    width: 100%;
}

.buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.buttons.sort_links {
    flex-direction: row;
    justify-content: space-evenly;
}

.sorting-block {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.buttons a:not(.btn) {
    font-size: 12px;
    color: var(--base-color-2);
    text-decoration: none;
    display: flex;
    width: max-content;
    padding: 2px 16px 2px 0;
    margin-right: 24px;
    position: relative;
}

.buttons a:not(.btn)::before,
.buttons a:not(.btn)::after {
    content: "";
    width: 1px;
    height: 6px;
    background-color: var(--base-color-2);
    position: absolute;
    top: 50%;
    right: 6px;
    transform-origin: top;
    transition: 0.3s;
}

.buttons a:not(.btn)::before {
    transform: translateY(-50%) rotate(-45deg);
}

.buttons a:not(.btn)::after {
    transform: translateY(-50%) rotate(45deg);
}

.buttons a[data-order="asc"]::before {
    transform-origin: bottom;
    transform: translateY(-50%) rotate(45deg);
}

.buttons a[data-order="asc"]::after {
    transform-origin: bottom;
    transform: translateY(-50%) rotate(-45deg);
}

.quiz_list-add .icon,
.buttons .icon {
    margin-left: 8px;
    width: 14px;
    height: 14px;
    fill: var(--text-color-contrast);
}

.quizes_top {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.quizes_top > .col:nth-child(1) {
    display: flex;
    flex-direction: column;
}

.quizes_top .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.quizes_top .breadcrumbs li {
    display: flex;
    width: auto;
    position: relative;
}

.quizes_top .breadcrumbs li + li {
    padding-left: 11px;
    margin-left: 11px;
}

.quizes_top .breadcrumbs li + li::before {
    content: "";
    width: 4px;
    height: 4px;
    background-color: var(--base-color-2);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

.quizes_top .breadcrumbs a {
    font-size: 18px;
    text-decoration: none;
    color: var(--base-color-2);
}

.quizes_top .breadcrumbs span {
    font-weight: 700;
    font-size: 18px;
    color: var(--base-color-6);
}

.quizes_top .sort_links {
    display: none;
}

.quizes_top > .col:nth-child(2) {
    display: flex;
}

.quizes_top .btn.sorted_quizes-btn {
    margin-right: auto;
}

.mobile_sorting {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 54px);
    position: fixed;
    top: 54px;
    left: 0;
    background-color: var(--base-color-7);
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 12;
}

.mobile_sorting.active {
    opacity: 1;
    visibility: visible;
}

.mobile_sorting .sorted_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.mobile_sorting .box_title {
    color: var(--base-color-6);
    margin-bottom: 0;
}

.mobile_sorting .close_sorted {
    display: block;
    padding: 0;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: none;
}

.mobile_sorting .close_sorted .icon {
    width: 24px;
    height: 24px;
    fill: var(--base-color-8);
}

.mobile_sorting .sorted_body {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.mobile_sorting .sorted_group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.mobile_sorting .sorted_group + .sorted_group {
    padding-top: 24px;
}

.mobile_sorting .sorted_group + .sorted_group::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--base-color-6);
    position: absolute;
    top: 6px;
    left: 0;
    opacity: 0.1;
}

.mobile_sorting .check_place {
    color: var(--base-color-6);
}

.mobile_sorting .styled_checkbox input[type=radio]:checked + .check_place {
    color: var(--base-color-2)
}

.mobile_sorting .styled_checkbox input[type=radio]:checked + .check_place::before {
    border-color: var(--base-color-2);
    background-color: transparent;
}

.mobile_sorting .styled_checkbox input[type=radio]:checked + .check_place::after {
    background-color: var(--base-color-2);
}

.mobile_sorting .sorted_bottom {
    padding: 16px;
}

.mobile_sorting .sorted_bottom .btn {
    width: 100%;
}

.quizes_top .btn.add_subfolder {
    margin-left: auto;
}

.quiz_list>ul>li>div .quiz_item {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border-radius: 5px;
    background-color: var(--site-bg-contrast);
    position: relative;
}

.quiz_list>ul>li>div .quiz_item .statistic,
.quiz_list>ul>li>div .quiz_item .statistic>div {
    display: flex;
    flex-direction: row;
    padding: 0px 11px 0 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.quiz_list>ul>li>div .quiz_item .statistic>div {
    padding-right: 16px;
}

.quiz_list>ul>li>div .quiz_item .statistic span {
    padding-right: 10px;
}

.quiz_list>ul>li>div .quiz_item .statistic ul {
    display: flex;
    flex-wrap: wrap;
}

.quiz_list>ul>li>div .quiz_item .statistic ul li {
    margin: 2px 8px 2px 0;
    position: relative;
}

.quiz_list>ul>li>div .quiz_item .statistic ul li:not(:last-child) {
    display: none;
    padding-right: 12px;
}

.quiz_list>ul>li>div .quiz_item .statistic ul li:not(:last-child)::before {
    content: "";
    width: 6px;
    height: 6px;
    border-bottom: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.quiz_list>ul>li>div .quiz_item .statistic ul a {
    color: var(--dark);
    font-size: 12px;
    transition: 0.3s;
}

.quizes_menu {display:none;}

.select_list_type {display:none;}

.select_list_type a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.select_list_type a .icon {
    margin-left: 0;
    width: 20px;
    height: 20px;
    transition: 0.3s;
    fill: var(--accent-color-4);
}

.select_list_type a.active .icon {
    fill: var(--primary);
}

.quizes_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.quizes_grid LI, .quizes_list LI {display:flex;}

.quizes_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.quiz_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px;
    background-color: var(--base-color-6);
    border-radius: 6px; width:100%;
}

.quiz_box .naming {display:flex; width:100%;}
    .quiz_box .naming .btn.copy_quiz {display:none;}

.quizes_list .quiz_box .rest {display:flex; width:100%; flex-wrap:wrap;}
    .quiz_box .ern {font-size:11px; display:flex; text-align:center; margin:4px 0; line-height:1;}

.quiz_buttons .btn.comments_btn {display:none;}
    .quiz_box .quiz_buttons .btn + .btn.copy_quiz {order:1; margin:0;}
    .quiz_box .quiz_buttons .big.moderation_btn {order:2;}
    .quiz_box .quiz_buttons .btn.gray_outline {order:3;}

.quiz_box .quiz_image {
    flex: 0 0 100px;
    margin: 0 8px 12px 0;
    display: block;
    width: 100px;
    height: 56px;
    order: 1;
}

.quiz_box .quiz_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.quiz_box .quiz_list-title {
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--base-color-7);
    flex: 0 0 calc(100% - 108px);
    display: flex;
    overflow: hidden;
    margin: 0 0 12px 0;
    height: 56px;
    order: 2;
    transition: 0.3s;
}

.quiz_box .quiz_list-title span {
    display:inline;
    line-height:1.4;
    overflow: hidden;
    height: 53px;
}

.quiz_box .created_date {
    font-size: 12px;
    flex: 0 0 calc(100% - 145px);
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    order: 3;
}

.quiz_box .created_date .icon {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.quiz_box .quiz_raty {
    flex: 0 0 145px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    order: 4;
}

.quiz_box .coutnt {
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-right: auto;
}

.quiz_box .coutnt .icon {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    fill: var(--base-color-9);
}

.quiz_box .star {
    margin: 0;
}

.star .star_wrap {
    display: flex;
}

.quiz_box .star .icon, .ui_row .star .icon {
    margin-left: 2px;
    width: 16px;
    height: 16px;
    fill: var(--base-color-8);
}

.quiz_box .star .icon.active, .ui_row .star .icon.active {
    fill: var(--base-color-2);
}

.quiz_box .quiz_item-category {
    flex: 0 0 100%;
    margin-bottom: 12px;
    order: 5;
}

.quiz_box .quiz_item-category ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.quiz_box .quiz_item-category ul li {
    display: flex;
    align-items: center;
    position: relative;
}

.quiz_box .quiz_item-category ul li + li::before {
    content: "/";
    font-size: 12px;
    color: var(--accent-color-1);
    margin: 0 5px;
}

.quiz_box .quiz_item-category ul a {
    text-decoration: none;
    font-size: 12px;
    color: var(--accent-color-1);
    position: relative;
    transition: 0.3s;
}

.quiz_box .status_date-wrap {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
    order: 6;
}

.moderate_quiz-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 4px;
}

.quiz_box .moderate_staus {
    font-size: 10px;
    font-weight: 700;
    display: block;
    padding: 4px 0;
    text-align:center;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    width:108px;
}

.quiz_box .moderate_staus::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 22px;
    opacity: 0.25;
    z-index: -1;
}

.quiz_box .moderate_staus.not_moderate {
    color: var(--base-color-4);
}

.quiz_box .moderate_staus.not_moderate::before {
    background-color: var(--base-color-4);
}

.quiz_box .moderate_staus.process {
    color: var(--base-color-3);
}

.quiz_box .moderate_staus.process::before {
    background-color: var(--base-color-3);
}

.quiz_box .moderate_staus.moderated {
    color: var(--base-color-5);
}

.quiz_box .moderate_staus.moderated::before {
    background-color: var(--base-color-5);
}

.quiz_box .quiz-moderate_date {
    font-size: 12px;
}

.quiz_box .quiz-moderate_date span {
    color: var(--base-color-9);
}

.quiz_box .quiz_item-user {
    flex: 0 0 50%;    
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 12px;
    order: 7;
}

.quiz_box .user_image {
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.quiz_box .user_image .icon {
    width: 12px;
    height: 12px;
    fill: var(--base-color-8);
}

.quiz_box .quiz_item-user .col {
    display: flex;
    flex-direction: column;
}

.quiz_box .quiz_item-user .name {
    font-size: 14px;
}

.quiz_box .quiz_item-user .user_status {
    font-size: 12px;
    color: var(--base-color-9);
}

.quiz_box .btn.copy_quiz {
    flex: 0 0 32px;
    margin-right: 8px;
    padding: 0;
    width: 32px;
    min-height: 32px;
    order: 8;
}

.quiz_box .quiz_buttons {
    flex: 1 1 calc(100% - 52px);
    display: flex;
    order: 9;
}

.quiz_box .quiz_buttons .btn {min-height:32px; padding:4px 12px;}

.quiz_box .quiz_buttons .btn + .btn {
    margin-left: 8px;
}

.quiz_box .quiz_buttons .btn.start_btn {white-space:nowrap; order:1;}

.quiz_box .quiz_buttons .btn.edit_btn {white-space:nowrap; flex:0 0 auto;}
    .quiz_box .quiz_buttons .btn.edit_btn Span {display:none;}

.quiz_box .btn.comments_btn {
    flex: 0 0 44px;
    margin-right: 8px;
    width: 44px;
    padding: 0;
    font-size: 0;
}

.quiz_box .btn.comments_btn span {
    display: none;
}

.quiz_box .big {flex: 1 1 auto;}

.quiz_box .big.start_quiz {
    flex: 1 1 auto;
}

.quiz_box .big.results {
    flex: 1 1 auto;
}

.quiz_list-link {
    display: flex;
    margin-bottom: 12px;
    flex-direction: column;
}

.quiz_list-link .links {
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 8px;
}

.quiz_list-link .links .star_wrap {
    display: flex;
}

.quiz_list-link .links .star_wrap .icon {
    fill: #d2d4d8;
    margin: 0 2px;
    width: 16px;
    height: 16px;
}

.quiz_list-link .links .star_wrap .icon.active {
    fill: var(--primary);
}

.to_quiz {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
    margin-right: 16px;
}

.quiz_list-link .links .star {
    margin-left: 0;
}

.quiz_list-bottom {
    display: flex;
    align-items: flex-end;
}

.quiz_list-btns {
    display: flex;
    flex-wrap: wrap;
}

.quiz_list-btns .btn {
    margin: 0 15px 8px 0;
}

.quiz_list-btns .btn .icon {
    fill: var(--text-color);
}

.quiz_list-btns .btn span+.icon {
    margin-left: 8px;
}

.quiz_list-bottom .status {
    align-self: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.quiz_list-bottom .status.A {
    transform: rotate(0deg);
}

.quiz_list-bottom .status.W {
    transform: rotate(10deg);
}

.quiz_list-bottom .status.L {
    transform: rotate(-10deg);
}

.quiz_list-wrap {
    flex:0 0 40px;
    margin-left: auto;
    display: flex;
    align-items: center;
    position: relative;
    align-self: flex-start;
    order:2;
}

.quiz_box .big.quiz_list-more {
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    height: 32px;
    padding:4px 0;
}

.quiz_list-more.btn {
    padding: 0;
}

.quiz_list-more .icon {
    fill: var(--text-color);
    opacity: 0.7;
    transition: 0.3s;
}

.quiz_list-control {
    display: none;
    position: absolute;
    width: 170px;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--site-bg-contrast);
    color: var(--text-color-contrast);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    box-shadow: 0px 16px 40px 0px #00000080;
    z-index: 1;
}

.quiz_list-control.active {
    display: block;
}

.quiz_list-control a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--base-color-7);
    white-space: nowrap;
}

.quiz_list-control a+a {
    margin-top: 6px;
}

.quiz_list-control a .icon {
    fill: var(--text-color);
    transition: 0.3s;
    margin-right: 8px;
}

.box_title.publication_title {
    font-size: 22px;
    color: var(--base-color-6);
    display: block;
    margin-bottom: 24px;
}

.publication {
    display: flex;
    flex-direction: column;
    width: calc(100% + 32px);
    padding: 20px 16px;
    margin: 0 -16px 20px -16px;
    max-width: 512px;
    border-radius: 6px;
    background-color: var(--base-color-6);
}

.publication + .question_control {
    max-width: 512px;
}

.publication .item_title {
    display: block;
    margin-bottom: 15px;
}

.publication_link {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.publication_link span {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    height: 44px;
    background-color: var(--accent-color-2);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.publication_link input {
    flex: 1 1 auto;
    border-radius: 0;
}

.publication_copy {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 6px;
}

.publication_copy .icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: var(--text-color-contrast);
}

.publication_status {
    font-size: 14px;
    position: relative;
    padding: 12px;
    display: flex;
    border-radius: 6px;
    overflow: hidden;
}

.publication_status::before {
    content: "";
    width: 2px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.publication_status .icon {
    flex: 0 0 16px;
    margin-right: 12px;
    width: 16px;
    height: 16px;
}

.publication_status.not_active {
    color: var(--base-color-3);
    background-color: #f9f1e8;
}

.publication_status.not_active::before {
    background-color: var(--base-color-3);
}

.publication_status.not_active .icon {
    fill: var(--base-color-3);
}

.publication_status.active {
    color: var(--base-color-5);
    background-color: #e8f9ec;
}

.publication_status.active::before {
    background-color: var(--base-color-5);
}

.publication_status.active .icon {
    fill: var(--base-color-5);
}

.publication_share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.publication_share b {
    margin-right: 10px;
}

.media_wrap {
    display: flex;
}

.publication_share a {
    display: block;
    margin-left: 24px;
    padding: 0;
    transition: 0.3s;
}

.publication_share a .icon {
    width: 16px;
    height: 16px;
    fill: var(--base-color-9);
    transition: 0.3s;
}

/*CABINET*/
.cabinet {
    padding: 12px;
    background-color: var(--base-color-6);
    border-radius: 6px;
}

.cabinet .centre {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 15px;
    width: calc(100% - 30px);
    max-width: 1024px;
    border-radius: 5px;
    background-color: var(--site-bg-contrast);
}

.cabinet .item_title {
    display: block;
    margin-bottom: 12px;
}

.cabinet_top {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 12px;
}

.cabinet_top .star_wrap {
    display: flex;
    margin-left: auto;
}

.cabinet_top .star_wrap .icon {
    margin: 0 2px;
}

.cabinet_top .star_wrap .icon {
    fill: var(--grey);
}

.cabinet_top .star_wrap .icon.active {
    fill: var(--warning);
}

.cabinet_star.star {
    display: flex;
    align-items: center;
    margin: 0 0 8px 0;
}

.cabinet_star.star .result-status {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-right: 12px;
}

.cabinet_star.star .icon {
    margin-right: 8px;
}

.cabinet_star.star b {
    margin-top: 4px;
}

.cabinet_inner {
    display: flex;
    flex-direction: column;
}

.cabinet_inner>.col-1 {
    background-color: var(--grey);
    padding: 15px;
    border-radius: 5px;
}

.user_setting {
    display: flex;
    flex-direction: column;
}

.user_setting+.user_setting {
    margin-top: 20px;
}

.user_setting .small_title {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.user_setting .small_title .icon {
    margin-right: 8px;
}

.setting_info {
    display: flex;
    align-items: center;
}

.setting_info.active {
    display: none;
}

.setting_info span {
    transition: 0.3s;
}

.setting_info a {
    font-size: 0;
    order: 1;
    margin-left: 8px;
}

.change_setting {
    display: none;
}

.setting_info.active+.change_setting {
    display: flex;
    align-items: center;
}

.change_setting input {
    flex: 1 1 auto;
    min-width: 0px;
}

.change_setting .btn {
    flex: 0 0 auto;
    margin-left: 10px;
}

.close_change {
    font-size: 0;
    flex: 0 0 auto;
    margin-left: 10px;
    padding: 5px;
}

.close_change .icon {
    width: 12px;
    height: 12px;
    fill: var(--dark);
    transition: 0.3s;
}

.change_photo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.change_photo .photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
}

.change_photo .photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload_photo {
    margin-left: 12px;
}

#profile_image {
    display: none;
    border: none;
    height: auto;
    margin-right: 10px;
    padding: 0;
    width: 190px;
}

.cabinet_inner>.col-2 {
    background-color: var(--grey);
    margin-top: 10px;
    padding: 15px;
    border-radius: 5px;
}

.info_author {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.info_author span {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.info_author textarea {
    height: 150px;
}

.info_author .btn {
    margin-top: 6px;
    width: max-content;
    padding: 7px 16px;
    min-height: 32px;
}

.result_list {
    display: flex;
    flex-direction: column;
}

.result_list li {
    display: flex;
    margin-bottom: 8px;
}

.result_list li.headline {
    font-weight: 700;
}

.result_list .user_name {
    flex: 0 1 29%;
    padding: 3px;
}

.result_list .date_end {
    flex: 0 1 29%;
    padding: 3px;
}

.result_list .total_mark {
    flex: 0 1 29%;
    padding: 3px;
}

.result_list .total_coef {
    flex: 0 1 13%;
    padding: 3px;
}

.quiz_nav {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
}

.quiz_nav > .col:nth-child(1) {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.quiz_nav .counter_title {
    font-size: 12px;
    margin-right: 16px;
    width: 45px;
    color: var(--base-color-9);
}

.dropdown.dropdown_counter {
    width: 80px;
    min-height: 32px;
}

.dropdown.dropdown_counter .overflow {
    background-color: var(--base-color-6);
    min-height: 32px;
    padding: 0 32px 0 8px;
}

.dropdown.dropdown_counter .drop_arrow {
    width: 32px;
    height: 32px;
}

.quiz_nav .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background-color: var(--base-color-6);
    border-radius: 6px;
}

.quiz_nav .pagination .arrow,
.quiz_nav .pagination ul a,
.quiz_nav .pagination ul strong,
.quiz_nav .pagination ul span {
    font-size: 14px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1px;
    padding: 0 3px;
    min-width: 32px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: 0.3s;
    position: relative;
}

.quiz_nav .pagination ul strong {
    border-color: var(--border-color);
}

.quiz_nav .pagination .arrow:hover,
.quiz_nav .pagination ul a:hover {
    border-color: var(--base-color-2);
}

.quiz_nav .pagination .arrow {
    font-size: 0;
}

.quiz_nav .pagination .arrow.start,
.quiz_nav .pagination .arrow.prev {
    transform: rotate(180deg);
}

.quiz_nav .pagination .arrow::before,
.quiz_nav .pagination .arrow.start::after,
.quiz_nav .pagination .arrow.end::after {
    content: "";
    margin: 0 0 0 -2px;
    width: 11px;
    height: 11px;
    border-bottom: 1px solid var(--base-color-9);
    border-right: 1px solid var(--base-color-9);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.quiz_nav .pagination .arrow.start::before,
.quiz_nav .pagination .arrow.end::before {
    margin: 0 0 0 1px;
}

.quiz_nav .pagination .arrow.start::after,
.quiz_nav .pagination .arrow.end::after {
    margin: 0 0 0 -5px;
}

.quiz_nav .pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
}

/*EDIT QUIZ*/
.edit_quiz {
    flex: 1 1 auto;
    display: flex;
    position: relative;
}

.quiz_content {
    width: 100%;
}

.first_page {
    display: flex;
    flex-direction: column;
    margin: -16px -16px 0 -16px;
    padding: 16px;
    width: calc(100% + 32px);
    max-width: 1032px;
    border-radius: 6px;
    background-color: var(--site-bg-contrast);
}

.first_page>.col-1 {
    padding-bottom: 12px;
}

.first_page .small_title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.select_dropdown {
    margin-bottom: 12px;
    width: 100%;
    max-width: 275px;
}

.select_dropdown img {
    display: block;
    margin-right: 12px;
    width: 32px;
    height: auto;
}

.select_dropdown>ul {
    display: flex;
    flex-direction: column;
}

.select_dropdown>ul a {
    display: flex;
    align-items: center;
}

.select_picture {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 158px;
    background: var(--accent-color-2);
    border: 1px solid var(--base-color-8);
    border-radius: 4px;
    transition: 0.3s;
    overflow: hidden;
}

.select_picture input {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.select_picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.select_place {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.select_place .icon {
    fill: var(--base-color-8);
    width: 55px;
    height: 55px;
    pointer-events: none;
    margin-bottom: 16px;
}

.select_place .upload_file {
    display: inline-block;
    font-size: 14px;
    color: var(--base-color-9);
}

.select_place .upload_file b {
    font-weight: 400;
    text-decoration: underline;
    color: var(--base-color-2);
}

.upload_place {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 12px;
    width: 100%;
    min-height: 158px;
    background: var(--accent-color-2);
    border: 1px solid var(--base-color-8);
    border-radius: 4px;
    transition: 0.3s;
}

.upload_place .icon {
    fill: var(--base-color-8);
    width: 45px;
    height: 45px;
    pointer-events: none;
    margin-bottom: 16px;
}

.upload_place .text {
    display: inline-block;
    text-align: center;
    font-size: 14px;
    color: var(--base-color-9);
    margin-bottom: 8px;
}

.input_place {
    display: flex;
    width: 100%;
}

.input_place input {
    width: 100%;
}

.delete_picture {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--base-color-2);
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: 0.3s;
}

.delete_picture .icon {
    width: 18px;
    height: 18px;
    fill: var(--base-color-6);
}

.select_picture img+.delete_picture {
    display: flex;
}

.select_list img {
    width: 30px;
    height: auto;
}

.final_review {
    max-width: 1032px;
    width: calc(100% + 32px);
    margin: 0 -16px 16px -16px;
}

.text_box {
    width: 100%;
    margin-bottom: 12px;
}

.text_box input {
    width: 100%;
}

.text_box textarea {
    width: 100%;
    height: 120px;
}

.styled_inner.styled_text {
    position: relative;
}

.buttons_wrap {
    display: flex;
    height: 40px;
    border-radius: 20px;
    background-color: var(--base-color-7);
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 2;
}

.buttons_wrap a {
    text-align: center;
    font-size: 14px;
    color: var(--base-color-2);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    height: 40px;
    transition: 0.3s;
    position: relative;
}

.buttons_wrap a + a::before {
    content: "";
    width: 1px;
    height: 16px;
    background-color: var(--border-color);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.buttons_wrap a .icon {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    transition: 0.3s;
}

.hashtag_box {
    margin-bottom: 20px;
}

.add_hashtag {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.add_hashtag input {
    flex: 1 1 auto;
    border-radius: 4px 0 0 4px;
}

.add_hashtag a {
    font-size: 18px;
    flex: 0 0 auto;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -6px;
    padding: 0 20px;
    background-color: var(--primary);
    border-radius: 6px;
    color: var(--text-color-contrast);
    text-decoration: none;
    transition: 0.3s;
}

.add_hashtag a .icon {
    display: block;
    margin-right: 8px;
    width: 18px;
    height: 18px;
    fill: var(--base-color-6);
}

.hashtag_box ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -8px;
}

.hashtag_box li {
    font-size: 12px;
    display: flex;
    align-items: center;
    margin: 0 8px 8px 0;
    padding: 8px;
    border-radius: 6px;
    background-color: var(--accent-color-2);
}

.hashtag_box li .checkbox_styled {
    margin-right: 5px;
}

.hashtag_box li .text_link {
    margin-left: 6px;
}

.hashtag_box li span {
    word-break: break-all;
}

.del_hashtag {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    margin-left: 4px;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    transition: 0.3s;
}

.del_hashtag .icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    fill: var(--base-color-2);
}

.btn.gpt-import {
    font-size: 18px;
}

.btn.gpt-import .icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.btn.big.next_settings {
    font-size: 18px;
    margin-top: 22px;
}

.question_name {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    width: 100%;
    max-width: 900px;
}

.question_name input[type=text] {
    font-size: 18px;
    flex: 1 1 auto;
}

.question_name .btn {
    margin-left: 10px;
}

.question_top-wrap {
    display: flex;
    margin: 0 0 12px 0;
    max-width: 1032px;
}

.btn.gray_outline.show_more_for_all {
    color: var(--base-color-6);
}

.btn.gray_outline.show_more_for_all .icon {
    fill: var(--base-color-6);
}

.questions {
    display: flex;
    flex-direction: column;
    width: calc(100% + 32px);
    max-width: 1032px;
    margin: 0 -16px 32px -16px;
}

.question_one {
    border-radius: 6px;
    background-color: var(--base-color-6);
}

/*.question_one.sortable-chosen .question_data {
    display: none;
}
*/
.question_one+.question_one {
    margin-top: 8px;
}

.question_one>Div {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.question_one.sortable-chosen .question_data {
    display: none;
}

.question_one .question_item {
    width: 100%;
}

.question_one .sorter {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    height: 56px;
    position: relative;
    border-radius: 8px;
    background-color: transparent;
    transition: 0.3s;
    -webkit-touch-callout: none;
    cursor:grab;
}

.question_one .sorter .icon {
    width: 24px;
    height: 24px;
    fill: var(--base-color-9);
    transition: 0.3s;
}

.question_header {
    display: flex;
    flex-wrap: wrap;
}

.question_actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid var(--border-color);
    background-color: var(--accent-color-3);
}

.question_place {
    width:100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.question_place:before {
    content: attr(data-number);
    font-size: 16px;
    font-weight: 700;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.question_inner {
    display: flex;
    width: 100%;
    position: relative;
    padding: 10px 10px 10px 42px;
}

.question_inner::before,
.question_inner::after {
    content: "";
    width: calc(100% - 42px);
    height: 10px;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}

.question_inner::before {
    bottom: auto;
    top: 0;
    transform: rotate(180deg);
}

.question_place input.question_title {
    padding-left: 35px;
    width: 100%;
}

.question_place textarea.question_title,
.question_place .textarea.question_title {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    height: 21px;
    padding:0;
    overflow: hidden;
    resize: none;
    background-color: transparent;
    border: none;
    position: relative;
}

.show_more {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    position: relative;
    border-radius: 8px;
    background-color: transparent;
    transition: 0.3s;
}

.show_more:last-child {
    margin-right: 10px;
}

.show_more .icon {
    width: 24px;
    height: 24px;
    transition: 0.3s;
    fill: var(--base-color-7);
}

.show_more.active .icon {
    transform: rotate(180deg);
}

.choose_variant,
.hide_question,
.copy_question,
.delete_question {
    flex: 0 0 56px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: transparent;
    transition: 0.3s;
}

.choose_variant .icon,
.hide_question .icon,
.copy_question .icon,
.delete_question .icon {
    width: 24px;
    height: 24px;
    transition: 0.3s;
}

.choose_variant .icon,
.hide_question .icon,
.copy_question .icon {
    fill: var(--base-color-9);
}

.choose_variant.active .icon {
    fill: var(--base-color-2);
}

.hide_question .icon.no-eye {
    display: none;
}

.hide_question.active .icon.eye {
    display: none;
}

.hide_question.active .icon.no-eye {
    display: block;
    fill: var(--base-color-2);
}

.move_question {
    flex: 0 0 30px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.move_question a {
    position: relative;
    width: 100%;
    height: 20px;
}

.move_question a:nth-child(1) {
    transform: rotate(180deg);
}

.move_question a::before,
.move_question a::after {
    content: "";
    width: 1px;
    height: 6px;
    background-color: var(--text-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: bottom;
    transition: 0.3s;
}

.move_question a::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.move_question a::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.question_actions-wrap {
    order: 2;
    width: 100%;
}

.question_content {
    padding: 12px 16px 16px 16px;
}

.select_variant {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 16px;
}

.select_variant+.variant_inner {
    margin-top: 15px;
}

.select_variant li {
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.select_variant li.active {
    border-color: var(--primary);
}

.select_variant .icon {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    fill: var(--base-color-9);
}

.select_variant li span {
    text-align: center;
}

.variant_inner {
    display: flex;
    flex-direction: column;
}

.variant_inner li {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    background-color: var(--base-color-6);
    position: relative;
    transition: 0.3s;
}

.variant_inner li + li {
    margin-top: 12px;
}

.variant_inner li .checkbox_styled {
    margin: 0 16px 0 0;
}

.move_variant {
    flex: 0 0 20px;
    display: flex;
    flex-direction: column;
    margin: 0 0 0 8px;
}

.move_variant a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor:grab;
}

.move_variant .icon {
    width: 16px;
    height: 16px;
    fill: var(--base-color-9);
    transition: 0.3s;
}

.variant_date {
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;
    height: 40px;
    border-radius: 4px;
    padding: 0;
    position: relative;
    background-color: #fff;
    border: 1px solid var(--border-color);
}

.variant_date .icon {
    margin-left: 8px;
    width: 14px;
    height: 14px;
    filter: contrast(0);
    position: absolute;
    z-index: 1;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.add_photo {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    margin-right: 6px;
    border-radius: 4px;
    background-color: var(--accent-color-2);
}

.add_photo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px 0 0 4px;
    overflow: hidden;
    position: relative;
}

.add_photo-img .icon {
    width: 16px;
    height: 16px;
    fill: var(--base-color-8);
}

.add_photo-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add_photo-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add_photo-btn .icon {
    width: 16px;
    height: 16px;
    fill: var(--base-color-7);
    transition: 0.3s;
}

.add_photo-btn.remove-btn .icon {
    fill: var(--base-color-1);
    transform: rotate(-45deg);
}

.variant_inner li input[type=text],
.variant_inner li input[type=date],
.variant_inner li .input,
.variant_inner li textarea,
.variant_inner li .textarea {
    font-size: 14px;
    flex: 1 1 auto;
    margin-right: 10px;
    padding: 0;
    min-width: 0;
    width: 100%;
    border: none;
}

.variant_inner li textarea,
.variant_inner li .textarea,
.variant_inner li .input {
    display:inline;
    height:21px;
}

.variant_inner li textarea {
    resize: none;
}

.del_variant {
    flex: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.del_variant .icon {
    fill: var(--base-color-2);
    width: 16px;
    height: 16px;
    transition: 0.3s;
}

.rating_variant .row-1 {
    display: flex;
    margin-bottom: 10px;
}

.rating_variant .row-1 .icon {
    display: block;
    margin: 0 3px;
    width: 32px;
    height: 32px;
    filter: contrast(0);
}

.rating_variant .row-2 {
    display: flex;
    justify-content: space-between;
}

.variant_points {
    display: flex;
    align-items: center;
}

.variant_points span {
    margin-right: 8px;
}

.variant_points input[type=number] {
    width: 75px;
}

.variant_inner .proggress {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 175px) !important;
    height: 24px !important;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.variant_inner .proggress .line {
    height: 24px !important;
    padding-left: 6px;
    display: flex;
    align-items: center;
    color: #fff;
}

.line.col-to-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.line.col-to-row a {
    font-weight: 400;
}

.add_bottom-wrap {
    display: flex;
    margin: 16px 0 0 0;
}

.add_variant {
    font-size: 14px;
    display: flex;
    align-items: center;
    width: max-content;
    text-decoration: none;
    transition: 0.3s;
}

.add_variant .icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    transition: 0.3s;
}

.add_bottom-wrap .or_press {
    margin-left: 16px;
    font-weight: 400;
    color: var(--base-color-9);
}

.add_question {
    margin: 0 auto 0 0;
    order: -1;
}

.question_control {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1032px;
}

.question_control .btn {
    font-size: 18px;
    text-align: center;
    margin-bottom: 16px;
}

.question_control .btn .icon {
    width: 18px;
    height: 18px;
}

.question_control .error_message {
    color: var(--base-color-1);
    font-size: 14px;
    margin-bottom: 16px;
    padding: 12px 20px;
    position: relative;
    z-index: 1;
    border-radius: 6px;
    overflow: hidden;
}

.question_control .error_message::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--base-color-1);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.25;
}

.question_control .error_message::after {
    content: "";
    width: 4px;
    height: 100%;
    background-color: var(--base-color-1);
    position: absolute;
    top: 0;
    left: 0;
}

.question_control .btn.go_to_final_review {
    margin-left: auto;
}

/*START PAGE*/
.start_page {
    background-color: var(--site-bg-contrast);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.start_page>.col-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    width: 100%;
    background-size: cover;
}

.start_page>.col-1.has_youtube {
    position: sticky;
    z-index: 1;
    top: 0;
    min-height: 250px;
}

.start_page>.col-1 .tiktok-embed {
    margin: 10px 0 !important;
    width: auto;
}

.start_page>.col-2 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
    position: relative;
}

.scroll_box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
}

.author_quiz {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.photo_author {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.photo_author img {
    width: 30px;
    height: 30px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 50%;
}

.photo_author .icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}


.start_page-text {
    margin-bottom: 12px;
    word-break: break-word;
}

/*.start_page-text p {*/
/*  margin: 0px 0px 22px;*/
/*}*/

.start_page-text.no_margin {
    margin-bottom: 0px;
}

.start_page-text.top_margin {
    margin-top: 12px;
}

.quiz_info {
    word-break: break-all;
}

.author_social {
    display: flex;
    margin-bottom: 25px;
}

.author_social li+li {
    margin-left: 10px;
}

.author_social li a {
    display: block;
    padding: 5px;
}

.author_social a .icon {
    transition: 0.3s;
}

.start_page>.col-2 .btn {
    max-width: 300px;
    margin: 0 auto 25px auto;
    width: 100%;
}

.start_page-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 100px;
    padding: 16px 32px;
}

.start_page-bottom ul a {
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.start_page-bottom .confident {
    text-align: center;
}

.start_page-bottom .confident a {
    color: var(--text-color);
}

.start_page.temp-2 .start_page-bottom .confident a {
    text-decoration: none;
    color: var(--text-color-contrast);
}

.start_page.temp-2 {
    flex-direction: row;
}

.start_page.temp-2>.col-1 {
    flex: 0 1 100%;
    min-height: 100%;
    height: auto;
}

.start_page.temp-2>.col-2 {
    position: absolute;
    background-color: #00000099;
    height: 100%;
    width: 100%;
    flex: 0 1 100%;
    justify-content: center;
    color: #fff;
    overflow-y: auto;
}

.start_page.temp-2 .scroll_box {
    max-width: 460px;
}

.category_dropdown {
    max-width: 275px;
}

/*FORM QUIZ*/
.form_quiz {
    flex: 1 1 auto;
}

.form_quiz .centre {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 15px;
    width: 100%;
    max-width: 860px;
    background-color: var(--site-bg-contrast);
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.form_quiz-text {
    color: var(--text-color-contrast);
    display: block;
    width: max-content;
    margin-bottom: 10px;
    background-color: var(--primary);
    padding: 3px 6px;
    border-radius: 3px;
}

.list_quiz {
    display: grid;
    grid-gap: 10px;
    margin-bottom: 15px;
}

.list_quiz label {
    position: relative;
}

.list_quiz input[type=checkbox],
.list_quiz input[type=radio] {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

.list_quiz .label_box,
.list-photo_quiz .label_box {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 28px;
    min-height: 45px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.list-photo_quiz input[type=radio]:checked+.label_box,
.list_quiz input[type=checkbox]:checked+.label_box,
.list_quiz input[type=radio]:checked+.label_box {
    border-color: var(--primary);
}

.list-photo_quiz input[type=radio]+.label_box::after,
.list_quiz input[type=checkbox]+.label_box::after,
.list_quiz input[type=radio]+.label_box::after {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    left: 10px;
    background-color: var(--primary);
    transform: translateY(-50%);
    border-radius: 3px;
    filter: contrast(0);
    transition: 0.3s;
}

.list-photo_quiz input[type=radio]+.label_box::after,
.list_quiz input[type=radio]+.label_box::after {
    border-radius: 50%;
}

.list-photo_quiz input[type=radio]:checked+.label_box::after,
.list_quiz input[type=checkbox]:checked+.label_box::after,
.list_quiz input[type=radio]:checked+.label_box::after {
    filter: contrast(1);
}

.photo_quiz {
    display: grid;
    grid-gap: 24px;
    margin-bottom: 15px;
}

.photo_quiz label {
    position: relative;
}

.list-photo_quiz input[type=radio],
.photo_quiz input[type=checkbox],
.photo_quiz input[type=radio] {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

.photo_quiz picture {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

.photo_quiz input[type=checkbox]:checked+picture,
.photo_quiz input[type=radio]:checked+picture {
    border-color: var(--primary);
}

.photo_quiz img {
    width: 100%;
    height: auto;
}

.photo_quiz figcaption {
    min-height: 40px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.list-photo_quiz {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 15px;
}

.list-photo_quiz .col-1 {
    display: grid;
    grid-gap: 20px;
}

.list-photo_quiz label {
    position: relative;
}

.list-photo_quiz .col-2 {
    margin-bottom: 20px;
}

.list-photo_quiz .col-2 img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.quiz_panel {
    display: flex;
    align-items: center;
}

.quiz_progress-wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

.quiz_progress {
    width: 100%;
    height: 8px;
    position: relative;
    background-color: var(--grey);
    border-radius: 2px;
    overflow: hidden;
}

.quiz_progress b {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--success);
}

.quiz_progress-wrap>span {
    margin-bottom: 5px;
}

.quiz_progress-wrap>span b {
    font-weight: 400;
    color: var(--primary);
}

.prev_quiz {
    transform: rotate(180deg);
    padding: 10px;
    margin-right: 10px;
    border: 1px solid var(--border-color);
    border-radius: 21px;
    transition: 0.3s;
}

.prev_quiz .icon {
    fill: var(--text-color-light);
    transition: 0.3s;
}

.prev_next {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 21px;
    border: 1px solid var(--primary);
    transition: 0.3s;
}

.prev_next .icon {
    margin-left: 5px;
    transition: 0.3s;
}

.text-box_quiz {
    margin-bottom: 15px;
}

.text-box_quiz input {
    width: 100%;
}

.text-box_quiz input:focus {
    border-color: var(--primary);
}

.date_quiz {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
    max-width: 200px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    background-color: #f1f1f1;
}

.date_quiz .icon {
    margin: 10px;
    filter: contrast(0);
}

.date_quiz input {
    flex: 1 1 auto;
    border-radius: 0;
    border: none;
}

/*RESUL*/
.resul {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0 50px 0;
    background-color: var(--site-bg-contrast);
    flex: 1 1 auto;
}

.resul .centre {
    display: flex;
    flex-direction: column;
    background-color: var(--site-bg-contrast);
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 10px;
    max-width: 640px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.resul .item_title {
    text-align: center;
}

.resul .congrats {
    margin-bottom: 8px;
}

.resul .total {
    font-weight: 400;
}

.resul .total b {
    margin-left: 5px;
    color: var(--primary);
}

.rate_quiz {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rate_quiz span {
    margin-right: 10px;
}

.rate_quiz .star_wrap {
    display: flex;
}

.rate_quiz a {
    padding: 3px;
    filter: contrast(0);
    transition: 0.3s;
}

.rate_quiz .icon {
    display: flex;
    width: 26px;
    height: 26px;
    fill: var(--grey);
    transition: 0.3s;
}

.rate_quiz .star_wrap svg.active {
    fill: var(--warning);
    /*  filter: contrast(1);*/
}

.resul .contact {
    margin-bottom: 8px;
}

.resul .quiz_info {
    margin-bottom: 12px;
}

.share_quiz {
    width: 100%;
    margin-bottom: 25px;
}

.duel {
    width: 100%;
    display: grid;
    margin-bottom: 25px;
}

.duel .user {
    font-size: 16px;
    padding: 5px;
}

.duel .user b {
    color: var(--primary);
}

.winners {
    margin-bottom: 25px;
}

.winners li {
    font-size: 16px;
}

.winners li+li {
    margin-top: 5px;
}

.winners li b {
    color: var(--primary);
}

.donate_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.donate_box+.donate_box {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

/*SEARCH QUIZ*/
.search_quiz {
    padding: 50px 0 var(--section-bottom);
}

.search_form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 10px;
    width: calc(100% - 30px);
    max-width: 560px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: #ddd 0 0 10px;
}

.search_form .item_title {
    text-align: center;
}

.search_box {
    display: flex;
    align-items: center;
    position: relative;
}

.search_box input[type=text] {
    flex: 1 1 auto;
    border-radius: 5px 0 0 5px;
}

.search_btn {
    border-radius: 0 5px 5px 0;
    height: 44px;
}

.search_btn.btn_fill .icon {
    fill: var(--text-color-contrast);
}

.quiz_result {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    padding: 10px;
    width: 100%;
    background-color: var(--site-bg-contrast);
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.quiz_result li+li {
    margin-top: 8px;
}

.quiz_result a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.quiz_result img {
    flex: 0 0 24px;
    display: block;
    margin-right: 10px;
    width: 24px;
    height: 24px;
    object-fit: cover;
}

/*CATEGORIES QUIZ*/
.categories_quiz {
    padding: 0 0 var(--section-bottom) 0;
}

.categories_quiz .centre {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    max-width: 750px;
    background-color: var(--site-bg-contrast);
    padding: 23px 15px;
    border-radius: 5px;
}

.categories_quiz .centre.left {
    margin: 0;
}

.user_search_form {
    margin-bottom: 22px;
}

.categories_quiz .item_title {
    display: block;
    text-align: center;
}

.categories_quiz .categories_quiz-text {
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 22px;
}

.categories_quiz.search_quiz .categories_quiz-text {
    text-align: start;
}

.categories_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.one_cat {
    position: relative;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.categories_list a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.show_cat-menu {
    position: absolute;
    top: 0;
    right: 0;
}

.quiz_category-control {
    display: none;
    position: absolute;
    top: 20px;
    right: 0;
    padding: 10px;
    width: 130px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--secondary);
}

.quiz_category-control.active {
    display: block;
}

.quiz_category-control a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: start;
    color: var(--base-color-7);
    transition: 0.3s;
}

.quiz_category-control a+a {
    margin-top: 6px;
}

.quiz_category-control a .icon {
    fill: var(--text-color);
    transition: 0.3s;
    margin-right: 8px;
}

.quiz_category-control a:hover .icon {
    fill: var(--primary);
}

.categories_list figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.categories_list .category-icon,
.categories_list img {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1 / 1;
    height: 140px;
    object-fit: contain;
}

.categories_list .one_cat.hide img {
    filter: grayscale(1);
    opacity: 0.3;
}

.categories_list figcaption {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px;
}

.btn.add_cat-btn {
    margin: 20px auto 16px auto;
}

.btn.add_cat-btn .icon {
    margin-left: 8px;
    width: 14px;
    height: 14px;
    fill: var(--text-color-contrast);
}

/*QUIZ GRID*/
.quiz_grid {
    padding: 50px 0 var(--section-bottom);
}

.quiz_grid .centre {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    max-width: 750px;
}

.quiz_grid .item_title {
    text-align: center;
}

.quiz_grid-text {
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 16px;
}

.sort_wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.sort_wrap .btn {
    line-height: 1;
    padding: 0px 6px;
    min-height: 30px;
}

.sort_wrap .btn .icon {
    fill: var(--secondary);
    margin-right: 12px;
}

.sort_wrap .sort {
    padding: 10px;
    border-radius: 5px;
    box-shadow: #ddd 0 0 10px;
    position: absolute;
    top: calc(100% + 10px);
    background: var(--site-bg-contrast);
    z-index: 1;
}

.sort_wrap .sort a {
    font-size: 14px;
    text-decoration: none;
    color: var(--dark);
    display: flex;
    align-items: center;
    padding: 3px 0;
    width: 135px;
    margin-right: 0;
    transition: 0.3s;
}

.sort_wrap .sort a.active {
    color: var(--primary);
}

.sort_wrap .sort a span {
    margin-right: 8px;
}

.sort_wrap .sort a .icon {
    width: 12px;
    height: 12px;
    margin-left: auto;
    fill: var(--primary);
}

.sort_wrap .sort a.active .icon {
    transform: rotate(90deg);
}

.quiz_grid-list {
    display: grid;
    grid-gap: 12px;
    padding: 25px 0;
}

.quiz_grid-list>li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    box-shadow: #ddd 0 0 10px;
    background-color: var(--site-bg-contrast);
    border-radius: 5px;
}

.quiz_grid-list>li::before {
    display: none;
}

.quiz_created_user {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.quiz_created_user img {
    display: block;
    margin-right: 12px;
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 5px;
}

.quiz_description {
    margin-bottom: 12px;
    text-indent: 20px;
}

.quiz_description p {
    margin: 0px 0px 22px;
}

.quiz_list .tile_categories {
    margin-bottom: 20px;
    width: 100%;
}

.quiz_list .tile_categories ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.quiz_list .tile_categories ul a {
    font-size: 12px;
    display: block;
    text-decoration: underline;
    margin: 0 8px 2px 0;
    padding-right: 12px;
    position: relative;
    color: var(--text-color);
    transition: 0.3s;
}

.quiz_list .tile_categories ul li a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-bottom: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.quiz_list .tile_categories ul li:last-child a {
    margin-right: 0;
    padding-right: 0;
}

.quiz_list .tile_categories ul li:last-child a::before {
    display: none;
}

.bottom_data {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

.bottom_data>.col:nth-child(1) {
    flex: 0 1 auto;
}

.bottom_data>.col:nth-child(1) .btn {
    text-wrap: nowrap;
}

.bottom_data>.col:nth-child(2) {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: 10px;
}

.counter_complete {
    text-align: end;
    font-size: 14px;
    margin-bottom: 6px;
}

.bottom_data .star_wrap {
    display: flex;
    margin-bottom: 6px;
}

.bottom_data .star_wrap .icon {
    display: block;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    fill: var(--grey);
}

.bottom_data .star_wrap .icon.active {
    fill: var(--primary);
}

.change_variant {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width:44px;
    flex-shrink:0;
}

.change_variant .variants_list {
    background: var(--base-color-6);
    width: 260px;
    box-shadow: 0px 16px 40px 0px #00000080;
    border-radius: 10px;
    padding: 12px 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    z-index: 2;
    display: none;
}

.change_variant .variants_list li {
    font-size: 14px;
    color: var(--base-color-7);
    display: flex;
    padding: 7px 16px;
    cursor: pointer;
    transition: 0.3s;
}

.change_variant .variants_list li + li {
    margin-top:6px;
}

.change_variant .variants_list li.active {
    background-color: var(--accent-color-2);
}

.change_variant .variants_list li svg {
    fill: var(--base-color-9);
}

.change_variant .variants_list li.active svg {
    fill: var(--base-color-2);
}

.change_variant .variants_list li span {
    padding-left: 13px;
}

.page_404 {
    padding: 45px 0 65px 0;
    display: flex;
    justify-content: center;
}

.text_404 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.links_404 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text_404_num {
    font-size: 65px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--danger);
}

.text_404_title {
    font-size: 18px;
    margin-bottom: 8px;
}

.links_404 {
    padding-top: 8px;
}

/* NEWS */

.news_article {
    padding: 30px 0 60px;
}

.news_article .centre {
    margin: 0 auto;
    width: calc(100% - 30px);
    max-width: 992px;
}

.info_blog {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.info_blog .info_inner {
    display: flex;
    align-items: center;
    margin: 0 8px;
}

.news_article h1 {
    text-align: center;
}

.info_blog .info_inner .icon {
    filter: grayscale(1);
    margin-right: 6px;
}

/* COMMENTS */

.comments {
    padding: 15px 0px 30px 0px;
}

.header_reviews {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.header_reviews .btn {
    width: max-content;
}

.comments_list,
.comments_list ul {
    padding: 0;
}

.comments_list li {
    padding-left: 18px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.comments_list>li {
    padding-left: 0;
}

.comments_list li::before {
    display: none;
}

.comment_top {
    display: flex;
    flex-wrap: wrap;
}

.comment_name,
.comment_author {
    font-weight: 700;
    margin-right: 12px;
}

.date_comment,
.comment_date {
    color: var(--text-color-light);
}

.comment_rating {
    display: flex;
    align-items: center;
    flex: 0 1 100%;
    padding-top: 8px;
}

.comment_rating_btn {
    margin-left: 12px;
    padding: 6px 8px;
    min-height: auto;
}

.comment_rating_btn .icon {
    margin-right: 8px;
}

.comment_body {
    margin-bottom: 8px;
    padding-top: 8px;
}

.comment_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment_form {
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin: 22px auto var(--section-bottom) auto;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 4px;
}

.comment_title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    display: block;
    margin-bottom: 18px;
}

.comment_form label {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.comment_form label>span {
    margin-bottom: 6px;
}

.comment_form textarea {
    height: 150px;
}

.comment_form .subscribe {
    display: flex;
    align-items: center;
    position: relative;
}

.comment_form .subscribe input {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
}

.comment_form .subscribe .label_check {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 10px 45px;
    min-height: 45px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.comment_form .subscribe input[type=checkbox]+.label_check::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 15px;
    background-color: var(--primary);
    transform: translateY(-50%);
    border-radius: 3px;
    filter: contrast(0);
    transition: 0.3s;
}

.comment_form .subscribe input[type=checkbox]:checked+.label_check::after {
    filter: contrast(1);
}

.social_article {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social_article a {
    margin-left: 8px;
    filter: grayscale(1);
    transition: 0.3s;
}

.star {
    display: flex;
    align-items: center;
    margin: 0 0 0 10px;
    margin-top: -1px;
}

.star b {
    margin-left: 5px;
    margin-top: 2px;
}


.text_box .attention {
    display: block;
    margin-bottom: 4px;
    color: var(--danger);
}

.dropdown-group {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 40px;
}

.dropdown-group .overflow {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    padding: 0 50px 0 8px;
    min-height: 40px;
    border-radius: 6px;
    position: relative;
    float: left;
}

.dropdown-group>UL {
    position: absolute;
    top: calc(100% + 8px);
    max-height: 400px;
    right: 0;
    left: 0;
    z-index: 4;
    margin: 0;
    overflow: auto;
    display: block;
    background-color: var(--site-bg-contrast);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.dropdown-group UL LI {
    position: relative;
    float: left;
    background: none;
    padding: 5px 10px;
    width: 100%;
    font-size: 14px;
    line-height: 1.6;
    transition: 0.3s;
    cursor: pointer;
}


.dropdown-group UL span {
    font-weight: 700;
    position: relative;
    float: left;
    background: none;
    margin: 0 0 5px 0;
    width: 100%;
    font-size: 14px;
    line-height: 1.6;
    transition: 0.3s;
}

.dropdown-group UL a {
    width: 100%;
    text-decoration: none;
    color: #282828;
    position: relative;
    float: left;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}

.dropdown-group UL a.add_new-menu {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

.popup.create_category_popup {
    top: auto !important;
}

.new_category-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.new_category-box .uploader {
    margin-bottom: 12px;
}

.new_category-box .image-place img {
    object-fit: contain;
}

.add_new_cat-btn.btn {
    width: fit-content;
    margin-bottom: 20px;
}

.categories_menu ul {
    padding-left: 40px;
    position: relative;
}

.categories_menu ul li {
    position: relative;
}

.categories_menu .holder {
    background-color: var(--site-bg-contrast);
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border-color);
    margin-top: -1px;
}

.categories_menu .holder div.icon {
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.categories_menu .holder div.icon>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    transition: 0.3s;
}

.categories_menu .holder div.icon>a.sorter {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.categories_menu .holder svg.icon {
    transition: 0.3s;
    width: 16px;
    height: 16px;
}

.categories_menu .holder svg.icon.edit {
    fill: #69748c;
}

.categories_menu .holder svg.icon.trash {
    fill: var(--danger);
}

.categories_menu .holder svg.icon.move {
    fill: #2e2e54;
}

.categories_menu .holder .auto {
    flex: 1 1 auto;
    padding: 0 10px;
}

.categories_menu .holder .image-uploader {
    z-index: 1;
}

.categories_menu .category_name {
    word-break: break-word;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    display: block;
    margin-bottom: 4px;
    transition: 0.3s;
}

.categories_menu .children-add {
    text-decoration: none;
    color: var(--link-color);
}

.categories_menu .children-add .icon {
    fill: var(--text-color-contrast);
    width: 14px;
    height: 14px;
    margin-right: 8px;
}

.categories_menu .edit_place {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.categories_menu ul li:last-child:before {
    content: '';
    position: absolute;
    height: 25px;
    width: 1px;
    background-color: #d2d4d8;
    opacity: 0.5;
    left: -20px;
}

.categories_menu ul li:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background-color: #d2d4d8;
    opacity: 0.5;
    left: -20px;
}

.categories_menu ul li:after {
    content: '';
    position: absolute;
    height: 1px;
    width: 20px;
    background-color: #d2d4d8;
    opacity: 0.5;
    left: -20px;
    top: 25px;
}


.categories_menu .edit_place input {
    width: 100%;
    max-width: 300px;
}

.categories_menu .edit_place input+input {
    margin-top: 6px;
}

.categories_menu .image-place {
    z-index: 2;
    position: relative;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.categories_menu .image-uploader input[type=file] {
    width: 100% !important;
    height: 100% !important;
}

.categories_menu .fpc-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background-color: #ffffff;
    z-index: 1;
    position: absolute;
    top: 5px;
    right: 5px;
}

.categories_menu .image-place img {
    object-fit: contain;
}

.drop-with-btn {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

/* COMMENT BLOCK */

.comment_block {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    background-color: var(--base-color-6);
    border-top: 1px solid var(--border-color);
    border-radius: 6px 6px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 12;
    transition: 0.3s;
}

.comment_block.active {
    opacity: 1;
    visibility: visible;
}

.comment_block .top {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.comment_block .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--base-color-7);
    display: flex;
    align-items: center;
}

.comment_block .title .icon {
    margin-right: 8px;
    fill: var(--base-color-8);
    width: 24px;
    height: 24px;
}

.close-comment_block {
    font-size: 0;
    display: block;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    background-color: transparent;
}

.close-comment_block .icon {
    fill: var(--base-color-9);
    width: 24px;
    height: 24px;
}

.comments_box {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.comments_box.active {
    opacity: 1;
    visibility: visible;
}

.comments_box .top_name {
    font-size: 16px;
    font-weight: 700;
    color: var(--base-color-7);
    margin-bottom: 8px;
}

.comments_col {
    display: flex;
    flex-direction: column;
    max-height: 300px;
    overflow-y: auto;
    padding:0 16px 0 0;
}

.comments_box .comment {
    display: flex;
    flex-direction: column;
}

.comments_box .comment.active {
    background-color: #f3cbca;
}

.comments_box .comment + .comment {
    margin-top: 20px;
}

.comments_box .comment_top {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 4px;
}

.comments_box .comment_top > .col:nth-child(1) {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.comments_box .user_icon {
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    overflow: hidden;
}

.comments_box .user_icon .icon {
    width: 12px;
    height: 12px;
    fill: var(--base-color-7);
}

.comments_box .user_icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comments_box .user_info {
    font-size: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.comments_box .user_info .ui_row {display:flex; width:100%; justify-content:space-between;}
    .comments_box .user_info .ui_name {display:flex; align-items:center;}

.comments_box .user_info .name {
    font-weight: 700;
    margin: 1px 6px 1px 0;
}

.comments_box .user_info .comment_date {
    color: var(--base-color-9);
    margin: 1px 8px 1px 0;
}

.comments_box .user_info .moderation_mode {color: var(--base-color-9); margin: 1px 6px; position:relative;}
    .comments_box .user_info .moderation_mode::before {content:''; position:absolute; top:50%; left:-6px; transform:translate(-50%, -50%) rotate(45deg); background:var(--border-color); width:2px;
                                                       height:2px;}

.comments_box .comment_top > .col:nth-child(2) {
    display: flex;
}

.comments_box .remove_comment {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 24px;
    height: 24px;
    border: none;
    background-color: transparent;
}

.comments_box .remove_comment .icon {
    width: 16px;
    height: 16px;
    fill: var(--base-color-2);
}

.comment .comment_text {
    font-size: 14px;
    padding-left: 32px;
    color: var(--base-color-7);
}

.comment_block .comment_buttons {display:flex; justify-content:space-between; margin:8px 0 0 0;}

.add_reply {
    margin-bottom: 8px;
    width: 100%;
    height: 100px;
}

.reply_btns {
    display: flex;
    justify-content: flex-end;
}

.reply_btns .btn + .btn {
    margin-left: 16px;
}

.comment .btn.reply_btn {
    margin: 8px auto 0 32px;
}

.replay_form {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.replay_form .replay_top {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.replay_form textarea {
    height: 100px;
    resize: none;
}

.replay_form .reply_btns {
    margin-top: 8px;
}

.rate_item {
    padding: 0;
    margin: 0 0 10px 0;
}

.rate_item .head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px;
    background-color: var(--accent-color-2);
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid var(--border-color);
}

.rate_item .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--base-color-7);
    flex: 0 0 calc(100% - 24px);
}

.rate_item .star_wrap {
    display: flex;
    margin-top: 20px;
    width: 100%;
    order: 1;
}

.rate_item .star_wrap .icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
    fill: var(--base-color-8);
    transition: 0.3s;
}

.rate_item .star_wrap .icon.active {
    fill: var(--base-color-2);
}

.rate_item .show_more {
    flex: 0 0 24px;
    margin: 0;
    width: 24px;
    height: 24px;
}

.rate_item.collapsed .show_more .icon {
    transform: rotate(180deg);
}

.rate_item .body {
    background-color: var(--base-color-6);
    padding: 12px 16px 16px 16px;
    border-radius: 0 0 6px 6px;
}

.rate_item.collapsed .body {
    display: none;
}

.rate_item .name {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.comment .sub_comments {
    display: flex;
    flex-direction: column;
    padding: 10px 0 0 32px;
}

.moderation_control {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1032px;
}


.question_control + .moderation_control {
    margin-top: 16px;
}

.not_approved_block,
.approved_block {
    text-align: center;
    font-size: 14px;
    color: var(--base-color-8);
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    padding: 20px;
    width: 100%;
    border-radius: 6px;
    background-color: var(--base-color-7);
}

.not_approved_block .btn,
.approved_block .btn {
    font-size: 18px;
    margin-top: 12px;
    width: 100%;
}

.not_approved_block .btn .icon,
.approved_block .btn .icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.not_approved_block .btn.gray_outline {
    color: var(--base-color-6);
}

.not_approved_block .btn.gray_outline .icon {
    fill: var(--base-color-6)
}

.pages_wrap {display:flex; width:100%; margin:32px 0 0 0; justify-content:center;}
    .pages_wrap A, .pages_wrap Span, .pages_wrap Span A {display:flex; width:24px; height:24px; align-items:center; justify-content:center; text-decoration:none; transition:.3s;
                                                         border:1px solid var(--white); margin:0 4px;}
    .pages_wrap Span A {margin:0;}
    .pages_wrap A:hover, .pages_wrap .cur A {border-color:var(--primary);}
