/*
 * This is a Work In Progress!
 * The code is a rough draft, I would suggest not using it until it's done
 */



 #slider {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    text-align: center;  
    overflow: hidden;
    -webkit-transition: background-color 0.6s ease-in-out 0s;
    transition: background-color 0.6s ease-in-out 0s;
  }
  

  
  a {
    color: #fff;
    text-decoration: none;
  }
  
  #pages {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6%;
    padding: 0;
    margin: 0;
    height: 88%;
    width: 88%;
  }
  
  #pages li {
    right: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    display: inline-block;
    visibility: hidden;
    position: relative;
    display: none;
  }

  #pages  .circle{
      position: absolute;
      top: 40%;
      left: 44%;
      z-index: 10;
      width: 160px;
      height: 160px;
      background-color: #f39e2d;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 0 20px  10px rgba(0,0,0,0.5);
      transition: .3s;
  }

  #pages  .circle .triangle{
      width: 64px;
      height: 86px;
      background-color: #332c24;
      clip-path: polygon(0 0, 0% 100%, 100% 50%);
  }

  #pages  .circle:hover{
      transition: .3s;
      box-shadow: 0 0 80px  10px rgba(0,0,0,0.5);
      cursor: pointer;
  }



  #pages li img{
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  
  #pages .selected {
    opacity: 1;
    visibility: visible;
    display: initial;
  }
  
  
  .arrow {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: 50px;
    height: 90px;
    color: #000;
    background-color: #fff;
    opacity: 0.4;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11;
  }
  
  .arrow:hover {
    box-shadow: 2px -2px 0 2px white inset;
    -webkit-box-shadow: 4px -4px white inset;
  }

   
  #next {
    right: 0;
  }
  
  #next:hover, #next:focus {
    transition: 0.6s ease;
    opacity: 0.6;
  }
  
  #prev:hover, #prev:hover {
    transition: 0.6s ease;
    opacity: 0.6;
  }
  
  
  #prev {
    left: 0;
  }
  
  .hidden {
    opacity: 0;
    pointer-events: none;
  }
 
  
    /* navigation */
  .navigation {
    width: 100%;
    bottom: 7px;
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    position: absolute;
    font-size: 0;
    height: 60px;
    z-index: 10;
  }
  
  .navigation li {
    display: inline-block;
    margin: 0;
    padding: 0;
  }
  
  .navigation a {
    display: block;
    padding: 15px 4px;
  }
  
  .navigation span {
    display: block;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 100%;
    opacity: 0.6;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
  }
  
  .navigation a:hover span {
    opacity: 1;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  
  .navigation a.selected span {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }


  @media screen and (max-width:1024px){
    #pages  .circle{
        width: 50px;
        height: 50px;
        top: 45%;
        left: 46%;
    }
  
    #pages  .circle .triangle{
        width: 21px;
        height: 28px;
    }

    .arrow {
        width: 13px;
    height: 23px;
    font-size: 20px;
      }
      .gallery #gallery_popup .cont .modal-content {
        height: 40%;}
      .gallery #gallery_popup .modal-content {
        width: 90%;}


  }
  @media screen and (max-width:801px){

  .gallery #gallery_popup .modal-content {
    height: 40%;}

    #pages .circle {
        top: 40%;
        left: 42%;
    }
  }

  