@CHARSET "UTF-8";

html,
body {
    height: 100%;
    font-weight: 400;
    font-style: normal;
    text-rendering: optimizeLegibility;
    text-rendering: geometricPrecision;
    font-smooth: always;
    font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
    scroll-behavior: smooth
}

/* Global */
.alert {
    padding: 1rem;
}
.alert.alert-dismissible {
    padding-right: 3rem;
}
.invalid-feedback {
    font-size: 90% !important;
}
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400 !important;
}
.block-header {
    padding: 1.25rem 0 0.75rem 0;
}
.block-title {
    margin: 0.50rem 0 0;
    font-size: 1.50rem;
    color: #333;
}
.bootstrap-switch.bootstrap-switch-focused {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.custom-select {
    box-shadow: none !important;
}
.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-label {
    padding: 0.375rem 0.5rem !important;
}
.select2-container--default .select2-results > .select2-results__options {
    max-height: 350px;
}
.card-header:empty,
.card-footer:empty {
    padding: 0;
}
.info-box .info-box-number {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 700;
}
.info-box .progress {
    height: 1px;
}
.info-box .progress .progress-bar {
    background-color: inherit;
}

/* Toolbar */
.toolbar {
    display: inline-flex;
}
.toolbar .nav-item {
    margin-left: 0.50rem;
}
.toolbar .nav-item:first-child {
    margin-left: 0;
}
.toolbar .nav-link i {
    pointer-events: none;
}
.toolbar .nav-link {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 2px rgba(0, 0, 0, 0.125);
}
.toolbar .btn-default {
    color: #6c757d;
}
.toolbar .btn-default,
.toolbar .nav-item {
    background-color: #fff;
}
.toolbar .btn-default,
.toolbar [class*="btn-outline"] {
    border-color: transparent;
}
.btn-default:hover,
.btn-default:active,
.btn-default.hover,
.btn-default:focus {
    background-color: #e9ecef;
}
.toolbar [class*="btn-outline"]:focus {
    border-color: inherit;
}
.toolbar .dropdown-toggle::after {
    margin: 0;
    border: none;
}

/* Home */
.card .list-group > .list-group-item {
    display: flex;
    justify-content: flex-start;
}
.card .nav-link.toggle {
    transition: transform 150ms;
}
.card .nav-link.flush[aria-expanded='false'] {
    display: none;
}
.card .nav-link.toggle[aria-expanded='true'] {
    transform: rotate(180deg);
}

/* Tables */
.table.align-middle tr th,
.table.align-middle tr td {
    vertical-align: middle;
    white-space: nowrap;
}
.table tr td:empty:after {
    content: '— Sin especificar —';
    font-style: italic;
    font-size: 0.875rem;
    color: #aaa;
}
.table tr td.empty-undetermined:empty:after {
    content: '— Sin determinar —';
}

/* GridView */
.card .grid-view > .table {
    margin-bottom: 0;
}
.card .grid-view .table > thead > tr > th,
.card .grid-view > .table > thead > tr > td {
    border-top-width: 0;
}
.grid-view .table thead th {
    font-weight: normal;
    border-bottom-width: 1px;
}
:not(.text-sm) .grid-view .table thead th {
    font-size: 0.875rem;
}
.grid-view .table:not(.table-dark) thead th {
    color: #707A8A;
}
.grid-view .table th a {
    color: inherit;
}
.grid-view .table:not(.table-dark) th a:hover,
.grid-view .table:not(.table-dark) th a:focus {
    color: #212529;
}
.grid-view .table th a:after,
.grid-view .table th a.asc:after,
.grid-view .table th a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    padding-left: 5px;
    color: inherit;
}
.grid-view .table th a:after {
    content: '\f0dc';
    color: #bdcad5;
}
.grid-view .table th a.asc:after {
    content: '\f15d';
}
.grid-view .table th a.desc:after {
    content: '\f881';
}
.grid-view .table-hover:not(.table-dark) tbody tr:hover {
    background-color: #eff1f4 !important;
}
.grid-view .table td a.btn {
    color: #6c757d;
}
.grid-view .table.table-dark td a.btn {
    color: #ccc;
}
.grid-view .table td.actions {
    text-align: right;
}
.grid-view .table td.actions .btn {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}
.grid-view .table td.actions .btn:last-child {
    margin-right: -0.5rem;
}
.pagination {
    margin-bottom: 0;
}
@media (max-width:575px) {
    .pagination > .page-item:not(.first):not(.prev):not(.active):not(.next):not(.last) {
        display: none;
    }
}

