
/* body {margin:0}*/
.mySlides {display: none}
/*img {vertical-align: middle;}*/
.mySlides img{    border-radius: 0px 0px 0px 10px;}
/* Slideshow container */
.slideshow-container {
  width:100%;
  max-width: 800px;
  position: relative;
  margin: auto;
}


/* Next & previous BANNER buttons */
.bnprev, .bnnext {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(111,95,94,0.59);	
}

/* Position the "next button" to the right */
.bnnext {
  right: 0;
  border-radius: 5px 0 0 5px;
  /*background-image: url(https://www.krungsricapital.com/images/banner/right-banner.png);	*/
  background: url(../images/banner/right-banner.png) no-repeat;
}
.bnprev {
  left: 0;
  border-radius: 0 5px 5px 0;
  /*background-image: url(https://www.krungsricapital.com/images/banner/left-banner.png);	*/
  background: url(../images/banner/left-banner.png) no-repeat;
}

/* On hover, add a black background color with a little bit see-through */
.bnprev:hover, .bnnext:hover {
  background-color: rgba(111,95,94,0.85);	
}

.Absolute-Center {
  /*background-color: #a5caa5; */
  float: left;
  position: relative;
  /* top: 200px; */
  margin: auto;
  width: 80%;
}
/* Caption text 
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}*/


/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media screen and (max-width: 430px)  {
  .prev, .next,.text {font-size: 11px}
}
@media screen and (max-width: 430px)  {
#SlideBanner.Absolute-Center {
  width: 100%;
  position: relative;
}}