/* En tu hoja de estilo CSS */
/* SIDE BAR */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 1000;
    padding-top: 80px; /* Adjust according to your layout */
}
.sidebar .menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.sidebar .menu-list li {
    padding: 8px 8px 8px 30px;
    text-decoration: none;
    font-size: 20px;
    color: #000000;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}
.sidebar .menu-list li a {
    text-decoration: none;
    color: #131313;
    display: flex;
    align-items: center;
    width: 100%;
}
.sidebar .menu-list li a i {
    margin-right: 10px;
    font-size: 30px;
}
.sidebar.show {
    width: 250px; /* Adjust the width as needed */
}
.menu-icon {
    cursor: pointer;
    transition: color 0.3s, transform 0.1s;
}
.sidebar .menu-list li:hover {
    background-color: #f1f1f1;
}

/* FIN SIDE BAR */

.hidden-content {
    display: none;
}
/* Estilos generales */
.select2-dropdown.select2-dropdown--below {
    z-index: 5000;
}

body > div.navbar.default-layout {
    z-index: 500;
    background: linear-gradient(120deg, #00afe4, #5d74f0);
}

.mix-label-popup, .mix-input-popup {
    margin-bottom: auto;
    margin-top: auto;
    font-size: 15px
}

.mix-label-popup {
    margin-left: 5%;
    width: 15px;
}

.popup-overlay {
    /*Hides pop-up when there is no "active" class*/
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    height: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.custom-overlay {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    opacity: 0.4;
    background-color: black;
    z-index: 1250;
}

#popup-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

#permanent-popup-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
}

h4.card-title {
    width: 100%;
}

.hint-text {
    font-style: italic;
}

button.btn {
    cursor: pointer;
    font-size: 12px;
}

.material-button {
    color: #007bff;
    cursor: pointer;
}
/* Back Icon */
.back-icon-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 5px;
}
.add-report-icon-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 5px;
}

.back-icon, .create-icon{
    background-color: #5d5d5d; /* Fondo gris */
    border-radius: 50%; /* Bordes redondeados */
    padding: 10px; /* Espaciado interno */
    cursor: pointer; /* Cambia el cursor al pasar por encima */
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-icon i, .create-icon i{
    color: #fff; /* Flecha en blanco */
    font-size: 20px; /* Tamaño de la flecha */
}
.create-icon {
    background-color: #4573da;
}
/* Selector style */
/* Title page */
.title-page-1-icon {
    text-align: center;
    width: 50%;
    margin: auto;
    margin-left: 22%; /* se modifica para móviles para cuadrar el centro*/
}
.title-page{
    text-align: center;
    width: 50%;
    margin: auto;
}
/* Ajuste de ancho del select */
.js-example-basic-single {
    width: 100%;
}

/* Espaciado entre los elementos */
.row-search {
    margin-top: 20px; /* Puedes ajustar el valor según sea necesario */
}
@media (max-width: 400px) {
    .chartjs-render-monitor2 {
        position: relative;
        left: -40px !important;
        min-width: 320px;
        height: 120% !important;
        width: 100% !important;
        margin-bottom: 30px;
    }

    .chartjs-max-width {
        max-width: 100% !important;
    }
    .title-page-1-icon {
        margin-left: 15%;
    }
}

.openMailer {
    position: fixed;
    z-index: 1000;
    left: 13px;
    bottom: 13px;
    width: 157px;
    height: 50px;
    line-height: 24px;
    color: #fff;
    background: #280095;
    padding: 0px 30px;
    font-size: 15px;
    border-radius: 50px 50px 50px 0px;
    border: 0px;
}

.openMailer-ico {
    position: fixed;
    z-index: 1000;
    left: 53px;
    bottom: 13px;
    display: none;
}

#dashboard-switcher-container {
    position: fixed;
    width: 450px;
    top: 10px;
    z-index: 1300;
    left: 230px;
    margin: 9px 20px;
    color: white;
    font-size: 15px;
    font-weight: 500;
}

#dashboard-switcher-container-small {
    position: fixed;
    width: 450px;
    top: 10px;
    z-index: 1300;
    left: 28px;
    margin: 9px 20px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    width: 153px;
}

select.pretty-select {
    padding-left: 15px;
    border-radius: 0.25em;
    background-color: #fff;
    background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
    border: none;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    display: grid;
    grid-template-areas: "select";
    align-items: center;
}


select.pretty-select-small {
    padding-left: 15px;
    border-radius: 0.25em;
    background-color: #fff;
    background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
    border: none;
    margin: 0;
    font-family: inherit;
    font-size: 10px;
    cursor: inherit;
    line-height: inherit;
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    width: 130px;
}

select.pretty-select::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: #777;
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    grid-area: select;
    justify-self: end;
}

a.context-info {
    cursor: help;
}

a.context-info > span {
    font-size: 18px !important;
}

.popup-overlay.active {
    visibility: visible;
    height: 100%;
}

.popup-content2.active {
    visibility: visible;
}

.popup-content2 {
    /*Hides pop-up content when there is no "active" class */
    visibility: hidden;
    position: absolute;
    left: 25%;
    top: 15%;
    width: 60%;
    z-index: 20;
}

.content-grid-container {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.content-grid-container .content-grid-content.column {
    margin: 5px;
}

.content-grid-card-section {
    padding: 0.5% 0.5%;
    border-radius: 20px;
    width: 33%;
}

.content-grid-content {
    border-radius: 10px;
    background-color: white;
}

.sub-content-grid-card {
    background-color: unset;
}

.textFilter {
    font-size: 16px;
    font-size: max(16px, 1em);
    font-family: inherit;
    padding: 0.25em 0.5em;
    background-color: #fff;
    border: 2px solid #8b8a8b;
    border-radius: 4px;
}

.footer-status-tag {
    display: flex;
    align-self: end;
    flex-grow: 1;
}

a.fill-div {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.no-display {
    display: none;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-left-15 {
    margin-left: 15px;
}

.bordered-card {
    border: 2px solid rgba(0, 0, 0, .125);
}

.bordered-card.round-bordered {
    border-radius: 10px;
}

/* Para la generación de tablas */
.table-responsive th.no-display, .table-responsive td.no-display {
    display: none;
}

/* Para los popups */
#report_settings {
    display: none;
    max-width: 500px;
    max-height: 80%;
    width: 500px;
    position: fixed;
    overflow: auto;
    will-change: transform;
    top: 0;
    left: 0;
    transform: translate3d(200px, 80px, 0px);
    border: 1px solid #d3d4d5;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.13);
    visibility: visible;
    z-index: 1300;
}

#body_report .tab-content #tipo-datos-container input {
    display: none;
}

#body_report .tab-content label.form-check-label {
    cursor: pointer;
}

