:root {
    --enchufe-primary: #e1830a; /*f49200*/
    --enchufe-primary-80: #e69c3b;
    --enchufe-primary-60: #edb56b;
    --enchufe-primary-40: #f3cd9e;
    --enchufe-primary-20: #f8e6ce;
    --enchufe-primary-10: #fcf2e6;
    --enchufe-secondary: #979899; /*9a9a9a*/
    --enchufe-secondary-80: #b0aeb1;
    --enchufe-secondary-60: #c4c2c5;
    --enchufe-secondary-40: #d7d7d7;
    --enchufe-secondary-20: #ebebeb;
    --enchufe-secondary-10: #f4f4f4;
    --enchufe-secondary-5: #f7f7f8;
    --enchufe-red: #c92f21;
    --enchufe-red-80: #d4584e;
    --enchufe-red-60: #df827a;
    --enchufe-red-40: #e9aca7;
    --enchufe-red-20: #f4d5d3;
    --enchufe-orange: #e96428;
    --enchufe-orange-80: #ed8353;
    --enchufe-orange-60: #f2a27d;
    --enchufe-orange-40: #f5c1a9;
    --enchufe-orange-20: #fbe1d4;
    --enchufe-yellow: #fabd05;
    --enchufe-yellow-80: #facb37;
    --enchufe-yellow-60: #fcd86a;
    --enchufe-yellow-40: #fce49a;
    --enchufe-yellow-20: #fef2cc;
    --enchufe-green: #abb35e;
    --enchufe-green-80: #bcc27e;
    --enchufe-green-60: #cdd19e;
    --enchufe-green-40: #dde1bf;
    --enchufe-green-20: #d4daae;

    --enchufe-text: #575756;

    --apolo-background: #DDE3E9;
    --apolo-background-90: #EEF2F7;
    --apolo-background-60: #F6F9FF;
    --apolo-background-30: #F8FAFD;

    --enchufe-lightgreen: #edeccb;
    --helios-yellow: #f6b21f;

    --enchufe-p1: #ea1819;
    --enchufe-p2: #fe6a04;
    --enchufe-p3: #ffa700;
    --enchufe-p4: #ffde83;
    --enchufe-p5: #d6db12;
    --enchufe-p6: #9ecc1d;
    --enchufe-produccion: #ffda00;
    --enchufe-consumo: #a09ca1;
    --enchufe-autoconsumo: #df8e02;
    --enchufe-carga_bateria: #0068ff;
    --enchufe-descarga_bateria: #81d3fc;
    --enchufe-excedente: #31bc2a;
    --enchufe-precio_omie: #4d64fa;
}

.bg-apolo-background{
    background-color: var(--apolo-background) !important;
}
.bg-apolo-background-90{
    background-color: var(--apolo-background-90) !important;
}
.bg-apolo-background-60{
    background-color: var(--apolo-background-60) !important;
}
.bg-apolo-background-30{
    background-color: var(--apolo-background-30) !important;
}
.bg-apolo-white{
    background-color: #fff !important;
}

.text-enchufe-primary{
    color: var(--enchufe-primary) !important;
}

.btn-sm-extra {
    padding: 0.14rem 0.55rem;
    font-size: 0.875rem;
    line-height: 1.0;
}


.mdi-20px.mdi-set,.mdi-20px.mdi:before {
    font-size: 20px
}

/*.table tbody tr td{
    padding: 0px 0px;
}
.table tbody tr td{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: inline-block;
    padding: 5px 0px;
}
.table tbody tr td.nooverflow{
    //overflow: visible;
}*/
.bg-pink {
    background-color: #de00c4 !important;
}
.text-pink {
    color: #de00c4 !important;
}
/* .card-footer{
    display: none !important;
} */
.table-responsive.table-kpis td{
    padding: 5.5px .95rem !important;
}
.table-responsive.table-kpis {
    padding-bottom: 0.55rem;
}
.table-responsive.table-kpis tbody {
    border-bottom: 1px solid #eef2f7;
}
.table td.child{
  padding:1px .15rem !important;   
}
.table td{
    padding:1px .95rem !important;
}

