:root {
    --margem-botoes: 0.5em;
    --posicao-botoes: 1em;
}

.custom_accordion-button {
    font-size: 0.7em;
    font-weight: bold;
    color: #196774;
    margin: 0px;
    padding: 0px;
    padding-left:3px;
}

.custom_accordion-button::after {
    margin-left: 0px;
    background-position: center;
    background-size: 1em;
}

/* transforma valores de rem para em */
.form-check {
    padding-left:1.5em;
    min-height:1.5em;
}
.form-check-inline{
    margin-right:1em;
}
/* em landscape exibe os containers um ao lado do outro */
@media (orientation: landscape) {
    .split {
        display: flex;
        flex-direction: row;
    }
}

html,
body {
    height: 100%;
    font-family: nudista-web, sans-serif;
}


/* melhorar o contraste das abas de consulta e simulacao */
.abasDados .nav-link.active {
    font-weight: bold;
    color: #196774;
}

.abasDados .nav-link {
    font-weight: 0;
    color: rgb(178, 193, 178);
}
.table{
    --bs-table-striped-bg: #90A19D;
}

.table th, td {
    font-size: 0.7em;
    color: #196774;
    text-align: center;
}

.tooltipConsulta {
    color: #000000;
    text-decoration: none;
    background:  #FFC50C;
    text-align: center;
    padding: 1px 5px;
    margin-right: -1px;
    border: 1px solid #000000;
}

/* retira margens do hightchart para ocupar o maximo de espaco */
.highcharts-figure {
    margin: 0px;
}

/* div onde o mapa esta contido */
.split {
    height: 100%;
}

#rightContainer {
    overflow:scroll;
}
.consultaContainer {
    margin: 10px 10px 10px 10px;
}

.simulacaoContainer {
    font-size: 0.8em;
}

.superscript {
    margin-left:0.4em;
    margin-top:-0.4em;
}

.tituloBuscaconsulta {
    font-size: 0.9em;
    font-weight: 700;
    color: #196774;
    margin-bottom: 9px;
}

.tituloBuscasimulacao {
    width: 100%;
    font-size: 1.1em;
    font-weight: 700;
    color: #196774;
    margin-bottom: 9px;
    background-color: #ddeced;
}

p {
    font-size: 0.93em;
    color: #196774;
    font-weight: 300;
    font-style: normal;
}

h2 {
    font-size: 1.3em;
    font-weight: 500;
    font-style: normal;
    color: #196774;
}

h3 {
    font-size: 1.1em;
    font-weight: 700;
    font-style:normal;
    color: #196774;
}

h4 {
    font-size: 0.85em;
    font-weight: 500;
    font-style: normal;
    color: #196774;
}

h5 {
    font-size: 0.9em;
    font-weight: 500;
    font-style: normal;
    color: #196774;
}

/* transforma os indicadores em pontos */
.carousel-indicators [data-bs-target]{
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;

}
.btn-outline-danger {
    --bs-btn-hover-color: white;
}

.form-check-input:checked {
    background-color: #ef6024;
    border-color: #ef6024;
}

/* Pagina Inicial */
.fundoPaginainicial {
    background-image: url("../image/back_atlasSolar_logo.jpg");
    background-color: #707070;
    background-repeat:no-repeat;
    -webkit-background-size:cover;
    -moz-background-size:cover;
    -o-background-size:cover;
    background-size:cover;
    background-position:center center;
    background-attachment: fixed;
    height: 100vh;
}
.textoInicial {
    font-size: 0.8em;
    font-weight: 300;
    font-style: normal;
    color: #196774;
    text-align: justify;
}
/* Italiza o placeholder e coloca cinza mais claro */
input:placeholder-shown {
    font-style: italic;
}

.consumoMensal{
    align-items:center;
    justify-content:end;
    margin-top: 8px;
}

.gradient-custom-2 {
    /* fallback for old browsers */
    background: #807f7f;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(
        to right,
        #648e92,
        #628d92,
        #558287,
        #196774
        );

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #648e92, #628d92, #558287, #196774);
}

@media (min-width: 768px) {
    .gradient-form {
        height: 100vh !important;
    }
    #logoAtlas {
        width: 350px;
    }

}

@media (min-width: 768px) {
    .gradient-form {
        height: 100vh !important;
    }
}

