

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}






.iksiukas_close{
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 100%;
    margin-bottom: 10px;
}




  .close-modal:hover,
  .close-modal:focus {
    color: #bbb;
    text-decoration: none;
  }
  .image_hightss{
    display: flex;
    /* padding: 5px; */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 761px;
    margin: 0 auto;
  }

.foto_remelis {
     display: flex
;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 761px;
    /* padding: 20px 5px; */
    height: 65vh;
    margin: 0 auto;
    border-radius: 8px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    /* padding: 5px; */
}



.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    flex-direction: column;
    left: 250px;
    width: calc(100% - 250px);
    top: 0;
    height: 100%;
    background-color: rgb(37 38 42);
    justify-content: space-between;
}

.modal-image {
 max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    /* padding: 5px; */
    display: none; /* bus matoma tik kai užsikrauna */
}

.oisadfuiasdufs{
    top: -5px;
    position: relative;
    width: 20px;
    left: -6px;
}
.prev {
    left: 0;
}
.next {
    right: 0;
}




/* 
.foto_remelis{
  
    width: 100%;
    max-width: 761px;
    margin: 0 auto;
    margin-bottom: 60px;
} */




.dots_and_arrowss{
    display: flex;
    width: 100%;
    /* padding: 20px 5px; */
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 761px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.prev, .next, .prev-arrow, .next-arrow    {
           font-size: 21px;
        color: #ffffff;
        background: #25262a;
        border-radius: 8px;
        border: 2px solid #4a4a4a;
        width: 40px;
        height: 60px;
        cursor: pointer;
        bottom: 80px;

}
.prev {
    left: 20px;
}

.next {
    right: 20px;
}



.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
}



















@media (max-width: 600px) {

    .prev, .next, .prev-arrow, .next-arrow    {
          font-size: 21px;
        color: #ffffff;
        background: #25262a;
        border-radius: 8px;
        border: 2px solid #4a4a4a;
        width: 40px;
        height: 60px;
        cursor: pointer;
        bottom: 80px;

}



    .carousel-container {
        max-width: 100%;
    }
    .carousel-slide {
        display: flex;
        transition: transform 0.5s ease-in-out;
        width: 100%;
    }
    
.prev {
    left: 30px;
}

.next {
    right: 30px;
}

}










@media only screen and (max-width: 600px) {
    .modal-image {
        max-width: 100%;
        max-height: 100%;
        border-radius: 8px;
    }

    .iksiukas_close{
   
        padding-right: 20px;
}
}

@media (max-width: 1013px) {
    .image-modal {
          display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        padding: 5px;
    }
    .close-modal {
      position: absolute;
      top: 7px;
      right: 29px;
      color: #ffffff;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
    }
}

