﻿/*CARRUCEL DE ZONA DE NOVEDADES*/
div.zona-novedad-carrusel {
    height: auto;
}

img.zona-novedad-item {
    height: auto;
}

img.zona-novedad-carrusel-item {
    height: 35rem;
    object-fit: cover;
    display: block;
    /* width: 100%;*/
    margin: auto;
}

div.zona-novedad-slider {
    left: 0px !important;
    right: 0px !important;
    display: none;
    width: 100%;
}

@media (min-width: 1400px) {
    div .zona-novedad-carrusel {
        height: 34rem;
    }

    img.zona-novedad-carrusel-item {
        height: 34rem;
        object-fit: cover;
        display: block;
        /*width: 100%;*/
    }

    img.zona-novedad-item {
        height: 17rem;
        /*object-fit: cover;*/
    }
}

@media (max-width:1399px) and (min-width: 768px) {
    div.zona-novedad-carrusel {
        height: 25rem;
    }

    img.zona-novedad-carrusel-item {
        height: 25rem;
        object-fit: cover;
        display: block;
        /*width: 100%;*/
    }

    img.zona-novedad-item {
        height: 11rem;
        /*object-fit: cover;*/
    }
}

@media (max-width:767px) {
    div.zona-novedad-carrusel {
        height: 15rem;
    }

    img.zona-novedad-carrusel-item {
        height: 15rem;
        object-fit: cover;
        display: block;
        /*width: 100%;*/
    }

    img.zona-novedad-item {
        height: 14rem;
        /* object-fit: cover;*/
    }
}

.main-page-alau {
    top: 55px;
    position: relative;
}

@media (max-width: 768px) {
    .main-page-alau {
        top: 65px;
        position: relative;
    }

    h3 {
        font-size: 1.5rem;
    }
    
}

@media (max-width:612px) and (min-width: 100px) {
    .btn-group-mobile{
        display: flex;
        flex-direction: column;
    }
}



a.dropdown-item.active, a.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #e83333;
}

.text-to-upper-alau {
    text-transform: uppercase;
}

.btn-add-alau {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    height: 45px;
    width: 45px;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #dc0000;
    background-color: #dc0000;
}

/* #################  ======  ################# */
/* para Crear un modal propio a las imagenes */
/* #################  ======  ################# */


.modal-img {
    display: inline-block;
    position: relative;
}

    .modal-img.act {
        position: fixed;
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        left: 0;
        overflow-y: scroll;
    }

    .modal-img img {
        z-index: 1;
    }

    .modal-img::after {
        content: '';
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        background-color: black;
        z-index: 0;
    }

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    border-color: #fa626b;
    background-color: #fa626b;
}

.pagination .page-link {
    color: #fa626b;
    border: 1px solid #babfc7;
}

.table th, .table td {
    border-top: none;
}

thead tr th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #ffffff;
}

.table-responsive {
    height: 75vh;
    overflow-y: scroll;
}

.box {
    margin: auto;
    width: 600px;
    height: 600px;
}

/* *********************
 Para el toggle Switch
 ******************** */
 
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #fa626b;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ! Fin del toogle switch  */


/* Animations */

.fade-in {
    animation: fadeIn .3s;
}
fade-out {
    animation: fadeOut .3s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/*Para modificar las fuente de tablas grandes*/

.fuente__tablas__grandes{
    font-size: 11px;
}

@media (max-width: 768px) {

    .fuente__tablas__grandes {
        font-size: 8px;
    }
}

/* para borde nuevo */

.caja__borde2024 {
    position: relative;
    height: 200px;
    width: 200px;
    background: #fff;
    border-radius: 15%;
    -webkit-box-shadow: 2px 2px 5px #999;
    -moz-box-shadow: 2px 2px 5px #999;
    filter: shadow(color=#999999, direction=135, strength=2);
}
