@font-face {
    font-family: "Open Sans";
    src: url("../fonts/opensans-bold.woff") format('woff');
}

@font-face {
    font-family: "Myriad Pro Italic";
    src: url("../fonts/myriad-pro/MyriadPro-It.otf") format('opentype');
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #444;
    margin: 0 0 100px 0;
    padding: 0;
}




/*ALERTAS ---------*/
.alerta {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #497fbd;
    color: #FFF;
    z-index: 1007;
    /*padding: 40px;*/
    padding: 20px 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    border: 2px solid rgb(46, 46, 46);
}

.alerta-button {
    padding: 10px 20px;
    background-color: #497fbd;
    color: #FFF;
    border: 1px solid black;
    border-color: black;
    border-radius: 4px;
    cursor: pointer;

}

.resultados {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #06617c;
    color: #FFF;
    z-index: 1007;
    padding: 20px 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.background-resultados {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(97, 99, 100, 0.90);
    z-index: 900;
}

.resultado-style {
    font-size: 20px;
}

.content {
    /* Centraliza o conteúdo horizontal e verticalmente */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    /* Largura do bloco retangular */
    height: 200px;
    /* Altura do bloco retangular */
    border: 1px solid #000;
    /* Apenas para visualizar o bloco retangular */
}

.resultados-button {
    width: 50%;
    background-color: #059CC9;
}

.button-padrao-centro {
    width: 50%;
    background-color: #06617c;
}

.table-responsive-sm {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    /* Adicionar barra de rolagem horizontal se necessário */
}

.button-padrao-dois {
    width: 35%;
    margin-left: 10%;
    background-color: #06617c;
    float: left;
}

.fechar {
    float: right;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
}

.modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-body {
    text-align: center;
}

.ico-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.navbar a {
    text-decoration: none;
}

.container-fluid {
    padding: 0;
}

.container {
    max-width: 960px;
}

#menu-embrapa {
    width: 100%;
}

#menu-embrapa .container {
    border-bottom: 3px solid #6ca7e7;
}

#menu-embrapa .links-topo {
    text-align: center;
    line-height: 16px;
    font-size: 13px;
    color: #6ca7e7;
    margin: 2px 30px 2px 15px;
    display: block;
    vertical-align: top;
}

#menu-embrapa .links-topo a {
    color: #666;
    font-family: Arial, sans-serif;
    font-weight: bolder;
}

#menu-embrapa .logo-embrapa {
    width: 100px;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    display: inline-block;

}

#atendimento-cidadao {
    vertical-align: bottom;
    text-align: left;
    margin-top: 7px;
    border-left: 2px solid #ebebeb;
    padding-left: 20px;
    margin-left: 20px;
    display: inline-block;
}

#atendimento-cidadao p {
    margin: 0;
    line-height: 16px;
    font-size: 12px;
}

#atendimento-cidadao p a {
    color: #6ca7e7;
    text-decoration: none;
}

#atualizacao {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#atualizacao.mostrar {
    opacity: 1;
}

#atualizacao i {
    font-size: 40px;
    color: #333;
    margin-right: 10px;
}

.redes-sociais {
    vertical-align: bottom;
    margin-bottom: 3px;
    text-align: right;
    display: inline-block;
    float: right;
    margin-top: 10px;
}

.icone-topo {
    display: inline-block;
    width: 23px;
    height: 23px;
    font-size: 12px;
    margin: 0;
    padding: 3px;
}

.busca-geral-conteudo {
    margin-top: 4%;
}

.busca-geral-conteudo input {
    background-color: rgb(240, 248, 255);
}

#botao-busca-geral {
    background-color: #497fbd !important;
    color: white;
    border: #497fbd solid 1px;
}

.header-embrapa {
    width: 100%;
    margin-top: -3px;
}

.selected-option {
    background-color: #7EB6E7;
}

