/*
Theme Name: onexbet-peru
Author: One good developer
Description: A very good theme by one good developer
Requires PHP: 8.0
Version: 1.4
Text Domain: 1xbet
*/

@font-face {
    font-family: wpshop-core;
    src: url(assets/fonts/wpshop-core.eot);
    src: url(assets/fonts/wpshop-core.eot#iefix) format("embedded-opentype"),
            url(assets/fonts/wpshop-core.ttf) format("truetype"),
            url(assets/fonts/wpshop-core.woff) format("woff"),
            url(assets/fonts/wpshop-core.svg#wpshop-core) format("svg");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

:root {
    --main_bg_color: #103856
}

body {
    background-color: var(--color-1, var(--main_bg_color));
}

.container {
    max-width: 1200px;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    margin-right: auto;
    margin-left: auto;
}

#breadcrumbs {
    font-size: 14px;
    height: 22px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#breadcrumbs a {
    color: var(--text-color, #FFFFFF);
    text-decoration: underline;
}

#breadcrumbs .breadcrumb_last {
    color: var(--text-color);
}

/* TABLE */
.wp-block-table {
    margin: -10px -10px 24px
}

.wp-block-table table {
    border-collapse: separate;
    border-spacing: 10px;
    color: var(--text-color, #FFFFFF);
    margin-bottom: 0
}

.wp-block-table table tr th, .wp-block-table table tr td {
    width: 125px;
    padding: 15px 12px;
    line-height: normal;
    border: none !important;
    vertical-align: middle !important;
    background-color: var(--color-3, #4b89b9) !important;
    color: var(--text-color, #FFFFFF);
    box-shadow: none !important
}

.wp-block-table table tr th {
    font-weight: 600;
    background-color: var(--color-3) !important
}

.wp-block-table table a {
    color: #8aba35
}

@media (max-width: 991px) {
    .wp-block-table {
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin-bottom: 16px
    }

    .wp-block-table::-webkit-scrollbar {
        display: none
    }
}

@media (max-width: 991px) {
    body #wpfront-scroll-top-container {
        z-index: 99
    }

    body #wpfront-scroll-top-container {
        bottom: 85px !important
    }

    body #wpfront-scroll-top-container img {
        width: 40px !important;
        height: 40px !important
    }
}


.langs {
    position: fixed;
    bottom: 0;
    right: 20px;
    background: #242424;
    border-radius: 5px 5px 0 0;
    width: 125px;
    z-index: 11;
}
.lang-item {
    background: none;
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    width: max-content;
    display: block;
    text-decoration: none;
}
.c-langs {}

.drop-block {
    display: none;
    position: absolute;
    bottom: 100%;
    width: 100%;
    left: 0;
    padding: 0;
    margin: 0;
    background: #242424;
    list-style: none;
}

.drop-block.active {
    display: block;
}

@media (max-width: 991px) {
    .langs {
        bottom: 70px;
    }
}

.post-card {
    margin-bottom: 50px;
    position: relative;
    .post-card__thumbnail {
        width: 100%;
        position: relative;

        margin-bottom: 16px;

        img {
            width: 100%;
            max-height: 340px;
            object-fit: cover;

            border-radius: 10px;
        }

        .post-card__category {
            display: inline-block;
            padding: .3em 1.4em;
            margin-bottom: 1.2em;
            background: var(--color-3);
            color: #fff;
            border-radius: 1em;
            text-transform: uppercase;
            text-decoration: none;
            font-size: .7em;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);

            position: absolute;
            bottom: 15px;
            left: 15px;
            max-width: calc(100% - 30px);
        }
    }

    .post-card__title {
        font-size: 32px;
        a {
            color: unset;
            text-decoration: none;
            transition: .3s;

            padding: 5px 0;
            line-height: 45px;
            font-weight: 600;
        }
        a:hover {
            text-decoration: underline;
        }
    }
    .post-card__meta {
        position: relative;
        font-size: 14px;
        margin-bottom: 12px;
        opacity: .8;

        .post-card__author,.post-card__date {
            position: relative;
            display: inline-block;
            padding-left: 22px;
            margin-right: 20px;
            margin-bottom: 4px;
        }

        .post-card__date:before {
            font-family: wpshop-core !important;
            content: "📅";
            color: var(--text-color);

            position: absolute;
            left: 0;
            top: 50%;
            -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            transform: translateY(-50%);
        }
    }

    .post-card__description {
        position: relative;
        margin-bottom: 6px;
    }
}


@media screen and (max-width: 768px) {
    .post-card {
        margin-bottom: 40px;
        .post-card__thumbnail {
            margin-bottom: 12px;

            img {
                max-height: 200px;
                border-radius: 6px;
            }
        }

        .post-card__title {
            font-size: 26px;
        }
        .post-card__meta {
            font-size: 13px;
        }

        .post-card__description {
            font-size: 14px;
            position: relative;
            margin-bottom: 6px;
        }
    }
}

.post-card:after {
    border-color: var(--text-color) !important;
    bottom: -40px;
    content: "";
    position: absolute;
    bottom: -25px;
    left: 40%;
    width: 20%;
    height: 1px;
    border-bottom: 3px double #4d3bfe;
    opacity: .5;
}

.page-links,.pagination {
    text-align: center
}

.page-links {
    margin-bottom: 20px
}

.page-links,.pagination .nav-links {
    margin-bottom: 30px
}

.page-links .page-numbers,.page-links .post-page-numbers,.pagination .nav-links .page-numbers,.pagination .nav-links .post-page-numbers {
    position: relative;
    margin: 0 .3em;
    padding: .2em .3em;
    text-decoration: none;
    z-index: 1;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    color: unset;
}

@media (min-width: 768px) {
    .page-links .page-numbers,.page-links .post-page-numbers,.pagination .nav-links .page-numbers,.pagination .nav-links .post-page-numbers {
        padding:.7em 1em
    }
}

@media (min-width: 768px) {
    .page-links .page-numbers:not(.dots):not(.current):before,.page-links .post-page-numbers:not(.dots):not(.current):before,.pagination .nav-links .page-numbers:not(.dots):not(.current):before,.pagination .nav-links .post-page-numbers:not(.dots):not(.current):before {
        content:"";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        background: var(--color-3);
        -webkit-transform: scaleY(0) translateZ(0);
        transform: scaleY(0) translateZ(0);
        -webkit-transform-origin: bottom center;
        -ms-transform-origin: bottom center;
        transform-origin: bottom center;
        -webkit-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
        z-index: -1
    }

    .page-links .page-numbers:not(.dots):not(.current):hover,.page-links .post-page-numbers:not(.dots):not(.current):hover,.pagination .nav-links .page-numbers:not(.dots):not(.current):hover,.pagination .nav-links .post-page-numbers:not(.dots):not(.current):hover {
        color: #fff
    }

    .page-links .page-numbers:not(.dots):not(.current):hover:before,.page-links .post-page-numbers:not(.dots):not(.current):hover:before,.pagination .nav-links .page-numbers:not(.dots):not(.current):hover:before,.pagination .nav-links .post-page-numbers:not(.dots):not(.current):hover:before {
        -webkit-transform: scaleY(1) translateZ(0);
        transform: scaleY(1) translateZ(0)
    }
}

.page-links .page-numbers.dots,.page-links .post-page-numbers.dots,.pagination .nav-links .page-numbers.dots,.pagination .nav-links .post-page-numbers.dots {
    opacity: .7
}

.page-links .page-numbers.current,.page-links .post-page-numbers.current,.pagination .nav-links .page-numbers.current,.pagination .nav-links .post-page-numbers.current {
    -webkit-box-shadow: inset 0 0 0 1px var(--text-color);
    box-shadow: inset 0 0 0 1px var(--text-color);
    color: var(--text-color)
}

.page-header {
    .page-title {
        color: var(--text-color);
        font-size: 38px;
        margin: 0 0 24px 0;
        font-weight: 700;
        line-height: 42px;
    }
    .taxonomy-description {
        color: var(--text-color);

        font-size: 16px;
        margin: 0 0 22px 0;
        font-weight: 400;
        line-height: 25px;

        p {
            font-size: 16px;
            margin: 0 0 22px 0;
            font-weight: 400;
            line-height: 25px;
        }
    }
}


.container-sidebar {
    display: flex;
    gap: 70px;
    .content {
        flex: 1;
    }
    .sidebar {
        width: 300px;
    }
}

@media screen and (max-width: 991px) {
    .container-sidebar {
        .sidebar {
           display: none;
        }
    }
}

.wp-block-latest-posts__list {
    li {
        display: flex;
        flex-direction: column;
        padding: 5px 0;
        a {
            color: var(--text-color);
            text-decoration: underline;

            font-size: 16px;
            margin: 0 0;
            font-weight: 400;
            line-height: 24px;

            transition: .3s;
        }

        a:hover {
            color: var(--color-3);
        }

        time {
            font-size: 13px;
            margin: 0 0;
            font-weight: 400;
            line-height: 20px;
        }
    }
}

.entry-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-start;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-size: .8em;
    font-weight: 700;
    border-bottom: 3px solid #f2f2f2;
}

