/*
Theme Name: Softweb
Description: Softweb Support Dtp Book of Knowledge
Author: Softweb
Version: 1.0
*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #152630;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

body.light-theme #preloader {
    background: #fff;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f57e20;
    border-top-color: #152630;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

body.light-theme .spinner {
    border-top-color: #fff;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


@font-face {
    font-family: 'CeraGR-Black';
    src: url('fonts/subset-CeraGR-Black.eot');
    src: url('fonts/subset-CeraGR-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/subset-CeraGR-Black.woff2') format('woff2'),
        url('fonts/subset-CeraGR-Black.woff') format('woff'),
        url('fonts/subset-CeraGR-Black.ttf') format('truetype'),
        url('fonts/subset-CeraGR-Black.svg#subset-CeraGR-Black') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CeraGR-Medium';
    src: url('fonts/subset-CeraGR-Medium.eot');
    src: url('fonts/subset-CeraGR-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/subset-CeraGR-Medium.woff2') format('woff2'),
        url('fonts/subset-CeraGR-Medium.woff') format('woff'),
        url('fonts/subset-CeraGR-Medium.ttf') format('truetype'),
        url('fonts/subset-CeraGR-Medium.svg#subset-CeraGR-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: #f57e20;
}

::-webkit-scrollbar-thumb:hover {
    background: #152630;
}

body.light-theme {
    background: #fff !important;
    color: #152630 !important;
}

body {
    font-family: 'CeraGR-Medium';
    margin: 0;
    background: #152630;
    color: #fff;
    transition: 0.5s ease;
}

h1 {
    font-family: 'CeraGR-Black';
    color: #f57e20;
    margin: 0;
    font-size: 70px;
}

h2 {
    font-family: 'CeraGR-Black';
    color: #00b6e6;
    margin: 0;
    font-size: 40px;
}

body.light-theme a {
    color: #152630 !important;
}

a {
    color: #fff;
    text-decoration: none;
    transition: 0.5s ease;
}

a>h2 {
    transition: 0.5s ease;
    width: fit-content;
}

a>h2:hover {
    color: #f57e20;
}

a:hover {
    color: #f57e20;
}

.menu.menu-action-btn {
    display: none;
}

/* Mobile view START */
body.is-mobile {
    padding-bottom: 80px;
}

body.is-mobile .site-main {
    padding: 10px 15px 120px;
}

body.is-mobile .sidebar {
    transform: translateX(-100%);
    width: 0;
    max-width: unset;
    min-width: unset;
    z-index: -1000;
    opacity: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    top: 0;
    background: #152630;
}

body.is-mobile .sidebar.menu-open {
    transform: translateX(0);
    width: 100%;
    z-index: 1000;
    opacity: 1;
    max-width: 320px;
    min-width: 300px;
}

body.is-mobile .menu.menu-action-btn,
body.is-mobile #menu-trigger {
    display: inherit;
}

body.is-mobile .menu-action-btn a {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

body.is-mobile .secondary-header {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: calc(100% - 30px);
    padding: 0 15px 10px;
    z-index: 10;
}

body.is-mobile .secondary-header>div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #152630;
}

body.is-mobile.light-theme .secondary-header>div {
    background: #fff;
}

body.is-mobile .article-options {
    gap: 10px;
}

body.is-mobile .article-options a {
    font-size: 0;
    gap: 0;
    height: 50px;
    width: 50px;
    padding: 0;
}

body.is-mobile .article-options a.read-more:before {
    content: url(icons/read-more.svg);
    width: 30px;
    height: 20px;
}

body.light-theme.is-mobile .article-options a.read-more:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

body.is-mobile .quick-view:before {
    width: 30px;
    height: 20px;
}

body.is-mobile #collapse-sidebar {
    display: none;
}

/* Mobile view END */

.content-area {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.sidebar {
    transition-property: transform, width;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    border-right: 1px solid #fff;
    max-width: 350px;
    width: 320px;
    min-width: 320px;
}

.sidebar.collapsed {
    width: 40px !important;
    min-width: 40px !important;
}

.sidebar.collapsed .sidebar-container {
    width: 40px !important;
    min-width: 40px !important;
}

.sidebar.collapsed .sidebar-header a {
    font-size: 0;
}

.sidebar.collapsed .sidebar-header a:before {
    content: url('icons/softweb_logo.svg');
    display: block;
    width: 20px;
    height: auto;
    padding-top: 10px;
}

.sidebar.collapsed .sidebar-header a svg {
    display: none;
}

.sidebar.collapsed .sidebar-item>a {
    font-size: 0;
}

.sidebar.collapsed .sidebar-item-options {
    width: 0;
    opacity: 0;
    display: none;
}

.sidebar.collapsed .sidebar-item:not(:last-child):after {
    background: transparent;
}

.sidebar.collapsed #collapse-sidebar {
    font-size: 0;
}