@media (min-width: 1249px) {
    .tp-topo-normal .tp-cabecalho .tp-links-topo {
        margin: 1rem 0 0;
        background: transparent;
        display: grid;
        width: auto;
        position: initial;
        grid-template-columns: 1fr auto auto auto;
        padding-right: 1.5rem;
    }
}

.menu {
    font-size: 13px;
    padding: 0;
    width: 73%;
    height: 30px;
    margin: -2px 13.5% 20px 13.5%;
    border: 1px solid #dedede;
}

.tg {
    border-collapse: collapse;
    border-spacing: 0;
}

.tg td,
.tg th {
    border: 1px solid black;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px 5px;
    word-break: normal;
}

.tg .tg-baqh {
    text-align: center;
    vertical-align: top;
}

.tg .tg-xt05 {
    background-color: #D9D9D9;
    text-align: center;
    vertical-align: top;
}

.tg .tg-0lax {
    text-align: center;
    vertical-align: top;
}

.container {
    justify-content: center;
}

/* ATENÇÃO */

.table-custom {
    width: 80%;
    margin-left: 10%;
}

.table-custom th,
.table-custom td {
    border-style: solid;
    border-color: var(--bs-gray-900);
}

.table-custom th {
    transform: scale(1);
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    color: var(--bs-gray-dark);
}

.table-custom td {
    color: var(--bs-gray-900);
}

.table-custom input {
    text-align: center;
}

.border {
    border: 1px solid black;
}

.rounded-0 {
    border-radius: 0;
}

.menu .nav-item {
    margin-left: 10px;
}

.menu .navbar-nav .active {
    border-bottom: solid 3px #6ca7e7;
}

.menu .nav-link {
    height: 25px;
    padding: 4px 5px 0 0;
    display: block;
    color: #6ca7e7 !important;
    font-size: 13px;
    line-height: 23px;
}

.dropdown-item {
    color: #6ca7e7 !important;
    font-size: 13px;
    line-height: 23px;
}

.navbar-collapse {
    background-color: #fff;
}

.menu-entrar {
    margin-right: auto !important;
}

.inputs-entrar {
    width: 200px;
    margin-left: 78%;
}

.inputs-entrar input[type="text"]:active,
.inputs-entrar input[type="text"]:link,
.inputs-entrar input[type="text"]:checked,
.inputs-entrar input[type="text"]:focus,
.inputs-entrar input[type="password"]:active,
.inputs-entrar input[type="password"]:link,
.inputs-entrar input[type="password"]:checked,
.inputs-entrar input[type="password"]:focus {
    background-color: #fff !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.inputs-entrar input[type="text"],
.inputs-entrar input[type="password"] {
    border: 1px solid #CCC;
    background-color: #FFF;
    border-radius: 5px;
    margin: 0 5px 5px 5px;
    width: 93%;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.inputs-entrar input[type="submit"] {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-radius: 5px;
    margin: 0 5px 5px 5px;
    padding: 5px 0 5px 0;
    width: 93%;
    text-align: center;
    color: #FFF !important;
}

.btn-entrar {
    background-color: #28a745;
}

.btn-entrar:hover {
    background-color: #348839 !important;
}

.btn-cadastrar {
    background-color: #007bff;
}

.btn-cadastrar:hover {
    background-color: #036BD9 !important;
}


/******************************* FOOTER *********************************/
.footer {
    margin: 20px 0 0 0;
    padding: 0 15%;
    font-family: Arial, sans-serif;
    color: #666;
    justify-content: center;
    background-color: white;
    position: absolute;
}

.footer a {
    color: #6ca7e7;
}

.footer h4 {
    font-weight: bold;
    margin-top: 15px;
    font-size: 20px;
}

.footer-endereco {
    text-align: right;
    font-size: 12px;
}

.menu-footer {
    font-size: 16.8px;
    font-weight: bold;
    color: inherit;
    text-rendering: optimizeLegibility;
    text-align: right;
}

.sede-embrapa {
    font-size: 16.8px;
    font-weight: bold;
    color: inherit;
    text-rendering: optimizeLegibility;
}


.footer-endereco-contato {
    text-align: right;
    font-size: 14px;
}

#alerta {
    position: absolute;
    width: 100% !important;
    z-index: 9999 !important;
}

.no-padding-right {
    padding-right: 0 !important;
}

.no-margim {
    margin: 0 !important;
}

.range_container {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 50px auto;
}

.sliders_control {
    position: sticky;
    min-height: 10px;
    width: 50%;
    height: 50px;
}

.form_control {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    font-size: 20px;
    color: #635a5a;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

input[type="number"] {
    color: #000000;
    width: 65px;
    height: 30px;
    font-size: 20px;
    border: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    width: 100%;
    position: absolute;
    background-color: #C6C6C6;
    pointer-events: none;
}

#fromSlider {
    height: 0;
    z-index: 1;
}

/******************************* Escala de cores IEC - Laudo *********************************/
.color-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 25%;
    padding: 10px;
    width: 50%;
    background: linear-gradient(to right, red, yellow, green);
    border: 2px solid black;
}

