/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

html, body{
  overflow-x:hidden;
}

#quiz-wrapper {
position: relative;
width: 100%;
max-width: 100%;
min-height: 500px;
perspective: 1200px;
}

.ec2026 #quiz-wrapper {
  min-height: 600px;
}

.quiz-card {
position: absolute;
top: 0;
left: 0;
width: 100%;
background: #ffffff;
padding: 75px;
/* border-radius: 20px; */
text-align: left;
transform-origin: center top;
min-height: 500px;
transition: opacity 0.3s ease, transform 0.3s ease;
display: flex;
flex-direction: column;
}

.ec2026 .quiz-card {
  background-color: #000000;
  min-height: 600px;
}

.quiz-card h3 {
font-size: 24px;
font-weight: 600;
margin-bottom: 1.5rem;
font-family: Aestetico;
}

.answer-btn {
display: flex;
align-items: center;
gap:0.75rem;
margin-bottom: 1rem;
padding:0.75rem 1rem;
font-size: 16px;
border:none;
border-radius:999px;
background:#EDF0F2;
cursor: pointer;
transition: background 0.3s ease;
width: 100%;
font-family: Aestetico;
font-weight: 500;
color: #000;
}

.answer-btn:hover {
background: #000000;
color:#ffffff;
}

.ec2026 .answer-btn:hover {
background: #bed6e6;
color:#000000;
}

.answer-btn:hover .answer-icon{
color:#ffffff;
border-color: #ffffff;
}

.ec2026 .answer-btn:hover .answer-icon{
color:#000000;
border-color: #000000;
}

.answer-icon {
font-weight: bold;
background: transparent;
color: #000000;
border-radius: 50%;
width: 22px;
height: 22px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-family: Aestetico;
font-weight: 600;
border:1px solid #000000;
padding-top:1px;
}

.quiz-result-card {
/* pointer-events: none; */
}
.quiz-question {
display: flex;
align-items: baseline;
gap: 0.5rem;
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 1.5rem;
}

.quiz-qnum {
font-weight: bold;
color: #555;
min-width: 3rem;
}

.ec2026 .quiz-qnum {
  color: #fff;
}

.quiz-qtext {
flex: 1;
}

.ec2026 .quiz-qtext {
  color: #fff;
}