#body_report .tab-content .form-radio-container {
    width: 55%;
    margin-top: 10px;
    margin-bottom: 12px;
}

#body_report .tab-content .form-radio-container > div {
    height: 20px;
    margin: 20px 0;
}

#body_report .tab-content .form-radio-container .form-radio {
    margin-top: 0;
    margin-bottom: 0;
}

#download_report_settings {
    height: 30px;
    font-size: 10px;
    width: 130px;
}

.circle_calendar {
    background-color: #44aade;
    height: 24px;
    width: 24px;
    border-radius: 22px;
    float: right;
    position: absolute;
    right: 14px;
    top: 1px;
}

.popup-content-card {
    position: absolute;
    left: 25%;
    top: 15%;
    width: 60%;
    z-index: 20;
}

.img-button.img-button-round {
    height: 30px;
    border: 10px solid #0c85d0;
    border-radius: 10px;
}

.img-button {
    cursor: pointer;
    background: #0c85d0;
    height: 30px;
    aspect-ratio: 1;
    border: 5px solid #0c85d0;
}

button#download_report {
    float: right;
    margin: 5px 10px 0 0;
}

#body_report {
    padding: 8px 15px;
}

#body_report > .tab-content div.form-group > div.col-form-label {
    display: inline-block;
    width: 45%;
    padding-left: 12.5px;
}

#body_report > .tab-content div.form-group > div.input-container {
    width: 55%;
}

#body_report > .tab-content div.form-group {
    margin-bottom: 0.7rem;
}

#body_report div.input-container.select2-input-container {
    padding: 5px 0;
}

#body_report > .tab-content div.form-group .regular-input {
    width: 180px;
    height: 36px;
}

.tab-content.tab-content-basic > div {
    padding: 15px 0 8px 0;
}

.nav-tabs .nav-item a.nav-link {
    color: #495057;
}

.generic-popup {
    background-color: transparent;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filters-history {
    display: flex;
    width: 60%;
    margin-bottom: 2%
}

#filtro-clientes-hist {
    margin: 0;
    width: 34%;
}

#filtro-centros-hist {
    margin: 0;
    width: 50%;
}

#filtro-instal-hist {
    margin: 0;
    width: 34%;
}

#filtro-dev-hist {
    margin: 0;
    width: 34%;
}

@media (max-width: 770px) {
    .filters-history {
        width: 50%;
        display: block;
    }

    #filtro-clientes-hist {
        width: 100%;
    }

    #filtro-centros-hist {
        width: 100%;
    }

    #filtro-instal-hist {
        width: 100%;
    }

    #filtro-dev-hist {
        width: 100%;
    }

    #filtro-sensor-hist {
        display: flex;
        justify-content: center;
    }
}

#filtro-clientes-gestor {
    padding: 0;
    display: flex;
    width: 50%;
    min-width: 180px;
}

#filters-gestor {
    display: flex;
}

#filtro-clientes-center {
    padding: 0;
    display: flex;
    width: 50%;
    min-width: 180px;
}

#filters-center {
    display: flex;
    width: 36%;
}

#scrollerMap {
    padding: 0px 5px 0px 5px;
    margin-left: 10%;
}

@media (max-width: 900px) {
    #filtro-clientes-gestor {
        display: flex;
        width: 75%;
        min-width: 180px;
        margin: 10px 0px 10px 0px;
    }

    #filters-gestor {
        display: flex;
        width: 100%;
    }

    #filter-gestor-text-container {
        width: 100%;
    }

    #filtro-clientes-center {
        display: flex;
        width: 75%;
        min-width: 180px;
        margin: 10px 0px 10px 0px;
    }

    #filters-center {
        display: flex;
        width: 100%;
    }

    #filter-center-text-container {
        width: 100%;
    }

    #filtro-clientes-install-container {
        margin-top: 10px !important;
    }

    #filtro-center-install-container {
        margin-top: 10px !important;
    }
}

@media (max-width: 550px) {
    #filtro-clientes-gestor {
        display: flex;
        width: 75%;
        min-width: 180px;
        margin: 10px 0px 10px 0px;
    }

    #filters-gestor {
        display: flex;
        width: 100%;
    }

    #filter-gestor-text-container {
        width: 100%;
    }

    #filtro-clientes-center {
        display: flex;
        width: 75%;
        min-width: 180px;
        margin: 10px 0px 10px 0px;
    }

    #filters-center {
        display: flex;
        width: 100%;
    }

    #filter-center-text-container {
        width: 100%;
    }

    #filtro-clientes-install-container {
        margin-top: 10px !important;
    }

    #filtro-center-install-container {
        margin-top: 10px !important;
    }
}

@media (max-width: 750px) {

}


@media (max-width: 780px) {
    .generic-popup {
        width: 80%;
    }
}

img.close {
    cursor: pointer;
    width: 15px;
    height: 15px;
    right: 30px;
    top: 22px;
    position: absolute;
}

.generic-popup.big-popup {
    max-width: 90vw;
    width: 700px;
}

.selectable-link {
    cursor: pointer;
}

.dropdown-menu a {
    cursor: pointer;
}

.popup-info-tag {
    float: right;
    margin: 2px 25px;
    display: none;
    color: #fb2929;
    font-style: italic;
}

.popup-info-tag.message {
    color: unset;
    display: unset;
}

.buttons-add div.btn-group.dropdown a.custom-dropdown-link {
    color: #1082e6;
    cursor: pointer;
}

/* Para la paginación */
#pagination {
    width: 100%;
}

#pagination > div.pages-selector {
    width: 70%;
}

#pagination > div.view-all-container {
    width: 30%;
}

#pagination > div.view-all-container > button {
    font-size: 12px;
    height: 49%;
    width: 110px;
    float: right;
    margin-top: 4.5%;
    margin-right: 6%;
}

