img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    font-family: 'Roboto', sans-serif;
}

.body-dark {
    background: #000 !important;
    color: #fff !important;
}

.element-dark {
    background: #323639 !important;
    color: #fff !important;
}

.up-button {
    position: fixed;
    left: 10%;
    transform: translateX(-100%);
    bottom: 60px;
    color: #fff;
    width: 55px;
    height: 55px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.7s;
    display: none;
}

.up-button:hover {
    opacity: 1;
}

.up-button i{
    font-size: 40px;
    color: inherit;
    margin: 0;
    padding: 0;
}

.sub-menu-dark {
    background: #323639 !important;
}

.categoty-news__line-dark {
    background: #fff !important;
}

.header-dark {
    background: #323639 !important;
    color: #fff !important;
    border-top: 1px solid #fff !important;
}
 
.white-color {
    color: #fff !important;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.no-scroll {
    height: 100%;
    overflow: hidden;
}

.main-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    background: #4d63ff;
    color: #fff;
    font-size: 20px;
}

.post-categories {
    display: inline-flex;
}

.post-categories li {
    margin-right: 5px;
}

.single-post-page .post-categories li a {
    display: inline-block;
    padding: 10px 25px;
    background: #4d63ff;
    color: #fff;
}

.single-post-page .post-categories li a:hover {
    text-decoration: underline;
}



.box-shadow {
    box-shadow: 0 7px 15px 0 rgb(0 0 0 / 15%);
}

.detailed {
    display: inline-block;
    color: #4d63ff; 
    text-decoration: underline;
    margin-top: 15px;
}

/* Bуgin Header */

.header {
    display: block;
}

#app {
    display: flex;
    flex-direction: column;
    color: #000;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: rgb(241,243,255);
    background: linear-gradient(15deg, rgba(241,243,255,1) 10%, rgba(255,255,255,1) 100%);
}


.header-top {
    padding: 20px 0;
}

.header-logo {
    /* color: #000; */
    color: inherit
}

.header-logo__image {
    padding-right: 0;
} 

.header-logo__image_three,
.header-logo__image_animate {
    position: relative;
    margin: 0 15px;
    max-width: 94px;
    padding: 0 15px;
}

.header-logo__image_three::before,
.header-logo__image_animate::before, 
.header-logo__image_animate::after {
    content: '';
    position: absolute;
    height: 82%;
    background: #000;
    top: 50%;
    transform: translateY(-50%);
}

.header-logo__image_three {
    position: relative;
    max-width: 94px;
    padding: 0 0 0 15px;
    margin-right: 0;
}

.header-logo__image_three::before {
    height: 92.5%;
}

.header-logo__image_three::before,
.header-logo__image_animate::before {
    width: 2px;
    left: 0;
}

.header-logo__image_animate::after {
    width: 2px;
    right: 0;
}

.header-logo__text {
    position: relative;
    color: inherit;
    margin-bottom: 0;
}

.header-logo:hover {
    text-decoration: none;
    color: inherit;
} 

.header-bottom {
    background: #eef0ff;
    border-top: 1px solid #989898;
}

.header-nav-menu {
    display: flex;
    flex-wrap: wrap;
}

.header-nav-menu__list {
    position: relative;
    margin-right: 15px;
}

.header-nav-menu__list:hover ul.sub-menu {
    display: block;
}

.header-nav-menu__list:hover ul.sub-menu ul.sub-menu {
    display: none;
}

.header-nav-menu li ul{
    padding: 20px 30px;
    position: absolute;
    z-index: 10;
    /* background: gold; */
    background: #eef0ff;
    top: 100%;
    left: 30px;
    display: none;
}

.header-nav-menu li ul li {
    margin-right: 0;
}

.header-nav-menu li ul li a {
    padding: 5px;
    margin-left: 0;
    border-bottom: 4px solid transparent;
}

.header-nav-menu li ul li ul {
    position: static;
    padding: 0;
    display: none;
}



.header-nav-menu__link {
    display: inline-block;
    color: inherit;
    font-weight: 700;
    padding: 20px 25px 20px 0;
    font-size: 20px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: all 0.5s;
    margin-left: 30px;
}

.header-nav-menu__link:hover {
    border-bottom: 4px solid #4d63ff;
}

