/* Modal */
#image-modal {
    position: fixed;
    z-index: 1020;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #image-modal.hide {
    display: none;
  }
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    height: 100%;
    object-fit: contain;
    max-width: 700px;
    background-color: #030303;
  }
  
  #image-modal .image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
    z-index: 10;
  }
  #image-modal .image-modal-close:hover svg path {
    fill: #030303;
  }
  #image-modal .image-container{
    width: 100%;
    max-width: 700px;
    display: flex;
    align-content: center;
    justify-content: center;
    height: 100%;
    min-height: 350px;
  }
  /* Previous and next buttons */
  #image-modal .prev, #image-modal .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    user-select: none;
    transition: 0.3s;
  }
  #modal-video{
    width: 80%;
    height: 100%;
  }
  #modal-video video{
    width: 100%;
    height: 100%;
  }
  #image-modal .prev {
    right: 0;
  }
  
  #image-modal .next {
    left: 0;
  }
  #images-wrapper,
  #video-wrapper{
    width: 100%;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
  }
  .dots.hide{
    display: none;
  }
  @media (max-width:991px) {
    #image-modal {
      background-color: rgb(0,0,0);
    }
    #image-modal .image-container{
      width: 80%;
      max-height: 300px;
      min-height: unset;
    }
    #images-wrapper,
    #video-wrapper{
      height: 350px;
    }
    .modal-content {
      margin: unset;
      object-fit: contain;
    }
  }
  @media (max-width:768px) {
    [data-arrow-video]{
      display: none;
    }
  }