body {
    background: #040713;
}

:focus-visible {
    outline: unset;
}

a {
    color: #fff;
    transition: all .3s;
    background-color: rgba(0,0,0,0);
    text-decoration: none;
}

ul {
    margin: 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.btn {
    text-transform: uppercase;
    font-weight: 700;
}

.btn-primary {
    background-color: #da4167;
    color: #020f1d;
    border-color: #da4167;
    transition: all .3s ease;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #083d77 !important;
    color: #fff !important;
    border-color: #792439 !important;
}

.btn-ingresar {
    padding: 5.5px 20px;
    font-size: .75rem;
    border-radius: 6px;
}

.main-nav {
    background: #040713;
    padding: 0 10px;
    height: 50px;
}

.navbar-brand {
    padding: 0;
    color: #da4167 !important;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
}

.nav-item {
    display: flex;
    flex: initial;
    justify-content: flex-end;
    align-items: center;
}

.nav-item:nth-child(even) {
    background: #040713;
}

.nav-item:nth-child(odd) {
    background: #020f1d;
}

.nav-link {
    padding: 13px;
    justify-content: flex-start;
    color: #fff;
    font-size: 1em;
    text-align: right;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-link img {
    max-height: 22px;
    margin-right: 10px;
}

.nav-desktop {
    position: relative;
    font-size: .75rem;
    font-weight: bold;
    padding: 16px 10px;
    text-transform: uppercase;
}

.nav-desktop#currentPage, .nav-desktop:hover {
    background: rgba(255,255,255,.08);
}

.nav-desktop .active, .nav-desktop:hover .nav-desktop-child{
    color: #da4167;
}

.banner {
    height: 250px;
    cursor: pointer;
}

.types-container {
    background: #000305;
    padding: 5px 10px;
}

.types-container .types .type-filter:hover:not(.active) {
    opacity: .6;
}

.types {
    display: flex;
    height: 65px;
    white-space: nowrap;
}

.type-filter {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    height: 100%;
    border-radius: 10px;
    padding: 7px 0;
    min-width: 75px;
    flex: 1;
}

.type-filter .image {
    display: flex;
    width: 25px;
    min-height: 25px;
    max-height: 25px;
}

.type-filter .image img {
    width: 100%;
}

.type-name {
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    color: #fff;
}

.providers-container {
    background: rgba(255,255,255,.15);
    overflow-x: auto;
}

.providers-container .providers {
    flex: 1 1 auto;
    display: flex;
    list-style: none;
    align-items: center;
    padding: 8px 10px;
}

.providers .provider {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    flex: 1;
    gap: 5px;
}

.providers .provider:hover .image {
    opacity: .7;
}

.providers .provider:hover .provider-name {
    color: #da4167;
}

.providers .provider .image {
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: #000;*/
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0);
    transition: .4s all ease;
}

.providers .provider .image img {
    max-height: 40px;
}

.providers .provider .provider-name {
    color: #fff;
    font-size: 10px;
    text-align: center;
    transition: .3s all ease;
}

.providers .provider.all-providers {
    background: #000;
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 8px;
    text-align: center;
    transition: .25s all ease;
    max-width: 10%;
    cursor: pointer;
}

.providers-list-container {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
    max-height: 100%;
    overflow: auto;
}

.providers-list-container .list.exclusive {
    background: #020f1d;
}

.providers-list-container .list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 10px;
}

.providers-list-container .list li {
    display: flex;
    margin: 4px 0;
}

.providers-list-container .list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #fff;
    padding: 1px;
    border-radius: 32px;
}

.providers-list-container .list li a:hover {
    background-color: #da4167;
    color: #020f1d;
}

.providers-list-container .list li a .provider {
    display: flex;
    align-items: center;
}

.providers-list-container .list li a .provider .provider-logo {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: #000;
    margin-right: 10px;
}

.providers-list-container .list li a .provider .provider-logo img {
    max-width: 24px;
    max-height: 24px;
}

