:root {
    --red: #ed1c24;
    --dark-red: #fa7c9c;
    --dark: #2B2D35;
    --dark-gray: #33343c;
    --gray: #727272;
    --light-gray: #F9F9F9;
    --muted: #aaabb4;
}

/* montserrat-200 - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('../font/montserrat-v26-latin-200.woff2') format('woff2');
}
/* montserrat-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../font/montserrat-v26-latin-regular.woff2') format('woff2');
}
/* montserrat-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../font/montserrat-v26-latin-600.woff2') format('woff2');
}

body {
    font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
    font-size: 15px;
    background-color: var(--light-gray);
}

.strong {
    font-weight: bold;
}

.caps {
    text-transform: uppercase;
}

table {
    color: var(--dark) !important;
}

dl.list-inline dt,
dl.list-inline dd {
    display: inline;
}

.dropdown-divider {
    border-top: 1px dotted rgb(255,255,255,0.1);
}

/* .table th.column-1,
.table th.column-2,
.table th.column-3,
.table th.column-4,
.table th.column-5,
.table th.column-6,
.table th.column-7,
.table th.column-8,
.table th.column-9,
.table th.column-10,
.table th.column-11,
.table th.column-12 {
	position: relative;
  width: 100%;
} */
th.column-1 {
    width: 1.333333%;
}

th.column-2 {
    width: 8.666667%;
}

th.column-3 {
    width: 10.666667%;
}

th.column-4 {
    width: 33.333333%;
}

th.column-5 {
    width: 41.666667%;
}

th.column-6 {
    width: 50%;
}

th.column-7 {
    width: 58.333333%;
}

th.column-8 {
    width: 66.666667%;
}

th.column-9 {
    width: 75%;
}

th.column-10 {
    width: 83.333333%;
}

th.column-11 {
    width: 91.666667%;
}

th.column-12 {
    width: 100%;
}

.table-calendar {
}

    .table-calendar th,
    .table-calendar td {
        width: 14.28%;
    }

    .table-calendar thead th {
        background-color: #f7f7f7;
        border-top: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
    }

    .table-calendar td {
        height: 100px;
    }

    .table-calendar .day-number,
    .table-calendar .menu-edit a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        border-radius: 50%;
    }

    .table-calendar .day-number {
        background-color: #f9f9f9;
        float: right;
    }

    .table-calendar .menu-edit a {
        background-color: var(--red);
        color: #fff;
        float: left;
        visibility: hidden;
    }

    .table-calendar td:hover .menu-edit a {
        visibility: visible;
    }

    .table-calendar .day-today .day-number {
        color: #fff;
        background-color: var(--dark-gray);
    }

    .table-calendar .disabled .day-number {
        background-color: #fff;
        color: var(--muted);
    }

    .table-calendar .day-content {
        padding-top: 30px;
    }


h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

h4 {
    font-size: 1.25rem;
    text-transform: uppercase;
}

h5 {
    font-size: 1rem;
    font-weight: bold;
}

a, a:hover {
    color: var(--red);
    text-decoration: none;
}

.text-muted {
    color: var(--muted) !important;
}

