.element-05 .views-field-field-photo {
    position: relative;
    z-index: 0;
    height: 100%;
}

.element-05 .views-field-field-photo * {
    height: 100%;
}

.element-05 .views-field-field-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.element-05.version-2 .views-field-field-photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 8/5;
    object-fit: cover;
}

.element-05.version-2.shape-square .views-field-field-photo img {
    aspect-ratio: 1/1;
}

.element-05.version-2.shape-rectangle .views-field-field-photo img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.element-05.version-2.rounded-corners-true .views-field-field-photo a {
    border-radius: 10px;
}

.element-05.version-2.rounded-corners-true .wpt-gallery-container {
    max-width: calc(100% - 14px);
    margin: auto;
}

.element-05.version-2 .wpt-container.wpt-gallery-container {
    width: 100% !important;
    max-width: unset !important;
}

.element-05 .views-field-field-photo a {
    display: block;
    overflow: hidden;
    position: relative;
}

#poststuff .element-05 .views-field-field-photo a {
    pointer-events: none
}

.element-05 .views-field-field-photo a img {
    transition-duration: 400ms;
}

.element-05 .views-field-field-photo a:hover img {
    transform: scale(1.1);
}

.element-05 .views-field-field-photo a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #123;
    opacity: 0;
    z-index: 1;
    transition-duration: 400ms;
}

.element-05 .galleryset .views-field-field-photo a:hover::before, .view-gallery .views-field-field-photo a:hover::before {
    opacity: 0.4;
}

.element-05 .galleryset .views-field-field-photo a:not(.accommodation-item)::after, .view-gallery .views-field-field-photo a:not(.accommodation-item)::after {
    content: '\f030';
    font-family: "Font Awesome 5 Pro";
    font-weight: 800;
    font-size: 2.5em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.25);
    color: #fff;
    z-index: 2;
    opacity: 0;
    transition-duration: 400ms;
    font-size: 40px !important
}

.element-05 .views-field-field-photo a:hover::after {
    opacity: 0.8 !important;
    transform: translate(-50%, -50%) scale(1);
}

.element-05 .gallery-row {
    font-size: 0;
}

.element-05 .wpt-row {
    /*     display: grid!important;
    grid-gap: 30px; */
    margin: 0 0px;
    justify-content: center;
    align-items: stretch;
}

.element-05.version-1 .wpt-row > * {
    padding: 15px;
    /* height: unset; */
}

.element-05.version-2.rounded-corners-true .gallery-row > * {
    padding: 7px;
}

.element-05.version-2.rounded-corners-true .gallery-row.single-image > * {
    padding: 14px;
}

.element-05 .per-row-6 > * {
    width: calc(100% / 6) !important;
}

.element-05 .per-row-5 > * {
    width: calc(100% / 5) !important;
}

.element-05 .per-row-4 > * {
    width: calc(100% / 4) !important;
}

.element-05 .per-row-3 > * {
    width: calc(100% / 3) !important;
}

.element-05 .per-row-2 > * {
    width: calc(100% / 2) !important;
}

.element-05 .per-row-1 > * {
    width: 100% !important;
}

@media (max-width: 1200px) {
    .element-05 .per-row-6 > * {
        width: calc(100% / 5) !important;
    }

}

@media (max-width: 900px) {
    .element-05 .per-row-6 > * {
        width: calc(100% / 4) !important;
    }

    .element-05 .per-row-5 > * {
        width: calc(100% / 4) !important;
    }

    .element-05 .per-row-4 > * {
        width: calc(100% / 3) !important;
    }

    .element-05 .per-row-3 > * {
        width: calc(100% / 2) !important;
    }

    .element-05 .per-row-2 > * {
        width: 100% !important;
    }
}

@media (max-width: 700px) {
    .element-05 .per-row-6 > * {
        width: calc(100% / 3) !important;
    }

    .element-05 .per-row-5 > * {
        width: calc(100% / 3) !important;
    }

    .element-05 .per-row-4 > * {
        width: calc(100% / 2) !important;
    }

    .element-05 .per-row-3 > * {
        width: 100% !important;
    }
}

@media (max-width: 500px) {
    .element-05 .per-row-6 > * {
        width: calc(100% / 2) !important;
    }

    .element-05 .per-row-5 > * {
        width: calc(100% / 2) !important;
    }

    .element-05 .per-row-4 > * {
        width: 100% !important;
    }
}

.element-05 .wpt-single img {
    height: auto !important;
}

.element-05.version-2.full-width-true .wpt-single img {
    max-width: 100%
}

.element-05.version-2.full-width-false .wpt-single img {
    width: auto;
    max-width: 1200px;
}

.element-05.version-2.rounded-corners-true .wpt-single img {
    border-radius: 20px;
}

.element-05.version-2 .wpt-buttons-row {
    justify-content: center;
}

.element-05.version-2 .wpt-pdf-container {
    margin-top: 40px;
}

.element-05.version-2 .wpt-pdf-container iframe {
    /*max-width:calc(100% - 30px);*/
    margin: auto;
    max-width: 1230px;
    border: 0;
    /*width:1230px!important;*/
    width: calc(100% - 30px);
}

.element-05.version-2 .download-pdf .fa-file-pdf {
    margin-right: 10px
}

.element-05.version-2.image-contained .wpt-gallery-container .field-content {
    position: relative;
    padding-bottom: 100%;
}

.element-05.version-2.image-contained .wpt-gallery-container .field-content a {
    height: 100%;
    display: block;
    width: 100%;
    position: absolute;
}

.element-05.version-2.image-contained .wpt-gallery-container .field-content img {
    object-fit: contain;
}
