/*OurWork-Slideshow Template*/

@charset "utf-8";
/* CSS Document */

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  height: 500px;
  position: relative;
}

.mySlides{
	width: 100%;
	height: 500px;
	object-fit: cover;	
	overflow: hidden;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 30px;
  padding: 24px;
  position: absolute;
  font-weight: bold;
  bottom: 18px;
  width: 100%;
  text-align: center;
  font: "source-sans-pro";
  background-color: #862D27;
  opacity: .75;
  width: 500px;
  float: right;
}

/* Number text (1/3 etc) */
.numbertext {
	display: none;}
 /* color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}


.active, .dot:hover {
  background-color: #717171;
}


@media (max-width: 600px) {
		.prev, .next,.text {font-size: 18px; width: 10px; height: 12px;padding-top: 5px;}
		.slideshow-container{
		width: 100%;
		min-height: 400px;
		position: center;
	}
	.mySlides{
		width: 100%;
		mx-height: 450px;
	}
}

@media (min-width: 601px)and (max-width: 900px){
	.prev, .next,.text {font-size: 20px; width: 10px; height: 25px;padding-top: 12px;}
	.slideshow-container{
		width: 90%;
		min-height: 100px;
		position: center;
		align-content: center;
		padding-left: 0%;
	}
	.mySlides{
		width: 100%;
		height: 350px;
	}
}

@media (min-width: 901px) and (max-width: 1200px){
	.prev, .next,.text {font-size: 11px}
	.slideshow-container{
	width: 90%;
	min-height: 100px;
	position: center;
	align-content: center;
	padding-left: 0%;
}
	
	.mySlides{
		width: 100%;
		min-height: 320px;
		margin-right: 10%;
	}
	.dot {
		padding-top: -10px;
	}
}
