﻿@import url(../caasp-fonts.css);

.img-main-banner-div {
    background-image: url(https://www.caasp.org.br/imagens/Beneficios-pecuniarios-bg.jpg);
    margin-top: calc(150px - 10vw) !important;
}

.img-custom-size {
    width: 737.05px;
    height: 491.61px;
    object-fit: cover; /* Garante que a imagem preencha o espaço corretamente */
}

.default-border {
    border-bottom: 2px solid var(--caasp-color-gray-300) !important;
}

.text-overlay {
    margin-top: -40px;
    position: absolute;
    top: 220px;
    text-align: left;
}

@media (min-width: 1400px) {
    .text-overlay {
        width: 30%;
        left: initial;
    }
}

.table-responsive {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%; /* Garante que a tabela não ultrapasse o contêiner */
}

@media (max-width: 1199px) {
    .text-overlay {
        width: 35%;
        left: 10vw;
    }
}

@media (max-width: 1024px) {
    .text-overlay {
        width: 80% !important;
        left: initial !important;
        position: absolute !important;
        top: 150px !important;
        transform: none !important;
    }

    .img-main-banner-div {
        width: 100% !important;
        min-height: 500px !important;
        background-position-x: 80% !important;
        margin-top: calc(350px - 10vw) !important;
    }
}

@media (max-width: 767px) {
    .text-overlay {
        position: absolute !important;
        top: 140px !important;
        transform: none !important;
        padding: 0 !important;
    }

    .img-main-banner {
        margin-top: 300px !important;
        object-fit: fill !important;
    }

    .img-main-banner-div {
        width: 100% !important;
        background-position-x: 80% !important;
        min-height: 450px !important;
        margin-top: calc(300px - 10vw) !important;
    }
}

@media (max-width: 575px) {
    .text-overlay {
        position: absolute !important;
        top: 120px !important;
        transform: none !important;
        padding: 0 !important;
    }

    .img-main-banner {
        margin-top: 50px !important;
        object-fit: fill !important;
    }

    .img-main-banner-div {
        width: 100% !important;
        background-position-x: 80% !important;
        min-height: 450px !important;
        margin-top: calc(310px - 10vw) !important;
    }
}

@media (max-width: 400px) {
    .text-overlay {
        position: absolute !important;
        top: 120px !important;
        transform: none !important;
        padding: 0 !important;
    }

    .img-main-banner {
        margin-top: 50px !important;
        object-fit: fill !important;
    }

    .img-main-banner-div {
        width: 100% !important;
        background-position-x: 80% !important;
        min-height: 450px !important;
        margin-top: calc(390px - 10vw) !important;
    }
}

@media (max-width: 749px) and (min-width: 220px) {
    #caasp-farma img, #plano-de-saude img {
        width: 100% !important;
        display: block;
        margin: 0 auto;
    }
}

.table-container {
    margin: auto;
}

.benefits-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .benefits-table th, .benefits-table td {
        padding: 12px;
        border-bottom: 1px solid #B5B5B5;
    }

    .benefits-table th {
        text-align: right;
        font-size: 1.1em;
        font-weight: bold;
    }

    .benefits-table td {
        font-size: 1em;
    }

    .benefits-table tr:last-child td {
        border-bottom: none;
    }

    .benefits-table tr:last-child td,
    .benefits-table tr:last-child th {
        border-bottom: none;
    }

    .benefits-table tr:first-child th,
    .benefits-table tr:first-child td {
        border-top: 1px solid #B5B5B5;
    }

.position-absolute.d-none.d-md-block {
    width: 14rem;
    height: 6rem;
    object-fit: contain;
    top: 250px;
    left: 10%;
    transform: none;
    max-width: 200px;
}

.caasp-title-text {
    font-size: 1.7rem !important;
}
