/*
Theme Name: QuickOnline Child
Theme URL: https://quickonline.nl/
Description: Child theme voor QuickOnline
Author: QuickOnline B.V.
Author URL: https://quickonline.nl/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

#cmplz-message-1-optin {
    animation: fadeIn 0.5s ease-in 2s; /* Verschijnt na 2 seconden */
}

/* Afbeelding auto uitvullen */
.img-container, .img-container>div{
  height: 100%;
}

.img-container img{
	width: 100%;
	height: 100%;
	object-fit: cover; /* Zorgt dat de afbeelding de hele container vult */
	position:absolute;
	top:0;
	left:0;
}


/* Tekstknop styling */
.tekstknop .elementor-button {
    padding: 0;
}

.tekstknop .elementor-button-icon svg {
    fill: #EF7B04 !important; /* Oranje kleur */
}

.tekstknop .elementor-button:hover .elementor-button-icon i,
.tekstknop .elementor-button:hover .elementor-button-icon svg {
    transform: translateX(5px); /* Schuift 5px naar rechts */
    transition: all 0.3s ease-in-out;
}

/*Oranje accent */
.accent {
    background-color: #EF7A04;
    color: white;
    padding: 2px 10px;

    display: inline-block;
}

/* Lichtkrant */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  background: #fff;
}

/* Standaard (desktop) */
.marquee-wrapper {
  padding: 60px 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .marquee-wrapper {
    padding: 40px 0;
  }
}

/* Mobiel */
@media (max-width: 767px) {
  .marquee-wrapper {
    padding: 20px 0;
  }
}

.marquee-track {
  display: flex;
  width: max-content; /* zorg dat track alleen zo breed is als de content */
  will-change: transform;
  animation: marquee-left 15s linear infinite;
}

.marquee-wrapper.reverse .marquee-track {
  animation: marquee-right 15s linear infinite;
}

/* Tekststijl */
.marquee-text {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(2rem, 6vw, 8rem);
  font-weight: 700;
  color: #B3B8C2;
  margin: 0; /* geen extra marges aan buitenkant */
}

.marquee-text:not(:last-child) {
  padding-right: 100px; /* ruimte tussen herhalingen */
}

.marquee-text .outline {
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px #f38c02;
  margin: 0 8px;
}

/* Animaties zonder sprong */
@keyframes marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50.01%, 0, 0); }
}

@keyframes marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0.01%, 0, 0); }
}

/* Optioneel: verminder animatie bij voorkeur */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
}


/* Tags */

.tags {
  display: flex;
  flex-wrap: wrap;
	max-width: 100%;
	 align-items: flex-start;
}

.tags span {
  background-color: #3381C2;
  color: white;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 40px;
  font-weight: 600;
  white-space: nowrap;
  margin-right: 8px;
	margin-bottom: 8px;
  flex-shrink: 0;
}

.tags span:nth-of-type(n+4) {
  display: none;
}

/* Blog Tags */

.blog-tag {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: flex-start;
  justify-content: flex-end;
}

.blog-tag span {
  background-color: #3381C2;
  color: white;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 40px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.blog-tag span:nth-of-type(n+2) {
  display: none;
}


/* Frosted glass */
.frosted-glass {
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px); /* voor Safari */
}
/* Achtergrond kleur veranderen */
body {
  background-color: #ffffff;
  transition: background-color 2s ease-out;
}

body.bg-donkerblauw {
  background-color: #041434;
  transition: background-color 0.8s ease-in;
}

body.bg-lichtgrijs {
  background-color: #F8F8F4;
  transition: background-color 0.8s ease-in;
	}

body.bg-lichtblauw {
  background-color: #3381C2;
  transition: background-color 0.8s ease-in;
	}


/* Zwartwit logo slider */
.logo-carousel img {
	filter: grayscale(100%);	
	opacity: 1;
}

.logo-carousel img:hover {
    filter: grayscale(0%);
	opacity: 1;
}


/* Onderstreep tekst bij hover */
.text-underline:hover {
  text-decoration: underline;
  text-decoration-color: #EF7C04;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

/*Hoofddiensten navigatie blok */
.hoofddienst:not(:nth-child(2)):not(:last-child) {
  position: relative;
  margin-right: 24px;
  padding-right: 24px;
}

.hoofddienst:not(:nth-child(2)):not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 2px;
  background-color: #041334;
}


.hoofddienst .elementor-heading-title a {
  font-weight: 600 !important;
  font-style: normal !important;
}

.hoofddienst-actief .elementor-heading-title a {
    font-weight: 600 !important;
    font-style: italic;
}

/*Nieuwsarchief taxonomie filter*/
.archief-taxonomie .e-filter-item {
  position: relative;
  margin-right: 24px;
  padding-right: 24px;
 margin-bottom: 8px;
}

/* standaard: streep op alles */
.archief-taxonomie .e-filter-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 2px;
  background-color: #041334;
}

/* géén streep op de visueel laatste taxonomie */
.archief-taxonomie .e-filter-item:nth-last-child(2)::after {
  content: none;
}

/*Stijling Inhoudsopgave blog en case*/
/*verwijder bullets en basis styling */
.inhoudsopgave.elementor-widget-table-of-contents ol,
.inhoudsopgave.elementor-widget-table-of-contents ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Link-styling */
.inhoudsopgave.elementor-widget-table-of-contents a {
    text-decoration: none;
    display: block;
    font-size: 16px;
    font-weight: 500;
}

/* Spacing tussen items */
.inhoudsopgave.elementor-widget-table-of-contents li {
    margin-bottom: 16px;
}

/* Underline hover animatie*/
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #EF7C04; 
  transition: width 0.3s ease;
}

.animated-underline:hover::after {
  width: 100%;
}

/* Navigatie diensten */
.diensten-navigatie li a {
 padding:0 16px !important;
  }

a.elementor-item.elementor-item-active {
  font-style: italic !important;
}