.header-nav-menu__link_active {
    border-bottom: 4px solid #4d63ff;
}


.header-nav-menu__link:hover {
    color: inherit;
    text-decoration: none;
}

.header-search-form {
    position: relative;
    max-width: 100%;
   
}

.header-search-form__input {
    display: inline-block;
    width: 100%;
    border: 1px solid #000;
    border-radius: 16px;
    padding: 5px 20px;
}

.header-search-form__icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    background: transparent;
    border: none;
    transition: color 0.7s;
    padding: 7px 15px; 
}

.header-search-form__icon:hover {
    color: #4d63ff;
}

.heder-menu-button {
    display: none;
    padding: 15px 20px;
    background: #4d63ff;
    color: #fff;
    cursor: pointer;
    margin-left: 15px;
}

.heder-menu-button i {
    font-size: 25px;
}

/* End Header */

/* Begin Categoty */

.categoty-section {
    padding: 40px 0 80px 0;
}

.categoty-breadcrumbs {
    color: #fff;
    background: #4d63ff;
    padding: 30px 0;
}

.categoty-news {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 35px 0 0;
}

.categoty-news__line {
    margin: 35px 15px 0;
    width: 100%;
    height: 2px;
    background: #989898;
}

/* End Categoty */

/* Coments */

.comment-respond {
    margin-top: 30px;
}

.comment-respond .form-control {
    background: transparent;
    color: inherit;
}

.comment-respond form input[type="submit"] {
    color: #fff;
    padding: 20px 30px;
    background: #4d63ff;
    border: none;
}

/* Comments */

.commentlist {
    list-style: none;
    margin-top: 30px;
    margin-bottom: 55px;
}

.comment-form-cookies-consent label{
    margin-bottom: 0;
}

.commentlist .children {
    list-style: none;
    margin-top: 20px;
}


.comment-author {
    display: flex;
    align-items: center;
}

.test-div-comment {
    margin-left: 15px;
}

.comment-author cite {
    font-size: 20px;
    font-weight: bold;
    font-style: normal
}

.comment-info {
    margin: 20px 0;
}

.comment-form-comment {
    padding: 0 15px;
    margin: 20px 0;
}

.comment-form-cookies-consent {
    display: flex;
    padding: 0 15px;
    margin: 20px 0;
    align-items: center;
}

.comment-form-cookies-consent input[type=checkbox] {
    min-width: 21px;
}

/* End Coments */

/* Begin Footer */

.footer {
    margin-top: auto;
    color:#fff;
}
 
.footer-top {
    padding: 30px 0 20px;
    background: #4d63ff;
}

.footer-top-menu {
    display: flex;
    flex-wrap: wrap;

}

.footer-top-menu__item {
    flex-basis: 25%;
}

.footer-top-menu__link {
    margin-bottom: 15px;
    border-bottom: 2px solid #fff; 
}

.sub-menu .footer-top-menu__link {
    margin-bottom: 0px;
    text-decoration: none;
    border-bottom: none;
}

.footer-top-menu__link {
    display: inline-block;
    font-size: 20px;
    transition: all 0.5s;
    padding: 5px 0 0 0;
}

.sub-menu .footer-top-menu__link:hover {
    color: inherit;
    text-decoration: underline;
}

.footer-bootom {
    padding: 20px 0;
    background: #000;
}

.footer-bootom__text {
    color: inherit;
    margin-bottom: 0;
}

.social-links-footer {
    display: flex;
    padding: 10px 0;
}

.social-links-footer__item {
    width: 22px;
    margin-left: 20px;
}

/* End Footer */


/* Begin Aside */

.app-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    background: rgb(0, 0, 0, 0.5);
    display: none;
}

.aside {
    position: fixed;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    background-color: #eef0ff;
    padding: 55px 35px;
    transition: transform 0.5s;
    z-index: 10;
    color: #000;
    transform: translateX(-300%);
    overflow-y: auto;
}

.show-aside {
    transform: translateX(0);
}

.aside-middle {
    margin: auto;
    width: 100%;
}

.aside-nav {
    margin: 40px 0;
}

.aside-close {
    position: absolute;
    top: 0px;
    right: 12px;
    font-size: 45px;
    cursor: pointer;
    color: inherit;
}

