h4 {
    margin-bottom: 0px !important;
}

p {
    margin-bottom: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 2.2 !important;
}

textarea {
    padding: 0.625rem 0.75rem !important;
}

.cuerpo-email::placeholder {
    color: #7b809a;
}

.form-control[disabled] {
    line-height: 1.3 !important;
}

label, .form-label {
    margin-left: 0px;
    margin-bottom: 8px;
}

label, th, td {
    font-size: 14px;
    margin-left: 0px;
}



table thead th {
    font-size: 14px;
}

table tbody td {
    font-size: 14px;
    vertical-align: middle;
}

/* CUSTOM: btn.secondary */
.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    box-shadow: 0 3px 3px 0 rgba(108, 117, 125, 0.15),
    0 3px 1px -2px rgba(108, 117, 125, 0.2),
    0 1px 5px 0 rgba(108, 117, 125, 0.15);;
}

.btn-secondary:hover, .btn.bg-gradient-secondary:hover {
    background-color: #6c757d;
    box-shadow: 0 14px 26px -12px rgba(108, 117, 125, 0.4),
    0 4px 23px 0 rgba(108, 117, 125, 0.15),
    0 8px 10px -5px rgba(108, 117, 125, 0.2);
}

.row>* {
    padding-right: 1rem;
    padding-left: 0;
}

.dataTables_length label, 
.dataTables_filter label {
    margin-left: 0px !important;
    margin-bottom: 2.5rem !important;
}

.dataTables_info {
    padding-top: 1.406rem !important;
    font-size: 14px;
}

.dataTables_paginate {
    padding-top: 1rem !important;
    font-size: 13px;
}
.dataTables_wrapper .dataTables_paginate 
.paginate_button {
    border-radius: 4px;
    padding: .4em .8em;
}

.dataTables_wrapper .dataTables_filter input, 
.dataTables_wrapper .dataTables_length select {
    border-radius: 0.375rem !important;
}

table.dataTable>thead>tr>th {
    padding-inline: 0px !important; 
}

html body .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: .375rem !important;
    border: 1px solid #aaa !important;
}

html body .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f0f2f5 !important;
    color: #3d3d33 !important;
}

html body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: white !important;
}


html body .dataTables_wrapper .dataTables_paginate .paginate_button.current, 
html body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    cursor: default;
    border: none !important;
    color: white !important;
    background: linear-gradient(195deg,#ec407a,#d81b60) !important; 
}

html body .dataTables_scrollBody {
    width: 100% !important;
    height: 100% !important;
}


/* BUTTON ACTIONS */
.btn:focus-visible {
    background-color: transparent !important;
}
.btn.btn-sm i, .btn-group-sm>.btn i {
    font-size: .7rem !important;
    padding: auto !important;
}
table.dataTable tbody tr .btn-outline-primary,
table.dataTable tbody tr .btn-outline-secondary,
table.dataTable tbody tr .btn-outline-warning,
table.dataTable tbody tr .btn-outline-dark,
table.dataTable tbody tr .btn-outline-info,
table.dataTable tbody tr .btn-outline-success,
table.dataTable tbody tr .btn-outline-danger {
    --bs-btn-padding-x: 0.5rem !important;
    --bs-btn-padding-y: 0.1875rem !important;
    margin: .25rem !important;
    border-radius: 50% !important;
}
/* -------- */

.alert.alert-danger {
    background-image: none !important;
    border-color: #f1aeb5 !important;
    background-color: #F8D7DA !important;
    color: #58151C !important;
}

.card-body .alert.alert-danger p {
    font-size: 14px !important;
    font-weight: 400 !important;
}


/* ACCORDION BUTTON */
.accordion {
    --bs-accordion-bg: #e91e63 ;
    --bs-accordion-btn-color: #fff;
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 0.25rem;
    --bs-accordion-inner-border-radius: 0.125rem;
}

.accordion-button:not(.collapsed) {
    color:  #fff !important;
}

/* ACCORDION: BUTTON DOWNLOAD GENÉRICO */
.accordion .btn-sm {
    --bs-btn-padding-x: 0.75rem;
}
/* -------- */