.casino-filters {
    position: relative;
    display: flex;
    justify-content: flex-end;
    grid-template-columns: minmax(100px, 50%) minmax(100px, 50%);
    grid-gap: 15px;
    padding: 5px;
    background: rgba(255,255,255,.15);
    font-size: .875rem;
    border-radius: 10px 10px 0 0;
}

.casino-filters .query-filter, .casino-filters .providers-button {
    height: 34px;
}

.casino-filters .query-filter {
    position: relative;
    background-color: #020f1d;
    border-radius: 6px;
    z-index: 1;
}

.casino-filters .query-filter input {
    height: 100%;
    outline: 0 !important;
    box-shadow: none;
    font-size: .875rem;
    background: rgba(0,0,0,0);
    padding-left: 40px;
    color: #fff;
}

.casino-filters .query-filter i {
    position: absolute;
    top: 10px;
    left: 11px;
    color: #fff;
    font-size: 16px;
    opacity: .3;
    z-index: -1;
}

.casino-filters .providers-button-mobile {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #020f1d;
    color: #fff;
    border-radius: 6px;
    z-index: 1;
    width: 100%;
    padding: 10px;
    cursor: pointer;
    gap: 8px;
}

.casino-filters .providers-button-mobile span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.3;
}

.providers-button {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    background-color: #020f1d;
    color: #fff;
    border-radius: 6px;
    z-index: 1;
    width: max-content;
    padding: 10px;
    cursor: pointer;
    gap: 8px;
}

.providers-button span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.3;
}

.games-category {
    display: flex;
    z-index: 20;
    padding: 5px 0;
    padding-top: 15px;
    justify-content: space-between;
    align-items: center;
}

.games-category .main-search {
    max-width: 415px;
    margin: 0;
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.games-category .main-search input {
    background: rgba(255,255,255,.15);
    border-radius: 7px 0 0 7px;
    font-size: .85rem;
    color: rgba(255,255,255,.75);
}

.input-group>.form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group>.form-control, .input-group>.form-control-plaintext {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.form-control {
    background-color: #020f1d;
    border: none;
    color: #fff;
    font-size: .65em;
    border-radius: 6px;
    padding: 10px 20px;
    line-height: .75em;
}

.input-group-append {
    margin-left: -1px;
}

.input-group-append, .input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}

.games-category .main-search .btn {
    padding: 0 20px;
    font-size: .85rem;
    border-radius: 0 7px 7px 0;
}

.input-group-append .btn, .input-group-prepend .btn {
    position: relative;
    z-index: 2;
}

.form-control::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #777;
}
.form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #777;
    opacity:  1;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #777;
    opacity:  1;
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:    #777;
}

.desktopCategoriasSearch {
    padding: 0 10px 0 10px;
}

.btn-group .dropdown-menu .nav-item .dropdown-item {
    color: white;
}

.btn-group .dropdown-menu .nav-item .dropdown-item:hover {
    background-color: #da4167;
    color: #020f1d;
}

.main {
    padding: 0 10px 0 10px;
}

/*.games-container .game .picture {*/
/*    border-radius: 6px;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    min-height: auto;*/
/*}*/

.games-container .game .picture {
    text-align: center;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 145px;
}

.games-container .game .picture img {
    min-height: inherit;
    height: 100%;
    object-position: center;
    width: 100%;
}

.picture .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background .5s ease;
    border-radius: 6px;
}

.btn-outline {
    background-color: rgba(0,0,0,0);
    border: 2px solid #fff;
    color: #fff !important;
    margin: auto;
}

.btn-outline:hover {
    background-color: #da4167;
    border: 2px solid #fff;
    color: #000;
}

.home-title {
    display: flex;
    justify-content: center;
    z-index: 20;
    padding: 15px 0;
}

