/* O nas stran */

.cms-o-nas .page-wrapper .page-main {
	margin: 0px;
	padding: 0px;
	width: 100%;
	max-width: 100%;
}


.o-nas-banner {
	border-radius: 0 0 12vw 0;
	overflow: hidden;
}

.o-nas-storitve-footer {
	border-radius: 12vw 0 0 0;
}

.o-nas-kontakti-row {
	box-shadow: 0 3px 6px #00000029;
}


.HomeBadges_wrapper__aY42w .HomeBadges_badge__6J8wd:first-child {
    z-index: 0;
    transform: translate(20px, -20px);
}

.HomeBadges_wrapper__aY42w .HomeBadges_badge__6J8wd:last-child {
    z-index: 0;
    transform: translate(-20px, -20px);
}

.HomeBadges_wrapper__aY42w .HomeBadges_badge__6J8wd {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 56px;
    border-radius: 20px;
    box-shadow: 11px 14px 14px 0 rgba(0, 0, 0, .08);
    aspect-ratio: 1 / 1;
    width: 30%;
    z-index: 1;
}


.HomeBadges_wrapper__aY42w .HomeBadges_inner__YCWjf {
    width: 60%;
    display: flex;
    justify-content: center;
    max-width: 950px;
}

.HomeBadges_wrapper__aY42w {
    padding: 100px 0;
    background: #f6fcfe;
    display: flex;
    justify-content: center;
    border-radius: 0 0 0 225px;
}

.HomeBadges_wrapper__aY42w .HomeBadges_badge__6J8wd .HomeBadges_title__qVwGk {
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .HomeBadges_wrapper__aY42w .HomeBadges_inner__YCWjf {
        width: 80%;
    }
}

