.pdf-download-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #dd2012;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    width: 48%; /* Ensure both buttons take up almost half the width */
    margin-bottom: 6px;
    text-align: center; /* Center the text within the button */
	font-size: 12px;
}

.pdf-download-link2 {
    display: inline-block;
    padding: 10px 20px;
    background-color: #20272f;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    width: 48%; /* Ensure both buttons take up almost half the width */
    margin-bottom: 6px;
    text-align: center; /* Center the text within the button */
	font-size: 12px;
	
}


.pdf-download-link3 {
    display: inline-block;
    padding: 10px 20px;
    background-color: #dd2012;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    width: 48%; /* Ensure both buttons take up almost half the width */
    margin-bottom: 6px;
    text-align: center; /* Center the text within the button */
	font-size: 12px;
	text-align:center;
	margin: 0 auto;
	display: flex;
  justify-content: center;
  align-items: center;
	max-width: 300px;
}

.pdf-download-button-group {
    display: flex;
    justify-content: center; /* Space the buttons evenly */
    gap: 10px; /* Add space between the buttons */
}

.pdf-download-link:hover {
    opacity: 1 !important;
    color: #ffffff !important; /* Change hover button text color here */
    background-color: #20272f !important; /* Change hover button background color here */
    background: #20272f;
}

.pdf-download-link2:hover {
    opacity: 1 !important;
    color: #ffffff !important; /* Change hover button text color here */
    background-color: #dd2012 !important; /* Change hover button background color here */
    background: #dd2012;
}

.pdf-download-link3:hover {
    opacity: 1 !important;
    color: #ffffff !important; /* Change hover button text color here */
    background-color: #20272f !important; /* Change hover button background color here */
    background: #20272f;
}


/* On smaller screens (mobile devices), make buttons block level and 100% width */
@media (max-width: 768px) {
    .pdf-download-button-group {
        flex-direction: column; /* Stack buttons vertically */
        align-items: stretch; /* Ensure the buttons stretch to 100% width */
    }

    .pdf-download-link {
        width: 100%; /* Make each button take up the full width */
        margin-right: 0; /* Remove right margin since they are stacked */
    }
	
	.pdf-download-link2 {
        width: 100%; /* Make each button take up the full width */
        margin-right: 0; /* Remove right margin since they are stacked */
    }
}

.pdf-katalog-download-item { 
text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* LOGOS */
.partner-logo-item.hidden {
    display: none;
}

.partner-logo img {
	/*    -webkit-filter: grayscale(100%); 
    filter: grayscale(100%);*/
    transform:scale(0.95);
	    opacity:1;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
	/*cursor:pointer;*/
   }
   .partner-logo img:hover {
	       -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
	       opacity: 1;
    transform:scale(1);
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
   }


.partner-logo-item img {
	    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    transform:scale(0.95);
	    opacity:1;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
	/*cursor:pointer;*/
   }
   .partner-logo-item img:hover {
	       -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
	       opacity: 1;
    transform:scale(1);
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
   }


.partner-carousel-item img { 
 -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    transform:scale(0.95);
	    opacity:1;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
	/*cursor:pointer;*/
	max-height:100px;
}


.partner-carousel-item img:hover { 
	       -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
	       opacity: 1;
    transform:scale(1);
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}


   /* END */


   /* CSS for Partner Logos Grid */
.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 6 logos per row on desktop */
    gap: 20px; /* Add some gap between logos */
  }
  
  /* CSS for Partner Logo Item */
  .partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Responsive CSS for Tablet */
  @media screen and (max-width: 768px) {
    .partner-logo-grid {
      grid-template-columns: repeat(3, 1fr); /* 3 logos per row on tablet */
    }
  }
  
  /* Responsive CSS for Mobile */
  @media screen and (max-width: 480px) {
    .partner-logo-grid {
      grid-template-columns: repeat(1, 1fr); /* 1 logo per row on mobile */
    }
  }

  .partner-logo-grid {
    /* CSS properties here */
    margin: 0 !important;
    padding: 0 !important;
}



/* LOGOS */
.partner-logo img {
 /*   -webkit-filter: grayscale(100%);
    transform: scale(0.95);*/
    opacity: 1;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
  /*  cursor: pointer;*/
}

.partner-logo img:hover {
 /*   -webkit-filter: grayscale(0%); 
    filter: grayscale(0%);*/
    opacity: 1;
    transform: scale(1);
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

/* CSS for Partner Logos Grid */
.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 logos per row on desktop */
    gap: 20px; /* Add some gap between logos */
}

