p.vcenter {
    margin-left: 10%; 
    margin-top: 5%
}
.hidden { display:none !important; }
.bold { font-weight:bold !important; }
.clear { clear:both; float:none; }
.red { color:#e00 !important; }
.green { color:green; }
.white { color:#fff; }
.link:hover { cursor:pointer; }
.nolink { cursor:default !important; }
.required { color:#e00; }
.fleft { float: left; }
.fright { float: right; }
.nopd-ud { padding:10px 0px 10px 20px !important; }
.m-t--15 { margin-top: -15px !important; }
.no_hover:hover { color: #000 !important; }

.noblock { display: unset !important; }

ul.list {
    list-style-type: disc;
    padding-left: 2em;
}

.h-p100 {
    height: 100% !important;
}

.bck_color {
    background-color:#FFFFFF;
}

.blselect2 .select2-container{
    margin:20px 0px 0px 0px !important;
}

.btn-primary:not([disabled]):not(.disabled).active, .btn-primary:not([disabled]):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    border-color: #E64135;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor:default !important;
}

.fa-info-circle.info {
    color: #00bcd4
}

.fa-info-circle.important {
    color: #e00
}

.btn-purple {
  background-color: #536dfe;
  border-color: #536dfe;
  color: #fff;
  cursor: pointer;
  -webkit-transition: all ease-in 0.3s;
  transition: all ease-in 0.3s;
}

.btn-purple .badge {
    color: #536dfe;
    background-color: #fff;
}

/*
.card.blsc {
    background-image: url("../images/solarview/background.png");
}
*/

.wicon {
    display: flex;
    justify-content: center; /* Centra horizontalmente el contenedor de iconos */
    align-items: center;    /* Centra verticalmente el contenedor de iconos */
    width: 100%; /* Ocupa todo el ancho disponible del padre */
    height: auto; /* La altura se ajusta al contenido */
    min-height: 150px; /* Opcional: establece una altura mínima */
}

.icon-container {
  position: relative;
  text-align:center;
}

.icon-base {
  position: relative;
}

.icon-state {
    position: absolute;
    bottom: -0.5em; 
    right: -0.5em; 
    font-size: 2.5em; 
}

@media screen and (max-width: 600px) {
    div.blweather {
        display:none !important;
    }
    .m-t-45 {
        margin-top:15px !important;
    }
    .solar_prod, .net_prod {
        margin-top:25px !important;
    }
}

@media only screen and (min-width: 800px) and (max-width: 2400px) {
    .m-t-160 {
        margin-top:160px !important;
    }
    .m-t-45 {
        margin-top:45px !important;
    }
}

@media only screen and (max-width: 799px) {
    .m-t-160 {
        margin-top:50px !important;
    }
    .m-t-45 {
        margin-top:25px !important;
    }
}

.mb-3 {
    margin-bottom: 1rem !important;
}
  
.h-40 { height: 40px !important; }

.f-10 { font-size:10px !important; }
.f-12 { font-size:12px !important; }
.f-14 { font-size:14px !important; }
.f-18 { font-size:18px !important; }
.f-22 { font-size:22px !important; }
.f-140 { font-size:140px !important; }
.hfix-280 { height:280px !important; }
.hfix-230 { height:230px !important; }
.max-h300 { max-height: 300px !important; }
.min-h300 { min-height: 300px !important; }

.rounded10 {
    border-radius: 10px;
}

.bg-img {
    position: relative;
    border-bottom: none;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    background-position: center center;
}

.login.input-group-addon {
    font-weight: 300;
    padding: 0.425rem 0.75rem;
    border: 1px solid #86a4c3;
    line-height: 1.25;
    color: #172b4c;
    text-align: center;
    margin-bottom: 0;
    font-size: 1.15rem;
}

.btn-excel { 
    border-radius: 4px !important; 
    font-size: 10px;
    padding: 0.5em 1em;
}

.np { padding:0 !important; }

.form-material .fix-label {
    /*pointer-events: none;*/
    position: absolute;
    top: -10px;
    left: 0;
    /*font-size: 12px;*/
    font-weight: 400;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.form-material .form-control {
    margin-top:5px;
}

.f-8 { font-size:8px !important; }
.f-12 { font-size:12px !important; }
.f-18 { font-size:18px !important; }

.mg-l-10 { margin-left:10px !important; }

.noshow { display:none !important; }

.btn-rounded {
    width: 35px;
    padding:5px;
    border-radius: 25px;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width:100% !important;
}

/* ChartJS */
.chart_dash {
    display:block;
    width:100% !important;
    margin-top:20px;
}

.graph1, .graph2, .graph3, .graph4 {
    margin:0 auto;
    width:500px !important;
    margin-top:20px;
}

.myselector-toggle {
    position: relative;
}

.myselector-toggle > a.op1 {
    position: absolute;
    top: 50px;
    width: 60px;
    height: 60px;
    display: block;
    cursor: pointer;
    text-align: center;
    background: #E64135;
    color: #fff;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
            box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    padding: 14px 10px;
}

.myselector-toggle > a.dash:before {
    font-family: 'themify';
    font-size: 20px;
    content: "\e6ba";
    position: relative;
    float: left;
    left: 13px;
    line-height: 35px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
}

.myselector-toggle > a.op2 {
    position: absolute;
    top: 120px;
    width: 60px;
    height: 60px;
    display: block;
    cursor: pointer;
    text-align: center;
    background: #E64135;
    color: #fff;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
            box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    padding: 14px 10px;
}

.myselector-toggle > a.loc:before {
    font-family: 'themify';
    font-size: 20px;
    content: "\e690";
    position: relative;
    float: left;
    left: 13px;
    line-height: 35px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
}

.myselector-toggle > a.op3 {
    position: absolute;
    top: 190px;
    width: 60px;
    height: 60px;
    display: block;
    cursor: pointer;
    text-align: center;
    background: #E64135;
    color: #fff;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
            box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    padding: 14px 10px;
}

.myselector-toggle > a.wid:before {
    font-family: 'themify';
    font-size: 20px;
    content: "\e60f";
    position: relative;
    float: left;
    left: 13px;
    line-height: 35px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-animation: mymove 1.3s infinite linear;
            animation: mymove 1.3s infinite linear;
}

/*
.myselector-toggle > a.sca:before {
    font-family: 'themify';
    font-size: 20px;
    content: "\e6dd";
    position: relative;
    float: left;
    left: 13px;
    line-height: 35px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
}
*/

.myselector-toggle > a.tac:before {
    font-family: 'themify';
    font-size: 24px;
    content: "\e6aa";
    position: relative;
    float: left;
    left: 13px;
    line-height: 35px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
}

.myselector-toggle > a , .pcoded[vertical-placement="left"] .myselector-toggle > a {
    left: -80px;
    border-right: 0;
    border-radius: 50% 0 0 50%;
}

/**
AI Selector
*/
.aiselector .selector-toggle > .btn-ai {
    position: absolute;
    top: 150px;
    width: 60px;
    height: 60px;
    display: block;
    left: -80px;
    border-right: 0;
    border-radius: 50% 0 0 50%;
    border: 1px solid  #E64135;
    cursor: pointer;
    text-align: center;
    background: #FFF;
    color: #fff;
    padding: 5px 0 0 0;
}

.aiselector .selector-toggle > .ai {
    top: 220px;
}

.aiselector .selector-toggle > .btn-ai.nobefore:before {
    content: "";
    display:none;
}


.aiselector .nav-tabs .nav-item {
  width: calc(100% / 3) !important;
  margin: 0;
  padding: 0;
  float: left;
}
.aiselector .nav-tabs .nav-item a {
  color: #37474f;
  text-align: center;
  font-weight: 500;
  font-size: 13px;
  padding: 0.66rem 1rem;
  border-radius: 2px;
  border: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.aiselector .nav-tabs .nav-item a.active {
  color: #000 !important;
  background: #FFF !important;
}

.selector-toggle > a.ai:before {
    font-family: 'themify';
    font-size: 20px;
    content: "\e717";
    position: relative;
    float: left;
    left: 13px;
    line-height: 35px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-animation: none !important;
          animation: none !important;
}

.open .selector-toggle > a.ai:before {
  font-family: 'themify';
  font-size: 20px;
  content: "\e646";
  position: relative;
  float: left;
  left: 13px;
  line-height: 35px;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-animation: mymove 0s infinite linear;
          animation: mymove 0s infinite linear;
}
 
.tooltip-inner {
    min-width: 60px;
    max-width: 400px;
    text-align:left;
}

/** Header  */
.header_search {
    width:300px;
    padding-top:5px;
}

/**  =====================
      Select-2 css start
==========================  **/
/* 1. Contenedor principal: Altura fija y scroll vertical si sobrepasa la 1ª fila */
.select2-container .select2-selection--multiple {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 3px 5px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* 2. Lista contenedora: comportamiento de bloque fluido */
.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block !important; /* Importante para que las etiquetas fluyan libremente a lo ancho */
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 3. Etiqueta (Chip): de tipo inline-flex para ir una al lado de la otra */
.select2-container .select2-selection--multiple .select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    height: 26px !important;
    margin: 2px 4px 2px 0 !important; /* Margen horizontal entre etiquetas */
    padding: 0 8px !important;
    float: left !important; /* Fuerza a pegarse a la izquierda */
    box-sizing: border-box !important;
}

/* 4. Corrección de la "X" */
.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    position: static !important;
    margin-right: 5px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    line-height: 1 !important;
    float: none !important;
    display: inline-block !important;
}

/* 5. Input de búsqueda: Evita que el buscador ocupe toda la fila */
.select2-container .select2-selection--multiple .select2-search--inline {
    float: left !important;
    margin: 2px 0 !important;
    display: inline-block !important;
}

.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin: 0 !important;
    height: 26px !important;
    width: auto !important; /* Previene que tome el 100% de ancho */
}
.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin: 0 !important;
    height: 26px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #E64135;
    border: 1px solid #E64135;
    padding: 5px 15px;
    color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice span {
    color: #fff;
}

/*
.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin: 0 !important;
    height: 26px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #E64135;
    border: 1px solid #E64135;
    padding: 5px 15px;
    color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice span {
    color: #fff;
}
*/

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: #E64135;
    border:none;
    padding-top:5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: #E64135;
    color: #000;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #E64135;
}


.login-block .auth-box {
    margin: 40px auto 0 auto;
}

.header-navbar .navbar-wrapper .navbar-container .header-notification .show-notification, .header-navbar .navbar-wrapper .navbar-container .header-notification .profile-notification {
    width: 12rem !important;
}

.page-header .page-block {
    padding: 10px 40px 15px 10px !important;
}

.circular--landscape {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
    line-height: 0 !important;
    margin-top:10px;
    margin-bottom:-10px;
}

.show-notification .circular--landscape {
    margin-top:0px !important;
}

.circular--landscape img {
    width: 30px !important;
    height: 100%;
    /*margin-left: -50px;*/
}

.media-body {
    margin-left:10px;
    padding-top:3px;
}

/* Monitorizacion 
#selection { margin:10px 0; }
.selection { height:16px; width:auto; display:inline; margin:5px 25px 5px 0; font-size:10px; }
 #graph { margin:10px 5px 5px 10px; border:1px solid #000; width:100%; }
*/
   

/* Quitar el fondo amarillo del autocompletado */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    -webkit-text-fill-color: #000;
}

.btn i {
    margin-right: 0px !important;
    padding-top: 2px !important;
}

/* DateTime Picker */
.collapse.in { display:block; }
.collapse, .collapse.hide { display:none; }

.input-group.datetimepicker {
    position: relative;
    display: table;
    border-collapse: separate;
    margin-bottom: 0px;
}
.input-group.datetimepicker .form-control {
    position: relative;
    z-index: 2;
    float: left;
    margin-bottom: 0;
}
.input-group.datetimepicker .input-group-addon, .datetimepicker .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}
.input-group.datetimepicker .form-control, .datetimepicker .input-group-addon, .datetimepicker .input-group-btn {
    display: table-cell;
}