ul#pag_container li.page-item {
    width: 40px;
}

#pag_container > #first-page, #pag_container > #last-page {
    min-width: 32px;
}

#pag_container ::selection {
    color: currentColor;
    background: transparent;
}

ul#pag_container .page-item.active a {
    z-index: 2;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

ul#pag_container > li > a {
    font-size: 10px;
    text-align: center;
    color: #0056b3;
    text-decoration: none;
    border-color: #ddd;
    cursor: pointer;
}

/* Estilos comunes al portal */
label {
    cursor: text;
}

#logo_img {
    width: 150px;
    margin-top: 25%;
    margin-left: 15px;
}

/* Estilos Para el Dashboard */
#trakta-dashboard-page > div.content-wrapper {
    padding-top: 0.5rem;
}

.row.trakta-dashboard-cards > div > div > div.card-body {
    padding-top: 0;
}

.row.dashboard-selection > div.col-md-12.grid-margin.stretch-card {
    margin-bottom: 0;
}

.row.dashboard-selection button.dropdown-toggle {
    padding: 12px;
    font-size: 15px;
}

.row.dashboard-selection a.dropdown-item {
    cursor: pointer;
}

.text-main-table {
    font-size: 12px;
}


.card-title-disp {
    font-size: 20px;
}

.cr {
    position: relative;
    display: inline-block;
    background-color: #ff7c00;
    border-radius: .25em;
    width: 0.5em;
    height: 0.5em;
    float: right;
    margin-right: .5em;
    text-align: center;
    color: black;
}

.alert-over {
    position: absolute;
    top: 3px;
    right: 35px;
    height: 13px;
    background-color: red;
    font-size: 9px;
    border-radius: 19px;
    width: 13px;
    text-align: center;
    color: white;
}

.download-button-small {
    width: 30px;
    font-size: 18px;
    padding: 0px;
}

.purge-over {
    position: absolute;
    top: -4px;
    right: -1px;
    height: 13px;
    background-color: red;
    font-size: 9px;
    border-radius: 19px;
    width: 13px;
    text-align: center;
    color: white;
}

/* ALERTS configuración de alerts */
.content-alerts {
    min-height: 300px;
}

.button-alerts-general {
    height: 25px;
    margin-right: 1%;
    background-color: #00ce68;
    color: white;
    float: right;
    margin: 1%;
}

.back-color-alerts {
    background-color: white;
}

.border-alerts-nav-unselect {
    border: #eee solid 1px;
    background-color: #f8f8f8;
}

border-alerts-nav-select {
    border-top: #eee solid 1px;
    border-bottom: #eee solid 1px;
    border-right: #eee solid 1px;
    border-left: #eee solid 1px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
}

.background-button-exit {

    /*border-radius: 100%;*/
    border: lightslategrey solid 1px;
}

.background-button-exit:hover {
    background-color: #f8f8f8;
    border-color: lightblue;
    background-color: white;
}

.alert-conj-over {
    position: absolute;
    top: -4px;
    right: -4px;
    height: 13px;
    background-color: red;
    font-size: 9px;
    border-radius: 19px;
    width: 13px;
    text-align: center;
    color: white;
}

/* FIN Alerts section */

/* botón X para inputs */
.button-x-section {
    position: relative;
    display: inline-block;
}

.button-x-section input[type=text] {
    padding-right: 24px;
    width: 100%;
    box-sizing: border-box;
}

.button-x-section-clear {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 8px;
    font-style: normal;
    font-size: 1.2em;
    user-select: none;
    cursor: pointer;
    margin: 4px;
}

.button-x-section input::-ms-clear { /* Remove IE default X */
    display: none;
}

/* FIN botón X*/
/* SCADA Init section  */
.content-targets-scada{
    display: flex;
    flex-wrap: wrap; /**/
    margin: auto;
}
.content-targets-scada .card-scada.column {
    margin: 5px;
}

.card-section-scada {
    padding: 0.5% 0.5%;
    border-radius: 20px;
    width: 33%;
}
.card-scada {
    border-radius: 10px;
    background-color: white;
}
.sub-card-scada {
    background-color: unset ;
}
.title-scada {
    display: flex;
    height: 12px;
    width: 33%;
    margin-left: 1%;
}

.button-scada-style {
    cursor: pointer;
    color: #007bff !important;
}

.button-scada-style:hover {
    color: #0063ce !important;
}

.row-primary-scada {
    margin: 0;
    padding-top: 2%;
    align-items: center;
}