.color-indicator {
    width: 17px;
    height: 13px;
    background-color: black;
    position: absolute;
    transform: translateX(-5px) rotate(45deg);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

/******************************* Tooltip - Laudo *********************************/

.tooltipe {
    position: relative;
    cursor: pointer;
}


.text-left {
    text-align: left
}




@media (min-width: 601px) {

    /*Classe aplicada a div do banner*/
    .header-titulo {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.5rem;
        text-align: left;
        margin-left: 14%;
        margin-top: -6%;
        margin-bottom: 5%;
        z-index: 1;
    }

    .header-titulo a {
        text-decoration: none;
        color: white;
    }

    /* Texto no banner (Unidade/Embrapa Pecuária Sul) */
    .texto-banner {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
    }

    .texto-bannergrande {
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }

    /*Tooltip que aparece ao passar o mouse no laudo*/
    .tooltipetext {
        visibility: hidden;
        width: 340px;
        background-color: #497fbd;
        color: #FFF;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 1.2s;
        border: 2px solid rgb(46, 46, 46);
    }

    .tooltipe:hover .tooltipetext {
        visibility: visible;
        opacity: 1;
    }

    /* Tabela que aparece ao exibir o resultado, em conjunto ao laudo */
    .resumo-resultado {
        margin-left: 25%;
        margin-right: 25%;
        margin-top: 2.5%
    }

    /****************Logo - Banner****************************/
    .degrade-logo {
        background: linear-gradient(180deg, #00264c 10%, rgba(0, 38, 76, 0.15) 100%);
        display: inline-block;
        color: #fff;
        grid-template-rows: auto 1fr;
        padding: 16rem 0 0.5rem 0;
        width: 100%;
        top: 0;
        left: 0;
        height: 300px;
        z-index: 1;
        position: absolute;
    }

    .banner-topo-unidade {
        position: relative;
        max-width: 100%;
    }

    .logo-oepsul {
        width: 100%;
        height: 300px;
        margin-left: 0%;
        object-fit: cover;
        display: inline-block;
        object-position: center;
        z-index: 0;
    }

}

@media (max-width: 600px) {

    /*Classe aplicada a div do banner*/
    .header-titulo {
        margin-top: 20%;
        z-index: 1;
    }

    .header-titulo a {
        text-decoration: none;
        color: white;
    }

    /*Texto - IEC*/
    .titulo-aplicacao {
        font-size: medium;
    }

    /* Texto no banner (Unidade/Embrapa Pecuária Sul) */
    .texto-banner {
        font-family: Arial, Helvetica, sans-serif;
        font-size: small;
        margin-left: 10%;
    }

    .texto-banner-grande {
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        margin-left: 10%;
    }

    /****************Logo - Banner****************************/
    .degrade-logo {
        background: linear-gradient(180deg, #00264c 10%, rgba(0, 38, 76, 0.15) 100%);
        display: inline-block;
        color: #fff;
        width: 100%;
        top: 0;
        left: 0;
        height: 200px;
        z-index: 1;
        position: absolute;
    }

    .banner-topo-unidade {
        position: relative;
        max-width: 100%;
    }

    .logo-oepsul {
        width: 100%;
        height: 200px;
        margin-left: 0%;
        display: inline-block;
        object-position: center;
        z-index: 0;
    }

    /* Texto - "Sede Embrapa"*/
    .sede-embrapa {
        width: auto;
        text-align: center;
    }

    /* Texto - "Rodoviaria BR......."*/
    .footer-endereco-contato p {
        width: auto;
        text-align: center;
    }

    /* Texto - "Parque Estação Biológica....."*/
    .footer-endereco {
        width: auto;
        text-align: center;
    }

    /*Div do Footer*/
    .menu-footer {
        width: auto;
        text-align: center;
    }

    /*Slider*/
    .range_container {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 50px auto;
    }

    /*Tooltip que aparece ao passar o mouse no laudo*/
    .tooltipetext {
        visibility: hidden;
        width: 60%;
        background-color: #497fbd;
        color: #FFF;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: fixed;
        z-index: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        opacity: 1;
        transition: opacity 0.3s;
        border: 2px solid rgb(46, 46, 46);
    }

    .tooltipe:active .tooltipetext {
        visibility: visible;
        opacity: 1;
    }

    /*Tabela que aparece ao exibir o resultado, em conjunto ao laudo*/
    .resumo-resultado {
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 2.5%
    }
}

.logo-50-anos {
    margin-bottom: -3%;
    top: 15px;
    left: 30px;
    width: 12%;
    height: auto;
    position: absolute;
}

.custom-summary {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.custom-details {
    display: flex;
    align-items: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}

.custom-summary::after {
    content: '▼';
    /* Unicode for down triangle */
    margin-left: 5px;
    position: absolute;
    right: 0;
}

/* Change the triangle when details is open */
.custom-details[open] .custom-summary::after {
    content: '▲';
    /* Unicode for up triangle */
}

/* Estilo personalizado para o placeholder */
.form-control-custom::placeholder {
    color: #999;
    /* Cor do texto do placeholder */
    opacity: 0.5;
    /* Opacidade do placeholder */
    font-style: italic;
    /* Estilo de fonte do placeholder */
}

/* Apagar até o fim do projeto */

/*
@media (max-width: 600px) {
    .header img {
        object-fit: cover;
        object-position: left;
        width: 100%;
        height: 115px;
    }
 .inputs-entrar {
        margin-left: 2%;
    }


    .menu {
        width: 100%;
        height: auto;
        border: none;
        margin: 0;
        text-align: center;
    }

    .menu .nav-item {
        border-bottom: 1px solid #6ca7e7;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .menu .form-inline {
        border-bottom: 1px solid #6ca7e7;
        padding-bottom: 7px;
    }

    .menu .dropdown-menu {
        width: 97%;
    }

    .menu .dropdown-menu .dropdown-item{
        border-bottom: 1px solid #C3E0FF;
        padding-top: 3px;
        padding-bottom: 3px;
        text-align: center;
    }

    .menu .inputs-entrar {
        width: 96%;
    }

    .menu .nav-item:first-child {
        margin-top: -15px;
    }



    .navbar-toggler {
        background-color: white;
        margin-top: -50px;
        margin-left: auto;
    }

    .chart-container .mx-auto {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .chart-container {
        flex: 0 0 auto;
        width: 100% !important;
        height: 405px !important;
        margin-bottom: 120px !important;
    }

    .conteudo .container-fluid .row {
        width: 100%;
        justify-content: center;
    }

    #menu-embrapa .container .row .col-sm-5 {
        display: none;
    }

    #menu-embrapa .container .row .col-sm-2 {
        display: inline-block;
        width: 50%;
    }

    .navbar-toggler, .navbar-toggler:focus {
        border: none;
        outline:none;
        box-shadow: none !important;
    }
}
*/