.bootstrap-datetimepicker-widget table td, .bootstrap-datetimepicker-widget table th {
    white-space: inherit !important;
}

.preloader3 {
    height:50px !important;
}

/* Bootstrap tags input */
.bootstrap-tagsinput {
    width: 100%;
    border: 1px solid #ccc;
    margin-top:10px;
}

.bootstrap-tagsinput .label {
    font-size:100% !important;
    text-transform: none !important;
}

.bootstrap-tagsinput .label-info {
    background: #E64135;
}


.form-material .float-fixed {
    pointer-events: none;
    position: absolute;
    top: -16px;
    left: 0;
    font-size: 12px;
    font-weight: 400;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.tm20 { top:-20px !important; }

#accordion ul {
    list-style-type: disc; 
    list-style: initial;
    margin: initial;
    padding: 0 0 0 40px; 
}
#accordion ol {
    list-style-type: decimal; 
    list-style: initial;
    margin: initial;
    padding: 0 0 0 40px;
}

/* Google Maps modal */
.pac-container {
    /* put Google geocomplete list on top of Bootstrap modal */
    z-index: 9999;
}
.map_popup #map { width:100%; height: 300px; }


/******************
Datatables Styles 
******************/

div.dt-scroll-body {
  border-bottom-style: none !important;
}