.table td.pl-0{
    padding-left: 0 !important;
}
.table td.pr-0{
    padding-right: 0 !important;
}
.table td.pb-0{
    padding-bottom: 0 !important;
}
.table td.pt-0{
    padding-top: 0 !important;
}
.table td.p-0{
    padding:0 !important;
}
.left-side-menu .logo{
    background-color: #fff !important;
}
.hidden{
    display: none !important;
}
.visible{
    display: block !important;
}
.tooltip {
    top: -30px !important;
}

.was-validated select.select2:invalid + .select2.select2-container.select2-container--default span.select2-selection, select.select2.is-invalid + .select2.select2-container.select2-container--default span.select2-selection {
    border-color: #fa5c7c;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fa5c7c' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23fa5c7c' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated select.select2:invalid + .select2.select2-container.select2-container--default .select2-selection__arrow, select.select2.is-invalid + .select2.select2-container.select2-container--default .select2-selection__arrow {
    right: 25px!important;
}
.was-validated select.select2:valid + .select2.select2-container.select2-container--default span.select2-selection, select.select2.is-valid + .select2.select2-container.select2-container--default span.select2-selection {
    border-color: #0acf97;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%230acf97' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated select.select2:valid + .select2.select2-container.select2-container--default .select2-selection__arrow, select.select2.is-valid + .select2.select2-container.select2-container--default .select2-selection__arrow {
    right: 25px!important;
}
.notification-list .notify-item .notify-details{
    font-size: 0.8rem;
}

.notification-list .notify-item .notify-details .text-muted{
    margin-bottom: 0;
    overflow: hidden;
    margin-left: 0px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table thead.thead-dark th {
    padding: 0.5rem;
}

div.hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
  text-align: center;
  height: 0px;
  line-height: 0px;
}

.hr-title {
  background-color: #fff;
}
.transparent{
    background-color: transparent;
}

.chart-widget-list p {
    border-bottom: 1px solid #f1f3fa;
    margin-bottom: 0.35rem;
    padding-bottom: 0.3rem;
}

.list-follow-user{
    min-width: 320px !important;
}

.form_user_notas_data input[data-switch] + label {
    width: 76px;
}

.form_user_notas_data input[data-switch]:checked + label::after {
    left: 54px;
}

.input-group > .form-control:not(:last-child),
  .input-group > .custom-select:not(:last-child) {
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 0rem; 
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
}
.input-group-prepend > .input-group-text {
    border-top-left-radius: 2rem !important;
    border-bottom-left-radius: 2rem !important;
}
.input-group-append > .input-group-text {
    border-top-right-radius: 2rem !important;
    border-bottom-right-radius: 2rem !important;
}

.avatar-sm {
    height: 2rem !important;
    width: 2rem !important;
    max-width: none !important;
}
body[data-leftbar-compact-mode="condensed"] .wrapper .left-side-menu{
    position: fixed;
}  
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
    top: 2px;
    left: -20px;
    background-color: #727cf5;
}
/*table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before:hover, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before:hover {
    background-color: #4e5bf2;
}*/
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child::before{
    background-color: #6c757d;
}
/*table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child::before:hover, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child::before:hover{
    background-color: #5a6268;
}*/
table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
}
table.dataTable > tbody > tr.child ul.dtr-details > li{
    display: block;
    float: left;
    min-width: 150px;
    width: 100%;
    max-width: 380px;
    border: 1px solid #efefef !important;
    border-radius: 5px;
    padding: 0.25em 0.25em 0 !important;
    margin: 0.25em 0.3em 0em auto;
    min-height: 50px;
}

table.dataTable > tbody > tr.child span.dtr-title{
    display: block;
    float: left;
    width: 100%;
    border-bottom: 1px solid #efefef;
    min-height: 20px;
    text-align: center;
    background-color: #efefef;
}
table.dataTable > tbody > tr.child span.dtr-data{
    display: block;
    float: left;
    width: 100%;
    padding: 0em 0.25em 0 0.25em;
    height: 35px;
}
table.dataTable > tbody > tr.child {
    background: transparent !important;
    text-align: center;
    
}
table.dataTable.dtr-inline.collapsed{
    padding-left: 1.5em;
}
table.dataTable > tbody > tr.child span.dtr-data > span{
    max-width: 290px !important;
    padding-top: 0.4em;
    width: auto !important;
}
.card-header{
    padding: 0.5em 0em 0.5em 0.5em;
}
.card-body{
    padding: 0.5em 0em 0.5em 0.5em;
}