.row-target-scada {
    margin: 0;
    padding-left: 4%;
    padding-top: 2%;
    padding-right: 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.img-target-scada {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    min-height: 100px;
    height: 150px;
    cursor: pointer;
    filter: grayscale(100%);
}

.img-target-scada:hover {
    filter: grayscale(0%);
}

.search-scada {
    width: 30%;
    margin: 1%;
}

.row-search-scada {
    min-height: 50px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-scada-popup {
    height: 500px;
}

.popup-content-scada {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.popup-content-scada-great {
    width: 80%;
}

.popup-content-scada-less {
    width: 50%;
}

@media screen and (min-width: 1500px) {
    .content-grid-card-section {
        width: 25%;
    }
    .card-section-scada {
        width: 25%;
    }
    .img-scada-popup-great {
        height: 750px;
    }

    .popup-content-scada-less {
        width: 30%;
    }

    .img-target-scada {
        height: 200px;
    }
}
@media screen and (min-width: 1350px) {
    .card-section-scada {
        width: 25%;
    }
    .img-scada-popup-great {
        height: 750px;
    }
    .popup-content-scada-less {
        width: 30%;
    }
    .img-target-scada {
        height: 200px;
    }
}
@media screen and (max-width: 1100px) {
    .content-grid-card-section {
        width: 50%;
        margin: auto;
    }
}

@media screen and (max-width: 500px) {
    .content-grid-card-section {
        width: 100%;
        margin: auto;
    }

    .img-scada-popup-great {
        height: 250px;
    }

    .popup-content-scada-less {
        width: 80%;
    }

    .search-scada {
        width: 60%;
    }
    .card-section-scada {
        width: 90%;
        margin: auto;
    }

}
/* FIN Scada Section */
.table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: initial;
    line-height: 1.5;
    vertical-align: auto;
    text-align: center;
    justify-content: center;
}


.internal-card {
    border-radius: 10% 10% 10% 10%;
    height: 200px;
    min-width: 110px;
    margin-top: 20px;
    margin-right: 200px;
}

.flex-centered-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

span.centered-span-text {
    display: flex;
    align-items: center;
}

.end-aligned {
    text-align: end;
}

.flex-row-reverse {
    display: flex;
    flex-direction: row-reverse;
}

.top-row {
    width: 100%;
    align-content: center;
}

.section-filter {
    display: flex;
    width: 100%;
}

.section-filter > .container {
    width: 45%;
    margin: 1%;
}

.section-filter > .btn {
    margin: auto;
}

.card.internal-card.main-card {
    width: 20%;
    margin-right: 2%;
    background-color: #e4eaec;
}

.section-button {
    width: auto;
    margin-right: 2%;
}

.section-button-center {
    margin-left: 1%;
    justify-content: center;
}

.section-button > .btn {
    margin-left: 2%;
}

.section-label {

}

.container-map {
    height: 70%;
    width: 100%;
    margin: auto;
}

.container-map > .map-info {
    height: 100%;
    width: 25%;
    overflow-y: auto;
    max-height: 603px;

}

.container-map > .map-text {
    margin-left: 1%;
    font-size: 15px;
}

.container-map > .map {
    height: 100%;
    width: 75%;
}

.alert-label {
    margin-left: 15px;
}

.hr_alert {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #797575;
    margin: 1em 0;
    padding: 0;
}


.card.internal-card.secondary-card {
    width: 9%;
    border-radius: 10% 10% 10% 10%;
    margin-right: 1%;
}

.row.secondary-card {
    height: 30px;
    margin: 3% 0% 0% 10%;
}

div.bottom-text {
    height: 20px;
    text-align: right;
    margin-right: 5%;
}

div.column.col-second {
    float: left;
    width: 23%;
    text-align: center;
    vertical-align: center;
}

div.column.col-tick {
    float: left;
    width: 13%;
    padding: 3px;
    text-align: center;
    vertical-align: center;
}

.building-img-container {
    justify-content: center;
    height: 140px;
    width: 50%;
    padding-left: 20px;
}

div.popup-checks-list-container {
    overflow-y: auto;
    max-height: 400px;
}

div.column-container {
    width: 100%;
    display: flow-root;
}

div.column-container > div {
    float: left;
    width: 50%;
    padding: 0 15px 4px 15px;
}

div.popup-checks-list-container div.first-column {
    text-align: right;
}

div.popup-checks-list-container div.second-column {
    /* width: 60%; */
}

.table-device {
    justify-content: center;
    height: inherit;
    width: 50%;
    padding-left: 40px;
}

.map-container {
    width: 45%;
    height: inherit;
    margin-right: 4%;
    padding-right: 5px;
}

#info.not-visible {
    visibility: hidden;
}

#info.not-visible .ac-panel {
    visibility: unset;
}

.image-building {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.installation {
    height: 120px;
    width: 40%;
    padding-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-installation {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

div#terminal-tasks-info-container {
    max-height: 550px;
    overflow-y: scroll;
}

table#terminal-tasks-info > thead {
    text-align: center;
}

table td.water-data.data-true {
    background-color: #d2d7f7;
}

table td.task-data.data-true {
    background-color: #c7eac7;
}

table td.task-data.data-false {
    background-color: #ffbdbd;
}

.image-alert {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.center-name {
    height: 30px;
    margin: 3% 0% 2% 6%;
}

.device-name {
    width: 70%;
    height: 30px;
    margin: 2% 0% 1% 8%;
}

.day-selector {
    cursor: pointer;
}

.main-chart-container {
    width: 36%;
    height: 140px;
    margin-right: 4%;
    padding-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.secondary-chart-container {
    height: 120px;
    width: 50%;
    padding-top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvas-container {
    width: 150px;
    height: 193px;
    margin: 10px
}

.alert-container {
    max-height: 210px;
    overflow: auto;
}

.alert-container-dev {
    max-height: 240px;
    overflow-y: auto;
    padding: 0px 10px 10px;
}

.last-values-container {
    max-height: 240px;
    overflow-y: auto;
    padding: 0px 10px 10px;
}

.map-button-container {
    padding: 10px 10px 0px 10px;
    display: flex;
    justify-content: space-around;
}

.card-line {
    width: 80%;
    margin-top: 1%;
    margin-bottom: 1%;
}

#username {
    padding-left: 35px;
    background: url("../image/profile.png") no-repeat left;
    background-size: 30px;
}

#password {
    padding-left: 35px;
    background: url("../image/password_icon.png") no-repeat left;
    background-size: 30px;
}
#password-gestor-popup {
    padding-left: 35px;
    background: url("../image/password_icon.png") no-repeat left;
    background-size: 30px;
}
#login-but {
    background-color: #52cce8;
    border-color: white
}

#login-but:hover {
    background-color: #4e95a6;
    border-color: white
}

.card-line-title {
    width: 100%;
    margin-top: 0.3%;
    margin-bottom: 2%;
}

.chart-class-main {
    max-width: 100%;
    max-height: 100%;
    height: 80%;
    width: 80%;
    min-height: 50px
}

.small-grey-font {
    font-size: 12px;
    color: grey;
}

.sensors-space-label {
    width: 30%;
}

.sensors-space-check {
    width: 10%;
}

.content-middle {
    width: 50%;
    margin: auto;
}
/* Estilos para el dashboard (pestaña de resumen por centros) */
.threshold-alert-sign {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    padding: 5px;
    border: none;
    background-color: white;
}

.threshold-alert-sign img {
    width: 100%;
    cursor: pointer;
}

.alert-list-container {
    max-height: 60vh;
    overflow: auto;
}

.dashboard-chart-container {
    padding: 10px;
}

.threshold-alert-sign.alert_click {
    background: none;
}

/* Estilos para dashboard de torres */
#installation-cards-maps .flex-centered-div {
    width: 100%;
}

#installation-cards-maps .sub-content-grid-card.card {
    padding: 5px 15px;
}

#installation-cards-maps .sub-content-grid-card.card .card-title {
    text-align: center;
    margin: 5px 0;
}