.home-title h3 {
    color: #ebebd3;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.home-title h3::before {
    background: linear-gradient(to right, transparent, #ebebd3);
    content: "";
    position: relative;
    width: 100%;
    height: 3px;
    flex: 1;
}

.home-title h3::after {
    background: linear-gradient(to right, #ebebd3, transparent);
    content: "";
    position: relative;
    width: 100%;
    height: 3px;
    flex: 1;
}

.games-container .loading {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
    display: flex;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999
}

.games-container .loading .spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%
}

.games-container .loading .spinner-container .text-primary {
    color: #da4167 !important
}

.modal-open .modal {
    padding-right: 0 !important;
    background-color: rgba(2,15,29,.8);
    z-index: 9999;
}
.modal-content {
    background-color: #040713;
    border-radius: 25px;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}
.modal-header .close {
    text-shadow: none;
    color: #ebebd3;
    font-size: 2rem;
    padding: 1rem 1rem;
    margin: -2rem -1rem -2rem auto;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.modal-body h1, .modal-body h2, .modal-body h3, .modal-body h4 {
    color: #da4167;
    text-align: center;
    margin-bottom: 20px;
}
.modal-body p {
    color: #fff;
    text-align: center;
}
.modal-footer {
    padding-top: 0;
    padding-bottom: 2rem;
    border: none;
}
.modal-footer .btn {
    margin: auto;
    display: block;
}

#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 35px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #da4167; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 8px 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
}

#scrollToTopBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

#loginModal .modal-content, #descargasModal .modal-content, #recargasModal .modal-content, #passwordModal .modal-content, #resetModal .modal-content {
    max-width: 520px;
    margin: auto;
}
#loginModal .modal-header, #descargasModal .modal-header, #recargasModal .modal-header, #passwordModal .modal-header, #resetModal .modal-header, #modalReglamento .modal-header {
    flex-direction: column;
    padding: 15px 15px 0;
    text-align: center;
}
#loginModal .modal-header .modal-title, #descargasModal .modal-header .modal-title, #recargasModal .modal-header .modal-title, #passwordModal .modal-header .modal-title, #resetModal .modal-header .modal-title, #modalReglamento .modal-header .modal-title {
    color: #ebebd3;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    max-width: 280px;
    margin: 1rem auto;
}
.container-fluid>.row {
    margin-bottom: 15px;
}
#descargasModal .modal-body, #recargasModal .modal-body, #passwordModal .modal-body, #modalReglamento .modal-body {
    color: white;
    text-align: center;
}

#loginModal .modal-body .form, #descargasModal .modal-body .form, #recargasModal .modal-body .form, #passwordModal .modal-body .form, #resetModal .modal-body .form {
    padding: 10px 5px 10px;
    width: 100%;
    text-align: center;
}
#loginModal .modal-body .form .form-control, #descargasModal .modal-body .form .form-control, #recargasModal .modal-body .form .form-control, #passwordModal .modal-body .form .form-control, #resetModal .modal-body .form .form-control {
    margin-bottom: 20px !important;
    font-size: 1em;
}
#loginModal .modal-body .form .btn, #descargasModal .modal-body .form .btn, #recargasModal .modal-body .form .btn, #passwordModal .modal-body .form .btn, #resetModal .modal-body .form .btn {
    width: 100%;
}

#descargasMonto, #recargasMonto {
    width: 67%;
    padding: 0.375rem 0.75rem;
    background: white;
    color: black;
}

#oldPass, #newPass, #newPass2 {
    width: 55%;
    padding: 0.375rem 0.75rem;
    background: white;
    color: black;
}

#RecargaContainer .btn-secondary {
    width: fit-content !important;
    font-size: 13px;
    display: block;
    margin: auto;
}

.categoria .dropdown-item:hover {
    color: rgba(2,15,29,.8)!important;
}

.marca-modal-img {
    width: 19%;
    cursor: pointer;
    transition: all .3s ease;
}

.marca-modal-img:hover {
    opacity: .7;
}

.loggedUserData {
    display: flex;
    color: white;
    align-items: center;
}

.loggedUserData .dropdown-menu {
    right: 0;
    left: unset;
    text-align: end;
    background: #040713;
    text-transform: uppercase;
}

.loggedUserData .dropdown-menu .dropdown-item {
    color: white;
}

.loggedUserData .dropdown-menu .dropdown-item:hover {
    color: #040713;
}

.btn-user {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    background: #da4167;
    color: #020f1d;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
}

