

.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & prevposious buttons */
.prevpresidentpos, .nextprsidentpos {
  cursor: pointer;
  position: absolute;
  top: 55%;
  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 "nextpos button" to the right */
.nextprsidentpos {
  left: 0;
  border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */
.prevpresidentpos:hover, .nextprsidentpos:hover {
  background-color: rgba(0,0,0,0.8);
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	.prevpresidentpos, .nextprsidentpos{
		top:45%;
	}
.video-post{
	height:197px;
}
.centered {
    position: absolute;
    top: 66%;
	
    font-weight: 600;
    color: white;
  
    background: rgba(27,20,23,.87);
    width: 100%;
    text-align: center;
    padding: 2%;
	height:67px;
	overflow:hidden;
    
}
.centered a{
	color:white;
}

.posttext {
    color: #f2f2f2;
    font-size: 15px;
    padding: 3px;
    position: absolute;
    bottom: -2px;
    width: 100%;
    text-align: center;
    background: rgb(27 20 23 / 67%);
    text-align: right;
    height: 64px;
    overflow: hidden;
	text-overflow: ellipsis;
}
.posttext a {
	color:white;
}

}

@media only screen and (min-width: 768px) {

.slideshow-container,.video-post{
	height:195px;
}
/* Caption text */
.posttext {
    color: #f2f2f2;
    font-size: 17px;
    padding: 3px;
    position: absolute;
    bottom: -2px;
    width: 100%;
    text-align: center;
    background: rgb(27 20 23 / 67%);
	    background: rgba(27,20,23,.67);
    text-align: right;
	height:29%;
     overflow:hidden;
	text-overflow: ellipsis;
	
}
.posttext a {
	color:white;
}
.posttext p{
	line-height:24px;
	margin-top:5px;
}
/* Centered text */
.centered {
    position: absolute;
    top: 87%;
    left: 50%;
	height:29%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    color: white;
    background: rgb();
    background: rgba(27,20,23,.87);
    width: 100%;
    text-align: center;
    padding: 2%;
	padding-left:25px;
	padding-right:25px;
	line-height:22px;
	overflow:hidden;
	text-overflow:ellipsis;
	
    /* border: none; */
}
.centered a{
	color:white;
}
}


/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 30px;
    width: 30px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.activeslide, .dot:hover {
  background-color: #717171;
}

/* 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 only screen and (max-width: 300px) {
  .prevpresidentpos, .nextprsidentpos,.posttext {font-size: 11px}
}
