.mexicogp_white_logo {
    display: none;
}

.mexicogp_black_logo {
    display: block;
}

.background_blue {
    background-color: #305370;
}

.background_ligthblue {
    background-color: #EDF6F7;
}

#digicashSection .border_button.active,
#digicashSection .border_button:hover {
    border: 2px solid #305370;
    background-color: #305370;
    color: #fff;
}

#digicashSection .border_button a {
    color: #000;
}

#digicashSection .border_button.active a,
#digicashSection .border_button:hover a {
    color: #fff;
}

.disabled_button {
    pointer-events: none;
    opacity: 0.4;
}

.digicash-section {
    display: flex;
    width: 100vw;
    min-height: calc(100vh - 100px);
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    padding: 40px 0;
}

.digicash-section.digicash-single {
    margin-top: 0px;
    min-height: 100vh;
    height: auto;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0;
}

.digicash-section img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.digicash-home {
    display: flex;
    width: 100vw;
    height: 100vh;
    height: 650px;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

#digicashSection .card-cashback {
    padding: 0 4vw;
}

.cb_cover {
    width: calc(48vw - 20px);
    max-width: 650px;
    height: 100%;
}

.cb_cover img {
    border-radius: 22px;
}

.cb_card {
    background: #fff;
    padding: 0 40px 40px;
    border-radius: 22px;
    width: calc(48vw - 20px);
    max-width: 650px;
    height: 100%;
    gap: 40px;
    display: flex;
    flex-direction: column;
}

.cb_card .cb_label {
    position: relative;
    padding: 0;
    text-transform: uppercase;
    margin-right: -40px;
    display: flex;
    justify-content: right;
    text-align: left;
}

.cb_card .cb_label h1 {
    margin: 0;
    padding: 15px 4%;
    background-color: #305370;
    color: #fff;
    display: inline-block;
    position: relative;
    width: 75%;
    border-bottom-left-radius: 20px;
    font-size: 2rem;
    line-height: 2rem;
}