.quiz-form-card{
  text-align: center;
  padding: 0px 50px;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.quiz-form-card p{
  font-family: "Aestetico", Sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
}

.ec2026 .quiz-form-card p{
  color: #ffffff;
}

.quiz-form-card p a{
  text-decoration: underline;
  color: #000000;
}

.ec2026 .quiz-form-card p a{
  color: #ffffff;
}

.quiz-form-card .wpcf7-submit,
.formular-giveaway .wpcf7-submit{
  background-color: #E30420;
    font-family: "Aestetico", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    border-radius: 50px 50px 50px 50px;
    padding: 15px 40px 15px 40px;
    line-height: 1;
    color: #fff;
    border: none;
}

.wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.quiz-start-card{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('/wp-content/themes/hello-elementor-child/img/quiz-de-festivalier.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}

.ec2026 .quiz-start-card{
  background-image: url('/wp-content/uploads/2026/06/premii-quiz-2026.png');
}

.ec2026 .quiz-start-card{
  justify-content: start;
}

.quiz-start-card h2{
  font-family: "Sofia Sans Extra Condensed", Sans-serif;
  font-size: 100px;
  font-weight: 900;
  text-transform: uppercase;
  font-style: oblique;
  line-height: 0.8em;
  color: #000000;
}

.ec2026 .quiz-start-card h2{
  color: #BED6E6;
}

.quiz-start-card p{
  text-align: center;
  font-family: "Aestetico", Sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2em;
  color: #000000;
}

.ec2026 .quiz-start-card p{
  color: #ffffff;
  margin: 0;
  padding: 40px 0;
}

.ec2026 .quiz-start-card p span{
  font-size: 10px;
}

.quiz-start-card p a{
  color: #000000;
  font-weight: 600;
  text-decoration: underline;
}

.ec2026 .quiz-start-card p a{
  color: #ffffff;
}

#start-quiz-btn{
  background-color: #E30420;
  font-family: "Aestetico", Sans-serif;
  font-size: 24px;
  font-weight: 600;
  border-radius: 50px 50px 50px 50px;
  padding: 15px 40px 15px 40px;
  line-height: 1;
  color: #fff;
  border: none;
}

.quiz-result-card {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#final-result-text {
  width: 100%;
  height: 100%;
  text-align:center;
  font-size:16px;
  font-weight: 600;
  font-family:Aestetico;
  color: #000000;
  line-height: 1.4;
}

#final-result-text p strong{
  font-size: 32px;
}

.quiz-form-card .campuri-formular{
  font-size: 0;
}

.quiz-form-card .campuri-formular .formular-stanga,
.quiz-form-card .campuri-formular .formular-dreapta{
  display: inline-block;
  width: 50%;
  vertical-align:top;
  padding:15px;
}

.quiz-form-card .campuri-formular .formular-stanga input,
.quiz-form-card .campuri-formular .formular-dreapta input{
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  font-family:Aestetico;
  background: #EDF0F2;
  border:none;
  border-radius: 50px;
  height: 50px;
  line-height: 50px;
  padding-left:25px;
}

.quiz-form-card .wpcf7-acceptance{
  width: 80%;
  text-align:left;
  display:inline-block;
}

.quiz-form-card .wpcf7-acceptance .wpcf7-list-item-label{
  display: inline-block;
  width: 90%;
  vertical-align: top;
  margin-left: 10px;
}

.quiz-form-card .campuri-formular .formular-stanga .wpcf7-form-control-wrap,
.quiz-form-card .campuri-formular .formular-dreapta .wpcf7-form-control-wrap{
  display: block;
}

#final-result-text .imagine-rezultat {
  max-width: 100%;
  height: auto;
  padding-bottom:20px;
  display: block;
}

#final-result-text .titlu-rezultat{
  font-family: "Sofia Sans Extra Condensed", Sans-serif;
  font-size: 110px;
  font-weight: 900;
  text-transform: uppercase;
  font-style: oblique;
  line-height: 0.8em;
  color: #E30420;
}

#final-result-text p{
  font-size:14px;
  font-weight:500;
  color: #000000;
  width:600px;
  max-width:100%;
  margin:auto;
  padding-top:30px;
}

.ec2026 #final-result-text p{
  color: #ffffff;
}

.formular-giveaway .formular-giveaway-cerinte #label-poza-giveaway {
  width: 100%;
  /* border: 2px dashed #D0A66F; */
  background: transparent;
  border-radius:26px;
  text-align: center;
  color: #1D1D1D;
  padding: 30px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  font-family:Aestetico;
  border:1px dashed #000000;
  margin-top:10px;
}
.formular-giveaway .formular-giveaway-cerinte input#poza-giveaway{
  cursor: pointer;
  height: 1px;
  opacity: 0;
  display: block;
  padding: 5px;	
}