div.dt-container div.search,
div.dt-container div.dt-length,
div.dt-container div.dt-buttons {
  float: left;
  margin-bottom: 5px;
  margin-right: 1em;
}

div.dt-container div.dt-length {
  padding: 2px 0 0 30px;
}

div.dt-container div.dt-search {
  float: right;
  padding: 0 0 5px 0;
}

div.dt-container div.dt-search input {
    margin-top: 0px !important;
    height:25px;
}

div.dt-container div.dt-info {
  padding:10px 10px 10px 0;
  float:left;
}

div.dt-container div.dt-paging ul.pagination {
  margin: 2px 0;
  float: right;
  padding:10px 0px 10px 0;
}

div.dt-container .pagination .dt-paging-button button {
    background-color: #E64135;
    border-color: #E64135;
    color: #fff;
    line-height: 20px;
    padding: 5px 10px;
    border:1px solid #E64135;
}

div.dt-container .pagination .dt-paging-button button .page-link {
    border:1px solid #E64135 !important; 
}

div.dt-container .pagination .dt-paging-button.disabled button {
    background-color: #fff;
    color: #999;
    border:1px solid #999;
}

/*
div.dt-container .pagination .dt-paging-button button.paginate_button current
div.dt-container .pagination .dt-paging-button button:active,
div.dt-container .pagination .dt-paging-button button:focus,
div.dt-container .pagination .dt-paging-button button:selected,
div.dt-container .pagination .dt-paging-button button:current {
    color: #green !important;
}
*/