/* LO USA: mdeGestores & mdeEstados */
.columna-observacion { max-width: 250px; word-wrap: break-word; }

.btn-close {
    filter: none !important;
}

.badge-custom {
    max-width: 75%;
    border-radius: 0.35rem;
    word-wrap: break-word; 
    white-space: normal;
    line-height: 1.2rem;
    padding-bottom: 1rem !important;
    padding-top: 0 !important;
}



.card-body-custom {
    max-height: 871px; 
    overflow-y: auto;
    overflow-x: hidden;
}

.card.card-init-custom {
    max-height: 720px;
}

.badge-custom-end {
    display: block;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;

}
.badge-custom-end p {
  overflow-wrap: break-word;
  word-break: break-all; /* Esta propiedad asegura que las palabras puedan romperse y pasar a la siguiente línea en cualquier carácter */
}


/* BANNER PARA EL GESTOR */


.row.custom-size-banner {
    max-height: 300px;
}

.card .card-body span#customBannerTitle.custom-banner-title {
    font-size: 1.5rem;
    padding-left: 1rem;
    font-weight: 700;
}

.card .card-body p#customBannerParagraph.custom-banner-paragraph {
    font-size: .875rem !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    padding: 0 0 .5rem 1rem;
    text-wrap: pretty;
}

.card .card-body ul.custom-banner-ul {
    padding-left: 1rem;
    width: 90%;
    text-wrap: pretty;
}

.card img.custom-banner-img {   
    object-fit: cover;
    height: 300px !important;
    width: 60%;
    position: relative;
    left: 40%;
}

#carouselIndicators.carou-indicators {
    display: flex;
    justify-content: center;
    list-style: none;
}

.carou {
    cursor: pointer;
    font-size: 2rem;
    padding-inline: 5px;
    user-select: none;
}

.carou.active {
    color: #e91e63; 
}

.list-group-item {
    border: none !important;
} 

@media (min-width: 1200px) and (max-width: 1565px) {
    .card .card-body ul.custom-banner-ul {
        width: 100%;        
    }
    .card .card-body li {
        padding: 0 0 0 1rem;
    }
    .row.custom-size-banner .col-lg-6.col-md-12 {
        padding-right: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .row.custom-size-banner {
        height: 205px;
    }
    .card img.custom-banner-img {
        height: 205px !important;
        left: 40%;
    }
    .card .card-body span#customBannerTitle.custom-banner-title {
        font-size: 1rem;
    }
    .card .card-body p#customBannerParagraph.custom-banner-paragraph {
        font-size: .75rem !important;
        font-weight: 400 !important;
        line-height: 1.7 !important;
        padding: 0 0 0 1rem;
        text-wrap: pretty;
    }
    .card .card-body li {
        font-size: .75rem !important;
    }
    .carou {
        font-size: 1.5rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .row.custom-size-banner {
        height: 205px;
    }
    .card img.custom-banner-img {
        height: 205px !important;
        left: 0;
        width: 100%;
    } 
    .card .card-body span#customBannerTitle.custom-banner-title {
        font-size: 1rem;
    }
    .card .card-body p#customBannerParagraph.custom-banner-paragraph {
        font-size: .75rem !important;
        font-weight: 400 !important;
        line-height: 1.7 !important;
        padding: 0 0 0 1rem;
        text-wrap: pretty;
    }
    .card .card-body li {
        font-size: .75rem !important;
    }
    .carou {
        font-size: 1.5rem !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .row.custom-size-banner {
        height: 205px;
    }
    .card img.custom-banner-img {
        height: 205px !important;
        left: 0;
        width: 100%;
    } 
    .card .card-body span#customBannerTitle.custom-banner-title {
        font-size: 1rem;
        padding: 0;

    }
    .card .card-body p#customBannerParagraph.custom-banner-paragraph {
        font-size: .75rem !important;
        font-weight: 400 !important;
        line-height: 1.7 !important;
        padding: 0 0 0 1rem;
        text-wrap: pretty;
        padding: 0;

    }
    .card .card-body li {
        font-size: .75rem !important;
    }
    .card .card-body ul {
        padding: 0 !important;
    }

    .carou {
        font-size: 1.5rem !important;
    }
}