/* IMAGES STYLES */
/* global */
#content li img{max-width:70vw;}
#content li img:hover{opacity:0.8;}
ul[class*='images-']{list-style:none;}
ul[class*='images-'] li{margin:0 0 1rem 0;background:inherit;text-align:center;}
ul[class*='images-'] p{max-width:250px;margin:0 auto;padding:1em;color:#5b5b5b;font-size:0.875em;}
ul[class*="images-"] img{max-width:70vw;}
ul[class*="images-"] img:hover{opacity:0.8;}
div.content .images-gallery{padding:0;}
/* list custom */
.images-1{float:left;margin:.5rem 1.5rem .5rem 0;max-width:45%;}
.images-2{float:right;margin:.5rem 0 .5rem 1rem;max-width:45%;}
.images-3{float:left;margin:.5rem 1.5rem .5rem 0;max-width:45%;}
@media screen and (max-width:640px){
  .images-1,.images-2,.images-3{
    float:none;
    display:block;
    max-width:100%;
    width:100%;
    margin:.75rem 0;
  }
  .images-1 img,.images-2 img,.images-3 img{
    width:100%;
    height:auto;
    display:block;
  }
}
.images-gallery{clear:both;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--gallery-col-min,200px)),1fr));gap:1rem;margin:3em 0;list-style:none;padding:0;width:100%;box-sizing:border-box;justify-content:center;}
@media screen and (max-width:640px){
  .images-gallery{display:flex !important;flex-direction:column;gap:1.5rem;}
  .images-gallery li{width:100%;}
  .images-gallery li img{width:100%;height:auto;}
  .images-gallery li img[src$=".svg"],.images-gallery li img[src$=".SVG"]{width:55% !important;max-width:55% !important;}
  .images-gallery li p{text-align:center;}
}
.images-gallery li{padding:0;text-align:center;min-width:0;}
.images-gallery li img{width:100%;height:auto;display:block;margin:0 auto;}
.images-gallery li img[src$=".svg"],.images-gallery li img[src$=".SVG"]{width:auto;max-width:min(100%,var(--gallery-col-min,200px));}
@media screen and (min-width:641px){
  .images-gallery.images-4{grid-template-columns:repeat(5,1fr);}
}
.images-gallery li p{margin-top:1em;}
div.content .images-gallery{clear:none;}

