.photo-gallery-widget {
    position: relative;
    margin-bottom: calc(var(--spacing-large) * 2);
}

.photo-gallery-widget .photo-gallery-widget-carousel {
    width: 100%;
    position: relative;
    /*height: var(--container-small);*/
    height: 600px;
    transition: all 0.3s ease;
}

.photo-gallery-widget .photo-gallery-widget-header {
    background-color: var(--color-primary-dark);
    color: var(--color-secondary-text);
    padding: calc(var(--spacing-small) - 4px) var(--spacing-small);
    font-size: var(--text-medium);
    font-weight: 600;
    margin: var(--spacing-small) 0;
}


.photo-gallery-widget .photo-gallery-widget-slider-previous, .photo-gallery-widget .photo-gallery-widget-slider-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: var(--spacing-medium);
    margin-top: calc(-1 * var(--spacing-large));
    color: var(--color-normal-text);
    font-weight: var(--weight-bold);
    font-size: var(--text-large);
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.photo-gallery-widget .photo-gallery-widget-slider-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit seethrough */
.photo-gallery-widget .photo-gallery-widget-slider-previous:hover, .photo-gallery-widget .photo-gallery-widget-slider-next:hover {
    background-color: var(--color-dark-bg);
    color: var(--color-dark-text);
}

.photo-gallery-widget .navigation-buttons .photo-gallery-widget-slider-previous {
    position: absolute;
    z-index: 10;
    font-size: calc(var(--text-small) * 2);
    top: 40%;
    left: 10px;
    font-weight: var(--weight-bold);
}

.photo-gallery-widget .navigation-buttons .photo-gallery-widget- {
    right: 10px;
    position: absolute;
    font-size: calc(var(--text-small) * 2);
    z-index: 10;
    top: 40%;
}

.photo-gallery-widget .navigation-buttons .nav-btn {
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    border-radius: 50%;
    width: calc(var(--spacing-medium) * 2);
    height: calc(var(--spacing-medium) * 2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.photo-gallery-widget .navigation .nav-btn:hover {
    background: var(--color-normal-bg);
}


/* The dots/bullets/indicators */
.photo-gallery-widget .photo-gallery-widget-slider-navigation-img {
    cursor: pointer;
    height: 60px;
    width: 120px;
    object-fit: cover;
    display: block;
    margin: 0 2px;
    background-color: #bbb;
    transition: background-color 0.6s ease;
}

.photo-gallery-widget .active, .photo-gallery-widget .photo-gallery-widget-slider-navigation-img:hover {
    /*background-color: #717171;*/
}

.photo-gallery-widget .photo-gallery-widget-block {
    position: relative;

}

.photo-gallery-widget .photo-gallery-widget-navigator {
    overflow-x: hidden;
    display: flex;
}

.photo-gallery-widget .photo-gallery-widget-btn-container {
    position: absolute;
    pointer-events: none;
    top: 35%;
    width: 100%;
}

.photo-gallery-widget .photo-gallery-widget-btn-block {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-gallery-widget .photo-gallery-widget-scroll-left-btn {
    margin-left: var(--spacing-medium);
    pointer-events: all;

}

.photo-gallery-widget .photo-gallery-widget-scroll-right-btn {
    margin-right: var(--spacing-medium);
    pointer-events: all;

}

/**/


.photo-gallery-widget .photo-gallery-widget-images {
    position: absolute;
    display: none;
    height: 100%;
    width: 100%;
}

.photo-gallery-widget .photo-gallery-widget-slider-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #0008;
    backdrop-filter: blur(5px);
}

.photo-gallery-widget .photo-gallery-widget-slider-overlay {
    position: absolute;
    bottom: var(--spacing-small);
    left: var(--spacing-small);
    right: var(--spacing-small);
    transform: translateY(50%);
    color: var(--color-normal-text);
    background-color: rgba(200, 200, 200, 0.5);
    padding: var(--spacing-small) var(--spacing-large);
    border-radius: var(--radius-small);
    font-size: var(--text-large);
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
}

.photo-gallery-widget .photo-gallery-widget-slider.photo-gallery-widget-images {
    display: block;
    background-color: #888;
    background-size: cover;
    background-position: center center;
}
.photo-gallery-widget .photo-gallery-widget-slider-navigation-img {
    border: 3px solid #fff;
}

.photo-gallery-widget .photo-gallery-widget-slider-navigation-img.active {
    border: 3px solid #b6b6b6;
}