.account__sign-out:hover{
    color: #eb4444;
}

.navigation__item-list a {
    color: #fff;
    padding: 9.5px;
    display: block;
}
.navigation__item-list a:hover,
.navigation__item-list a.active{
    background-color: #6919d1;
}
.textbook__title a {
    color: #fff;
    display: inline-block;
    height: 48px;
}
.textbooks {
    margin-top: 24px;
}

.main-container {
    min-height: 50vh;
}
.footer-mobile{
    padding: 18px;
}
.footer-mobile.container{
    position: sticky;
    bottom: 0;
    background-color: #1c1c1e;
}
.footer-mobile.container > a {
    color: #fff;
}

.col-2.advertising-col {
    background: #1c1c1e;
}
.error-link{
    min-width: 140px;
}

.textbook__img {
    object-fit: contain;
}

@media (max-width: 768px) {
    .page .textbook-navigation, .page .blog-navigation {
        display: block !important;
    }
    .page .textbook-navigation .button, .page .blog-navigation .button{
        display: none;
    }
    .main__questions {
        margin-top: 48px;
    }
    .navigation__mobile-title{
        display: none;
    }
    .navigation__mobile{
        margin-bottom: 48px;
    }
    .subject__block{
        margin-bottom: 0;
    }
    .scroll-to-top{
        display: none !important;
    }
    .footer-mobile.container {
        position: fixed;
        width: calc(100% - 24px);
    }
    /*.examples__title img {*/
    /*    display: none !important;*/
    /*}*/
    .main__subtitle{
        display: flex !important;
    }
    .examples__title span {
        display: block !important;
        text-align: right;
        font-size: 0;
        min-width: auto;
    }
    .navigation__mobile-subject{
        width: calc(50% - 6px);
        margin-bottom: 12px;
    }
    .footer-mobile .active div {
        opacity: 1;
    }
}


