/* Variable Public/fonts usage: */

body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) { overflow-y: visible !important; }

:root {
    /* font-family: "Inter", sans-serif; */
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
}

html {
    min-height: 100vh;
}
table{
    font-size: 15px !important;
}
table.dataTable th{
    background-color:  #BDCBDE !important;
    border-color: #8BA0BC;
    padding-top: 0px !important;
}
table.dataTable td {
    padding-top: 0px !important;
 
}
.dataTables_wrapper {
    table-layout: auto;
}
.text-wrap {
    white-space: normal; /* Permite que el texto se ajuste en varias líneas */
    max-width: 100px; /* Ajusta el valor según el máximo ancho que quieras aplicar */
}

.dt-colresizable-hover {
    cursor: col-resize !important;
    background-color: #eaeaea;
    border-left: 1px solid #bfbfbf;
}

.status-label {
    display: inline-block;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    padding: 4px 15px;
    margin: 5px;
}



/* Colores personalizados */
.disponible div{
    background-color: rgb(0, 255, 0) !important;
    height: 30px;
    cursor: pointer;
}

div.seleccionado {
    background-color: #0055A5 !important;
}

.no-reservable div{
    background-color: rgb(66, 65, 66) !important;
    height: 30px;
}

.reservado div {
    background-color: rgb(255, 0, 0) !important;
    height: 30px;

}

.pasado  div {
    background-color: rgb(230, 230, 230) !important;
    height: 30px;

}
.calendar td{
    padding: 5px 10px !important;
}
@font-face {
    font-family: InterVariable;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/InterVariable.woff2") format("woff2");
}

@font-face {
    font-family: InterVariable;
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2");
}

/* static Public/fonts */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url("../fonts/inter/Inter-Thin.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100;
    font-display: swap;
    src: url("../fonts/inter/Inter-ThinItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url("../fonts/inter/Inter-ExtraLight.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 200;
    font-display: swap;
    src: url("../fonts/inter/Inter-ExtraLightItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/inter/Inter-Light.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/inter/Inter-LightItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter/Inter-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter/Inter-Italic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter/Inter-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter/Inter-MediumItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter/Inter-SemiBoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter/Inter-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter/Inter-BoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter/Inter-ExtraBold.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter/Inter-ExtraBoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/inter/Inter-Black.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/inter/Inter-BlackItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-Thin.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 100;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-ThinItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-ExtraLight.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 200;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-ExtraLightItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-Light.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-LightItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-Italic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-MediumItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-SemiBoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-BoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-ExtraBold.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-ExtraBoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-Black.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/inter/InterDisplay-BlackItalic.woff2") format("woff2");
}


:root {
    font-family: "Inter", sans-serif;
}

@supports (font-variation-settings: normal) {
    :root {
        font-family: "InterVariable", sans-serif;
        font-optical-sizing: auto;
    }
}

body {
    background-color: #F2F2F2 !important;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    /* padding: 10px; */
    /* position: relative; */
    height: 60px;
}


#nav-cimaco {
    padding: 10px;
    background-color: white;
    z-index: 999;
}

.navbar {
    display: flex;
    justify-content: space-between;
}

.navbar-nav {
    flex: 1;
    justify-content: center;
}

.navbar-brand,
.navbar-toggler {
    z-index: 999;
}

/* @media (min-width: 992px) {
    .navbar-brand,
    .navbar-toggler {
        position: absolute;
        z-index: 9999;
    }
} */

.navbar-brand {
    left: 0;
}

.navbar-toggler {
    right: 0;
}


.header {
    background-color: #D9D9D9;
    padding: 17px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5rem !important;
}

.header .title {
    color: #000000;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.006em;
    text-align: left;

}



.btn-primary {
    color: #fff;
    background-color: #0055A5!important;
    border-color: #0055A5!important;
}

.btn-primary:hover {
    color: #fff;
    background-color: #004080!important;
    border-color: #003366!important;
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #004080!important;
    border-color: #003366!important;
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 165, 0.5);
}

.btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #003366!important;
    border-color: #00294d!important;
    box-shadow: none;
}

.btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 165, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #0055A5!important;
    border-color: #0055A5!important;
}

.btn-danger {
    color: #fff;
    background-color: #C8322B;
    border-color: #C8322B;

}

.btn-outline-primary {
    border: 1px solid #0055A5;
    color: #0055A5;
    background: #FFF;
}