.btn {
    border-radius: 50px;
    padding: .5rem 1rem;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-primary {
    color: #fff !important;
    /*background-color: #fec4d2;*/
    background-color: ##0d6efd;
    border: none;
}

    .btn-primary:hover {
        color: #fff !important;
        /*background-color: var(--dark-red);*/
        background-color: #0b5ed7;
        border: none;
    }

.btn-outline-primary {
    color: var(--red);
    border-color: var(--red);
}

    .btn-outline-primary:hover {
        color: #fff !important;
        background-color: var(--dark-red);
        border-color: var(--dark-red);
    }


.btn-outline-secondary {
    color: #727272 !important;
    background-color: #fff;
    border-color: #DBDCDD;
}

    .btn-outline-secondary:hover {
        color: #fff !important;
        background-color: #727272;
        border-color: #727272;
    }

.btn-link {
    color: var(--muted);
}

    .btn-link:hover {
        color: var(--dark);
        text-decoration: none;
    }

.btn-toolbar .btn {
    padding: 10px 15px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .nav-tabs span {
        display: none;
    }
}

.text-danger {
    color: var(--red) !important;
}

.wrapper {
    position: relative;
    top: 0;
    height: 100vh;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 12%;
    /* box-shadow: 0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2); */
    background-color: var(--dark);
    overflow-y: scroll;
}

    .sidebar .logo {
        text-align: center;
        padding: 10px;
        margin: 10px auto 60px;
    }

        .sidebar .logo img {
            max-width: 100px;
        }

    .sidebar .username {
        margin-top: 45px;
        color: #fff;
    }

    .sidebar .nav {
        /*margin-left: 10px;*/
    }

    .sidebar .nav-item {
        margin-bottom: 10px;
        border-radius: 50px 0 0 50px;
    }

        .sidebar .nav-item.active,
        .sidebar .nav-item.active:hover {
            /*background-color: #fa7c9c;*/
            background-color: #007bff;
        }

        .sidebar .nav-item:hover {
            background-color: var(--dark-gray);
        }

    .sidebar .nav-link {
        color: #fff;
    }

.main-panel {
    position: relative;
    float: right;
    width: calc(100% - 170px);
    transition: .33s,cubic-bezier(.685,.0473,.346,1);
}

    .main-panel .page-title {
        background-color: #fff;
    }

        .main-panel .page-title h1 {
            margin: 0;
            line-height: 1;
        }

    .main-panel .content {
        background-color: var(--light-gray);
        /* padding: 30px; */
    }


#handle {
    position: absolute;
    /*right: 15px;*/
    top: 24px;
    height: 40px;
    width: 50px;
    cursor: pointer;
    z-index: 100;
    transition: 0.2s opacity;
    display: none;
}

    #handle .top {
        top: 0;
        right: 0;
    }

    #handle .middle {
        top: 10px;
        right: 0;
    }

    #handle .bottom {
        top: 20px;
        right: 0;
    }

    #handle svg {
        transition: all 0.4s ease;
        position: absolute;
        fill: var(--dark);
    }

body.nav-open #handle .top {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 0px;
    top: 10px;
}

body.nav-open #handle .middle {
    opacity: 0;
}

body.nav-open #handle .bottom {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
    left: 20px;
}

.trans-fill {
    transition-property: fill;
}

.trans {
    transition-duration: 0.4s;
    transition-timing-function: ease;
}

.logo-sm {
    position: absolute;
    left: 15px;
    top: 12px;
    transition: 0.2s opacity;
    font-size: 30px;
    display: none;
}

    .logo-sm img {
        height: 40px;
    }


@media (max-width: 991px) {
    #handle {
        display: block;
    }

    .logo-sm {
        display: block;
    }

    .sidebar {
        display: none;
        box-shadow: none;
    }

    .off-canvas-sidebar nav .navbar-collapse, .sidebar {
        position: fixed;
        display: block;
        top: 0;
        height: 100vh;
        width: 260px;
        /*right: 0;
        left: auto;*/
        left: 0;
        right: auto;
        z-index: 1032;
        visibility: visible;
        overflow-y: visible;
        border-top: none;
        text-align: left;
        padding-right: 0;
        padding-left: 0;
        /*transform: translate3d(260px,0,0);*/
        transform: translate3d(-260px, 0, 0);
        transition: all .33s cubic-bezier(.685,.0473,.346,1);
    }
    /* .sidebar[data-background-color="black"] {
		background: #191919;
	} */
    .nav-open .sidebar {
        box-shadow: 0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);
    }

    .nav-open .off-canvas-sidebar .navbar-collapse, .nav-open .sidebar {
        transform: translateZ(0);
    }

    .main-panel {
        width: 100%;
    }

    .main-panel, .navbar-collapse {
        transition: all .33s cubic-bezier(.685,.0473,.346,1);
    }

    .nav-open .main-panel, .nav-open .navbar .container, .nav-open .navbar .container .navbar-toggler, .nav-open .navbar .container .navbar-wrapper, .nav-open .wrapper-full-page {
        left: 0;
        transform: translate3d(-260px,0,0);
    }

    .main-panel .page-title {
        padding-top: 90px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: .5rem 1rem;
    }

    .btn-toolbar .btn {
        padding: 0.5rem 1rem;
    }
}