.sidebar.collapsed .sidebar-item>a:hover {
    background: transparent;
    padding-left: 0px !important;
}

.sidebar.collapsed .sidebar-item>a svg polygon,
.sidebar.collapsed .sidebar-item>a svg path {
    transition: 0.5s ease;
}

.sidebar.collapsed .sidebar-item>a:hover svg polygon,
.sidebar.collapsed .sidebar-item>a:hover svg path {
    fill: #f57e20;
}

.sidebar.collapsed .sidebar-item a.current-cat svg polygon,
.sidebar.collapsed .sidebar-item a.current-cat svg path {
    fill: #f57e20;
}

.sidebar.collapsed #collapse-sidebar:before {
    transition: 0.5s ease;
}

.sidebar.collapsed #collapse-sidebar:hover:before {
    filter: invert(56%) sepia(29%) saturate(2730%) hue-rotate(348deg) brightness(99%) contrast(93%);
}

.sidebar.collapsed #collapse-sidebar:hover {
    background: transparent;
    padding-left: 0px !important;
}

#collapse-sidebar {
    justify-content: flex-start;
    transition: 0.5s ease;
    padding: 5px 0;
}

#collapse-sidebar:hover {
    cursor: pointer;
    background: #f57e20;
    color: #fff;
    padding-left: 10px !important;
}

#collapse-sidebar:before {
    content: url('icons/collapse.svg');
    display: block;
    width: 20px;
    height: 20px;
    transition: 0.5s ease;
}

.sidebar.collapsed #collapse-sidebar:before {
    rotate: 180deg;
}

body.light-theme .sidebar {
    background: #eee;
}

.sidebar-container {
    position: fixed;
    max-width: 350px;
    width: 300px;
    min-width: 300px;
    height: 100vh;
    overflow: scroll;
    overflow: auto;
    padding: 0 10px;
}

.sidebar-header a {
    display: block;
    text-align: center;
}

.sidebar-content {
    padding: 10px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}

body.light-theme .sidebar-item:not(:last-child):after {
    background: #15263090 !important;
}

body.light-theme .sidebar.collapsed .sidebar-item:not(:last-child):after {
    background: transparent !important;
}

.sidebar-item:not(:last-child):after {
    content: '';
    width: 100%;
    height: 1px;
    background: #ffffff90;
    position: absolute;
    bottom: -5px;
}

.sidebar-item>a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 5px 0;
    gap: 10px;
}

body.light-theme .sidebar-item>a svg path,
body.light-theme .sidebar-item>a svg polygon {
    fill: #15263090;
}

body.light-theme #collapse-sidebar:hover {
    color: #152630;
}

body.light-theme #collapse-sidebar:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(887%) hue-rotate(158deg) brightness(96%) contrast(92%);
}

.sidebar-item>a svg,
.sidebar-item>a img {
    width: 20px;
}

.sidebar-item>a:hover {
    background: #f57e20;
    color: #fff;
    padding-left: 10px !important;
}

a.current-cat,
body.light-theme a.current-cat {
    color: #f57e20 !important;
}

.sidebar-item-options {
    display: flex;
    align-items: center;
}

.sidebar-child-item {
    height: 0;
    opacity: 0;
    transition: 0.5s ease;
    transition-delay: 50ms;
    display: none;
}

.sidebar-child-item.active {
    height: auto;
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-child-item a {
    height: 0;
    padding: 0;
    transition: 0.5s ease;
    transition-delay: 50ms;
}

.sidebar-child-item.active a {
    height: auto;
    padding: 5px 0;
}

.sidebar-child-item.active a.view-all {
    padding: 5px !important;
}

.view-all {
    font-size: 0;
    width: 25px;
    display: block;
    padding: 5px;
    transition: 0.5s ease;
}

.view-all:hover {
    background: #00b6e6;
}

.view-all:before {
    content: url('icons/view-all.svg');
    width: 25px;
    display: block;
    transition: 0.5s ease;
}

body.light-theme .view-all:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(887%) hue-rotate(158deg) brightness(96%) contrast(92%);
}

