﻿@import url(../caasp-fonts.css);

.img-main-banner-div {
    background-image: url(https://www.caasp.org.br/imagens/uniodonto-bg.png);
    margin-top: calc(210px - 10vw) !important;
}

.caasp-logo {
    width: 244px;
    height: 87.5px;
    display: block;
    margin-bottom: 1em;
}

.Saude-border {
    border-bottom: 2px solid var(--caasp-color-gray-300) !important;
}

.text-overlay {
    margin-top: -40px;
    position: absolute;
    top: 180px;
    text-align: left;
}

@media (min-width: 1400px) {
    .text-overlay {
        width: 30%;
        left: initial;
    }
}

.table-responsive {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%; 
}

@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(380px - 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(350px - 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(370px - 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;
    }
}

@media (max-width: 400px) {
    .custom-width {
        width: 100% !important;
    }
}

.mensagem-alerta {
    display: none;
    padding: 10px 16px;
    border-radius: 6px;
    max-width: 400px;
    margin: 0 auto;
    font-family: sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#formularioUniodonto {
    display: none; 
    overflow: hidden; 
    height: 0; 
    transition: height 0.5s ease-out; 
}

    #formularioUniodonto.show {
        display: block;
        height: auto; 
    }

#imgQRCode {
    width: 100%;
}

.flex-container {
    display: flex;
    justify-content: space-evenly;
}

#QRCode .qrcode-img {
    transition: transform 0.3s ease;
    width: 200px; 
    height: auto;
}

    #QRCode .qrcode-img:hover {
        transform: scale(1.1); 
    }