/* CSS for Partner Logo Item */
.partner-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive CSS for Tablet */
@media screen and (max-width: 768px) {
    .partner-logo-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 logos per row on tablet */
    }
}

/* Responsive CSS for Mobile */
@media screen and (max-width: 480px) {
    .partner-logo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 logos per row on mobile */
    }
}


/* CSS for Partner Logos Grid */
.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 6 logos per row on desktop */
    gap: 20px; /* Add some gap between logos */
}

/* Responsive CSS for Tablet */
@media screen and (max-width: 768px) {
    .brand-logo-grid {
        grid-template-columns: repeat(2, 1fr); /* 3 logos per row on tablet */
    }
}

/* Responsive CSS for Mobile */
@media screen and (max-width: 480px) {
    .brand-logo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 logos per row on mobile */
    }
}





/* CSS for Partner Logos Grid */
.jezici-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 6 logos per row on desktop */
    gap: 10px; /* Add some gap between logos */
	float:right;
}

/* Responsive CSS for Tablet */
@media screen and (max-width: 768px) {
    .jezici-logo-grid {
        grid-template-columns: repeat(5, 1fr); /* 3 logos per row on tablet */
    }
}

/* Responsive CSS for Mobile */
@media screen and (max-width: 480px) {
    .jezici-logo-grid {
        grid-template-columns: repeat(5, 1fr); /* 2 logos per row on mobile */
    }
}



     .lang-logo:hover:before {
   content:"";
  background: url(https://tehnoguma-zg.hr/wp-content/uploads/2025/01/checkmark-w.svg);
  background-size: cover;
display:inline-block;
  width:15px;
  height: 15px;
z-index:9;

		 position:absolute;
}


.first-lang-logo:before {
    content: "";
    background: url('https://tehnoguma-zg.hr/wp-content/uploads/2025/01/checkmark-w.svg');
    background-size: cover;
    display: inline-block;
    width: 15px;
    height: 15px;
    z-index: 9;
    position: absolute;
    top: 10px; /* Adjust this value as needed */
    left: 10px; /* Adjust this value as needed */
}



/* Styles for the Services Mega Menu */
/* Styles for the Services Mega Menu */
.services-menu-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 4 grid items per row */
    gap: 10px; /* Adjust the gap between grid items */
}

.products-menu-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 4 grid items per row */
    gap: 10px; /* Adjust the gap between grid items */
}

.service-menu-grid-item {
    position: relative; /* Add position for pseudo-element */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    /*background-color: #000; *//* Adjust background color as needed */
    padding: 20px;
    border-radius: 6px;
    overflow: hidden; /* Hide overflow caused by border animation */
   /* border: 1px solid #e90317!important;*/
	background-size: cover!important;
    background-position: center bottom!important;
	object-position: center bottom;
	border-radius:6px;
	min-height:120px;
}

.service-menu-grid-item:after { 
background: rgba(0, 0, 0, 0.35) !important;
	content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    width: 100%;
}


.services-menu-grid a { 
color:#e90317;
}

.products-menu-grid a { 
color:#e90317;
}



.service-menu-grid-item:hover {
    border: 1px solid #e90317!important;
    
    opacity: 1; /* Show the border on hover */
}

.service-menu-grid-item:hover { 
    transform: scale(1.05);
    transition: all .2s ease-in-out;
}

@keyframes border-animation {
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.1);
    }
}

.service-menu-icon img {
    width: 60px; /* Adjust the width of the service icons */
    height: 60px; /* Adjust the height of the service icons */
	border-radius:99%;
    object-fit: cover;
}

.service-menu-title {
    font-size: 16px; /* Adjust font size as needed */
    margin: auto 0;
    color: #fff; /* Text color */
	z-index:99;
}

.service-menu-highlight-text {
    font-size: 14px; /* Adjust font size as needed */
    color: #ffffff; /* Text color */
}





/*GRID PROIZVODA HOMEPAGE */ 


/* Styles for the Services Mega Menu */
/* Styles for the Services Mega Menu */
.products-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 grid items per row */
    gap: 10px; /* Adjust the gap between grid items */
}

.products-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 grid items per row */
    gap: 10px; /* Adjust the gap between grid items */
}




/* Responsive CSS for Tablet */
@media screen and (max-width: 768px) {
    .products-home-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 logos per row on tablet */
    }
}

