:root {
    --c-focus: #355CE0;
    --c-primary: #0085C2;
    --c-secondary: #a3d16e;
    --c-danger: #FD5D5B;
    --c-primary-light: #84c8ff;
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to { 
        -webkit-transform: rotate(360deg);
    }
}

svg.rotate {
    -webkit-animation-name: rotate; 
    -webkit-animation-duration: 0.5s; 
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
}

.modal-loading {
    text-align: center;
    background: rgba( 255, 255, 255, .7);
}

.watermark1 {
    background-image: url("../logo_azul_fondo.svg");
    background-size: 561px 146px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.watermark1 img {
    position: relative;
    top: 0;
    left: 0;
    opacity: .3;
    filter: alpha(opacity=50);
}
#BtnTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #0085C256;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}
#BtnTop::after {
    content: '\f077';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 30px;
    color: #fff;
}
#BtnTop:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}
.panel-body {
    padding: 10px 5px 10px 5px !important;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding: 0px 5px 0px 5px !important;
}
.ibox {
    margin-bottom: 5px !important;
}

.ibox-title {
    background-color: var(--c-primary) !important;
    min-height: 12px !important;
    padding: 7px 5px 3px 15px !important;
    margin-bottom: 0px !important;
}

.ibox-title h5 {
    color: #fff;
    margin-left: 10px;
}

.ibox-tools {
    top: 6px !important;
}
.ibox-content {
    padding: 5px !important;
}
.col-form-label {
    padding-top: calc(0.375rem) !important;
    padding-bottom: calc(0.375rem) !important;
}
.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.form-group {
    margin-bottom: 2px !important;
}
.m-t .form-group {
    margin-bottom: 1rem !important;
}
.form-control {
    font-size: 12px !important
}

#page-wrapper {
    padding: 0px !important;
}

.page-heading {
    padding: 0px 10px 10px 10px;
}title-primary

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 2.05rem !important;
}

.btn-primary, .page-item.active .page-link, .navy-bg, .bg-primary {
    background-color: var(--c-focus) !important;
    border-color: var(--c-focus) !important;
}
.btn-primary:hover, .page-item.active:hover .page-link:hover {
    background-color: var(--c-focus) !important;
    border-color: var(--c-focus) !important;
}
i.icon-title {
    color: var(--c-primary);
}

.modal-icon {
    color: var(--c-primary) !important;
    opacity: 0.6 !important;
}

/* .icheckbox_square-green,
.iradio_square-green {
    background: url(./plugins/iCheck/primary.png) no-repeat !important;
} */

.tab-title-primary {
    color: var(--c-primary);
    margin-top: 15px;
    margin-left: 15px;
}

.select2-selection__rendered {
    line-height: 31px !important;
}
.select2-container .select2-selection--single {
    height: 32px !important;
}
.select2-selection__arrow {
    height: 0px !important;
}

.input-group-append {
    height: 32px;
}
.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text, .input-group > .input-group-prepend:not(:first-child) > .btn, .input-group > .input-group-prepend:not(:first-child) > .input-group-text, .input-group > .input-group-prepend:first-child > .btn:not(:first-child), .input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child){
    width: 25px;
    padding-right: 20px;
}

.link-core {
    color:grey
}

.children_permission{
    margin-left: 15px;
}

.th_det_ven {
    background-color: #4d42de !important;
    color: white !important;
}

.caja_foton {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    display: inline-block;
    background-color: #4d42de;
    max-width: 9vw;
    max-height: 8vh;
    min-height: 8vh;
}

.caja {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    display: inline-block;
    background-color: #a6a6a6;
    max-width: 9vw;
    min-height: 8vh;
    max-height: 8vh;
}

.label-container {
    text-align: center;
    color: white;
}

table tbody .tramitacion {
    background-color:#F1F1F1 !important;
}

table tbody .tramitacion .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .potencial {
    background-color:#c4c2c2 !important;
}

table tbody .potencial .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .incidencia {
    background-color:#FCEAD6 !important;
}

table tbody .incidencia .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .precarga {
    background-color:#C2DFEF !important;
}

table tbody .precarga .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .rechazado {
    background-color:#FFC9C9 !important;
}

table tbody .rechazado .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .descartado {
    background-color:#FCD3BB !important;
    border-color:#FCD3BB !important;
}

table tbody .descartado .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .finalizado {
    background-color:#DAFFEE !important;
    border-color:#DAFFEE !important;
}

table tbody .finalizado .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .activo {
    background-color:#F0FDD4 !important;
}

