/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 5rem;

    /*========== Colors ==========*/
    --hue: 174;
    --sat: 63%;
    --first-color: #23409a;
    --first-color-alt: #23409a;
    --title-color: hsl(var(--hue), 12%, 15%);
    --text-color: hsl(var(--hue), 8%, 35%);
    --body-color: hsl(var(--hue), 100%, 99%);
    --container-color: #FFF;

    /*========== Font and typography ==========*/
    --body-font: 'Open Sans', sans-serif;
    --h1-font-size: 1.5rem;
    --normal-font-size: .938rem;
    --tiny-font-size: .625rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 60rem) {
    /*968px*/
    :root {
        --h1-font-size: 2.25rem;
        --normal-font-size: 1rem;
    }
}

/*CORREÇÕES RESPONSIVIDADES*/
/* Estilos para dispositivos com tela menor que 768px (telas menores que largura de tablets) */
@media (max-width: 768px) {
    #form-container {
        /* Adicione estilos específicos para telas menores aqui */
    }

    /* Oculta o card em telas menores */
    #form-card {
        display: contents;
    }

    #form-card .card-header {
        display: contents;
    }
}

/* Estilos para dispositivos com tela maior que 768px (telas maiores que largura de tablets) */
@media (min-width: 768px) {
    #form-container {
        /* Adicione estilos específicos para telas maiores aqui */
    }

    /* Estilos para o card */
    #form-card {
        box-shadow: 0 0 10vh rgba(0, 0, 0, 0.1);
    }
}
/*CORREÇÕES RESPONSIVIDADES*/

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

label[for=class_asteriskField]::after {
    content: none;
}

label.requiredField[for="id_termoAceite"] .asteriskField {
    display: none;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
    padding: 4.5rem 0 4rem;
}

.section__title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.section__height {
    height: 100vh;
}

/*=============== LAYOUT ===============*/
.container {
    max-width: 1200px;
    margin-right: 1rem;
}

/*=============== HEADER ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    z-index: var(--z-fixed);
    transition: .4s;
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__img {
    width: 32px;
    border-radius: 50%;
}

.nav__logo {
    color: var(--title-color);
    font-weight: 600;
}

/* @media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--container-color);
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: .4s;
  }
} */

.nav__list,
.nav__link {
    display: flex;
}

.nav__link {
    flex-direction: column;
    align-items: center;
    row-gap: 4px;
    color: var(--title-color);
    font-weight: 600;
}

.nav__list {
    justify-content: space-around;
}

.nav__name {
    font-size: var(--tiny-font-size);
    /* display: none;*/ /* Minimalist design, hidden labels */
}

.nav__icon {
    font-size: 1.5rem;
}

/*Active link*/
.active-link {
    position: relative;
    color: var(--first-color);
    transition: .3s;
}

/* Minimalist design, active link */
/* .active-link::before{
  content: '';
  position: absolute;
  bottom: -.5rem;
  width: 4px;
  height: 4px;
  background-color: var(--first-color);
  border-radius: 50%;
} */

/* Change background header */
.scroll-header {
    box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 20rem) {
    .nav__name {
        display: none;
    }
}

/* For medium devices */
@media screen and (min-width: 36rem) {
    .nav__list {
        justify-content: center;
        column-gap: 3rem;
    }
}

@media screen and (min-width: 48rem) {
    body {
        margin: 0;
    }

    .section {
        padding: 7rem 0 2rem;
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
    }

    .nav__img {
        display: none;
    }

    .nav__icon {
        display: none;
    }

    .nav__name {
        font-size: var(--normal-font-size);
        /* display: block; */ /* Minimalist design, visible labels */
    }

    .nav__link:hover {
        color: var(--first-color);
    }

    /* First design, remove if you choose the minimalist design */
    .active-link::before {
        content: '';
        position: absolute;
        bottom: -.75rem;
        width: 4px;
        height: 4px;
        background-color: var(--first-color);
        border-radius: 50%;
    }

    /* Minimalist design */
    /* .active-link::before{
        bottom: -.75rem;
    } */
}

/* For large devices */
@media screen and (min-width: 64rem) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}

/* navbar buttons */
.menu-button {
    display: inline-block;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #090909;
    padding: 0.7em 1.7em;
    font-size: 1rem;
    border-radius: 0.5em;
    background: #e8e8e8;
    border: 0.1rem solid #e8e8e8;
    box-shadow: 6px 6px 12px #c5c5c5,
    -6px -6px 12px #ffffff;
}

.menu-button:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5,
    inset -4px -4px 12px #ffffff;
}

.menu-button:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.menu-button:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.menu-button:hover {
    color: #ffffff;
}

.menu-button:hover:before {
    top: -35%;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.menu-button:hover:after {
    top: -45%;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.menu-button1 {
    border-color: hsl(214, 100%, 36%);
    color: #0051ba;
    margin-left: 56rem;
}

.menu-button1:after, .menu-button1:hover:before, .menu-button1:hover:after {
    background-color: #0051ba;
}

.menu-button1:hover {
    border: 1px solid #0051ba;
}

.menu-button2 {
    border-color: #00b067;
    color: #00b067;
    margin-left: 0.5rem;
}

.menu-button2:after, .menu-button2:hover:before, .menu-button2:hover:after {
    background-color: #00b067;
}

.menu-button2:hover {
    border: 1px solid #00b067;
}

.menu-button3 {
    border-color: #00c0c7;
    color: #00c0c7;
    margin-left: 0.5rem;
}

.menu-button3:after, .menu-button3:hover:before, .menu-button3:hover:after {
    background-color: #00c0c7;
}

.menu-button3:hover {
    border: 1px solid #00c0c7;
}

.menu-button4 {
    border-color: #0051ba;
    color: #0051ba;
    margin-left: 1rem;
    width: 12rem;
}

.menu-button4:after, .menu-button4:hover:before, .menu-button4:hover:after {
    background-color: #0051ba;
}

.menu-button4:hover {
    border: 1px solid #0051ba;
}

.menu-text {
    color: #005fdc !important;
}

.menu-text:hover {
    color: #ffffff !important;
}

.icon {
    color: #005fdc !important;
    margin-left: 1.5vw;
    font-size: 2.5rem;
    position: relative;
}

.icon:hover {
    color: #003d8c !important;
}

.icon-text {
    font-size: 0.75rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin-left: 0.2rem;
}

/* Alterações feitas pelo Matheus */
.navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
    border-radius: 20px;
    border: inset;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link:hover {
    background-color: #005fdc;
}

.form-label {
    padding-left: 1rem;
}


/*Tabela*/
h2, h4 {
    color: #0b1e7d;
}

.tabela {
    background-color: #0b1e7d !important;
    color: white;
    --bs-table-bg: #0b1e7d !important;
}

.tabela a {
    color: white;
}

.table {
    background-color: #0b1e7d !important;
    color: white;
}