@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: 0.3rem;
        border-bottom-right-radius: 0.3rem;
    }
}



/* controles customizados do mapa */
.legendaControl {
    position: absolute;
    left: var(--posicao-botoes);
    bottom: var(--posicao-botoes);
    z-index: 9999;
    margin-left: 55px;
}

.legendaControl div {
    text-align: start;
}

.legendaControl img {
    margin-bottom: 1em;
}

#divLegendaVariavel {
    background-color: white;
    overflow: auto;
    /* max-height: 200px; */
    padding: 3px;
    border: 3px solid #A9A9A9;
    border-radius: 5px;
    box-shadow: 1px 2px #C0C0C0;
    /*display: none; */
}

.layersControl {
    position: absolute;
    left: var(--posicao-botoes);
    bottom: var(--posicao-botoes);
}

.layersControl button {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    margin-left: var(--margem-botoes);
    background-repeat: no-repeat;
    background-size: 32px 32px;
    background-position: center center;
}

.drawControl {
    position: absolute;
    right: var(--margem-botoes);
    top: var(--margem-botoes);
}

.drawControl button {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    border-width: thin;
    margin-left: var(--margem-botoes);
    margin-bottom: var(--margem-botoes);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center center;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
}

.searchControls {
    width: fit-content;
}

.buttonAbreForm  {
    position: absolute;
    right: calc(32*6px);
    margin-right: calc(var(--margem-botoes)*7);
    top: 0px;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    margin-top: var(--margem-botoes);
    margin-bottom: var(--margem-botoes);
    background-image: url("../image/lupa.png");
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: center center;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    border-width: 1px;
}

.buttonSubmit {
    height: 2.2em;
    background-color: white;
    background-image: url("../image/lupa.png");
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: center center;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    border-width: 1px;
}
.formSearch{
    position: absolute;
    right: -32px;
    top: 0px;
    margin-top: var(--margem-botoes);
    max-width:17em;
    overflow:hidden;
    transition:max-width 0.3s ease-out;
    height: 2.2em;
}
.formSearch.collapsed {
    max-width:0;
}
.inputSearch{
    padding-left: 10px;
    outline-color:rgba(var(--bs-danger-rgb)) ;
    border-color: rgba(var(--bs-danger-rgb));
    border-width: 1px;
    height: 2.2em;
    width:13em;
}
.ol-full-screen {
    right: var(--margem-botoes);
    bottom: var(--posicao-botoes);
    position: absolute;
}

.ol-full-screen-false {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    background-image: url("../image/icon_zoom_expand.png");
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: center center;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    border-width: 1px;
}

.ol-full-screen-true {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    background-image: url("../image/icon_zoom_contract.png");
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: center center;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    border-width: 1px;
}

.custom-zoom {
    right: var(--margem-botoes);
    bottom: var(--posicao-botoes);
    margin-bottom: 4.6em;
    position: absolute;
    display: inline-flex;
    flex-flow: column;
}

.custom-zoom-in {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    background-image: url("../image/icon_mais.png");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center center;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity));
    border-width: 1px;
}

.custom-zoom-out {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    background-image: url("../image/icon_menos.png");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center center;
    margin-top: 3px;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity));
    border-width: 1px;
}
.custom-zoomExt  {

}

div .custom-zoomExt {
    width: 32px;
    right: var(--margem-botoes);
    bottom: var(--posicao-botoes);
    margin-bottom: 2.0em;
    position: absolute;
}
/* hack para resolver o espaço do botao de zoom no firefox */
@-moz-document url-prefix() {
    div .custom-zoomExt {
        margin-bottom: 2.3em;
    }
}

.custom-zoomExt button {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    margin-top: var(--margem-botoes);
    background-image: url("../image/icon_center.png");
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: center center;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity));
    border-width: 1px;
}

/* objetos do SPLIT */
.gutter {
    background-color: #707070;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-vertical {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=");
    cursor: row-resize;
    background-color: #707070;
}

.gutter.gutter-horizontal {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
    cursor: col-resize;
    background-color: #707070;
}

/* corrigir problema no tamanho do botao de busca no iphone */
.ol-touch .ol-geocoder.gcd-gl-container {
    font-size: inherit;
}

#divLogo {
    height: 40px;
}
