.picture_row {
  /* margin: 10px 0 30px; */
  height: 200px;
  clear: both;
}

.picture_row > .picture_column {
  padding: 0 8px;
  cursor: pointer;
  height: 100%;
  margin-bottom: 30px;
}
.picture_row > .picture_column img {
  max-height: 100%;
  width: auto;
  margin:  0 auto;
  border: 2px solid #f58426;
  border-radius: 5px;
}

.picture_row:after {
  content: "";
  display: table;
  clear: both;
}

.picture_column {
  /* float: left; */
  /* width: 30%; */
  /* margin: 0 5px; */
}

/* The Modal (background) */
.oneLifeModal {
  display: none;
  position: fixed;
  z-index: 999;
  /* padding-top: 100px; */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: black;
}

/* Modal Content */
.oneLifeModal-content {
  position: relative;
  /* background-color: #fefefe; */
  margin: auto;
  padding: 0;
  max-width: 80%;
  /* max-width: 1200px; */
  /* margin-bottom: 500px; */
  margin-top: 1px;
  height: 85%;
}
@media(max-width: 1200px){
  .oneLifeModal-content{
    width: 100%;
    max-width: 90%;
  }
}
@media(max-width: 991px){
  .oneLifeModal-content {
    width: 90%;
    max-width: 100%;
  }
  .demo_wrapper img{
    height: 100px;
  }
}
@media(max-width: 767px){
  .oneLifeModal-content {
    width: 90%;
    max-width: 100%
  }
  .oneLifeModal-content .mySlides img{
    /* width: 100% !important; */
    /* height: auto !important; */
  }
  .demo_wrapper img{
    height: 50px;
  }
}
@media(max-width: 480px){
  .oneLifeModal {
    /* width: 90%; */
    max-width: 100%;
   }
  .oneLifeModal-content .mySlides img{
    /* width: 150% !important; */
    /* height: auto !important; */
  }
  
  
}

/* The Close Button */
.close {
  color: white;
  position: fixed;
  top: 5px;
  right: 25px;
  font-size: 60px;
  font-weight: bold;
  z-index: 9;
  opacity: 0.6;
}
/* The Close Button on left*/
.cursor-left {
  left: 15px;
  right: unset;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.8;
}

.oneLifeModal-content .mySlides {
  display: none;
  height: 100%;
  width: auto;
  margin-bottom: 20px;
  padding-bottom: 20px;
  /* border-bottom: 1px solid gray; */
}
.oneLifeModal-content .mySlides img{
  max-height: 100%;
  margin: 0px auto;
  max-width: 100%;
  width: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/* Next & previous buttons */
.oneLifeModal-content .prev,
.oneLifeModal-content .next,
.oneLifeModal .prev,
.oneLifeModal .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: rgba(128, 128, 128, 0.5);
  z-index: 9999;
}

/* Position the "next button" to the right */
.oneLifeModal-content .next,
.oneLifeModal .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.oneLifeModal-content .prev:hover,
.oneLifeModal-content .next:hover,
.oneLifeModal .prev:hover,
.oneLifeModal .next:hover {
  background-color: rgba(128, 128, 128, 0.8);
}

/* Number text (1/3 etc) */
.oneLifeModal-content .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.oneLifeModal-content .caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.oneLifeModal-content img.demo {
  opacity: 0.6;
  margin: 0 auto;
}

.oneLifeModal-content img.active{
  opacity: 1 !important;
  border: 5px ridge gray;
  /* margin-top: -2px; */
  /* outline: 10px solid #fff; */
}
.oneLifeModal-content img.demo:hover{
  opacity: 0.8;
}

.oneLifeModal-content img.hover-shadow {
  transition: 0.3s
}

.oneLifeModal-content .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)
}

.demo_wrapper{
  margin-bottom: 15px;
}