/*
Title:    EKHO custom css file
Author:    mhogas@gmail.com // Marius Hogas 
 
PLACE HERE YOUR OWN CSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
I WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.
 
*/
#popup_wrap .configbox-block .visualization-frame {  width: 349px !important;height: 627px !important;margin-left: -50px;margin-top: -20px;}#popup_wrap .visualization-frame .visualization-handle {  height: auto !important;}



/* Meniu principal pe orizontală */
.custom-menu {
    list-style: none;
    display: flex; /* Aliniază elementele pe orizontală */
    gap: 15px;
    background: #333;
    padding: 10px;
    justify-content: center;
    position: relative;
}

/* Elimină stilurile implicite care forțează meniul pe verticală */
.custom-menu li {
    position: relative;
    padding: 10px 15px;
    display: inline-block; /* Asigură că elementele sunt pe o linie */
}

/* Linkurile principale */
.custom-menu li a {
    color: white !important;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* Submeniuri ascunse implicit */
.custom-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #222; /* Fundal solid pentru submeniu */
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* Elemente din submeniu */
.custom-menu li ul li {
    padding: 10px;
    border-bottom: 1px solid #444;
    display: block;
}

/* Linkurile din submeniu */
.custom-menu li ul li a {
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 10px;
}

/* Afișează submeniul doar la hover */
.custom-menu li:hover > ul {
    display: block;
}

/* Efect hover pe submeniuri */
.custom-menu ul li a:hover {
    background: #f4a261;
}

/* Elimină fondul gri transparent */
.custom-menu-container {
    background: none !important;
}
/* Bara de parteneri */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    background: #f8f8f8; /* Fundal opțional */
}

/* Dimensiunea pictogramelor */
.partner-logos img {
    width: 70px; /* Lățimea fixă pentru pictograme */
    height: auto;
    object-fit: contain;
}

/* Responsivitate: pe mobil afișează 2 pe rând */
@media (max-width: 768px) {
    .partner-logos {
        justify-content: center;
    }
    .partner-logos img {
        width: 30%; /* 2 pictograme pe rând */
    }
}

/* Galerie pe desktop - 5 imagini în linie */
.custom1-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
}

/* Imaginile de galerie - folosesc aceeași sursă pentru thumb și full */
.custom1-gallery img {
    width: 100px; /* Dimensiune miniatură pe desktop */
   height: 80px; 
  
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
    border-radius: 5px;
}

/* Efect hover */
.custom1-gallery img:hover {
    transform: scale(1.1);
}

/* Galerie pe desktop - 5 imagini în linie */
.custom2-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
}

/* Imaginile de galerie - folosesc aceeași sursă pentru thumb și full */
.custom2-gallery img {
    width: 80px; /* Dimensiune miniatură pe desktop */
   height: 160px; 
  
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
    border-radius: 5px;
}

/* Efect hover */
.custom2-gallery img:hover {
    transform: scale(1.1);
}


/* Lightbox Personalizat */
#custom1-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Fundal semitransparent */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Imaginea din lightbox */
#custom1-lightbox-img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

/* Buton Închidere */
.custom1-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Responsivitate - pe mobil, imaginile sunt mai mici */
@media (max-width: 768px) {
    .custom1-gallery {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom1-gallery img {
        width: 70px; /* Imagini mai mici pe mobil */
        height: 50px;
    }
  
  custom2-gallery {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom2-gallery img {
        width: 40px; /* Imagini mai mici pe mobil */
        height: 80px;
    }

    /* Ajustăm butonul de închidere */
    .custom1-close-btn {
        top: 10px;
        right: 10px;
        font-size: 25px;
    }
}
.ext-danger1,
.ext-danger1:visited,
a.ext-danger1,
a.ext-danger1:visited {
    color: white !important; /* Text alb permanent */
    text-decoration: none !important;
}

.ext-danger1:hover,
a.ext-danger1:hover {
    color: red !important; /* Schimbă culoarea doar la hover */
}
.custom1-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 5px;
}

#custom1-prev-btn {
    left: 20px;
}

#custom1-next-btn {
    right: 20px;
}

.custom1-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
.custom1-marquee {
    width: 100%;
    height: 40px; /* Asigură înălțimea fixă pentru text */
    overflow: hidden;
    white-space: nowrap;
    background: #00806c;
    display: flex;
    align-items: center; /* Aliniere verticală corectă */
    position: relative;
}

.custom1-marquee p {
    display: inline-block;
    color: white;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    white-space: nowrap;
    left: 100%;
  margin-top: 20px;
    animation: marquee 25s linear infinite;
}

/* Animatie CSS optimizată */
@keyframes marquee {
    from {
        left: 100%;
    }
    to {
        left: -100%;
    }
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrează iconițele */
    align-items: center;
    gap: 15px; /* Spațiere între iconițe */
    padding: 10px 0;
}

.partner-logos a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logos img {
    width: 100px; /* Dimensiune uniformă */
    height: auto;
    max-height: 50px;
    transition: transform 0.2s ease-in-out;
}

.partner-logos img:hover {
    transform: scale(1.1); /* Efect de mărire la hover */
}

