@import url('dashboard_sections.css');

body {
    font-family: 'Open Sans', sans-serif !important;
    overflow-x: hidden;
}

h2 {
    font-size: 1.6em !important;
}

a {
    font-family: 'Open Sans', sans-serif !important;
    color: rgb(7, 6, 6);
    text-decoration: none;
}

.container a {
    color: #980046;
}

.nombre-header,
.nombre-header * {
    color: #fff;
    text-decoration: none;
}

.nombre-header,
.nombre-header *:hover {
    color: #fff;
    text-decoration: none !important;
}

.main-navbar .navbar-nav > li > a {
    padding-bottom: 10px !important;
}

.badge {
    margin-top: 3px;
    margin-left: -10px;
    position: absolute !important;
    background-color: rgb(255, 128, 0) !important;
    font-size: 10px !important;
}

.primary-color {
    background-color: var(--theme-color-1) !important;
    color: #fff;
    text-decoration: none;
}

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

.btn {
    padding: 6px 10px !important;
}

/* carousel */
.carousel-control {
    color: var(--theme-color-1) !important;
}

.carousel-indicators .active {
    background-color: var(--theme-color-1) !important;
}

.carousel-indicators li {
    border-color: var(--theme-color-1) !important;
}

.carousel-caption {
    text-align: right !important;
    top: 0px !important;
    width: 95% !important;
    left: 0px !important;
    right: 0px !important;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, .6) !important;
}

/* .item{height:350px!important;} */
/* carousel */

/* datetimepicker */
.datepicker-days {
    margin-top: 20px;
    margin-bottom: 20px;
}

.dow {
    background-color: #a0a0a0 !important;
    border-radius: 0px !important;
    color: #FFF !important;
    text-align: center;
}

.calendar table {
    thead {
        th.prev, & th.next {
            a {
                color: var(--theme-color-1);
                text-decoration: none;
            }
        }

        tr:first-child th {
            color: var(--theme-color-1);
            text-align: center;
        }

        th.dow {
            background-color: var(--theme-color-1) !important;
            border-radius: 0px !important;
            color: #FFF !important;
            text-align: center;
        }
    }

    tbody {
        td.day {
            border: 1px solid #d8d8d8 !important;
            border-color: var(--theme-color-1) !important;
            height: 51px !important;
            line-height: 50px !important;
            text-align: center;

            a.agendaEvento {
                background-color: #f4d6e2;
                color: var(--theme-color-1);
            }

            a.agendaEvento:hover {
                background-color: var(--theme-color-1);
                color: white;
            }
        }

        td.active {
            background-color: var(--theme-color-1) !important;
            border-radius: 0 !important;
        }
    }

    th, td {
        width: calc(100% / 7);
    }
}

/* datetimepicker */

/* colores */
.naranja {
    background-color: #df3e08 !important;
}

.gris-claro {
    background-color: #ebebeb !important;
}

.gris-oscuro {
    background-color: #818181 !important;
}

.purpura {
    background-color: #4e1036 !important;
}

.primario {
    background-color: var(--theme-color-1) !important;
}

.blanco {
    background-color: #fff !important;
}

.azul-medio {
    background-color: #238AE6 !important;
}

.verde {
    background-color: #215e3f !important;
}

/* colores */

