﻿.dataTables_scrollHeadInner{
    margin: 0 auto !important;
}
.chartdivTitle {
    text-align: center;
    font-weight: bold;
    padding-bottom: 15px;
}

.divGraph {
    width: 32%;
    padding-left: 10px;
    padding-right: 10px;
}



#divMap {
    /* height: calc(100% - 30%); Adjust height for the top panel */
    height: 100%;
    width: 100%;
}

#map {
    /* height: calc(100% - 30%); Adjust height for the top panel */
    height: 100%;
    width: 100%;
}

.bottom-panel {
    /* height: 30%; */
    height: 0%;
    background-color: #FFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.resizable-handle {
    position: absolute;
    /* top: 0; */
    left: 0;
    width: 100%;
    height: 2px;
    /* background: #c98341 ; */
    background: #ccc;
    cursor: row-resize;
}

/* .calcite-map .leaflet-control-attribution {

    bottom:  calc(100% - 100px) !important;
} */


/*****************************************************************************************************/
/* DataTable */

/* #example tfoot {
    display: none !important;
} */

div.dt-buttons {
    float: right !important;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    padding: 2px !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 2px 2px !important;
}



div.dt-buttons>.dt-button,
div.dt-buttons>div.dt-button-split .dt-button {
    padding: .1em 0.5em !important;

}


/* ***************************************************************************************************** */
.login {
    width: 100%;
    height: 100%;
    z-index: 5000;
    /* background-color: #FF5722; */
    background-color: #c98341;
    position: absolute;
}

/*spinner*/
.loader {
    border: 8px solid rgba(40, 167, 69, 0.25);
    /* Light grey */
    border-top: 8px solid #ee3400;
    /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 50%;
    overflow: inherit;
}

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

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

/*ToolTip*/
.classTableToolTip_0 {
    background-color: rgb(238 238 238 / .5);
    width: 100%;
    margin-bottom: 10px;
}


.classTableToolTip_0 {
    overflow: auto;
    width: 100%;
}

