* {box-sizing: border-box;}
.mySlides {display: none;}
.slideshow-container img {vertical-align: middle;}

/* Slideshow container */
.slider-main{
  max-width:100%;
  height:auto;
  margin:auto;
  padding: 0px 30px;
}

.slideshow-container {
  max-width: 1200px;
  position: relative;
  margin: auto;
  text-align: center;
}

/* Caption text */
.text {
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.text h1 span{
  font-size: 30px;
  color: #2e2e2e;
  background: rgba(255, 255, 255, 0.7);
 padding: 5px 20px;
 border: 1px solid rgba(255, 255, 255, 0.7);
 border-radius: 4px;
 font-family: "Roboto",Sans-serif;
  letter-spacing: 0;
  text-transform: capitalize;
}
.text h2 span {
  color: #fff;
  font-size: 18px;
 background: rgba(52, 162, 168, 1);
 padding: 15px 20px;
 border: 1px solid rgba(52, 162, 168, 1);
 border-radius: 8px;
}
.text h2 span a {
  text-decoration: none;
  color: #fff;
}

.text h2 span:hover {
 background: #1d7175;
 border: 1px solid #1d7175;
 cursor: pointer;
}


/* The dots/bullets/indicators */
.dot {
  position: relative;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  top: -30px;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.6s;
  animation-name: fade;
  animation-duration: 1.6s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
@media (max-width: 920px){
  .text {
  width: 100%;
  text-align: center;
}
}

@media (max-width: 768px){
  .slider-main{
  padding: 0px 0px;
}

}
@media (max-width: 500px){

.text h1 span {
  font-size: 14px;
 padding: 3px 20px;
}
.text h2 span {
  font-size: 12px;
 padding: 10px 15px;
 border-radius: 8px;
}
.text {
  font-size: 13px;}

}

@media (max-width: 390px){

.text h1 span {
  font-size: 14px;
 padding: 3px 20px;
}
.text h2 span {
  font-size: 11px;
 padding: 6px 10px;
 border-radius: 8px;
 width: 100%;
}
.text {
  font-size: 11px;
  position: absolute;
  top: 45%;
  left: 50%
  transform: translate(-50%, -30%);}
  
  .dot {
  display: none;
}

}

@media (max-width: 250px){
  .text {
  display: none;}

}