.page-link:active,
.page-link:focus,
.page-link:selected,
.page-link:current {
    color: #green !important;
}

div.dt-container .pagination .dt-paging-button button:hover {
    background-color: #C93732;
}

/*
div.dt-container .pagination .dt-paging-button.active button {
    background-color: #E64135;
    color: #fff;
    border-color: #E64135;
    border:1px solid #999;
}
*/

div.dt-processing>div:last-child>div {
  background: #E64135 !important;
}

.dt-center {
  text-align: center;
  vertical-align: middle;
}

.buttons-html5, .buttons-collection, .btn-custom {
    font-size: 10px;
    background-color: #E64135;
    border-color: #E64135;
    margin-right: 0.333em !important;
}

.buttons-html5:hover, .buttons-html5:active, buttons-collection:hover, .buttons-collection:active, .btn-custom:hover, .btn-custom:active {
    background-color: #C93732;
    border-color: #C93732;
}

.dropdown-menu.dt-button-collection {
    border: 1px solid #dee2e6 !important;
}

.dropdown-menu.dt-button-collection a {
    background-color: #fff !important;
    color: #000;
}

.dt-info {
    padding:10px;
}





/* OLD */

.dataTables_wrapper div.dataTables_length {
    float:left !important;
    margin-left:20px !important;
}

.dataTables_wrapper div.dataTables_length select {
    width:100px !important;
    height:40px;
}

.dataTables_processing {
    color: #FFFFFF;
    background: #E64135;
}

.form-datatables {
    font-size: 14px;
    border-radius: 2px;
    border: 1px solid #cccccc;
    padding: 5px;
    border-radius: 10px 
}

.table-responsive .page-item a {
    position:static !important; 
}


/* Datatables center column */
th.dt-center, td.dt-center { text-align: center; }

th.dt-right, td.dt-right { text-align: right; }

.neworders { display:none; }
 
.advise_graph {
    font-size:18px;
    margin:20px;
    padding:20px;
    font-weight:bold;
}


#details td,
#details th {
  white-space: normal !important;
}

