
.modal {
  position: fixed; 
  z-index: 9;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  -webkit-animation-name: fadeIn; 
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}


.modal-content {
  position: fixed;
    top: 2%;
    left: 15%;
    background-color: #fefefe;
    width: 70%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
   
}


.close {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: -15px;
    top: -15px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 5px 6px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 10px 16px;
  background-color: #fff;
  color: white;
}

.modal-body {
	padding: 2px 16px;
	margin: 0 auto;
    text-align: center;
}

.modal-footer {
  padding: 10px 16px;
  background-color: #fff;
  color: white;
}



@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}



.modal .mySlides {display: none; margin-bottom:10px;}
.modal .mySlides img {vertical-align: middle;}

/* Slideshow container */
.modal .slideshow-container {
  /*max-width: 1000px;*/
  position: relative;
  margin: auto;
  
}

.modal p{
	padding:0;
	margin:0;
	margin-top:10px;
	margin-bottom:5px;
	
}

.modal .popup-btn{
	    background: #000;
    color: #fff;
	padding: 5px 10px;
	border-radius:50px;
	font-size:20px
}

/* Caption text */
.modal .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.modal .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.modal .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;
}

.modal .dot:hover {
  background-color: #717171;
}

.modal .active {
  background-color: #717171;
}

/* Fading animation */
.modal .fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.modal .prev{
	left:0;
}

.modal .next{
	right:0;
}
/* Next & previous buttons */
.modal .prev, .modal .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
    background-color: rgba(0,0,0,0.2);
}

/* Position the "next button" to the right */
.modal .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.modal .prev:hover, .modal .next:hover {
  background-color: rgba(0,0,0,0.8);
}


@-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) {
  .modal .text {font-size: 11px}
}

@media only screen and (max-width: 768px) {
.modal-content {
  position: fixed;
    top: 5%;
    left: 5%;
    background-color: #fefefe;
    width: 90%;
}
.modal .dot{
	height: 5px;
	width: 5px;
}
}