.myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto
}

.myImg:hover, .myImgCat:hover {
  opacity: 0.4;
}

/* The Modal (background) */
.modal, 
.modalCat {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  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(255,255,255,0.9); /* Black w/ opacity */
}

.modalImg {
  background-color: #d9dbdb;
  padding: 5px 10px;
  width: 45%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  height: auto;
}

.modalImgCat {
  background-color: #d9dbdb;
  padding: 5px 10px;
  width: 45%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  height: auto;
  margin-bottom: 50px;
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  box-shadow: none!important;
  border-radius: 10px;
  //max-width: 75%;
}

.modal-content-cat {
  margin: auto;
  display: block;
  width: 90%;
  border-radius: 10px;
  //max-width: 75%;
}

/* Caption of Modal Image */
.captionCat {
  margin: auto;
  display: block;
  width: 90%;
  text-align: left;
  color: black;
  padding: 10px 0;
  /*height: 150px;*/
  margin-bottom: 20px;
}

.w3-dis-left {
  position:absolute;
  top:50%;
  left:25%;
  transform:translate(0%,-50%);
  -ms-transform:translate(-0%,-50%)
}

.w3-dis-right {
  position:absolute;
  top:50%;
  right:25%;
  transform:translate(0%,-50%);
  -ms-transform:translate(-0%,-50%)
}

.desc_breadcrumb {
  margin: auto;
  width: 90%;
  display: block;
  margin-top: 15px;
  background-color: #80a0b7;
  border-radius: 5px;
  text-align: left;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding: 10px 5px;
}

.details_heading {
  margin: auto;
  margin-top: 10px;
  display: block;
  width: 90%;
  text-align: left;
  color: #000;
  font-size: 16px;
  padding: 2px 0;
}

.desc_under_hr {
    border: 0;
    height: 2px;
    background: #80a0b7;
/*    background-image: linear-gradient(to right, #ccc, #80a0b7, #ccc);*/
    width: 90%;
    margin: auto;
/*    box-shadow: 0 2px 6px rgba(0,0,0,0.15);*/
}

.detailsCat {
  margin: auto;
  display: block;
  width: 90%;
  text-align: left;
  color: #000;
  padding: 2px 0;
  margin-bottom: 20px;
}

.closeButt {
  width: 90%;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(1)}
  to {-webkit-transform:scale(2)}
}
 
@keyframes zoom {
  from {transform:scale(0.4)}
  to {transform:scale(1)}
}

@-webkit-keyframes zoom-out {
  from {transform:scale(1)}
  to {transform:scale(0)}
}

@keyframes zoom-out {
  from {transform:scale(1)}
  to {transform:scale(0)}
}

.caption1 {
  width: 90%;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 30px;
}

/* Add Animation */
.modal-content, .captionCat, 
.modal-content-cat {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

.out {
  animation-name: zoom-out;
  animation-duration: 0.6s;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content, 
  .modal-content-cat {
      width: 100%;
  }
}