/* Responsivitate */
@media (max-width: 768px) {
    .partner-logos {
        flex-wrap: wrap;
    }

    .partner-logos img {
        width: 80px;
        max-height: 40px;
    }
}
.alu110-sud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.alu110-text {
    width: 50%;
    font-size: 18px;
    line-height: 1.5;
}

.alu110-image {
    width: 50%;
    text-align: right;
}

.alu110-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Responsivitate */
@media (max-width: 768px) {
    .alu110-sud {
        flex-direction: column;
        text-align: center;
    }

    .alu110-text, .alu110-image {
        width: 100%;
    }
}

#sectiunea-fakten {
    display: flex;
    align-items: center;
    gap: 20px;
   
    margin: auto;
}

.fakten-images {
    display: flex;
    gap: 10px; /* Spațiu între icoane */
}

.fakten-images img {
    width: 100px; /* Lățimea maximă */
    height: auto;
    object-fit: contain;
}

.fakten-text {
    width: 60%;
    font-size: 18px;
    line-height: 1.5;
}

/* Responsivitate pentru mobil */
@media (max-width: 768px) {
    #sectiunea-fakten {
        flex-direction: column;
        text-align: center;
    }

    .fakten-images {
        justify-content: center;
    }

    .fakten-text {
        width: 100%;
    }
  
}
.top-bar1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    
    z-index: 1000;
}

/* Ascunde bara pe ecrane mai mici de 768px (smartphone) */
@media (max-width: 768px) {
    .top-bar1 {
        display: none;
    }
}

.top-bar1 a {
    color: #333;
    text-decoration: none;
}

.top-bar1 img {
    vertical-align: middle;
    margin-left: 5px;
}


  /* Stilizare secțiuni de conținut */
  #custom-article-wh .content-wh {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
    background-color: #f9f9f9;
  }
/* Stilizare butoane */
#custom-article-wh .btn-wh {
    background-color: #007bff;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
}
#custom-article-wh .btn-wh:hover {
    background-color: #0056b3;
}

/* Stil pentru butonul activ */
#custom-article-wh .btn-wh.active {
    background-color: #0056b3;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* Stilizare secțiuni de conținut */
#custom-article-wh .content-wh {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
    background-color: #f9f9f9;
}

/* Ajustări pentru mobil */
@media (max-width: 1200px) {
    /* Grupul de butoane se afișează ca un flex container centrat */
    #custom-article-wh #btn-group-wh {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* Butoanele se vor adapta în lățime și dimensiune */
    #custom-article-wh .btn-wh {
        flex: 1 1 45%;
        margin: 5px;
        font-size: 14px;
    }
}
#custom-article-wh .content-wh img {
    display: block;
    margin: 0 auto;
    max-width: 100%; /* Asigură adaptabilitatea pe mobil */
}


.magnifier-container-wh {
    position: relative;
    display: inline-block;
  }
  /* Imaginea se adaptează la container */
  #magnifiable-image-wh {
    width: 100%;
    max-width: 600px;
    display: block;
  }
  /* Stilul "loupei" */
  #magnifier-wh {
    position: absolute;
    border: 3px solid #fff;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: none;
    pointer-events: none;
    background-repeat: no-repeat;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
  }

 /* Containerul principal */
  #toggle-article-wh {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
  }
  
  /* Titlul articolului */
  .toggle-title-wh {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
  }
  
  /* Fiecare secțiune toggle */
  .toggle-section-wh {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
  }
  
  /* Header-ul secțiunii toggle – bara orizontală */
  .toggle-header-wh {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    background-color: #f7f7f7;
    margin: 0;
    transition: background-color 0.3s;
  }
  
  /* Stil pentru header activ sau la hover */
  .toggle-header-wh:hover,
  .toggle-header-wh.active {
    background-color: #e0e0e0;
  }
  
  /* Conținutul secțiunii (ascuns inițial) */
  .toggle-content-wh {
    display: none;
    padding: 10px;
    animation: fadeIn 0.3s ease;
  }
  
  .toggle-content-wh p {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.5;
  }
  
/* Stilul de bază pentru imaginile din toggle */
.toggle-content-wh img {
    width: 300px;
    cursor: pointer;
  margin: 0 5px;
 }

.toggle-content-wh img:hover {
  transform: scale(1.3); /* Mărește imaginea cu 10% */
}

/* Pe mobil: aranjare flexibilă a imaginilor în grid */
@media (max-width: 767px) {
  .toggle-content-wh {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Pentru 2 imagini pe rând: */
  .toggle-content-wh img {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    margin: 5px;
  }
  /* Dacă dorești 3 imagini pe rând, comentează codul de mai sus și folosește:
  .toggle-content-wh img {
    flex: 0 0 calc(33.33% - 10px);
    max-width: calc(33.33% - 10px);
    margin: 5px;
  }
  */
  /* Pentru 4 imagini pe rând, folosește:
  .toggle-content-wh img {
    flex: 0 0 calc(25% - 10px);
    max-width: calc(25% - 10px);
    margin: 5px;
  }
  */
}

  
  /* Animație simplă de fadeIn */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }