/*
Theme Name:   Engitech Child
Theme URI:    http://wpdemo.archiwp.com/engitech/
Description:  Make your modifications to [Parent Theme] in this Engitech child theme.
Author:       OceanThemes
Author URI:   http://oceanthemes.net/
Template:     engitech
Version:      1.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  engitech-child
*/

/* =Theme customization starts here
------------------------------------------------------- */
.elementor-2840 .elementor-element.elementor-element-4994a43.elementor-section.is-stuck {
    background: #fff !important;
}
.elementor-5662 .elementor-element.elementor-element-58cf2eb:not(.elementor-motion-effects-element-type-background), .elementor-5662 .elementor-element.elementor-element-58cf2eb > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-image: none !important;
}

.cmplz-marketing .cmplz-manage-consent { display: none; }
/* Form Footer */

.companion-inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.companion-inline-form input[type="email"] {
  flex: 1;
/*   padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px; */
	width: 50% !important;
}

.companion-inline-form input[type="submit"] {
	margin-left:5px !important;
}

.companion-inline-form input[type="submit"]:hover {
  background-color: #005f8d;
}


/*  */

#back-to-top{
	bottom: 170px !important;
}
.qlwapp__container.qlwapp__container--bottom-right {
    bottom: 70px !important;
}
.qlwapp__container.qlwapp__container--rounded .qlwapp__button--button {
    border-radius: 100px !important;
    height: 60px !important;
    width: 60px !important;
}



/* Popup responsive y centrado */
.pum-container {
  position: fixed !important;                
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important; 
  width: 90% !important;                     
  max-width: 640px !important;               
  box-sizing: border-box !important;
  padding: 18px !important;
  z-index: 99999 !important;                 
  background: #fff !important;               
  border-radius: 8px !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25) !important;
  overflow: hidden !important;               
}

/* Ajustes específicos para pantallas pequeñas */
@media (max-width: 480px) {
  #popmake-6429.pum-container {
    width: 96% !important;
    max-width: none !important;
    height: auto !important;
    left: 50% !important;
    top: 10% !important;
    transform: translateX(-50%) !important; 
    border-radius: 6px !important;
    padding: 12px !important;
  }

  #popmake-6429 .pum-content {
    max-height: calc(100vh - 140px) !important;
  }
}



/* ---- */

.member-form {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 25px;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.form-flex {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.form-flex p {
  flex: 1 1 45%;
}

.member-form .wpcf7-text,
.member-form .wpcf7-email,
.member-form .wpcf7-tel,
.member-form .wpcf7-textarea {
  width: 100%;
  padding: 10px !important;
  border-radius: 5px !important;
  border: 1px solid #ccc !important;
  font-size: 14px !important;
  box-sizing: border-box;
}

/* Flexbox para los checkboxes */
.flex-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Cada checkbox ocupa al menos 45% del ancho y tiene altura suficiente */
.flex-checkboxes .wpcf7-list-item {
  flex: 1 1 45%;
  min-width: 150px; /* tamaño mínimo para que sea visible */
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

/* Etiquetas de checkbox */
.wpcf7-checkbox label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

/* Input checkbox */
.wpcf7-checkbox input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
  width: 18px;
  height: 18px; /* Tamaño visible */
}

/* Responsive */
@media (max-width: 768px) {
  .form-flex p {
    flex: 1 1 100%;
  }
  .flex-checkboxes .wpcf7-list-item {
    flex: 1 1 100%;
  }
}

/* Campo con error */
.wpcf7-not-valid {
  border: 2px solid #e74c3c !important; /* borde rojo */
  background-color: #fdecea; /* fondo muy claro */
  border-radius: 5px;
  padding: 10px;
}

/* Mensaje de error */
.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 5px;
  display: block;
}

/* Opcional: animación ligera al aparecer */
.wpcf7-not-valid {
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.wpcf7-form {
   max-width: 100% !important; 
   margin: 0px !important; 
}
.wpcf7 .wpcf7-not-valid {
    border: 1px solid #f00 !important;
}


#nosdefine .tabs-heading li:nth-last-child(-n+2) {
  margin-top: 15px; 
}

.form-contacto-principal {
    background: none !important; 
    padding: none !important; 
    border-radius: none !important;
    box-shadow: none !important;
}
form.wpcf7-form .wpcf7-not-valid {
  border: 1px solid #f00 !important;
}
#changelang .gtranslate_wrapper{
    width: 24px !important; 
}

.mmenu-toggle {
    cursor: pointer;
    width: 26px;
    height: 100% !important; 
}
@media (max-width: 767px) {
#nosdefine .tabs-heading li:nth-last-child(-n+2) {
    margin-top: 0px;
}
	    .elementor-1583 .elementor-element.elementor-element-ab8c75d img {
        height: unset !important;
    }
	    .elementor-1583 .elementor-element.elementor-element-f0fce16,
	    .elementor-6206 .elementor-element.elementor-element-cd02e42,
	.elementor-6168 .elementor-element.elementor-element-44eb6f2{
        --width:  unset !important;
    }
    }
}

a.glink img {
    margin-top: -8px;
	width: 28px;
	height: 28px;

}
