* {box-sizing: border-box;}
/* body {font-family: Verdana, sans-serif;} */
/* .mySlides {display: none;} */
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  padding:2rem;
}

/* Caption text */
.text {
  color: #ffffff;
  font-size: 30px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight:normal;
  /* padding: 8px 12px; */
  /* position: absolute; */
  bottom: 240px;
  background: rgba(51, 52, 51, 0.3);
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #0c0b0b;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 12px;
  position: absolute;
  top: 2;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #161414;
}

/* Fading animation */
.fade {
  animation-name:fade;
  animation-duration: 2s;
  /* animation-timing-function: ease-in-out; */
  /* animation-iteration-count: infinite; */
}

@keyframes fade {
  from {opacity: .5} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
/* @media only screen and (max-width:300px) {
  .text {font-size: 11px}
   
  
} */
@media only screen and (min-width:100px) and (max-width: 1200px) {

.slider_img{
    width: 100%;
    height: 55%;
    object-fit: cover;
    /* overflow: hidden; */
  }

  .text {
    font-size: 14px;
  bottom: 45%;
  max-width: 100%;


  
  }
  .text {
   
    padding: 10px,10px;
    bottom: 45%;
    background: rgba(51, 52, 51, 0.3);
    width: 100%;
    text-align: center;
  
  }
  
  .catItemIntroText img{
    object-fit: contain;
    width: 100%;
  }

  .tagItemIntroText img{
    object-fit: contain;
    width: 100%;
  }

  .service_img  {
    object-fit: contain;
    width: 100%;
  }
 

}
