/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

.cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row-reverse;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* ===== BOTÓN EN ESQUINA DE CARD (REUTILIZABLE) ===== */

/* El wrapper del botón se posiciona respecto a la card */
.w-hwrapper {
    position: relative;
}

/* Sacamos el wrapper SOLO si contiene el botón especial */
.w-btn-wrapper:has(.btn-card-corner) {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
}

/* ===== BOTÓN CARD CON SVG INLINE ===== */
.btn-card-corner {
    width: 56px; /* tamaño original del botón */
    height: 56px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0 14px 0 14px;
    position: relative; /* clave para centrar la flecha */
}

/* Ocultamos el contenido > */
.btn-card-corner .w-btn-label {
    font-size: 0;
}

/* SVG 28x28 centrado dentro del botón */
.btn-card-corner .w-btn-label::before {
    content: "";
    position: absolute;  /* clave para centrar */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* centra la flecha */

    width: 28px;
    height: 28px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 14.0002L5.83333 14.0002M21 14.0002L16.3333 18.6668M21 14.0002L16.3333 9.3335' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Responsive */
@media (max-width: 768px) {
    .btn-card-corner .w-btn-label::before {
        width: 16px;
        height: 16px;
    }
}




/* Preguntas frecuentes */
.sin-borde-spacing .w-tabs-sections {
    display: flex;
    flex-direction: column;
    gap: 1rem;          /* opcional, margin funciona igual */
    background: transparent; /* sin fondo */
}

/* Cada sección tiene fondo */
.sin-borde-spacing .w-tabs-section {
    border: none !important;
    box-shadow: none !important;
    background-color: #DF6D61; /* fondo solo de la sección */
	color: #fff;
}

/* Quitar borde/sombra de los headers */
.sin-borde-spacing .w-tabs-section-header {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Ajuste de contenido interno */
.sin-borde-spacing .w-tabs-section-content-h {
    padding: 0;
}



/*Imagen blanca*/
.us_custom_eacb1975 img {
    filter: brightness(0) invert(1);
}










/* Imagen fija solo pantallas grandes */
@media (min-width: 1520px) {
  .imagen-absolute-borde {
    position: absolute !important;
    top: 2.5rem;
    right: 5rem;
    z-index: 50;
    transform: none !important;
  }
}

/* Cambiar posición texto pantallas grandes */
@media (min-width: 670px) {
  .text-absolute-1 {
    position: absolute !important;
    
    left: 10rem;
    z-index: 50;
    transform: none !important;
  }
}

/* Cambiar posición texto pantallas grandes */
@media (min-width: 670px) {
  .text-absolute-2 {
    position: absolute !important;
    
    left: 20rem;
    z-index: 50;
    transform: none !important;
  }
}
/* Cambiar posición texto pantallas grandes */
@media (min-width: 670px) {
  .text-absolute-3 {
    position: absolute !important;
    
    left: 25rem;
    z-index: 50;
    transform: none !important;
  }
}
/* Cambiar posición texto pantallas grandes */
@media (min-width: 670px) {
  .text-absolute-4 {
    position: absolute !important;
    
    left: 17rem;
    z-index: 50;
    transform: none !important;
  }
}

/*Margenes tarjetas home y aseguradoras*/
@media (min-width: 900px) and (max-width: 1180px) {
    .ajuste-margenes {
        padding-left: 15rem !important;
        padding-right: 15rem !important;
    }
}
@media (min-width: 650px) and (max-width: 900px) {
    .ajuste-margenes {
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }
}


/**form**/
.form-row {
    /*width: 100%;*/
	padding: 0.5rem 0rem;
	display: flex;
	flex-wrap: wrap !important;
	justify-content: space-between;
}

.form-row .column-full label span.label, .form-row .column-half label span.label {
    font-weight: bold;
}

.form-row .column-full label, .form-row .column-half label {
    font-size: 0.9rem;
    color: #000;
}

.form-row .column-full label span {
    font-weight: bold;
}
.form-row .form-private label span {
    font-weight: normal;
}

.form-row .column-full {
	width: 100% !important;
	padding: 0rem 0.25rem !important;
}

.form-row .column-half {
	width: 50% !important;
	padding: 0rem 0.25rem !important;
}

.wpcf7-form-control.wpcf7-submit {
    width: 100%;
}

@media screen and (max-width: 767px) {
  .form-row .column-half {
    width: 100% !important;
	padding: 0.25rem 0.25rem !important;
  }
}



.imagen-contracurva {
    position: relative;
    display: inline-block;
}
.imagen-contracurva img {
    position: relative;
    z-index: 2;
   
}

.imagen-contracurva::after {
    content: "";
    position: absolute;
    top: 6rem;
    left: 6rem;
    width: 100%;
    height: 100%;
    background-color: #2A3C57; 
    border-radius: 0 0 25% 0; /* curva opuesta */
    z-index: 1;
}

.imagen-contracurva-2 {
    position: relative;
    display: inline-block;
}
.imagen-contracurva-2 img {
    position: relative;
    z-index: 2;
   
}

.imagen-contracurva-2::after {
    content: "";
    position: absolute;
    top: 6rem;
    left: 6rem;
    width: 100%;
    height: 100%;
    background-color: #DF6D61; 
    border-radius: 0 0 25% 0; /* curva opuesta */
    z-index: 1;
}


.imagen-contracurva-3 {
    position: relative;
    display: inline-block;
}
.imagen-contracurva-3 img {
    position: relative;
    z-index: 2;
   
}

.imagen-contracurva-3::after {
    content: "";
    position: absolute;
    top: 4rem;
    left: -4rem;
    width: 100%;
    height: 100%;
    background-color: #2A3C57; 
    border-radius: 0 0 0 25%; /* curva opuesta */
    z-index: 1;
}

.imagen-contracurva-4 {
    position: relative;
    display: inline-block;
}
.imagen-contracurva-4 img {
    position: relative;
    z-index: 2;
   
}

.imagen-contracurva-4::after {
    content: "";
    position: absolute;
    top: 6rem;
    left: 6rem;
    width: 100%;
    height: 100%;
    background-color: #DF6D61; 
    border-radius: 0 0 25% 0; /* curva opuesta */
    z-index: 1;
}



/* Botón whatsapp base */
.btn-whatsapp {
    width: 88px;
    height: 83px;
    background-color: rgba(0,0,0,0) !important;
    background-image: url('https://brokerman.solbyte.dev/wp-content/uploads/2026/01/whats-icon-normal.svg')!important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    border-radius: 50%;
    padding: 0;
    transition: background-color 0.3s ease, background-image 0.3s ease;
}

/* Ocultar texto del botón Impreza */
.btn-whatsapp .w-btn-label {
    display: none;
}

/* Hover: cambia icono */
.btn-whatsapp:hover {
    background-color: rgba(0,0,0,0);
    background-image: url('https://brokerman.solbyte.dev/wp-content/uploads/2026/01/whats-icon-reverse.svg')!important;
}




/*Quitar lineheight heredado en publicaciones*/
.sin-lineheight-h2 h2.usg_post_title_1 {
    line-height: normal;
}

/*Togglebox para aseguradoras*/

.toggle-box .toggle-input {
    display: none;
}

.toggle-box .toggle-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.30s ease-in-out;
}

.toggle-box .toggle-container .w-hwrapper {
    margin-top: 1rem;
}

.toggle-box .toggle-input:checked ~ .toggle-container {
    max-height: 2000px;
}

.toggle-box .toggle-trigger {
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    font-family: inherit;
    font-size: 25px; 
    color: inherit;
    line-height: 1.4;
	margin-bottom: 1rem;
}

.toggle-box .toggle-trigger:hover {
    opacity: 0.8;
}

.toggle-box .toggle-container a {
    color: #DF6D61 !important; 
    text-decoration: none;
}

/*Vista movil imagen portada*/

@media (max-width: 768px) {
    .mi-seccion-fondo {
        background-position-x: center !important; /* centra horizontalmente */
    }
}


/*------------------Formulario parte seguros---------------------------------*/
/* CONTENEDOR GENERAL */
.cf7-siniestro-hogar {
  max-width: 1000px;
  margin: 0 auto;
}

/* FILAS */
.cf7-siniestro-hogar .cf7-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* DISTRIBUCIÓN ESCRITORIO */

/* 2 columnas 50% */
.cf7-siniestro-hogar .cf7-col-2 {
  flex: 0 0 calc(50% - 10px);
}

/* 3 columnas */
.cf7-siniestro-hogar .cf7-col-3 {
  flex: 0 0 calc(33.333% - 14px);
}

/* 1 columna completa */
.cf7-siniestro-hogar .cf7-col-1 {
  flex: 0 0 100%;
}

/* CASO ESPECIAL: nombre más ancho + nif más estrecho */
.cf7-siniestro-hogar .cf7-row:first-of-type .cf7-col-2:first-child {
  flex: 0 0 65%;
}

.cf7-siniestro-hogar .cf7-row:first-of-type .cf7-col-2:last-child {
  flex: 0 0 calc(35% - 20px);
}

/* INPUTS (solo campos de texto, no radios/check) */
.cf7-siniestro-hogar input[type="text"],
.cf7-siniestro-hogar input[type="email"],
.cf7-siniestro-hogar input[type="tel"],
.cf7-siniestro-hogar input[type="date"],
.cf7-siniestro-hogar input[type="file"],
.cf7-siniestro-hogar select,
.cf7-siniestro-hogar textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  box-sizing: border-box;
}