#installation-cards-maps .grid-title-row {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#installation-cards-maps .sub-content-grid-card {
    padding: 5px 15px;
}

#installation-cards-maps .sub-content-grid-card li a.context-info {
    position: relative;
    top: 4px;
    margin-left: 10px;
}

#installation-cards-maps .content-grid-content ul > li > a {
    color: rgba(0, 0, 0, 0.6);
    margin-right: 10px;
}

#installation-cards-maps .content-grid-content ul > li.warning-sensor > * {
    font-style: italic;
    font-weight: bold;
    color: #a80000;
}

#installation-cards-maps .content-grid-card-section {
    display: flex;
}

#dashboard #installation-cards-maps #installation-cards .content-grid-card-section {
    margin: unset;
}

#installation-cards-maps .content-grid-card-section .bordered-card {
    flex-grow: 1;
}

#installation-cards-maps .warning-sensor-line {
    color: #c80303;
    font-weight: bold;
}

#add-threshold-button-container {
    display: flex;
    margin-bottom: 20px;
    flex-direction: row-reverse;
}

#threshold-rows-container {
    height: 350px;
    overflow-y: auto;
    overflow-x: clip;
}

#threshold-rows-container > div {
    margin-right: 5px;
}

#threshold-elements .threshold-data-type {
    flex: 2;
    margin-right: 10px;
}

#threshold-elements > div {
    display: flex;
    margin-bottom: 10px;
}

#threshold-elements .threshold-calculate {
    flex: 1;
    margin-right: 10px;
}

#threshold-elements .threshold-value {
    flex: 1;
    max-width: 18%;
}

/* VARIABLES CSS */
/*
    --somecolor: #ea5764;
    border-color: var(--somecolor);
    background: var(--somecolor);
*/

#threshold-elements .remove-threshold-button {
    --somecolor: #ea5764;
    width: 30px;
    height: 30px;
    padding: 2px;
    margin-left: 10px;
    cursor: pointer;
    color: var(--somecolor);
    border: var(--somecolor) 1px solid;
}

#threshold-elements .remove-threshold-button > span {
    border: none;
    margin: 0;
    padding: 0;
}

#sensors-list-container h6 {
    font-style: italic;
    padding: 0 10px;
    margin-top: 10px;
}

#sensors-list-container .device-sensors-select > div {
    display: flex;
    margin: 5px;
}

#sensors-list-container .device-sensors-select div.disabled-sensor label {
    text-decoration-line: line-through;
    color: gray;
}

#sensors-list-container .device-sensors-select > div > label {
    margin-left: auto;
    margin-bottom: 0;
    margin-right: 30px;
    flex: 2;
    text-align: end;
}

#sensors-list-container .bordered-card.round-bordered {
    min-height: 100px;
}

#sensors-list-container .limited-scroll-height {
    max-height: 300px;
    overflow: auto;
}

#sensors-list-container .device-sensors-select > div > div {
    flex: 1;
}

#sensors-list-container .device-sensors-select > div > div > input {
    position: relative;
    top: -3px;
}

#sensors-list-container #sensors-list-selector hr {
    width: 90%;
}

#installation-cards .content-grid-card-section .flex-centered-div {
    flex-direction: column;
    padding: 2px 0 4px 0;
}

#installation-cards-maps #installation-cards .content-grid-card-section .flex-centered-div > h4.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    margin: 0;
}

#installation-cards-maps #installation-cards .content-grid-card-section .flex-centered-div > h4.card-title:nth-child(2) {
    margin-top: 5px;
}

#installation-cards .column.bordered-card.warning-card {
    border-color: #d00;
    background: #ffeaea;
}

#nav-map .installations-map-header {
    padding: 0 7px;
    margin-top: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

#nav-map .installations-map-header h4 {
    margin: 0 20px;
    display: flex;
    align-items: center;
    color: #404852;
}

#nav-map .installations-map-header label {
    margin-right: 10px;
}

#nav-map > hr {
    margin: 0.8rem;
}

#nav-map div.map-select-container {
    height: 26px;
    margin-right: 15px;
}

/* Estilos para gestores */
#tableClients tbody.tbody-client td {
    padding-top: 3%;
    text-align: center;
}

/* Estilos para SCADA */
.scada-subtitle {
    flex-direction: row;
    margin-left: 15px;
    width: 50%;
    position: relative;
    top: 15px;
}

.scada-subtitle > div {
    position: absolute;
}

.scada-buttons {
    flex-direction: row-reverse;
    margin-bottom: 20px;
    margin-right: 5px;
    width: 50%;
}

.scada-buttons > #save-status {
    padding-top: 3px;
    margin-right: 30px;
}

.scada-frame {
    min-width: 200px;
    min-height: 200px;
    border: 2px solid #0D0A0A;
    position: relative;
    max-height: 60vh;
    margin: auto;
}

.scada-frame > .scada-background {
    width: 100%;
    height: 100%;
    position: absolute;
}

.scada-tables-footer {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

.scada-points-table {
    background: white;
    overflow: auto;
}

.scada-table-container {
    flex-grow: 1;
    padding: 10px;
    max-width: 50%;
}

div#scada-points-container {
    position: relative;
    height: 100%;
}

div.fullscreen-scada div#scada-points-container {
    position: absolute;
}

div.fullscreen-scada {
    max-height: 100vh;
    max-width: 100vw;
    margin: auto;
}

div.fullscreen-scada > * {
    max-width: 98vw;
    max-height: 98vh;
}

div.fullscreen-scada > img {
    flex-grow: 1;
}

#popup-remove-list > div {
    display: flex;
    margin: 5px;
}

#popup-remove-list > div > label {
    margin-left: auto;
    margin-bottom: 0;
    margin-right: 30px;
    flex: 2;
    text-align: end;
}

#popup-remove-list {
    max-height: 50vh;
    overflow: auto;
}

#popup-remove-list > div > div {
    flex: 1;
}