/* Cambiar el color primario */
.btn-primary, .bg-primary {
  background-color: #0055A5 !important;
  border-color: #0055A5 !important;
}

/* Cambiar el color del texto de los enlaces */
.text-primary, a {
  color: #0055A5;
}

/* Cambiar el color del enlace al pasar el ratón */
a:hover, a:focus {
  color: #004494; /* Un tono más oscuro si deseas un efecto hover */
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  border-bottom: 3px solid #0055A5 !important;
  color: black !important;
}

.modal label {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.006em;
    color: #333333;
}

.modal-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    color: #333333;
}

.modal-header {
    border-bottom: 0;
}


.media h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
}

.media h6 {
    font-size: 1.05em;
    font-weight: 700;
}

.media p {
    font-family: Inter, serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    text-align: left;
    margin: 0;
}

.media p.identificador {
    font-family: Inter, serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    text-align: left;
}

.media p.descripcion {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.media p b {
    font-family: Inter, serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
}

.text-bg-success-emphasis {
    background-color: #D2FED2 !important;
}

.text-bg-danger-emphasis {
    background-color: #FFC6C6 !important;
}

.text-bg-info-emphasis {
    background-color: #6edff6 !important;
}
.num-de-tot.text-info{
    color: rgb(10,85,98) !important;
}

.text-bg-secondary-emphasis {
    background-color: #EDEDED !important;
}

p.num-de-tot {
    font-family: Inter, serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
}

.show-color {
    width: 24px;
    height: 24px;
}

.btn-sm {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    font-size: 10px;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
    padding: 0.1rem 0.51rem;
}

.show-media-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.note-btn.dropdown-toggle:after {
    content: none;
    }
.drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}
.drop-area.active {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn:disabled img {
    filter: grayscale(100%);
}

.invalid {
    border-color: red;
    position: relative;
}

.invalid[title]:hover::after {
    content: attr(title);
    background-color: #f44336;
    color: white;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    top: -5px;
    left: 105%;
    z-index: 10;
    white-space: nowrap;
}

.loading-overlay {
    display: none; /* Oculto por defecto */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 99999; /* Asegurar que quede por encima */
  }

  .cantidad:disabled{
    background-color: transparent;
    border: none;
  }.nav-link:focus, .nav-link:hover {
    background-color: #0055A5;
    color: white !important;
  }
  
  .nav-link {
    color: #0055A5 !important;
    font-weight: 500 !important;
  }
  
  .dropdown-item:focus, .dropdown-item:hover{
    color: white !important;
    background-color:  #0055A5 !important;
    /* line-height: 100%; */
  }
  
   .dropdown-item{
    color: #0055A5 !important;
    /* line-height: 100% !important; */
    font-weight: 500 !important;
  }
  
  .dropdown-menu.show:hover {
    display: block;
     /* background-color: #0055A5; */
  }
  /* ul.dropdown-menu li {
    line-height: 100% !important;
  
  } */

  .active>.page-link,
  .page-link.active {
      z-index: 3 !important;
      color: var(--bs-pagination-active-color) !important;
      background-color: var(--bs-pagination-active-bg) !important;
      background-color: #0055A5 !important;
  }
  
  .page-link {
    color: #0055A5 !important;
  }

  .select2-selection__rendered:not(:empty) + .select2-selection__arrow {
    display: none;
}
.text-right {
    text-align: right;
}

.input-like {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    font-family: inherit;
    cursor: text;
    min-width: 80px; /* Ajusta según el contenido esperado */
    text-align: center;
}

#semana {
    display: inline-flex;
    align-items: center;
    gap: 5px; /* Espaciado entre elementos */
}

.truncated-token {
    overflow: hidden;          /* Oculta el texto que excede el ancho */
    max-width: 300px;          /* Establece un ancho máximo para la celda */
}

 /* Sobrescribir estilos de btn-secondary */
 .btn-secondary {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    border: 1px solid var(--bs-secondary-border-subtle);
}

.btn-secondary:hover {
    background-color: #c0c0c0; /* Gris más oscuro al pasar el mouse */
    color: #000; /* Texto negro */
}

.btn-secondary:active {
    background-color: #a9a9a9; /* Gris más oscuro al hacer clic */
    border-color: #808080; /* Borde aún más oscuro */
}

.btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(128, 128, 128, 0.5); /* Sombra para el enfoque */
}