/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}


/* Provide sufficient contrast against white background */

a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}


/* Sticky footer styles
-------------------------------------------------- */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    /* Vertically center the text there */
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    list-style: none;
}

.form-control {
    box-shadow: none;
    font-weight: normal;
    font-size: 13px;
}

.navbar .navbar-form {
    border: none;
}

.navbar .dropdown-menu {
    font-size: 14px;
    left: auto;
    right: 0;
    margin: 0;
}

.navbar.shared-menu .logo {
    display: none;
}

.navbar .action-form .hint-text {
    text-align: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.navbar.sticky-top {
    top: -1px;
}

.navbar-submenu {
    z-index: 0;
    white-space: nowrap;
}

.shared-menu > .logo {
    display: none;
}

.navbar-toggler:focus {
    outline: 0;
}

.logo-auth {
    flex-grow: 1;
}

    .logo-auth > a {
        float: left;
    }

.admin-menu {
    display: contents;
    top: 80px;
    z-index: 0;
}

.responsive-row .responsive-header {
    display: none;
}

.no-content-message {
    padding: .75rem 1.25rem;
}

.sidebar-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.sidebar-content-edit {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
}

.sticky-sidebar-ad {
    position: sticky;
    top: 40px;
    align-self: flex-start;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.carousel-caption {
    text-shadow: 1px 1px #000000;
}

.game-popup {
    max-width: 1024px;
    max-height: 576px;
}

    .game-popup h3 {
        text-align: center;
        padding-top: 25%;
    }

.fas.fa-bars.reorder {
    color: gray
}

.fas.fa-check.visible--true {
    color: green
}

.fas.fa-times.visible--false {
    color: red
}

.profile-dropdown_user-info {
    padding-left: 1rem;
    padding-right: 1rem;
}

.profile-dropdown {
    border: 0;
    margin: auto;
    min-width: 100%;
    background: transparent;
}

.logout-form.logout-user-balance {
    height: 100vh;
    min-width: 100%;
    float: right;
    background: #ffffff;
}

.scroll {
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.profile-menu > details > summary {
    list-style: none;
}

    .profile-menu > details > summary::-webkit-details-marker {
        display: none
    }

.profile-menu > details[open] > summary {
    background-color: #EEE;
}

.profile-menu > details > summary::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    margin-left: 0.75rem;
    float: right;
}

.profile-menu > details[open] summary:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f077";
    margin-left: 0.75rem;
}

.profile-menu img {
    width: 1.5rem;
}

.login-btn,
.login-btn:hover {
    display: block;
    line-height: 32px;
    text-align: center;
    white-space: nowrap;
    border-radius: 3px;
    cursor: pointer;
    margin: 8px;
    margin-top: 0;
    background-color: #f7cd45;
    width: auto;
    min-width: 68px;
    padding: 0 10px;
    margin-bottom: 0;
    color: #000;
    text-decoration: none;
    border-color: #f7cd45;
}

.register-btn,
.register-btn:hover {
    display: block;
    line-height: 32px;
    text-align: center;
    white-space: nowrap;
    border-radius: 3px;
    cursor: pointer;
    margin: 8px;
    margin-top: 0;
    background-color: #61aa00;
    width: auto;
    min-width: 68px;
    padding: 0 10px;
    margin-bottom: 0;
    color: white;
    text-decoration: none;
    border-color: #f7cd45;
}

.profile-btn,
.profile-btn:hover {
    color: black;
    text-decoration: none;
}

    .profile-btn > em {
        font-size: 1.7em;
    }

a.profile-icon span.badge.badge-light {
    top: -5px;
    right: 5px;
}

#js-main-menu__top-container .nav-item {
    align-items: center;
}

    #js-main-menu__top-container .nav-item button.btn {
        font-size: 12px;
        font-weight: 100;
        padding: 0 15px;
        color: #dcdcdc;
        height: 32px;
    }

.login-user-form {
    max-width: 450px;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip,
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip {
    visibility: visible;
}

.invalid-feedback {
    display: block;
    visibility: hidden;
    font-size: 100%;
    font-weight: 600;
}

input#login-form__username {
    color: #000;
    font-size: 1.1rem;
    font-weight: 400;
}

input.form-control {
    height: 44px;
}

.profile-dropdown_refresh-btn {
    width: 18px;
    height: 16px;
    background: url(/images/refresh.png) center center no-repeat;
    background-size: 16px;
    cursor: pointer;
}

.game-modal-Content .close-button .close span {
    line-height: 16px;
    width: 16px;
}

.game-modal-Content .close-button .close {
    position: static;
    padding: 6px;
    font-size: 25px;
}

