/* Barra de accesibilidad*/
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   color: #4a4b65;
}

.dl-horizontal dt {
    white-space: normal;
}

:root {
   --color-primary-custom: #0FAA9E;
   --color-iconos: #c8c9ce;
}

.main-content {
   min-height: 100vh !important; /* asegura que crezca si el contenido lo necesita */
   overflow: auto !important; /* permite el scroll si necesario */
}


/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 100%;
}

/* Personalizado para el footer al final de la pagina */
html, body {
   overflow-y: auto !important;
   height: auto;
   min-height: 100vh;
   padding: 0;
   background-color: #fff !important;
}

#wrapper {
   height: auto;
   min-height: 100vh;
   position: relative;
}

#header {
    background: #f7f7f7; /*#f7f7f7;*/
    height: 130px;
    border-bottom: 1px solid #d9d9d9;
    padding-top: 15px;
}


#footer {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
}

/*Agrega contenedor gris a breadcrumb*/
nav .breadcrumb {
    background-color: #eaecef;
    max-width: 100%;
    height: 40px;
    padding-left: 15px;
    border-radius: 3px 3px;
    display: flex;
    align-items: center;
}

a {
    text-decoration: none;
}

/*Quitar sombras en los inputs*/
input:focus, input.form-control:focus, input.custom-file-input:focus,
select:focus, select.form-control:focus {
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

/*Quitar flechas en los inputs tipo number*/
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/*Dialog sin border*/
dialog {
    border: none;
    border-radius: 10px;
    text-align: center;
    width: -webkit-fit-content;
    height: -webkit-fit-content;
}

/*Ocultar elementos en la vista*/
div.dnone {
    display: none;
}

.card-aux {
    height: 100%
}

.barra-superior-govco a {
   content: url(/Images/logo.svg);
   height: 24px;
   width: 8.5rem
}

.sticky-top {
   position: sticky;
   top: 0;
   z-index: 1020
}

.navbar {
   position: relative;
   display: flex;
   align-items: center;
   padding-top: 0.5rem;
   padding-bottom: 0.5rem;
}


@media (max-width: 991px) {
   .navbar-expand-lg {
      flex-wrap: nowrap;
      justify-content: flex-start
   }

   .barra-superior-govco {
      justify-content: center;
      padding: 0;
   }
}


@media (max-width: 576px) {
   #footer footer .row > div {
      text-align: center;
      display: flex;
      justify-content: center;
   }

      #footer footer .row > div:first-child {
         flex-direction: column;
      }

      #footer footer .row > div:last-child {
         flex-direction: row;
      }
}
* {
   margin: 0;
   padding: 0;
}

.dark {
   filter: invert(1);

   .form-select option {
      background-color: #000000;
      color: white;      
   }
}

.icon-decrementar {
   position: absolute;
   top: -5px;
   right: -2px;
   color: #004884;
   font-weight: 900;
   font-size: 0.8rem;
}

.icon-aumentar {
   position: absolute;
   top: -3px;
   right: -2px;
   color: #004884;
   font-weight: 900;
   font-size: 0.7rem;
}

.social-icon {
   margin-right: 10px;
   font-size: 1.3rem;
}
.pse-image-ly-pagos {
   width: 100%;
   height: auto;
}
.cert-img {
   max-height: 40px;
   width: auto;
   margin-right: 10px;
}

body,
.page {
   margin: 0;
   font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
   background-color: var(--color-background-white);
   min-height: 100vh;
   display: flex;
   flex-direction: column;
}

.page {
   height: auto;
   min-height: 100vh;
}

.form-floating > label {
   opacity: 0.8;
}

.nav-menu-profile button
   {
      border: none !important;
   }

   .nav-menu-profile button:active {
      border: none
   }

.nav-menu-profile img {
   border-radius: 50%;
   width: 40px;
   height: 40px;
   object-fit: contain;
}
.btn-primary .bi {
   color: inherit; /* Hereda el color del elemento padre */
}

.btn-group-inline {
   display: flex;
   justify-content: center;
   align-items: center;
}

.btn-group-inline a {
   margin-left: 5px;
   margin-right: 5px;
}


.tooltip-text {
   visibility: hidden;
   background-color: #eaecef;
   color: #4a4b65;
   text-align: center;
   padding: 5px;
   border-radius: 4px;
   /* Posiciona el tooltip arriba del input */
   position: absolute;
   bottom: calc(100% - 20px); /* Ajusta según necesites */
   left: 50%;
   transform: translateX(-50%);
   z-index: 1;
   /* Flecha del tooltip */
   opacity: 0;
   transition: opacity 0.3s;
   font-size: 0.8rem;
}

.tooltip-text::after {
   content: "";
   position: absolute;
   top: 100%; /* Ajusta según la posición del tooltip */
   left: 50%;
   transform: translateX(-50%);
   border-width: 5px;
   border-style: solid;
   border-color: #eaecef transparent transparent transparent;
}

input:focus + .tooltip-text,
input:hover + .tooltip-text {
   visibility: visible;
   opacity: 1;
}


.truncate-label {
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   display: block; /* Asegúrate de que el label ocupe una línea completa */
   width: 100%; /* Ajusta el ancho según sea necesario */
}

.btn-primary-custom {
   background-color: var(--color-primary-custom) !important;
   color: white;
   /*margin-inline: 5px;*/
   border-radius: 0.375rem !important;
}

.btn-primary-custom i
{
    color:white;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus,
.btn-primary-custom:active {
   background-color: var(--color-primary-custom) !important;
   color: white !important;
   box-shadow: 0px 0px 5px 0px var(--color-primary-custom);
   -moz-box-shadow: 0px 0px 5px 0px var(--color-primary-custom);
}

.tabletns {
   font-size: 12px;
}

.tabletns > tbody > tr:hover > td {
   background: rgba(15, 170, 158, 0.2);
}

.tabletns > tbody > tr > td {
   align-content: center;
}

.tabletns > thead > tr > th {
   background: rgb(222,239,241);
}
fieldset:disabled label.btn {
    border: none !important;
    box-shadow: none !important;
    opacity: 0.5; /* opcional: apariencia visual de deshabilitado */
    pointer-events: none; /* opcional: evitar clics */
}
input::-ms-reveal 
{
    display: none;
}