@charset "UTF-8";

figure.wp-block-image{
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

/* SLIDER  */
.at-gallery>div>div>div {
    width: max-content;
	margin: auto;
    padding: 0 5px;
    display: flex;
    align-items: center;
    background: #eee;
}

.at-gallery figure.wp-block-image {
    padding: 10px 5px;
}

/* .at-gallery figure.wp-block-image.size-medium img {
    padding: 10px 5px;
    height: 400px;
    width: auto;
} */

/* .at-gallery a {
    color: inherit;
    text-decoration: none;
    display: flex;
} */

.at-gallery a {
    color: inherit;
    text-decoration: none;
    display: flex;
    max-width: calc(100vw - 10px);
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.leaf {
    position: absolute;
    display: contents;
    width: 0;
    height: 0;
}

.leaf div {
    position: fixed;
    cursor: pointer;
    z-index: 3;
    transition-duration: .5s;
}

.leaf div {
    display: none;
    pointer-events: all;
    padding: 2rem;
}

.leaf div svg {
    width: 5rem;
    height: auto;
}

div.arrow-right {
    right: 3rem;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

div.arrow-left {
    left: 3rem;
}

.at-gallery>div {
    margin: auto;
    position: static;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.at-gallery>div>div {
    position: relative;
    width: 100%;
    left: 0;
    transition-duration: .5s;
}

/* .at-gallery figure.wp-block-image.size-medium {
    padding: 10px 5px;
    display: flex;
    align-items: center;
} */

.at-gallery figure.wp-block-image {
    padding: 10px 5px;
    display: flex;
    align-items: center;
    max-width: calc(100vw - 10px);
    overflow: hidden;
    justify-content: center;
}

img.attachment-full-img {
    position: fixed;
    width: auto;
    max-width: calc(100vw - 300px);
    height: auto;
    max-height: 90vh;
    aspect-ratio: auto;
    left: 50%;
    z-index: 4;
    opacity: 0;
    transition-duration: .75s;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

@media (max-width: 767px) {

    img.attachment-full-img {
        width: auto;
        max-width: none;
        height: 100%;
        max-height: none;
    }
}

.back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000c;
    pointer-events: all;
    cursor: zoom-out;
    display: none;
    z-index: 1;
}

@media (max-width: 767px) {
    .back {
        background: #000;
    }

    img.attachment-full-img {
        transition-duration: .3s
    }
}

.slider-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: .5rem;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    background: #000000ad;
    cursor: pointer;
    pointer-events: all;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

/* -------  */
.slider-close {
    transition-duration: 1s;
    -webkit-transform: rotateZ(0deg);
    -moz-transform: rotateZ(0deg);
    -ms-transform: rotateZ(0deg);
    -o-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
}

.slider-close svg {
    width: 2rem;
    height: 2rem;
}

.slider-close svg path {
    fill: #74BB71;
    transition-duration: 1s;
}

/* -------  */

.slider-dots {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 12px;
    z-index: 5;
}

.slider-dots i {
    display: block;
    background: #ccc;
    width: 12px;
    height: 12px;
    z-index: 10;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

@media (min-width: 768px) {

    .slider-dots,
    .slider-dots i {
        display: none;
    }
}