/* Responsive CSS for Mobile */
@media screen and (max-width: 480px) {
    .products-home-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 logos per row on mobile */
    }
}

.products-home-grid-item {
    position: relative; /* Add position for pseudo-element */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    /*background-color: #000; *//* Adjust background color as needed */
    padding: 20px;
    border-radius: 6px;
    overflow: hidden; /* Hide overflow caused by border animation */
   /* border: 1px solid #e90317!important;*/
	background-size: cover!important;
    background-position: center bottom!important;
	object-position: center bottom;
	border-radius:6px;
	min-height:120px;
}

.products-home-grid-item:after { 
background: rgba(0, 0, 0, 0.35) !important;
	content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    width: 100%;
}


.products-home-grid a { 
color:#e90317;
}

.products-home-grid a { 
color:#e90317;
}



.products-home-grid-item:hover {
    border: 1px solid #e90317!important;
    
    opacity: 1; /* Show the border on hover */
}

.products-home-grid-item:hover { 
/*    transform: scale(1.01);
    transition: all .2s ease-in-out;*/
}



.products-home-grid-icon img {
    width: 100px; /* Adjust the width of the service icons */
    height: 100px; /* Adjust the height of the service icons */
	border-radius:99%;
    object-fit: cover;

}

.products-home-grid-icon  {

	z-index:999;
}

.products-home-grid-title {
    font-size: 16px; /* Adjust font size as needed */
    margin: auto 0;
    color: #fff; /* Text color */
	z-index:99;
}

.products-home-grid-highlight-text {
    font-size: 14px; /* Adjust font size as needed */
    color: #ffffff; /* Text color */
}


/* ASORTIMAN CAROUSEL */

/* Grid layout for different screen sizes */
.carousel-asortiman-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 items per row */
    grid-gap: 20px;
}

@media (max-width: 980px) {
    .carousel-asortiman-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 items per row */
    }
}

@media (max-width: 768px) {
    .carousel-asortiman-grid {
        grid-template-columns: repeat(1, 1fr); /* Mobile: 1 item per row */
    }
}

/* Carousel item styling */
.carousel-asortiman-grid-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.carousel-asortiman-grid-item:hover {
   /* transform: scale(1.05);*/
}

/* Overlay styling */
.carousel-asortiman-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background-color: rgba(0, 0, 0, 0.5);*/ /* Dark semi-transparent overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 20px; /* Ensures the overlay follows the border-radius */
    padding: 20px;
}

/* Content inside the carousel */
.carousel-asortiman-grid-content {
    text-align: center;
    padding: 20px;
}

.carousel-asortiman-grid-title {
    font-size: 25px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
}

.carousel-asortiman-grid-excerpt {
    font-size: 14px;
    margin-bottom: 10px;
    color: #fff;
}

/* Button styling */
.carousel-asortiman-grid-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #2b3649;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
	min-width:80%;
}

.carousel-asortiman-grid-button:hover {
    background-color: #e02b20;
    color: #fff;
    border-color: #e02b20;
}

/* Slick slider specific adjustments */
.slick-track {
    display: flex !important;
}

.slick-slide {
    margin: 5px;
    border-radius: 20px;
    overflow: hidden;
}



@media (max-width: 768px) {
    .slick-arrow {
      /*  display: none */
    }
}

