hr {
    height: 2px;
    size: 2px;
    color: #dadada;
    background: #dadada;
    border: 0;
    margin: 10px 0;
}

.album {
    margin-bottom: 15px;
}
  
  .album-title {
    font-size: 12px;
    color: #3879b8;
    font-weight: bold;
    margin: 1.5em 0 1em 0;
  }
  
  .photo-slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .photo-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 945px;
    scroll-behavior: smooth;
    gap: 10px;
    margin-left: 6px;
  }
  
  .photo-slide {
    flex: 0 0 auto;
    width: 120px;
    margin: 5px;
    cursor: pointer;
  }

    .photo-slide img {
        width: 100%;
        height: 100%;
        padding-right: unset;
        margin: 0 10px 10px 10px;
    }
  
  .slider-arrow {
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    padding: 1px;
    padding-bottom: 45px;
    padding-top: 45px;
    background: #ecf1f7;
}

.slider-arrow.left {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.slider-arrow.right {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
  
  .slider-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
  }
  
  .modal-inner {
    background: white;
    padding: 10px 0;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    padding: 0 10px;
    margin: 0;
  }
  
  .modal-body {
    position: relative;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  #modalImage {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    width: 100% !important;
    padding-right: unset;
  }
  
  .modal-close {
    font-size: 28px;
    cursor: pointer;
  }

.modal-arrow {
    position: absolute;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.75);
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
}

.modal-arrow.left {
    left: 10px;
    font-size: 26px;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;   
}

.modal-arrow.right {
    right: 10px;
    font-size: 26px;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}
  
  .modal-footer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 12px;
    font-size: 14px;
    color: #444;
    padding: 0 10px;
    margin: 0;
  }

  .modal-info-left {
    text-align: left;
  }
  
  .file-caption {
    font-weight: 500;
    margin-bottom: 5px;
  }
  
  .file-name {
    color: #555;
  }
  
  .counter {
    color: #999;
    margin-top: 4px;
  }

.album-name {
    color: #3879b8;
    font-weight: normal;
    font-weight: bold;
    margin: 0 0 5px 0;
    font-size: 16px;
}

h3.album-name {
    margin: 0;
}

.file-actions a {
    text-decoration: none;
    color: #0056b3;
}
  
  .file-actions a:hover {
    text-decoration: underline;
  }