/* Header styles 
-------------------------*/

.galleryPage {
    position: relative;
     background: linear-gradient(rgba(2, 102, 168, 0.7), rgba(2, 102, 168, 1)), url("../images/galleryBg.png") no-repeat fixed;
    background-size: cover;
    background-position: bottom;
}

/* Modal slideshow
-------------------------*/

/*
* {
  box-sizing: border-box;
}   
*/

.mRow > .mColumn {
  padding: 0 8px;
}

.mRow:after {
  content: "";
  display: table;
  clear: both;
}

.mColumn {
  float: left;
  width: 25%;
  padding-top: 10px;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(254, 211, 210, .98);
  text-align: center;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #ffffff;
  margin: auto;
  padding: 0;
  max-width: auto;
  display: inline-block;
  border-radius: 5px;    
}

/* The Modal Close Button */
.close {
  color: #3d3d3d;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: 400;
}

.close:hover,
.close:focus {
  color: #fafffa;
  text-decoration: none;
  cursor: pointer;
  transition: .6s ease;
}

/* Alert */
@media screen and (min-width: 1330px) {
    .alert {
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translate(-50%, 0);
      width: 50%;
      padding: 20px;
      background-color: #3d3d3d;
      opacity: 90%;
      color: white;
      line-height: 2em;
      border-radius: 5px;
    }
}

.alertClose {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 26px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.6s ease;
}

.alertClose:hover {
  color: #fed3d2;
}
.solid {
    border-style: solid;
    border-radius: 5px;
    padding: 2px 6px 2px 6px;
    margin-left: .5em;
    margin-right: .5em;
}
.mySlides {
  display: none;
  text-align: center;
  border-radius: 5px 5px 0 0;
}

.slideImg {
    width: auto;
    max-width: 80vw;
    height: auto;
    max-height: 60vh;
    border-radius: 5px 5px 0 0;
}

.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: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(61, 61, 61, 0.3);
}

/* Position the "prev button to the left */
.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

/* 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(61, 61, 61, 0.8);
}

/* Number text (1/3 etc) */
/*
.numbertext {
  color: #fafffa;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background: linear-gradient(to left, rgba(61, 61, 61, 0), rgba(61, 61, 61, .6));
  width: 100%;
  text-align: left;
  border-radius: 5px 5px 0 0;;
}
*/

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: #aa8adf;
  padding: 2px 16px;
  color: #fafffa;
  border-radius: 0 0 5px 5px;
}

/*
.demo {
  opacity: 0.6;
  border-radius: 5px;
}

.active,
.demo:hover {
  opacity: 1;
}
*/

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Responsive grid
-------------------------*/

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column50 {
  flex: 50%;
  max-width: 50%;
  height: 232px;
  padding: 0 4px;
  padding-bottom: 8px;
}

.column img {
  margin-bottom: 8px;
  vertical-align: middle;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
}

.column img:hover {
  opacity: .8;
}

.column50 img {
  vertical-align: middle;
  width: 100%;  
  border-radius: 5px;
  cursor: pointer;
}

.column50 img:hover {
  opacity: .8;
}


/* Media queries
---------------------*/

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }    
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
  .column50 {
    flex: 100%;
    max-width: 100%;
    height: 100%;  
  }      
}

/* Responsive layout -  moves alert to bottom of sceen instead of top */
@media screen and (max-width: 1329px) {
    .alert {
      position: absolute;
      bottom: 0px;
      width: 100%;
      padding: 20px;
      background-color: #3d3d3d;
      opacity: 90%;
      color: white;
      line-height: 2em;
    }
}