:root {
    --black: #101729;
    --white: #fff;
    --gray: #d8dce6;
    --gray-light: #f5f6fa;
    --gray-dark: #8f94ab;
    --blue: #112b66;
    --blue-light: #d9e4ff;
    --red: #991a4e;
    --red-light: #ffd9e9;
    --bg-color: var(--white);
}
/* reset */
a {
    color: var(--blue);
    text-decoration: none;
}
/* a:hover {
        color: var(--gray-dark);
        text-decoration: none;
    } */
@media (hover: hover) {
    a:hover {
        color: var(--gray-dark);
        text-decoration: none;
    }
}
@media (hover: none) {
    a:hover {
        color: var(--blue);
        text-decoration: none;
    }
}
b {
    font-weight: 500;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0;
}
textarea.form-control {
    min-height: calc(3em + 1rem + calc(var(--bs-border-width) * 2));
}
.table {
    border-bottom: none;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-color-type: var(--black);
    --bs-table-bg-type: var(--gray-light);
    --bs-table-striped-bg: var(--gray-light);
}
a i {
    color: var(--blue);
    cursor: pointer;
}
/* a i:hover {
    color: var(--gray-dark);
    cursor: pointer;
} */
@media (hover: hover) {
    a i:hover {
        color: var(--gray-dark);
        cursor: pointer;
    }
}
@media (hover: none) {
    a i:hover {
        color: var(--blue);
        cursor: pointer;
    }
}
i.red {
    color: var(--red);
}
ol,
ul {
    padding-left: 1rem;
}
.dropdown-menu li:hover {
    cursor: pointer;
}
.dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
}
.dropdown > i {
    width: 100%;
    text-align: center;
    margin-top: 3px;
    font-size: 20px;
    color: var(--black);
}
/* .dropdown > i:hover {
    cursor: pointer;
    color: var(--gray-dark);
} */
@media (hover: hover) {
    .dropdown > i:hover {
        cursor: pointer;
        color: var(--gray-dark);
    }
}
@media (hover: none) {
    .dropdown > i:hover {
        width: 100%;
        text-align: center;
        margin-top: 3px;
        font-size: 20px;
        color: var(--black);
    }
}
/* dropwown btn bootstrap */
.dropdown-item.active,
.dropdown-item:active {
    color: var(--gray-dark);
    text-decoration: none;
    background-color: var(--gray);
}
/* body */
body {
    margin: 0;
    color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Rubik";
    color: var(--black);
    font-weight: 400px;
}
body::-webkit-scrollbar {
    position: absolute;
    width: 16px;
    height: 5px;
}
body::-webkit-scrollbar-corner {
    background-color: transparent;
}
body::-webkit-scrollbar-thumb {
    background-color: var(--gray-dark);
    border: 4px solid var(--bg-color);
    border-top: 0;
    border-bottom: 0;
    border-radius: 6px;
}
body::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 6px;
}
@media screen and (max-width: 500px) {
    body {
        overflow-x: hidden;
    }
}
.container {
    max-width: 1200px;
}
/* HEADER */
header {
    width: 100%;
    min-height: 70px;
    max-height: 70px;
    background-color: var(--white);
    box-shadow: 0 5px 25px var(--gray);
    z-index: 100;
}
header .container {
    display: flex;
    padding: 15px;
    align-items: center;
}
@media screen and (max-width: 500px) {
    header .container {
        padding: 5px 0;
    }
    .header__logo {
        margin-right: 0;
    }
}
.header__logo {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-right: 10px;
}
.header__logo img {
    width: 150px;
    min-width: 150px;
}
.header__logo h1 {
    font-size: 1.8rem;
    min-width: max-content;
    margin-top: 5px;
    color: var(--gray-dark);
    font-family: "PointSoftBlack";
}
/* header for view page */
header {
    display: flex;
    padding: 15px;
    align-items: center;
    position: fixed;
}
.header__menu {
    width: 100%;
    display: flex;
    margin-left: 60px;
}
.header__menu__search {
    width: 500px;
    display: block;
}
.header__menu__search input {
    margin-bottom: 0 !important;
    padding-top: 0.5rem !important;
}
@media screen and (max-width: 1000px) {
    .header__menu__search {
        width: 90%;
    }
}
.header__menu__burger {
    display: none;
}
@media screen and (max-width: 900px) {
    .header__menu {
        padding-right: 0;
        margin-left: 20px;
    }
    .sidebar__search {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
    }
    .header__menu__search {
        width: 90%;
    }
    .header__menu__burger {
        margin-left: auto;
        display: block;
    }
}
@media screen and (max-width: 500px) {
    header.viewpage {
        padding-top: 20px;
    }
    header.viewpage .header__logo {
        flex-direction: column;
        gap: 0;
        width: inherit;
    }
    header.viewpage .header__logo h1 {
        font-size: 1.3rem;
    }
}
/* FOOTER */
footer {
    margin-top: auto;
    padding: 0.5rem 0;
    flex-shrink: 0;
    background-color: var(--gray-light);
}
.Smartkey {
    text-align: left;
    font-style: normal;
    color: var(--gray-dark);
    text-wrap: wrap;
}
/* footer for view page */
.footer__viewpage {
    background-color: var(--white);
}
.footer__viewpage .Smartkey {
    padding-left: 215px;
    text-align: center;
}
@media screen and (max-width: 1150px) {
    .Smartkey {
        padding-left: 0;
        text-align: center;
    }
}
@media screen and (max-width: 900px) {
    .footer__viewpage .Smartkey {
        padding-left: 0;
        text-align: center;
    }
}
/* MAIN PAGE */
.main {
    min-height: calc(100vh - 150px);
    padding-top: 50px;
    margin-top: 70px;
    margin-bottom: 30px;
}
@media screen and (max-width: 707px) {
    .main {
        margin-top: 90px;
        min-height: calc(100vh - 170px);
    }
}
.section {
    margin-bottom: 15px;
    padding: 0 150px;
    display: flex;
    flex-direction: column;
}
.section__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: var(--black);
    cursor: pointer;
    margin-left: 5px;
    max-width: fit-content;
}
.section__header:hover {
    color: var(--black);
}
.section__header h1 {
    font-size: 30px;
    font-weight: 500;
}
.section__header i {
    padding-top: 3px;
    font-size: 20px;
    color: var(--gray-dark);
}
.section__body {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: 10px;
}
@media screen and (max-width: 1150px) {
    .section {
        padding: 0;
        width: 100%;
    }
    .section__body {
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 10px;
    }
}
.swiper_slide_fix {
    min-width: 80px;
}
.section__item {
    position: relative;
    width: calc(50% - 10px);
    /* width: 50%; */
    min-width: 330px;
    min-height: 100px;
    /* margin-bottom: 10px; */
    background-color: var(--gray-light);
    border-radius: 20px;
    padding: 15px 20px;
    color: var(--black);
    border: 1px solid var(--gray);
    transition: 0.2s;
}
/* .section__item:hover {
    background-color: var(--white);
    border: 1px solid transparent;
    box-shadow: 0 0 10px var(--gray);
    color: var(--black);
} */
@media (hover: hover) {
    .section__item:hover {
        background-color: var(--white);
        border: 1px solid transparent;
        box-shadow: 0 0 10px var(--gray);
        color: var(--black);
    }
}
@media (hover: none) {
    .section__item:hover {
        color: var(--black);
    }
}
.section__item:active {
    background-color: var(--white);
    border: 1px solid transparent;
    box-shadow: 0 0 10px var(--gray);
    color: var(--black);
}
.section__item__title {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.section__item__title i {
    margin-top: 3px;
    color: var(--blue);
}
.section__item__text {
    font-weight: 300;
    margin-top: 2px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em;
    line-height: 1.5em;
}
/* .section__body .section__item:nth-last-child(odd):nth-child(odd) {
    width: 50%;
} */
@media screen and (max-width: 900px) {
    .section__header i {
        padding-top: 0;
        font-size: 18px;
    }
    .section__header h1 {
        font-size: 26px;
    }
    .section__item__title {
        font-size: 18px;
    }
    .section__item__text {
        font-size: 15px;
    }
}
@media screen and (max-width: 500px) {
    .section__header h1 {
        font-size: 22px;
    }
}

/* VIEW PAGE */
/* view page sidebar */
.sidebar {
    z-index: 1000;
    width: 390px;
    height: calc(100% - 70px);
    top: 70px;
    position: fixed;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: var(--white);
    box-shadow: 0 25px 25px var(--gray);
    overflow: auto;
}
.sidebar::-webkit-scrollbar {
    position: absolute;
    width: 14px;
    height: 5px;
}
.sidebar::-webkit-scrollbar-corner {
    background-color: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background-color: var(--gray);
    border: 4px solid var(--bg-color);
    border-top: 0;
    border-bottom: 0;
    border-radius: 6px;
}
.sidebar::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 6px;
}
.sidebar__divider {
    min-height: 1px;
    height: 1px;
    background-color: var(--gray);
    margin: 3px 0;
}
.sidebar__item__url {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    border-radius: 5px;
    color: var(--black);
}
.sidebar__item__url i {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--gray-dark);
}
/* .sidebar__item__url:hover {
    background-color: var(--gray-light);
    cursor: pointer;
    color: var(--gray-dark);
} */
@media (hover: hover) {
    .sidebar__item__url:hover {
        background-color: var(--gray-light);
        cursor: pointer;
        color: var(--gray-dark);
    }
}
@media (hover: none) {
    .sidebar__item__url:hover {
        color: var(--black);
    }
}
.sidebar__item__url:active {
    background-color: var(--gray-light);
    cursor: pointer;
    color: var(--black);
}
.sidebar__item__children {
    margin-left: 10px;
}
.sidebar__item__url.active {
    background-color: var(--gray);
}
@media screen and (max-width: 900px) {
    .sidebar {
        left: -300%;
        transition: 0.4s;
    }
    .sidebar.open {
        left: 0;
        width: 100%;
        transition: 0.4s;
    }
}
/* view page main content */
.main-text {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 110px);
    margin-left: 390px;
    margin-top: 70px;
    padding: 10px 50px 50px 50px;
    padding-right: 20%;
    background-color: var(--gray-light);
}
.main-text img {
    align-self: center;
    max-width: 60%;
    margin: 10px 0;
    border-radius: 10px;
}
@media screen and (max-width: 1100px) {
    .main-text img {
        max-width: 90%;
        margin: 10px 5%;
    }
}
.main-text img:hover {
    cursor: pointer;
}
/* open image */
.modalImg {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(16, 23, 41, 0.5);
    box-shadow: 0 0 20px var(--gray-dark);
}
.modalImg-content {
    margin: 0;
    display: block;
    width: 50%;
    max-width: 80%;
    max-height: 90%;
    border-radius: 10px;
}
.close {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}
.close i {
    margin-top: 5px;
    font-size: 30px;
}
@media screen and (max-width: 1500px) {
    .modalImg-content {
        width: 70%;
        max-width: 90%;
    }
}
@media screen and (max-width: 1000px) {
    .modalImg-content {
        width: 90%;
        max-width: 90%;
    }
    .close {
        top: 70px;
        right: 30px;
    }
}
.main-text p {
    line-height: 1.5;
    text-align: justify;
}
.main-text h1 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.main-text ul li {
    list-style: disc inside;
}
.main-text ol {
    list-style-position: inside;
}
.main-text h2 {
    font-size: 22px;
    font-weight: 500;
    margin: 10px 0;
}
.main-text table {
    margin: 15px 0;
    border-collapse: collapse;
    width: 100%;
}
.main-text thead,
tfoot {
    font-weight: 500;
    border-color: var(--gray) !important;
    border-bottom: 2px solid;
}
.main-text tr,
td,
th {
    border-bottom: 1px solid var(--gray);
    text-align: left;
    padding: 8px;
}
.main-text a {
    text-decoration: underline;
    font-weight: 500;
    color: var(--blue);
    transition: 0.1s;
}
/* .main-text a:hover {
    transition: 0.1s;
    color: var(--gray-dark);
} */
@media (hover: hover) {
    .main-text a:hover {
        transition: 0.1s;
        color: var(--gray-dark);
    }
}
@media (hover: none) {
    .main-text a:hover {
        color: var(--blue);
    }
}
.main-text b,
strong {
    font-weight: 500;
}
.main-text i {
    font-style: italic;
}
.main-text i.fa-solid {
    font-style: normal;
}
@media screen and (max-width: 1200px) {
    .main-text {
        padding-right: 50px;
    }
}
@media screen and (max-width: 900px) {
    .main-text {
        margin-left: 0;
        padding: 10px 25px 25px 25px;
    }
}
.ordered__list ol {
    counter-reset: item;
    list-style-type: none;
}
.ordered__list ol > li {
    counter-increment: item;
}

