/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.theme-table-container{
    background: white;
    box-shadow: 0px 0px 5px rgb(0 0 0 / 20%);
}
.themed-grid-col {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(255, 255, 255, .15);
    border: 1px solid rgba(86, 61, 124, .2);
    box-shadow: inset -7px 0 9px -7px rgb(0 0 0 / 6%);
}

 .theme-table-front {
     background: #fbfbfb;
     box-shadow: inset -7px 0 9px -7px rgb(0 0 0 / 6%);
 }

table, td, th {
    border: none;
}

#sbet_table tr td {
    max-height: 51px;
    font-size: 14px;
    border-bottom: 1px solid #ebebeb;
    padding: 0px;
    border-left: none !important;
    border-right: none !important;
}

#sbet_widget {
    background: white;
    box-shadow: 0px 0px 5px rgb(0 0 0 / 20%);
    display: flex;
    flex-direction: row;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    position: relative;
}

#sbet_filters {
    background: #fbfbfb;
    padding: 15px;
    box-shadow: inset -7px 0 9px -7px rgb(0 0 0 / 6%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    flex-basis: 20%;
    position: relative;
}

#sbet_widget *, #sbet_table * {
    box-sizing: border-box;
}

#sbet_table tr td, #sbet_filters {
    font-size: 15px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 20px;
}

#sbet_pagination {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    font-size: 14px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.sbet_button {
    background: #178E79;
    color: black !important;
}

.sbet_button:disabled {
    cursor: not-allowed;
    background: #d9d9d9 !important;
}

#sbet_pagination .sbet_button {
    background: #178E79;
    color: white !important;
    max-width: 36px;
    max-height: 36px;
    border-radius: 30px 30px 30px 30px;
}

#sbet_refresh_btn, #sbet_previous_page, #sbet_next_page {
    width: 48px !important;
    padding: 0px !important;
}

.bookie {
    min-height: 40px;
    width: 20%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.bookie[data-bookie="olybet"] {
    background: #f73535;
}
.bookie[data-bookie="jackpotcity"], .bookie[data-bookie="truefortune"], .bookie[data-bookie="casino_barcelona"], .bookie[data-bookie="betway"], .bookie[data-bookie="bet777"], .bookie[data-bookie="versus"], .bookie[data-bookie="bwin"], .bookie[data-bookie="betobet"], .bookie[data-bookie="fantasticbet"], .bookie[data-bookie="parimatch"], .bookie[data-bookie="goldenpark"], .bookie[data-bookie="metalcasino"], .bookie[data-bookie="kto"], .bookie[data-bookie="betiton"], .bookie[data-bookie="nordis"], .bookie[data-bookie="kto_pe"], .bookie[data-bookie="lvbet"], .bookie[data-bookie="xlbet"], .bookie[data-bookie="vistabet"], .bookie[data-bookie="betsafe"] {
    background: black;
}

#sbet_filters .sbet_filter {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}
#sbet_filters .sbet_filter span[data-i18n-key]:not(.placeholder) {
    font-weight: bold;
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
}

#sbet_filters select {
    display: inline-block;
    padding: 8px;
    line-height: 19px;
    height: 42px;
    border-radius: 4px;
    font-size: 13px;
    border: solid 1px #ced4da;
    background-color: white;
    position: relative;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}
#sbet_filters select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    outline: none;
    text-overflow: '';
}

#sbet_filters .multiselect-dropdown, #sbet_filters input:not([type="checkbox"]), #sbet_filters select {
    display: inline-block;
    padding: 8px;
    line-height: 19px;
    height: 42px;
    border-radius: 4px;
    font-size: 13px;
    border: solid 1px #ced4da;
    background-color: white;
    position: relative;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

#sbet_filters .multiselect-dropdown {
    min-width: 20%;
    width: 100% !important;
}

#sbet_filters .multiselect-dropdown-list-wrapper {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    z-index: 100;
    padding: 2px;
    border-radius: 4px;
    border: solid 1px #ced4da;
    display: none;
    margin: -1px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 13px;
    background: white;
}

.multiselect-dropdown span.placeholder {
    color: grey;
}

.multiselect-dropdown span.optext, .multiselect-dropdown span.placeholder {
    margin-right: 0.5em;
    margin-bottom: 2px;
    padding: 1px 0;
    border-radius: 4px;
    color: grey;
    font-size: 13px;
    display: inline-block;
    background: none !important;
}

#sbet_table_container {
    flex-basis: 80%;
    position: relative;
    padding: 0 !important;
}

#sbet_table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

#sbet_widget tr, #sbet_widget td, #sbet_widget td span, #sbet_widget td div {
    vertical-align: middle;
    border: none;
}

#sbet_table tr.sbet_header td {
    padding: 10px 0;
    font-weight: bold;
}