.notification-list .noti-icon-badge {

    right: 0 !important;
    height: auto !important;
    width: auto !important;
    color: #fff !important;
}

.popover-body{
    padding: 0;
}

.select2-container--default .select2-results__option[aria-disabled="true"]{
    display: none;
}

.pull-right{
    position:absolute;
    top:0px;
    right:0px;
}
.pull-right-1{
    position:absolute;
    top:0.25em;
    right:0.25em;
}

.timeline img{
    max-width: 100% !important;
}

.tooltip{
    z-index: 199999999 !important;
}

.timeline-item #signature img{
    max-height: 200px !important;
}
#user_firm_mgs img{
    max-width: 700px !important;
}
.order{
    cursor: pointer;
}

.timeline-item pre {
    white-space: break-spaces;
}

.input-group-prepend ~ span.select2-container{
    width: calc(100% - 48px) !important;
}

.hr-title a.text-muted{
    line-height: normal;
}

.datepicker{
    z-index: 999 !important;
}

.spinner-border-small {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    vertical-align: text-bottom;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.apexcharts-point-annotations rect{
    opacity:0;
}
.apexcharts-point-annotations circle{
    opacity:0;
}
.apexcharts-point-annotations text{
    fill:#313a46;
    font-weight: bold;
    
}

/* select.custom-control{
    padding-left: 12px !important;
} */

input.custom-control,
input.select2-search__field {
    padding: 8px 12px;
}
input.custom-control,
select.custom-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
input.select2-search__field {
    min-width: 100px !important;
    background-color: white;
    /*background-color: var(--enchufe-secondary-5);*/
    /*color: var(--enchufe-secondary);*/
    border-radius: 20px;
    padding: 8px 40px 8px 20px;
    /*border: none;*/
}
.input-group-sm > .custom-control {
    border-radius: 20px;
    padding: 8px 40px 8px 20px;
}
.input-group-sm > .custom-control-sm {
    border-radius: 20px;
    padding: 5px 40px 5px 20px;
}
.suministro_alias,
.suministro_direccion {
    background-color: #fff !important;
    cursor: default !important;
}



select.custom-control,
div.dataTables_length select,
.select2-container--default .select2-selection--single,
.select2-container .select2-selection--multiple {
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.2" baseProfile="tiny" id="Capa_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 141.7 141.7" overflow="visible" xml:space="preserve"><circle fill="%23e1830a" cx="70.7" cy="70.9" r="70.9"/><g><path fill="%23FFFFFF" d="M70.7,97.2C70.6,97.2,70.6,97.2,70.7,97.2c-2.1,0-4.1-0.9-5.5-2.4L35.7,63.1c-2.8-3-2.6-7.8,0.4-10.6 c3-2.8,7.8-2.6,10.6,0.4l24,25.8l24.2-25.7c2.8-3,7.6-3.2,10.6-0.3c3,2.8,3.2,7.6,0.3,10.6L76.1,94.8 C74.7,96.3,72.7,97.2,70.7,97.2z"/></g></svg>');
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 23px;
}
select.custom-control-thin,
.custom-control-thin + .select2-container--default .select2-selection--single,
.custom-control-thin + .select2-container .select2-selection--multiple {
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.2" baseProfile="tiny" id="Capa_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 141.7 141.7" overflow="visible" xml:space="preserve"><circle fill="%23e1830a" cx="70.7" cy="70.9" r="70.9"/><g><path fill="%23FFFFFF" d="M70.7,97.2C70.6,97.2,70.6,97.2,70.7,97.2c-2.1,0-4.1-0.9-5.5-2.4L35.7,63.1c-2.8-3-2.6-7.8,0.4-10.6 c3-2.8,7.8-2.6,10.6,0.4l24,25.8l24.2-25.7c2.8-3,7.6-3.2,10.6-0.3c3,2.8,3.2,7.6,0.3,10.6L76.1,94.8 C74.7,96.3,72.7,97.2,70.7,97.2z"/></g></svg>');
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 17px;
}


input.custom-control:focus,
select.custom-control:focus,
.select2-dropdown,
.select2-container .select2-selection--single:focus,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,
.select2-container .select2-selection--multiple:focus {
    border-color: var(--enchufe-primary) !important;
}

.dropzone{
    padding:0 5px 0 5px;
}

/**
* NAV BAR - INICIO
*/ 
.helios-footer {
    background-color: var(--apolo-background-90);
    border-top: 1px solid var(--apolo-background);
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 100;
}
body { /* Para no solapar el footer con el contenido */
    padding-bottom: 60px;
}
nav.navbar .navbar-brand {
    display: none;
}
.heliosnav {
    padding: 0.5rem 0 0.5rem 0;
}
.heliosnav > li.nav-item.active {
    background-color: #98a6af;
    font-weight: bold;
    border-radius: 20px;
}
.heliosnav > li.nav-item {
    border-radius: 20px;
    border: 1px solid #98a6af;
}
@media(min-width: 992px){
    .heliosnav > li.nav-item {
        margin-right: 10px;
    }
    .heliosnav > li.nav-item.active > .nav-link span,
    .heliosnav > li.nav-item > .nav-link span {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
@media(max-width: 946px){
    .heliosnav > li.nav-item {
        margin-bottom: 10px;
    }
}
.heliosnav > li.nav-item.active > .nav-link {
    color: white !important;
}
/**
* NAV BAR - FIN
*/ 


/* Carousel prev/next arrow styles */
.carousel-control-prev, .carousel-control-next {
    /*height: fit-content;*/
    width: fit-content;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f0b323' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f0b323' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.card-body {
    padding: 0.5rem;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.btn-circle {
    width: 36px;
    height: 36px;
    padding: 6px 0px;
    border-radius: 18px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

/* Botones largos y redondeados, principalmente para los botones de tipo de fechas de la monitorización */
.btn-rounded-large {
    border-radius: 2em;
    padding-left: 25px;
    padding-right: 25px;
    background-color: white;
}

/* Botones pequeños extra, principalmente para el botón de geolocalización */
.btn-sm-extra {
    padding: 0.19rem 0.4rem;
    font-size: 0.475rem;
}

.message {
    padding: 0 10px;
}
.message .chat {
    text-align: left;
    position: relative;
    /*max-width: 75%;*/
    max-width: 100%;
    display: inline-block;
    padding: 20px;
    padding-bottom: 10px;
    line-height: 1.5;
    margin: 10px 20px;
    border-radius: 10px;
}
.message .chat:before, .message .chat:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 20px;
    background-color: #fff;
}
.message.right {
    /*text-align: right;*/
    text-align: left;
}
.message.right .chat {
    /*background-color: #6d8ce8;*/
    /*color: #f5f5f5;*/
    background-color: #dcf8c6;
    color: #000;
    border-bottom-right-radius: 0px;
}
.message.right .chat:before {
    right: -20px;
    z-index: 2;
    border-bottom-left-radius: 60% 50%;
}
.message.right .chat:after {
    background-color: inherit;
    right: -20px;
    z-index: 1;
}

.message .chat figcaption {
    font-size: 7.5pt;
    margin-top: 2px;
}

.loader-overlay-contratos,
.loader-overlay-lastfact,
.loader-overlay-listfacturas,
.loader-overlay-datos-contrato,
.loader-overlay-datos-contrato-titular,
.loader-overlay-tarifa,
.loader-overlay-autoconsumo,
.loader-overlay-serviciosadicionales,
.loader-overlay-cverdebalance,
.loader-overlay-listmovements,
.loader-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 99;
}

.spinner-container {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#facturasTable_filter .form-control,
#movementsTable_filter .form-control {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgICB2ZXJzaW9uPSIxLjEiICAgaWQ9InN2ZzQ0ODUiICAgdmlld0JveD0iMCAwIDIxLjk5OTk5OSAyMS45OTk5OTkiICAgaGVpZ2h0PSIyMiIgICB3aWR0aD0iMjIiPiAgPGRlZnMgICAgIGlkPSJkZWZzNDQ4NyIgLz4gIDxtZXRhZGF0YSAgICAgaWQ9Im1ldGFkYXRhNDQ5MCI+ICAgIDxyZGY6UkRGPiAgICAgIDxjYzpXb3JrICAgICAgICAgcmRmOmFib3V0PSIiPiAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9zdmcreG1sPC9kYzpmb3JtYXQ+ICAgICAgICA8ZGM6dHlwZSAgICAgICAgICAgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIgLz4gICAgICAgIDxkYzp0aXRsZT48L2RjOnRpdGxlPiAgICAgIDwvY2M6V29yaz4gICAgPC9yZGY6UkRGPiAgPC9tZXRhZGF0YT4gIDxnICAgICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLC0xMDMwLjM2MjIpIiAgICAgaWQ9ImxheWVyMSI+ICAgIDxnICAgICAgIHN0eWxlPSJvcGFjaXR5OjAuNSIgICAgICAgaWQ9ImcxNyIgICAgICAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAuNCw4NjYuMjQxMzQpIj4gICAgICA8cGF0aCAgICAgICAgIGlkPSJwYXRoMTkiICAgICAgICAgZD0ibSAtNTAuNSwxNzkuMSBjIC0yLjcsMCAtNC45LC0yLjIgLTQuOSwtNC45IDAsLTIuNyAyLjIsLTQuOSA0LjksLTQuOSAyLjcsMCA0LjksMi4yIDQuOSw0LjkgMCwyLjcgLTIuMiw0LjkgLTQuOSw0LjkgeiBtIDAsLTguOCBjIC0yLjIsMCAtMy45LDEuNyAtMy45LDMuOSAwLDIuMiAxLjcsMy45IDMuOSwzLjkgMi4yLDAgMy45LC0xLjcgMy45LC0zLjkgMCwtMi4yIC0xLjcsLTMuOSAtMy45LC0zLjkgeiIgICAgICAgICBjbGFzcz0ic3Q0IiAvPiAgICAgIDxyZWN0ICAgICAgICAgaWQ9InJlY3QyMSIgICAgICAgICBoZWlnaHQ9IjUiICAgICAgICAgd2lkdGg9IjAuODk5OTk5OTgiICAgICAgICAgY2xhc3M9InN0NCIgICAgICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLjY5NjQsLTAuNzE3NiwwLjcxNzYsMC42OTY0LC0xNDIuMzkzOCwyMS41MDE1KSIgICAgICAgICB5PSIxNzYuNjAwMDEiICAgICAgICAgeD0iLTQ2LjIwMDAwMSIgLz4gICAgPC9nPiAgPC9nPjwvc3ZnPg==);
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: 0px 3px !important;
    padding-left: 25px;
}

.datepicker table tr td.active.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td .active.disabled:hover[disabled], .datepicker table tr td .active.disabled[disabled], .datepicker table tr td .active:active, .datepicker table tr td .active:hover, .datepicker table tr td .active:hover.active, .datepicker table tr td .active:hover.disabled, .datepicker table tr td .active:hover:active, .datepicker table tr td .active:hover:hover, .datepicker table tr td .active:hover[disabled], .datepicker table tr td .active[disabled], .datepicker table tr td span.active.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled:hover.disabled, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.disabled:hover:hover, .datepicker table tr td span.active.disabled:hover[disabled], .datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active:hover.disabled, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active:hover:hover, .datepicker table tr td span.active:hover[disabled], .datepicker table tr td span.active[disabled], .datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover {
    background-color: #9a9a9a !important;
    background-image: none !important;
    color: #fff;
}

.badge-heliosprimary-lighten {
    color: #d29000;
    background-color: rgba(245, 215, 132, 0.18); }
.badge-heliosprimary-lighten[href]:hover, .badge-heliosprimary-lighten[href]:focus {
    color: #d29000;
    text-decoration: none;
    background-color: rgba(245, 215, 132, 0.4); }

.btn-enchufe-primary{
    color: #fff;
    background-color: var(--enchufe-primary);
}
.btn-enchufe-primary:hover{
    color: #fff;
    background-color: var(--enchufe-yellow);
}
.btn-enchufe-primary:disabled{
    color: #fff;
    background-color: var(--enchufe-primary);
}

/* Datepicker - Modificaciones */
.daterangepicker .ranges li.active {
    background-color: var(--enchufe-primary) !important;
}
.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
    background-color: var(--enchufe-primary) !important;
}
.daterangepicker .btn-primary,
.daterangepicker .btn-primary:hover {
    background-color: var(--enchufe-primary) !important;
    border-color: var(--enchufe-primary) !important;
    box-shadow: 0px 2px 6px 0px rgba(247, 195, 135, 0.5) !important;
}
.daterangepicker .btn-primary:not(:disabled):not(.disabled):active:focus,
.daterangepicker .show > .daterangepicker .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 195, 135, 0.5) !important;
}
input.datepickerrange[readonly]{
    background-color: white !important;
    cursor: pointer;
}
input.datepickerrange:disabled{
    background-color: var(--enchufe-secondary-40) !important;
    cursor: default;
}
/* .datepickerrange{
    border-radius: 5px !important;
} */
.input-group > .datepickerrange:not(:first-child){
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

/* Chat de Soporte - Eliminar padding en dispositivos móviles */
@media (max-width: 767px) {
    .conversation-list {
      list-style: none;
      padding: 0 !important;
    }
}

/* Chat de Soporte - Ajustar ancho del input para que quepa los botones en escritorio */
@media (min-width: 768px) {
    #chat-form .col-md-11 {
        max-width: 89% !important;
    }
}


.border-color-enchufe-primary{
    border-color: var(--enchufe-primary) !important;
}


/* Card - Modificaciones como en Apolo */
.card {
    box-shadow: none;
    background-color: white;
    border-radius: 0.3rem;
    border: 1px solid var(--apolo-background);
}
.card-header,
.card-body,
.card-footer {
    padding: 0.5em 0.5em 0.5em 0.5em;
}
.card > div.card-header {
    background-color: var(--apolo-background-90);
    border-radius: 0.3rem 0.3rem 0 0;
    border-bottom: 1px solid var(--apolo-background);
}
.card div.card-body {
    border-radius: 0.3rem 0.3rem 0 0;
}
.card div.card-footer {
    background-color: var(--apolo-background-60);
    border-radius: 0 0 0.3rem 0.3rem;
}



.select-sm {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    cursor: pointer;
}


.swal2-popup{
    border-radius: 18px;
}

.swal2-close{
    border: 2px solid var(--enchufe-primary);
    color: var(--enchufe-primary);
    border-radius: 50%;
    font-size: 1.3em;
    margin: 0.3em 0.3em 0 0;
    font-weight: bold;
    font-family: inherit;
}

.swal2-close:hover, .swal2-close:focus, .swal2-close:active{
    color: var(--enchufe-primary-80);
    border-color: var(--enchufe-primary-80);
}

.swal2-html-container{
    font-size: 1rem;
}


/* === BUBBLES === */
.ht_bubble{
    padding: 5px 10px 5px 10px;
    border-radius: 25px;
    background-color: var(--apolo-background-90);
    font-size: 1rem;
    text-align: center;
    border: 1px solid var(--apolo-background);
    width: 260px;
}

.ht_bubble.ht_bubble_dark{
    background-color: var(--enchufe-secondary-20);
}

.ht_bubble span.ht_bubble_separator {
    width: 1px;
    border-right: 1px solid var(--apolo-background);
    margin-left: 5px;
    margin-right: 8px;
    content: '';
    height: 100%;    
}

.ht_bubble.ht_bubble_important_text{
    font-size: 1.2rem;
    font-weight: bold;
}

.ht_bubble_small {
    font-size: 0.8rem;
    width: auto;
}
@media (min-width: 1200px) {
    .ht_bubble {
        font-size: 1.2rem;
    }
    .ht_bubble_small {
        display: inline-block;
        padding: 4px 17px;
        font-size: 1rem;
    }
}


.ht_bubble_download {
    /* padding: 8px 15px; */
    padding: 4px 4px 4px 20px; /* top, right, bottom, left */
    border-radius: 25px;
    background-color: var(--apolo-background-60);
    border: 1px solid var(--apolo-background);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.ht_bubble_download .download-text {
    font-size: 0.85rem;
    text-align: left;
    flex-grow: 1;
}

.ht_bubble_download .download-button {
    margin-left: 10px;
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .ht_bubble_download {
        font-size: 1rem;
    }
    .ht_bubble_download .download-text {
        font-size: 0.95rem;
    }
}

.list_ht_bubble_download .ht_bubble_download:not(:first-child){
    margin-top: 0.75rem;
}
/* === FIN === BUBBLES === */



/* Huawei select2 options ajustes */
.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: var(--enchufe-primary);
    color: #fff; 
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--enchufe-primary); 
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
}


