.saypix-container {
display: block;
}
.saypix-container[data-type="mosaic"] .saypix-item {
display: inline-block;
float: left;
width: 25%;
min-height: 100px;
}
.saypix-container[data-type="mosaic"] .saypix-item > a img {
display: none;
}
.saypix-container[data-type="mosaic"] .saypix-item > a {
display: block;
margin: 5px;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
-webkit-transition: all .5s;
-moz-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
}
.saypix-container[data-type="mosaic"] .saypix-item > a:hover {
-ms-transform: scale(1.05);
-moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-o-transform: scale(1.05);
transform: scale(1.05);
}
.saypix-container[data-type="mosaic"] .saypix-item > a * {
display: none;
}
.saypix-viewer {
display: block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0,0,0,0.95);
z-index: 9999;
}
.saypix-viewer .saypix-viewer-imgcontainer {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
}
.saypix-viewer .saypix-viewer-imgcontainer img {
position: relative;
z-index: 0;
}
.saypix-viewer .saypix-viewer-imgcontainer .cadre {
z-index: 10;
position: absolute;
top: 1%;
left: 16%;
display: block;
width: 68%;
height: 96%;
border: 1px solid rgba(255,255,255,0.5);
}
.saypix-viewer .saypix-viewer-nav {
display: flex;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 9998;
}
.saypix-viewer .saypix-viewer-nav-left {
width: 50%;
height: auto;
cursor: pointer;
}
.saypix-viewer .saypix-viewer-nav-right {
width: 50%;
height: auto;
cursor: pointer;
}
.saypix-viewer .saypix-viewer-nav-left:hover {
background-repeat: no-repeat;
background-position: center left 5%;
background-size: 20px 20px;
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.saypix-viewer .saypix-viewer-nav-right:hover {
background-repeat: no-repeat;
background-position: center right 5%;
background-size: 20px 20px;
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.saypix-viewer .saypix-viewer-cross {
cursor: pointer !important;
position: fixed;
border-radius: 50%;
top: 10px;
right: 10px;
width: 40px;
height: 40px;
z-index: 10000;
color: #FFF;
background-color: #555;
background-size: 20px 20px;
background-repeat: no-repeat;
background-position: center center;
background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 121.31 122.876' enable-background='new 0 0 121.31 122.876' xml:space='preserve'%3E%3Cg%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M90.914,5.296c6.927-7.034,18.188-7.065,25.154-0.068 c6.961,6.995,6.991,18.369,0.068,25.397L85.743,61.452l30.425,30.855c6.866,6.978,6.773,18.28-0.208,25.247 c-6.983,6.964-18.21,6.946-25.074-0.031L60.669,86.881L30.395,117.58c-6.927,7.034-18.188,7.065-25.154,0.068 c-6.961-6.995-6.992-18.369-0.068-25.397l30.393-30.827L5.142,30.568c-6.867-6.978-6.773-18.28,0.208-25.247 c6.983-6.963,18.21-6.946,25.074,0.031l30.217,30.643L90.914,5.296L90.914,5.296z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E%0A");
}
.saypix-viewer .saypix-viewer-cross:hover {
cursor: pointer !important;
background-color: #FFF;
background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 121.31 122.876' enable-background='new 0 0 121.31 122.876' xml:space='preserve'%3E%3Cg%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M90.914,5.296c6.927-7.034,18.188-7.065,25.154-0.068 c6.961,6.995,6.991,18.369,0.068,25.397L85.743,61.452l30.425,30.855c6.866,6.978,6.773,18.28-0.208,25.247 c-6.983,6.964-18.21,6.946-25.074-0.031L60.669,86.881L30.395,117.58c-6.927,7.034-18.188,7.065-25.154,0.068 c-6.961-6.995-6.992-18.369-0.068-25.397l30.393-30.827L5.142,30.568c-6.867-6.978-6.773-18.28,0.208-25.247 c6.983-6.963,18.21-6.946,25.074,0.031l30.217,30.643L90.914,5.296L90.914,5.296z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E%0A");
}
.saypix-viewer .saypix-viewer-comment {
display: block;
position: fixed;
background-color: rgba(0,0,0,0);
left: 0;
right: 0;
bottom: 0;
height: 15%;
text-align: center;
}
.saypix-viewer .saypix-viewer-comment > div { font-family: Arial, sans-serif;
font-size: 1.4em;
color: #FFF;
}
.saypix-swiper {
display:block;
width:100%;
max-width:100%;
height:400px;
clear:both;
margin:auto;
position:relative;
cursor: pointer;
}
.saypix-swiper .swiper-wrapper .swiper-slide {
text-align: center;
font-size: 18px;
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.saypix-swiper .swiper-wrapper .swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.saypix-swiper .swiper-button-next, .saypix-swiper .swiper-button-prev {
padding: 10px;
color: #000;
background-image: none;
}
.saypix-swiper .swiper-pagination .swiper-pagination-bullet {
background-color:#000;
opacity: 1;
}
.saypix-swiper .swiper-pagination .swiper-pagination-bullet-active {
background-color: #fff;
opacity: 1;
}