table tbody .ACTIVO {
    background-color:#F0FDD4 !important;
    border-color:#F0FDD4 !important;
}

table tbody .RECHAZADO {
    background-color:#FFC9C9 !important;
    border-color:#FFC9C9 !important;
}

table tbody .BAJA {
    background-color:#F1C7EE !important;
    border-color:#F1C7EE !important;
}

table tbody .INCIDENCIA {
    background-color:#FCEAD6 !important;
    border-color:#FCEAD6 !important;
}

table tbody .PRECARGA {
    background-color:#C2DFEF !important;
    border-color:#C2DFEF !important;
}

table tbody .TRAMITACION {
    background-color:#F1F1F1 !important;
    border-color:#F1F1F1 !important;
}

table tbody .DESCARTADO {
    background-color:#FCD3BB !important;
    border-color:#FCD3BB !important;
}

table tbody .FINALIZADO {
    background-color:#DAFFEE !important;
    border-color:#DAFFEE !important;
}

table tbody .activo .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .firmado {
    background-color:#a3d16e !important;
}

table tbody .firmado .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .baja_anticipada {
    background-color:#F1C7EE !important;
    color:white !important;
}

table tbody .baja_anticipada .select2-selection__rendered {
    color:white !important;
    line-height: 22px !important;
}

table tbody .baja {
    background-color:#F1C7EE !important;
}

table tbody .input_table {
    height: 2vh !important;
}

table tbody .baja .select2-selection__rendered {
    line-height: 22px !important;
}

table tbody .select2-container {
    height: 15px !important;
}

table tbody .select2-selection--single {
    background-color: transparent !important;
    border: none !important;
}

table .tableTH {
    background-color: var(--c-focus) !important;
    color: white !important;
}

table td {
    padding: 0 !important;
}

table {
    white-space: nowrap;
}

table .radio_selected {
    background-color: #a19be8;
}

table .radio_selected:hover {
    background-color: #a19be8 !important;
}

.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    opacity: .5;
    }
.hr-text:before {
    content: '';
    background: linear-gradient(to right, transparent, black, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}
.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    color: black;

    padding: 0 .5em;
    line-height: 1.5em;
    color: black;
    background-color: #fcfcfa;
}

table .tableTH {
    background-color:#4d42de !important;
    color: white !important;
}

table td {
    padding: 0 !important;
}

table {
    white-space: nowrap;
}

table tbody .potencial {
    background-color:#c4c2c2 !important;
}
table tbody .firmado {
    background-color:#a3d16e !important;
}

.loginBackground{
    background: linear-gradient(140deg, #000, #4600cc 60%);
}
.loginBackground .foco{
    z-index: 2000;
    position: fixed;
    pointer-events: none;
    width: 271px;
    top: 0px;
    left: calc(50vw - 143px);
}
.loginBackground .logo{
    max-width: 150px;
    margin-top: 40px;
}
  
  .fondoOscuro{
    width: 100%;
    background-color: #0000007a;
  }

  .middle-box {
    max-width: unset;
    z-index: 100;
    margin: 0 auto;
    padding-top: 0px;
}
  
  .loginContainer{
    max-width: 400px;
    margin: auto;
  }
  
  .formLogin{
    margin-top: 40px;
  }
  
  .rightSide{
    text-align: right;
    margin-right: 40%;
    margin-bottom: 20px;
  }
  
  .flexCenterHeight {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
  
  .formLabel{
    padding: 5px;
    font-size: 15px;
    text-align: left;
    color: white;
  }
  
  input.formInputLogin, input:-internal-autofill-selected.formInputLogin {
    background-color: #ffffff00 !important;
    color: white !important;
    border: 2px solid #e5e6e7;
  }
  
  .loginButton{
    font-size: 15px;
    font-weight: 800;
    text-align: right;
    background-color: white;
    margin: 15px 0;
    padding: 5px 25px;
  }
  
  .floatRight{
    float: right;
  }
  
  .middle-box .sublogo-name {
    color: var(--c-focus);
    font-size: 15px;
    font-weight: 800;
    margin-top: -5px;
  }
  
  .middle-box h1 {
    padding: 0;
    color: #FFF;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 0;
    margin-top: 0px;
}
  .wrapper .middle-box {
    margin-top: 140px;
  }

  .loginscreen.middle-box {
    width: unset;
}

.logo-name {
    letter-spacing: 0px;
  }

  @font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

nav.navbar-default {
    background-color: #f0f0f0;
}

.headerMenuButton{
    font-size: 25px;
}

.formButton{
    background-color: var(--c-primary-light);
    border: var(--c-primary-light);
    border-radius: 40px;
}

.formFilter{
    margin-right: 10px;
}

.formSearch{
    min-width: 300px;
}

.headerIcons{
    color: white;
    font-size: 25px;
    margin-left: 10px;
}

.newLogo {
    margin-left: 20px;
    height: 45px;
}

.navbar-fixed-top, .navbar-static-top{
    background: linear-gradient(to right, var(--c-focus), #73d2e2);
}

.newForm {
    display: flex;
    align-items: center;
    margin-left: 100px;
}

.navbar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.cardIcon{
    color: var(--c-focus);
    font-size: 26px
}

.cardTitle{
    margin: 0 0 0 10px;
    font-weight: 800;
}

.cardShortcut {
    margin: 5px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 5px 15px;
    background-color: #2F4050;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    transition: all 0.3s ease-out;
}

.cardShortcut:hover {
    transform: scale(1.05);
}

.shortcutIcon{
    color: white;
    font-size: 40px
}

.shortcutIcon.plus{
    color: var(--c-secondary);
    background: radial-gradient(white 50%, transparent 50%);
}

.shortcutName{
    font-size: 16px;
    display: flex;
    width: 100%;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    min-height: 45px;
}

.shortcutText{
    color: white !important;
}

.cardClientes{
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.30), var(--c-focus)), url('/static/img/1.png');
}

.cardIncidencias{
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.30), var(--c-focus)), url('/static/img/6.png');
}

