:root{
    --bg_color: #1968ff;
    --font-color-for-bg: #fff;
    --bg_form: rgba(181, 31, 66, 0.3)
}

div .alert-primary{
    background: var(--bg_form);
    border: 2px solid var(--bg_form);
    color: #000;
}

body{
    font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
    padding-bottom: 25px;
    
}

table a{
    display: block;
    width: 100%;
}

/* home */

.lugares_home{

    display: grid;
    gap: 1rem;
    grid-auto-rows: 10rem;
    grid-template-columns: repeat(auto-fill , minmax(20%, 24.2%));
    justify-content: space-between;
}

.lugares_home > div{
    width: 100%;
    color: white;
}

/* mediaquery */

@media (max-width: 1528px){

    .lugares_home{
        grid-template-columns: repeat(auto-fill , minmax(20%, 24%));
    }

}

@media (max-width: 1229px){

    .lugares_home{
        grid-template-columns: repeat(auto-fill , minmax(20%, 23%));
    }

}


.btn a{
    width: 100%;
}

.bg-celeste{
    background-color: var(--bg_color,blue);
    color: var(--font-color-for-bg);
}


.inactivo{
    text-align: center;
    font-size: 16px;
    background-color: #5F5F5F;
    color: #fff;
    padding: 10px;
    font-family: 'Ubuntu', sans-serif;
}

.activo{
    text-align: center;
    font-size: 16px;
    background-color: #FF5061;
    color: #fff;
    padding: 10px;
    font-family: 'Ubuntu', sans-serif;
}

.activo a{
   text-decoration: none;
   color: #fff;
}

.inactivo a{
   text-decoration: none;
   color: #fff;
}

/* tr:nth-child(odd) {
   background-color:#fbfbfb;
} */

tr:nth-child(even) {
   background-color:#F0F0F0;

}

.fc-bg tr:nth-child(1) td {
    color: #000;
}

/* tr:nth-child(1) {
    background-color: var(--bg_color);
} */

td{
    vertical-align: middle !important;
}

.encabezado_table{
    font-size: 25px;
    text-align: center;
    /* background-color: var(--bg_color); */
    background-color:#ddd;

    /* color: var(--font-color-for-bg) */
}

.titulo_table{
    text-align: center;
    /* background-color: var(--bg_color); */
    background-color:#ddd;

    /* color: var(--font-color-for-bg) */
    font-size: 15px;
}

.container-xl{
    min-height: 90vh;
}

table input[type=submit],
table input[type=button]{
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.diplay-video-panel-nico{
    width: 50% !important;
    height: 15rem !important;
}
.preloader {
    width: 70px;
    height: 70px;
    border: 10px solid #eee;
    border-top: 10px solid #b51f42;
    border-radius: 50%;
    animation-name: girar;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    }

@keyframes girar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
    }
    
.div-items-panel-nico{
    display: grid !important;
    margin-inline: 15px;
    gap: 1rem;
    grid-auto-rows: 22rem;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

section > form > table{
    margin-bottom: 0px !important;
    border-radius: 10px 10px 10px 10px;
    overflow: hidden;
}

section > form{
    /* background: var(--bg_form); */
    border-radius: 0.25rem;
    /*border: 2px solid var(--bg_form);*/
    display: grid;
    align-content: center;
    min-height: 70vh;
    padding-top: 5px;
    padding-bottom: 5px;
}

section > h2 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #000;
    line-height: 0.1em;
    margin: 10px 0 20px;
    font-size: 1em;
}

section > h2 > span {
    background:#fff;
    padding:0 10px;
}

table select, input[type=text], input[type=date], input[type=number]{
    /* height: calc(1.8125rem + 2px); */
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}


.buscador-consulta-pilotos{
    display: flex;
    justify-content: center;
}

.buscador-consulta-pilotos .input-group{
    width: 40%;
    max-width: 25rem;
}