.view-all:hover:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(887%) hue-rotate(158deg) brightness(96%) contrast(92%);
}

.toggle {
    font-size: 0;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: 0.5s ease;
}

.sidebar-item.active .toggle {
    background: #fff;
}

.toggle:hover {
    background: #fff;
}

.toggle:before {
    content: url('icons/arrow-down.svg');
    width: 14px;
    height: 17px;
    display: block;
    transition: 0.5s ease;
}

.sidebar-item.active .toggle:before {
    rotate: 180deg;
}

body.light-theme .toggle:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(887%) hue-rotate(158deg) brightness(96%) contrast(92%);
}

.toggle:hover:before,
.sidebar-item.active .toggle:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(887%) hue-rotate(158deg) brightness(96%) contrast(92%);
}



.logo {
    padding: 10px;
}

.logo svg {
    font-size: 0;
    background: #00b6e6;
    width: 40px;
    display: block;
    padding: 5px;
}

.logo path {
    fill: #00b6e6;
}

.site-main {
    width: 100%;
    padding: 10px 40px 120px;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

h2 {
    margin: 0;
}

/*
.archive .site-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
*/

.secondary-header {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    padding-top: 15px;
}

.secondary-header.sticky {
    position: fixed;
    right: 40px;
    z-index: 100;
    padding-top: 0;
}

.search-form {
    position: relative;
}

.search-field {
    padding: 10px;
    padding-right: 40px;
    background: transparent;
    border: 1px solid #fff;
    min-width: calc(100% - 50px);
    line-height: 30px;
    color: #fff;
    font-size: 20px;
}

body.light-theme .search-field {
    border: 1px solid #152630;
    color: #152630;
}

.search-submit {
    font-size: 0;
    background: transparent;
    border: none;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
}

.search-submit:before {
    content: url('icons/search.svg');
    width: 30px;
    display: block;
    padding: 5px;
}

#search-results {
    margin-top: 10px;
}

#loader {
    margin-top: 10px;
}

.menu-action-btn {
    font-size: 0;
    width: auto;
    height: 100%;
    display: flex;
    border: 1px solid #fff;
    /*padding: 12px;*/
    transition: 0.5s ease;
    background: #152630;
}

.menu-action-btn a {
    width: 100%;
    height: 100%;
    padding: 12px;
}

body.light-theme .menu-action-btn {
    border: 1px solid #152630;
    background: #fff;
}

body.light-theme .menu-action-btn:hover {
    background: #f57e20;
    border: 1px solid #f57e20;
}

.menu-action-btn:hover {
    cursor: pointer;
    background: #f57e20;
    border: 1px solid #f57e20;
}

a.home:before {
    content: url('icons/home.svg');
    display: block;
    height: 30px;
    width: 30px;
}

a.account:before {
    content: url('icons/user.svg');
    display: block;
    height: 30px;
    width: 30px;
}

.search-trigger:before {
    content: url('icons/search.svg');
    display: block;
    height: 30px;
    width: 30px;
}

#theme-switcher:before {
    content: url('icons/sun.svg');
    display: block;
    height: 30px;
    width: 30px;
}

.light-theme #theme-switcher:before {
    content: url('icons/dark.svg');
}

#menu-trigger:before {
    content: url('icons/menu.svg');
    display: block;
    height: 30px;
    width: 25px;
}

#menu-trigger.active:before {
    content: url('icons/close.svg');
}


.favorite:before {
    content: url('icons/favorite.svg');
    display: block;
    height: 30px;
    width: 30px;
}


body.light-theme a.home:before,
body.light-theme .search-trigger:before,
body.light-theme a.account:before,
body.light-theme .favorite:before,
body.light-theme #theme-switcher:before,
body.light-theme #menu-trigger:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}


.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.homepage-categories-title {
    font-family: 'CeraGR-Black';
    color: #00b6e6;
    margin: 80px 0 0;
    font-size: 50px;
}

.homepage-categories {
    /*display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    */
    width: 100%;
    margin-top: 40px;
}