/* RESPONSIVE */
@media (max-width: 768px) {

  .cf7-siniestro-hogar .cf7-col-2,
  .cf7-siniestro-hogar .cf7-col-3 {
    flex: 0 0 100%;
  }

  .cf7-siniestro-hogar .cf7-row:first-of-type .cf7-col-2:first-child,
  .cf7-siniestro-hogar .cf7-row:first-of-type .cf7-col-2:last-child {
    flex: 0 0 100%;
  }
}

/* ===== FIX CHECKBOX Y RADIO ===== */

.cf7-siniestro-hogar .wpcf7-checkbox,
.cf7-siniestro-hogar .wpcf7-radio {
  display: block;
}

.cf7-siniestro-hogar .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* Evita que el flex global afecte */
.cf7-siniestro-hogar .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
/*------------Estilos siniestros-------------*/
/* Contenedor no afecta a todo */
.hover-azul {
    display: flex;
    gap: 20px;
}

.hover-azul .w-image img,
.hover-azul .w-popup-trigger img{
    transition: transform 0.3s ease;
}


/* Hover independiente en cada imagen */
.hover-azul .w-image:hover img,
.hover-azul .w-popup-trigger:hover img {
    transform: translateY(-8px);
    filter: brightness(0) saturate(100%) invert(27%) sepia(16%) saturate(1033%) hue-rotate(181deg) brightness(96%) contrast(90%);
}