.cardVentas{
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.30), var(--c-focus)), url('/static/img/2.png');
}

.cardLiquidaciones{
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.30), var(--c-focus)), url('/static/img/4.png');
}

.cardCanales{
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.30), var(--c-focus)), url('/static/img/3.png');
}

.cardUsuarios{
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.30), var(--c-focus)), url('/static/img/5.png');
}

.cardHeader{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
}

.cardSectionButton{
    margin-left: auto;
}

.cardButton{
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.cardButton, .cardButton:hover, .cardButton:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .show > .btn-success.dropdown-toggle{
    background: var(--c-secondary);
    border: var(--c-secondary); 
}

.cardNews{
    display: flex;
    align-items: flex-start;
    border-top: 1px solid black;
    padding: 10px 0;
    transition: all 0.5s ease-out;
}


.cardNews:hover{
    background-color: #bfbbf3;
}

.cardNews:last-child {
    border-bottom: 1px solid black;
}

.newsImage{
    width: 150px;
    max-height: 106px;
}

.newsContentSection{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15px;
}

.newsTitle{
    color: black;
    font-weight: 800;
    margin-bottom: 5px;
}

.newsText{
    color: black;
}

.label-activo,
.badge-activo {
  background-color: #a3d16e;
  color: #FFFFFF;
}

.customFilterButton > label > div {
    display: none;
}

.customFilterButton > label {
    cursor: pointer;
    border: 1px solid #ced4da;
    min-width: 130px;
    color: inherit;
}

.customFilterButton > label.btn:has(div.checked) {
    background-color: var(--c-primary);
    color: white;
}

.cardFilters{
    border: none;
}

.cardFiltersBody{
    padding-left: 0px;
}

.card {
    border-radius: 30px;
}

.fondoTarjeta{
    border-radius: 30px;
    background: rgb(53,92,224);
    background: linear-gradient(90deg, rgba(53, 92, 224, 1) 15%, rgba(255,255,255,1) 60%);
}

.fondoTarjetaGas{
    border-radius: 30px;
    background: rgb(241, 150, 45);
    background: linear-gradient(90deg, rgba(241, 150, 45, 1) 15%, rgba(255,255,255,1) 60%);
  }

.cardIconLuz{
    color: white;
    font-size: 100px
}

.bannerTitle{
    font-size: 30px;
    font-weight: 800;
    margin-left: 30px
    
}

.flexColumn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.white{
    color: white;
}

.botonVenta{
    background-color: var(--c-focus);
    border-radius: 10px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
}

.cardIconBoton{
    color: white;
    font-size: 22px
}

.cardTextButton{
    font-size: 12px;
}

.cardTextLink{
    width: -webkit-fill-available;    
}

.containerBoton{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

.p0{
    padding: 0 !important
}

.pr-10{
    padding-right: 10px !important;
}


.fondoTarjetaProveedor {
    border-radius: 30px;
    padding: 50px 25px;
    background: var(--c-focus);
    background: linear-gradient(90deg, rgba(255,255,255,1) 30%, rgba(53,92,224,1) 100%);
}

.cardSectionButton {
    margin-left: auto;
}

.cardButtonProveedor, .cardButtonProveedor:hover, .cardButtonProveedor:focus, .cardButtonProveedor:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .show > .btn-success.dropdown-toggle {
    background: white;
    border: white;
    color: var(--c-focus);
}

.cardButtonProveedor {
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.buttonEditProveedor {
    background: white;
    border: white;
    color: var(--c-focus);
    font-size: 18px;
    font-weight: 800;
    padding-right: 25px;
}

.edit {
    color: var(--c-focus);
    font-size: 0px;
    padding: 5px 15px;
}

.card-tabs {
    border-radius: 0 30px 30px 30px;
    border: none;
}

.tabTitle {
    color: var(--c-primary) !important;
}

.cardSubtitle {
    display: flex;
    margin-left: 44px;
    font-size: 16px;
    font-weight: 800;
    color: var(--c-focus);
}

.titleProveedor {
    color: var(--c-focus);
    font-size: 18px;
    font-weight: 800;
}

.subtitleProveedor {
    font-size: 16px;
    margin-right: 400px;
    margin-bottom: 0;
}

.cardHeader {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
}

.modalCommetsIcon2 {
    color: #4d42df !important;
    font-size: 50px !important;
}

.modalCommentsTitle2 {
    color: #4d42df;
    padding-left: 20px;
}

.flexLeft {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.itemList.borderFocus {
    border-top: 3px solid var(--c-focus);
}

.itemList {
    list-style-type: none;
    padding: 0;
}

.itemList li:nth-child(odd) {
    background: #f1f1f1;
}

.infoContactoSection {
    margin: auto;
}

.viewInfo {
    color: var(--c-primary);
    font-size: 20px;
}

.cardState{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgba(163,209,110,1) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardState_ACTIVO{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgba(163,209,110,1) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardState_TRAMITACION{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgba(241,241,241,1) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardState_PRECARGA{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgba(194,223,239,1) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardState_RECHAZADO{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgb(255, 201, 201) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardState_DESCARTADO{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgb(252, 211, 187) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardState_BAJA{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgb(241, 199, 238) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardState_CONTRATO{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgba(218,255,238,1) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardState_INCIDENCIA{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgba(252,234,214,1) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardGreenState{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgba(163,209,110,1) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}
.cardRedState{
    margin-right: -30px;
    background: linear-gradient(90deg, rgb(0 133 194 / 0%) 10%, rgb(209, 110, 110) 40%);
    width: 80%;
    text-align: right;
    padding: 10px;
}

.cardStateText{
    margin-right: 40px;
    font-weight: 800;
    font-size: 16px;
}

.flexStrech{
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.flexEnd{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.fullWidth{
    width: 100%;
}

.dataTables_wrapper .dataTables_filter input.form-control {
    background-color: var(--c-primary-light);
}

.logoProveedor{
    width: 200px;
}

.caja_beneficio {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    display: inline-block;
    background-color: #f0ffd5;
    min-width: 9vw;
    max-width: 9vw;
    max-height: 8vh;
    min-height: 8vh;
}

.caja_beneficio_roja {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    display: inline-block;
    background-color: #ffd5d5;
    min-width: 9vw;
    max-width: 9vw;
    max-height: 8vh;
    min-height: 8vh;
}

.padding-left0 {
    padding-left: 0 !important;
}

.cardButtonAdd{
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.cardButtonAdd, .cardButtonAdd:hover, .cardButtonAdd:focus, .cardButtonAdd:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .show > .btn-success.dropdown-toggle{
    background: var(--c-focus);
    border: var(--c-focus);
    color: white;
}

.add {
    color: white;
    font-size: 20px;
    padding: 3px 10px;
}


/* DOKO 2024 */

/* DETALLE TABLA */

tr.detalle .energia-potencia td {
    border: 1px solid #fff;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

tr.detalle .cajas-col{
    display: flex;
    align-items: center;
}

tr.detalle .cajas_container{
    display: flex;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e8eaec;
    border-radius: 10px;
    margin: 8px;
}

tr.detalle .cajas_container .caja_foton,
tr.detalle .cajas_container .caja{
    width: 100%;
    min-height: auto;
    max-height: none;
}

tr.detalle .cajas_container .caja_foton label,
tr.detalle .cajas_container .caja label{
    margin-bottom: 0px;
}

tr.detalle .cajas_btns{
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}

tr.detalle .cajas_btns button{
    background: #4d42de;
}

tr.detalle .cajas_btns button i{
    margin-right: 8px;
}

tr.detalle .action_btns{
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 8px;
}

tr.detalle .action_btns button{
    background: #4d42de;
    min-width: 154px;
    display: flex;
    justify-content: center;
}
tr.detalle .action_btns button i{
    margin-right: 8px;
}

/* POPUP COMENTARIOS */

#modalShowComments .modal-content{
    width: 80%;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
}

#modalShowComments .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#modalShowComments .comment-actions{
    display: flex; 
    gap: 8px; 
    flex-wrap: nowrap;
    position: relative;
}

#modalShowComments .comment-actions .fa-circle{
    color: red;
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 8px;
}

#modalShowComments .comment-actions button{
    min-width: 100px;
}

#modalShowComments .comment-actions .select2-selection__rendered{
    padding-left: 24px;
}

#modalShowComments .modal-footer{
    border-top: 0px solid transparent;
}

#modalShowComments textarea{
    background: #ddeefb; 
    border: 0px solid transparent;
}

#modalShowComments table{
    width: 100% !important;
    white-space: normal;
}

#modalShowComments table tbody .público,
#modalShowComments table tbody .privado {
    position: relative;
    background-color: transparent !important;
}

#modalShowComments table tbody .privado td:first-child,
#modalShowComments table tbody .público td:first-child{
    white-space: nowrap;
    vertical-align: top;
}

/*
#modalShowComments table tbody .privado td:first-child::before,
#modalShowComments table tbody .público td:first-child::before{
    content: "\f111";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    margin-left: 4px;
}

#modalShowComments table tbody .privado td:first-child::before{
    color: #FD5D5B;
}

#modalShowComments table tbody .público td:first-child::before{
    color: #a3d16e;
}
*/

#modalShowComments td{
    padding-right: 12px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* #modalShowComments .comentario td:last-child {
    display: none;
} */

#modalShowComments thead{
    display: none;
}

#modalShowComments .select2-selection__choice{
    background: #4d42df;
    color: #fff;
    border-radius: 100px;
    padding: 0px 8px 0px 0px;
}

#modalShowComments .select2-selection__choice[title="Whatsapp"]::before {
    content: "\f232";
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
    margin-right: 6px;
}

#modalShowComments .select2-selection__choice[title="Email"]::before {
    content: "\f0e0";
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    margin-right: 6px;
}

#modalShowComments .context-actions{
    position: absolute;
    left: 100px;
    top: 20px;
    z-index: 2000;
    background: #fff;
    border: 1px solid #e7eaec;
    display: none;
}

#modalShowComments .context-actions > div{
    cursor: pointer;
    padding: 4px 8px;
}

