:root{
    --bs-blue: #0B8CBF;
}


html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}


p, body{
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
}


.encabezado{
  position: relative;
  animation: Izquierda 1s ease;
}

.encabezado2{
  position: relative;
  animation: Derecha 1s ease;
}

 @keyframes Izquierda{
    from{
      transform: translateX(-200%);
    }
    to{
      transform: translateX(0);
    }
  }


  @keyframes Derecha{
    from{
      transform: translateX(400%);
    }
    to{
      transform: translateX(0);
    }
  }


  @keyframes Arriba{
    from{
      transform: translateY(-200%);
    }
    to{
      transform: translateX(0);
    }
  }

.encabezado span, .servicios{
    font-size: 7rem;
    font-family: 'Italianno', cursive;
    color: #222B5F;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media(min-width:768px) {
  .encabezado span, .servicios{
    font-size: 10rem;
    
  }
}

.encabezado1{
    font-size: 3rem;
    font-family: 'Italianno', cursive;
    color: #000508;
    margin-bottom: 0;
    padding-bottom: 0;
}



 




h1, h2, h3{
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    color: #379237;
}

h1{
    font-size: 3.5rem;
    color: #379237;
}

@media (min-width:768px) {
    h1{
        font-size: 6rem;
    }
}

hr {border: 0; height: 12px; box-shadow: inset 0 12px 12px -12px green;}


h2{
    font-size: 3rem;
}

h3{
    font-size: 2.5rem;
}

@media(min-width:768px) {
    h3{
        font-size: 3rem;
    }
}


body{
    background: #ffffff; 
    overflow-x: hidden;
}


.cen{
    justify-content: center;
}

@media(min-width:768px) {
    .cen{
        justify-content: space-between;
    }
}

.roun{
    border-radius: 30px;
}

.tam{
    font-size: 16px;
}

.tama{
    font-size: 14px;
}

@media(min-width: 768px) {
    .tam{
    font-size: 18px;
}

}

.ambu:hover{
    transform: scale(1.1);
}


.ambu{
    transition-property: transform;
    transition-duration: 300ms;
    background-color: #0B8CBF;
}











/**BARRA NAVEGACION**/
.navegacion{
    background-color: #024873;
    -webkit-box-shadow: 0px 10px 6px -4px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 10px 6px -4px rgba(0,0,0,0.75);
box-shadow: 0px 10px 6px -4px rgba(0,0,0,0.75);
}

footer{
    background-color: #024873;
    -webkit-box-shadow: 0px -8px 6px -5px rgba(0,0,0,0.75);
-moz-box-shadow: 0px -8px 6px -5px rgba(0,0,0,0.75);
box-shadow: 0px -8px 6px -5px rgba(0,0,0,0.75);
}

.footer{
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
}

.navbar-toggler{
    background-color: #ffffff;
}

.navbar-light .navbar-brand{
    color: #ffffff;
}


.nav-item{   
    transition: background-color .5s ease-in-out;
    font-family: 'Raleway', sans-serif;
    border-radius: 3rem;
    font-size: 1.7rem;
}

.nav-link{
    color: #ffffff;
    font-size: 1.4rem;
}





.dropdown-menu{
    width: 100%;
    text-align: center;
    font-size: 1.6rem;
    background-color: #44AA81;
}

.menus:hover{
    background-color: #44AA81;
}

.dropdown:hover .dropdown-menu{
    display: block;
    box-sizing: 5px 5px 5px #44AA81;
}










.sw{
    /*position: relative;
     margin: 0 auto;
    min-height: 100vh;
    width: calc(min(180rem, 100%));
    */
    column-gap: 3rem;
    padding-block: min(5vh, 2rem);
    text-align: center;
    display: flex;
     flex-direction: column;
     justify-content: center;
}

.swiper-container{
    position: relative;
}

.swiper{
    width: 100%;
   
}

@media(min-width:768px) {
    .swiper{
         padding: 60px 0 95px 0;
    } 
   
}

.swiper-slide{
    width: 10rem;
    height: 21rem;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    position: relative;
}
  
.swiper-slide .slide-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 100%;
}

.swiper-slide .slide-content img{width: 100%; border-radius: 5px;}

.swiper-button-prev{
    background: white;
    border-radius: 50%;
    top: 47%;
    left: -30px;
    width: 50px;
    height: 50px;
    box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.17);
}

.swiper-button-prev::after{content: "";}
.swiper-button-prev .bx{font-size: 25px;}

.swiper-button-next{
    background: white;
    border-radius: 50%;
    top: 47%;
    right: -30px;
    width: 50px;
    height: 50px;
    box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.17);
}

.swiper-button-next::after{content: "";}
.swiper-button-next .bx{font-size: 25px;}

@media(min-width:760px){
    .swiper-button-prev,
    .swiper-button-next{
        display: flex;
    }
}








.nav-item:hover{
    background-color: #44AA81;
}

.nav-link:hover{
    color: #ffffff;
}


@media (min-width:768px) {
    .mapa{
        width: 80%;
        height: 400px;
    }
}


.horario{
    font-size: 1,6rem;
}

@media(min-width:768px) {
    .horario{
        font-size: 2rem;
    }
    
}

.sombra{
    -webkit-box-shadow: 10px 7px 5px 0px rgba(0,0,0,0.33);
-moz-box-shadow: 10px 7px 5px 0px rgba(0,0,0,0.33);
box-shadow: 10px 7px 5px 0px rgba(0,0,0,0.33);
}