.cookies-block{
    position: fixed;
    z-index: 99999;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.cookies-block > .row{
    background: #1c1c1e;
    border-radius: 12px;
    border: 0.8px solid #313035;
}
.cookies-content {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
}
.cookies-btns {
    display: flex;
    align-items: center;
    width: 170px;
}
.cookies-wrapper-1 {
    display: flex;
    margin: 24px 42px;
    align-items: center;
    width: 100%;
}
.cookies-img {
    margin: 9px 38px 9px 0;
}
.cookies-text {
    margin-bottom: 12px;
}
.cookies-btns{
    display: flex;
}
.cookies-btns .accept {
    background: #6919d1;
    padding: 16.5px 30px;
    border-radius: 12px;
    cursor: pointer;
}
.navigation__mobile-grades div a {
    display: block;
    color: #fff;
}
.advertising-col {
    display: none;
}
.blog-item__info{
    width: calc(100% - 230px);
}
.blog-item img{
    height: 205px;
}
.blog-item__info a {
    color: #9549F5;
}
.article__heading > div {
    width: calc(100% - 246px);
}
.article img {
    width: 230px;
    object-fit: contain;
}
.examples__items .row{
    width: 100%;
}
.text-muted .tt {
    font-size: 24px;
    color: #fff !important;
    font-weight: bold;
}

.main{
    padding-top: 56px;
}







@media (max-width: 768px) {
    .footer{
        margin-bottom: 90px;
    }
    .blog-item__info {
        width: 100%;
    }
    .article__heading > div {
        width: 100%;
    }
    .article__heading {
        align-items: center;
    }
    .cookies-block {
        width: 100%;
        margin: 0;
        bottom: 12px;
    }
    .cookies-wrapper-1 {
        display: flex;
        margin: 16px 24px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cookies-content {
        flex-direction: column;
        width: 100%;
    }
    .cookies-btns {
        width: 100%;
    }
    .cookies-btns .accept{
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }
    .cookies-img {
        margin: 18px 0 18px 0;
    }

    .downapp-block{
        position: fixed;
        z-index: 99999;
        top: 0;
        background: #1c1c1e;
        border-radius: 12px;
        border: 0.8px solid #313035;
        margin-left: -12px;
    }
    .downapp-block .cookies-btns.close .accept {
        background: transparent;
    }
    .downapp-block .cookies-btns.close .accept img{
        width: 16px;
    }
    .downapp-block .cookies-img img {
        width: 48px;
    }
    .downapp-block .cookies-wrapper-1{
        flex-direction: row;
        margin: 12px 0;
    }
    .downapp-block .cookies-img{
        margin: 0;
        margin-right: 18px;
    }
    .downapp-block .cookies-text {
        margin-bottom: 0;
        font-size: 14px;
    }
    .downapp-block .cookies-content {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .downapp-block .cookies-btns .accept{
        padding: 8.5px 16px;
        height: fit-content;
    }
    .navigation__mobile-grades{
        scrollbar-width: thin;
    }
}

.not-found-page__link{
    cursor: pointer;
}

.bookmarks .textbooks h2:not(:first-child){
    margin-top: 0rem !important;
    margin-bottom: .5rem !important;
}

.switch__page .current-page {
    width: 60px;
    text-align: center;
}

.bugreport {
    display: none;
}

.form-error textarea {
    margin-bottom: 6px !important;
}

.bugreport .button {
.cookies-block{
    position: fixed;
    z-index: 99999;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.cookies-block > .row{
    background: #1c1c1e;
    border-radius: 12px;
    border: 0.8px solid #313035;
}
.cookies-content {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
}
.cookies-btns {
    display: flex;
    align-items: center;
    width: 170px;
}
.cookies-wrapper-1 {
    display: flex;
    margin: 24px 42px;
    align-items: center;
    width: 100%;
}
.cookies-img {
    margin: 9px 38px 9px 0;
}
.cookies-text {
    margin-bottom: 12px;
}
.cookies-btns{
    display: flex;
}
.cookies-btns .accept {
    background: #6919d1;
    padding: 16.5px 30px;
    border-radius: 12px;
    cursor: pointer;
}
.navigation__mobile-grades div a {
    display: block;
    color: #fff;
}
.advertising-col {
    display: none;
}
.blog-item__info{
    width: calc(100% - 230px);
}
.blog-item img{
    height: 205px;
}
.blog-item__info a {
    color: #9549F5;
}
.article__heading > div {
    width: calc(100% - 246px);
}
.article img {
    width: 230px;
    object-fit: contain;
}
.examples__items .row{
    width: 100%;
}
.text-muted .tt {
    font-size: 24px;
    color: #fff !important;
    font-weight: bold;
}

.main{
    padding-top: 56px;
}







@media (max-width: 768px) {
    .footer{
        margin-bottom: 90px;
    }
    .blog-item__info {
        width: 100%;
    }
    .article__heading > div {
        width: 100%;
    }
    .article__heading {
        align-items: center;
    }
    .cookies-block {
        width: 100%;
        margin: 0;
        bottom: 12px;
    }
    .cookies-wrapper-1 {
        display: flex;
        margin: 16px 24px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cookies-content {
        flex-direction: column;
        width: 100%;
    }
    .cookies-btns {
        width: 100%;
    }
    .cookies-btns .accept{
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }
    .cookies-img {
        margin: 18px 0 18px 0;
    }

    .downapp-block{
        position: fixed;
        z-index: 99999;
        top: 0;
        background: #1c1c1e;
        border-radius: 12px;
        border: 0.8px solid #313035;
        margin-left: -12px;
    }
    .downapp-block .cookies-btns.close .accept {
        background: transparent;
    }
    .downapp-block .cookies-btns.close .accept img{
        width: 16px;
    }
    .downapp-block .cookies-img img {
        width: 48px;
    }
    .downapp-block .cookies-wrapper-1{
        flex-direction: row;
        margin: 12px 0;
    }
    .downapp-block .cookies-img{
        margin: 0;
        margin-right: 18px;
    }
    .downapp-block .cookies-text {
        margin-bottom: 0;
        font-size: 14px;
    }
    .downapp-block .cookies-content {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .downapp-block .cookies-btns .accept{
        padding: 8.5px 16px;
        height: fit-content;
    }
    .navigation__mobile-grades{
        scrollbar-width: thin;
    }
}

.not-found-page__link{
    cursor: pointer;
}

.bookmarks .textbooks h2:not(:first-child){
    margin-top: 0rem !important;
    margin-bottom: .5rem !important;
}

.switch__page .current-page {
    width: 60px;
    text-align: center;
}

.bugreport {
    display: none;
}

.form-error textarea {
    margin-bottom: 6px !important;
}

.bugreport .button {
    width: 382px;
    max-width: 100%;
    margin-top: 18px;
}

.bugreport-wrapper {
    padding: 0 !important;
}

/* Блок навигации перенесен инлайн в navigation-mobile.php */

.main__questions-item {
    cursor: pointer;
}