/* GridViewSearch */
.grid-view-search .input-group {
    border-radius: 0.25rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 2px rgba(0, 0, 0, 0.125);
    background-color: #fff;
}
.grid-view-search .input-group .form-control {
    height: calc(2.5rem + 2px);
    padding: 0.5rem 0 0.5rem 0.75rem;
    border: none;
    background: transparent;
}
.grid-view-search .input-group .form-select {
    height: calc(2.5rem + 2px);
    min-width: 80px;
    border: none;
}
.grid-view-search .input-group .form-select:not(:first-child) {
    border-left: 1px solid #ddd;
}
.grid-view-search .input-group .btn {
    min-width: 2.625rem;
    padding: 0.5rem 0.75rem;
    background-color: #fff;
    border: none;
    color: #6c757d;
}
.grid-view-search .input-group .btn-default:hover,
.grid-view-search .input-group .btn-default:active,
.grid-view-search .input-group .btn-default.hover,
.grid-view-search .input-group .btn-default:focus {
    background-color: #e9ecef;
}
.grid-view-search .search-reset:after {
    position: absolute;
    left: 0;
    content: '';
    display: block;
    height: 60%;
    border-left: 1px solid #ddd;
    top: 20%;
}
.grid-view-search .input-group-append {
    margin-left: 0;
}
.grid-view-search .input-group-append .input-group-text {
    align-items: center;
    padding: 0.5rem 0 0.5rem 0.875rem;
    background-color: #fff;
    border: none;
}
.grid-view-search .input-group-append .input-group-text:focus,
.grid-view-search .input-group-append .input-group-text:hover {
    background-color: #e9ecef;
}
.grid-view-search .input-group-append .input-group-text::after {
    display: flex;
    align-items: center;
    justify-content: right;
    content: '';
    height: 100%;
    margin-left: 0.875rem;
    border-right: 1px solid #ddd;
}
.grid-view-footer {
    align-items: center;
}
.grid-view .tree-branch {
    display: inline-block;
    width: 1rem;
    height: 0.75rem;
    border-left: 1px dotted #222;
    border-bottom: 1px dotted #222;
    margin-right: 0.25rem;
}
.grid-view .tree-branch:not(:first-child) {
    border-left: none;
}
.grid-view .tree-branch:last-child {
    margin-right: 0.25rem;
}

/* GridViewFilters */
.grid-view-filters {
    display: flex;
}
.grid-view-filters .filter-toolbar {
    flex-wrap: nowrap;
}
.grid-view-filters .filter-toolbar {
    border-radius: 0.25rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 2px rgba(0, 0, 0, 0.125);
}
.grid-view-filters .filter-toolbar .btn {
    position: relative;
    padding: 0.5rem 0.75rem;
    border-color: transparent;
    background-color: #fff;
    color: #6c757d;;
}
.grid-view-filters .filter-toolbar .btn:hover {
    color: #1f2d3d;
    background-color: #e2e6ea;
}
.grid-view-filters .filter-toolbar .badge {
    color: #fff;
    background-color: #6c757d;
}
.grid-view-filters .filter-toolbar.has-error .badge {
    background-color: #dc3545;
}
@media (max-width: 482px) {
    .grid-view-filters .filter-toolbar .btn .badge {
        width: 20px;
    }
}
.grid-view-filters .filter-toolbar .btn-filter.on.has-error:after {
    color: #f53b31;
}
.grid-view-filters .filter-toolbar .btn-reset:before {
    position: absolute;
    left: -1px;
    content: '';
    display: block;
    height: 60%;
    border-left: 1px solid #ddd;
    top: 20%;
}

/* Filters dialog */
#filters-dialog .col:nth-child(odd) {
    padding-right: 1rem;
}
#filters-dialog .col:nth-child(even) {
    padding-left: 1rem;
}
#filters-dialog .bootstrap-switch .bootstrap-switch-handle-on,
#filters-dialog .bootstrap-switch .bootstrap-switch-handle-off,
#filters-dialog .bootstrap-switch .bootstrap-switch-label {
    padding: 0.5rem 0.75rem !important;
}

/* ListView */
.card .list-view {
    margin-bottom: 0;
}
.card .list-view tr:first-child th,
.card .list-view tr:first-child td {
    border-top: none !important;
}
.list-view th {
    font-weight: normal !important;
    color: #707A8A;
}
:not(.text-sm) .list-view th {
    font-size: 0.937rem;
}
@media (min-width:768px) {
    .list-view th {
        width: 220px;
        word-wrap: break-word;
    }
}
.table-hover.list-view:not(.table-dark) tbody tr:hover {
    background-color: #eff1f4 !important;
}