/* GALLERIA */
.images-7{clear:left;height:450px;}
.product-layout__media--grey-bg{background:#f6f6f8;}
.product-layout__media--grey-bg .galleria-container,
.product-layout__media--grey-bg .galleria-thumbnails-container,
.product-layout__media--grey-bg .galleria-thumbnails,
.product-layout__media--grey-bg .galleria-images,
.product-layout__media--grey-bg .galleria-image{background:transparent;}
.product-layout__media--grey-bg .galleria-stage{background:transparent !important;}
.images-7 .galleria-stage{height:360px;}
.images-7 .galleria-thumbnails .galleria-image{}
.images-7 .galleria-counter{padding:5px;background:var(--color-primary);}
.images-7 .galleria-stage{z-index:1;}
.images-7 .galleria-image-nav{z-index:10;}
.images-7 .galleria-image-nav-left,
.images-7 .galleria-image-nav-right{z-index:11;}
/* Strzałki przy pasku miniaturek powielają nawigację głównego slajdu — ukryte; miniatury nadal klikalne. */
.images-7 .galleria-thumb-nav-left,
.images-7 .galleria-thumb-nav-right{
  display:none !important;
}
/* Miniaturki nie scrollują się za aktywnymi slajdami — stoją w miejscu. */
.images-7 .galleria-thumbnails{
  left:0 !important;
  transition:none !important;
}
.images-7 .galleria-info-link, .images-7 .galleria-info-close{}

/* Viewer obrazków atrybutu koloru */
.attr-gallery-viewer{width:100%;}
.attr-gallery-viewer__stage{width:100%;height:360px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f5f5f5;}
.attr-gallery-viewer__main{max-width:100%;max-height:360px;object-fit:contain;display:block;}
.attr-gallery-viewer__thumbs{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px;}
.attr-gallery-viewer__thumbs li{cursor:pointer;opacity:.6;border:2px solid transparent;border-radius:3px;overflow:hidden;transition:opacity .2s,border-color .2s;}
.attr-gallery-viewer__thumbs li img{width:60px;height:60px;object-fit:cover;display:block;}
.attr-gallery-viewer__thumbs li:hover{opacity:.9;}
.attr-gallery-viewer__thumbs li.active{opacity:1;border-color:var(--color-primary,#333);}

.scene-parallax.images-10{height:1000px;margin:0 auto 20px;position:relative;clear:both;overflow:hidden;}
.scene-parallax.images-12{height:900px;margin:0 auto;position:relative;clear:both;overflow:hidden;}
.images-10 li{height:1000px;width:100%;}
.images-12 li{height:900px;width:100%;}
/* gdy wysokość nadana inline (iHeightHead/iHeightBottom) — li dopasowuje się do ul */
.scene-parallax[style*="height"] li{height:100% !important;}



/* FILES LIST STYLES */
.files-list{margin:1rem 0 .5rem;list-style:none;vertical-align:middle;border-left:2px solid #c8cccf;font-size:0.9rem;}
.files-list li{height:20px;margin:0 0 1rem 1rem;padding-left:2rem;background:url('img/files-ext.gif') no-repeat 0 -260px;}
.files-list p{display:inline;color:var(--color-primary);font-style:italic;}
.files-list p:before{content:" - ";}
.files-list .zip{background-position:0 0;}
.files-list .xml{background-position:0 -20px;}
.files-list .xls{background-position:0 -40px;}
.files-list .web{background-position:0 -60px;}
.files-list .vcf{background-position:0 -80px;}
.files-list .txt{background-position:0 -100px;}
.files-list .sys{background-position:0 -120px;}
.files-list .swf{background-position:0 -140px;}
.files-list .psd{background-position:0 -160px;}
.files-list .pps{background-position:0 -180px;}
.files-list .png{background-position:0 -200px;}
.files-list .pic{background-position:0 -220px;}
.files-list .pdf{background-position:0 -240px;}
.files-list .nn{background-position:0 -260px;}
.files-list .eml{background-position:0 -280px;}
.files-list .media{background-position:0 -300px;}
.files-list .fla{background-position:0 -320px;}
.files-list .exe{background-position:0 -340px;}
.files-list .chm{background-position:0 -360px;}
.files-list .cdr{background-position:0 -380px;}

/* DOWNLOAD LIST */
#download-list{width:100%;margin:15px 0 5px;}
#download-list td{padding:7px 12px;}
#download-list thead{text-align:center;}
#download-list thead a{font-weight:bold;}
#download-list tbody .name a:first-child{position:relative;padding-left:26px;}
#download-list tbody .name a:first-child:before{content:'';position:absolute;left:0px;width:16px;height:20px;background:url('img/files-ext.gif') no-repeat 0 -260px;}
#download-list tbody p{margin:5px 0 0 26px;color:#777;font-size:0.938em;}
#download-list tbody .size, #download-list tbody .date-file{width:17%;max-width:170px;text-align:center;vertical-align:middle;font-size:0.938em;}
#download-list tbody .size{text-align:right;}
#download-list tbody .size abbr{font-style:italic;color:#777;}
#download-list tbody .zip .name a:first-child:before{background-position:0 0;}
#download-list tbody .xml .name a:first-child:before{background-position:0 -20px;}
#download-list tbody .xls .name a:first-child:before{background-position:0 -40px;}
#download-list tbody .web .name a:first-child:before{background-position:0 -60px;}
#download-list tbody .vcf .name a:first-child:before{background-position:0 -80px;}
#download-list tbody .txt .name a:first-child:before{background-position:0 -100px;}
#download-list tbody .sys .name a:first-child:before{background-position:0 -120px;}
#download-list tbody .swf .name a:first-child:before{background-position:0 -140px;}
#download-list tbody .psd .name a:first-child:before{background-position:0 -160px;}
#download-list tbody .pps .name a:first-child:before{background-position:0 -180px;}
#download-list tbody .png .name a:first-child:before{background-position:0 -200px;}
#download-list tbody .pic .name a:first-child:before{background-position:0 -220px;}
#download-list tbody .pdf .name a:first-child:before{background-position:0 -240px;}
#download-list tbody .nn .name a:first-child:before{background-position:0 -260px;}
#download-list tbody .msg .name a:first-child:before{background-position:0 -280px;}
#download-list tbody .media .name a:first-child:before{background-position:0 -300px;}
#download-list tbody .fla .name a:first-child:before{background-position:0 -320px;}
#download-list tbody .exe .name a:first-child:before{background-position:0 -340px;}
#download-list tbody .chm .name a:first-child:before{background-position:0 -360px;}
#download-list tbody .cdr .name a:first-child:before{background-position:0 -380px;}
@media screen and (max-width:600px){
  #download-list tr{display:block;border-top:1px solid var(--color-divider);}
  #download-list td{display:inline-block;border:0;}
  #download-list tbody td.name{display:block;}
  #download-list tbody td.date-file{min-width:50%;text-align:left;}
  #download-list tbody td.size{min-width:50%;}
}


/* QUICK.BOX */
#quick-box{position:fixed;width:100%;height:100%;left:0;top:0;background:rgba( 0, 0, 0, 0.7 );z-index:200;}
#quick-box .background{height:100%;}
#quick-box .quick-box-container{position:absolute;padding:0;border-radius:5px;box-shadow: 0 0 15px 1px #212121;}
#quick-box .image-wrapper{position:relative;line-height:0;}
#quick-box .image-wrapper img{margin:0;padding:0;border-radius:5px;}
#quick-box .navigation{position:absolute;bottom:0;margin:0;width:100%;padding:.5em 0;text-align:center;font-size:1rem;color:#fff;line-height:normal;background:rgba( 0, 0, 0, 0.2 );}
#quick-box .navigation__sep{padding:0 3px;}
#quick-box .full-size{position:absolute;right:8px;top:2px;width:24px;height:24px;font-size:0.1em;color:transparent;background:url('../admin/img/fullscreen.png') no-repeat;}
#quick-box .description{margin:0;padding:.5em 0;text-align:center;font-size:0.875rem;color:#ddd;font-weight:bold;background:rgba( 0, 0, 0, 0.8 );border-bottom-left-radius:5px;border-bottom-right-radius:5px;max-height:66px;overflow:hidden;}
#quick-box .arrow{position:absolute;display:block;width:50%;top:15%;height:70%;margin:0px;font-family:Verdana;z-index:100;opacity:0.5;text-decoration:none;}
#quick-box .arrow:before, #quick-box .arrow:after{content:"";display:block;position:absolute;top:50%;transform:translateY(-50%);}
#quick-box .arrow:before{width:32px;height:32px;margin:0 10px;background:url('img/arrows.png') no-repeat 0 0;z-index:1;}
#quick-box .arrow:after{width:52px;height:52px;background:rgba( 0, 0, 0, 0.2 );z-index:-1;}
#quick-box .arrow.prev:before{background-position:0 -32px;}
#quick-box .arrow.next:before{right:0;}
#quick-box .arrow.next:after{right:0;}
#quick-box .arrow:hover{opacity:0.9;}
#quick-box .prev{left:0px;}
#quick-box .next{right:0px;}
#quick-box .close{position:absolute;top:0;right:0;padding:0.15em 0.4em 0.2em;opacity:0.5;background:#212121;color:#fff;font-weight:bold;font-family:"Trebuchet MS";text-decoration:none;border:1px solid #fff;border-top:none;border-right:none;border-top-right-radius:5px;z-index:100;}
#quick-box .close:hover{opacity:0.8;}
#quick-box .close, #quick-box .arrow{line-height:normal;}
#quick-box .loading{display:block;padding:40px 35px;color:white;line-height:1em;}
@media /* High px density (mostly mobile) - so you can magnify something */
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (        min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx){
  #quick-box .close{font-size:1.5rem;}
  #quick-box .prev, #quick-box .next{opacity:0.5;text-decoration:none;}
}


@media(min-width:1600px){
.scene-parallax.images-10, .images-10 li{height:1600px;}

}