.favorite-badge {
    background-color: hsla(0,0%,100%,.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    height: 36px;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 36px;
}

.favorite-badge:hover {
    background: hsla(0,0%,100%,.7);
}

.favorite-badge:hover .corazoncitoIcon {
    fill: #1259c3;
}

.corazoncitoIcon {
    fill: #3483fa;
    left: 9px;
    position: absolute;
    top: 11px;
    width: 18px;
}

#juegosModal iframe {
    width: 100%;
    height: 90vh;
}

.type-filter-favorito {
    font-size: 22px;
}

.navbar-brand img {
    max-width: 170px;
    max-height: 45px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    background: #da4167 !important;
}

.games-category h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    color: #ebebd3;
}

.games-category .showall {
    font-size: 1.5rem;
    font-weight: bold;
}

.games-category .showall span {
    margin-left: 4px;
    color: #da4167;
}

.games-category .showall i {
    color: #da4167;
    margin-left: 5px;
}

@media (min-width: 768px) {
    .btn {
        width: auto;
    }
    .main {
        padding: 0 0 35px;
    }
    .games-container {
        margin: 0;
    }
    .games-grid {
        background: #040713;
        grid-auto-rows: auto;
        grid-auto-flow: dense;
        overflow: hidden;
        margin: 0 auto;
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        grid-gap: 10px;
        padding: 10px 0;
        max-width: 100%;
    }
    #casinoGames .games-section .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    }
    #casinoGames .games-section .games-grid .game:hover {
        transform: scale(1.03);
    }
    .games-container .game {
        flex-basis: auto;
        height: 100%;
        margin: 0;
    }
    .games-container .game {
        display: inline-block;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        transition: all .3s ease;
        float: left;
        max-width: unset;
        flex-basis: 180px;
        /*margin: 0 5px 10px 5px;*/
    }
    .games-container .game:hover {
        transform: scale(1.05);
        z-index: 5;
    }

    .games-container .game:hover button {
        opacity: 1;
    }
    .games-container .game .picture img {
        max-height: 145px;
    }
    .picture .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: background .5s ease;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    #juegosModal iframe {
        height: 80vh;
    }
    .providers .provider .image img {
        max-width: 115px;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .banner{
        height: 130px;
    }

    .types-container {
        padding: 5px;
        margin: 0;
        overflow-x: auto;
    }

    .types {
        display: block;
        height: 60px;
    }

    .juego-img {
        width: 200px;
        height: 105px;
        vertical-align: unset;
    }

    .main {
        padding: 5px;
    }

    .games-container {
        margin-bottom: 4rem;
    }

    .games-container .games-grid {
        display: grid;
        grid-gap: 5px;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: dense;
        padding: 10px 0;
    }

    .games-container .game {
        display: inline-block;
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }

    .providers .provider {
        min-width: 100px;
    }

    .providers .provider .image {
        width: unset;
    }

    .providers .provider .image img {
        width: 100%;
    }

    #descargasMonto, #recargasMonto {
        width: 50%;
    }

    #oldPass, #newPass, #newPass2 {
        width: 40%;
    }

    .favorite-badge {
        height: 31px;
        width: 31px;
    }

    .corazoncitoIcon {
        width: 13px;
    }

    #juegosModal iframe {
        height: 75vh;
    }
    .marca-modal-img {
        width: 30%;
    }
}

@media only screen and (max-width: 768px) {
    .games-container .games-grid {
        display: grid;
        grid-gap: 5px;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: dense;
        padding: 10px 0;
    }
    .games-category h3 {
        font-size: 1rem;
    }
    .games-container .games-category .showall {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .types-container {
        padding: 5px;
        margin: 0;
        overflow-x: auto;
    }
    .types {
        display: block;
        height: 60px;
    }
    .games-container .game {
        display: inline-block;
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }
    .games-container .game .picture {
        border-radius: 6px;
        width: 100%;
        height: 100%;
        min-height: auto;
    }
    .favorite-badge {
        opacity: 1;
        right: 8px;
        top: 8px;
    }
    .type-filter-favorito {
        font-size: 29px;
    }
    header .main-nav .container-fluid .navbar-brand img {
        max-width: 120px;
        max-height: 40px;
        width: 100%;
    }
}