/* Size modal */
@media (min-width: 992px) {
	.modal-lg {
		max-width: 1000px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.modal-lg {
		max-width: 650px;
	}
}

@media (max-width: 475px) {
	.modal-lg {
		max-width: 650px;
	}
}

/* Style for searchable multi-select */
.form-control-2 {
    font-size: 14px;
    border-radius: 2px;
    border: 1px solid #cccccc;
    width:100%;
    margin-bottom:10px;
}

/* fileuploader */
.fileuploader-theme-dragdrop .fileuploader-input {
    display: block;
    padding: 60px 0;
    background: #fff;
    border: 2px dashed #c2cdda;
    border-radius: 14px;
    text-align: center;
}

.fileuploader-theme-dragdrop .fileuploader-input .fileuploader-icon-main {
    display: block;
    font-size: 56px;
	margin: 0 auto;
	margin-bottom: 26px;
}
.fileuploader-theme-dragdrop .fileuploader-input h3 {
    margin: 0;
    margin-bottom: 8px;
    padding: 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #5B5B7B;
    white-space: normal;
    box-shadow: none;
}
.fileuploader-theme-dragdrop .fileuploader-input p {
    margin: 0;
    padding: 0;
    color: #90a0bc;
    margin-bottom: 12px;
}

/* dragging state */
.fileuploader-theme-dragdrop .fileuploader-input .fileuploader-input-inner > * {
    -webkit-transition: 500ms cubic-bezier(0.17, 0.67, 0, 1.01);
            transition: 500ms cubic-bezier(0.17, 0.67, 0, 1.01);
}
.fileuploader-theme-dragdrop .fileuploader-input.fileuploader-dragging .fileuploader-input-inner > * {
	transform: translateY(18px);
	opacity: 0;
}
.fileuploader-theme-dragdrop .fileuploader-input.fileuploader-dragging .fileuploader-icon-main {
    transform: translateY(30px) scale(1.2);
	opacity: 0.6;
}
.fileuploader-theme-dragdrop .fileuploader-input.fileuploader-dragging .fileuploader-input-caption {
    transform: translateY(30px);
	opacity: 0.6;
}

.fileuploader-input .fileuploader-input-caption {
    background-color: #fff;
    border-color: #fff;
    color: #E64135;
    cursor: pointer;
    -webkit-transition: all ease-in 0.3s;
    transition: all ease-in 0.3s;
}

.fileuploader-input .fileuploader-input-button {
    background: #E64135;
    border-color: #E64135;
    color: #fff;
}

/* typehead */
#scrollable-dropdown-menu .tt-menu {
    max-height: 250px;
    overflow-y: auto;
}

.twitter-typeahead {
    display:block !important;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
  
.tt-hint {
    color: #999
}
  
.tt-menu {
    width: 100%;
    margin: 12px 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
            border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
            box-shadow: 0 5px 10px rgba(0,0,0,.2);
}
  
.tt-suggestion {
    padding: 3px 20px;
    font-size: 16px;
    line-height: 24px;
}
  
.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0764ff;
}
  
.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0764ff;
  
}
  
.tt-suggestion p {
    margin: 0;
}

.tt-highlight {
    font-weight: bold;
}

.mypcoded {
    width: 300px !important;
    position: relative !important;
    top: 0px !important;
    height: 600px !important;
}

.mypcoded .pcoded-item > li > a > .pcoded-micon {
    width: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
}

.table-styling .table-primary, .table-styling.table-primary {
    border: 0px !important;
}

.table-primary, .table-primary > td, .table-primary > th {
    background-color: #5738FF;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #E6EAEC !important;
}

/* Bar Buttons */
.topcoat-button-bar__item > input {
    border: 0;
      clip: rect(0 0 0 0);
      height: 2rem;
      margin: 0 -2rem -2rem 0;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: auto;
    opacity: 0.001;
}

.button-bar,
.topcoat-button-bar {
    display: table;
    table-layout: fixed;
    white-space: no-wrap;
    margin: 0;
    padding: 0;
}

.topcoat-button-bar__item {
    display: table-cell;
    width: auto;
    border-radius: 0;
}

.topcoat-button-bar > .topcoat-button-bar__item:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.topcoat-button-bar > .topcoat-button-bar__item:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.topcoat-button-bar__item:first-child > .topcoat-button-bar__button {
    border-right: none;
}

.topcoat-button-bar__item:last-child > .topcoat-button-bar__button {
    border-left: none;
}

.button,
.topcoat-button-bar__button {
    position: relative;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    background-clip: padding-box;
    color: inherit;
    vertical-align: top;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: inherit;
    cursor: default;
    user-select: none;
}

.topcoat-button-bar__button {
    padding: 0 0.5rem;
    border: 1px solid #a5a8a8;
    /* Important inheritance to manipulate border radius from parent */
    border-radius: inherit;
    -webkit-box-shadow: inset 0 1px #fff;
    box-shadow: inset 0 1px #fff;
    color: #454545;
    text-shadow: 0 1px #fff;
    line-height: 2rem;
}

:checked + .topcoat-button-bar__button,
.topcoat-button-bar__button:active,
.topcoat-button-bar__button.is-active {
    background-color: #d3d7d7;
    -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
    box-shadow: inset 0 1px rgba(0,0,0,0.12);
}

.topcoat-button-bar__item:disabled,
.topcoat-button-bar__item.is-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.topcoat-button-bar__button.selected {
    background-color: #E64135;
    color: #FFFFFF;
    z-index: 1;
}

.btngr.selected {
    background-color: #E64135;
    color: #FFFFFF !important;
}