span.punto_redondo {
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

span.punto_redondo.exterior {
    height: 12px;
    width: 12px;
    background-color: #f0f0f0;
}

span.punto_redondo.interior {
    height: 12px;
    width: 12px;
    top: -21px;
    left: 1px;
    background-color: #4fb0ce;
    border: 2px #f0f0f0 solid;
}

div.texto_puntos {
    display: inline-block;
    width: auto;
    color: #0d0d0d;
    background-color: #f0f0f0;
    border-radius: 8px;
    position: relative;
    bottom: 22px;
    border: 2px #4fb0ce solid;
    right: 2px;
    font-size: 10px;
    overflow: hidden;
    padding-bottom: 5px;
    cursor: default;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

div.texto_puntos:hover {
    z-index: 6000;
}

.point-status-content .point-status-header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    margin-bottom: 5px;
    height: 30px;
    max-height: 0;
}

.point-status-header:hover {
    max-height: unset;
}

.reception-time {
    padding-top: 5px;
    display: none;
    color: #7c7c7c;
    margin: 5px;
}

.point-status-content .point-status-header button {
    padding: 0;
}

.point-status-content .point-status-header button > span {
    padding: 1px 2px;
}

div.simple-grid {
    margin: 8px;
    height: auto;
    width: auto;
}

div.simple-grid > div {
    font-size: 11px;
    text-align: center;
    width: auto;
    white-space: nowrap;
}

div.device-point {
    position: absolute;
    width: 15px;
    height: 15px;
}

div.point-grabber {
    position: relative;
    z-index: 5;
    cursor: pointer;
}

/*Estilos Para Dispositivos*/

#main-row-1 {
    width: 15%;
}

#main-row-2 {
    width: 19%;
}

#main-row-3 {
    width: 19%;
}

#main-row-4 {
    width: 38%;
}

#sec-row-1 {
    width: 35%;
}

#sec-row-2 {
    width: 60%;
}

#sec-row-3 {
    width: 10%;
}

#sec-row-1-bin {
    width: 35%;
}

#sec-row-2-bin {
    width: 35%;
}

#sec-row-3-bin {
    width: 25%;
}

.device-img {
    width: 30%;
}

#zoomBut {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px;
    z-index: 400;
}

.card.device-card {
    margin-top: 2%;
    padding: 0.5% 0.5%;
    border-radius: 20px;
    width: 100%;
}

.card.device-card-main {
    margin-top: 2%;
    padding: 0.5% 0.5%;
    border-radius: 20px;
    width: 100%;
}

#alerts-map-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: 340px;
    height: 200px;
}

.column-table {
    width: 36%;
}

.row-filters {
    width: 100%;
    margin: 0 5% 0 0;
}

.row-filters-map {
    width: 60%;
    margin: 0 5% 0 0;
}

.row-no-access {
    margin: 0;
    min-height: 300px;

}

.text-no-access {
    height: 12px;
    margin: auto;
}

@media screen and (max-width: 1000px) {
    #alerts-map-popup {
        left: 40%;
    }
    .content-middle {
        width: 100%;
        margin: auto;
    }
}

@media screen and (max-width: 550px) {
    #alerts-map-popup {
        left: 26%;
    }
}

@media screen and (max-width: 425px) {
    #alerts-map-popup {
        left: 19%;
    }
}

.small-sensor-card {
    width: 22% !important;
    margin-right: 2%;

}

@media screen and (max-width: 1550px) {
    .small-sensor-card {
        width: 37% !important;
    }
}

@media screen and (max-width: 1400px) {
    .small-sensor-card {
        width: 47% !important;
    }
}

@media screen and (max-width: 745px) {
    .small-sensor-card {
        width: 75% !important;
    }
}

@media screen and (max-width: 490px) {
    #button-dev {
        margin-top: 3%;
    }
}

@media screen and (max-width: 450px) {
    .card.device-card {
        width: 84%;
    }
}

@media screen and (max-width: 440px) {
    .card.device-card-main {
        width: 100% !important;
    }

    .small-sensor-card {
        width: 100% !important;
    }

    .column-table {
        width: 100%;
    }

    .sec-row-2 {
        width: 100% !important;
    }

    .card.device-card {
        width: 100% !important;
    }
}


.graphic-card-small {
    width: 100%
}

.purgaMan {
    width: 47%;
    display: block;
    height: 10px;
    float: right;
    cursor: pointer;
}

.styled-table {
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 100px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    line-height: 0.5;
    background-color: #2682d7;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.connected-value {
    display: none;
}

.styled-table tbody tr {
    line-height: 0.4;
    border-bottom: thin solid #dddddd;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #2682d7;
}


.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #2682d7;
}

#fixedbutton {
    position: fixed;
    bottom: 80%;
    right: 10%;
    z-index: 650;
    width: 70px;
    height: 30px;
}

.countdown-connected {
    display: flex;
    text-align: center;
    height: 50px;
    display: none;
}

.connected-img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    display: none;
}

.bateria-img {
    width: 18px;
    height: 18px;
    margin-left: 15px;
    display: block;
}

.device-tr {
    height: 40px;
}
.device-tr > th {
    text-align: left;
    vertical-align: middle;
    overflow-wrap: break-word;
    white-space: initial;
    align-items: center;
    display: flex;
}

.vl {
    background-color: #ddcdcd;
    width: 1px;
    height: 220px;
    margin-top: 52px;
}

.vl.device {
    background-color: #ddcdcd;
    width: 1px;
    height: 278px;
    margin-top: 10px;
}

#filters_install {
    width: 40% !important;
    margin: 0;
}

#filters_dev {
    width: 60%;
    margin: 5px 0 10px 0;
}

#butAddClient {
    margin: 0;
    height: 100% !important;
    min-width: 120px;
    width: auto;
}

#butAddClient-dev {
    margin: 5px 2% 0 0 !important;
    height: 65% !important;
    width: 44%;
}

#filters_mov_dev {
    width: 40%;
}

/* PARA MIJARES */
.mijares-popup-container {
    position: fixed;
    -webkit-transform: translate(-40%, -50%);
    transform: translate(-40%, -50%);
    width: 80%;
    top: 50%;
    left: 50%;
    display: none;
}

#mijares-ports-panel {
    display: flex;
    flex-direction: row;
    padding: 0 20px;
}

#mijares-ports-panel > div {
    flex: 1;
    padding: 0 10px;
}

#mijares-ports-panel hr {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

#mijares-ports-panel .mijares-port-header {
    display: flex;
    justify-content: space-between;
}