.seccion-tipo-cliente{
    margin-block-start: 6rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.seccion-tipo-cliente div{
    width: 40%;
    min-height: 11em ;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.seccion-tipo-cliente .bg-orange:hover{
    font-size: 1rem;
}

.seccion-tipo-cliente .bg-aqua:hover{
    font-size: 1rem;
}

.icono-tipoCliente{
    margin-inline-start: 1rem;
    font-size: 90px;
    color: rgba(0, 0, 0, 0.15);
}

.panel-piloto-box{
    margin-top: 4.4%;
}

.panel-piloto-box{
    margin-top: 0;
}

@media (max-width: 1045px){
    .tabla-pool-cotizaciones{
        display: block;
        white-space: nowrap; 
        overflow: auto;
    }
}

@media (min-width: 990px) {

    section > form > table{
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    }

    .div_vendedores_admin_digital{
        /* width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        flex-direction: row; */
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(20%,1fr));
        gap: 0 1rem;
    }
    .hide_cel{
        display: inline;
    }

    table, th, td {
        border: 1px solid #ccc;
        border-collapse: collapse;
        text-transform: uppercase;
        font-size: 13px;
    }

    table input[type=text]{
        max-width: 350px !important;
    }
    table input[type=email]{
        max-width: 350px !important;
    }
    table input[type=date]{
        max-width: 350px !important;
    }
    table input[type=tel]{
        max-width: 350px !important;
    }
    table input[type=number]{
        max-width: 350px !important;
    }
    table textarea{
        /* max-width: 350px !important; */
        min-width: 100% !important;
        min-height: 100px;
    }
    table select{
        max-width: 350px !important;
    }
    section > form > table{
        max-width: 50%;
        margin: auto;
    }
    .table-medium{
        max-width: 70%;
        margin: auto;
    }
  }

@media (max-width: 990px) {

    .lugares_home{
        grid-template-columns: repeat(auto-fill , minmax(100%, auto))
    }

    .div_vendedores_admin_digital{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        flex-direction: column;
    }
    .hide_cel{
        display: none;
    }
    table, th, td {
        border: 1px solid #ccc;
        border-collapse: collapse;
        text-transform: uppercase;
        font-size: 11px;
    }
    table{
        min-width: 100% !important;
    }
    table input[type=text]{
        min-width: 100% !important;
    }
    table input[type=date]{
        min-width: 100% !important;
    }
    table input[type=email]{
        min-width: 100% !important;
    }
    table input[type=tel]{
        min-width: 100% !important;
    }
    table input[type=number]{
        min-width: 100% !important;
    }
    table select{
        min-width: 100% !important;
        max-width: 70vw !important;
    }
    table textarea{
        min-width: 100% !important;
    }
    section > form {
        overflow-x: scroll;
    }
    div .scroll{
        width: 100%;
        overflow-x: scroll;
    }
    .modal-body{
        overflow-x: scroll;
        width: 100%;
    }
  }

  .Puntuacion-AMB{
    font-size: 1.2rem;
    border: solid 1px black;
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin-inline: 0.25rem;
    cursor: pointer;
  }

  .fondoGris{
    background-color: #f4f6f9;
    }
    .text-purple {
      color: #6f42c1 !important;
    }
    
    .text-orange {
      color: #fd7e14 !important;
    }
    
    .border-left-primary {
      border-left: 0.25rem solid #007bff !important;
    }
    
    .border-left-success {
      border-left: 0.25rem solid #28a745 !important;
    }
    
    .border-left-danger {
      border-left: 0.25rem solid #dc3545 !important;
    }
    
    .border-left-warning {
      border-left: 0.25rem solid #ffc107 !important;
    }
    
    .border-left-info {
      border-left: 0.25rem solid #17a2b8 !important;
    }
    
    .border-left-secondary {
      border-left: 0.25rem solid #6c757d !important;
    }
    
    .border-left-dark {
      border-left: 0.25rem solid #343a40 !important;
    }
    
    .border-left-purple {
      border-left: 0.25rem solid #6f42c1 !important;
    }
    
    .border-left-orange {
      border-left: 0.25rem solid #fd7e14 !important;
    }

    




    
.card-hover {
    transition: all 0.2s ease-in-out;
  }
  
  .card-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.2) !important;
    cursor: pointer;
  }
  
  .card-hover.border-primary:hover { background-color: rgba(0, 123, 255, 0.1); }
  .card-hover.border-success:hover { background-color: rgba(40, 167, 69, 0.1); }
  .card-hover.border-danger:hover { background-color: rgba(220, 53, 69, 0.1); }
  .card-hover.border-warning:hover { background-color: rgba(255, 193, 7, 0.1); }
  .card-hover.border-info:hover    { background-color: rgba(23, 162, 184, 0.1); }
  .card-hover.border-secondary:hover { background-color: rgba(108, 117, 125, 0.1); }
  .card-hover.border-dark:hover { background-color: rgba(52, 58, 64, 0.1); }
  
  /* Efecto ícono/texto */
  .card-hover:hover h6,
  .card-hover:hover i {
    color: inherit !important;
    opacity: 0.9;
  }


      .bootstrap-select .selectpicker {
        background-color: #fff; /* Fondo blanco */
        border: 1px solid #ced4da; /* Borde igual a form-control */
        border-radius: .25rem; /* Bordes redondeados */
        height: calc(2.25rem + 2px); /* Altura del form-control */
        padding: .375rem .75rem; /* Espaciado interno */
    }

    .bootstrap-select .dropdown-toggle {
        background-color: #fff; /* Fondo blanco del botón */
        border: 1px solid #ced4da; /* Borde igual a form-control */
        border-radius: .25rem; /* Bordes redondeados */
    }

    .bootstrap-select .dropdown-menu {
        background-color: #fff; /* Fondo blanco del menú desplegable */
        border: 1px solid #ced4da; /* Borde del menú */
    }

    .bootstrap-select .dropdown-menu .active {
        background-color: #007bff; /* Color de fondo del elemento activo */
        color: #fff; /* Color del texto activo */
    }

    .bootstrap-select .dropdown-toggle:empty::after {
    display: none;
}