.homepage-category-item a {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.homepage-category-item img {
    max-height: 200px;
    scale: 0.8;
    transition: 0.5s ease;
}

.homepage-category-item svg {
    height: 120px;
    scale: 0.8;
    transition: 0.5s ease;
}

.homepage-category-item a:hover img,
.homepage-category-item a:hover svg {
    scale: 0.85;
}

body.light-theme .homepage-category-item svg path,
body.light-theme .homepage-category-item svg polygon {
    fill: #15263090;
}

.homepage-category-item h2 {
    color: #f57e20;
    font-size: 30px;
    line-height: 40px;
    transition: 0.5s ease;
}

#homepage-posts-slick.homepage-categories {
    margin-top: 40px;
}

#homepage-posts-slick .homepage-category-item a {
    align-items: flex-start;
    color: #f57e20;
}

#homepage-posts-slick .homepage-category-item a:hover {
    color: #fff;
}

#homepage-posts-slick .slick-slide {
    margin: 0;
}

#homepage-posts-slick .slick-slide div {
    width: 100%;
    min-height: 255px;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    /*justify-content: space-around;*/
}

#homepage-posts-slick .slick-slide div:first-child {
    margin-bottom: 30px;
}

.homepage-category-item a:hover h2 {
    color: #fff;
}

.homepage-author {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.homepage-author a {
    font-family: 'CeraGR-Black';
    text-transform: capitalize;
    color: #f57e20;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    max-width: 160px;
}

.homepage-author a:hover {
    color: #fff;
}


article {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.single-post article {
    flex-direction: column;
    gap: 10px;
}

.single-post article * {
    margin: 0;
}

.single-post article a {
    color: #00b6e6;
}

.single-post article a:hover {
    color: #f57e20;
}

.single-post article object {
    display: block !important;
}

.single-post article img {
    margin: 20px 0;
    border: 1px solid #ffffff80;
}

.single-post article img:hover {
    cursor: pointer;
}

.single-post article h1,
.single-post article h2,
.single-post article h3,
.single-post article h4,
.single-post article h5,
.single-post article h6 {
    margin: 30px 0 10px;
}

.single-post article :is(h1, h2, h3, h4, h5, h6):first-of-type {
    margin-top: 0;
}

body.light-theme.single-post article img {
    border: 1px solid #152630;
}

.single-post article ul {
    padding-left: 15px;
}

article .code-container {
    background: #080f13;
    padding: 10px;
    border: 1px solid #ffffff80;
    position: relative;
}

body.light-theme article .code-container {
    border: 1px solid #f57e20;
    background: #eee;
}

article .code-container .code-container {
    border: none !important;
    padding: 0;
}

article .code-container button {
    background: transparent;
    border: none;
    position: absolute;
    right: 0;
    top: 5px;
}

article .code-container button button:hover {
    cursor: pointer;
}

article .code-container .copy-icon:before {
    content: url('icons/copy.svg');
    height: 20px;
    width: 20px;
    display: block;
}

.archive-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.archive-tools form {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.sorting-options {
    position: relative;
}

#selected-sorting {
    border: 1px solid #fff;
    padding: 0 10px;
    height: 52px;
    display: flex;
    align-items: center;
}

#selected-sorting:hover {
    background: #00b6e6;
    cursor: pointer;
}

.sorting-options-drp.active {
    display: block !important;
    position: absolute;
    bottom: 53px;
    z-index: 10;
}

.sort-option {
    white-space: nowrap;
    border: 1px solid #fff;
    background: #152630;
    margin-top: -1px;
    padding: 10px;
}

.sort-option:hover {
    background: #f57e20;
    cursor: pointer;
}

.sort-option.selected {
    background: #f57e20;
    cursor: unset;
}

.order-option {
    width: 52px;
    height: 52px;
    border: 1px solid #fff;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
}

.order-option.selected {
    display: none;
}

.order-option:hover {
    background: #f57e20;
    cursor: pointer;
}

.order-option[data-value="DESC"]:before {
    content: url(icons/arrow-down.svg);
    display: block;
    width: 16px;
    height: 20px;
}

.order-option[data-value="ASC"]:before {
    content: url(icons/arrow-down.svg);
    rotate: 180deg;
    display: block;
    width: 16px;
    height: 20px;
}


.navigation.pagination .nav-links {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.navigation.pagination .nav-links span,
.navigation.pagination .nav-links a {
    border: 1px solid #fff;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.5s ease;
}

.navigation.pagination .nav-links span:hover,
.navigation.pagination .nav-links a:hover {
    background: #f57e20;
    color: #fff;
}

.navigation.pagination .nav-links span.current {
    background: #00b6e6 !important;
    color: #fff;
}


.article-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 10px;
}

.telegram-share {
    font-size: 0;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    transition: 0.5s ease;
}

.telegram-share:hover {
    background: #00b6e6;
}

.telegram-share:before {
    content: url(icons/telegram.svg);
    display: block;
    width: 30px;
    transition: 0.5s ease;
}

.print-post {
    font-size: 0;
    height: 52px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    transition: 0.5s ease;
    background: transparent;
}

.print-post:hover {
    background: #f57e20;
    cursor: pointer;
}

.print-post:before {
    content: url(icons/print.svg);
    display: block;
    width: 30px;
    transition: 0.5s ease;
}

body.light-theme article .code-container .copy-icon:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(887%) hue-rotate(158deg) brightness(96%) contrast(92%);
}