.formular-giveaway .formular-giveaway-cerinte #placeholder-fisier {
  font-size: 10px;
  font-weight: 400;
}
.formular-giveaway{
  font-size: 0px;
  /* color:#ffffff; */
  max-width: 100%;
  font-family:Aestetico;
}
.formular-giveaway p{
  font-size:14px;
  font-family:Aestetico;
}
.formular-giveaway .formular-giveaway-left,
.formular-giveaway .formular-giveaway-right{
  display:inline-block;
  width: 50%;
  vertical-align:top;
}
.formular-giveaway .formular-giveaway-left p,
.formular-giveaway .formular-giveaway-right p{
  padding:10px 0px; 
}
.formular-giveaway .formular-giveaway-left{
  padding-right:15px;
}
.formular-giveaway .formular-giveaway-right{
  padding-left:15px;
}
.formular-giveaway input.wpcf7-text{
  font-size:17px;
  font-weight: 600;
  color:#000000;
  font-family:Aestetico;
  border-radius: 50px;
  height: 50px;
  line-height: 50px;
  padding-left:25px;
}
.elementor-widget-premium-contact-form .premium-cf7-container select.wpcf7-select, .elementor-widget-premium-contact-form .premium-cf7-container input.wpcf7-text, .elementor-widget-premium-contact-form .premium-cf7-container textarea.wpcf7-textarea{
  /* color: #ffffff; */
}
.elementor-widget-premium-contact-form .premium-cf7-container, .elementor-widget-premium-contact-form .premium-cf7-container label{
  /* color: #ffffff; */
}
.formular-giveaway .wpcf7-acceptance .wpcf7-list-item{
  margin-left:0;
}
.formular-giveaway .wpcf7-acceptance .wpcf7-list-item-label a{
  color: #1D1D1D;
  font-weight: bold;
  text-decoration: underline;
}
.formular-giveaway .formular-giveaway-submit{
  text-align: center;
  padding-top:30px;
}
.formular-giveaway .formular-giveaway-cerinte{
  padding-bottom:10px;
  text-align: center;
}
.formular-giveaway select{
  background: transparent;
  font-size: 14px;
  padding: 16px;
}

.formular-giveaway .upload-icon{
  display: block;
  padding-bottom:10px;
}

.formular-giveaway-cerinte .wpcf7-not-valid-tip{
  text-align:center;
  padding-top:5px;
  font-weight: 600;
}

.lista-participanti {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  padding-top:50px;
  padding-bottom:50px;
  justify-content: center;
}
.lista-participanti .nu-exista-participanti{
  width: 100%;
  text-align:center;
  color: #000000;
  font-family: Aestetico, Sans-serif;
  font-size: 18px;
  padding-top:50px;
  padding-bottom: 50px;
}
.nume-participant{
  color: #000000;
  font-family: Aestetico, Sans-serif;
  font-size: 24px;
  padding:10px 5px;
  font-weight: 600;
}

.grid-item {
  width: calc(33.333% - 30px); /* 3 columns with consistent gap */
  margin: 10px;
}
#pagination-participanti {
    margin-top: 20px;
    text-align: center;
}
.pagina-btn {
    padding:5px;
    margin: 0 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: Aestetico, Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color:#000000;
}
.pagina-btn.active {
    color: #E30420;
}
.pagina-btn:hover{
  background: transparent;
  color: #E30420;
}
.pagination-dots {
    padding: 5px;
    color: #000000;
}

.spin,.stea {
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from {
  transform: rotate(0deg);
  }
  to {
  transform: rotate(360deg);
  }
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900;
  background: #ffb900;
  padding: 10px;
  border-radius: 0;
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 10;
  margin: 0;
  font-weight: 500;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  background: #46b450;
  padding: 10px;
  border-radius: 0;
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 10;
  margin: 0;
  font-weight: 500;
}
.wpcf7-spinner{
  display: none;
}
.wpcf7-not-valid-tip {
  font-size: 12px;
  text-align: left;
  padding-left: 20px;
  color: #E30420;
}


#mesaje-formular-inscriere{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  background: rgba(0,0,0,0.7);
}
#mesaje-formular-inscriere .wrapper-mesaj{
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  width: 600px;
  max-width: 90%;
  transform: translate(-50%, -50%);
  padding: 50px;
}
#mesaje-formular-inscriere #close-mesaj{
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background: transparent;
  color: #555;
  cursor:pointer;
}
#mesaje-formular-inscriere.eroare .wrapper-mesaj{
 background: #fff;
 color: #000000;
 border-radius: 5px;
 border-left: 10px solid #ffb900;
}
#mesaje-formular-inscriere.succes .wrapper-mesaj{
  background: #fff;
  color: #000000;
  border-radius: 5px;
  border-left: 10px solid #46b450;
}
/* #mesaje-formular-inscriere.succes #close-mesaj{
  color:#ffffff;
} */
#mesaje-formular-inscriere #content-mesaj{
  font-family: 'Aestetico', Sans-serif;
  text-align: left;
  font-size: 18px;
  line-height: 1.2;
  padding-left:50px;
  position: relative;
}
#mesaje-formular-inscriere #content-mesaj:before{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  position: absolute;
  top: 50%;
  left:0;
  transform: translateY(-50%);
  font-size: 40px;
}
#mesaje-formular-inscriere.eroare #content-mesaj:before{
  content:'\f06a';
  color: #ffb900;
}
#mesaje-formular-inscriere.succes #content-mesaj:before{
  content:'\f164';
  color:#46b450;
  display: none;
}
#mesaje-formular-inscriere.succes #content-mesaj{
  padding-left: 0px;
  text-align: center;
}

