
.gallery{
    width:100%;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}




.gallery .splide{
   visibility: visible !important; 
}


.layer_inner .gallery{
	max-height: unset !important;
}


.gallery_img{
transform:scale(1);
transition:ease 0.3s;
}

.gallery_img.zoom{
transform:scale(2);
}


.splide{
    padding:0px !important;
}


.splide__list{
    height:auto !important;
    max-height: 100% !important;
    width:100%;
    height: 100%;
}



.gallery .splide .placeholder_gal{
    position:relative;
    padding-top: calc(100% / 1.5);
    width:100%;
    height: 100%;
}


.gallery .thumbnails {
    min-width: 75px;
    height: 75px;
}

.gallery .thumbnails .video_icon{
    z-index: 2;
    position: absolute;
    left: 50%;
    background: rgb(255 255 255 / 80%);
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.gallery .video_icon .triangle{
    left: 13px;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent rgb(0 0 0 / 80%);
    top: 9px;
}


.gallery .thumbnails > div.placeholder_gal{
    position:relative;
    width:100%;
    padding-top: 100%;
    
    
}

.gallery .thumbnails img{
    position: relative !important;
    width: 100%;
    object-fit: cover;
    height: 100% !important;
}

.gallery .thumbnails .placeholder_gal{
    position:relative;
	width:100%; 
	background-position: center;
    background-repeat: no-repeat;
	background-size: 20px;
    background-image: url(https://www.xxl-art.de/images/loader_img3.gif);
}


.placeholder_gal{
    position:relative;
     width:100%; 
}

.placeholder_gal:before{
    padding: 0 0 100% 0 !important;
}

.gallery .splide .placeholder_content{
    position:absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    text-align: center;
    
    height: 100%;
    width: 100%;
    
    max-height: calc(80vh - 25px);
    
    
    
    
}

.gallery .splide .placeholder_content > div > ul, li {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

.splide__track{
	height: 100%;
    width: 100%;
	max-height: calc((100vh - 25px) / 1.334) !important;
}

.splide__slide {
    height: 100%;
    width: 100%;
}

.splide__slide.is-active {
    border-radius:8px !important;
}

.splide__slide .placeholder_content{
    border-radius:6px;
    overflow:hidden;
}

.splide__slide.is-active .placeholder_content{
    border-radius:0px;
}

.splide__pagination{
    bottom: -0.5em !important;
    left: 0;
    padding: 0 1em;
    position: relative !important;
    right: 0;
    z-index: 1;
}

.splide__arrow{
    border-radius: 50px !important;
    background-color: rgba(255,255,255,0.95) !important;
    height:3.5em !important;
    width: 3.5em !important;
    opacity: 1 !important;
    box-shadow: 0px;
}

.splide__arrow:hover{
	box-shadow: 0px 1px 5px #888888 !important;
}

.splide__arrow svg {
fill:black !important;
}

.gallery .placeholder_content{
    background-color:none;
}

.gallery .placeholder_content  > figure > a >  img,
.gallery .placeholder_content  > figure > div >  img{
    max-height: 95% !important;
    max-width: 100% !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.gallery .placeholder_content  > figure > a > video,
.gallery .placeholder_content  > figure > div > video{
	width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100% !important;
    min-width: 0px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


    
    
.gallery .placeholder_content  > figure {
	display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    background-size: 30px;
    background-image: url(https://www.xxl-art.de/images/loader_img3.gif);
}



.gallery .placeholder_content  > figure > a,
.gallery .placeholder_content  > figure > div {
    display: inline-flex;
    max-width: 100%;
    max-height: 100%;
}



.gallery .placeholder_content  > figure.video-link,
.gallery .placeholder_content  > figure > a.video-link {
    display: block  !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.gallery .thumbnails .placeholder_content img{
    /* width: 100%; 
    height: 100% !important; */
    object-fit: cover;
}


.gallery .thumbnails .placeholder_gal {
    position: relative;
    padding-top: 100%;
}



.gallery .vertical_center{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.gallery .thumbnails ul.splide__list{
    margin:0 auto !important;
}

.gallery .thumbnails li.splide__slide{
    overflow:hidden;
    margin-right:10px;
}

.gallery .main_splider .splide__slide{
    height: auto !important;
}

.gallery .main_splider{
padding-left: 0px;	
width:100%;
float:right;
max-height: 80vh;
height: auto;
padding-bottom: 30px !important;
}

.gallery .main_splider > .placeholder_gal{
    position: relative;
    height:100%;
    width: 100%;
    display: block;
}

.gallery .main_splider > .placeholder_gal:before {
    padding:0px ! important;
}

.gallery .thumbnails .placeholder_gal:before {
    padding:0px ! important;
}





.splider_thumbnails{
    height: 100%;
    overflow: hidden;
}

.splider_thumbnails > div{
	padding-top:10px;
    border-radius: 10px;
    box-shadow: none;
    padding: 4px !important;
}




.gallery_outer{

}
.gallery_placeholder{
    position:relative;
    height: 100%;
    width: 100%;
    padding-top:100%; 
     
}
.gallery_content{
    position:absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    height: 100%;
    width: 100%;
}

#splider_thumbnails-track{
	height:auto;
}


figure{
    position: relative;
    max-width: 100%;
    /* overflow: hidden; */
    /*  cursor: zoom-in; */
    height: 100%;
    width: 100%;
    
    margin-block-start: 0em !important;
    margin-block-end: 0em !important;
    margin-inline-start: 0px !important;
    margin-inline-end: 0px !important;
}





.pswp__zoom-wrap {
  text-align: center;
  &:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
  }
}
.wrapper {
  line-height: 0;
  width: 100%;
  max-width: 900px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
  width: 100%;
  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
.galley video {
  width: 100% !important;
  height: auto !important;
}

.thumbnail_video_icon{
}






figure{
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    position: relative;
    max-width: 100%;
    /* overflow: hidden; */
    height: 100%;
}


figure.zoom_on_tab {
 background-size: 0 !important;
 transition: all 0.2s ease;
 height: auto;
 width:auto;
 cursor: zoom-in;
}

figure.zoom_on_tab:hover {
  background-size: auto !important; 
  background-position: 50% 50%;
  position: relative;
  
  overflow: hidden;
  cursor: zoom-in;
  height: none;
  width: none;
  max-width: 100%;
  background-size: auto;
}



figure.zoom_on_tab:hover  {
}



figure.zoom_on_tab > div >  img,
figure.zoom_on_tab > a >  img {
  transition: opacity .5s;
  display: block;
  max-width: 100%;
  height:100%;
  margin:0 auto;
  object-fit: contain;
}



figure.zoom_on_tab > div:hover,
figure.zoom_on_tab > a:hover {
   opacity: 0 !important; 
   object-fit: fill; 
   object-fit: cover;
   width: 100%;
   height: 100%;
}



figure.zoom_on_tab > div > img:hover,
figure.zoom_on_tab > a > img:hover {
   opacity: 0 !important; 
   object-fit: fill; 
   object-fit: cover;
   width: 100%;
   height: 100%;
}



.css_bg_image.lazy{
	background-image:none !important;
	background-color:#efefef;
}

.css_bg_image{
	
}


@media screen and (min-width: 1024px) {
	
	
	.gallery .thumbnails {
	    height: 100% !important;
	}

	.gallery .main_splider {
	    padding-left: 80px !important;
	}
	
	
	.splider_thumbnails {
	    height: 100%;
	    overflow: hidden;
	    position: absolute;
	}
	
	
	.splider_thumbnails > div{
		padding-top:0px;
	    border-radius: 10px;
	    box-shadow: inset 0px 11px 8px -10px #ccc, inset 0px -11px 8px -10px #ccc;
	    height: calc(100% - 30px) !important;
	    padding: 4px !important;
	}
	
	.splider_thumbnails-track{
		height:100% !important;
	}
	
	.gallery .thumbnails ul.splide__list{
	   width: 70px !important;
	}
	
	
	figure.zoom_on_tab {
		 background-size: 0 !important;
		 transition: none !important;
	}

}





