.media-tab-bg {
  /* background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.0001), #000),
          url("../images/Slider-1.jpg") no-repeat; */
  background: url("../images/media/media-bg.jpg") no-repeat;
  height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center;
  /* background-size: cover; */
  background-attachment: fixed;
}

.media-bg-text h3 {
  color: #fff;
  /* padding-right: 100px; */
  font-weight: 500;
  padding-top: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 50px;
  text-shadow: 2px 2px 4px #1c0b37;
}
.media-wrapper {
  padding: 50px 0px;
}
.media-heading {
  text-align: center;
  padding-bottom: 20px;
  color: #255946;
}
.media-img-col-wrapper {
  position: relative;
}
.blog-img-col-wrapper {
  padding: 10px;
}
.blog-img-col-wrapper img{
  width: 100%;
}
.media-img-col {
  overflow: hidden;
  width: 300px;
  height: 200px;
  margin: 10px;
  padding: 0px 20px;
}
.media-img-col img {
  width: 300px;
  height: 200px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.media-img-col-wrapper .media-img-col:hover img {
  width: 350px;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 190px; /* Location of the box */
  padding-bottom: 50px;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  /* width: 100%; */
  /* max-width: 900px; */
  width: 500px;
}
.modal-content img {
  width: 500px;
  height: 500px;
}
/* Caption of Modal Image (Image Text) - Same Width as the Image */

/* The Close Button */
.close {
  position: absolute;
  background: #dd1717;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  right: 33%;
  top: 23%;
  border-radius: 50%;
  padding: 2px;
  z-index: 1;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
