﻿@import url("main.css");

#content h2, h3 {
	text-align: center;
}

#main_content {
	width:785px;
	float: left;
	margin-top: 5px;
	margin-bottom: 25px;
}


/* Container needed to position the overlay. Adjust the width as needed */
.image_container {
  float:left;
  position: relative;
  margin: 20px 0 5px 25px;
}

/* Make the image to responsive */
.image {
  display: block;
  max-height: 293px;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay {
  position: absolute; 
  bottom: 0; 
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1; 
  width: 96.6%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 14px;
  padding: 4px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.image_container:hover .overlay {
  opacity: 1;
}


/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  max-width: 900px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 40px;
  font-weight: bold;
}

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

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}


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

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


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

.demo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 750px;
  max-height: 900px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}