@-webkit-keyframes swipe-lr {
0% {
-webkit-transform: rotateZ(8deg) translateX(-8px);
transform: rotateZ(8deg) translateX(-8px);
opacity: 0.5;
}
50% {
-webkit-transform: rotateZ(20deg) translateX(8px);
transform: rotateZ(20deg) translateX(8px);
opacity: 1;
}
100% {
-webkit-transform: rotateZ(8deg) translateX(-8px);
transform: rotateZ(8deg) translateX(-8px);
opacity: 0.5;
}
}
@keyframes swipe-lr {
0% {
-webkit-transform: rotateZ(8deg) translateX(-8px);
transform: rotateZ(8deg) translateX(-8px);
opacity: 0.5;
}
50% {
-webkit-transform: rotateZ(20deg) translateX(8px);
transform: rotateZ(20deg) translateX(8px);
opacity: 1;
}
100% {
-webkit-transform: rotateZ(8deg) translateX(-8px);
transform: rotateZ(8deg) translateX(-8px);
opacity: 0.5;
}
}
.wp-block-ws-library-ws-gallery {
position: relative;
max-width: 650px;
margin-left: auto !important;
margin-right: auto !important;
z-index: 0;
padding-bottom: 120px;
}
@media (min-width: 768px) {
.wp-block-ws-library-ws-gallery {
padding-bottom: 50px;
}
}
@media (min-width: 1470px) {
.wp-block-ws-library-ws-gallery {
padding-bottom: 0;
}
}
.wp-block-ws-library-ws-gallery .list-images {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
height: 320px;
margin: 0 auto;
}
@media (min-width: 768px) {
.wp-block-ws-library-ws-gallery .list-images {
height: 560px;
}
}
.wp-block-ws-library-ws-gallery .list-images .item {
position: absolute;
width: 260px;
height: 260px;
border-radius: var(--wp--custom--border-radius--medium);
overflow: hidden;
-webkit-box-shadow: var(--wp--preset--shadow--normal);
box-shadow: var(--wp--preset--shadow--normal);
cursor: -webkit-grab;
cursor: grab;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
will-change: transform;
}
@media (min-width: 768px) {
.wp-block-ws-library-ws-gallery .list-images .item {
width: 380px;
height: 380px;
}
}
.wp-block-ws-library-ws-gallery .list-images .item:active {
cursor: -webkit-grabbing;
cursor: grabbing;
}
.wp-block-ws-library-ws-gallery .list-images .item .item-media__link {
display: block;
width: 100%;
height: 100%;
}
.wp-block-ws-library-ws-gallery .list-images .item img {
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
pointer-events: none;
-webkit-user-drag: none;
}
.wp-block-ws-library-ws-gallery .field-slide {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 115px;
height: 115px;
position: absolute;
inset: auto 0 0 auto;
gap: 0;
font-size: var(--wp--preset--font-size--large);
opacity: 1;
-webkit-transition: opacity 0.4s ease;
transition: opacity 0.4s ease;
pointer-events: none;
-webkit-transform: rotate(3.65deg);
transform: rotate(3.65deg);
}
.wp-block-ws-library-ws-gallery .field-slide::before {
content: "";
display: block;
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background-color: var(--wp--preset--color--2-b);
-webkit-mask-image: url(//www.aquaparc-embrun.fr/wp-content/themes/glass-child/assets/sprite/view/sprite.svg#shapes--round);
mask-image: url(//www.aquaparc-embrun.fr/wp-content/themes/glass-child/assets/sprite/view/sprite.svg#shapes--round);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center;
mask-position: center;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
z-index: -1;
}
.wp-block-ws-library-ws-gallery .field-slide.is-hidden {
opacity: 0;
}
.wp-block-ws-library-ws-gallery .field-slide span {
color: var(--wp--preset--color--white);
font-family: var(--wp--custom--font-family--2);
}
.wp-block-ws-library-ws-gallery .field-slide .emoji {
font-size: 2em;
-webkit-animation: swipe-lr 1.4s ease-in-out infinite;
animation: swipe-lr 1.4s ease-in-out infinite;
}
.wp-block-ws-library-ws-gallery .field-replay {
display: none;
position: absolute;
inset: 0;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
gap: 0.5em;
margin-top: var(--wp--preset--spacing--30);
text-align: center;
font-size: var(--wp--preset--font-size--large);
}
.wp-block-ws-library-ws-gallery .field-replay.is-visible {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.wp-block-ws-library-ws-gallery .field-replay span {
font-weight: var(--wp--custom--font-weight--bold);
}
.wp-block-ws-library-ws-gallery .field-replay span:first-child {
font-size: 2.5em;
line-height: 1;
}
.wp-block-ws-library-ws-gallery .field-replay span:nth-child(2) {
font-family: var(--wp--custom--font-family--2);
font-weight: var(--wp--custom--font-weight--regular);
font-size: 2rem;
}
.wp-block-ws-library-ws-gallery .field-replay span:last-child {
cursor: pointer;
}
.wp-block-ws-library-ws-gallery .field-replay span:last-child:hover {
text-decoration: underline;
text-underline-offset: 3px;
}