/*
	Theme Name: Quinta Vale D'Anelha Child
	Theme URL: https://quintavaledanelha.com/
	Description: Hello. Thank you for using our theme. For any help or support please feel free to reach us at anytime at info@wechase.eu 
	Author: Wechase - Marketing & Business Optimization
	Author URL: https://wechase.eu
	Template: quintavaledanelha
	Text Domain: quintavaledanelha-child
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/


.pt-1 {padding-top: 160px !important}
.pb-1 {padding-bottom: 160px !important}

@media only screen and (max-width:768px) {
    .pt-1 {padding-top: 60px !important}
    .pb-1 {padding-bottom: 60px !important}   
}

/*
 * 
 * Custom Form - Acceptance Box
 * 
 * */
@media only screen and (max-width:1240px){
    .custom-form button.elementor-button.elementor-size-md {
        width: 100%;
    }
}
.custom-form .elementor-field-acceptance_1 .elementor-field-option {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.custom-form [type="checkbox"]:checked,
.custom-form [type="checkbox"]:not(:checked),
.custom-form [type="radio"]:checked,
.custom-form [type="radio"]:not(:checked) {
    position: absolute;
    visibility: hidden;
}
.custom-form .elementor-field-subgroup label[for="form-field-acceptance_1"] {
    display: block !important;
    z-index: 2;
    margin: 0 !important;
    border: 0;
    border-radius: 3px;
    padding: 5px 35px;
    font-size: 13px;
    line-height: 1.3em;
    text-align: left;
    transition: .2s all;
    cursor: pointer;
    position: relative;
}
.custom-form .elementor-field-subgroup label[for="form-field-acceptance_1"]:after {
    width: 24px;
    height: 24px;
    content: "";
    border: 2px solid var( --e-global-color-primary );
    background-color: transparent;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 0px 1px;
    z-index: 2;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 200ms ease-in;
	border-radius:4px !important;
}
.custom-form input:checked ~ label[for=form-field-acceptance_1]:after {
    background-image: url(https://quintavaledanelha.com/wp-content/uploads/2025/check_consent_box.svg);
    background-color: transparent;
    border-color: var( --e-global-color-accent );
    outline: 0.5px solid var( --e-global-color-accent );
    opacity: 1;
    transition: all 200ms ease-in !important;
	border-radius:4px !important;
}
.elementor-field-group-acceptance_1 {
    margin-bottom: 30px !important;
}
/*****
 * 
 * END Custom Form - Acceptance Box
 * 
 ******/

/**********************
 * 
 * Cookie bar
 *
 **********************/
/* Complianz*/
div#cmplz-manage-consent {
    display: none;
}

/* Cookie Yes*/
.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
    display: none;
}
button.cky-btn.cky-btn-accept {
    color: #ffffff !important;
    font-weight: bold;
	order: -3;
}
button.cky-show-desc-btn {
    color: #ffffff !important;
    text-decoration: underline !important;
}
.cky-footer-wrapper div:last-child {
    display: none !important;
}
button.cky-btn.cky-btn-reject {
    border: none !important;
	display:none !important;
}

@media (max-width:767px) {
	button.cky-btn.cky-btn-reject {
		padding: 4px !important;
	}
}
/**********************
 * 
 * END Cookie bar
 *
 **********************/



/**********************
 * 
 * Language Switcher - Menu Panel
 *
 **********************/
ul.cpel-switcher__list {
    display: flex;
    gap: 20px;
}
li.cpel-switcher__lang {
    margin: 0 !important;
}
span.cpel-switcher__code {
    padding: 0 !important;
}




/**********************
 * 
 * Awards Timeline
 *
 **********************/
  .timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 20px;
  }

  .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var( --e-global-color-bd9c339 );
    transform: translateX(-50%);
    z-index: 1;
  }

  .timeline-line-fill {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    background: var( --e-global-color-ab7b08d );
    transform: translateX(-50%);
    z-index: 2;
    height: 0;
  }

  .scroll-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var( --e-global-color-ab7b08d );
    border-radius: 50%;
    z-index: 3;
    
  }

  .timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .timeline-item .timeline-content {
    width: 48%;
    padding: 32px 24px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
    background: #f7f7f4;
  }

  .timeline-item.visible .timeline-content {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-item.right .timeline-content {
    margin-left: 52%;
    text-align: center;
    border-radius: 0 8px 8px 0;
  }

  .timeline-item.left .timeline-content {
    margin-right: 52%;
    border-left: none;
    text-align: center;
    border-radius: 8px 0 0 8px ;
  }

  .timeline-title {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: Quicksand;
    color: var( --e-global-color-fdce774 );
  }
  
  .container-year-prize {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }
  
  .timeline-year {
    font-size: 18px;
    font-weight: 500;
    font-family: Quicksand;
    margin-top: 10px;
    color: var( --e-global-color-fdce774 )
  }

  .medal {
    display: inline-block;
    font-family: Quicksand;
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
  }

  .medal.prata { background-color: #bdc3c7; }
  .medal.bronze { background-color: #cd7f32; }
  .medal.ouro   { background-color: #f1c40f; }
  .medal.distincao   { background-color: #232323; }

  @media (max-width: 768px) {
    .timeline-item {
      flex-direction: column;
    }
    
    .timeline-line,
    .timeline-line-fill,
    .scroll-indicator {
        left:30px;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
      width: calc(100% - 40px);
      margin-left: 40px;
      text-align: left;
      border-radius: 0 8px 8px 0;
    }
    
    .container-year-prize {
      justify-content: start;
    }
  }
/**********************
 * 
 * END Awards Timeline
 *
 **********************/