#mesaje-formular-inscriere.succes #content-mesaj .mesaj-participare h3{
  font-size: 28px;
  font-weight: 600;
}
#mesaje-formular-inscriere.succes #content-mesaj .mesaj-participare h4{
  font-size: 22px;
  font-weight: 400;
  margin-bottom:0px;
}
#mesaje-formular-inscriere.succes #content-mesaj .mesaj-participare .voucher{
  font-size: 32px;
  background: #FFD72D;
  display: inline-block;
  padding: 5px 15px 3px 15px;
  border-radius: 50px;
  color: #000000;
  font-weight: 600;
  margin-top:20px;
  margin-bottom:20px;
}
#mesaje-formular-inscriere.succes #content-mesaj .mesaj-participare p{
  font-size: 22px;
  font-weight: 400;

}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.star {
  animation-name: blink;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.star1 {
  animation-delay: 0s;
}

.star2 {
  animation-delay: 1s; /* different delay to offset blinking */
}

.star3 {
  animation-delay: 2s; /* different delay to offset blinking */
}

.star4 {
  animation-delay: 3s; /* different delay to offset blinking */
}

.hide-section{
  display: none;
}

.balon {
  transform: translateX(-50%);
  animation: hoverUpDown 3s ease-in-out infinite;
}

/* Hovering up and down */
@keyframes hoverUpDown {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-20px);  /* How high it floats */
  }
}

.imagine-participant {
  height: 250px; /* or any height you prefer */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imagine-participant img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

@media only screen and (max-width: 500px){
  .quiz-start-card h2{
    font-size: 40px
  }
  .ec2026 .quiz-start-card h2{
    font-size: 48px
  }
   .ec2026 .quiz-card,
  .ec2026 #quiz-wrapper {
    min-height: 400px;
  }
  .ec2026 .quiz-card:not(.quiz-start-card){
    display: none !important;
  }
  .quiz-card{
    padding:20px;
    justify-content: center;
  }
  .quiz-card h3 {
  font-size: 20px;
  }
  .quiz-form-card .campuri-formular .formular-stanga, .quiz-form-card .campuri-formular .formular-dreapta{
    width: 100%;
    padding: 0px;
  }
  .quiz-form-card .campuri-formular .formular-stanga .wpcf7-form-control-wrap, .quiz-form-card .campuri-formular .formular-dreapta .wpcf7-form-control-wrap{
    display: inline-block;
    margin-bottom: 10px;
  }
  .quiz-form-card .campuri-formular .formular-stanga p, .quiz-form-card .campuri-formular .formular-dreapta p{
    margin: 0;
  }
  .quiz-form-card .campuri-formular .formular-stanga input, .quiz-form-card .campuri-formular .formular-dreapta input{
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }
  .quiz-form-card .wpcf7-acceptance {
  width: 100%;
}
.quiz-form-card .wpcf7-submit {
  padding: 12px 40px 10px 40px;
  }
  #final-result-text .imagine-rezultat {
    width: 100px;
    margin: auto;
  }
  #final-result-text .titlu-rezultat {
  font-size: 40px;
}
.formular-giveaway .formular-giveaway-left, .formular-giveaway .formular-giveaway-right{
  width: 100%;
  padding:0;
}
.formular-giveaway .formular-giveaway-left p, .formular-giveaway .formular-giveaway-right p{
  padding: 5px 0px;
}
.grid-item {
  width: calc(50% - 30px);
}
.nume-participant {
font-size: 20px;
padding: 5px 0px;
}
.imagine-participant {
height: 150px;
}
}