/* Clases Auxiliares */
.twoLine {
    display: block;
    display: -webkit-box;
    /*height: 56px;*/
    font-size: 15px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fourLine {
    display: block;
    display: -webkit-box;
    font-size: 15px;
    line-height: 1.4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.threeLine {
    display: block;
    display: -webkit-box;
    font-size: 15px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shor-text {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.border-all {
    border: 1px solid #ccc;
    padding-top: 10px;
}

.border-top {
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.border-bottom {
    border-bottom: 1px solid #ccc;
}

.border-left {
    border-left: 2px solid #ccc;
    height: 88%
}

.border-right {
    border-right: 2px solid #ccc;
    height: 88%
}

.border-fix {
    position: absolute;
    top: 20px;
}

.t-primary {
    color: var(--theme-color-1) !important;
}

.t-mediungrey {
    color: #666666 !important;
}

.t-darkgrey {
    color: #818181 !important;
}

.t-naranja {
    color: #df3e08 !important;
}

.t-blanco {
    color: #fff !important;
}

.t-azul-medio {
    color: #238AE6 !important;
}

.t-verde {
    color: #215e3f !important;
}

.vertical {
    border-right: 1px solid #fff;
}

.top10 {
    margin-top: 10px;
}

.top20 {
    margin-top: 20px;
}

.top30 {
    margin-top: 30px;
}

.top40 {
    margin-top: 40px;
}

.bottom10 {
    margin-bottom: 10px;
}

.bottom20 {
    margin-bottom: 20px;
}

.bottom30 {
    margin-bottom: 30px;
}

.bottom40 {
    margin-bottom: 40px;
}

.bottom60 {
    margin-bottom: 60px;
}

.left20 {
    margin-left: 20px;
}

.right20 {
    margin-right: 20px;
}

.left10 {
    margin-left: 10px;
}

.left5 {
    margin-left: 5px;
}

.right10 {
    margin-right: 10px;
}

.lateral10 {
    padding: 0px 10px 0px 10px;
}

.col-5 {
    width: 17% !important;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
    margin-right: 10px;
    margin-left: 10px;
}

.anchor a {
    color: #000;
    text-decoration: none;
}

.anchor a:hover {
    color: var(--theme-color-1);
    text-decoration: none;
}

/* Clases Auxiliares */

/* Header */
.navbar .nav li:hover {
    background-color: rgba(153, 54, 71, 0.7);
}

.navbar .nav a:hover {
    color: #fff !important;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: rgba(153, 54, 71, 0.7) !important;
}

.navbar-default .navbar-nav > .open > a {
    color: #fff !important;
    background-color: rgba(153, 54, 71, 0.7) !important;
}

.navbar {
    border-radius: 0px !important;
}

.bar i {
    color: #FFF;
    padding-top: 10px;
    padding-bottom: 10px;
}

.ic {
    height: 25px;
    width: 25px;
    display: inline-block;
    padding: 2px 4px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    color: #980046;
}

.ic_inf {
    background-color: #4e1036;
}

.ic_com {
    background-color: #df3e08;
}

.ic_emp {
    background-color: #534a8a;
}

.ic_eve {
    background-color: #215e3f;
}

.ic_dir {
    background-color: #4f8baa;
}

.ic_avi {
    background-color: #666666;
}

.ic_enc {
    background-color: #a18564;
}

.navbar-header {
    width: 100%
}

.navbar-header a {
    color: #000;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 15px;
    display: inline-block;
}

.navbar-header a:hover {
    text-decoration: none;
}

/* Header */

/* Footer */
footer a {
    color: #fff;
    padding-right: 10px;
    padding-left: 10px;
}

footer p {
    color: #fff;
}

footer a:hover {
    color: #000;
    text-decoration: none;
}

/* Footer */

/* Home */
.title {
    font-size: 28px;
    /*display: inline-block;*/
    /*position: absolute;*/
    padding-left: 5px;
    /*white-space: nowrap;*/
    /* text-transform: capitalize; */
}

.sub-title {
    font-size: 18px;
    display: inline-block;
    /* text-transform: capitalize; */
}

.icon-box {
    margin-left: -15px;
    height: 50px;
    width: 50px;
    padding-top: 10px;
    text-align: center;
    color: #fff;
}

.boton {
    border: none;
    width: 60px;
    border-radius: 8px !important;
    height: 30px;
    color: #fff !important;
}

.av {
    border-bottom: 2px solid #df3e08;
}

.av p {
    padding-top: 10px;
    padding-bottom: 10px;
}

.av a {
    color: #000;
}

.av a:hover {
    text-decoration: none !important;
    color: var(--theme-color-1) !important;
}

.av-alert {
    position: absolute;
    right: 10px;
    top: 60px;
}

.av-alert i {
    color: green;
}

.com {
    border-bottom: 3px solid #ebebeb !important;
    border-top: 1px solid #ebebeb !important;
    border-left: 1px solid #ebebeb !important;
    border-right: 1px solid #ebebeb !important;
    height: 92px;
}

.com p {
    padding-top: 10px;
    padding-bottom: 10px;
}

.com a {
    color: #000;
}

.com a:hover {
    text-decoration: none !important;
    color: var(--theme-color-1) !important;
}

.input-box {
    background-color: #ebebeb;
    height: 80px;
    padding-top: 15px;
}

.search-home {
    padding-top: 15px;
    padding-bottom: 15px;
}

.search-home input {
    width: 100%;
    height: 50px;
    /* border-radius: 25px; */
    border: none;
    font-size: 16px !important;
    padding-left: 10px !important;
}

.search-home input:focus {
    color: #000 !important;
    padding-left: 10px !important;
    font-size: 16px !important;
    outline: none !important;
}

.search-home button {
    height: 50px;
    width: 100%;
    background-color: var(--theme-color-1);
    color: #fff;
    border: none;
}

.search-home button:focus {
    border: none;
}

.search-home a {
    height: 50px;
    width: 100%;
    background-color: var(--theme-color-1);
    color: #fff;
    border: none;
    display: block;
    line-height: 50px;
    padding-left: 3px;
}

.search-home a:focus {
    border: none;
}

.ap-box {
    background-color: var(--theme-color-1);
    height: 165px;
    color: #fff;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 20px;
}

.ap-box a {
    color: #fff !important;
}

.ap-box a:hover {
    color: var(--theme-color-1) !important;
}

.ap-box i:hover {
    color: var(--theme-color-1) !important;
}

.ap-box p {
    margin-top: 10px !important;
    font-weight: bold;
}

.ap-box:hover {
    background-color: #ebebeb;
    color: var(--theme-color-1);
}

.nov img {
    height: 185px;
    max-width: 100%;
}

.galeriaList img {
    max-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.nov p {
    padding-top: 10px;
    padding-bottom: 4px;
}

/* Home */

/* login */
.login {
    text-align: center;
    color: #FFF;
    margin-top: 12%;
}

.login input,
.reset-password input {
    height: 25px;
    text-align: center;
    border-radius: 0;
}

.login input {
    width: 75%;
    background: transparent !important;
    border: solid 1px #ebebeb;
    margin-top: 15px;
}

.reset-password {
    input {
        width: 100%;
    }

    label {
        margin-top: 15px;
    }
}

.login input:focus {
    background: transparent !important;
    color: #FFF;
    outline: none;
}

.login input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
}

.login input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #fff;
}

.login button,
.reset-password button {
    color: #FFF;
    width: 75%;
    margin-top: 15px;
    border-radius: 0px;
}

.login button {
    width: 75%;
}

.reset-password button {
    width: 100%;
}

.login button:hover,
.reset-password button:hover {
    color: #FFF;
    text-decoration: none;
}


.login-home {
    text-align: center;
    color: #fff;
    /*padding-top: 12%;*/
    /*height: 100%;*/
}

.login-home input {
    width: 75%;
    height: 25px;
    background: transparent !important;
    border: solid 1px #fff;
    text-align: center;
    border-radius: 0px;
    margin-top: 15px;
}

.login-home input:focus {
    background: transparent !important;
    color: #fff;
    outline: none;
}

.login-home input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
}

.login-home input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #fff;
}

.login-home button {
    color: #fff;
    width: 75%;
    margin-top: 15px;
    border-radius: 0px;
    border-color: #fff;
    border: solid 1px;
}

.login-home button:hover {
    color: #fff;
    text-decoration: none;
}

.login-home a {
    color: #fff;
    width: 75%;
    border-radius: 0px;
    border-color: #fff;
    border: solid 1px;
}

.login-home a:hover {
    color: #fff;
    text-decoration: none;
}

.login-background {
    background-image: url('../img/login.jpg');
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-background-dark {
    background-color: rgba(0, 0, 0, 0.5);
    height: 600px;

    .alert-wrapper
    {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;

        .alert
        {
            display: inline-block;
            width: fit-content;
            max-width: calc(100vw - 32px);
            margin: 0;
            padding: 12px 20px;
            box-sizing: border-box;
            text-align: left;
        }
    }
}

.login-background-dark p {
    margin-top: 10px;
}

.login-box {
    height: 80px;
    width: 80px;
    background-color: var(--theme-color-1);
    display: inline-block;
    color: #fff;
    padding-top: 15px;
}

.login-button a {
    color: #fff;
}

.login-button a:hover {
    color: #fff;
    text-decoration: none;
}

/* login */

/* reserva */
.reserva-banner {
    background-image: url('../img/reserva.png');
    height: 150px;
    background-repeat: no-repeat;
    background-size: cover;
}

.reserva-banner .banner-title {
    color: #fff;
    text-align: right;
    margin-top: 90px;
}

/* reserva */
.reserva img {
    max-width: 100%;
    height: auto !important;
}

/* Indormacion municipal */
.inf-banner {
    background-image: url('../img/inf.png');
    height: 180px;
    background-repeat: no-repeat;
    background-size: cover;
}

.inf-banner-div {
    height: 180px;
    background-repeat: no-repeat;
    background-size: cover;
}

.inf-banner .banner-title,
.inf-banner-div .banner-title {
    color: #fff;
    text-align: right;
    margin-top: 120px;
    text-shadow: 2px 2px 4px #000000;
    font-size: 36px;
}

.banner-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.normativa-box {
    border: 1px solid #ebebeb;
    padding: 20px;
    border-radius: 5px
}

.normativa-box:hover {
    background-color: #ebebeb;
}

.normativa-tipo {
    text-align: center;
    border: 1px solid var(--theme-color-1);
    padding: 3px;
    border-radius: 2px;
    color: var(--theme-color-1);
    text-transform: uppercase;
    width: fit-content;
    font-size: 11px;
    margin-top: 2px;
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 15px;
    line-height: 26px;
}

.normativa-titulo a {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.normativa-titulo a:hover {
    color: var(--theme-color-1);
}

.normativa-titulo p {
    font-size: 12px;
    color: #646464;
}

.normativa-fecha span {
    font-size: 12px;
    color: #646464;
}

.fichero a {
    color: #000;
}

.fichero a:hover {
    color: var(--theme-color-1);
}

.search {
    width: 100%;
    height: 30px;
    background-color: #f0f0f0;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 0px !important;
}

/* Indormacion municipal */

table {
    width: 100% !important;
}

.dp tr {
    border-bottom: 1px solid #ccc;
    height: 30px;
}

.dp a {
    color: #000;
}

.dp a:hover {
    color: var(--theme-color-1);
    text-decoration: none;
}

#resultados {
    padding-right: 0px !important;
}

.home-modal {
    background-color: rgba(0, 0, 0, 0.7) !important;
    border-radius: 0px !important;
    margin-left: -10px !important;
}

.modal-dialog {
    width: 100% !important;
}

.modal-dialog.modal-lg {
    width: 900px !important;
}

.close {
    color: #fff !important;
    opacity: 1 !important;

}

.modal-dialog {
    top: 25%;
}

.modal-header {
    border-bottom: none !important;
}

.dp-home table {
    width: 90% !important;
}

.dp-home tr {
    border-bottom: 2px solid #fff;
    height: 30px;
    color: #fff;
}

.dp-home a {
    color: #fff;
}

.dp-home a:hover {
    color: var(--theme-color-1);
    text-decoration: none;
}

.agenda {
    height: 565px;
}

.agenda p {
    font-size: 12px;
}

/* .agenda img{
  margin-left: -14px;
  height: 80px;
} */

.agenda a {
    color: #000;
}

.agenda a:hover {
    color: var(--theme-color-1);
    text-decoration: none;
}

/* .agenda-resumen{
  height: 80px;
} */

.agenda-btn a {
    color: #FFF;
    width: 80%;
    border-radius: unset;
}

.agenda-btn a:hover {
    color: var(--theme-color-1);
    background-color: #fff !important;
    text-decoration: none;
    border-radius: unset;
}

.destacados {
    padding-top: 10px;
    height: 200px;
}

.destacados a {
    color: var(--theme-color-1);
}

.destacados a:hover {
    color: #000;
    text-decoration: none;
}

.destacados p {
    padding-top: 8px;
    font-size: 12px;
    font-weight: 600;
}

.destacados li {
    list-style: circle;
    margin-left: -25px;
    color: var(--theme-color-1);
}

.directorio h3 {
    color: #000;
}

.principal {
    font-size: 22px;
    font-weight: 700;
    color: #000 !important;
}

.principal:hover {
    color: var(--theme-color-1) !important;
    text-decoration: none !important;
}

.principal-home {
    font-size: 15px;
    font-weight: 500;
    color: #000 !important;
}

.principal-home:hover {
    color: var(--theme-color-1) !important;
    text-decoration: none !important;
}

.gPolitico a {
    color: var(--theme-color-1);
    text-decoration: none;
}

.gPolitico a:hover {
    color: var(--theme-color-1);
}

.gPolitico i {
    color: var(--theme-color-1);
}

.box {
    display: inline-block;
    border: 1px solid #ebebeb;
    padding: 20px;
    border-radius: 5px
}

#espacios {
    width: 40% !important;
}

.reserva i {
    color: var(--theme-color-1) !important;
}

.reserva span {
    color: var(--theme-color-1) !important;
    font-size: 15px;
}

.reserva label {
    color: var(--theme-color-1) !important;
    margin-right: 10px;
    /*width: 100% !important;*/
}

.reserva p {
    font-size: 15px;
    font-weight: 500;
}

.reserva input {
    height: 30px;
    padding: 0px;
    border: 2px solid #ccc;
    border-radius: 0px !important;
    margin-right: 10px;
    width: 100%;
}

.btn-reserva {
    width: 90%;
    color: #fff;
    border-radius: 50px !important;
}


.ap-eye {
    display: inline-block;
    position: absolute;
    margin-left: -38px;
    margin-top: 8px;
}

.ap-search {
    display: inline-block;
    position: absolute;
    margin-top: 22px;
    margin-left: 20px;
}

.search-header {
    background-color: #ccc;
    padding: 15px;
    display: none;
    position: absolute;
    z-index: 1;
    right: 0%;
}

.search-header input {
    min-width: 270px;
    max-width: 300px;
    display: inline-block;
    height: 41px;
    padding: 10px;
    border: none;
    font-size: 15px;
}

.search-header a {
    padding-top: 0px !important;
    border-radius: 0px !important;
}

.search-header button {
    padding-top: 0px !important;
    border-radius: 0px !important;
}

.sub-titulo-encuesta {
    padding: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: url(/img/ico_encuesta_sec.png) no-repeat 10px 10px #96004A;
    padding-left: 33px;
}

.sidebar {
    bottom: 0;
    left: 0;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
    height: calc(100vh - 280px);
}

.sidebar a {
    display: block;
    width: 100%;
    padding-left: 30px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-decoration: none;
    color: #777;
    white-space: nowrap;
    padding-right: 15px;
}

.sidebar a:hover {
    background-color: rgba(153, 54, 71, 0.7);
    color: #fff;
    text-decoration: none;
}

A.agendaEvento {
    margin-top: unset;
    color: #fff;
    background-color: var(--theme-color-1);
    height: 100%;
    width: 100%;
    display: block;
    font-weight: 700;
    /*padding-top: 5px;*/
}

A:hover.agendaEvento {
    background-color: rgba(153, 54, 71, 0.7);
    color: #fff;
    text-decoration: none;
}

td .day {
    padding: 0px !important;
}

td.day.selected_day,
td.day.selected_day a {
    background-color: rgb(128, 128, 128);
    color: #fff;
}

td.day.selected_day a:hover {
    background-color: rgba(153, 54, 71, 0.7);
    color: #fff;
    text-decoration: none;
}

.select2-container {
    background-color: #fff;
}

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: 30px !important;
    border: 2px solid #ccc !important;
    border-radius: 0px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 2px !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0px !important;
}

.letraMorada {
    color: var(--theme-color-1) !important;
}

.ck-content {
    min-height: 117px;
}

.checkbox-alto input {
    font-size: 25px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    float: left;
}

.checkbox-alto label {
    padding-left: 8px;
}

.form-horizontal {
    padding: 9px !important;
}

.menu li {
    list-style: none;
    padding-top: 10px;
}

.menu a {
    color: #000;
    font-size: 16px;
}

.nav-mobile {
    width: auto;
    position: absolute;
    background-color: rgb(255, 255, 255);
    float: left;
    padding-right: 30px;
    margin-left: -20px;
    height: auto;
    z-index: 100;
}

.sidebar-mobile,
.sidebar--mobile {
    width: 100%;
    position: absolute;
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
    float: left;
    padding-right: 30px;
    margin-left: 15px;
    height: auto;
    z-index: 1;
}

.sidebar-mobile a,
.sidebar--mobile a {
    display: block;
    width: 100%;
    padding-left: 30px;
    padding-bottom: 5px;
    padding-top: 5px;
    text-decoration: none;
    color: #777;
}

.menu .open > .dropdown-menu {
    display: contents;
    z-index: 1;
}

.collapsing {
    position: absolute !important;
}

.suscribe-caja {
    margin-left: -6px;
}

.suscribe-caja a {
    font-size: 22px;
}

.suscribe-caja span {
    font-size: 22px;
}

.loadFileXml {
    margin-top: 16px;
    border: solid 1px black;
    border-radius: 5px;
    height: 28px;
    width: 25% !important;
    padding-left: 5px;
    min-width: 170px;
}

.badget-total-elements {
    font-size: 22px !important;
}

.personal p {
    margin-top: 6px;
    margin-bottom: -5px;
    font-size: 12px;
}

.personal span {
    margin-top: -6px;
    margin-left: -70px;
}

IMG.personal-foto {
    max-width: 215px;
}

.paginado-points {
    float: left;
    padding-left: 10px;
    padding-right: 5px;
    padding-top: 13px;
}

.paginado-caja {
    float: left;
    margin-left: 20px;
    background-color: azure;

}

.paginado-caja .pagination {
    margin: 8px 5px 9px 0;
}

.paginado-caja .pagination li {
    float: left;
    font-size: 17px;
    margin: 8px 5px 9px 0;
    text-decoration: none;
    list-style-type: none;
}

.paginado-caja .pagination li a {
    color: #bd2d6f !important;
}

.dropdown-backdrop {
    display: none;
}

.buscador-reset {
    font-size: 33px;
    line-height: 41px;
}

.color-enlace {
    color: var(--theme-color-1) !important;
}

.filtro-orden-activo {
    text-decoration: underline !important;
}

.flex-container {
    /* We first create a flex layout context */
    display: flex;
    /* Then we define the flow direction
       and if we allow the items to wrap
     * Remember this is the same as:
     * flex-direction: row;
     * flex-wrap: wrap;
     */
    flex-flow: row wrap;
    /* Then we define how is distributed the remaining space */
    /* justify-content: space-around; */
    padding: 0;
    margin: 0;
    list-style: none;
}

.agenda-flex-item {
    padding: 15px;
    margin-top: 10px;
    color: white;
    text-align: center;
    border: 1px solid #ebebeb;
    margin-left: 19px;
    margin-right: 19px;
}

.agenda-flex-item a {
    color: black;
}

.reserva span.ck {
    color: gold !important;
}

.form-control[type=checkbox] {
    width: initial;
}

p.imagen img {
    width: 100%;
}

#loading {
    align-items: center;
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-content: center;
    background: black;
    opacity: 0.30;
    z-index: 999;
}