.mijares-port-header > h4 {
    align-self: center;
    margin: 0;
}

.mijares-port-header > span.material-button {
    margin-right: 2rem;
}

.mijares-port-header {
    margin: 0;
    align-self: center;
}

.mijares-panel-bottom {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row-reverse;
    padding: 0 20px;
}

.mijares-port-editing-form {
    margin: auto;
    transform: translate(0, 25%);
    min-width: 300px;
    min-height: 500px;
    max-width: 40%;
    max-height: 500px;
    display: none;
}

.mijares-port-editing-form .form-group {
    margin-bottom: 1rem;
}

.mijares-port-editing-form .port-sensor-actions {
    display: flex;
    flex-direction: row-reverse;
    padding: 0 20px;
}

#mijares-sensor-editing .form-control {
    font-size: 12px;
}

#mijares-sensor-editing select {
    width: 80%;
}

#mijares-port-sensors {
    overflow-x: clip;
    overflow-y: auto;
    max-height: 550px;
}

#mijares-ports-buttons {
    display: flex;
    flex-direction: row-reverse;
}

#mijares-ports-buttons button.btn {
    margin-left: 15px;
}



@media screen and (max-width: 4001px) {

    .mijares-popup-container {
        -webkit-transform: translate(-45%, -50%);
        transform: translate(-45%, -50%);
        width: 80%;
    }
    .mijares-port-editing-form {
        width: 95%;
    }

}

@media screen and (max-width: 1600px) {

    .mijares-popup-container {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 80%;
    }

}

@media screen and (max-width: 1343px) {

}

@media screen and (max-width: 1000px) {

    .mijares-popup-container {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 90%;
    }
    #mijares-ports-panel {
        max-height: 200px;
        overflow: scroll;
    }
    .mijares-port-editing-form {
        margin: auto;
        -webkit-transform: translate(0, 5%);
        transform: translate(0, 5%);
        max-width: 90%;
    }
    #mijares-port-sensors {
        max-height: 200px;
        min-height: 100px;
    }
    #mijares-port-configs {
        max-height: 200px;
        overflow: scroll;
    }
}

@media screen and (max-width: 485px) {
    h4.card-title {
        width: 80%;
    }
    .mijares-popup-container {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 95%;
    }
    #mijares-ports-panel {
        display: block;
        padding: 0 20px;
        max-height: 400px;
        overflow: scroll;
    }
    .mijares-port-editing-form {
        margin: auto;
        transform: translate(0, 30%);
        max-width: 95%;
    }
    #mijares-port-sensors {
        max-height: 430px;
        min-height: 300px;
    }
}

/* FIN MIJARES */
/* SECTION INACTIVE */
.inactiveLink {
    pointer-events: none;
    cursor: default;
    opacity: 30%;
}

/* FIN INACTIVE */
.popup-sensor-selected {

}

/* SECTION GRÁFICA página */
.section-device-graph {
    width: 80%;
    margin: auto auto 5%;
}

.sensor-graph {
    padding-left: 15%;
}

.center-items {
    align-items: center;
    display: flex;
}

.text-options {
    width: 50%;
}

.switch-sensor {
    margin-left: 25%;
}

@media screen and (max-width: 4001px) {
    .switch-sensor {
        margin-left: 21%;
    }
}

@media screen and (max-width: 1343px) {
    .switch-sensor {
        margin-left: 25%;
    }
}

@media screen and (max-width: 485px) {
    .switch-sensor {
        width: 20% !important;
        margin-right: 10%;
        margin-left: -20%;
    }

    .section-sensor-graph {
        width: 30% !important;
    }

    .text-options {
        width: 100%;
    }
}

/* FIN GRÁFICA*/
@media screen and (max-width: 4001px) {
    #main-row-1 {
        width: 17%;
    }

    #main-row-2 {
        width: 30%;
        margin-left: 0%;
    }

    #main-row-3 {
        width: 23%;
        margin-left: 0%;
    }

    #main-row-4 {
        width: 31%;
    }

    #sec-row-1 {
        width: 70%;
        margin-left: 7%;
        margin-right: -2%;
    }

    .sec-row-2 {
        width: 60%;
    }

    .sec-row-2-small {
        width: 100%;
    }

    #sec-row-3 {
        width: 10%;
    }

    #sec-row-1-bin {
        width: 35%;
    }

    #sec-row-2-bin {
        width: 35%;
    }

    #sec-row-3-bin {
        width: 25%;
    }

    .device-img {
        width: 100%;
    }

    .card.device-card {
        margin-top: 2%
    }

    .vl {
        display: block;
    }

}

@media screen and (max-width: 1343px) {
    #butAddClient-dev {
        height: 85% !important;
    }
}

@media screen and (max-width: 1250px) {
    .button-map {
        width: 46%;
        margin: auto;
    }

}

@media screen and (max-width: 1000px) {
    #butAddClient-dev {
        height: 85% !important;
    }
}

@media screen and (max-width: 820px) {
    #filters_dev {
        width: 84%;
    }

    #filters_mov_dev {
        width: 100%;
    }

    .row-filters-responsive {
        width: 50%;
    }
}

@media screen and (max-width: 730px) {
    #filters_install {
        width: 50% !important;
    }
    .button-x-section {
        width: 80%;
    }
}

@media screen and (max-width: 610px) {
    #filters_install {
        width: 100% !important;
    }

    .row-filters-responsive {
        width: 40%;
    }
}

@media screen and (max-width: 571px) {
    #filters_dev {
        width: 100%;
    }
}

@media screen and (max-width: 485px) {
    #filtro {
        padding: 0 !important;
    }

    .top-row {
        height: auto;
        width: 100%;
    }

    .row-filters {
        width: 100%;
        margin: auto;
    }

    .section-filter {
        flex-wrap: wrap;
    }

    .section-button {
        width: 100%;
        padding-top: 2%;
    }

    .section-button > .btn {
        width: 100%;
        margin: 1%;
    }

    .section-filter > .btn {
        width: 100%;
        margin: 3%;
    }

    .container-map {
        margin-left: 0.7%;
        width: 100%;
        height: 700px;
    }

    .container-map > .map-info {
        padding-top: 1%;
        height: 50%;
        width: 100%;
    }

    .container-map > .map-text {

    }

    .container-map > .map {
        height: 50%;
        margin-top: 3%;
        width: 100%;
        border: #7ACAFF solid 2px;
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}