.solar_prod {
    margin-top:95px;
    font-size:22px;
    color: #24C737;
}

.net_prod {
    margin-top:95px;
    font-size:22px;
    color: gray;
}

.sur_prod {
    margin-top:95px;
    font-size:22px;
    color: #E64135;
}

.color_netconsumption {
    color: #E64135;
}

.dem_prod {
    font-size:22px;
    color: gray;
}
  
/* CKEDITOR 5 LISTS */
.ck.ck-content ul,
.ck.ck-content ul li{
  list-style-type: inherit;
}

.ck.ck-content ul {
  /* Default user agent stylesheet, you can change it to your needs. */
  padding-left: 40px;
}

.ckeditor {
    border: 1px solid var(--ck-color-base-border);
    border-radius: var(--ck-border-radius);
    box-shadow: 2px 2px 0px hsla( 0, 0%, 0%, 0.1 );
    padding: 1em;
}

.ckeditor .ck.ck-editor__editable_inline {
    border: 1px solid hsla( 0, 0%, 0%, 0.15 );
    transition: background .5s ease-out;
    min-height: 20em;
    margin-bottom: 1em;
}

.ckeditor__controls {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ckeditor__chart {
    margin-right: 1em;
}

.ckeditor__chart__circle {
    transform: rotate(-90deg);
    transform-origin: center;
}

.ckeditor__chart__characters {
    font-size: 13px;
    font-weight: bold;
}

.ckeditor__words {
    flex-grow: 1;
    opacity: .5;
}

.ckeditor__limit-close .ckeditor__chart__circle {
    stroke: hsl( 30, 100%, 52% );
}

.ckeditor__limit-exceeded .ck.ck-editor__editable_inline {
    background: hsl( 0, 100%, 97% );
}

.ckeditor__limit-exceeded .ckeditor__chart__circle {
    stroke: hsl( 0, 100%, 52% );
}

.ckeditor__limit-exceeded .ckeditor__chart__characters {
    fill: hsl( 0, 100%, 52% );
}

/* Flags */
.dd-select {
    width: 100% !important;
}
.dd-selected {
    padding:5px 10px 0px 10px !important;
    background-color: #FFF;
    
}
.dd-option-image, .dd-selected-image {
    max-width:24px !important;
}
.dd-option-text, .dd-selected-text {
    line-height: 22px !important;
    font-weight: normal !important;
    font-size: 14px !important;
    color: #495057;
}

/* WHATSAPP */
#chat-box-body #chat-whatsapp {
  position: fixed;
  bottom: -30px;
  right: 80px;
  cursor: pointer;
  transform: scale(1);
}

#chat-box-body.show .chat-box {
  display: block; 
}

#chat-box-body.show #chat-whatsapp {
  z-index: 0;
  transform: scale(0); 
}

.blwhatsapp {
  position: relative;
  margin-top: 2rem;
  padding: 1.2rem;
  background-color: #e6e6e6;
  color: #172b4c;
  border-color: #999999;
}

.cl-whatsapp {
  position: absolute;
  left: 1.4rem;
  top: 50%;
}

.btn-whatsapp {
  background-color: #FFF;
  border-color: #424D5B;
  border-radius:50px;
}

.whatsapp {    
  background: #25d366;
  color: #FFF;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  margin: 3px 1px;
  border-radius: 30%;
}

.whatsapp-inv {
  background: #424D5B;
  color: #FFF;
  border-radius: calc(var(--s)/2);
  transform: translate(0, -50%) scale(1.2);
  display: inline;
  padding: 0.3rem 0.5rem;
  border-radius: 0.4rem;
  margin: 0;
}

.updinv .fileuploader-theme-dragdrop .fileuploader-input {
    padding:20px !important;
}

.updinv .fileuploader-theme-dragdrop .fileuploader-input .fileuploader-icon-main {
    display:inline !important;
}

.updinv .fileuploader-items {
    display:none !important;
}

/* Etiquetas CEE */
.cee {
      flex-grow: 1;
      height: 20px;
      border-radius: 4px;
      color: #fff;
      font-size: 12px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
    }