.borde:hover {
    box-shadow: 0px 30px 80px 0 rgba(20,52,92,0.2);
    border-radius: 5px;
    border-color: #fff;
    background-color: #fff;
}






.tramites{
    background-color: #fbfbfb;
}

.borde{
   
    transition: all 0.3s ease-in-out;
}

.tramites-text{
    color: #221f1f;
}



.form-control{
    padding: 0.5rem;
    font-size: 1.6rem;
}




.bg-primary,
.btn-primary{
    background-color: #024873!important;
}



button {

    font-size: 2rem;
    background: #d68f0b;
    color: #fff;
    border: 0.25rem solid #faa301;
    border-radius: 5px;
    padding: 5px 30px;
    margin: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  button:hover {
    color: #3498db;
  }
  button::after {
    content: "";
    background: #ecf0f1;
    position: absolute;
    z-index: -1;
    padding: 0.85em 0.75em;
    display: block;
  }
  button[class^="slide"]::after {
    transition: all 0.35s;
  }
  button[class^="slide"]:hover::after {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: all 0.35s;
  }
  button.slide_from_left::after {
    top: 0;
    bottom: 0;
    left: -100%;
    right: 100%;
  }















button img{
    margin-top: 30px;
    width: 40px;
    display: block;
}


.carousel-indicators button{
    width: max-content!important;
}


@media(min-width:768px) {
    .muestra{
        margin-top: 30px;
        width: 50px;
        display: block;
    }
}

.carousel{
    margin-bottom: 70px;
}




.nuevo-sitio{
    margin-top: 120px;
}

.contacto{
    margin-top: 150px;

}



.fondo{
    background-image: url(../img/horario.jpg);
    background-size: cover;
    background-repeat: repeat-y;
    background-position: center center;
    height: 700px;
}



@media(min-width:768px) {
    .fondo{
        background-repeat: no-repeat;
        height: 570px;
    }

    .color{
        margin-bottom: 50px;
    }
    
}



.datos{
    font-size: 40px;
    padding-top: 40px;
}

@media(min-width:768px) {
    .datos{
        font-size: 70px;
        padding-top: 100px;
    }
    
    .txt{
        font-size: 25px;
    }
}






.espacio{
    margin-top: 30px;
}


@media(min-width:768px) {
  .espacio{
    margin-top: 70px;
    border-right: #fff 1px solid;
}  

.espacio:last-child {
    border-right: none;
}

}




.categoria1 .tramites-text::before{
    content: " ";
    display: block;
    margin: auto auto 2px auto;
    height: 1px;
    width: 20px;
    background-color: #009eb3;
    transition: all .4s ease;
}

.categoria1:hover p::before{
    width: 180px;
}


.titulo{
    display: inline-block;
    position: relative;
    color: #222B5F;
    font-weight: bold;
}

.titulo::after,.titulo::before{
    content: "";
    position: absolute;
    width: 120px;
    height: 3px;
    background-color: currentColor;
    top: 0.6em;
}

h1::before{
    left: -140px;
}

h1::after{
    right: -140px;
}


.texto-izq{
    text-align: justify!important;
}


.color{
    color: #024873;
}










.contenedor-slider{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.slider{
    position: relative;
    width: 250px;
    height: 250px;
    transform-style: preserve-3d;
    animation: rotate 30s linear infinite;
}


@keyframes rotate{
    0%{
        transform: perspective(1000px) rotateY(0deg);
    }
    100%{
        transform: perspective(1000px) rotateY(360deg);
    }
}

.slider span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(350px);
}

.slider span img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
   object-fit: cover;
   transition: 2s; 
}

.slider span:hover img{
    transform: translateY(-10px) scale(1.2);
}




.img1{
    margin: 0;
    padding: 0;
    height: 5rem;
    width: 5rem;
}













.modal{
    margin-top: 100px;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color:rgba(0, 0, 0, 0.8) ;
    top: 0;
    left: 0;
    display: flex;
    z-index: 50;
    animation: modal 2s 1s forwards;    
    visibility: hidden;
    opacity: 0;
}


@media(min-width: 768px) {
  .modal{
    margin-top: 55px;
  }  
}


.contenido{
    text-align: center;
    width: 300px;
    height: 480px;
    margin: auto;
    background: rgba(255, 255, 255, 0);
    border-radius: 10px;
}

@media(min-width:768px) {
    .contenido{
        width: 650px;
        height: 500px;
    }
    
}

#cerrar{
    display: none;
}

#cerrar + label{
    text-align: center;
    position: absolute;
    color: #fff;
    font-size: 25px;
    z-index: 100;
    background: darkred;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    right: 10px;
    cursor: pointer;
    

    animation: modal 2s 1s forwards;
    visibility: hidden;
    opacity: 0;
}


#cerrar:checked + label, #cerrar:checked ~ .modal{
    display: none;
}


@keyframes modal{
    100%{
        visibility: visible;
        opacity: 1;
    }
}


.alert{
    font-size: 14px;
}


@media(min-width: 768px) {
   .alert{
    font-size: 22px;
   }
    
}
   










#cerrar{
    display: none;
}

#cerrar + label{
    text-align: center;
    position: absolute;
    color: #fff;
    font-size: 25px;
    z-index: 100;
    background: darkred;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    right: 10px;
    cursor: pointer;
    

    animation: modal 2s 1s forwards;
    visibility: hidden;
    opacity: 0;
}


#cerrar:checked + label, #cerrar:checked ~ .modal{
    display: none;
}