.lotto-iframe {
    overflow: hidden;
    height: calc(100dvh);
}

.gaming-spa-iframe {
    overflow-x: hidden;
    min-height: calc(100dvh);
}


/* Deposit modal */

.deposit-dialog {
    width: 375px;
    margin-top: calc(50vh - 295px);
    /* this 295px comes from the below height (590px) divided by 2) */
}

.deposit-content {
    height: 590px;
}


/* Transactions modal */

.transactions-dialog {
    width: 70vw;
    max-width: 100vw;
    margin-top: calc(50vh - 42vh);
    /* this 42vh comes from the below height (85vh) divided by 2) */
}

.transactions-content {
    height: 85vh;
}

.transactions-dialog.bonus-dialog {
    width: 960px;
    max-width: 100vw;
    margin-top: 14vh;
}

.transactions-dialog.bonus-dialog .transactions-content {
    height: 67vh;
    overflow-y: auto !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.transactions-dialog.bonus-dialog .transactions-content::-webkit-scrollbar {
    display: none;
}

@media (max-width: 799px) {
    .transactions-dialog.bonus-dialog {
        width: 100%;
        max-width: 100vw;
        margin: 0;
    }

    .transactions-dialog.bonus-dialog .transactions-content {
        height: 100vh;
        height: 100dvh;
        overflow-y: auto !important;
        border-radius: 0;
    }

    .transactions-dialog.bonus-dialog .transactions-content iframe {
        border-radius: 0;
    }
}

.depositModal iframe,
#transactionsModal iframe {
    border-radius: .3rem;
}

.walletCloseButton {
    position: absolute;
    top: 10px;
    right: 10px;
}


/* Log Detail */

.log-detail-name {
    white-space: nowrap;
}

.log-detail-code-block {
    background-color: #f8f9fa;
}

    .log-detail-code-block > code {
        color: #212529;
    }


/* Search form */

.js-game-search-form input,
.js-game-search-form input:focus {
    box-shadow: none;
}

@media (max-width: 992px) {
    .login-nav-items {
        width: 100%;
    }

    nav.navbar.menu-nav {
        position: absolute;
        background: white;
        top: 0;
        height: 100vh;
        width: 19rem;
        margin: 0;
        left: -1000px;
        padding: 0;
        transition: transform 300ms ease-in-out;
        z-index: 99;
    }

    #navbarCollapse {
        height: 100%;
        width: 100%;
    }

    a.nav-item.nav-link {
        padding-left: 1rem;
        margin-top: 1px;
    }

    .main-menu-show {
        transform: translate(1000px, 0);
    }

    .main-navbar-dynamic div {
        flex-direction: row;
    }

    .shared-menu > .logo {
        position: relative;
        top: 0;
        display: flex;
        width: 100%;
    }

        .shared-menu > .logo > span {
            display: block;
            height: 44px;
            margin: 0 auto;
            width: 100px;
        }

    button.shared-menu__close {
        margin-top: 1px;
        margin-left: 10px;
        font-size: 30px;
        font-weight: 100;
        width: 40px;
    }

    a.js-header__profile-open::after {
        display: none;
    }

    .responsive-table {
        display: block;
    }

        .responsive-table > thead {
            display: none !important;
        }

        .responsive-table > tbody {
            display: table;
            width: 100%;
        }

    .responsive-row {
        display: table-row-group;
        border-top: 1px solid #dee2e6;
    }

        .responsive-row > td {
            display: table-row;
            border-top: 0;
        }

            .responsive-row > td::before,
            .responsive-row > td > span {
                display: table-cell;
                padding: 7px;
                text-align: right;
            }

        .responsive-row .responsive-header {
            text-align: left;
            display: block;
            font-weight: bold;
        }

    .align-middle.reorder-td {
        display: none;
    }

    .game-modal-Content .close-button .close {
        height: 56px;
        padding: 12px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px !important;
    }
}

@media only screen and (max-height: 500px) {
    .logout-form {
        display: flex;
        flex-direction: row-reverse;
    }

    .logout-user-balance {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding-left: 2rem;
        margin-bottom: 0;
    }
}

@media (max-width: 1260px) {
    .modal-body .embed-responsive, .embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
        height: calc(100dvh - 47px);
    }

    .game-header-img-container {
        height: 47px;
        padding-top: 3px;
        padding-left: 10px;
    }

    .game-header-img {
        background-size: contain;
        height: 41px;
        background-repeat: no-repeat;
    }
}