/* === Display horizontal consumo === */
div.ht_display_consumo_horizontal{
    border-radius: 50px;
    height: 34px; /* original: 27px */
    display: flex;
    border: 1px solid lightgray;
    overflow: hidden;
}

div.ht_display_consumo_horizontal > div{
    position: relative;
    transition: width 1s ease-in-out;
    width: 0;
}

div.ht_display_consumo_horizontal > div::before{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: attr(data-width);
    color: white;
    text-shadow: 1px 1px black;
}   

div.ht_display_consumo_horizontal > div.ht_display_consumo_horizontal_p1{
    background-color: var(--enchufe-p1);
}

div.ht_display_consumo_horizontal > div.ht_display_consumo_horizontal_p2{
    background-color: var(--enchufe-p2);
}

div.ht_display_consumo_horizontal > div.ht_display_consumo_horizontal_p3{
    background-color: var(--enchufe-p3);
}

div.ht_display_consumo_horizontal > div.ht_display_consumo_horizontal_p4{
    background-color: var(--enchufe-p4);
}

div.ht_display_consumo_horizontal > div.ht_display_consumo_horizontal_p5{
    background-color: var(--enchufe-p5);
}

div.ht_display_consumo_horizontal > div.ht_display_consumo_horizontal_p6{
    background-color: var(--enchufe-p6);
}