@media (min-width: 991px) {
    .main-panel .content {
        padding-top: 10px;
        padding-left: 25px;
        padding-right: 25px;
        padding-bottom: 30px;
    }

    .main-panel .page-title {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 10px;
        padding-bottom: 20px;
    }
}

@media (min-width: 1000px) {
    .main-panel {
        width: calc(100% - 120px); /* Mantiene el mismo ancho en notebooks */
    }
}

/* Ajuste dinámico para pantallas grandes (monitores de escritorio) */
@media (min-width: 1200px) {
    .main-panel {
        width: calc(100% - 12vw); /* Ajusta dinámicamente a un 20% del ancho de la pantalla */
    }
}

@media (min-width: 1600px) {
    .main-panel {
        width: calc(100% - 12vw); /* Ajuste más flexible para monitores más grandes */
    }
}

.card {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    border: none;
}

.widget {
    margin-bottom: 30px;
}

.widgets .card-body {
    padding: 20px 30px;
}

.widgets h5 {
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0;
}

.widgets .amount {
    font-size: 2.25rem;
    margin-bottom: -5px;
}

    .widgets .amount small {
        font-size: 15px;
    }

.title {
    margin-bottom: 30px;
}

    .title h2 {
        margin-bottom: 0;
        line-height: 1;
    }

table {
    margin-bottom: 30px !important;
}

.table thead th {
    border-top: none;
    border-bottom: none;
}

.table td {
    border-top: none;
    border-bottom: 1px solid #d2d2d2;
    white-space: nowrap;
}

.table-hover .table-danger > td,
.table-hover .table-danger > th {
    background-color: #fde9ea;
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
    background-color: #fcdddf;
}

.th-nowrap {
    white-space: nowrap;
}

.pagination {
    margin-bottom: 30px;
}

.table-hover tbody tr:hover {
    color: inherit;
    background-color: rgba(0,0,0,.025);
}


.input-group .form-control {
    height: 43px;
    border-radius: 50px;
    padding-left: .75rem;
}

textarea.form-control {
    min-height: 200px;
}

.form-control:disabled,
.form-control[readonly] {
    /*background-color: #f9f9f9;*/
    opacity: 1;
}

.form-signin {
    width: 100%;
    max-width: 420px;
    padding: 15px;
    margin: auto;
}

.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

    .form-label-group > .form-control,
    .form-label-group > .custom-select {
        border: none;
        border-bottom: 1px solid #d2d2d2;
        border-radius: 0;
    }

        .form-label-group > .form-control:focus,
        .form-label-group > .custom-select:focus {
            border: none;
            border-bottom: 2px solid var(--red);
            box-shadow: none;
        }



    .form-label-group > input,
    .form-label-group > label,
    .form-label-group > select,
    .form-label-group > textarea {
        padding: .75rem;
        height: 3.125rem;
    }

    .form-label-group > label {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        margin-bottom: 0; /* Override default `<label>` margin */
        line-height: 1.5;
        color: #495057;
        pointer-events: none;
        cursor: text; /* Match the input under the label */
        border: 1px solid transparent;
        border-radius: .25rem;
        transition: all .1s ease-in-out;
    }

    .form-label-group input::-webkit-input-placeholder,
    .form-label-group textarea::-webkit-input-placeholder {
        color: transparent;
    }

    .form-label-group input:-ms-input-placeholder,
    .form-label-group textarea:-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input:-ms-input-placeholder,
    .form-label-group textarea:-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input::-moz-placeholder,
    .form-label-group textarea::-moz-placeholder {
        color: transparent;
    }

    .form-label-group input::placeholder,
    .form-label-group textarea::placeholder {
        color: transparent;
    }

    .form-label-group input:not(:placeholder-shown),
    .form-label-group select:not(:placeholder-shown),
    .form-label-group textarea:not(:placeholder-shown) {
        padding-top: 1.5rem;
        padding-bottom: .25rem;
    }

        .form-label-group input:not(:placeholder-shown) ~ label,
        .form-label-group select:not(:placeholder-shown) ~ label,
        .form-label-group textarea:not(:placeholder-shown) ~ label {
            padding-top: .25rem;
            padding-bottom: .25rem;
            font-size: 13px;
            color: #777;
        }

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
    .form-label-group > label {
        display: none;
    }

    .form-label-group input:-ms-input-placeholder,
    .form-label-group textarea:-ms-input-placeholder {
        color: #777;
    }
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .form-label-group > label {
        display: none;
    }

    .form-label-group input:-ms-input-placeholder,
    .form-label-group textarea:-ms-input-placeholder {
        color: #777;
    }
}