/* Image inside carousel cards */
.carousel-asortiman-grid-item-inner img {
    width: 100%;
    min-height: 400px!important;
    object-fit: cover; /* Ensures the image covers the entire card */
    border-radius: 20px; /* Ensures the image matches the card's border-radius */
	position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.carousel-asortiman-grid-item {
    position: relative !important;
    /*background-size: cover !important; *//* Ensures the image covers the entire card */
    background-position: center center !important; /* Centers the image */
    background-repeat: no-repeat !important; /* Prevents repeating images */
    height: 100% !important; /* Ensures the card takes full height */
    min-height: 400px !important; /* Ensures a consistent minimum height */
    width: 100%; /* Takes the full width of its container */
    border-radius: 20px !important; /* Adds rounded corners */
    cursor: pointer;
    overflow: hidden; /* Ensures the image doesn't spill outside the border radius */
    margin: 5px;
	min-height:400px!important;
	
}

.carousel-asortiman-grid-item-inner  {
    width: 100%; /* Ensures the image covers the full width of its container */
    height: 100%; /* Ensures the image fills the full height */
    object-fit: cover; /* Ensures the image scales and crops appropriately */
    border-radius: 20px !important; /* Ensures the rounded corners for images */
    display: block; /* Fixes layout issues */
	height: 360px;
	min-height:360px!important;
	background-position: center center !important; /* Centers the image */
	background-size: inherit;
}

.carousel-asortiman-grid-item-inner {
    width: 100%; /* Ensures the image covers the full width */
    height: 100%; /* Ensures the image fills the full height */
    object-fit: cover; /* Adjusts the image to fit without cropping */
    border-radius: 20px !important; /* Adds rounded corners */
    display: block;
	height: 360px;
	min-height:360px!important;
	background-position: center center !important; /* Centers the image */
	background-size: inherit;
}


@media (max-width: 768px) {
.carousel-asortiman-grid-item-inner {
    width: 100%; /* Ensures the image covers the full width */
    height: 100%; /* Ensures the image fills the full height */
    object-fit: cover; /* Adjusts the image to fit without cropping */
    border-radius: 20px !important; /* Adds rounded corners */
    display: block;
	height: 300px;
	min-height:300px!important;
	background-position: center center !important; /* Centers the image */
	background-size: inherit;

}
}


.slick-next { 
 background: #b9b5b5;
    border: 0px solid #fff;
    color: #fff;
    font-size: 20px;
    border-radius: 6px;
    margin: 0px;
    cursor: pointer;
	    padding: 1px 5px 5px 5px;
	position:absolute;
	display:inline-block;
	bottom:-50px;
	left:40px;
	width:30px;
	height:30px;
	left: calc(50%-20px);
}


.slick-previous { 
    background: #b9b5b5;
    border: 0px solid #fff;
    color: #fff;
    font-size: 20px;
    border-radius: 6px;
    margin: 0px;
    cursor: pointer;
	    padding: 1px 5px 5px 5px;
	position:absolute;
	display:inline-block;
	bottom:-50px;
	width:30px;
	height:30px;
	left: calc(50%+20px);
	
}

.slick-next {
  /*  left: calc(50% + 10px)!important; *//* Adjust right arrow to the right */
   left: calc(100% + 5px) !important;
    top: calc(50% - 25px) !important;
}

.slick-previous {
   /* left: calc(50% - 30px)!important;*/ /* Adjust left arrow to the left */
    left: calc(0% - 35px) !important;
    top: calc(50% - 25px) !important;
}

.slick-previous:hover, .slick-next:hover { 
background: #e02b20;
}


@media (max-width: 768px) {
   .slick-previous {
	   bottom:-50px;
	   left:0px;
	
}
	.slick-next { 
		bottom:-50px;
		left:0px;
		left:40px;
	}
}


/*LOGO CAROUSEL CSS " */

.partner-logo-scroller-2 {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 120px; /* Adjust height as needed */
}

.partner-logo-wrapper-2 {
    display: flex;
    width: calc(800%); /* Matches the number of duplications */
    animation: scroll 60s linear infinite; /* Scroll for 60 seconds */
}

.partner-logo-item-2 {
    flex: 0 0 auto;
    margin: 0 20px; /* Add spacing between logos */
}

.partner-logo-item-2 img {
    height: 80px; /* Adjust logo size */
    width: auto;
    display: block;
}

/* Infinite scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Scroll through 4 sets of logos (800% / 4 = 50%) */
    }
}




        .post-links-pagination {
            position: relative;
            margin-top: 20px;
            font-size: 16px;
            overflow: hidden; /* Ensure floats don’t affect layout */
        }
        .post-links-pagination .prev-post {
            float: left;
            width: 50%; /* Limit to 50% width */
            text-align: left; /* Align text to the left */
        }
        .post-links-pagination .next-post {
            float: right;
            width: 50%; /* Limit to 50% width */
            text-align: right; /* Align text to the right */
        }
        .post-links-pagination a {
            text-decoration: none;
            color: #000;
            display: inline-block;
        }
        .post-links-pagination a:hover {
            color: #000;
        }
        .post-links-pagination .arrow {
            font-size: 18px;
            margin: 0 5px;
        }
   


a.tg-button-link { 
color: #FFFFFF !important;
    border-width: 2px !important;
    border-color: #E02B20;
    border-radius: 6px;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #E02B20;
	padding-top: 15px !important;
    padding-right: 40px !important;
    padding-bottom: 15px !important;
    padding-left: 40px !important;
}


a.tg-button-link:hover { 
color: #FFFFFF !important;
    border-color: #7d7c7b !important;
    background-image: initial;
    background-color: #7d7c7b;
}