div.ht_display_consumo_horizontal > div.ht_display_consumo_horizontal_autoconsumo{
    background-color: var(--enchufe-primary);
}

div.ht_display_consumo_horizontal > div.ht_display_consumo_horizontal_excedentes{
    background-color: var(--enchufe-excedente);
}

/* === FIN === Display horizontal consumo === */


/* === Ajustes columnas Nombre/Dirección y botones de Info/Maps === */
@media (min-width: 768px) {
    .col-btn-info-maps {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 5.33333% !important;
        flex: 0 0 5.33333% !important;
        max-width: 5.33333% !important;
    }
    .col-input-nombre-direccion {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 86.33333% !important;
        flex: 0 0 86.33333% !important;
        max-width: 86.33333% !important;
    }
}
/* === FIN === Modificaciones de botones === */



/* === Ajustes para las opciones "Suministro" en los cards header que contengan el select de suministro === */
/* Original de suministros.css */
.card_header_suministro_direccion .input-group .form-control {
    border-radius: 20px;
}
.btn-suministro-info-prepend {
    background: white !important;
    border: 0px !important;
    padding: 2px 2px 2px 7px !important;
    margin-top: 1px !important;
    margin-bottom: 1px !important;
    color: #e1830a !important;
    cursor: pointer !important;
}
.btn-suministro-info-prepend-active {
    background: white !important;
    border: 1px solid !important;
    padding: 2px 2px 2px 7px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    color: #e1830a !important;
    cursor: pointer !important;
}
@media (max-width: 767px) {
    .card_header_src_monitorizacion {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        justify-content: center !important;
    }
    /* Cambiar layout de horizontal a vertical en móvil */
    .card_header_suministro:not(.card_header_suministro_direccion) {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Ajustar espaciado de los textos en móvil */
    .card_header_suministro span {
        margin-bottom: 0.5rem !important;
        margin-left: 0.75rem !important;
        margin-right: 0 !important;
        font-weight: 500;
    }
    
    /* Ajustar ancho de los input groups en móvil */
    .card_header_suministro .input-group {
        width: 100% !important;
    }

    /* Bloque dirección: label arriba, input + botón en la misma línea */
    .card_header_suministro_direccion {
        flex-wrap: wrap !important;
        margin-bottom: 1.2rem;
    }
    .card_header_suministro_direccion .form-label {
        flex-basis: 100%;
        text-align: left;
        margin-bottom: 0.25rem !important;
        margin-left: 0.7rem;
    }
    .card_header_suministro_direccion .input-group {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 2.7rem);
    }
    .card_header_suministro_direccion .input-group .form-control {
        min-width: 0;
    }
    .card_header_suministro_direccion #btn-geolocalizacion {
        flex-shrink: 0;
        margin-left: 0.5rem;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .card_header_suministro{
        margin-bottom: 1rem !important;
    }
}
/* === FIN === Ajustes para las opciones "Suministro" en los cards header que contengan el select de suministro === */



