
/* Fontes */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600&display=swap');

/* == SETTINGS */

:root {
    /*Azul mais escuro, fundo rodapé, títulos, botões principais*/
    --cor-principal: #000050;
    --cor-principal-hover: #000099;
    --cor-principal-pressed: #101070;
    /*Azul mais claro, botões e detalhes*/
    --cor-principal2: #0b45e4;
    --cor-principal2-hover: #0d66d0;
    --cor-principal2-pressed: #095ABA;
    /*Rosa, botões e detalhes*/
    --cor-principal3: #A23BFC; /*Rosa*/
    --cor-principal3-hover: #8637D4;
    --cor-principal3-pressed: #6B30A6;
    --cor-principal4: #00C9B3; /*azul esverdeado*/
    --cor-principal5: #43434D; /*cinza escuro*/
    --cor-principal6: #FFFFFF; 
    --cor-apoio1: #79befe; /*azul claro - site institucional */
    --cor-apoio2: #ebf5ff;
    --cor-apoio3: #E1E1E3; /*cinza médio*/
    --cor-apoio4: #F2F2F2; /*cinza claro - fundo dos ícones e cards*/
    --cor-apoio5: #000000;
    --cor-apoio6: #d33f3f; /*vermelho - portal institucional*/
    --cor-gradiente: linear-gradient(234deg, #79DAC5 5.64%, #4B82ED 31.55%, #3226CD 79.9%, #823EB8 96.51% );
    --cor-gradiente20: linear-gradient(79.3deg, rgba(130, 62, 184, 0.2) 1.5%, rgba(50, 38, 205, 0.2) 30.49%, rgba(75, 130, 237, 0.2) 75.64%, rgba(121, 218, 197, 0.2) 94.23%);
    --cor-texto: var(--cor-principal5);
    --cor-link: var(--cor-principal);
    --cor-link-hover: var(--cor-principal2);
    --btn-sombra: 0px 12px 30px 0px rgb(0 0 80 / 20%);
    --btn-sombra-cta: 0px 4px 12px 0px rgb(0 0 80 / 20%);
    --btn-sombra-hover:0;
    --card-sombra-hover: 0px 0px 5px 0px rgb(0 0 0 / 15%);
    --menu-fundo: #fff;
    --menu-divisor: 1px solid #fff; /*5b9bd5*/

}

/* RESET DE FONTES DE TÍTULO */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .btn { font-family: 'Source Sans 3', sans-serif; }

h1, .h1 {font-size: 2.5rem; /*45px*/}

h2, .h2 {font-size: 1.875rem; /*40px*/}

h3, .h3 {font-size: 1.5rem; /*25px*/}

h4 {font-size: 1.275rem; /*20px*/}

@media (max-width: 1199px) {
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }
    h4, .h4 { font-size: 1.25rem; }
    h5, .h5 { font-size: 1.1rem; }
    h6, .h6 { font-size: 0.9rem; }

    .componenteFooter .h4 { font-size: 1rem; }
}

/* RESET PESOS */

h5, h6, .h5, .h6 { font-weight: 400; }

/* RESET BOTÕES */

.btn {background-color: var(--cor-principal2);}
.btn:hover { box-shadow: 0; }

/* RESET LINKS */

a:not(nav a) { color: var(--cor-link); font-weight: 600;}
a:not(nav a) { color: var(--cor-principal2-hover); }
a:not(nav a) { color: var(--cor-principal2-pressed); }

/* ESTRUTURA DA PAGINA */

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-size:14px; 
    color: #222; 
}

@media (min-width: 768px) { 
	html {font-size: 16px; }
}

@media only screen and (min-width: 1025px) and (resolution >= 1.25dppx) { 
	html {font-size: 13px;}
}

@media only screen and (min-width: 1025px) and (resolution >= 1.5dppx) {
	html { font-size: 12px; }
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    position: relative;
    z-index: 0;

    font: 400 1rem/1.5 'Source Sans 3', serif;
    color: var(--cor-texto);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

header {
    position: fixed;
    z-index: 0;
    width: 100%;
    height: 66px;
    box-sizing: border-box;

    background-color: white;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1200px) {
    header {
        height: 70px;
        padding: 0 1.975rem;
    }
}

#logo {
    display: block;
    width: 181px;
    height: 100%;
    margin: 0 auto;

    background-image: url("/bom/multimidia/bomd99im_banrisul_logo-positivo.svg?t=1");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

@media (min-width: 1200px) {
    #logo {
        margin-right: auto;
        margin-left: 0;
    }
}

nav {
    z-index: -1;
    position: relative;
    margin: 0;
    padding-top: 66px;
    background-color: #F2F2F2;
    line-height: 1.5;
    white-space: normal;
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 1200px) {
    nav {
        padding-top: 70.5px;
    }
}

    nav p {
        margin: 0 0 0 5px;
        padding: .75rem 1rem;
        display: block;
        outline: none;
        font-weight: 600;
        white-space: normal;
    }

        nav p * 
        {
            padding: 0 5px 0 0;
            white-space: nowrap;
            display: inline-block;
        }

        nav p a, 
        nav p a:visited
        {
            color: var(--cor-link);
	        text-decoration: none;
        }

        nav p a:active, 
        nav p a:hover
        {
	        color: var(--cor-principal-hover);
            text-decoration: underline;
        }

main {
    flex: 1 0 auto;
    position: relative;
    z-index: -2;

    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    padding: 0 5px 5rem;
}

@media (min-width: 768px) and (max-width: 1199px) {
    main {
        padding: 0 60px 4rem;
    }
}

@media (min-width: 1200px) {
    main {
        width: 75%;
        max-width: 75%;
    }
}

footer {
    position: relative;
    display: block !important;
    flex: none;
    box-sizing: border-box;

    width: 100%;
    min-height: 1px;
    padding: 1.5rem !important;

    font: 400 1rem/1.5 'Source Sans 3', serif;
    text-align: left;
    color: #fff !important;
    background-color: #000050 !important;
}

    footer .infoGERGS,
    footer .infoBERGS {
        position: relative;
        box-sizing: border-box;
        width: 100%;
        min-height: 1px;
        flex: 0 0 100%;
        padding: 0 !important;
        text-align: center !important;
    }

    footer .infoGERGS {
        padding-top: 1rem !important;
        padding-bottom: 3rem !important;
    }

        footer .infoBERGS .copyright,
        footer .infoBERGS .identidade {
            display: block;
            box-sizing: border-box;
            font-size: 80%;
        }

        footer .infoBERGS .copyright {
            padding-top: 1rem !important;
            padding-bottom: 1.5rem !important;
        }

/* Rodapé em linha para telas a partir de 1200px */

@media (min-width: 1200px) {
    footer {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }

    footer .infoBERGS {
        order: 1;
        width: auto;
        flex: 0 1 auto;
        padding: 0 1rem !important;
        text-align: left !important;
    }

    footer .infoGERGS {
        order: 2;
        width: auto;
        flex: 0 1 auto;
        padding: 0 1rem !important;
        text-align: right !important;
    }

    footer .infoBERGS .copyright {
        padding: 0 !important;
        margin: 1rem 0 0;
    }

    footer .infoBERGS .identidade {
        margin: 0;
    }
}

/* Captcha */

.g-recaptcha .grecaptcha-badge {
    z-index: 10;
    bottom: 0.1rem !important;
}

@media (min-width: 1200px) {
    .g-recaptcha .grecaptcha-badge {
        bottom: 14rem !important;
    }
}

.g-recaptcha .grecaptcha-badge.grecaptcha-badge-erro {
    right: 0 !important;
}