.aside-nav-list-item .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}

.aside-nav-list-item .sub-menu .aside-nav-list-item-link {
    font-size: 17px;
    border-bottom: none
}

.aside-nav-list-item-link {
    display: block;
    position: relative;
    color: inherit;
    font-size: 20px;
    padding: 12px 0; 
    margin-bottom: 5px;
    line-height: 1;
    border-bottom: 2px solid #989898;
    transition: all 0.7s;
}

.aside-nav-list-item-link:hover {
    border-bottom: 2px solid #4d63ff;
    color: inherit;
    text-decoration: none;
}

.switch-theme {
    display: flex;
    justify-content: center;
    align-items: center;
}

.switch-theme i {
    font-size: 25px;
    padding: 7px;
    color: #61626c;
}

/* end Aside */

/* Begin Content home page */

.content {
    padding: 60px 0;
}

.main-news__image {
    border-radius: 10px;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.main-news__text {
    border-radius: 10px;
    padding: 30px;
    background: #fff;
}

.news-text__date {
    color: #989898;
}

.news-text__title {
    font-weight: 600;
    margin: 25px 0;
    font-size: 30px;
}

.post-page-content h2,
.post-page-content h3,
.post-page-content h4,
.post-page-content h5,
.post-page-content h6 {
    font-size: 30px;
}


.post-page-content,
.post-page-content figure {
    display: flex;
    justify-content: center;
}

.post-page-image {
    display: flex;
    justify-content: center;
}


.news-text__text {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 16px;
}

.section-news {
    margin-top: 45px;
    background: #fff;
    padding: 35px 0;
}

.section-news__item {
    display: flex;
    flex-direction: column;
}

.section-news__item_right-padding {
    padding-right: 30px;
}

.section-news__item_left-padding {
    padding-left: 30px;
}

.news-button {
    margin-top: 30px;
}

.news-image {
    margin-top: 20px;
}

/* Post Page */

.post-page-title {
    font-weight: 600;
    margin: 25px 0;
    font-size: 40px
}

.post-page-content {
    margin-top: 40px;
    font-size: 16px;
}

/* Pagination */

.post-nav {
    margin-top: 35px;
    margin-bottom: 20px;
}

.pager {
    display: flex;
}

.pager li {
  margin-right: 15px;
}

.pager li>a,
.pager li>span {
    display: inline-block;
    padding: 10px;
    background: inherit;
    color: inherit;
}

.pager li.active {
    color: #fff;
    background: #4d63ff;
}

/* End Pagination */



/* End Content home page */


@media (max-width: 1550px) {
    .up-button {
        transform: translateX(0);
    }
}


@media (min-width: 1200px) {
    .container {
        max-width: 1340px;
    }

}

@media (max-width: 1200px) {

    .header-nav-menu__link {
        padding: 15px 19px 15px 0;
        margin-left: 5px;
    }

    .header-nav-menu li ul {
        left: 0;
    }

    .up-button {
        transform: translateX(-100%);
    }
}

@media (max-width: 992px) {

    .categoty-news__line,
    .header-nav-menu, 
    .header .header-search-form {
        display: none;
    }

    .header-logo__text {
        text-align: center;
    }

    .heder-menu-button {
        display: block;
    }

    .aside {
        padding: 70px 35px 55px;
    }

    .categoty-news {
        flex-direction: column-reverse;
    }

    .categoty-news .news-image {
        margin-bottom: 20px;
        margin-top: 0;
    }
 
    .header-logo__text {
        font-size: 30px;
    }
}

@media (max-width: 769px) {

    .main-button {
        font-size: 16px;
    }

    .news-button {
        margin-top: 0;
    }

    .header-top {
        padding: 20px 0;
    }

    .header-logo__text {
        padding-left: 15px;
        text-align: center;
    }

    .content {
        padding: 40px 0;
    }
    .categoty-breadcrumbs .news-text__title {
        font-size: 20px;
    }

    .news-text {
        margin-top: 20px;
    }

    .news-text__title {
        margin: 15px 0;
        font-size: 25px;
    }
    .post-page-content h2,
    .post-page-content h3,
    .post-page-content h4,
    .post-page-content h5,
    .post-page-content h6 {
        font-size: 25px;
    }

    
    .section-news__item {
        margin-bottom: 30px;
        flex-direction: column-reverse;
    }

    .section-news__item_left-padding {
        padding-left: 15px;
    }

    .categoty-news {
        padding: 10px 0 0;
    }

    .post-page-title {
        font-size: 29px;
    }

    .footer-top-menu__item {
        flex-basis: 50%;
        margin-bottom: 0;
    }

    .footer-top-menu > li {
        margin-bottom: 15px;
    }

    .footer-top-menu__link {
        margin-bottom: 8px;
        font-size: 18px;
    }

}

@media (max-width: 750px) {
    .post-nav {
        margin-top: 15px;
    }

    .pager li>a, .pager li>span {
        padding: 5px;
    }
}


@media (max-width: 655px) {
    .up-button {
        transform: translateX(0);
    }


}


@media (max-width: 470px) {
    .header-logo__image {
        max-width: 50px !important;
    } 

    .header-logo__image_three {
        max-width: 55px;
    }
    .header-logo__image_animate {
        max-width: 77px;
    }
}



@media (max-width: 450px) {
    .heder-menu-button {
        padding: 12px 17px;
    }

    .post-page-content {
        font-size: 14px;
    }

    .categoty-section {
        padding: 39px 0 39px 0;
    }

    .main-news__text {
        padding: 10px 15px 30px;
    }
    .categoty-breadcrumbs .news-text__title {
        font-size: 16px;
    }
}

@media (max-width: 350px) {
    .pager li {
        margin-right: 8px;
    }

    .post-page-title {
        margin: 15px 0;
    }
}


.aside input[type=checkbox],
.aside input[type=radio] {
    --active: #070012;
    --active-inner: #fff;
    /* --focus: 2px rgba(39, 94, 254, 0.3); */
    --border: #bbc1e1;
    --border-hover: #275efe;
    --background: #070012;
    --disabled: #f6f8ff;
    --disabled-inner: #e1e6f9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    /* border: 1px solid var(--bc, var(--border)); */
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
}

.aside input[type=checkbox]:after,
.aside input[type=radio]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
}

