@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 100%;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 100%;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}



* {
  box-sizing: border-box;
  scrollbar-color: transparent transparent; /* thumb and track color */
  scrollbar-width: 0px;
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  padding-top: 35% ;
  /*ilter: drop-shadow(0 0 10px #0003);*/
  perspective: 100px;
  box-sizing: content-box;
  width: 100%;
  left: 0px;
  
}

.navbar,.navbar-default,.bootsnav,.bg-white,.header-light,.navbar-top,.on,.no-full{

  background-color: #125e9e;
  font-color:  white;

}

.dropdown-toggle{
background-color: #ffffff;


}
.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 22%;
  display: flex;
  overflow-x: scroll;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
 
}

.carousel__slid1 {
  position: relative;
  flex: 0 0 100%;
  width: 100%;   

}

/*.mando-img:hover {

 width: 180px;
 height: 44px;
 position: absolute; 
background-image: url(http://www.huixquilucan.gob.mx/images/hxq/centromando.png) ;
z-index: 1;
left: 1180px;

}*/


.carousel__slid2 {
  position: relative;
  flex: 0 0 100%;
  width: 0%;

}

.carousel__slid3 {
  position: relative;
  flex: 0 0 100%;
  width: 0%;
 
 
}

.carousel__slid4 {
  position: relative;
  flex: 0 0 100%;
  width: 0%;
  
  background-image: url("images/hxq/3.jpg");
   background-size: 100px 100px;
  background-size: 100% 100%;

}

.carousel__slid5 {
  position: relative;
  flex: 0 0 100%;
  width: 0%;
  z-index: 2000;

  background-image: url("images/hxq/4.jpeg");
   background-size: 100px 100px;
  background-size: 100% 100%;
 
}

.carousel__slide:nth-child(even) {
 
}

.carousel__slide:before {
  content: counter(item);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  color: #fff;
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

 /*@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}
*/


.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 85px;
  bottom: 62px;
  left: 0;
  text-align: center;
  z-index: 2;
}

.top-bar-content.active {
  background-color: white;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}


.carousel__navigation-item:hover,
.carousel__navigation-button:hover {
  opacity: 75%;
  color: skyblue;
}

.carousel__navigation-item.hover,
.carousel__navigation-button.active {
opacity: 1%;

}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #192069;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
  margin-top: 40.5%;
 /* width: 4rem;
  height: 4rem; */
  transform: translateY(-50%);
  border-radius: 0%;
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  left: -1rem;
}

.carousel::after,
.carousel__next {
  right: -1rem;
}

.carousel::before,
.carousel::after {
  background-image: url(images/hxq/1.jpg);
  content: '';
  z-index: 2;
  background-color: #333;
  background-size: 1rem 1rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 1.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

/*.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
} */

h3 {
   position: absolute;
   top: 200px;
   left: 80px;
   width: 100%;
   margin: 0 auto;
   font-size: 20px;
   text-align: center;
   color: #0d0d54;
}


.contenedor{
    position: relative;
    display: inline-block;
    
}

.texto-encima{
    position: absolute;
    top: 170px;
    left: 390px;
    width: 400px;
    height: 450px;
    z-index: 1;
}

.convocatoria {
  position: absolute;
  left: 0;
  top: 93px;
  z-index: 1;
  padding: 100px 10px;


}


.btncontacto {

  z-index: 1;
}

.btn-small-1 {
    font-size: 11px;
    padding: 4px 24px;
}



@media screen and (max-width: 767px) {
.carousel {
  top: 45px;
  position: relative;
  padding-top: 180% ;
  /*ilter: drop-shadow(0 0 10px #0003);*/
  perspective: 100px;
  box-sizing: content-box;
  width: 87%;
  left: -6px;

} 

}
@media screen and (max-width: 767px) {

          
.texto-encima {
    height: auto;
    position: absolute;
    top: 85px;
    left: auto;
    width: auto;

}

}

@media screen and (max-width: 991px) {  /*Carousel*/
          
.carousel__viewport {

  left: -10%;

}

}



@media screen and (max-width: 1199px) {  /*Carousel*/
          
.carousel__viewport {

    height: auto;
    width: 100%;
    left: 3px;

}

}

@media screen and (max-width: 991px) {  /*Carousel*/
          
.contenedor {

  text-align: justify;
  width: 88%;
  left: 16px;

}

}

@media screen and (max-width: 991px) {  /*Carousel*/
          
.convocatoria {

     position: absolute;
    left: 45px;
    top: 300px;


}

}

@media screen and (max-width: 1199px) {  /*Carousel*/
          
.convocatoria {
    position: absolute;
    left: 45px;
    top: 303px;

}

}
@media screen and (max-width: 991px) {  /*Carousel*/
          
.carousel {

    left: -18px;
}

}

@media screen and (max-width: 1199px) {  /*Carousel*/
          
.carousel {

    left: 30px;
    padding-top: 652px;
 

}

}
@media screen and (max-width: 767px) {
          
.carousel__viewport {
 left: -3px;
}

}

@media screen and (max-width: 767px) {
          
.carousel__navigation {
    right: 59px;
    bottom: 97px;
    
}

}




.caja-texto { 
  
  position: relative;
  background-color: lightgrey;
  padding: 0px 980px 407px 5px;
  margin: 0;
  opacity: 50%;
  left: 213px;
  top: 206px;
  border-radius: 50px;



} 




@media screen and (max-width: 767px){
.caja-texto { 
  
 
  background-color: lightgrey;
  padding: 78px 262px 133px 85px;
  margin: 0;
  opacity: 50%;
  left: 20px;
  top: 206px;
  border-radius: 22px;
  background-size: cover!important;

}

}




@media screen and (min-width: 1440px){
.caja-texto { 
  
 
  background-color: lightgrey;

  margin: 0;
  opacity: 50%;
  left: 324px;
  top: 206px;
  border-radius: 22px;
  background-size: cover!important;




}

}


@media screen and (min-width: 2560px){
.caja-texto { 
  
 
  background-color: lightgrey;

  margin: 0;
  opacity: 50%;
  left: 400px;
  top: 406px;
  border-radius: 22px;
  background-size: cover!important;

}

}


@media screen and (max-width: 320px){
.caja-texto { 
  
 
  background-color: lightgrey;
  padding: 82px 168px 132px 83px;
  margin: 0;
  opacity: 50%;
  left: 10px;
  top: 206px;
  border-radius: 22px;
  background-size: cover!important;

}

}

    
/*@media screen and (max-width: 2560px){
.caja-texto { 
  
  position: relative;
  background-color: lightgrey;
  padding: 201px 1000px 133px 85px;
  margin: 0;
  opacity: 50%;
  left: 20px;
  top: 206px;
  border-radius: 22px;



}

} */


@media screen and (min-width: 2560px){
.cover-background { 

  position: relative;!important;
  background-size: cover!important;
  height: 1139px;
  
 


}

}