.entry-author,.entry-comments,.entry-date,.entry-time,.entry-views {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 2em;
    padding-right: 20px;
    margin-bottom: 10px
}

.entry-author:last-child,.entry-comments:last-child,.entry-date:last-child,.entry-time:last-child,.entry-views:last-child {
    padding-right: 0
}

@media (min-width: 576px) {
    .entry-author,.entry-comments,.entry-date,.entry-time,.entry-views {
        padding-left:3em
    }
}

@media (min-width: 768px) {
    .entry-author,.entry-comments,.entry-date,.entry-time,.entry-views {
        -ms-flex-preferred-size:auto;
        flex-basis: auto;
        max-width: 100%
    }
}

.entry-author:before,.entry-comments:before,.entry-date:before,.entry-time:before,.entry-views:before {
    position: absolute;
    left: 0;
    top: .6em;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--text-color)
}

@media (min-width: 576px) {
    .entry-author:before,.entry-comments:before,.entry-date:before,.entry-time:before,.entry-views:before {
        font-size:2em
    }
}

.entry-author {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis
}

.entry-author:before {
    font-family: wpshop-core !important;
    content: "👤"
}

.entry-date:before {
    font-family: wpshop-core !important;
    content: "📅";
}

.entry-label {
    display: block;
    text-transform: uppercase;
    font-size: .75em;
    color: var(--text-color);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis
}

@media (min-width: 576px) {
    .entry-label {
        font-size:.8em
    }
}