.aside input[type=checkbox]:checked,
.aside input[type=radio]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: 0.3s;
    --d-t: 0.6s;
    --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
}

.aside input[type=checkbox]:disabled,
.aside input[type=radio]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
}

.aside input[type=checkbox]:disabled:checked,
.aside input[type=radio]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
}

.aside input[type=checkbox]:disabled+label,
.aside input[type=radio]:disabled+label {
    cursor: not-allowed;
}

.aside input[type=checkbox]:hover:not(:checked):not(:disabled),
.aside input[type=radio]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
}

.aside input[type=checkbox]:focus,
.aside input[type=radio]:focus {
    box-shadow: 0 0 0 var(--focus);
}

.aside input[type=checkbox]:not(.switch),
.aside input[type=radio]:not(.switch) {
    width: 21px;
}

.aside input[type=checkbox]:not(.switch):after,
.aside input[type=radio]:not(.switch):after {
    opacity: var(--o, 0);
}

.aside input[type=checkbox]:not(.switch):checked,
.aside input[type=radio]:not(.switch):checked {
    --o: 1;
}

.aside input[type=checkbox]+label,
.aside input[type=radio]+label {
    font-size: 14px;
    line-height: 21px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    margin-left: 4px;
}

.aside input[type=checkbox]:not(.switch) {
    border-radius: 7px;
}

.aside input[type=checkbox]:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 7px;
    top: 4px;
    transform: rotate(var(--r, 20deg));
}

.aside input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
}

.aside input[type=checkbox].switch {
    width: 38px;
    border-radius: 11px;
}

.aside input[type=checkbox].switch:after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
}

.aside input[type=checkbox].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
}

.aside input[type=checkbox].switch:disabled:not(:checked):after {
    opacity: 0.6;
}

.aside input[type=radio] {
    border-radius: 50%;
}

.aside input[type=radio]:after {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--active-inner);
    opacity: 0;
    transform: scale(var(--s, 0.7));
}

.aside input[type=radio]:checked {
    --s: 0.5;
}