@media (max-width: 1000px) {
    .HomeBadges_wrapper__aY42w .HomeBadges_inner__YCWjf {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .HomeBadges_wrapper__aY42w .HomeBadges_inner__YCWjf {
        flex-direction: column;
        width: 85%;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .HomeBadges_wrapper__aY42w .HomeBadges_badge__6J8wd {
        width: 100%;
        aspect-ratio: unset;
        transform: unset !important;
        padding: 20px 56px;
        gap: 10px;
    }
}

.bot_stor .storitev {
    width: 25%;
    text-align: center;
}

@media (max-width: 767px) {
    .bot_stor .storitev {
        width: 50%;
        margin-bottom: 5%;
    }
}

/* Infinite Scroll Banner Podjetja s katerimi sodelujemo, glavna stran */

.marquee {
  display: flex;
  block-size: var(--marquee-item-height);
  position: relative;
  overflow-x: hidden;
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee {
  --marquee-item-width: 250px;
  --marquee-item-height: 200px;
  --marquee-duration: 136s;
  --marquee-items: 58;
}

.marquee__item {
	margin: 0px 25px 0px 25px;	

  --marquee-item-offset: max(
    calc(var(--marquee-item-width) * var(--marquee-items)),
    calc(100% + var(--marquee-item-width))
  );
  --marquee-delay: calc(var(--marquee-duration) / var(--marquee-items) * (var(--marquee-items) - var(--marquee-item-index)) * -1);
  position: absolute;
  inset-inline-start: var(--marquee-item-offset);
  transform: translateX(-50%);
  animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
}

.marquee__item:nth-child(4n) {
  border-top-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 1) {
  border-bottom-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 2) {
  border-bottom-left-radius: 1rem;
}

.marquee__item:nth-child(4n + 3) {
  border-top-left-radius: 1rem;
}

@keyframes go {
  to {  
    inset-inline-start: calc(var(--marquee-item-width) * -1);
  }
}

.marquee .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}
.marquee .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}
.marquee .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}
.marquee .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}
.marquee .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}
.marquee .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}
.marquee .marquee__item:nth-of-type(7) {
  --marquee-item-index: 7;
}
.marquee .marquee__item:nth-of-type(8) {
  --marquee-item-index: 8;
}
.marquee .marquee__item:nth-of-type(9) {
  --marquee-item-index: 9;
}
.marquee .marquee__item:nth-of-type(10) {
  --marquee-item-index: 10;
}
.marquee .marquee__item:nth-of-type(11) {
  --marquee-item-index: 11;
}
.marquee .marquee__item:nth-of-type(12) {
  --marquee-item-index: 12;
}
.marquee .marquee__item:nth-of-type(13) {
  --marquee-item-index: 13;
}
.marquee .marquee__item:nth-of-type(14) {
  --marquee-item-index: 14;
}
.marquee .marquee__item:nth-of-type(15) {
  --marquee-item-index: 15;
}
.marquee .marquee__item:nth-of-type(16) {
  --marquee-item-index: 16;
}
.marquee .marquee__item:nth-of-type(17) {
  --marquee-item-index: 17;
}
.marquee .marquee__item:nth-of-type(18) {
  --marquee-item-index: 18;
}
.marquee .marquee__item:nth-of-type(19) {
  --marquee-item-index: 19;
}
.marquee .marquee__item:nth-of-type(20) {
  --marquee-item-index: 20;
}
.marquee .marquee__item:nth-of-type(21) {
  --marquee-item-index: 21;
}
.marquee .marquee__item:nth-of-type(22) {
  --marquee-item-index: 22;
}
.marquee .marquee__item:nth-of-type(23) {
  --marquee-item-index: 23;
}
.marquee .marquee__item:nth-of-type(24) {
  --marquee-item-index: 24;
}
.marquee .marquee__item:nth-of-type(25) {
  --marquee-item-index: 25;
}
.marquee .marquee__item:nth-of-type(26) {
  --marquee-item-index: 26;
}
.marquee .marquee__item:nth-of-type(27) {
  --marquee-item-index: 27;
}
.marquee .marquee__item:nth-of-type(28) {
  --marquee-item-index: 28;
}
.marquee .marquee__item:nth-of-type(29) {
  --marquee-item-index: 29;
}
.marquee .marquee__item:nth-of-type(30) {
  --marquee-item-index: 30;
}
.marquee .marquee__item:nth-of-type(31) {
  --marquee-item-index: 31;
}
.marquee .marquee__item:nth-of-type(32) {
  --marquee-item-index: 32;
}
.marquee .marquee__item:nth-of-type(33) {
  --marquee-item-index: 33;
}
.marquee .marquee__item:nth-of-type(34) {
  --marquee-item-index: 34;
}
.marquee .marquee__item:nth-of-type(35) {
  --marquee-item-index: 35;
}
.marquee .marquee__item:nth-of-type(36) {
  --marquee-item-index: 36;
}
.marquee .marquee__item:nth-of-type(37) {
  --marquee-item-index: 37;
}
.marquee .marquee__item:nth-of-type(38) {
  --marquee-item-index: 38;
}
.marquee .marquee__item:nth-of-type(39) {
  --marquee-item-index: 39;
}
.marquee .marquee__item:nth-of-type(40) {
  --marquee-item-index: 40;
}
.marquee .marquee__item:nth-of-type(41) {
  --marquee-item-index: 41;
}
.marquee .marquee__item:nth-of-type(42) {
  --marquee-item-index: 42;
}
.marquee .marquee__item:nth-of-type(43) {
  --marquee-item-index: 43;
}
.marquee .marquee__item:nth-of-type(44) {
  --marquee-item-index: 44;
}
.marquee .marquee__item:nth-of-type(45) {
  --marquee-item-index: 45;
}
.marquee .marquee__item:nth-of-type(46) {
  --marquee-item-index: 46;
}
.marquee .marquee__item:nth-of-type(47) {
  --marquee-item-index: 47;
}
.marquee .marquee__item:nth-of-type(48) {
  --marquee-item-index: 48;
}
.marquee .marquee__item:nth-of-type(49) {
  --marquee-item-index: 49;
}
.marquee .marquee__item:nth-of-type(50) {
  --marquee-item-index: 50;
}
.marquee .marquee__item:nth-of-type(51) {
  --marquee-item-index: 51;
}
.marquee .marquee__item:nth-of-type(52) {
  --marquee-item-index: 52;
}

.marquee-container {
	background-color: white;
	margin: 10px 10px 0 10px;
	padding: 20px 20px 0 20px;
	max-width: 1600px !important;
}

.marquee-container div h1 {
	text-align: center;
}

/* storitve podstrani */

.cms-offset-tisk .page-wrapper .page-main,
.cms-digitalni-tisk .page-wrapper .page-main,
.cms-tisk-velikih-formatov .page-wrapper .page-main,
.cms-avtografika .page-wrapper .page-main,
.cms-izdelava-nalepk .page-wrapper .page-main,
.cms-tisk-na-tekstil .page-wrapper .page-main,
.cms-strojni-park .page-wrapper .page-main,
.cms-tiskanje-diplomskih-nalog .page-wrapper .page-main,
.cms-tisk-promocijskih-izdelkov .page-wrapper .page-main{
	margin: 0px;
	padding: 0px;
	width: 100%;
	max-width: 100%;
}