/* Evitar que el popup herede estilos */
.w-popup-box img,
.w-popup-box div,
.w-popup-box h1,
.w-popup-box h2,
.w-popup-box h3,
.w-popup-box h4,
.w-popup-box h5,
.w-popup-box h6 {
    transform: none !important;
    filter: none !important;
}
/* Forzar opacidad completa en el hover del popup */
.no-touch .w-popup-trigger.type_image:hover img {
    opacity: 1 !important;  /* anula el 0.75 que Impreza aplica */
}

/* También desactivamos filtros o overlays */
.w-popup-trigger.type_image,
.w-popup-trigger.type_image:hover,
.w-popup-trigger.type_image:focus {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Evitar pseudo-elementos del tema */
.w-popup-trigger.type_image::before,
.w-popup-trigger.type_image::after {
    display: none !important;
}

/* Animación solo en la imagen */
.w-popup-trigger.type_image img {
    transition: transform 0.3s ease;
}

/* Hover que solo mueve la imagen */
.w-popup-trigger.type_image:hover img {
    transform: translateY(-8px);
}

/* ================================
   SEGUROS CAROUSEL - SVG ICONOS
================================= */

.seguros-carousel-1 {
    position: relative;
    margin-top: 4rem;
	
}

/* Contenedor dots */
.seguros-carousel-1 .owl-dots {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

/* Quitamos barras */
.seguros-carousel-1 .owl-dot span {
    display: none;
}

/* Base botón */
.seguros-carousel-1 .owl-dot {
    width: 55px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    transition: all 0.3s ease;
    transform: scale(1);
}

/* SVG personalizados */
.seguros-carousel-1 .owl-dot:nth-child(1) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/coche-deportivo.svg");
}

.seguros-carousel-1 .owl-dot:nth-child(2) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/camion.svg");
}