/* DetailView */
.detail-view .card-body {
    padding: 0 7.5px;
    margin-bottom: -1px;
}
.detail-view .card-body > .row > div {
    margin-top: -1px;
    padding: 0.75rem;
    border-top: 1px solid #d9dbdd;
    border-bottom: 1px solid #d9dbdd;
}
.detail-view div.th {
    font-size: 0.937rem;
    color: #707A8A;
}
.detail-view .row > div:hover,
.detail-view .row > div.th:hover + div.td {
    background-color: #dddfe2 !important;
}
.detail-view .row > div:empty::after {
    content: '— Sin especificar —';
    font-style: italic;
    font-size: 0.875rem;
    color: #aaa;

}
.detail-view h4 {
    margin: -1px -0.5rem 0;
    padding: 0.35rem 1rem;
    font-size: .875rem;
    font-weight: normal;
    text-transform: uppercase;
    color: #747474;
    background-color: #f3f3f3;
    border-top: 1px solid #d9dbdd;
    border-bottom: 1px solid #d9dbdd;
}
@media (min-width: 768px) {
    .detail-view.border-third .card-body > .row > div:nth-child(4n-1) {
        border-left: 1px solid #d9dbdd;
    }
    .detail-view.border-even .card-body > .row > div:nth-child(even) {
        border-left: 1px solid #d9dbdd;
    }
}
.detail-view .clipboard {
    cursor: pointer;
}
.detail-view-totals .card-body {
    padding: 0;
    margin-bottom: -1px;
}
.detail-view-totals .card-body > .row,
.detail-view-totals .card-body > .row > div > .row {
    margin-right: 0;
    margin-left: 0;
}
.detail-view-totals .card-body > .row > div {
    padding: 0;
}
@media (max-width: 767px) {
    .detail-view-totals .card-body > .row > div:not(:last-child) {
        border-bottom: 1px solid #d9dbdd;
    }
}
.detail-view-totals .card-body > .row > div > .row > div.th {
    font-size: 0.937rem;
    color: #707A8A;
    padding: 0.75rem
}
.detail-view-totals .card-body > .row > div > .row > div.td {
    padding: 0.75rem;
}
@media (min-width: 768px) {
    .detail-view-totals .card-body > .row > div:not(:last-child) {
        border-right: 1px solid #d9dbdd;
    }
    .detail-view-totals .card-body > .row > div > .row > div.th {
        padding-bottom: 0.175rem;
    }
    .detail-view-totals .card-body > .row > div > .row > div.td {
        padding-top: 0.175rem;
    }
}
.detail-view-totals .row > div > .row:hover {
    background-color: #dddfe2 !important;
}
/* GridViewPage */
.grid-view-page {
    padding: 0.5rem 0;
}
@media (min-width: 992px) {
    .grid-view-page {
        padding: 1rem 0;
    }
}
.grid-view-page .form-group {
    display: inline-block;
    margin-bottom: 0;
    font-size: 0.875rem;
}
.grid-view-page .form-group span {
    margin-left: 0.375rem;
    margin-right: 0.375rem;
}
.grid-view-page .form-group span:first-child {
    margin-left: 0;
}
.grid-view-page .form-group span:last-child {
    margin-right: 0;
}
.grid-view-page .form-control {
    display: inline-block;
    width: 3.5rem;
    height: auto;
    padding: 0.125rem 0.25rem;
    font-size: 0.875rem;
    text-align: center;
}
.grid-view-page .input-group-text {
    padding-left: 0.50rem;
    padding-right: 0.25rem;
    background-color: #fff;
    border: none;
}
.grid-view-page .form-control:focus {
    border-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.35);
}

/* GridViewPageSise */
.grid-view-page-size {
    display: inline-flex;
}