#loading img {
    width: 15vw;
    height: 15vw;
}

.show-formulario td:first-child {
    width: 25%;
}

form label.error {
    color: red !important;
}

.adjunto .row:first-child {
    padding-top: 10px;
}

#empleados.tab-pane.fade {
    overflow-x: auto;
}


#menu > nav > ul {
    position: relative;
    display: flex;
}

#menu > nav > ul > li:last-child {
    position: absolute;
    right: 0px;
}

.aplicaciones-content img {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    object-fit: contain;
    max-width: 100%;
}

.aplicaciones-content li {
    margin-bottom: 0.5em;
}

.aplicaciones-content ul {
    margin-top: 0.5em;
}

div#usuario_plainPassword {
    display: flex;
    padding: 0;
}

div#usuario_plainPassword > div {
    width: 50%;
}

div#usuario_plainPassword > div input {
    margin: 10px 0;
    padding: 10px;
    width: calc(100% - 20px);
}

div#usuario_plainPassword > div:last-child input {
    width: calc(100%);
}

div#usuario_plainPassword {
    border: 0;
    background: #eee;
}

.login-background-dark a,
.login-background-dark a:hover {
    color: white;
}

#reset_password {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    min-height: calc(100vh - 243px);
}

div#usuario_plainPassword {
    display: flex;
    padding: 0;
}

div#usuario_plainPassword > div {
    width: 50%;
}

div#usuario_plainPassword > div input {
    margin: 10px 0;
    padding: 10px;
    width: calc(100% - 20px);
}

div#usuario_plainPassword > div:last-child input {
    width: calc(100%);
}

div#usuario_plainPassword {
    border: 0;
    background: #eee;
}

input[type="radio"] {
    width: inherit;
    height: inherit;
    margin: 10px !important;
}


.login-background-dark a,
.login-background-dark a:hover {
    color: white;
}

#reset_password {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    min-height: calc(100vh - 243px);
}

.comunicacion-item div h3,
.aviso-item div h3,
.noticia-item div h3 {
    white-space: normal;
}


.container-header-home {
    margin-left: -15px;
    margin-right: -15px;

    .container-login-home {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        /*justify-content: space-around;*/

        #login-home,
        #login-info-user {
            flex: 0 0 auto;
        }

        #login-avatar, #login-info-user {
            text-align: center;
        }

        #login-info-user
        {
            p
            {
                margin: 0;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }

        > .login-home:last-child {
            margin-bottom: auto;
        }

        #login-avatar {
            margin-top: auto;

            > i {
                font-size: clamp(2em, calc(42px + (100vw - 1200px) * 0.0717), 8em);
            }
        }

        .login-home.login-credentials {
            display: flex;
            flex-direction: column;
            height: 100%;

            > * {
                margin-top: auto;
            }

            h2 {
                margin-top: auto;
                margin-bottom: 0;
            }

            form#form-login {
                display: flex;
                flex-direction: column;
                margin-bottom: auto;
                row-gap: 5px;
                align-items: center;

                > * {
                    margin-top: unset;
                }
            }
        }
    }
}

.panel-agenda {
    #agenda-calendar {
        .datepicker-days {
            margin-top: 0;
        }
    }
}

.show-header {
    display: flex;
    justify-content: space-between;

    > div {
        width: 100%;
    }

    > div:last-child {
        margin-top: auto;
        margin-bottom: auto;
    }
}