/* === Input date con dos flechas a ambos lados === */
.date-picker-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.date-picker-input {
    background-color: white;
    border-radius: 20px;
    padding: 6px 40px 6px 40px !important;
    border: 1px solid #ced4da;
    width: 100%;
    text-align: center;
    min-width: 100px;
}

.date-picker-input:focus {
    border-color: var(--enchufe-primary) !important;
    outline: none;
}

.date-picker-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 23px;
    z-index: 10;
}

.date-picker-arrow-left {
    left: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.2" baseProfile="tiny" id="Capa_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 141.7 141.7" overflow="visible" xml:space="preserve"><circle fill="%23e1830a" cx="70.7" cy="70.9" r="70.9"/><g><path fill="%23FFFFFF" d="M97.2,70.7C97.2,70.6,97.2,70.6,97.2,70.7c0,2.1-0.9,4.1-2.4,5.5L63.1,105.7c-3,2.8-7.8,2.6-10.6-0.4 c-2.8-3-2.6-7.8,0.4-10.6l25.8-24L52.9,53.2c-3-2.8-3.2-7.6-0.3-10.6c2.8-3,7.6-3.2,10.6-0.3L94.8,65.6 C96.3,67,97.2,69,97.2,70.7z" transform="rotate(180 70.85 70.85)"/></g></svg>');
}

