.viewer-container {
    position:fixed;
    left:0;
    top:0;  
    width: 100%;
    height: 100%;
    background-color:#000000;
    overflow:hidden;
    z-index:5;
  }
  
  .image-container {
    position: relative;
    display:flex;
    width:100%;
    height:100%;
    z-index:6;
    align-items:center;
    justify-content: center;
    /* background-color:yellow; */
  }
  .image-container img 
   {
    width:100%;
    height:100%;
    object-fit: contain;
  }
  
  .viewer-controls {
    position: absolute;
    display:block;
    font-size: 1.5em;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    z-index:15;
  }
  .previousimage {
    bottom: 10px;
    left: 38%;
    height:40px;
  }
  
  .nextimage {
    bottom: 10px;
    right: 38%;
    height:40px;
  }
  .closeviewer {
    top: 20px;
    right: 20px;
    height:40px;
  }
  .hidden {
    display:none;
  }

  @media only screen and (min-width: 992px) {
 
    .viewer-controls {
      font-size: 3.5em;
      font-weight: 800;
    }
   
    .previousimage {
      /* bottom: 40px; */
      top:50%;
      left: 40px;
      height:40px;
    }
    
    .nextimage {
      /* bottom: 40px; */
      top:50%;
      right: 40px;
      height:40px;
    }
    .closeviewer {
      top: 40px;
      right: 40px;
      height:40px;
    }
  
  }


  
 