.layout {
    display: flex;

    aside.layout-sidebar {
        #sidebar-mobile {
            top: 61px;
            margin-left: 0;
            bottom: unset;

            > button {
                position: relative;
                float: right;
                margin-right: -30px;

                > i {
                    color: var(--theme-color-1);
                }
            }
        }
    }

    main.layout-content {
        width: 100%;
        padding: 30px;

        .page__banner {
            top: -30px;
            left: -30px;
            width: calc(100% + 60px);
            position: relative;
        }

        article.page {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;

            header.page-header {
                padding: unset;
                margin: unset;
                border: unset;

                display: flex;
                justify-content: space-between;
                margin-bottom: 20px;
                padding: 0 15px;

                flex-wrap: wrap;
                column-gap: 10px;

                h2, h3
                {
                    color: var(--theme-color-1);
                }

                .page-header__top,
                .page-header__bottom {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    gap: 20px;
                    flex-wrap: nowrap;
                }

                .page-header__title {
                    width: 100%;
                    display: flex;
                    flex-direction: row;
                    flex-wrap: nowrap;
                    gap: 5px;
                    color: var(--theme-color-1);

                    /*span.material-icons {*/
                    /*    align-content: center;*/
                    /*}*/

                    > i.icon
                    {
                        margin-top: auto;
                        margin-bottom: auto;
                        font-size: 18px;
                    }

                    .page-header__heading {
                        display: flex;
                        flex-direction: row;
                        column-gap: 10px;
                        /*justify-content: space-between;*/

                        .badge {
                            height: 30px;
                            width: auto;
                            min-width: unset;
                            align-self: center;
                            align-content: center;
                            margin-left: unset;
                            margin-top: unset;
                            font-size: unset;
                            text-align: unset;
                            white-space: unset;
                            vertical-align: unset;

                            position: relative !important;
                            /*top: -2px;*/
                        }
                    }

                    .page-header__actions {
                        margin-left: auto;
                    }
                }

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

            section.page-content {
                section.list-filter {
                    border-radius: 10px;
                    padding: 20px;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
                    margin-bottom: 20px;
                    background-color: #F5F5F5 !important;

                    form {
                        .search-form__grid {
                            display: flex;
                            column-gap: 10px;
                            flex-wrap: wrap;

                            .search-form__field_category {
                                width: 200px;
                            }

                            .search-form__field_search {
                                min-width: 200px;
                                width: calc(100% - 200px - 10px);

                                .search-form__control {
                                    display: flex;
                                    flex-wrap: nowrap;
                                    flex-direction: row;

                                    input#texto {
                                        border-top-right-radius: unset;
                                        border-bottom-right-radius: unset;
                                        min-width: 140px;
                                        width: 100%;
                                    }

                                    .search-form__actions {
                                        button.search-form__submit {
                                            height: 34px;
                                            border-radius: 4px !important;
                                            border-top-left-radius: unset !important;
                                            border-bottom-left-radius: unset !important;
                                        }
                                    }
                                }
                            }
                        }
                    }

                    .list-filter__row {
                        display: flex;

                        .list-filter__field {
                            width: 100%;

                            input#texto {
                                border-right: unset;
                                border-top-right-radius: unset;
                                border-bottom-right-radius: unset;
                            }
                        }

                        .list-filter__actions {
                            button {
                                border-top-left-radius: unset;
                                border-bottom-left-radius: unset;
                                background: unset;
                                background-color: white !important;
                                border-top-right-radius: 8px;
                                border-bottom-right-radius: 8px;
                                color: var(--theme-color-1);
                                border: 1px solid #ccc;
                                border-right-width: 1px;
                                border-right-style: solid;
                                border-right-color: rgb(204, 204, 204);
                                box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
                                border-left: unset;
                                height: 34px;
                                width: 34px;
                            }
                        }
                    }
                }


                section.list-results {
                    .list-results__grid {
                        display: flex;
                        flex-direction: column;
                        row-gap: 10px;

                        article.result-card {
                            border: 1px solid #ebebeb;
                            padding: 20px;
                            border-radius: 5px;

                            a {
                                color: inherit;
                                text-decoration: none;
                            }

                            .result-card__meta {
                                display: block;
                                font-size: 12px;
                                color: #9ca3af;
                                margin-bottom: 4px;
                                font-weight: 500;
                                text-transform: uppercase;
                                letter-spacing: 0.5px;
                            }

                            .result-card__excerpt {
                                color: #6b7280;
                            }
                        }

                        article.result-card:hover {
                            background-color: #ebebeb;

                            a {
                                color: var(--theme-color-1);
                                text-decoration: none;
                            }

                            .result-card__excerpt {
                                color: var(--theme-color-1);
                            }

                            .tag {
                                background: #f4d6e2;
                                color: var(--theme-color-1);
                                border: unset;
                            }
                        }
                    }
                }
            }
        }

        article.page--cms {
            header.page-header {
                flex-direction: column;
                gap: 10px;

                .page-header__top {
                    .page-header__actions {
                        > div {
                            margin-top: unset !important;
                        }
                    }
                }

                .page-header__bottom {
                    .page-header__updated {
                        margin-left: auto;
                    }
                }

                page-header__actions {
                    align-content: center;
                }

                .page-header__title {
                    display: flex;

                    .page-header__heading {
                        display: flex;
                        flex-direction: row;
                        column-gap: 10px;

                        .badge {
                            top: unset;
                            margin-left: unset;
                            height: 30px;
                            align-self: center;
                        }
                    }
                }
            }

            section.page-related {
                h3.page-related__title {
                    padding-left: 15px;
                    padding-right: 15px;
                    padding-bottom: 10px;
                }

                .page-related__grid {
                    display: flex;
                    column-gap: 30px;
                    row-gap: 20px;
                    padding-left: 15px;
                    padding-right: 15px;
                    flex-wrap: wrap;

                    article.page-related-card {
                        width: calc(100% / 3 - 20px);
                    }
                }
            }

            section.page-content {
                display: flex;
                column-gap: 20px;

                section.list-filter {
                    width: 300px;
                    height: max-content;
                    background-color: unset !important;

                    .list-filter__field {
                        input.search {
                            background-color: unset;
                            border-radius: 5px !important;
                            border: 1px solid #CCCCCC;
                        }

                        .form-control {
                            width: unset;
                        }
                    }

                    .list-filter__actions {
                        button {
                            width: 100%;
                        }
                    }

                    form#form-filtro {
                        display: flex;
                        flex-direction: column;
                        row-gap: 20px;
                    }
                }

                section.list-results {
                    width: 100%;

                    .list-results__grid {
                        display: flex;
                        flex-direction: column;
                        row-gap: 20px;
                        margin-bottom: 20px;
                    }
                }
            }
        }

        article.page--avisos {
            #form-filtro {
                display: flex;
                flex-direction: row;
                column-gap: 10px;
            }

            .list-filter__actions {
                align-content: end;
                color: white;
            }

            .list-results__grid {
                display: flex;
                flex-wrap: wrap;
                row-gap: 20px;
            }
        }

        article.page--search {
            header.page-header {
                margin-bottom: 10px;
            }

            section.page-content {
                section.list-filter {
                    background: #FFFFFF !important;
                    border-radius: 10px;
                    padding: 20px;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
                    margin-bottom: 40px;
                    border: 1px solid transparent;

                    .select2-container--default .select2-selection--multiple {
                        border: 1px solid #E5E7EB !important;
                    }

                    .search-form__main {
                        display: flex;
                        padding-top: unset;
                        padding-bottom: unset;
                        background-color: unset !important;
                        border: 1px solid #e5e7eb;
                        border-radius: 8px;
                        margin-bottom: 10px;

                        .search-form__input {
                            background-color: unset;
                            padding: unset;
                            width: 100%;

                            input#busqueda_avanzada_texto {
                                height: 50px;
                                width: 100%;
                                border-radius: 8px;
                                border: none;
                                font-size: 16px !important;
                                padding-left: 10px !important;
                            }
                        }

                        button.search-form__submit {
                            border: none;
                            width: 50px;
                            height: 50px;
                            border-top-right-radius: 8px;
                            border-bottom-right-radius: 8px;
                            background-color: unset;
                            color: var(--theme-color-1);
                        }
                    }
                }

                section.list-results {
                    nav.search-results__tabs {
                        ul.nav-tabs {
                            li > a {
                                color: var(--theme-color-1);
                            }

                            li.active {
                                font-weight: bold;
                            }
                        }

                        ul.nav-tabs:not(:has(li)) {
                            border: unset;
                        }
                    }

                    div.search-results__content {
                        > section {
                            padding: 10px 20px 0;

                            > div {
                                width: 100%;
                            }

                            > div:not(#paginadorAvisos) {
                                padding-bottom: 10px;
                            }
                        }
                    }
                }
            }
        }

        article.page--list {
            header.page-header {
                min-height: 80px;
                align-items: center;
                padding: 10px;
                flex-wrap: nowrap;

                .page-header__title {
                    display: flex;

                    .page-header__heading {
                        display: flex;
                        justify-content: space-between;
                        column-gap: 10px;

                        .badge {
                            height: 30px;
                            width: auto;
                            min-width: unset;
                            align-self: center;
                            margin-left: 0;
                            top: 0;
                        }
                    }
                }
            }

            section.page-content {
                section.list-results {
                    table i.fa-calendar-times-o ~ span.t-mediungrey {
                        color: #4D4D4D !important;
                    }
                }
            }
        }

        article.page--show {
            header.page-header {
                .page-header__title {
                }

                .page-header__meta {
                    align-content: center;
                }
            }
        }

        article.page--profile {
            header.page-header {
                display: flex;
                flex-wrap: nowrap;

                min-height: 80px;
                align-items: center;
                padding: 10px;

                background: #fff;
                border-radius: 10px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
                color: var(--theme-color-1);

                .page-header__title {
                    display: flex;
                }

                .page-header__actions {
                    .page-header__action--mobile {
                        display: none;
                    }
                }
            }

            section.page-content {
                section.profile-card {
                    background: #fff;
                    border-radius: 10px;
                    padding: 20px;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
                    margin-bottom: 40px;

                    header.profile-card__header {
                        display: flex;
                        margin-bottom: 20px;
                        border-bottom: 1px solid #e5e7eb;
                        background: #fff;
                        color: var(--theme-color-1);
                    }

                    div.profile-card__profile {
                    }
                }

                section.subscriptions-section
                {
                    margin-bottom: 40px;

                    article.result-card
                    {
                        border-radius: 10px;
                        box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
                        padding: 20px;
                        padding-top: unset;

                        header.page-header
                        {
                            border-radius: unset;
                            box-shadow: unset;
                            border-bottom: 1px solid #e5e7eb;
                        }
                    }
                }

                section#generador-firma-corporativa {
                    border-radius: 10px;
                    padding: 20px;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
                    margin-bottom: 40px;

                    header.page-header {
                        border-radius: unset;
                        border-bottom: 1px solid #e5e7eb;
                        box-shadow: unset;

                        .page-header__title {
                            h1 {
                                color: var(--theme-color-1);
                            }
                        }
                    }
                }
            }
        }

        article.page--dashboard {
            padding-left: 30px;
            padding-right: 30px;

            header.page-header {
                padding: unset;
                flex-wrap: nowrap;
                column-gap: unset;

                #dashboard-header-menu-mobil {
                    display: none;
                    align-content: center;
                }
            }

            section.page-content {
                .cards {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 20px;
                    align-items: stretch;
                    grid-auto-rows: 1fr;

                    article.card {
                        display: flex;
                        flex-direction: column;
                        height: 100%;
                        padding: 15px;
                        row-gap: 10px;
                        flex-wrap: nowrap;

                        header {
                            display: flex;
                            justify-content: space-between;
                        }

                        .card__body {
                            display: flex;
                            flex-direction: column;
                            row-gap: 10px;

                            a {
                                color: black;
                                text-decoration: none;
                            }

                            a:hover {
                                color: var(--theme-color-1) !important;
                            }

                            .card__empty {
                                height: 42px;
                                border-bottom: 2px solid #df3e08;
                            }

                            a.card__row {
                                display: flex;
                                flex-direction: row;
                                column-gap: 5px;
                                align-items: center;
                                border-bottom: 2px solid #df3e08;
                                flex-wrap: wrap;

                                .card__row-icon {
                                    width: 50px;

                                    .icon-box {
                                        margin-left: 0;
                                    }
                                }

                                .card__row-title {
                                    max-width: 100%;
                                }

                                .card__row-date {
                                    max-width: 90px;
                                }

                                .card__row-status {
                                    max-width: 100px;
                                    margin-left: auto;
                                }

                                p {
                                    margin: 0;
                                }
                            }
                        }
                    }
                }
            }
        }

        article.page--agenda {
            header.page-header {
                .page-header__title {
                    width: auto;
                }
            }

            section.page-content {
                section.list-filter {
                    form#form-agenda {
                        .search-form__grid {
                            display: flex;
                            column-gap: 10px;
                            flex-wrap: wrap;

                            .search-form__field_category {
                                width: 200px;
                            }

                            .search-form__field_search {
                                min-width: 200px;
                                width: calc(100% - 200px - 10px);

                                .search-form__control {
                                    display: flex;
                                    flex-wrap: nowrap;
                                    flex-direction: row;

                                    input#texto {
                                        border-top-right-radius: unset;
                                        min-width: 140px;
                                        width: 100%;
                                    }

                                    .search-form__actions {
                                        button.search-form__submit {
                                            height: 34px;
                                            border-radius: 4px !important;
                                            border-top-left-radius: unset !important;
                                            border-bottom-left-radius: unset !important;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                section.agenda-layout {
                    display: flex;
                    flex-direction: row;
                    column-gap: 20px;
                    width: 100%;

                    #agenda-calendar {
                        width: 50%;
                    }

                    #agenda-eventos {
                        width: 50%;
                        display: flex;
                        flex-wrap: wrap;
                        gap: 10px;

                        .agenda-events__actions {
                            width: 100%;
                            text-align: end;

                            a.agenda-events__download:hover {
                                background: #f4d6e2;
                                color: var(--theme-color-1);
                                border: unset;
                            }

                            a.agenda-events__download {
                                font-size: 14px;
                                color: var(--theme-color-1);
                                font-weight: 500;
                                text-decoration: none;
                                padding: 4px 8px;
                                border-radius: 6px;
                                transition: background 0.2s, color 0.2s;
                                border: #e5e7eb solid 1px;
                                margin-left: auto;
                                margin-right: 10px;
                            }
                        }

                        article {
                            position: relative;
                            display: grid;
                            gap: 14px;
                            padding: 16px;
                            border-radius: 8px;
                            background: #f9fafb;
                            border: 1px solid #e5e7eb;
                            transition: all 0.2s ease;
                            width: 100%;
                            align-items: flex-start;

                            header {
                                display: flex;
                                justify-content: space-between;
                                font-size: 12px;

                                title {
                                    color: var(--theme-color-1);
                                    display: block;
                                    width: auto;
                                }

                                .date {
                                    color: #9ca3af;
                                }
                            }

                            .contenido {
                                position: relative;
                                display: flex;
                                min-width: 0;
                                overflow: hidden;
                                column-gap: 20px;

                                .image {
                                    img {
                                        height: 50px;
                                        width: auto;
                                    }

                                    .icon-box {
                                        color: #FFFFFF;
                                        width: 50px;
                                        height: 100%;
                                        background: #2563eb;
                                        display: flex;
                                        align-items: center;
                                        justify-content: center;
                                        flex-shrink: 0;
                                        border-radius: 50%;
                                        border-top-left-radius: 8px;
                                        border-bottom-left-radius: 8px;
                                        margin: 0;
                                        padding: 0;
                                    }
                                }

                                .detalle {
                                    min-width: 0;

                                    h3 {
                                        margin: 0 0 4px 0;
                                        font-size: 15px;
                                        font-weight: 600;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;

                                        a {
                                            color: #1f2937;
                                            text-decoration: none;
                                        }

                                        a:hover {
                                            color: #980046 !important;
                                        }
                                    }

                                    p.descripcion {
                                        display: -webkit-box;
                                        line-height: 1.4;
                                        -webkit-line-clamp: 3;
                                        -webkit-box-orient: vertical;
                                        white-space: unset;
                                        margin: 0;
                                        color: #6b7280;
                                        font-size: 13px;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                    }
                                }
                            }

                            footer {
                                display: flex;
                                justify-content: space-between;

                                span.evento-download {
                                    a {
                                        color: var(--theme-color-1);
                                    }
                                }

                                .tags {
                                    display: flex;
                                    flex-wrap: wrap;
                                    gap: 8px;

                                    .tag {
                                        padding: 4px 8px;
                                        font-size: 12px;
                                        border-radius: 20px;
                                        background-color: #FFFFFF;
                                        color: var(--theme-color-1);
                                        transition: background 0.2s, color 0.2s;
                                        border: var(--theme-color-1) solid 1px;
                                    }
                                }
                            }
                        }

                        article:hover {
                            background: #fff;
                            border-color: #d1d5db;
                            box-shadow: 0 4px 12px rgba(0, 0, 0, .08);

                            .contenido {
                                .detalle {
                                    h3 {
                                        color: #980046 !important;
                                    }
                                }
                            }

                            footer {
                                .tags {
                                    .tag {
                                        background: #f4d6e2;
                                        color: var(--theme-color-1);
                                        border: unset;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        article.page--comunicacion {
            header.page-header {
                .page-header__title {
                    width: auto;

                    span.material-icons {
                        width: 24px;
                        position: relative;
                        left: -120px;
                    }
                }
            }

            section.page-content {
                section.list-filter {
                    form#form-comunicacion {
                        .search-form__grid {
                            display: flex;
                            column-gap: 10px;
                            flex-wrap: wrap;

                            .search-form__field_category {
                                width: 200px;
                            }

                            .search-form__field_search {
                                min-width: 200px;
                                width: calc(100% - 200px - 10px);

                                .search-form__control {
                                    display: flex;
                                    flex-wrap: nowrap;
                                    flex-direction: row;

                                    input#texto {
                                        border-top-right-radius: unset;
                                        border-bottom-right-radius: unset;
                                        min-width: 140px;
                                        width: 100%;
                                    }

                                    .search-form__actions {
                                        button.search-form__submit {
                                            height: 34px;
                                            border-radius: 4px !important;
                                            border-top-left-radius: unset !important;
                                            border-bottom-left-radius: unset !important;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                section.list-results {
                    .list-results__grid {
                        display: flex;
                        flex-direction: column;
                        row-gap: 10px;

                        article.result-card {
                            border: 1px solid #ebebeb;
                            padding: 20px;
                            border-radius: 5px;

                            a {
                                color: inherit;
                                text-decoration: none;
                            }

                            .result-card__meta {
                                display: block;
                                font-size: 12px;
                                color: #9ca3af;
                                margin-bottom: 4px;
                                font-weight: 500;
                                text-transform: uppercase;
                                letter-spacing: 0.5px;
                            }

                            .result-card__excerpt {
                                color: #6b7280;
                            }
                        }

                        article.result-card:hover {
                            background-color: #ebebeb;

                            a {
                                color: var(--theme-color-1);
                                text-decoration: none;
                            }

                            .result-card__excerpt {
                                color: var(--theme-color-1);
                            }

                            .tag {
                                background: #f4d6e2;
                                color: var(--theme-color-1);
                                border: unset;
                            }
                        }
                    }
                }
            }
        }

        article.page--comunicacion-detail {
            section.page-content {
                .message-detail__attachments
                {
                    ul {
                        display: flex;
                        flex-direction: row;
                        flex-wrap: wrap;
                        row-gap: 10px;
                        column-gap: 20px;
                        list-style-type: none;
                        padding-left: 15px;

                        a {
                            color: var(--theme-color-1);
                        }
                    }
                }
            }
        }

        article.page--noticia
        {
            section.page-content
            {
                section.list-results
                {
                    article.result-card
                    {
                        > a
                        {
                            display: flex;
                            gap: 20px;
                            flex-wrap: nowrap;
                        }

                        .result-card__image
                        {
                            border-radius: 8px;
                            overflow: hidden;
                            min-width: 255px;

                            img
                            {
                                min-width: 225px;
                                border-radius: 8px;
                            }
                        }

                        .result-card__meta
                        {
                            text-transform: unset !important;
                        }
                    }
                }
            }
        }

        article.page--noticia-detail
        {
            header
            {
                div.page-header__meta
                {
                    .page-header__stats
                    {
                        color: var(--theme-color-1);
                    }
                }
            }

            section.page-content
            {
                display: flex;
                flex-direction: column;
                gap: 20px;

                div.news-detail__body
                {
                    div.news-detail__content
                    {
                        img
                        {
                            width: 100%;
                        }
                    }
                }

                div.news-detail__body--with-image
                {
                    display: flex;
                    gap: 20px;

                    div.news-detail__image
                    {
                        max-width: 50%;
                        min-width: 300px;
                    }
                }

                div.news-detail__source
                {
                    a
                    {
                        color: var(--theme-color-1);
                    }
                }
            }
        }

        article.page--app
        {
            section.page-content
            {
                section.list-results
                {
                    .list-results__grid
                    {
                        flex-direction: row;
                        flex-wrap: wrap;
                    }
                }
            }
        }

        article.page--list-eventos {
            section.page-content {
                section.list-filter {
                    div.list-filter__row
                    {
                        column-gap: 20px;

                        div.list-filter__field_category
                        {
                            width: auto;
                        }

                        div.list-filter__field_search
                        {
                            div.search-form
                            {
                                display: flex;

                                .search-form__control
                                {
                                    width: 100%;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px;

    article.page--directory {
        header.page-header {
            margin-top: unset;
            border-bottom: 1px solid #e5e7eb;

            .page-header__title {
                display: flex;
                gap: 5px;
                color: var(--theme-color-1);

                > i {
                    margin-top: auto;
                    margin-bottom: auto;
                    font-size: 18px;
                }

                > h2 {
                    display: flex;
                    flex-direction: row;
                    justify-content: end;
                    align-items: center;

                    span.badge {
                        position: unset !important;
                        margin-left: 10px;
                    }
                }
            }
        }

        section.page-content {
            margin-bottom: 40px;

            section.list-filter {
                background: #FFFFFF !important;
                border-radius: 10px;
                padding: 20px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
                margin-bottom: 40px;
                border: 1px solid transparent;

                .search-form__filters {
                    padding: unset;

                    .select2-container--default .select2-selection--single {
                        border: 1px solid #E5E7EB !important;
                    }
                }

                .search-form__main {
                    display: flex;
                    padding-top: unset;
                    padding-bottom: unset;
                    background-color: unset !important;
                    border: 1px solid #e5e7eb;
                    border-radius: 8px;
                    margin-bottom: 10px;

                    .search-form__input {
                        background-color: unset;
                        padding: unset;
                        width: 100%;

                        input#busca_empleados_texto {
                            height: 50px;
                            width: 100%;
                            border-radius: 8px;
                            border: none;
                            font-size: 16px !important;
                            padding-left: 10px !important;
                        }
                    }

                    .search-form__submit {
                        border: none;
                        width: 50px;
                        height: 50px;
                        border-top-right-radius: 8px;
                        border-bottom-right-radius: 8px;
                        background-color: unset;
                        color: var(--theme-color-1);
                    }

                    .search-form__reset {
                        display: flex;
                        color: white;
                        width: 50px;
                        justify-content: center;
                        align-items: center;
                        border-top-right-radius: 8px;
                        border-bottom-right-radius: 8px;
                        background: var(--theme-color-1);
                    }
                }
            }
        }
    }
}

footer.site-footer {
    .site-footer__container {
        padding: 15px;
        display: flex;
        flex-direction: column;
        row-gap: 10px;
    }

    .site-footer__bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

section.search-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    margin-bottom: 10px;
    display: none;
    /*background-color: #f4d6e2;*/
    padding: 10px;
    position: absolute;
    right: 10px;
    z-index: 10;
    border: 1px solid var(--theme-color-1);

    form#form-search {
        .search-box__controls {
            display: flex;
            padding-top: unset;
            padding-bottom: unset;
            background-color: unset !important;
            width: 100%;
            border: 1px solid #e5e7eb;
            border-radius: 8px;

            > * {
                height: 30px;
            }

            a.search-box__advanced {
                border: none;
                display: block;
                line-height: 50px;
                width: 50px;
                border-radius: unset;
                border-top-left-radius: unset;
                border-bottom-left-radius: unset;
                border-top-left-radius: 8px;
                border-bottom-left-radius: 8px;
                background-color: var(--theme-color-1);
                color: #ffffff;

                > i {
                    position: relative;
                    left: -12px;
                    top: -10px;
                }
            }

            input#advanceSearchInput {
                width: 100%;
                border: none;
                font-size: 14px !important;
                padding-left: 10px !important;
            }

            button#advanceSearchBtn {
                border: none;
                width: 50px;
                border-top-right-radius: 8px;
                border-bottom-right-radius: 8px;
                background-color: unset;
                color: var(--theme-color-1);

                > i {
                    position: relative;
                    top: -2px;
                    color: var(--theme-color-1);
                }
            }
        }
    }
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    .tag {
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 20px;
        background-color: #FFFFFF;
        color: var(--theme-color-1);
        transition: background 0.2s, color 0.2s;
        border: var(--theme-color-1) solid 1px;
    }

    .tag:hover {
        background: #f4d6e2;
        color: var(--theme-color-1);
        border: unset;
    }
}

nav.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    .breadcrumb__list {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: .5rem;

        margin: 0;
        padding: 0;

        list-style: none;

        flex: 1;
        min-width: 0;

        /* SEPARADOR */
        .breadcrumb__item:not(:last-child)::after {
            content: "/";
            margin-left: .5rem;
            color: #999;
        }

        /* ENLACES */
        .breadcrumb__item {
            [aria-current="page"] {
                font-weight: 600;
            }

            a {
                color: inherit;
                text-decoration: none;
            }

            a:hover
            {
                text-decoration: underline;
            }
        }
    }

    .breadcrumb__actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;

        .breadcrumb__detail {
            display: flex;
            align-items: center;
            gap: .4rem;

            text-decoration: none;
        }

        .breadcrumb__menu-toggle {
            padding: 0;
            border: 0;
            background: transparent;
            cursor: pointer;
        }
    }
}

article.page--list-cursos {
    header.page-header
    {
        font-size: 24px;

        .page-header__title
        {
            display: flex;
            align-items: center;
            gap: 12px;

            .page-header__icon
            {
            }

            .page-header__heading
            {
                .badge
                {
                    font-size: 12px !important;
                    padding: 2px 9px;
                    margin-top: 10px !important;
                }
            }
        }

        .page-header__actions
        {
            white-space: nowrap;

            .page-header__action
            {
                background: var(--theme-color-1);
                color: white;
                font-weight: 600;
                padding: 9px 16px;
                font-size: 13px;
                border-radius: 8px;
            }

            .page-header__action:hover
            {
                text-decoration: none;
                color: var(--theme-color-1);
                background: white;
            }
        }
    }

    section.page-content {
        section.list-filter {
            .list-filter__row {
                align-items: center;
                gap: 16px;

                .list-filter__field
                {
                    width: unset !important;
                    flex: 0 0 auto;
                }

                .search-form__field--search {
                    flex: 1;
                    min-width: 200px;
                    /*min-width: 200px;*/
                    /*width: calc(100% - 200px - 10px);*/

                    .search-form__control {
                        display: flex;
                        flex-wrap: nowrap;
                        flex-direction: row;
                        width: 100%;

                        input#search {
                            border-top-right-radius: unset;
                            border-bottom-right-radius: unset;
                            border-right: unset;
                            min-width: 140px;
                            width: 100%;
                        }

                        .search-form__actions {
                            button.search-form__submit {
                                height: 34px;
                                width: 34px;
                                color: var(--theme-color-1);
                                background-color: white;
                                border: 1px solid #ccc;
                                border-left: unset;
                                border-radius: 4px;
                                border-top-left-radius: unset;
                                border-bottom-left-radius: unset;
                                box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
                            }
                        }
                    }
                }
            }
        }

        section.list-results--cursos {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 16px;

            article:hover {
                background: #fff !important;
                border-color: #d1d5db !important;
                box-shadow: 0 4px 12px rgba(0, 0, 0, .08);

                .card__top {
                    background: var(--theme-color-1) !important;
                }

                .card__body {
                    .card__title {
                        white-space: normal !important;
                        overflow: visible !important;

                        a {
                            color: var(--theme-color-1) !important;
                        }
                    }

                    a.card__estatus-inscripcion-abierta {
                        text-decoration: none;
                    }

                    .card__icon,
                    .card__status {
                        background: #f4d6e2 !important;
                        color: var(--theme-color-1) !important;
                        border: unset;
                    }
                }
            }

            article.card.card-curso {
                border: 1px solid #e5e7eb; /*var(--border);*/
                border-radius: var(--radius-card);
                background: #f9fafb; /*var(--surface);*/
                overflow: hidden;
                display: flex;
                flex-direction: column;

                /*position: relative;*/
                /*gap: 14px;*/
                /*padding: 16px;*/
                /*border-radius: 8px;*/
                /*border: 1px solid #e5e7eb;*/
                transition: all 0.2s ease;
                /*min-width: 0;*/


                .card__top {
                    height: 6px;
                    background: var(--theme-curso-status, var(--ok));
                }

                .card__body {
                    padding: 16px 16px 14px;
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    flex: 1;

                    .card__icon {
                        width: 34px;
                        height: 34px;
                        border-radius: 9px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        background: var(--theme-curso-icon-bg, var(--ok-tint));
                        color: var(--theme-curso-icon-fg, var(--ok));

                        svg {
                            width: 18px;
                            height: 18px;
                        }
                    }

                    .card__title {
                        margin-top: 0;
                        /*font-family: var(--font-display);--font-display: "Open Sans", "Segoe UI", Arial, sans-serif;*/
                        font-size: 16px !important;
                        font-weight: 600;
                        line-height: 1.3;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;

                        a {
                            color: #1f2937;
                            text-decoration: none;
                        }
                    }

                    .card__meta {
                        font-size: 12.5px;
                        color: #333333; /*var(--ink-muted);*/
                        display: flex;
                        flex-direction: column;
                        gap: 3px;

                        .card__meta-item {
                            display: flex;
                            align-items: center;
                            gap: 6px;
                        }

                        svg {
                            width: 12px;
                            height: 12px;
                            opacity: .75;
                            flex: none;
                        }
                    }

                    .card__status {
                        align-self: flex-start;
                        font-size: 11px;
                        font-weight: 700;
                        letter-spacing: .02em;
                        padding: 3px 10px;
                        border-radius: var(--radius-pill);
                        background: var(--theme-curso-pill-bg, var(--ok-tint));
                        color: var(--theme-curso-pill-fg, var(--ok));
                        margin-top: auto;
                    }

                    a.card__estatus-inscripcion-abierta {
                        color: inherit;
                        text-decoration: none;

                        .card__status {
                            width: 100%;
                            display: block;
                            text-align: center;
                            font-size: 14px;
                            padding-top: 5px;
                            padding-bottom: 5px;

                            svg.card__status-icon {
                                height: 1em;
                            }
                        }
                    }
                }

            }

            article.card-curso--proximo
            {
                --theme-curso-status:var(--pending);
                --theme-curso-icon-bg:var(--pending-tint);
                --theme-curso-icon-fg:var(--pending);
                --theme-curso-pill-bg:var(--pending-tint);
                --theme-curso-pill-fg:var(--pending);
            }

            article.card-curso--inscripcion-abierta
            {
                --theme-curso-status:var(--ok);
                --theme-curso-icon-bg:var(--ok-tint);
                --theme-curso-icon-fg:var(--ok);
                --theme-curso-pill-bg:var(--ok-tint);
                --theme-curso-pill-fg:var(--ok);
            }

            article.card-curso--inscripcion-cerrada
            {
                --theme-curso-status:var(--closed);
                --theme-curso-icon-bg:var(--closed-tint);
                --theme-curso-icon-fg:var(--closed);
                --theme-curso-pill-bg:var(--closed-tint);
                --theme-curso-pill-fg:var(--closed);
            }

            article.card-curso--en-curso
            {
                --theme-curso-status:var(--brand);
                --theme-curso-icon-bg:var(--brand-tint);
                --theme-curso-icon-fg:var(--brand);
                --theme-curso-pill-bg:var(--brand-tint);
                --theme-curso-pill-fg:var(--brand);
            }

            article.card-curso--completado
            {
                --theme-curso-status:var(--done);
                --theme-curso-icon-bg:var(--done-tint);
                --theme-curso-icon-fg:var(--done);
                --theme-curso-pill-bg:var(--done-tint);
                --theme-curso-pill-fg:var(--done);
            }

            article.card-curso--inscrito {
                --theme-curso-status: var(--inscrito);
                --theme-curso-icon-bg: var(--inscrito-tint);
                --theme-curso-icon-fg: var(--inscrito);
                --theme-curso-pill-bg: var(--inscrito-tint);
                --theme-curso-pill-fg: var(--inscrito);
            }

            /*article.card-curso--proximo {
                --theme-curso-status: var(--pending);
                --theme-curso-icon-bg: var(--pending-tint);
                --theme-curso-icon-fg: var(--pending);
                --theme-curso-pill-bg: var(--pending-tint);
                --theme-curso-pill-fg: var(--pending);
            }

            article.card-curso--inscripcion-abierta {
                --theme-curso-status: var(--border-strong);
                --theme-curso-icon-bg: var(--grey-tint);
                --theme-curso-icon-fg: var(--ink-muted);
                --theme-curso-pill-bg: var(--grey-tint);
                --theme-curso-pill-fg: var(--ink-muted);
            }

            article.card-curso--inscripcion-cerrada {
                --theme-curso-status: var(--closed);
                --theme-curso-icon-bg: var(--closed-tint);
                --theme-curso-icon-fg: var(--closed);
                --theme-curso-pill-bg: var(--closed-tint);
                --theme-curso-pill-fg: var(--closed);
            }

            article.card-curso--en-curso {
                --theme-curso-status: var(--ok);
                --theme-curso-icon-bg: var(--ok-tint);
                --theme-curso-icon-fg: var(--ok);
                --theme-curso-pill-bg: var(--ok-tint);
                --theme-curso-pill-fg: var(--ok);
            }

            article.card-curso--completado {
                --theme-curso-status: var(--done);
                --theme-curso-icon-bg: var(--done-tint);
                --theme-curso-icon-fg: var(--done);
                --theme-curso-pill-bg: var(--done-tint);
                --theme-curso-pill-fg: var(--done);
            }*/
        }
    }
}

article.page--detail-curso
{
    row-gap: 20px;

    header.page-header
    {
        background: linear-gradient(135deg,var(--brand-deep),var(--theme-color-1));
        color: #f1f6f2;
        border-radius: 14px;
        padding: 26px 26px 22px !important;
        margin-bottom: 0 !important;

        .page-header__title
        {
            gap: 12px !important;
            color: inherit !important;

            .page-header__main {
                display: flex;
                flex-direction: column;

                .page-header__eyebrow
                {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 6px;

                    font-size: 13px;
                    font-weight: 600;
                    color: #f4d6e2;
                }

                .page-header__heading {
                    i.icon {
                        align-content: center;
                    }

                    h2 {
                        color: inherit !important;
                    }
                }
            }

            .page-header__actions {
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                gap: 8px;
                flex-shrink: 0;
                margin-left: unset;

                a.curso-detail__download
                {
                    background: white !important;
                    color: var(--theme-color-1) !important;
                    font-weight: 600;
                    padding: 9px 16px;
                    font-size: 13px;
                    border-radius: 8px;
                }

                a.curso-detail__download:hover
                {
                    text-decoration: none;
                    background: var(--theme-background-hover) !important;
                }

                span.page-header__status
                {
                    font-size: 12px;
                    color: var(--theme-background-hover);
                }
            }
        }

        .page-header__meta
        {
            display: flex;
            column-gap: 18px;
            margin-top: 14px;
            flex-wrap: wrap;
            font-size: 12.5px;

            .page-header__meta-item--inscripcion
            {
                display: flex;
                gap: 6px;

                > svg
                {
                    width: 1em;
                    height: 1em;
                    align-self: center;
                }

                .card__meta-status {
                    display: flex;
                    gap: 6px;

                    svg.card-icon__svg {
                        width: 1em;
                        height: 1em;
                        align-self: center;
                    }
                }
            }
        }
    }

    section.page-content
    {
        h3
        {
            color: var(--theme-color-1);
        }

        .curso-detail
        {
            display: grid;
            grid-template-columns: 1.6fr 1fr;
            gap: 20px;
            align-items: start;

            .curso-detail__main
            {
                display: flex;
                flex-direction: column;
                row-gap: 20px;
                background: var(--theme-box-background-color);
                border: 1px solid var(--theme-box-border-color);
                border-radius: 14px;
                padding: 20px;

                section.curso-detail__section
                {
                    .curso-detail__facts
                    {
                        display: flex;
                        gap: 8px;
                        flex-wrap: wrap;

                        span.tag
                        {
                            font-size: 12px;
                            padding: 5px 11px;
                            border-radius: var(--radius-pill);
                            background: var(--ok-tint);
                            color: var(--ok);
                            border: 1px solid transparent;
                            font-weight: 600;
                        }
                    }

                    .curso-detail__description
                    {
                        margin-top: 10px;
                    }

                    .curso-detail__empty
                    {
                        display: flex !important;
                        justify-content: center;
                        align-items: center;
                        background: var(--theme-background-hover);
                        border-radius: 8px;
                        padding: 15px;
                        gap: 12px;
                        color: #374151;

                        i
                        {
                            font-size: 24px;
                        }
                    }

                    .curso-detail__timeline
                    {
                        display: flex;
                        flex-direction: column;
                        gap: 0;
                        margin-top: 14px;

                        .curso-detail__timeline-item:not(:last-child)::before
                        {
                            content: "";
                            position: absolute;
                            left: 5px;
                            top: 16px;
                            bottom: 0;
                            width: 1px;
                            background: var(--border-strong);
                        }

                        .curso-detail__timeline-item
                        {
                            display: flex;
                            gap: 12px;
                            padding-bottom: 16px;
                            position: relative;

                            .curso-detail__timeline-dot
                            {
                                width: 11px;
                                height: 11px;
                                border-radius: 50%;
                                background: var(--ok-tint);
                                border: 2px solid var(--ok);
                                flex: none;
                                margin-top: 2px;
                            }

                            .curso-detail__timeline-dot.done
                            {
                                background: var(--ok);
                            }

                            .curso-detail__timeline-content
                            {
                                strong
                                {
                                    font-size: 13px;
                                    display: block;
                                }

                                span
                                {
                                    font-size: 12px;
                                    color: var(--ink-faint);
                                }
                            }
                        }
                    }
                }
            }

            aside.curso-detail__aside
            {
                display: flex;
                flex-direction: column;
                row-gap: 20px;

                section
                {
                    display: flex;
                    flex-direction: column;
                    background: var(--theme-box-background-color);
                    border: 1px solid var(--theme-box-border-color);
                    border-radius: 14px;
                    padding: 20px;
                }

                section.curso-detail__card--image
                {
                    img
                    {
                        height: 150px;
                        width: auto;
                        margin-left: auto;
                        margin-right: auto;
                        border-radius: 12px;
                    }
                }

                section.curso-detail__card
                {
                    .curso-detail__capacity-info {
                        display: flex;
                        justify-content: space-between;
                        margin-top: 12px;
                        font-size: 13px;
                        color: var(--text-muted);
                    }

                    .curso-detail__capacity-bar {
                        height: 6px;
                        margin-top: 8px;
                        overflow: hidden;
                        border-radius: 999px;
                        background: var(--grey-light);
                    }

                    .curso-detail__capacity-fill {
                        display: block;
                        height: 100%;
                        border-radius: inherit;
                        background: var(--brand);
                    }

                    .curso-detail__capacity-registration {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;
                        margin-top: 18px;
                        padding-top: 14px;
                        font-size: 13px;

                        .curso-detail__registration-user-status
                        {
                            display: flex;
                            gap: 6px;
                            margin-top: 10px;

                            .curso-detail__registration-user-date
                            {
                                display: flex;
                                gap: 6px;

                                > svg
                                {
                                    height: 1em;
                                    width: 1em;
                                    align-self: center;
                                }
                            }
                        }

                        .curso-detail__registration-action
                        {
                            font-size: 16px;
                            color: white;
                            font-weight: 500;
                            text-decoration: none;
                            padding: 8px 8px;
                            border-radius: 12px;
                            transition: background 0.2s, color 0.2s;
                            border: var(--theme-background-hover) solid 1px !important;
                            background: var(--theme-color-1);
                            margin-top: 20px;
                            display: flex;
                            gap: 5px;
                            justify-content: center;

                            > svg
                            {
                                height: 1em;
                                width: 1em;
                                align-self: center;
                            }
                        }

                        .curso-detail__registration-action:hover
                        {
                            color: var(--theme-color-1);
                            background: var(--theme-background-hover);
                        }

                    }

                    .curso-detail__capacity-registration span {
                        color: var(--text-muted);
                    }

                    .curso-detail__progress
                    {
                        margin-top: 6px;

                        .curso-detail__progress-value
                        {
                            .curso-detail__progress-percent
                            {
                                font-size: 30px;
                                /*font-weight: 600;*/
                                color: var(--ok);
                            }

                            .curso-detail__progress-label
                            {
                                font-size: 12px;
                                color: var(--ink-muted);
                            }
                        }

                        .curso-detail__progress-bar
                        {
                            height: 8px;
                            border-radius: 4px;
                            background: var(--grey-tint);
                            overflow: hidden;
                            margin: 10px 0 4px;

                            span.curso-detail__progress-fill
                            {
                                display: block;
                                height: 100%;
                                background: var(--ok);
                            }
                        }

                        .curso-detail__progress-meta
                        {
                            font-size: 13.5px;
                            color: var(--ink-muted);
                            line-height: 1.6;
                        }
                    }

                    .curso-detail__empty
                    {
                        display: flex !important;
                        justify-content: center;
                        align-items: center;
                        background: var(--theme-background-hover);
                        border-radius: 8px;
                        padding: 15px;
                        gap: 12px;
                        color: #374151;

                        i
                        {
                            font-size: 24px;
                        }
                    }
                }
            }
        }
    }

    section.curso-detail__registration
    {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
        background: var(--theme-box-background-color);
        border: 1px solid var(--theme-box-border-color);
        border-radius: 14px;
        padding: 20px;

        h3
        {
            color: var(--theme-color-1);
        }

        header
        {}

        form#form-curso-inscripcion
        {
            display: flex;
            flex-direction: column;
            row-gap: 20px;

            .curso-detail__form-field
            {
                display: flex;
                flex-direction: column;
            }

            footer.curso-detail__form-actions
            {
                display: flex;
                flex-direction: row;
                justify-content: space-around;

                > *
                {
                    font-size: 14px;
                    color: var(--theme-color-1) !important;
                    font-weight: 500;
                    text-decoration: none;
                    padding: 4px 8px;
                    border-radius: 6px;
                    transition: background 0.2s, color 0.2s;
                    border: #e5e7eb solid 1px !important;
                    background: white;
                }

                button.curso-detail__form-button--register
                {
                    background: var(--theme-color-1);
                    color: white !important;
                }

                button.curso-detail__form-button--register:hover
                {
                    background: white;
                    color: var(--theme-color-1) !important;
                }

                button.curso-detail__form-button--cancel:hover
                {
                    background: var(--theme-background-hover);
                }
            }
        }
    }
}

.curso-detail__registration-deadline {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-muted);
}

.curso-detail__registration-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.curso-detail__registration-status svg {
    width: 1.1em;
    height: 1.1em;
    flex: 0 0 auto;
}

.curso-detail__registration-status--no-abierta {
    color: #2563eb;
}

.curso-detail__registration-status--abierta {
    color: #15803d;
}

.curso-detail__registration-status--cerrada {
    color: #6b7280;
}

.curso-detail__registration-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
}

.curso-detail__registration-action svg {
    width: 1.1em;
    height: 1.1em;
    flex: 0 0 auto;
}

.status-inscripcion--inscrito
{
    color: var(--inscrito);
}

.status-inscripcion--pendiente
{
    color: var(--pendiente);
}

.status-inscripcion--rechazado
{
    color: var(--rechazado);
}

.status-inscripcion--aceptado
{
    color: var(--aceptado);
}
/* Aviso de inscripción sin formulario (detalle de curso) */
.curso-detail__registration-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
}

.curso-detail__registration-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Ocupa todo el ancho de la tarjeta (compensa su padding de 20px) */
    margin: 0 -20px;
    padding: 12px 20px;
    border-top: 1px solid var(--theme-background-hover);
    border-bottom: 1px solid var(--theme-background-hover);
    background: #fff;
    color: var(--theme-color-1);
    font-size: 13px;
}

.curso-detail__registration-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--theme-color-1);
    font-size: 14px;
}

.curso-detail__registration-info .curso-detail__registration-info-icon .fa,
.curso-detail__registration-info .curso-detail__registration-info-option-icon .fa {
    color: var(--theme-color-1);
}

.curso-detail__registration-info-title {
    font-weight: 400;
    color: var(--theme-color-1);
}

.curso-detail__registration-info-deadline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 0;
    color: var(--theme-color-1);
    font-size: 13px;
    font-weight: 600;
}

.curso-detail__registration-info-text {
    margin: 0;
    text-align: justify;
}

.curso-detail__registration-info-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.curso-detail__registration-info-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--theme-background-hover);
    border-radius: 10px;
    background: #fff;
}

.curso-detail__registration-info-option-icon {
    flex: 0 0 auto;
    width: 1.2em;
    color: var(--theme-color-1);
    font-size: 17px;
    text-align: center;
}

.curso-detail__registration-info-option > span:last-child {
    text-align: justify;
}

.curso-detail__registration-info-option a {
    font-weight: 600;
    color: var(--theme-color-1);
    word-break: break-all;
}

/* Texto de inscripción editable desde el CMS (bloqueHtml / FormacionInscripcionSinFormulario).
   Mismo aspecto que el bloque por defecto: los elementos se separan igual que en este. */
.curso-detail__registration-info-cms {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.curso-detail__registration-info-cms p {
    margin: 0;
    text-align: justify;
}

/* Las opciones van alineadas con el aviso aunque el CKEditor quite las clases de la lista */
.curso-detail__registration-info-cms ol,
.curso-detail__registration-info-cms ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.curso-detail__registration-info-cms li {
    margin: 0;
}

/* El CKEditor exige contenido en los iconos (<i class="fa">&nbsp;</i>): se oculta ese espacio */
.curso-detail__registration-info-cms i.fa {
    display: inline-block;
    width: 1.2em;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

/* Asunto sugerido para el correo de inscripción */
.curso-detail__registration-info-subject {
    display: block;
    margin-top: 4px;
    font-size: 0.92em;
    text-align: left;
}

/* "Muy importante": aviso en naranja/rojo para que llame la atención */
.curso-detail__registration-info-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #fdba74;
    border-left: 5px solid #ea580c;
    border-radius: 10px;
    background: #ffedd5;
    color: #7c2d12;
    font-size: 14px;
}

.curso-detail__registration-info-warning .fa {
    margin-top: 2px;
    color: #ea580c;
    font-size: 18px;
}

.curso-detail__registration-info-warning strong {
    color: #c2410c;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Enlace de ubicación a Google Maps (cabecera del curso) */
.page-header__meta-link,
.page-header__meta-link:hover,
.page-header__meta-link:focus {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Documentación del curso */
.curso-detail__documents-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border: 1px dashed var(--theme-box-border-color);
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.curso-detail__documents-empty .fa {
    flex: 0 0 auto;
    font-size: 22px;
    color: var(--theme-color-1);
    opacity: 0.6;
}

.curso-detail__documents-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.curso-detail__document {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--theme-box-border-color);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.15s, border-color 0.15s, background 0.15s;
}

.curso-detail__document:hover,
.curso-detail__document:focus-visible {
    border-color: var(--theme-color-1);
    background: color-mix(in srgb, var(--theme-background-hover) 40%, #fff);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    color: inherit;
    text-decoration: none;
}

.curso-detail__document:focus-visible {
    outline: 2px solid var(--theme-color-1);
    outline-offset: 2px;
}

.curso-detail__document-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    color: var(--theme-color-1);
    font-size: 22px;
}

.curso-detail__document-text {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.curso-detail__document-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2937;
    overflow-wrap: anywhere;
}

.curso-detail__document-type {
    font-size: 12px;
    color: var(--text-muted);
}

.curso-detail__document-download {
    flex: 0 0 auto;
    font-size: 15px;
    color: var(--theme-color-1);
}