.cee-A { background-color: #4CAF50; }
.cee-B { background-color: #8BC34A; }
.cee-C { background-color: #CDDC39; }
.cee-D { background-color: #FFEB3B; color: #333; }
.cee-E { background-color: #FFC107; color: #333; }
.cee-F { background-color: #FF9800; }
.cee-G { background-color: #F44336; }

/* Grid Calendar */
.mycalendar h4 {
    margin-bottom:20px;
}
.mycalendar .tabs-left {
    width:100% !important;
}
.mycalendar .md-tabs .nav-item {
    text-align:left;
}
.mycalendar .md-tabs .nav-item a {
    padding-left:10px !important;
}
.grid-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    width: 100%;
}

.grid-calendar .month {
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 12px;
}
.grid-calendar .month h2 {
    margin: 0;
    background: #E64135;
    color: white;
    padding: 5px 5px;
    font-size: 14px;
    border-radius: 4px;
}

.grid-calendar .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-top: 10px;
    text-align: center;
}
.grid-calendar .days span {
    padding: 3px;
    border: 1px solid #ddd;
    background: #fafafa;
    border-radius: 2px;
    font-size: 10px;
    display: inline-block;
}
.grid-calendar .days span {
    cursor: default;
}
.grid-calendar .days span.class_0 {
    background: #e1e5e0;
    cursor: no-drop;
}
.grid-calendar .days span.class_1 {
    background: #f52504;
    color: #ffffff;
    cursor: not-allowed;
}
.grid-calendar .days span.class_2 {
    background: #47de06;
}
.grid-calendar .days span.class_3 {
    background: #084fe8;
    color: #ffffff;
}
.legend {
    text-align:center;
}
.day_type0 {
    background: #e1e5e0;
    color: #000000 !important;
    font-size:100% !important;
}
.day_type1 {
    background: #f52504;
    color: #ffffff !important;
    font-size:100% !important;
}
.day_type2 {
    background: #47de06;
    color: #000000 !important;
    font-size:100% !important;
}
.day_type3 {
    background: #084fe8;
    color: #ffffff !important;
    font-size:100% !important;
}

/*
Scada
*/

.bck_scada {
    background-image: url("../images/scada/background.jpg");
    position: relative;
    width: 1280px;
    height: 720px;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top left;
}
.tscada th {
    font-weight:bold;
    text-align:center;
}

.tscada tr {
    padding:0px !important;
}

.tscada td {
    padding:10px 0px 0px 0px !important;
}

.tscada .btn {
    border-radius: 10px;
    padding:4px 3px 2px 3px !important;
}

.date_scada {
    font-size:14px;
    text-align:center;
}

#scada #controls {
    font-size:10px;
    border-radius: 10px;
    width: 160px;
    height: 80px;
    border: 1px solid gray;
    background: white;
    position: absolute;
    cursor: grab;
    text-align:center;
    user-select: none;
    padding:10px;
    justify-content: space-between;
    gap: 20px;
}

#scada #controls .date_scada {
    height:30px; 
}

#scada #controls .btn-mov {
    padding: 0px 10px 0px 10px;
}

#scada #controls .btn-mov:hover {
    cursor:pointer;
}

#scada .vble {
    font-size:10px;
    border-radius: 10px;
    width: 180px;
    height: 60px;
    border: 1px solid gray;
    background: white;
    position: absolute;
    cursor: grab;
    text-align:center;
    user-select: none;
    padding:5px;
    display: flex;
    justify-content: space-between;
}

#scada .draggable i {
    font-size:24px;
}

.bck_scada .blleft {
    width: 35%; 
}

.bck_scada .blright {
    padding-top:5px;
    width: 65%; 
}

/*
SRAD Telemetry
*/

.bck_telemetry {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background-image: url('../images/telemetry/background.jpg');
    background-size: cover;
    margin: 0 auto;
    color: white;
    font-family: sans-serif;
}

.data-value {
    position: absolute;
    transform: translate(-50%, -50%);
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.line-energy {
    position: absolute;
    top: 45.5%; 
    left: 36.5%; 
    width: 10.5%;
    height: 0px;
    border-top: 3px dotted rgba(255, 255, 255, 0.6);
    
    /* Rotación para la diagonal */
    transform: rotate(135deg); 
    transform-origin: left center;
    z-index: 1;
}

.dot-propulsor {
    position: absolute;
    top: -5.5px;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    animation: flujo-energia 3s linear infinite;
}

.line-solar {
  position: absolute;
  top: 45.5%;          /* Distancia desde arriba */
  left: 16.5%;         /* Distancia desde la izquierda */
  width: 10%;        /* El largo de la línea diagonal */
  height: 0px;       /* Grosor cero, el borde hace la línea */
  
  /* Rotación estimada para la diagonal Panel -> Casa */
  transform: rotate(55deg); 
  transform-origin: left center;
  
  border-top: 3px dotted rgba(255, 255, 255, 0.6);
  z-index: 1; /* Para que quede detrás o delante según desees */
}

.dot-solar {
  position: absolute;
  top: -5.5px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
  animation: flujo-energia 3s linear infinite;
}

@keyframes flujo-energia {
    0% {
        left: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Cabecera */
.telemetry-header-area {
    position: absolute;
    top: 5%;
    left: 8.6%;
    text-align: left;
}

.telemetry-datetime-container {
    position: absolute;
    top: 5%;
    right: 9%;
    text-align: right;
    font-family: 'Segoe UI', sans-serif;
    color: white;
}

#telemetry-hour {
    font-size: 1.4vw;
    font-weight: bold;
    line-height: 1;
}

#telemetry-date {
    font-size: 1.2vw;
    opacity: 0.9;
    margin-top: 5px;
}

#telemetry-solar { top: 51.5%; left: 11.3%; font-size: 1.0vw; }
#telemetry-red   { top: 51.5%; left: 40.5%; font-size: 1.0vw; }

#telemetry-rea { 
    top: 51.5%; 
    left: 59.5%;
    font-size: 1.0vw; 
}