.profile-dropdown_bonus-tp_bonus_title {
    color: rgba(69, 69, 69, .8);
    margin: 10px 0;
    font-weight: 600;
}

.profile-dropdown_bonus-btn {
    height: 54px;
    background: #d8d6d6;
    border-radius: 6px;
    margin: -8px 0;
    cursor: pointer;
    padding: 12px;
    display:flow;
}

    .profile-dropdown_bonus-btn::after {
        content: "\f054";
        position: absolute;
        right: 16px;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin: -6px;
        width: 25px;
    }

.profile-dropdown_bonus-title {
    font-size: medium;
    color: #000;
    font-weight: 600;
}
.profile-dropdown_bonus-value_title {
    color: #666;
}
.profile-dropdown_bonus-value {
    font-weight: 600;
    color: #666;
}

/* BonusCard */
.bonusCardLink {
    display: block;
    width: 100%;
    text-decoration: none;
    background: var(--bonuscard-bg-color, #f5f5f5);
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: filter 0.1s ease;
    border: 1px solid var(--bonuscard-border-color, rgba(0, 0, 0, 0.18));
    margin: 8px 0 4px 0;
    color: inherit;
}
.bonusCardLink:hover {
    filter: brightness(0.97);
    opacity: 0.9;
    text-decoration: none;
    color: inherit;
}
.bonusCardHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    /* The divider line is drawn as border-top on .bonusCardAmount, NOT as border-bottom here.
       Some bookmaker themes (served via /content/get-theme) reset
       `.profile-dropdown_user-info div:first-child { padding: 0 !important }`, which also matches
       this header (first child of .bonusCardLink) and would collapse a padding-bottom gap.
       margin-bottom is not affected by that reset, so it controls the title-to-divider spacing.
       8px matches the ISBets sport card (its .bonusCardHeader padding-bottom). */
    margin-bottom: 8px;
}
.bonusCardTitle {
    color: var(--bonuscard-title-color, #333333);
    white-space: normal;
}
.bonusCardInfo {
    /* Match the ISBets sport card exactly: same size (1.5em) but faded via opacity rather than a
       solid grey, which is what made it read as "bigger"/more prominent here. */
    font-size: 1.5em;
    opacity: 0.7;
    cursor: pointer;
}
.bonusCardAmount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--bonuscard-amount-color, #222);
    /* Divider between the campaign name and the amount. Lives here (border-top on the second child)
       rather than as border-bottom on .bonusCardHeader so it is not hit by the theme's
       `div:first-child { padding:0 !important }` reset — no !important needed. */
    border-top: 1px solid var(--bonuscard-border-color, rgba(0, 0, 0, 0.18));
    padding-top: 13px;
    margin-bottom: 6px;
}
.bonusCardFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
}
.bonusCardExpiry {
    display: inline;
    color: var(--bonuscard-expiry-color, #666);
    margin-right: 5px;
}
.bonusCardExpiringSoon {
    display: inline-block;
    background-color: var(--bonuscard-expiring-bg-color, #ec4895);
    color: var(--bonuscard-expiring-color, #fff);
    border-radius: 10px;
    padding: 1px 7px;
    line-height: 14px;
    font-size: 0.85em;
    margin-top: -2px;
    vertical-align: middle;
}
.bonusCardExpiringSoon:empty {
    display: none;
}
.badgeTipoProvider {
    display: inline-block;
    background-color: var(--bonuscard-provider-bg-color, #3b82f6);
    color: var(--bonuscard-provider-color, #fff);
    border-radius: 10px;
    padding: 1px 7px;
    line-height: 14px;
    font-size: 0.85em;
    margin-top: -2px;
    margin-left: 5px;
    vertical-align: middle;
}
.badgeTipoProvider:empty {
    display: none;
}
.bonusCardArrow {
    font-size: 1.2rem;
    color: var(--bonuscard-arrow-color, #888);
}
/* Match the ISBets "Deposit" cashier button: normal weight (400) + 15px. Here Bootstrap/the bookmaker
   theme render it thin (weight 100) at 16px. Scoped under #balance-resume so it beats the theme's
   `.profile-dropdown_deposit-btn a` rule by specificity ((1,2,1) > (0,2,1)) — no !important needed. */
#balance-resume .profile-dropdown_deposit-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-size: 15px;
    font-weight: 400;
}

.login-iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.game-type-disabled {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
    pointer-events: none;
    background-color: var(--gametype-disabled-bg-color, #e9ecef);
}

.self-exclusion-banner {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(204, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.5) 100%);
    color: #fff;
    font-size: 11px;
    line-height: 1.4em;
    text-align: center;
    padding: 4px 10px;
}