/* On screens that are 400px wide or less, make the rows stack on top of each other instead of next to each other */
@media screen and (max-width: 1100px) {

    #main-row-1 {
        width: 100%;
    }

    #main-row-2 {
        width: 100%;
        margin-left: 3%;
    }

    #main-row-3 {
        width: 100%;
        margin-left: 3%;
    }

    #main-row-4 {
        width: 98%;
    }

    #sec-row-1 {
        width: 100%;
    }

    #sec-row-2 {
        width: 100%;
    }

    #sec-row-3 {
        width: 100%;
    }

    #sec-row-1-bin {
        width: 100%;
    }

    #sec-row-2-bin {
        width: 100%;
    }

    #sec-row-3-bin {
        width: 100%;
    }

    .device-img {
        width: 100%;
    }

    .card.device-card {
        margin-top: 10%
    }

    .vl {
        display: none;
    }

}


@media screen and (max-width: 850px) {
    .card.internal-card.main-card {
        width: 30% !important;
    }
}

@media screen and (max-width: 550px) {
    .card.internal-card.main-card {
        width: 40% !important;
    }
}

/* device not found */
.content-not-found {
    min-height: 300px;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

.not-found-text {
    padding-left: 2%;
    margin: auto;
    width: 40%;
    display: grid;
    font-size: 15px;
}

.not-found-image {
    min-width: 200px;
    width: 30%;
    color: #007bff;
    margin: 5%;
}

.not-found-icon {
    align-items: center;
    display: flex;
    max-height: 25px;
    margin-bottom: 2%;
}

.not-found-no-ico {
    align-items: center;
    display: flex;
    max-height: 25px;
    margin-bottom: 2%;
    padding-left: 12%;
}

@media screen and (min-width: 1700px) {
    .not-found-text {
        font-size: 20px;
    }

    .not-found-image {
        width: auto;
    }

    .not-found-text {
        padding-left: 0;
    }

    .not-found-no-ico {
        padding-left: 8%;
    }
}

@media screen and (max-width: 550px) {
    .content-not-found {
        display: block;

    }

    .not-found-text {
        width: 80%;
        margin: 10%;

    }

    .not-found-image {
        margin: auto;
        padding-top: 5%;
    }

    .not-found-icon {
        padding-top: 2%;
        min-height: 50px;
    }

    .not-found-no-ico {
        padding-top: 2%;
        min-height: 50px;
        padding-left: 14%;
    }

    .not-found-last-text {
        padding-top: 5%;
    }
}

/* OpenStreetMaps */
div.leaflet-bottom.leaflet-right {
    display: none;
}


.search-and-create-section {
    display: flex;
    align-items: center;
}

.create-incident {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.create-incident:hover {
    background-color: #0056b3;
}

@media screen and (max-width: 850px) {
    .center-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around; /* Distribuye los botones uniformemente */
        gap: 2px; /* Espacio entre los botones */
    }
    .center-buttons .btn {
        flex: 1 1 auto; /* Permite que los botones se estiren y encogan según el espacio disponible */
        margin: 2px; /* Espaciado entre botones */
        min-width: 150px; /* Ancho mínimo para los botones */
        max-width: 100%; /* Asegura que los botones no sean más anchos que el contenedor */
        text-align: center; /* Centra el texto dentro de los botones */
    }
    .center-buttons-title {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 2px;
    }
    .center-buttons-title .btn {
        flex: 1 1 auto;
        margin: 2px;
        min-width: 150px;
        max-width: 100%;
        text-align: center;
    }
    #button-preventivos-end {
        max-width: 25px;
    }
}

.filter-popup {
    background-color: #fff;
    display: flex;
    align-items: center;
    padding-left: 5px;
    border-radius: 4px;
}

.input-group-prepend {
    background: #ffffff;
    color: #c9c8c8;
    width: auto;
    border: none;
    display: flex;
    align-items: center;
}

.filter-popup input[type="text"] {
    border: none;
    width: calc(100% - 30px);
    padding: 5px;
}

.material-icons {
    cursor: pointer;
    font-size: 18px;
}

.select2-container--open {
    z-index: 99999;
}

/* === Campo condicional controlador === */
.conditional-controller {
    position: relative;
    background: #f8fbff;
    border-left: 3px solid #0d6efd;
    border-radius: 6px;
    padding: 10px 15px;
    margin: 10px 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.conditional-controller:hover {
    background: #f3f8ff;
    border-left-color: #0b5ed7;
}

.conditional-controller label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.conditional-controller .conditional-label {
    background: #e7f1ff;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
}

.conditional-label{
    opacity: 0.5;
}

/* === Campo hijo (dependiente) === */
.conditional-child {
    position: relative;
    margin-left: 25px !important;
    border-left: 2px dashed #cfd8e3;
    border-radius: 6px;
    padding: 10px 15px;
    background: #f6f7f9;
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.conditional-child label {
    color: #6c757d;
    font-weight: 500;
}

/* === Cuando se activa (condición cumplida) === */
.conditional-child.active {
    background: #ffffff;
    border-left: 2px solid rgba(13, 110, 253, 0.53);
    opacity: 1;
    pointer-events: all;
    box-shadow: inset 0 0 0 1px #e8f0ff;
}

.conditional-child.active label {
    font-weight: 600;
}

/* === Efecto visual sutil al activarse === */
.conditional-child.active input,
.conditional-child.active select {
    animation: fadeInField 0.25s ease;
}

@keyframes fadeInField {
    from {
        background-color: #e7f1ff;
    }
    to {
        background-color: #fff;
    }
}

/*
.conditional-controller:hover::after {
    content: attr(data-cond-operator) " " attr(data-cond-value);
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #6c757d;
    background: #f1f5ff;
    border-radius: 4px;
    padding: 2px 6px;
}*/

/* Hijos condicionales desactivados */
.conditional-child {
    opacity: 1;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    max-height: 200px;
    overflow: hidden;
}

/* Cuando se ocultan */
.hidden-child {
    opacity: 0;
    max-height: 0;
    pointer-events: none;
    margin: 0;
    padding: 0;
}