.ordered__list ol > li:before {
    content: counters(item, ".") ". ";
}

.ordered__list ol ol {
    counter-reset: item;
}

.ordered__list ol ol > li {
    counter-increment: item;
}

.ordered__list ol ol > li:before {
    content: counters(item, ".") " ";
}
/* toc */
#table-of-contents {
    position: fixed;
    top: 90px;
    right: 15px;
    background-color: var(--white);
    border: 1px solid var(--gray);
    padding: 20px;
    font-family: "Rubik";
    font-style: normal;
    font-weight: 500;
    border-radius: 20px;
    font-size: 16px;
    width: calc(20% - 30px);
}
#table-of-contents h2 {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}
#table-of-contents ul {
    list-style-type: none;
    padding: 0;
}
#table-of-contents ul li {
    margin-bottom: 5px;
    text-align: justify;
}
#table-of-contents a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 300;
    font-size: 14px;
}

/* #table-of-contents a:hover {
    color: var(--gray-dark);
} */
@media (hover: hover) {
    #table-of-contents a:hover {
        color: var(--gray-dark);
    }
}
@media (hover: none) {
    #table-of-contents a:hover {
        color: var(--blue);
    }
}
@media screen and (max-width: 1200px) {
    #table-of-contents {
        display: none;
    }
}
/* view page main content breadcrumbs */
.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 20px 0 20px 0;
}
.main .breadcrumbs {
    margin: 0 0 20px 0;
}
.main-text .breadcrumbs a {
    border: none;
}
.breadcrumbs li {
    display: inline;
    font-size: 17px;
}
.breadcrumbs li:last-child {
    font-weight: 300;
}
.breadcrumbs li:not(:last-child) a {
    color: var(--black);
    font-weight: 400;
    text-decoration: none;
}
/* .breadcrumbs li:not(:last-child) a:hover {
    color: var(--gray-dark);
} */
@media (hover: hover) {
    .breadcrumbs li:not(:last-child) a:hover {
        color: var(--gray-dark);
    }
}
@media (hover: none) {
    .breadcrumbs li:not(:last-child) a:hover {
        color: var(--black);
    }
}
.breadcrumbs li:not(:last-child):after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin: 3px 8px 0 8px;
    color: var(--gray-dark);
    font-size: 15px;
}
@media screen and (max-width: 500px) {
    .main-text .breadcrumbs {
        display: none;
    }
    .main-text h1 {
        margin-top: 20px;
    }
}
.breadcrumbs__manage {
    display: flex;
    align-items: center;
    gap: 30px;
}
.breadcrumbs__manage__menu {
    width: max-content;
}
.breadcrumbs__manage__menu a {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}
.breadcrumbs__manage__menu a:hover {
    color: var(--white);
}
.breadcrumbs__manage__menu a i {
    color: var(--white);
    margin-top: -2px;
}
@media screen and (max-width: 500px) {
    .breadcrumbs__manage__menu {
        margin-top: 20px;
    }
}
.section__manage {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 4px;
}
.content__manage__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.content__manage {
    position: absolute;
    top: 10px;
    right: 15px;
}
.content__manage a {
    display: inline;
}
.main-text .block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: inherit;
}
.main a.manage__wrapper,
.main-text a.manage__wrapper {
    text-decoration: none;
    color: var(--black);
    font-weight: 400;
}
.main-text .block__content {
    position: relative;
    min-width: 400px;
    max-width: 400px;
    padding: 20px;
    background: var(--white);
    border: solid 1px var(--gray);
    border-radius: 20px;
    text-decoration: none;
    color: var(--black);
    font-weight: 300;
    transition: 0.2s;
}
/* .main-text .block__content:hover {
    border: 1 solid transparent;
    box-shadow: 0 0 10px var(--gray);
    color: var(--black);
} */
@media (hover: hover) {
    .main-text .block__content:hover {
        border: 1 solid transparent;
        box-shadow: 0 0 10px var(--gray);
        color: var(--black);
    }
}
@media (hover: none) {
    .main-text .block__content:hover {
        color: var(--black);
    }
}
.main-text .block__content:active {
    border: 1 solid transparent;
    box-shadow: 0 0 10px var(--gray);
    color: var(--black);
}
.main-text .block__content__title {
    font-weight: 500;
    font-size: 1.2rem;
    text-decoration: none;
}
.main-text .block__content__text {
    margin-top: 5px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em;
    line-height: 1.5em;
}
@media screen and (max-width: 850px) {
    .main-text .block {
        flex-direction: column;
        align-items: center;
    }
}
@media screen and (max-width: 500px) {
    .main-text .block {
        margin-top: 30px;
    }
    .main-text .block__content {
        min-width: 290px;
        width: 100%;
        max-width: 100%;
    }
}
.main .content__add,
.main-text .content__add {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px dashed var(--blue);
    min-height: 90px;
    background-color: transparent;
    transition: 0.3s;
    border-radius: 20px;
    max-width: none;
}
.main .content__add h1,
.main-text .content__add h1 {
    margin-bottom: 0;
    font-size: 24px;
    color: var(--blue);
    margin-top: 0;
}
/* .main .content__add:hover,
.main-text .content__add:hover {
    border: 2px dashed var(--gray-dark);
    transition: 0.3s;
} */
@media (hover: hover) {
    .main .content__add:hover,
    .main-text .content__add:hover {
        border: 2px dashed var(--gray-dark);
        transition: 0.3s;
    }
}
/* .main .content__add:hover h1,
.main-text .content__add:hover h1 {
    color: var(--gray-dark);
} */
@media (hover: hover) {
    .main .content__add:hover h1,
    .main-text .content__add:hover h1 {
        color: var(--gray-dark);
    }
}
@media (hover: none) {
    .main .content__add:hover h1,
    .main-text .content__add:hover h1 {
        color: var(--blue);
    }
}
.error__404 {
    --error-font-size: 40px;
    padding: 70px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.error__404__title {
    margin-top: 20px;
    font-weight: 700;
    font-size: var(--error-font-size);
}
.error__404__subtitle {
    margin-top: 10px;
    font-weight: 700;
    font-size: calc(var(--error-font-size) - 10px);
}
.error__404__reasons__title {
    margin-top: 20px;
    font-weight: 500;
    font-size: calc(var(--error-font-size) - 14px);
}
.error__404__reasons {
    padding: 0 20px;
    margin-top: 10px;
    font-weight: 500;
    font-size: calc(var(--error-font-size) - 16px);
}
.error__404__reasons li {
    list-style: disc inside;
    text-align: start;
}
.error__404__goback {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
@media screen and (max-width: 900px) {
    .error__404 {
        --error-font-size: 30px;
        padding: 0 0 70px 0;
    }
}

/* MANAGE */
/* login */
.login__form {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: center;
    justify-content: center;
}
.login__form h1 {
    font-size: 24px;
    font-weight: 500;
    align-self: center;
}
.login__form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 500px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 25px var(--gray-dark);
}
.login__form form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.stylized .form-group .help-block {
    position: absolute;
    text-wrap: nowrap;
    bottom: 0.5rem;
    left: 0;
    color: var(--red);
}
@media screen and (max-width: 524px) {
    .login__form form {
        width: 100%;
    }
}
/* logout */
.logout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
}
.logout p {
    font-weight: 500;
    color: var(--gray-dark);
    text-wrap: nowrap;
}
.mobile.logout {
    display: none;
    position: absolute;
    top: 90px;
    justify-content: center;
}
body {
    position: relative;
}
@media screen and (max-width: 707px) {
    header .logout {
        display: none;
    }
    .mobile.logout {
        display: flex;
    }
}
@media screen and (max-width: 7) {
}
.sidebar .logout {
    justify-content: center;
    margin-top: auto;
    padding-top: 40px;
}
/* manage form */
.manage__form {
    width: 100%;
}
.manage__form h1 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
}
.manage__form form {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 25px var(--gray);
}
.manage__form form .field__row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.manage__form form .field__row .form-group {
    width: 100%;
}
textarea::-webkit-scrollbar-thumb {
    background-color: var(--blue);
    border: 4px solid var(--gray-light);
}
textarea::-webkit-scrollbar-corner {
    background-color: var(--gray-light);
}
textarea::-webkit-scrollbar-track {
    background-color: var(--gray-light);
    border-radius: 6px;
}
.classic .form-group {
    margin-bottom: 24px;
}
@media screen and (max-width: 700px) {
    .manage__form form .field__row {
        flex-direction: column;
        gap: 10px;
    }
}
/* switch */
.bootstrap-switch-handle-on {
    background: var(--blue) !important;
}
.bootstrap-switch-handle-off {
    background: var(--gray) !important;
}
.bootstrap-switch {
    border-color: var(--gray);
    max-width: 100px !important;
}
.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
    transition: margin-left 0.3s;
}
.bootstrap-switch.bootstrap-switch-focused {
    border-color: var(--gray);
    box-shadow: none;
}
.field-wikimodel-enable {
    max-width: 102px;
}
.field-wikimodel-enable .form-group {
    margin-bottom: 0 !important;
}
.field-wikimodel-enable .control-label {
    margin-bottom: 1px !important;
}
/* treeselect */
.classic .form-group.has-error .form-control.treeselect {
    border-color: var(--red);
}
.classic .form-group .treeselect.form-control {
    border: 0;
    width: 100%;
    border: 2px solid transparent;
}
.treeselect.form-control {
    display: block;
    box-sizing: border-box;
    padding: 0;
}
.treeselect__wrapper {
    width: 100%;
}
.treeselect-input {
    background-color: var(--gray-light);
    border: 2px solid var(--gray-light);
    border-radius: 5px;
    padding: 2px 10px;
    max-height: 24px;
}
.treeselect-input--opened {
    border: 2px solid var(--blue);
    background-color: var(--white);
    border-bottom: none;
}
.treeselect-input--focused {
    border: 2px solid var(--blue);
    background-color: var(--white);
}
.treeselect-input__edit {
    font-size: 16px;
    background-color: var(--gray-light);
}
.treeselect-input__edit::placeholder {
    font-size: 16px;
    color: var(--gray);
}
.treeselect-input--focused .treeselect-input__edit {
    background-color: var(--white);
}
.treeselect-list--focused {
    border: 2px solid var(--blue);
    border-top: none;
}
.treeselect-input__tags-element {
    gap: 10px;
    align-items: center;
    padding: 0 10px;
    border-radius: 10px;
    color: var(--white);
    background-color: var(--blue);
}
/* .treeselect-input__tags-element:hover {
    color: var(--black);
    background-color: var(--gray);
} */
@media (hover: hover) {
    .treeselect-input__tags-element:hover {
        color: var(--black);
        background-color: var(--gray);
    }
}
.treeselect-input__tags-name {
    font-size: 16px;
}
.treeselect-input__tags-cross svg {
    display: none;
}
.treeselect-input__tags-cross::after {
    content: "\f00d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-top: 3px;
    color: var(--gray-dark);
    font-size: 15px;
}
.treeselect-input__tags-cross:hover::after {
    color: var(--red);
}
.treeselect-list__item {
    padding: 15px 10px;
}
.treeselect-list__item-icon {
    height: 30px;
    width: 30px;
}
.treeselect-list__item-icon svg {
    display: none;
}
.treeselect-list__item-icon::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--black);
    font-size: 14px;
    padding: 0 10px;
}
.treeselect-list__item--closed .treeselect-list__item-icon::after {
    content: "\f054";
    padding: 0 10px;
}
.treeselect-list__item-label {
    font-size: 16px;
}
.treeselect-list__item--focused {
    background-color: var(--gray-light) !important;
}
.treeselect-list__item--single-selected {
    background-color: var(--gray) !important;
}
.treeselect-list__empty {
    justify-content: center;
    padding: 20px 0;
}
.treeselect-list__empty-text {
    font-size: 16px;
}
/* editorjs + main-text */
.editor__wrapper {
    margin-top: -5px;
    border-radius: 7px;
    border: 2px solid var(--gray-light);
    background-color: var(--gray-light);
    padding: 10px 20px;
    transition: 0.2s;
}
.field-wikimodel-content {
    margin-bottom: 24px !important;
}
.field-wikimodel-content.has-error {
    margin-bottom: 0px !important;
}
.field-wikimodel-content .control-label {
    margin-bottom: 7px !important;
}
.editor__wrapper:focus-within {
    background-color: var(--white);
    border: 2px solid var(--blue);
}
.image-tool__image {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cdx-input.image-tool__alt {
    display: none;
}
.editor h2 {
    font-size: 22px;
}
mark.cdx-marker {
    background: var(--gray);
}
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert i {
    font-size: 20px;
}
.alert.alert-info,
.cdx-alert-info {
    margin: 10px 0;
    background-color: var(--blue-light) !important;
    color: var(--blue) !important;
    border: 2px solid var(--blue) !important;
}
.alert.alert-danger,
.cdx-alert-danger {
    margin: 10px 0;
    background-color: var(--red-light) !important;
    color: var(--red) !important;
    border: 2px solid var(--red) !important;
}
.card {
    background-color: var(--white);
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 10px var(--gray);
}
[data-tooltip] i {
    font-size: 1.1rem;
    margin-top: 4px;
}
[data-tooltip] {
    position: relative;
    cursor: pointer;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 1000;
    width: 300px;
    left: -310px;
    top: 0;
    background: var(--gray-dark);
    font-weight: 400;
    color: var(--white);
    padding: 10px 15px;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0px 0px 10px var(--gray-dark);
}
[data-tooltip]:hover::after {
    opacity: 1;
    top: 120%;
    left: -100%;
    font-size: 16px !important;
    font-family: "Rubik" !important;
}