.chk-container {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

table .chk-container {
    padding-left: 0;
}

/* Hide the browser's default checkbox */
.chk-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 3px;
}

/* On mouse-over, add a grey background color */
.chk-container:hover input ~ .checkmark {
    background-color: #f9f9f9;
}

/* When the checkbox is checked, add a blue background */
.chk-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.chk-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.chk-container .checkmark::after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-tabs .nav-link {
    border-radius: 0;
    border: none;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: bold;
}

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        color: var(--dark-gray);
        background-color: #fff;
        border: none;
        border-bottom: 3px solid var(--red);
        border-width: 3px;
    }

.sing-in {
    width: 100%;
    max-width: 440px;
    padding: 15px;
    margin: auto;
    margin-top: 3%;
}

.login {
    background-color: var(--dark);
    color: #fff;
}

    .login .logo {
        width: 210px;
    }

    .login .card {
        color: var(--dark-gray);
    }




.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fec4d2;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */

    z-index: 1001;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #fec4d2;
        -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
        animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #fec4d2;
        -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
        animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg); /* IE 9 */
        transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
    }

    100% {
        -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg); /* IE 9 */
        transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg); /* IE 9 */
        transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
    }

    100% {
        -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg); /* IE 9 */
        transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
    }
}

#loader-wrapper .loader-courtain {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    z-index: 1000;
    -webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(0); /* IE 9 */
    transform: translateX(0); /* Firefox 16+, IE 10+, Opera */
}




/* Loaded */
.loaded #loader-wrapper .loader-courtain {
    /* -webkit-transform: translateX(-100%);
            -ms-transform: translateX(-100%);
                transform: translateX(-100%);

        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
                transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); */
    /* -webkit-transition: opacity 2s;
                transition: opacity 2s; */
}

.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
    visibility: hidden;
    /* -webkit-transform: translateY(-100%);
            -ms-transform: translateY(-100%);
                transform: translateY(-100%);

        -webkit-transition: all 0.3s 1s ease-out;
                transition: all 0.3s 1s ease-out; */
}

/* JavaScript Turned Off */
.no-js #loader-wrapper {
    display: none;
}

#content {
    margin: 0 auto;
    padding-bottom: 50px;
    width: 80%;
    max-width: 978px;
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

    .ir:before {
        content: "";
        display: block;
        width: 0;
        height: 150%;
    }

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

    /*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

    .visuallyhidden.focusable:active,
    .visuallyhidden.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
    }

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

        a[href]:after {
            content: " (" attr(href) ")";
        }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/*
	Ok so you have made it this far, that means you are very keen to on my code.
	Anyway I don't really mind it. This is a great way to learn so you actually doing the right thing:)
	Follow me @ihatetomatoes
*/


body.loaded .preloader {
    display: none;
}

.step {
    border: 1px solid var(--red);
    line-height: 2rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: block;
    text-align: center;
    line-height: 50px;
    color: var(--red);
    float: right;
}

h1 small {
    font-size: 14px;
    color: var(--muted);
}

.w-100.hr {
    border-top: 2px solid #d2d2d2;
    margin-bottom: 20px;
    margin-top: 20px;
}

td.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
    width: 100%;
}

.email-read strong {
    font-weight: normal;
}

.email-unread td {
    background-color: #f0f0f0;
}

.growl {
    width: 350px;
    position: fixed;
    top: 20px;
    right: 25px;
}

.growl-invoice {
    width: 320px;
    position: fixed;
    top: 20px;
    left: 325px;
}

.assignment-success {
    background-color: #bafeca;
    border: 1px solid #a4e4b2;
}

.assignment-suggestion {
    background-color: #fcebba;
    border: 1px solid #f4e3b3;
}

    .assignment-success .form-control[readonly], .assignment-suggestion .form-control {
        background-color: transparent;
    }

.ui-autocomplete {
    z-index: 215000000 !important;
}

.bg-gray-1 {
    background-color: #EEE;
}

