/*
Theme Name: GeneratePress Child
Author: Wanatop
Description: Your description goes here
Version: 1.0
Template: generatepress

This is the child theme for GeneratePress theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
.formdis input[type="checkbox"]{
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  opacity: 1 !important;
  position: static !important;
  width: 1.1rem; height: 1.1rem;
  margin-right: .5rem;
  vertical-align: middle;
  accent-color: #0a66ff;
}

.formdis input:not([type="checkbox"]){
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7 .wpcf7-acceptance input{ display:inline-block !important; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item{
  gap:.5rem; align-items:flex-start;
}

p.aviso_plazas {
    background: red;
    text-align: center;
    padding: 5px;
    color: #fff;
}

/* SLIDER FORMACIONES HOME MOBILE */
.wt-slider {
  overflow: hidden;
  background: #f5f5f5;
}

.wt-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.wt-slide {
  min-width: 100%;
  padding: 20px;
}

.wt-slide h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.wt-slide img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.wt-slide p {
  font-size: 14px;
  color: #555;
}

.wt-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.wt-list li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
}

.wt-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: red;
  font-weight: bold;
}

.wt-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 22px;
  background: red;
  color: #fff !important;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.wt-dots {
  text-align: center;
  margin: 10px 0;
}

.wt-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ccc;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
}

.wt-dots .active {
  background: red;
}

/* Ocultar slider en desktop */
.solo-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .solo-mobile {
    display: block;
  }
}

/* Ocultar formaciones versión desktop en mobile */
.solo-desktop {
  display: none;
}

@media (min-width: 1025px) {
  .solo-desktop {
    display: block;
  }
}