article .code-container .check-img:before {
    content: url('icons/check.svg');
    height: 20px;
    width: 20px;
    display: block;
}

body.light-theme.single-post article pre .check-img:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(887%) hue-rotate(158deg) brightness(96%) contrast(92%);
}

.related-posts {
    margin-top: 0;
}

.related-posts h2 a {
    color: #f57e20;
}

.related-posts h2 a:hover {
    color: #fff;
}

.related-posts .post-date {
    margin-top: 10px;
    display: block;
}

.article-content {
    width: 100%;
}

.article-header {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.article-data {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-data {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.post-data .label {
    background: #f57e20;
    color: #152630;
    padding: 0 5px;
}

.single-post .post-data .label {
    background: #00b6e6;
}

.post-data a {
    color: #f57e20;
}

.post-data a:hover {
    color: #fff;
}

body.light-theme article:not(:last-child):after {
    background: #15263090 !important;
}

article:not(:last-child):after {
    content: '';
    width: 100%;
    height: 1px;
    background: #ffffff90;
    position: absolute;
    bottom: -20px;
}

.article-options {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.quick-view {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    line-height: 25px;
    padding: 0 20px;
    height: 50px;
    background: #f57e20;
    border: 1px solid #f57e20;
    transition: 0.5s ease;
    white-space: nowrap;
}

.quick-view:hover {
    background: transparent;
    border: 1px solid #fff;
}

body.light-theme .quick-view:hover {
    border: 1px solid #152630;
}

.quick-view:before {
    content: url('icons/quick-view.svg');
    display: block;
    width: 25px;
    height: 20px;
    transition: 0.5s ease;
}

body.light-theme .quick-view:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

.quick-view:hover::before {
    filter: brightness(0) saturate(100%) invert(54%) sepia(62%) saturate(2056%) hue-rotate(349deg) brightness(101%) contrast(92%);
}

.read-more {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    line-height: 25px;
    padding: 0 20px;
    height: 50px;
    background: #00b6e6;
    border: 1px solid #00b6e6;
    transition: 0.5s ease;
}

.read-more:hover {
    background: transparent;
    border: 1px solid #fff;
    color: #00b6e6;
}

body.light-theme .read-more:hover {
    border: 1px solid #152630;
}

body.light-theme .add-to-favorites,
body.light-theme .remove-favorites,
body.light-theme .must-loggin {
    border: 1px solid #152630 !important;
}

body.light-theme a.telegram-share,
body.light-theme .print-post {
    border: 1px solid #152630 !important;
}

body.light-theme a.telegram-share:hover {
    border: 1px solid #00b6e6 !important;
}

body.light-theme .print-post:hover {
    border: 1px solid #f57e20 !important;
}

body.light-theme a.telegram-share:before,
body.light-theme .print-post:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

body.light-theme a.telegram-share:hover:before,
body.light-theme .print-post:hover:before {
    filter: unset;
}


.add-to-favorites,
.remove-favorites,
.must-loggin {
    font-size: 0;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    transition: 0.5s ease;
}

body.light-theme .add-to-favorites:hover,
body.light-theme .remove-favorites:hover,
body.light-theme .must-loggin:hover {
    background: #152630;
}

.add-to-favorites:hover,
.remove-favorites:hover,
.must-loggin:hover {
    background: #fff;
}

.add-to-favorites:before {
    content: url(icons/favorite.svg);
    display: block;
    width: 30px;
    transition: 0.5s ease;
}

body.light-theme .add-to-favorites:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

body.light-theme .add-to-favorites:hover:before {
    filter: unset;
}

.must-loggin:before {
    content: url(icons/favorite.svg);
    display: block;
    width: 30px;
    transition: 0.5s ease;
}

body.light-theme .must-loggin:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

body.light-theme .must-loggin:hover:before {
    filter: unset;
}

.remove-favorites:before {
    /*content: url(icons/close.svg);*/
    content: url(icons/favorited.svg);
    display: block;
    width: 30px;
    transition: 0.5s ease;
}

body.light-theme .remove-favorites:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

body.light-theme .remove-favorites:hover:before {
    filter: unset;
}

.add-to-favorites:hover:before,
.remove-favorites:hover:before,
.must-loggin:hover:before {
    filter: brightness(0) saturate(100%) invert(11%) sepia(20%) saturate(1299%) hue-rotate(159deg) brightness(94%) contrast(92%);
}

/* Popups*/
#search-popup,
#quick-view-popup,
#must-loggin-popup,
#image-popup {
    display: none;
}

#search-popup.active,
#quick-view-popup.active,
#must-loggin-popup.active,
#image-popup.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.search-popup-container,
.quick-view-container,
.image-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 160px);
    height: auto;
    max-height: calc(100% - 160px);
    padding: 40px;
    background: #152630;
    border: 1px solid #fff;
    z-index: 100;
}

.image-popup-container {
    overflow: auto;
}

.image-popup-container img {
    width: fit-content;
    max-width: 100%;
}

.quick-view-container {
    overflow: auto;
}

body.light-theme .search-popup-container,
body.light-theme .quick-view-container,
body.light-theme .image-popup-container {
    background: #fff;
    border: 1px solid #152630;
}

.search-popup-background,
.quick-view-background,
.close-alert-background,
.image-popup-background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #15263099;
}

#close-search,
#close-qv,
#close-image {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 0;
}

#close-image {
    right: 5px;
    top: 5px;
}

body.light-theme #close-search,
body.light-theme #close-qv,
body.light-theme #close-image {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

#close-search:hover,
#close-qv:hover,
#close-image:hover {
    cursor: pointer;
}

#close-search:before,
#close-qv:before,
#close-image:before {
    content: url('icons/close.svg');
    display: block;
    width: 30px;
    transition: 0.5s ease;
}

#close-search:hover:before,
#close-qv:hover:before,
#close-image:hover:before {
    filter: brightness(0) saturate(100%) invert(54%) sepia(62%) saturate(2056%) hue-rotate(349deg) brightness(101%) contrast(92%);
}

.copyright {
    position: absolute;
    bottom: 10px;
}


.slick-list {
    margin: 0 -40px !important;
}

.slick-slide {
    margin: 0 40px !important;
}

.slick-dots {
    display: none !important;
    bottom: -50px !important;
}

.slick-dots li.slick-active button {
    background: #fff !important;
}

.slick-dots li button {
    border: 1px solid #fff !important;
    transition: 0.5s ease;
}

.slick-dots li button:hover {
    background: #fff !important;
}

.slick-dots li button:before {
    display: none;
}

.slick-next {
    top: -110px !important;
    right: 0px !important;
    width: 55px !important;
    height: 55px ! IMPORTANT;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff !important;
    transition: 0.5s ease;
    background: #152630 !important;
}

.slick-next:before {
    content: url('icons/arrow.svg') !important;
    display: block;
    height: 30px;
    width: 25px;
}

.slick-prev {
    top: -110px !important;
    left: unset !important;
    right: 70px !important;
    width: 55px !important;
    height: 55px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff !important;
    transition: 0.5s ease;
    background: #152630 !important;
}

.slick-prev:before {
    content: url('icons/arrow-prev.svg') !important;
    display: block;
    height: 30px;
    width: 25px;
}

body.light-theme .slick-prev,
body.light-theme .slick-next {
    background: #fff !important;
    border: 1px solid #152630 !important;
}

body.light-theme .slick-prev:hover,
body.light-theme .slick-next:hover {
    background: #f57e20 !important;
}

body.light-theme .slick-prev:before,
body.light-theme .slick-next:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

.slick-arrow:hover {
    background: #f57e20 !important;
}

#menu-trigger {
    display: none;
}

.page-id-57 {
    height: 100%;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-id-57 .page-header {
    flex-direction: column;
    margin-bottom: 30px;
}

.page-id-57 .page-header img {
    width: 280px;
}

.page-id-57 input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    font-size: 24px;
    line-height: 1.33333333;
    border-width: .0625rem;
    padding: .1875rem .3125rem;
    margin: 10px 6px 16px 0;
    min-height: 40px;
    max-height: none;
}