#sbet_table tr td:first-child, #sbet_table td[data-i18n-key="event_date"] {
    width: 70px;
    text-align: center;
}

#sbet_table tr td:nth-child(2) {
    width: 25%;
}

#sbet_table td.update-head, #sbet_table td.u[data-seconds], #sbet_table td.rating-head, #sbet_table td.rating {
    min-width: 85px;
    text-align: center;
}

#sbet_table .bookie, #sbet_table td.bookmaker-head, #sbet_table td.bookmaker, #sbet_table td.bookmaker_lay-head, #sbet_table td.bookmaker_lay {
    text-align: center;
    width: 100px !important;
}

#sbet_table td.back-head, #sbet_table td.back {
    background: #a6d8ff !important;
}

#sbet_table td.b1, #sbet_table td.b2, #sbet_table td.b3, #sbet_table td.b1-head, #sbet_table td.b2-head, #sbet_table td.b3-head, #sbet_table td.lay-head, #sbet_table td.back-head, #sbet_table td.lay-head, #sbet_table td.volume-head, #sbet_table td.volume {
    text-align: center;
}

#sbet_table td.lay-head, #sbet_table td.lay {
    background: #fac9d1 !important;
}

#sbet_table td.date:not([data-i18n-key]) {
    font-size: 13px;
    color: grey;
    line-height: 19px;
}

#sbet_table .sbet_match {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#sbet_table .sbet_match svg {
    width: 18px;
    margin-right: 15px;
    height: 18px;
}

#sbet_table .sbet_match div:first-of-type {
    flex-grow: 1;
    line-height: 20px;
}
#sbet_table .sbet_league {
    color: grey;
    font-size: 12px;
}

#sbet_table svg.sbet_calculator {
    cursor: pointer;
    vertical-align: middle;
    margin-right: 5px;
    line-height: 16px;
    color: black;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    width: 24px;
    height: 24px;
}
#sbet_table .bookie {
    border-radius: 0px !important;
    border: none !important;
    min-height: 50px !important;
    max-height: 50px !important;
}
#sbet_table .bookie img {
    width: auto;
    height: auto;
    max-height: 50px !important;
    max-width: 100%;
    border-radius: 0 !important;
}

#sbet_table td.back-head, #sbet_table td.back {
    background: #a6d8ff !important;
}

#sbet_table td.lay-head, #sbet_table td.lay {
    background: #fac9d1 !important;
}
#sbet_table td.back, #sbet_table td.lay {
    position: relative;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 768px) {
    #sbet_widget {
        background: white;
        box-shadow: none;
    }
}
@media (max-width: 768px) {
    #sbet_widget {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    #sbet_widget #sbet_table tr.sbet_header {
        display: none;
    }
}
@media (max-width: 768px) {
    #sbet_widget #sbet_filters {
        padding: 0px;
        background: white;
        margin-bottom: 15px !important;
        box-shadow: none;
    }
}
@media (max-width: 768px) {
    #sbet_widget #sbet_table tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        box-shadow: 0px 0px 5px rgb(0 0 0 / 20%);
        margin-bottom: 15px;
        justify-content: space-between;
    }
}
@media (max-width: 768px) {
    #sbet_table tr td.date, #sbet_table tr td.match {
        padding: 10px 2px;
        background: #fff8ea;
        max-height: 75px;
    }
}
@media (max-width: 768px) {
    #sbet_widget #sbet_table tr td.date {
        flex-basis: 20%;
        flex-wrap: wrap;
    }
}
@media (max-width: 768px) {
    #sbet_widget #sbet_table tr td {
        box-sizing: border-box;
        padding: 0px;
    }
}

@media (max-width: 768px) {
    #sbet_widget #sbet_table tr td.match {
        flex-basis: 80%;
    }
}

@media (max-width: 768px) {
    #sbet_widget #sbet_table tr td.rating, #sbet_widget #sbet_table tr td.name {
        padding: 20px 2px;
        max-height: 75px;
    }
}
@media (max-width: 768px) {
    #sbet_widget #sbet_table tr td.name {
        flex-basis: 75%;
        display: flex
    ;
        align-items: center;
    }
}

@media (max-width: 768px) {
    #sbet_widget #sbet_table tr td.rating {
        flex-basis: 25%;
        font-weight: bold;
    }
}
@media (max-width: 768px) {
    #sbet_widget #sbet_table tr td.bookmaker, #sbet_widget #sbet_table tr td.back, #sbet_widget #sbet_table tr td.bookmaker_lay, #sbet_widget #sbet_table tr td.lay, #sbet_widget #sbet_table tr td.volume {
        flex-basis: 25% !important;
        width: 25% !important;
        display: flex
    ;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    #sbet_widget #sbet_table tr td.u {
        background: #fbfbfb;
        flex-basis: 100%;
        color: grey;
        padding: 5px;
        opacity: 0.75;
        font-size: 11px;
    }
}