.date-picker-arrow-right {
    right: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.2" baseProfile="tiny" id="Capa_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 141.7 141.7" overflow="visible" xml:space="preserve"><circle fill="%23e1830a" cx="70.7" cy="70.9" r="70.9"/><g><path fill="%23FFFFFF" d="M97.2,70.7C97.2,70.6,97.2,70.6,97.2,70.7c0,2.1-0.9,4.1-2.4,5.5L63.1,105.7c-3,2.8-7.8,2.6-10.6-0.4 c-2.8-3-2.6-7.8,0.4-10.6l25.8-24L52.9,53.2c-3-2.8-3.2-7.6-0.3-10.6c2.8-3,7.6-3.2,10.6-0.3L94.8,65.6 C96.3,67,97.2,69,97.2,70.7z" transform="rotate(0 70.85 70.85)"/></g></svg>');
}

.date-picker-arrow:hover {
    opacity: 0.7;
}

.date-picker-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.date-picker-arrow.arrow-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

@media (max-width: 767px) {
    .date-picker-input {
        padding: 6px 45px 6px 45px;
        font-size: 0.9rem;
    }
    
    .date-picker-arrow-left {
        left: 10px;
    }
    
    .date-picker-arrow-right {
        right: 10px;
    }
}
/* === FIN === Input date con dos flechas a ambos lados === */


/* === Ajustes/Fixes para el tipo de fecha en la monitorización === */
@media (min-width: 494px) {
    .date-type-monitorizacion ul li:nth-child(3) {
        padding-right: 0.75rem !important;
    }
}
@media (max-width: 493px) {
    .date-type-monitorizacion ul li:nth-child(3) {
        padding-right: 0rem !important;
    }
}
@media (max-width: 390px) {
    .date-type-monitorizacion ul li:nth-child(2) {
        padding-right: 0rem !important;
    }
    .date-type-monitorizacion ul li:nth-child(3) {
        padding-right: 0.75rem !important;
    }
    .date-type-monitorizacion ul li:nth-child(4) {
        padding-right: 0rem !important;
    }
}
/* === FIN === Ajustes/Fixes para el tipo de fecha en la monitorización === */
