.gallery-container {
  position: relative;
  width: 100%;
  height: 0;
  /* padding-bottom: 56.25%; */
  padding-bottom: 88.7%;
}

/* .gallery-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

.carousel.popup .carousel-item img {
  max-width: 100%;
  height: 60vw;
  object-fit: fill;
  margin: auto;
}

@media (min-width: 576px) {
  .carousel.popup .carousel-item img {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .carousel.popup .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
}

/* @media (max-width:767px){
  .h-100 {
  height: 250px !important;
  width: 250px !important;
  margin: auto !important;
  object-fit: contain !important;
  }
  } */
@media (max-width: 767px) {
  .carousel-item img {
    height: 250px !important;
    /* width: 250px !important; */
    width: 100%;
    margin: auto !important;
    object-fit: contain !important;
  }
}

* {
  transition: 0.3s;
}

#gModal .modal-dialog {
  height: 90vh;
}

#gModal .modal-content {
  background: none;
  border: none;
  height: 90vh;
}

#gModal .modal-header {
  border: none;
  justify-content: end;
}

@media (max-width: 768px) {
  #gModal .modal-header {
    padding: 0;
  }
}

#gModal .modal-header button {
  background: none;
  border-radius: 10px;
  padding: 5px 20px;
  opacity: 1;
  position: relative;
  top: 3px;
  border: solid 2px white;
  font-size: 2em;
}

@media (min-width: 992px) {
  #gModal .modal-header button {
    top: 15px;
  }
}

#gModal .modal-header button:hover {
  top: 3px;
}

#gModal .modal-header span {
  color: white;
}

#gModal .modal-body {
  padding: 0;
  border: none;
  position: relative;
}

#gModal .carousel-indicators {
  bottom: -95px;
}

#gModal .carousel-indicators li {
  height: 15px;
  border-radius: 100px;
  background: none;
  border: solid 2px white;
}

/* #gModal .modal-body::before, #gModal .modal-body::after {
  content: '';
  height: 50px;
  width: 50px;
  display: block;
  position: absolute;
  background: white;
  border-radius: 3px 10px;
}
@media (min-width: 768px) {
  #gModal .modal-body::before, #gModal .modal-body::after {
    border-radius: 3px 30px;
    height: 100px;
    width: 100px;
 }
}
#gModal .modal-body::before {
  top: -5px;
  left: -5px;
}
@media (min-width: 768px) {
  #gModal .modal-body::before {
    top: -15px;
    left: -15px;
 }
}
#gModal .modal-body::after {
  bottom: -5px;
  right: -5px;
  z-index: -1;
}
@media (min-width: 768px) {
  #gModal .modal-body::after {
    bottom: -15px;
    right: -15px;
 }
} */
#gModal .modal-footer {
  border: none;
  margin-top: 60px;
}

@media (min-width: 992px) {
  #gModal .modal-footer {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  #gModal .modal-footer {
    margin-top: 100px;
  }
}

#gModal .modal-footer .btn {
  margin: auto;
  border: solid 2px white;
  background: none;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.1em;
  font-weight: bold;
  padding: 0.2em 0.7em;
}

#gModal .modal-footer .btn:hover {
  background: white;
  color: black;
}

#gModal .carousel.popup {
  height: 70vh;
}

#gModal .carousel.popup .carousel-inner {
  height: 100%;
}

#gModal .carousel.popup .carousel-item {
  height: 100%;
}

#gModal .carousel-control-prev,
#gModal .carousel-control-next {
  font-size: 2em;
  top: auto;
  opacity: 1;
  bottom: -120px;
}

@media (min-width: 768px) {
  #gModal .carousel-control-prev,
  #gModal .carousel-control-next {
    top: 0;
    opacity: 0.5;
    bottom: 0;
  }
}

#gModal .carousel-control-next-icon,
#gModal .carousel-control-prev-icon {
  height: 30px;
  width: 30px;
}

@media (min-width: 768px) {
  #gModal .carousel-control-prev {
    left: -80px;
    width: 10%;
  }

  #gModal .carousel-control-next {
    right: -80px;
    width: 10%;
  }

  #gModal .carousel-indicators {
    bottom: -60px;
  }

  #gModal .carousel-indicators li {
    width: 20px;
    height: 15px;
  }
}

@media (min-width: 992px) {
  #gModal .carousel-control-prev {
    left: -80px;
    width: 10%;
  }

  #gModal .carousel-control-next {
    right: -80px;
    width: 10%;
  }

  #gModal .carousel-indicators {
    bottom: -60px;
  }
}

@media (min-width: 1200px) {
  #gModal .carousel-control-prev {
    left: -20px;
    width: 8%;
  }

  #gModal .carousel-control-next {
    right: -20px;
    width: 8%;
  }

  #gModal .carousel-indicators {
    bottom: -50px;
  }
}

@media (min-width: 992px) {
  #gModal .carousel-indicators li {
    height: 10px;
  }
}

#gModal .carousel-indicators li:hover {
  background: white;
}

#gModal .carousel-indicators li.active {
  background: white;
}