/* Activo */
.seguros-carousel-1 .owl-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Hover */
.seguros-carousel-1 .owl-dot:hover {
    opacity: 0.7;
}
/* H3 en naranja */ 
.seguros-carousel-1
h3 
{ color: #DF6D61 !important; }

/*-------------------------------------------*/

.seguros-carousel-2 {
    position: relative;
    margin-top: 4rem;
	
}

/* Contenedor dots */
.seguros-carousel-2 .owl-dots {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

/* Quitamos barras */
.seguros-carousel-2 .owl-dot span {
    display: none;
}

/* Base botón */
.seguros-carousel-2 .owl-dot {
    width: 55px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    transition: all 0.3s ease;
    transform: scale(1);
}

/* SVG personalizados */
.seguros-carousel-2 .owl-dot:nth-child(1) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/coche-deportivo.svg");
}

.seguros-carousel-2 .owl-dot:nth-child(2) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/motocicleta.svg");
}
.seguros-carousel-2 .owl-dot:nth-child(3) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/patinete.svg");
}


/* Activo */
.seguros-carousel-2 .owl-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Hover */
.seguros-carousel-2 .owl-dot:hover {
    opacity: 0.7;
}
/* H3 en naranja */ 
.seguros-carousel-2
h3 
{ color: #DF6D61 !important; }
/*-----------------------------------------*/

.seguros-carousel-3 {
    position: relative;
    margin-top: 4rem;
	
}

/* Contenedor dots */
.seguros-carousel-3 .owl-dots {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

/* Quitamos barras */
.seguros-carousel-3 .owl-dot span {
    display: none;
}

/* Base botón */
.seguros-carousel-3 .owl-dot {
    width: 55px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    transition: all 0.3s ease;
    transform: scale(1);
}

/* SVG personalizados */
.seguros-carousel-3 .owl-dot:nth-child(1) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/hogar.svg");
}

.seguros-carousel-3 .owl-dot:nth-child(2) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/grupo.svg");
}