.bg-gray-5 {
    background-color: #EAEBEC;
}

.bg-gray-10 {
    background-color: #DFE1E3;
}

.alphabet-filter {
    display: flex;
    justify-content: center; /* Centra los elementos hijos horizontalmente */
    flex-wrap: wrap; /* Permite que los elementos se envuelvan si no hay suficiente espacio */
    margin-bottom: 20px;
    padding-top: 2%;
}

.letter-filter {
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

.sesion-appointment {
    cursor: pointer;
}

.reprogram-appointment {
    cursor: pointer;
}

.notpresent-appointment {
    cursor: pointer;
}

.change-appointment {
    cursor: pointer;
}

.hide-appointment {
    cursor: pointer;
}

.fc-scroller-harness {
    margin-bottom: -30px;
}

/*#contadorCaracteres {
	margin-top: -20px;
}*/

.textareaComentarios {
    /*width: 210%;*/
    min-height: 120px !important;
    border: 1px solid #aaa !important;
}

.textareaExamen {
    min-height: 150px !important;
}

span.examenClinico {
    font-size: 12px;
    font-weight: 600;
}

.usuarioFirma {
    width: 200px;
    height: 150px;
    border: 2px dotted #d2d2d2;
}

.firma {
    width: 200px;
}

.mensaje-elipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.honorarios-container {
    margin-top: 2%;
    margin-bottom: 2%;
}

#headingUltimaAtencion {
    background-color: #fcf4f4;
    padding: 0.5rem;
}

.dictamenEvaluar {
    display: block;
    margin-bottom: 2%;
    border-bottom: 1px solid #d2d2d2;
    width: 50%;
    padding-bottom: 3%;
}

.hr {
    border-bottom: 1px solid #d2d2d2;
    width: 100%;
    margin-bottom: 3%;
    margin-top: 1%;
}

.fa-trash {
    cursor: pointer;
}

#farmacos {
    margin-bottom: 1rem;
}

.farmacos-table {
    margin: 20px 20px 20px 20px;
}

.farmaco-cell {
    display: flex;
    align-items: center;
    flex: 1;
    padding-right: 10px;
}

.farmaco-row {
    display: flex;
    margin-bottom: 10px;
}

.farmaco-cell-hidden {
    display: none;
}

.farmaco-cell-name {
    width: 19%;
}

.farmaco-cell-delete {
    flex: 1;
}

.farmacos-header {
    display: flex;
    font-weight: bold;
    margin-bottom: 10px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

input.form-control.cantidad-input {
    margin-right: 5px;
    width: 50%;
}

input.form-control.total {
    width: 50%;
}

.form-label-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 20px;
}

.form-label-group mb-0 {
    background-color: #e9ecef;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 330px;
    display: inline-block;
    vertical-align: bottom;
}

.hiddenTortas {
    display: none;
}

.bg-red {
    background-color: #ea6d6d;
}

.bg-yellow {
    background-color: #f1f17e;
}

.bg-green {
    background-color: #cbeacb;
}

.bg-MotherDay {
    background-color: #df91d9;
    color: #fff;
}

.bg-MotherDay a {
    color: #fff;
}

.bg-MotherDay a:hover {
    color: #212529;
}

tr:hover a {
    color: #000; /* Asegura que los enlaces también cambien a negro */
}

.alertswarning {
    /*position: absolute;*/
    z-index: 1000;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    top: 20px;
    right: 650px;
}

.fc-timegrid-axis-frame.fc-scrollgrid-shrink-frame.fc-timegrid-axis-frame-liquid {
    display: none;
}

.fc-event-title.fc-sticky {
    white-space: normal;
    display: block;
    margin: 0px 4px 4px 10px;
}

.tarifario-list {
    width: 90%;
    margin-left: 5%;
}

.costoenvio-list {
    width: 90%;
    margin-left: 5%;
}

.personaje-flotante {
    cursor: pointer;
    margin-right: 16px;
    margin-bottom: 10px;
    position: fixed !important;
    bottom: 0;
    right: 1%;
    backface-visibility: hidden;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.1s ease-in-out;
    border: none;
    background-color: unset;
    width: 120px;
    height: 120px;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 0.5s ease-in-out 3s forwards;
}