#modalShowComments .context-actions > div:hover{
    background: #f2f2f2;
}

#modalShowComments .table-responsive{
    overflow: visible;
}
#modalShowComments .context-actions .go-delete{
    border-top: 1px dashed #e8eaec;
}

#modalShowComments .context-actions .go-delete i,
#modalShowComments .context-actions .go-private i{
    color: #FD5D5B;
    margin-right: 4px;
}

#modalShowComments .context-actions .go-public i{
    color: #a3d16e;
    margin-right: 4px;
}

#modalShowComments tr.active{
    outline: 1px solid #4d42df;
}

#modalShowComments tr.active .context-actions{
    display: block;
}

.ui-autocomplete {
    background-color: #f2f2f2; /* Fondo gris */
    border: 1px solid #ccc; /* Borde */
    padding: 5px; /* Espaciado interno */
    width: 40%;
}
.ui-autocomplete li {
    list-style-type: none; /* Quitar viñetas */
    padding: 5px; /* Espaciado interno de cada opción */
}

/* DROPDOWNS START */

.focus-dropdown .dropdown-toggle::after {
    display: inline-block;
    border-top: 0.5em solid;
    border-right: 0.5em solid transparent;
    border-left: 0.5em solid transparent;
    margin-left: 16px;
    margin-right: 8px;
}
.focus-dropdown .dropdown-menu{
    width: calc(100% + 8px);
}
.focus-dropdown.show button{
    background: #98bf6c !important;
}
.focus-dropdown.show button i{
    color: #98bf6c !important;
}
.focus-dropdown .dropdown-menu{
    border-radius: 0px;
    border: 1px solid #ced4da;
    box-shadow: none;
}
.focus-dropdown .dropdown-item{
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    text-transform: uppercase;
}
.focus-dropdown .dropdown-item:not(:last-child){
    border-bottom: 2px dotted var(--c-focus);
}
.focus-dropdown .dropdown-item i{
    color: var(--c-focus);
    font-size: 16px;
    width: 24px;
}

/* DROPDOWNS END */