:root {
	--main-bg-color: #002946;
	--main-bg-color-2: #307672;
  }

.card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.7);
	transition: 0.3s;
	width: 100%;
}

.card:hover {
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.contain {
	padding: 10px 30px;
}

.textcolor {
	color: #444;
}

.textcolor-header {
	color: #ffffff;
	padding: inherit;
	padding: 10px 30px;
	font: italic 35px/50px georgia;
}

.bgcolor {
	background-color: var(--main-bg-color-2);
}

.textcolor-announcements {
	color: #ffffff;
	font: italic georgia;
}

.container-photo-overlay {
	position: relative;
}

.image-photo-overlay {
  opacity: 1;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle-photo-overlay {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container-photo-overlay:hover .image-photo-overlay {
  opacity: 0.3;
}

.container-photo-overlay:hover .middle-photo-overlay {
  opacity: 1;
}

.text-photo-overlay {
  background-color: var(--main-bg-color);
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

.hover01 img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.hover01 img:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

* {box-sizing:border-box}

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

/* Hide the images by default 
.mySlides {
  display: none;
} */

/* Next & previous buttons */
.prev, .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;
}

/* 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);
  color: #fff;
}

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

/* Number text (1/3 etc) */
.numbertext {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  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: #fff;
}

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

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@media (min-width: 1200px) {
  nav .container{
    width: 1245px;
  }
}