.storitve-banner {
	border-radius: 0 0 12vw 0;
	overflow: hidden;
}

@media (max-width: 767px) {
    .storitev-image {
        display: none;
    }
}

.kategorije-row{
	display: table;
}

.kategorije-block {
	width: 30% !important;
	display: table-cell;
	overflow: hidden;
	border-radius: 30px;
	background-color: white;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
	
	margin: 30px;
	padding: 30px;
}

.kategorije-link img {
	border-radius: 15px;
}


.kategorije-link h2 {
	font-size: 28px;
	margin-top: 30px;
	margin-bottom: 0px;
}

.center {
	display: block;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.storitve-kontakt-button a span {

}

.storitve-podrobnosti-box {
	background-color: #f8f5fb;
	box-shadow: 0 3px 15px rgba(50, 50, 50, .3);
}

/* strojni park stran */

.right-border {
    position: relative
}

.right-border:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    border: solid #373435;
    border-width: 15px;
    border-left: none;
    border-top-right-radius: 150px;
    border-bottom-right-radius: 150px;
    box-sizing: border-box
}

.left-border {
    position: relative
}

.left-border:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 51%;
    height: 100%;
    border: solid #373435;
    border-width: 15px;
    border-right: none;
    border-top-left-radius: 150px;
    border-bottom-left-radius: 150px;
    box-sizing: border-box
}

.first-border {
    position: relative
}

.first-border:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 51%;
    height: 100%;
    border: solid #373435;
    border-width: 15px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 150px;
    box-sizing: border-box
}

.last-border {
    position: relative
}

.last-border:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 51%;
    height: 100%;
    border: solid #373435;
    border-width: 15px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 150px;
    box-sizing: border-box;
}

.first-element {
    background-color: #008abd;
    border-radius: 0 0 150px
}

.second-element {
    background-color: #f8f5fd;
    border-radius: 0 150px 150px 0;
    margin-right: 70px;
    padding: 40px 20px 70px 90px
}

.last-element {
    border-radius: 150px 0 0 150px;
    background-color: #e8f9ff;
    margin-left: 70px;
    padding: 70px 90px 70px 20px
}

.second-element div, .last-element div {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

@media (max-width:1100px) {
    .second-element {
    	border-radius: 110px 0 0 110px;
	    padding: 40px;
	    margin: 0px;
	}
	
	.last-element {
    	border-radius: 110px 0 0 110px;
	    padding: 40px;
	    margin: 0px;
	}
}

.smaller-image{
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}


/* tisk na tekstil in avtografika dodatne slike css */

.tisk-na-tekstil-slider .slick-list .slick-track div div div div {
    position: relative;
    width: 100%;
    height: 0;
    margin: auto;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.gallery {
    display: grid;
    width: 100%;
    margin: auto;
    min-height: 110px;
    background-color: #fff;
    border-radius: 30px;
    overflow: hidden;
}

.gallery__item {
	display: flex;
	margin: auto;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
}

.gallery__item img {
	margin: auto;
    height: 90%;
    object-fit: cover;
    transition: .3s ease-in-out
}

.gallery__item img:hover {
    transform: scale(1.1)
}

.window-gallery {
	background-color: transparent;
}

.window-gallery div img{
	height: 100% !important;
	padding: 15px;
	border-radius: 30px;
}

.avtoservis-gallery{
	grid-template-columns: repeat(4, 1fr);
}

.promocijskiIzdelki-gallery{
	grid-template-columns: repeat(5, 1fr);
}

.tekstil-gallery {
    grid-template-columns: repeat(12, 1fr);
}

@media (max-width:950px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:550px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr)
    }
}

.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .733);
    margin-top: -1px;
    animation: zoom .3s ease-in-out;
    overflow: hidden
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.modal img {
    max-height: 100vh; 
    max-width: 90vw; 
    width: auto; 
    height: auto; 
    object-fit: contain;
}

.closeBtn {
    color: rgba(255, 255, 255, .87);
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    cursor: pointer;
    transition: .2s ease-in-out
}

.closeBtn:hover {
    color: #000
}

@media (max-width:950px) {
    .closeBtn {
        color: rgba(0, 0, 0, .87)
    }
}

.smaller_image {
    max-width: 50%
}

/* Shared product image template: show the whole image inside its reserved frame. */
.product-image-container .product-image-wrapper > img.product-image-photo{
 width:100%!important;height:100%!important;max-width:100%;max-height:100%;
 object-fit:contain!important;object-position:center;
}