#telemetry-vol { 
    top: 51.5%; 
    left: 73.1%;
    font-size: 1.0vw; 
}

#telemetry-sis { 
    top: 51.5%; 
    left: 86.8%;
    font-size: 1vw; 
    color: #00FFCC;
}

.telemetry-flex-container {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 81%;
    max-width: 1100px;
    padding: 3px;
    background: #D4AF37;
    border-radius: 12px;
}

#telemetry-flex {
    width: 100%;
    padding: 8px 0;
    background: #808080;
    color: white;
    text-align: center;
    border-radius: 10px;
    font-family: sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.flex-activated {
    background-color: #E63C2F !important;
    color: white !important;
    font-weight: 900 !important;
}

.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px; /* Espacio entre los puntos */
}

.loading-dots span {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.7); /* Blanco sutil */
  border-radius: 50%; /* Los hace círculos */
  display: inline-block;
  animation: pulse-dots 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes pulse-dots {
  0%, 80%, 100% { 
    transform: scale(0);
    opacity: 0.3;
  }
  40% { 
    transform: scale(1);
    opacity: 1;
    background-color: #00ffff; /* Brillo cian en el punto máximo */
  }
}

/* SRAD Installations */
.highlight-activated {
    background-color: #FCEBEA !important;
}

/* Gallery Datacenter */
#lightgallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#lightgallery .gallery-item {
    position: relative;
    display: inline-block;
}

#lightgallery .gallery-item img {
    display: block;
    max-width: 200px;
    border-radius: 8px;
}

#lightgallery .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 20px;
    text-align: center;
}

#lightgallery .caption {
    margin-top: 5px;
    font-size: 14px;
    text-align:center;
}

.bck-srad {
  background-color: #FCEBEA;
}

.text-gray {
    color: #6C757D !important;
}

.text-eprogram {
    color: #669999 !important;
}

.margin-top-hide {
    margin-top:10px;
}

@media (max-width: 992px) {
    .text-label-hide {
        display: none;
    }
    
    /* Opcional: Centrar los iconos si el texto desaparece */
    .text-right {
        text-align: right; 
    }

    .margin-top-hide {
        margin-top:0px;
    }
}

.badge-critical {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px; /* Aumentamos el relleno para dar aire a la letra grande */
    font-size: 16px;    /* Letra notablemente más grande */
    font-weight: 900;
    color: #ff4d4d;
    text-transform: uppercase;
    white-space: nowrap; /* Fuerza una sola línea */
    border: 2px solid #ff4d4d;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo más opaco para máximo contraste */
    
    /* Resplandor neón reforzado */
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.6), 
                inset 0 0 8px rgba(255, 77, 77, 0.4);
    
    letter-spacing: 1.5px;
    z-index: 10;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 77, 77, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(255, 77, 77, 0.9); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 77, 77, 0.5); }
}

/* Para que reconozca el salto de linea en el tooltip */
.tooltip-inner {
    white-space: pre-line;
    text-align: left; /* Opcional: para que los textos queden alineados a la izquierda */
}

/* Opcion 2 refresh data */
@keyframes highlight {
  0% { 
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
    filter: brightness(1);
  }
  20% { 
    text-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff;
    filter: brightness(1.5);
  }
  100% { 
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
    filter: brightness(1);
  }
}

.data-update {
  animation: highlight 1.5s ease-out;
}

/* Multiselect readonly */
.multiselect-readonly {
    pointer-events: none;
    opacity: 0.8; /* Opcional: para darle un tono sutil de bloqueo */
}