.classTableToolTip_0 table {
    border: 1px solid #dededf;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}

.classTableToolTip_0 caption {
    caption-side: top;
    text-align: left;
}

.classTableToolTip_0 th {
    border: 1px solid #dededf;
    background-color: #eceff1;
    color: #000000;
    padding: 5px;
}

.classTableToolTip_0 td {
    border: 1px solid #dededf;
    background-color: #ffffff;
    color: #000000;
    padding: 2px;
}


.classTableToolTip_1 {
    background-color: #eee;
    width: 100%;
    margin-bottom: 10px;
}

.classContainerToolTip {
    max-width: 300px !important;
    max-height: 200px !important;
    overflow-y: overlay !important;
}

/* Estilo específico para el popup de resumen - permite mayor ancho */
/* Usar selector más específico para sobrescribir el !important */
.leaflet-popup.resumen-popup .leaflet-popup-content .classContainerToolTip.resumen-container,
.leaflet-popup.resumen-popup .leaflet-popup-content-wrapper .leaflet-popup-content .resumen-container,
.resumen-container.classContainerToolTip,
.leaflet-popup.resumen-popup .resumen-container {
    max-width: 750px !important;
    width: 750px !important;
    min-width: 750px !important;
    max-height: 550px !important;
    overflow-y: auto !important;
}

/* Forzar ancho del contenido del popup de resumen */
.leaflet-popup.resumen-popup .leaflet-popup-content {
    width: 750px !important;
    min-width: 750px !important;
    max-width: 750px !important;
}

.classTituloToolTip {
    text-align: center;
    width: 100%;
    padding: 5px;
    font-weight: bold;
    background-color: #c98341;
    /* background-color: #5a9359; */
    /* background-color: #ee3400; */

    margin-top: 5px;
    color: #fff;
}

.calcite-bgcolor-green {
    /* background-color: #ee3400 !important; */
    background-color: #c98341 !important;
}


/*Login*/
.leaflet-modal .close {
    padding: 10px !important;
}

.leaflet-modal .modal-content {
    padding: 0px !important;
}

.modal-header {
    padding: 5px !important;
}

.modal-footer {
    padding: 5px !important;
}

.fondoLogin {
    background: #f2f2f2;
}

.headerLogin {
    justify-content: center;
    background: #f2f2f2;
    text-align: center;
    font-size: 26px;
}

/************* treeView ***********/
ul .gj-list-bootstrap li [data-role=wrapper] {
    padding: 0 0px !important;
}

ul.gj-list-bootstrap li [data-role=display] {
    padding: 0px 0 0px 0px !important;
}

.gj-icon {
    font-size: 14px !important;
}

.gj-checkbox-bootstrap span {
    width: 14px !important;
    height: 14px !important;
}

.gj-checkbox-bootstrap-4.gj-checkbox-material-icons input[type=checkbox]:checked+span:after,
.gj-checkbox-bootstrap-4.gj-checkbox-material-icons input[type=checkbox]:indeterminate+span:after {
    font-size: 13px !important;
}

.gj-checkbox-bootstrap.gj-checkbox-bootstrap-4 span {
    line-height: 13px !important;
}

ul.gj-list-bootstrap li [data-role=expander].gj-tree-material-icons-expander {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}



.dateFiltro {
    width: 110px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 1;
    display: block;
    /*background: url(https://mywildalberta.ca/images/GFX-MWA-Parks-Reservations.png) no-repeat;*/
    /* width: 20px;
    height: 20px;*/
    border-width: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
}

/***************************/
a {
    cursor: pointer;
}

/****** Draw **********/

.imgDraw {
    height: 16px;
}

/*******MiniMap**************/



/*******  zoomControl  *********/
.calcite-layout-small-title.calcite-nav-top .calcite-map .leaflet-control-zoom {
    margin: 55px 25px 15px 10px !important;
}

/********** Panels ********/
.calcite-panels-left {
    left: 50px !important;
    right: auto;
}

.chkLeyenda {
    text-align: center !important;
    cursor: pointer !important;
}

.custom-control-input-green:focus~.custom-control-label::before {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.custom-control-input-green:checked~.custom-control-label::before {
    border-color: #28a745 !important;
    background-color: #28a745 !important;
}

.custom-control-input-green:focus:not(:checked)~.custom-control-label::before {
    border-color: #5bd778 !important;
}

.custom-control-input-green:not(:disabled):active~.custom-control-label::before {
    background-color: #d6f5dd !important;
    border-color: #d6f5dd !important;
}

.displayNone {
    display: none;
}

.tblLegend {
    height: 36px;
    margin: 5px 0px;
}



.imgLeyenda {
    height: 15px;
    cursor: pointer;
}

.panel-heading {
    /* background-color: #5a9359 !important; */
    /* background-color:#ee3400 !important; */
    background-color: #c98341 !important;
}

.panel {
    margin-bottom: 5px !important;
}

/*.list-group-item {
    border: 0px solid rgba(0,0,0,.125) !important;
    padding: 5px 10px !important;
    font-size: 13px !important;
}*/

.calcite-panels .panel-body {
    padding: 5px !important;
}

.icon-preview {
    display: grid !important;
}

.imgBaseMap {
    width: 88px;
    /*height:100px;*/
}

.divFiltro {
    width: 98% !important;
    color: #000;
}

.buttonPoint {
    cursor: pointer !important;
    margin: 2px 0px;
}

.panel-title-filtro {
    padding: 8px 15px;
    background-color: #ddd !important;
    color: #000 !important;
    font-weight: bold !important;
}

.filtro_border {
    border: 1px solid #ddd4d4 !important
}

a:link,
a:visited,
a:active {
    text-decoration: none !important;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    color: #000000 !important;
}

.calcite-nav-bottom .calcite-map .leaflet-control-zoom {
    margin-top: 28px;
}

.calcite-navbar-search {
    /*margin-top: 0;
    margin-right: 5px;
    padding: 5px 0;*/
    margin-top: 5px !important;
}

.calcite-nav-bottom .panel-body .geocoder-control-suggestions.leaflet-bar {
    top: 25px;
    bottom: auto;
}

.calcite-maps .esri-truncated-attribution {
    max-width: 100% !important;
    width: 100%;
}

.leaflet-touch .leaflet-bar {
    border: none;
}

.chartdiv {
    width: 100%;
    height: 300px;
    /* background-color: #28a745; */
}

.chartdivLegend {
    width: 100%;
    /* height: 300px;   */
}

/* .leaflet-left{
    display: inline-flex !important;
    height: 30px !important;
    bottom: 5px !important;
  } */

.leaflet-bottom {
    bottom: 20px !important;
}

@media (min-width: 769px) {
    .tableResult {
        right: 0;
        left: 0;
        width: 100% !important;
        top: auto !important;
    }
}

.tableResult {
    bottom: 40px !important;
    width: 800px !important;
    top: auto !important;
}

.panel-body-tableResult {

    width: 100% !important;
}

.leaflet-control-coord-projection {

    margin-left: 5px !important;
    margin-bottom: 8px !important;

}

/* .calcite-navbar.calcite-text-light .calcite-title-sub {
    color: #000;
}
.panel-label{
    color: #000;
} */


.modal {
    z-index: 100000 !important;
    position: fixed !important;
}
.modal-backdrop {
    z-index: 99999 !important; /* El fondo oscuro */
}
.modal-dialog {
    z-index: 100001 !important;
    position: relative !important;
}