/* 
 Theme Name:   FP
 Theme URI:    
 Description:  
 Author:       marko.alilovic@gmail.com
 Author URI:   http://fasadepetrovic.com
 Template:     hello-elementor
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/*TOGGLE ICONS*/

.elementor-toggle .elementor-tab-title.elementor-active .elementor-toggle-icon-opened {
    display: block;
    font-size: 32px;
}

.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-closed {
    display: block;
    font-size: 32px;
}

.link-underline-offset {
	text-decoration: underline !important;
	text-underline-offset: 8px;
}

.light {
	text-decoration-color: #fff !important;
}

.primary-color {
	color: var(--e-global-color-primary );
}

.fp-bold {
	font-weight: 700;
}

@media only screen and (min-width: 768px) {
	#fp-navigacija-1, #fp-navigacija-2 {
   		background-color: transparent;
  }
	
}

@media only screen (min-width: 480px) and (max-width: 767px) {
	#fp-testimonials .jet-arrow {
   		width: 33px;
		height: 33px;
  }
	
	
}

@media only screen and (max-width: 479px) {
	#fp-testimonials .jet-arrow {
   		width: 24px;
		height: 24px;
  }
	
	#fp-usluge .elementor-toggle-icon-closed, #fp-usluge .elementor-toggle-icon-opened {
		font-size: 24px;
	}
	
}

/*LINK UNDERLINE EFFECT */

.fp-link-primary a, .fp-link-secondary a, .fp-link-white a {
	padding-bottom: 4px;
}

	.fp-link-primary a {
    background: repeating-linear-gradient(90deg, var(--e-global-color-primary ) 0 33.3333%, transparent 33.3333% 66.6666%, var(--e-global-color-primary ) 66.6666% 100%) bottom right/300% .1em no-repeat
}

.fp-link-secondary a {
    background: repeating-linear-gradient(90deg, var(--e-global-color-secondary ) 0 33.3333%, transparent 33.3333% 66.6666%, var(--e-global-color-secondary ) 66.6666% 100%) bottom right/300% .1em no-repeat
}

.fp-link-white a {
    background: repeating-linear-gradient(90deg, #fff 0 33.3333%, transparent 33.3333% 66.6666%, #fff 66.6666% 100%) bottom right/300% .1em no-repeat
}

.fp-link-primary a:hover, .fp-link-secondary a:hover, .fp-link-white a:hover  {
    text-decoration: none !important;
    background-position: bottom left;
    -webkit-transition-duration: 1.2s;
    -o-transition-duration: 1.2s;
    transition-duration: 1.2s;
}

#fp-navigacija-1 a {
  position: relative; /* Ensure ::after element is positioned relative to the parent */
  display: inline-block; /* Ensures a contained layout for the underline */
}

#fp-navigacija-1 a:after {
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #fff;

  /* Start with zero width */
  width: 0;
  transition: width 0.3s ease-in-out; /* Smooth transition */
}

#fp-navigacija-1 a:hover:after {
  width: 100%; /* Expand fully on hover */
}



/*MOBILE MENU*/

.mm-before {
	font-family: Inter, sans-serif;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.2);
}

.mainmenu-popup {
	top:0 !important;
}

/*USLUGE*/

.usluge-broj {
  	text-shadow: 
    3px 0 0 white, /*right */
    0 3px 0 white, /*top */
    -3px 0 0 white, /*left */
    0 -3px 0 white; /*bottom */
}

.usluge-istaknuto .elementor-icon {
	/*translate: 25px -75px;*/
}

.usluge-istaknuto .elementor-icon-box-content {
	z-index: 1;
}

@media only screen and (max-width: 480px) {
	.usluge-istaknuto .elementor-icon {
		translate: 0 -40px;
	}
}


/*
@media only screen and (min-width: 480px and max-width: 768px) {
	.usluge-istaknuto .elementor-icon {
		translate: 25px -50px;
	}
}*/


@media only screen and (min-width: 2000px) {
	.fade-img {
	  position: relative; 
	}

	.fade-img:after {
	  content:""; 
	  position: absolute; 
	  bottom: 0;
	  left: 0;
	  right: 0;
	  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	  height: 100%;  
	}
}

/*PROJEKTI*/
.projekti-usluge-menu a {
	color: var(--e-global-color-secondary );
}

.projekti-usluge-menu a:hover {
	text-decoration: underline;
}


/*MARQUEE ZADOVOLJSTVO*/

.marquee {
  display: flex;
  overflow: hidden;
  height: 100px;
  user-select: none;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
/*background-color: green;*/
   /*transform: skewY(-3deg); */
   /*transform: rotate(-5deg) translateY(-30px) translateX(50px);*/
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 100%;
  animation: scroll 15s linear infinite reverse;
}

.marquee__group span {
	color: var(--e-global-color-text );
	font-family: var(--e-global-typography-d5669bc-font-family ), Sans-serif;
    font-size: var(--e-global-typography-d5669bc-font-size );
    font-weight: var(--e-global-typography-d5669bc-font-weight );
    line-height: var(--e-global-typography-d5669bc-line-height );
    letter-spacing: var(--e-global-typography-d5669bc-letter-spacing );
  /*text-transform: uppercase;*/
  
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 2rem));
  }
}