.cb_card .cb_label h1:after {
    top: 0;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    left: -1rem;
    position: absolute;
    transform: scale(-1, 1) rotate(180deg);
    background: radial-gradient(circle at 0% 0%, transparent 1rem, #305370 1rem);
}

.cb_card .cb_label h1:before {
    bottom: -1rem;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    right: 0;
    position: absolute;
    transform: scale(-1, 1) rotate(180deg);
    background: radial-gradient(circle at 0% 0%, transparent 1rem, #305370 1rem);
}

.cb_content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    height: 80%;
    justify-content: space-between;
}

.cb_content img {
    max-width: 350px;
    margin: 0 auto;
}

.cb_content .cb_content_text {
    font-size: 1.3rem;
    line-height: 1.5rem;
    margin: 0;
}

.card-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.card-buttons .card-buttons-info {
    width: 100%;
}

.cb_content .cb_content_info {
    font-size: 1rem;
    line-height: 1.2rem;
    margin: 0;
}

.card-cashback p {
    font-weight: bold;
    margin-bottom: 15px;
}


.digicash-item {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.digicash-item.out {
    opacity: 0;
    display: none;
}

.digicash-item.in {
    opacity: 1;
    visibility: visible;
    display: block;
}

.cb_content_back a {
    color: #000;
    font-size: 1rem;
    line-height: 1rem;
}

.cb_content_back a:hover,
.cb_content_back a:visited {
    text-decoration: none;
    color: #305370;
}

.cb_content_back i {
    font-weight: bold;
}

.digicash-hader {
    width: 100%;
}

.digicash-hader .card-top {
    position: relative;
    padding: 120px 60px 100px;
    padding: 90px 60px 40px;
    text-align: center;
}

.digicash-hader .card-top img {
    max-width: 500px;
}

.digicash-hader .card-tab {
    height: 60px;
    width: 70%;
    right: 0;
    bottom: -60px;
    position: absolute;
    background-color: #305370;
    border-bottom-left-radius: 22px;
}

.digicash-hader .card-tab:after {
    top: 0;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    left: -1rem;
    position: absolute;
    transform: scale(-1, 1) rotate(180deg);
    background: radial-gradient(circle at 0% 0%, transparent 1rem, #305370 1rem);
}

.digicash-hader .cb_container {
    width: 100%;
    padding: 80px 0 20px;
    max-width: 100vw;
    text-align: left;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 0 auto;
}

.cb_container .cb_content {
    height: auto;
    width: 90%;
    text-align: left;
}

.card-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.digicash-content {
    padding: 40px 0;
    width: 84%;
    margin: 0 auto;
}

.card-full {
    position: relative;
}

.card-full .card-top {
    height: 40px;
    background: #fff;
    position: absolute;
    width: 70%;
    right: 0;
    top: 0;
    border-bottom-left-radius: 22px;
}

.card-full .card-top:after {
    top: 0;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    left: -1rem;
    position: absolute;
    transform: scale(-1, 1) rotate(180deg);
    background: radial-gradient(circle at 0% 0%, transparent 1rem, #fff 1rem);
}

.card-full .card-top:before {
    bottom: -1rem;
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    right: 0;
    position: absolute;
    transform: scale(-1, 1) rotate(180deg);
    background: radial-gradient(circle at 0% 0%, transparent 1rem, #fff 1rem);
}

.card-full .cb_container {
    padding: 40px;
    border-radius: 22px;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 60px;
    gap: 30px;
    justify-content: center;
}

.grid-container .grid-item {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 20px);
}

.grid-container .grid-item-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    padding: 15px 30px;
    gap: 30px;
    border-top-right-radius: 22px;
    border-top-left-radius: 22px;
}

.grid-container .grid-item-top img {
    width: 50px;
    height: 50px;
    width: auto;
}

.grid-container .grid-item-top h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1rem;
}

.grid-container .grid-item-content {
    padding: 30px;
    border-bottom-right-radius: 22px;
    border-bottom-left-radius: 22px;
    flex: 1 0 auto;
}

.grid-container .grid-item-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2rem;
}

.faq-item .faq-item-question {
    font-size: 1rem;
    line-height: 1.2rem;
}

@media (max-width:1370px) {
    .digicash-home {
        height: 550px;
    }

    .cb_cover,
    .cb_card {
        max-width: 550px;
    }

    .cb_content img {
        max-width: 300px;
    }
}

@media (max-width:1200px) {
    .digicash-home {
        flex-direction: column;
        padding: 40px 0;
        height: auto;
        flex-wrap: nowrap;
    }

    .cb_cover,
    .cb_card {
        max-width: 550px;
        width: calc(96vw - 20px);
    }
}

@media (max-width:992px) {

    .digicash-section .blue_button,
    .digicash-section .red_button,
    .digicash-section .grey_button,
    .digicash-section .black_button,
    .digicash-section .border_button,
    .digicash-section .white_button {
        margin: 0;
    }

    .cb_card .cb_label h1 {
        font-size: 1.8rem;
    }

    .grid-container .grid-item {
        width: calc(50% - 15px);
    }
}

@media (max-width:767px) {
    .digicash-content {
        width: 90%;
    }

    .card-full .card-top {
        opacity: 0;
    }

    .card-full .cb_container {
        padding: 0;
        background-color: #fff;
    }

    .cb_cover {
        display: none;
    }

    .cb_content .blue_button,
    .cb_content .red_button,
    .cb_content .grey_button {
        font-size: 15px;
    }

    .cb_content img {
        max-width: 250px;
    }

    .cb_card .cb_label h1 {
        font-size: 1.3rem;
    }

    .cb_content .cb_content_text {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .cb_content .cb_content_info {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .card-cashback p {
        margin-bottom: 10px;
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .grid-container {
        flex-direction: column;
        align-items: center;
    }

    .grid-container .grid-item {
        width: 100%;
    }
}