.icon-pastelera {
    width: 120px;
    height: 120px;
    border-radius: 60px;
}

.notificacion {
    position: absolute;
    bottom: 140px;
    width: 150px;
    text-align: center;
    background-color: #f39c12;
    color: white;
    padding: 5px;
    border-radius: 5px;
    right: -12px;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-custom {
    width: 80px;
    height: 25px;
    padding: 5px;
    font-size: 14px; /* Ajusta el tamaño de la fuente si es necesario */
}

.precio-venta-container {
    background-color: green;
    color: white;
    border-radius: 15px;
    top: -5px;
}

.h1-precios {
    font-size: 1.3rem;
    text-align: right;
    margin: 3px 0px 0px 0px;
}

.sticky-container {
    position: sticky;
    top: 10px; 
    z-index: 1000;
}

.labeledit {
    padding-top: 0.25rem !important;
    padding-bottom: .25rem;
    font-size: 13px;
    color: #777!important
}

.form-label-group {
    position: relative;
}

.toggle-password {
    color: #666;
}

    .toggle-password:hover {
        color: #000;
    }

/* <!-- Drag and Drop */
.image-upload-container {
    width: 100%;
    /*max-width: 500px;*/
}

.dropzone {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    background: #f9f9f9;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

    .dropzone.dragover {
        border-color: #007bff;
        background: #e7f1ff;
    }

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 20%;
}

.preview-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

    .remove-image:hover {
        background: #cc0000;
    }
/* Fin Drag and Drop --> */

div#inputRelleno_chosen {
    width: 100% !important;
}

.fc-timegrid-slot-label {
    width: 60px !important;
    min-width: 60px !important;
    visibility: visible !important;
    padding-right: 5px !important;
}

.fc-timegrid-slot-label-frame {
    display: block !important;
    text-align: right !important;
}

.fc-timegrid-slot-label-cushion {
    display: inline-block !important;
    color: #333 !important;
    font-size: 12px !important;
}

.fc-timegrid-col-events {
    margin-left: 60px !important;
}

.fc-timegrid-event {
    z-index: 1 !important;
    margin-left: 5px !important;
    background-color: #3788d8 !important;
    border: 1px solid #2c6bb1 !important;
    color: #fff !important;
    border-radius: 3px !important;
}

.fc-timegrid-slots table {
    table-layout: fixed !important;
}

.fc-timegrid {
    overflow: visible !important;
}

/* Nuevas reglas para las franjas horarias */
.fc-timegrid-slot-lane {
    border-bottom: 1px solid #ddd !important; /* Línea horizontal para cada intervalo */
    height: 40px !important; /* Altura mínima para que las franjas sean visibles */
    background: #fff !important; /* Fondo blanco para contraste */
}

.fc-timegrid-slot {
    border-bottom: 1px solid #ddd !important; /* Asegurar bordes en todos los slots */
}

/* Asegurar que el fondo del calendario sea claro */
.fc-timegrid-slots {
    background: #fff !important;
}

/* Evitar que los bordes se oculten */
.fc-timegrid-slot-lane,
.fc-timegrid-slot-label {
    border-collapse: separate !important;
    border-right: none !important; /* Evitar líneas verticales innecesarias */
}

    /* Resaltar las horas completas (8:00, 9:00, etc.) */
    .fc-timegrid-slot-label[data-time$=":00:00"] .fc-timegrid-slot-label-cushion {
        font-weight: bold !important;
    }

.calendar-container {
    width: 70%; /* 70% del ancho de col-md-6 */
    max-width: 100%; /* Evitar que se desborde */
}

.form-check.me-3 {
    margin-right: 15px;
}

.col-auto.me-3 {
    margin-top: 5px;
}

.custom-label {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
    font-size: 13px !important;
    color: #777 !important;
}

.right {
    text-align: right;
}

.cancel-icon {
    position: absolute;
    top: 2px;
    right: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 13px;
    height: 15px;
    padding: 2px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .cancel-icon:hover {
        top: 4px;
        right: 10px;
        background-color: #ffe6e6;
        border-radius: 20%;
        width: 13px;
        height: 15px;
    }

.fc-event.cancelado {
    background-color: #969292 !important;
    border-color: #a9a9a9 !important;
    color: #333 !important;
    opacity: 0.9;
}