.page-id-57 .wpcf7 label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.page-id-57 .wpcf7 label br {
    display: none;
}

.page-id-57 .wpcf7-submit {
    color: #ffffff !important;
    text-shadow: none;
    background-color: #00b6e6 !important;
    border: 0;
    box-shadow: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.5s ease;
    min-height: 40px;
    line-height: 2.30769231;
    padding: 0 12px;
    min-width: 200px;
}

.page-id-57 .wpcf7-submit:hover {
    background-color: #f57e20 !important;
    cursor: pointer;
}

.page-id-57 .copyright {
    position: relative;
    margin-top: 50px;
}

#back-to-top {
    position: fixed;
    font-size: 0;
    bottom: 40px;
    right: 40px;
    width: 52px;
    height: 55px;
    border: 1px solid #fff;
    padding: 10px;
    transition: 0.5s ease;
    background: #152630;
    cursor: pointer;
    z-index: -1000;
    opacity: -1000;
}

body.light-theme #back-to-top {
    background: #fff;
    border: 1px solid #152630;
}

#back-to-top:hover {
    background: #f57e20;
}

#back-to-top:before {
    content: url(icons/up-arrow.svg);
    display: block;
    height: 30px;
    width: 30px;
}

body.light-theme #back-to-top:before {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(3708%) hue-rotate(159deg) brightness(96%) contrast(90%);
}

body.light-theme #back-to-top:hover {
    background: #f57e20;
}

#back-to-top.active {
    z-index: 1000;
    opacity: 1000;
}

.printable {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ccc;
}

@media print {

    .sidebar,
    .back-to-top,
    .secondary-header,
    .article-actions,
    .post-data .label {
        display: none;
    }

    body {
        color: #152630;
    }
}

@media (max-width:1300px) {
    h1 {
        font-size: 45px;
        line-height: 55px;
    }

    h2,
    .homepage-categories-title {
        font-size: 35px;
        line-height: 45px;
    }

    .search-popup-container,
    .quick-view-container,
    .image-popup-container {
        left: 15px;
        right: 15px;
        transform: translate(0px, -50%);
        width: calc(100% - 60px);
        padding: 40px 15px 15px;
    }

    #back-to-top {
        right: 15px;
        bottom: 80px;
    }

    .slick-arrow {
        display: none !important;
    }

    .slick-dots {
        display: block !important;
    }
}

@media (max-width:900px) {
    .post-data {
        padding-top: 25px;
        position: relative;
    }

    .post-data .label {
        position: absolute;
        top: 0;
        left: 0;
    }
}

@media (max-width:767px) {
    h1 {
        font-size: 35px;
        line-height: 45px;
    }

    h2,
    .homepage-categories-title {
        font-size: 25px;
        line-height: 35px;
    }

    .page-id-57 .wpcf7 label {
        flex-direction: column;
        gap: 0px;
    }

    .page-id-57 input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
        width: calc(100% - 20px);
        margin: 0 10px;
    }
}

@media (max-width:650px) {
    .article-header {
        flex-direction: column;
    }
}

@media (max-width:410px) {

    body.is-mobile .menu-action-btn a:before,
    #theme-switcher:before {
        width: 20px;
        height: 20px;
    }

    #menu-trigger:before {
        width: 15px;
        height: 20px;
    }

    body.is-mobile .sidebar.menu-open {
        max-width: 300px;
        min-width: 300px;
    }

    body.is-mobile .sidebar-container {
        max-width: 280px;
        width: 280px;
        min-width: 280px;
    }

    .post-data {
        padding-top: 0;
        position: relative;
        flex-direction: column;
    }

    .post-data .label {
        position: relative;
        top: unset;
        left: unset;
        width: fit-content;
    }

    .post-data .divider {
        display: none;
    }
}

@media (max-width:410px) {
    .sidebar-header a svg {
        width: 230px;
        padding: 10px 0;
    }

    body.is-mobile .sidebar.menu-open {
        max-width: 255px;
        min-width: 255px;
    }

    body.is-mobile .sidebar-container {
        max-width: 240px;
        width: 240px;
        min-width: 240px;
    }
}

@media (max-width:360px) {
    .menu-action-btn {
        padding: 8px;
    }
}