/* Activo */
.seguros-carousel-3 .owl-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Hover */
.seguros-carousel-3 .owl-dot:hover {
    opacity: 0.7;
}
/* H3 en naranja */ 
.seguros-carousel-3
h3 
{ color: #DF6D61 !important; }
/*-----------------------------------------*/
.seguros-carousel-4 {
    position: relative;
    margin-top: 4rem;
	
}

/* Contenedor dots */
.seguros-carousel-4 .owl-dots {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

/* Quitamos barras */
.seguros-carousel-4 .owl-dot span {
    display: none;
}

/* Base botón */
.seguros-carousel-4 .owl-dot {
    width: 55px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    transition: all 0.3s ease;
    transform: scale(1);
}

/* SVG personalizados */
.seguros-carousel-4 .owl-dot:nth-child(1) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/vida.svg");
}

.seguros-carousel-4 .owl-dot:nth-child(2) {
    background-image: url("https://brokerman.solbyte.dev/wp-content/uploads/2026/03/verificacion-de-escudo.svg");
}



/* Activo */
.seguros-carousel-4 .owl-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Hover */
.seguros-carousel-4 .owl-dot:hover {
    opacity: 0.7;
}
/* H3 en naranja */ 
.seguros-carousel-4
h3 
{ color: #DF6D61 !important; }

/*-----------------------------------------*/
/* H3 en naranja */ 
.seguros-carousel 
h3 
{ color: #DF6D61 !important; }











/* =====================================
   SEGUROS CAROUSEL ALT - ESTILO NARANJA
====================================== */

/* Espaciado vertical del bloque */
.seguros-carousel-alt {
    margin: 60px 0; 
}

/* Espaciado interno del contenido */
.seguros-carousel-alt .owl-stage-outer {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Ocultamos flechas si existen (estilo solo con dots) */
.seguros-carousel-alt .owl-nav {
    display: none !important;
}

/* Contenedor de puntos */
.seguros-carousel-alt .owl-dots {
    margin-top: 30px;
    text-align: center;
}

/* Punto base */
.seguros-carousel-alt .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(223, 109, 97, 0.75) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Punto activo */
.seguros-carousel-alt .owl-dot.active span {
    background: #DF6D61 !important;
    transform: scale(1.2);
}

/* Hover */
.seguros-carousel-alt .owl-dot:hover span {
    background: #DF6D61 !important;
}

/*--------------------------------------------------------FORMULARIO COMPLEJO SINIESTROS AUTO---------------------------------------*/

.contenedor-principal {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.vehiculo {
  padding: 15px;
  border: 2px solid #ccc;
}

.vehiculo-a {
  background: #aab1bc;
  border-color: #2a3c57;
}

.vehiculo-b {
  background: #eca7a0;
  border-color: #DF6D61;
}

.circunstancias {
  background: #f7f7f7;
  padding: 15px;
  border: 2px solid #999;
}

.fila-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.parte-inferior {
  grid-column: 1 / -1; 
  margin-top: 40px;
}
textarea {
  width: 100%;
  min-height: 80px;
}



/* ============================= */
/* CIRCUNSTANCIAS DOBLES */
/* ============================= */

.cf7-parte-auto .circunstancias-dobles .wpcf7-list-item{
  align-items:flex-start;
}

.cf7-parte-auto .circunstancias-dobles .wpcf7-list-item label{
  display:flex;
  align-items:flex-start;
  gap:8px;
  line-height:1.3;
  white-space:normal;
}

.columna-a {
  background: #aab1bc;
  padding: 15px;
  border: 2px solid #2a3c57;
  font-size: 15px;
}

.columna-b {
  background: #eca7a0;
  padding: 15px;
  border: 2px solid #DF6D61;
  font-size: 15px;
}

.tabla-circunstancias{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.sub-bloque {
  background: #fff;
  padding: 15px;
  border: 1px solid #ccc;
}

.vehiculo-a h4 {
  border-bottom: 2px solid #2a3c57;
  padding-bottom: 5px;
}

.vehiculo-b h4 {
  border-bottom: 2px solid #DF6D61;
  padding-bottom: 5px;
}

h5 {
  margin-top: 0;
  font-size: 14px;
  font-weight: bold;
}

/* ======================================
   PARTE SUPERIOR ADAPTADA 
====================================== */

.parte-superior-oficial {
  margin-bottom: 40px;
}

/* Filas */
.parte-superior-oficial .fila-1 {
  display: grid;
  grid-template-columns: 250px 150px 1fr 280px;
  gap: 20px;
  margin-bottom: 20px;
}

.parte-superior-oficial .fila-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

/* Bloques coherentes con tus vehículos */
.parte-superior-oficial .bloque-oficial {
  padding: 15px;
  border: 2px solid #ccc;
  background: #fff;
}

/* Colores suaves como usas abajo */
.parte-superior-oficial .localizacion {
  background: #f7f7f7;
  border-color: #999;
}

.parte-superior-oficial .victimas {
  background: #f7f7f7;
  border-color: #999;
}

.parte-superior-oficial .danos {
  background: #f7f7f7;
  border-color: #999;
}



/* Responsive */
@media (max-width: 980px) {
  .parte-superior-oficial .fila-1,
  .parte-superior-oficial .fila-2 {
    grid-template-columns: 1fr;
  }
}
/*------------------------------------------------
ESTILO UNIFICADO COMO FORMULARIO SINIESTROS
------------------------------------------------*/

.cf7-parte-auto{
  max-width: 1200px;
  margin: auto;
}

/* INPUTS IGUAL QUE EL OTRO FORMULARIO */

.cf7-parte-auto input[type="text"],
.cf7-parte-auto input[type="email"],
.cf7-parte-auto input[type="tel"],
.cf7-parte-auto input[type="date"],
.cf7-parte-auto input[type="file"],
.cf7-parte-auto textarea,
.cf7-parte-auto select{
  width:100%;
  padding:8px 10px;
  border:1px solid #ccc;
  border-radius:3px;
  font-size:14px;
  box-sizing:border-box;
}

/* TEXTAREAS */

.cf7-parte-auto textarea{
  min-height:90px;
}

/* LABELS */

.cf7-parte-auto label{
  font-weight:500;
  display:block;
  margin-bottom:5px;
}

/* CHECKBOX Y RADIOS COMO EN EL OTRO FORM */

.cf7-parte-auto .wpcf7-checkbox,
.cf7-parte-auto .wpcf7-radio{
  display:block;
}

.cf7-parte-auto .wpcf7-list-item{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
}

.cf7-parte-auto .wpcf7-list-item label{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-weight:normal;
}

/* SUBLINEAS DE LA PARTE SUPERIOR */

.cf7-parte-auto .sub-linea{
  margin-bottom:10px;
}

/* SUB CHECKS */

.cf7-parte-auto .sub-checks div{
  margin-bottom:10px;
}

/* H3 MÁS LIMPIO */

.cf7-parte-auto h3{
  margin-top:0;
}

/* BOTÓN */

.cf7-parte-auto input[type="submit"]{
  margin-top:30px;
  padding:12px 30px;
  background:#3399ff;
  border:none;
  color:#fff;
  font-size:16px;
  border-radius:4px;
  cursor:pointer;
}

.cf7-parte-auto input[type="submit"]:hover{
  background:#287dd1;
}



.cf7-parte-auto{
  max-width:100% !important;
  width:100% !important;
  box-sizing:border-box;
  overflow:hidden;
}

.cf7-parte-auto *{
  box-sizing:border-box;
}
.contenedor-principal > *,
.tabla-circunstancias > *,
.punto-choque-grid > *,
.firmas-grid > *,
.grid-2 > *{
  min-width:0;
}

/* ======================================================
RESPONSIVE FORMULARIO PARTE AMISTOSO
====================================================== */

/* TABLET GRANDE */

@media (max-width:1200px){

  .contenedor-principal{
    grid-template-columns:1fr;
  }

  .tabla-circunstancias{
    grid-template-columns:1fr;
  }

}


/* TABLET */

@media (max-width:980px){

  .parte-superior-oficial .fila-1{
    grid-template-columns:1fr 1fr;
  }

  .parte-superior-oficial .fila-2{
    grid-template-columns:1fr;
  }

}


/* MÓVIL */

@media (max-width:768px){

  .grid-2{
    grid-template-columns:1fr;
  }

  .punto-choque-grid{
    grid-template-columns:1fr;
  }

  .firmas-grid{
    grid-template-columns:1fr;
  }

  .parte-superior-oficial .fila-1{
    grid-template-columns:1fr;
  }

}


/* MÓVIL PEQUEÑO */

@media (max-width:480px){

  .cf7-parte-auto{
    padding:10px;
  }

  .vehiculo{
    padding:12px;
  }

  .bloque-oficial{
    padding:12px;
  }

}