/* Forms */
.form-block {
    margin-bottom: 1.5rem;
}
.form-block-title {
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: .875rem;
    font-weight: normal;
    text-transform: uppercase;
    color: #747474;
}
.card-body .form-block:last-child {
    margin-bottom: 0;
}
.input-container {
    position: relative;
}
.btn-toggle {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}
.was-validated .form-control.has-button:valid ~ .btn-toggle,
.form-control.has-button.is-valid ~ .btn-toggle,
.was-validated .form-control.has-button:invalid ~ .btn-toggle,
.form-control.has-button.is-invalid ~ .btn-toggle {
    right: 2.25rem;
}
.was-validated .form-control.has-button:valid,
.form-control.has-button.is-valid,
.was-validated .form-control.has-button:invalid,
.form-control.has-button.is-invalid {
    padding-right: calc(2rem + 2.25rem);
}
.btn-toggle:hover,
.btn-change:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}
.show-pw:before {
    content: '\f06e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}
.hide-pw:before {
    content: '\f070';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}
.was-validated .form-control:valid ~ .select2,
.form-control.is-valid ~ .select2 {
    border-color: #28a745;
}
.form-control.is-valid ~ .select2:not(.select2-container--disabled) .select2-selection {
    border-color: #28a745;
    padding-right: 4.125rem !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-position: right 0.75rem center, center right 2.25rem;
    background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    background-repeat: no-repeat !important;
    box-shadow: none;
}
.form-control.is-invalid ~ .select2 .select2-selection {
    border-color: #dc3545;
    padding-right: calc(0.75em + 2.3125rem) !important;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat, #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) no-repeat;
    background-position-x: right 0.75rem, right 1.75rem;
    background-position-y: center, center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-size: 8px 10px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    background-repeat: no-repeat !important;
    box-shadow: none;
}
.select2-container--bootstrap.select2-container--focus .select2-selection, .select2-container--bootstrap.select2-container--open .select2-selection {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
    background: #f1f1f1 !important;
    padding: 2px 6px !important;
}

.form-beneficiaries .form-control.is-valid {
    padding-right: 0.75rem !important;
    background-image: none;
}
.form-beneficiaries .form-control.is-valid ~ .select2:not(.select2-container--disabled) .select2-selection {
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}
.form-beneficiaries .custom-select.is-valid {
    padding: 0.375rem 1.75rem 0.375rem 0.75rem !important;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat !important;
}
.form-beneficiaries .custom-checkbox {
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
.form-beneficiaries .form-check .form-check-input {
    float: none;
    position: relative;
    margin: 0;
    vertical-align: -2px;
}

/* Others */
.not-set {
    color: #c5c5c5;
    font-style: italic;
}
.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}
.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
.accordion {
    border-radius: 0.375rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125);
}
.accordion .accordion-item .list-unstyled {
    margin-bottom: 0;
}
.accordion > .card:not(:last-of-type) {
    margin-bottom: 0;
}
.accordion > .card > .card-header {
    border-radius: 0;
    margin-bottom: -1px;
}
.accordion > .card > .card-header .btn > i {
    transition: transform 150ms;
}
.accordion > .card > .card-header .btn:not(.collapsed) > i {
    transform: rotate(90deg);
}
.accordion > .card .card-body > .list-unstyled {
    margin-bottom: 0;
}
.accordion > .card .card-body > .list-unstyled li {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.accordion > .card .card-body > .list-unstyled li:first-child {
    padding-top: 0;
}
.accordion > .card .card-body > .list-unstyled li:last-child {
    padding-bottom: 0;
}
.input-group:not(.has-validation) .custom-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group .rounded-end {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

/* Fix */
.content-header h1 {
    margin-bottom: 0.125rem;
}
.invalid-feedback {
    display: block;
}
.invalid-feedback:empty {
    margin-top: 0;
}
.form-control-checkbox {
    width: 34px;
    height: calc(1.8125rem + 2px);
}
.file-input .kv-fileinput-error ul {
    padding-left: 0;
    list-style: none;
}
.select2-container--krajee-bs5.select2-container--open:not(.select2-container--disabled) .select2-selection,
.select2-container--krajee-bs5:not(.select2-container--disabled) .select2-selection:focus {
    border-color: #86b7fe !important;
    box-shadow: none !important;
}
.select2-container--krajee-bs5:not(.select2-container--disabled) .select2-dropdown {
    margin-top: 0 !important;
    border-color: #ced4da !important;
    box-shadow: none !important;
}
select.is-valid + .select2-container--krajee-bs5 .select2-selection--single,
.has-success.select2-container--krajee-bs5 .select2-dropdown,
.has-success .select2-container--krajee-bs5 .select2-selection {
    border-color: #ced4da !important;
}
.select2-selection select2-selection--single,
.select2-container--krajee-bs5 .select2-selection--single {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
}
.select2-container--krajee-bs5 .select2-selection--single .select2-selection__clear,
.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__clear {
    font-size: 1.5rem !important;
}
.table > :not(:first-child) {
    border-top-width: 1px;
    border-top-color: #dee2e6;
}
.btn-fullscreen {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000' %3e%3cpath d='M5.828 10.172a.5.5 0 0 0-.707 0l-4.096 4.096V11.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H4.5a.5.5 0 0 0 0-1H1.732l4.096-4.096a.5.5 0 0 0 0-.707zm4.344-4.344a.5.5 0 0 0 .707 0l4.096-4.096V4.5a.5.5 0 1 0 1 0V.525a.5.5 0 0 0-.5-.5H11.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707z'/%3e%3c/svg%3e") center/18px auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
}
.modal-fullscreen .btn-fullscreen {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.172 15.828a.5.5 0 0 0 .707 0l4.096-4.096V14.5a.5.5 0 1 0 1 0v-3.975a.5.5 0 0 0-.5-.5H1.5a.5.5 0 0 0 0 1h2.768L.172 15.121a.5.5 0 0 0 0 .707zM15.828.172a.5.5 0 0 0-.707 0l-4.096 4.096V1.5a.5.5 0 1 0-1 0v3.975a.5.5 0 0 0 .5.5H14.5a.5.5 0 0 0 0-1h-2.768L15.828.879a.5.5 0 0 0 0-.707z'/%3e%3c/svg%3e") center/18px auto no-repeat;
}
.btn-fullscreen:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}
.ratio-custom {
    position: relative;
    display: block;
    width: 100%;
    height: 60vh;
}
.modal-fullscreen .ratio-custom {
    height: 100%;
}
/*.modal-header .btn-close,*/
/*.modal-header .btn-fullscreen {*/
/*    padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5);*/
/*    margin: 0 0 0 0.5rem;*/
/*}*/

/* Error page */
.site-error > div {
    padding-top: 3rem;
}
@media (min-width: 991px) {
    .site-error > div {
        padding-top: 6rem;
    }
}
.site-error {
    font-size: 1.1rem;
}

.navbar-badge:not(:empty) {
    position: absolute;
    display: inline-block;
    top: 6px;
    left: 26px;
    right: auto;
    min-width: 10px;
    padding: 1px 5px;
    font-size: 11px;
    line-height: 14px;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
    background-color: red;
    color: white;
}

/* Dropdown */
#user-messages .dropdown-menu {
    min-width: 300px;
}
#user-messages .dropdown-header {
    padding: 0 1rem 0.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
}
#user-messages .dropdown-footer {
    padding: 0.5rem 1rem 0 1rem;
    border-top: 1px solid #dee2e6;
    text-align: initial;
}
#user-messages .dropdown-items {
    max-height: 371px;
    background-color: #fff;
    overflow: hidden;
}
#user-messages .dropdown-items .empty {
    padding: 1rem;
    text-align: center;
}
#user-messages .dropdown-items .empty:empty:before {
    content: '— No hay mensajes —';
    font-style: italic;
    font-size: 0.875rem;
    color: #aaa;
}
#user-messages .dropdown-item {
    position: relative;
    padding: 10px 20px;
    background-color: #f4f6f9;
    cursor: pointer;
}
#user-messages .dropdown-item:not(:last-child) {
    border-bottom: 1px solid #dddfe2;
}
#user-messages .dropdown-item .sender {
    opacity: 0.875;
}
#user-messages .dropdown-item .timeago {
    display: inline-block;
    padding-top: 3px;
    font-size: 12px;
    opacity: 0.50;
 }
#user-messages .dropdown-item.read {
    background-color: #fff;
}
#user-messages .dropdown-item:hover {
    background-color: #e9ecef;
}
#user-messages .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
}

/* TinyMCE*/
.tox-tinymce {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
}
.tox:not(.tox-tinymce-inline) .tox-editor-header {
    min-height: 40px !important;
    border-bottom: 1px solid #ced4da !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* offcanvas */
.nav-offcanvas .nav-link {
    padding: 0.15rem 0.75rem;
}
.offcanvas h2 {
    font-size: 1.2rem;
    margin-bottom: .75rem;
}
.offcanvas ul {
    padding-left: 1rem;
    margin-bottom: 1.3rem;
}
.offcanvas ul > li {
    margin-bottom: .5rem;
}

/* Maintenance page */
.site-maintenance > div {
    padding-top: 3rem;
}
@media (min-width: 991px) {
    .site-maintenance > div {
        padding-top: 6rem;
    }
}
.site-maintenance {
    font-size: 1.1rem;
}
.char-counter {
    font-size: small;
    color: gray;
    text-align: end;
}