/*
Theme Name:         DFD Native Child - Rioja Vehicles
Theme URI:          https://riojavehicles.com/
Description:        Tema hijo de DFD Native para Rioja Vehicles. Contiene las personalizaciones del sitio (CSS, plantillas y ajustes) para que el tema padre pueda actualizarse sin perderlas.
Author:             Procesyva
Author URI:         https://procesyva.com
Template:           dfd-native
Version:            2.0.7
License:            GPL v2
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:        dfd-native
*/

/* ==== CSS propio migrado de style.css del tema antiguo (mayo 2020) ==== */

span.icon-text.dfd-text-icon-render {
    line-height: 1em;
}

.dfd-gallery .entry-thumb .entry-hover .title-wrap h3.entry-title{
	font-size: 20px!important;
}
article.dfd-gallery .entry-thumb .entry-hover .title-wrap .entry-subtitle{
	opacity: 1;
	font-size: 15px!important;
}
.lang-sel > ul > li:nth-child(1) span.flag {
    background-image: url(./assets/img/it.png)!important;
}
.lang-sel > ul > li:nth-child(2) span.flag {
    background-image: url(./assets/img/fr.png)!important;
}
.lang-sel > ul > li:nth-child(3) span.flag {
    background-image: url(./assets/img/es.png)!important;
}
.lang-sel > ul > li:nth-child(4) span.flag {
    background-image: url(./assets/img/eng.png)!important;
}
.lang-sel > ul > li:nth-child(5) span.flag {
    background-image: url(./assets/img/de.png)!important;
}
/*.lang-sel > a span.flag {
    background-image: url(./assets/img/es.png)!important;
}*/

a.hvr-bounce-to-right {
    border: 1px solid #fff;
    padding: 10px 25px!important;
}

.wpex .wpex-dates a, .wpex h2, .wpex h2 a, .wpex-single-timeline h1.tl-title, .wpex .timeline-details h2, .wpex .timeline-details h2 {
    font-family: Roboto!important;
    text-transform: none!important;
    font-size: 16px!important;
}
.yottie-widget-video-classic .yottie-widget-video-info {
line-height: 17px !important;
}

.wo_percent .progressbar-number{
	display: none!important;
}

.ajustar-espacio-lineas ul li {
    line-height: 21px !important;
}
.yottie-widget-header-banner {
    display: none !important;
}

p.recaptcha.last {
    text-align: -webkit-center;
    padding-top: 15px;
}

.yottie-widget-video-info-properties {
    height: 30px !important;
}

.lazo-luto {
    width: 120px;
    padding-top: 18px;
    float: right;
}

@media (min-width: 1100px) and (max-width: 1250px) {
    .lazo-luto {
        display: none;
    }
}

@media (min-width: 1600px) {
    #header-container.dfd-header-builder .header-builder-wrraper .left-col {
        width: 450px;
    }
}

@media (min-width: 1250px) and (max-width: 1599px) {
    #header-container.dfd-header-builder .header-builder-wrraper .left-col {
        width: 330px;
    }
}
/* ==== Migrado de assets/css/app.css del tema antiguo (editado 2020-05-14) ==== */
.widget.soc-icons a {
    padding: 0 3px !important;
}

/* ==== Ajustes de fidelidad visual tras actualizar a DFD Native 1.7.17 + WPBakery 9 (18-nov-2026) ====
   Objetivo: que la web se vea exactamente como con el tema antiguo (DFD Native 1.3.x + WPBakery 5.5.2).
   Cada regla indica la diferencia que corrige y cómo revertirla (borrar el bloque). */

/* 1) Pestañas "Identificar / Diseñar / Fabricar" (página Empresa, y cualquier dfd_tta_tabs).
      WPBakery 9 deja line-height:1 en el título de la pestaña y el botón queda en 23 px de alto.
      Antes medía 40 px sin relleno extra en el contenedor. */
body .dfd_tabs_block .dfd_tta_tabs .vc_tta-tabs-container .vc_tta-tabs-list {
    padding-top: 0;
    padding-bottom: 0;
}
body .dfd_tabs_block .dfd_tta_tabs .vc_tta-tabs-container .vc_tta-tabs-list li.vc_tta-tab a {
    padding-top: 13px;
    padding-bottom: 14px;
}

/* 2) Barra gris del copyright (subpie): el tema nuevo le pone min-height:74px y queda 14 px más alta
      que antes (55 px = 20 + 15 + 20 de relleno). */
body #sub-footer.subfooter-style-on {
    min-height: 0;
}

/* 3) Icono de Twitter: el tema nuevo usa el logo X; antes se mostraba el pájaro (mismo glifo
      \e965 de la fuente de iconos del tema, que sigue incluida). Para volver a la X, borrar esta regla. */
.tw.dfd-added-icon-twitter-x-logo:before {
    font-family: "dfd-socicons-font" !important;
    content: "\e965" !important;
}

/* 4) Móvil (<= 799 px): las filas de WPBakery (.wpb_row.row) conservaban un margen negativo de -10 px
      que el tema antiguo anulaba en pantallas pequeñas (columnas 20 px más anchas, imágenes y bloques más
      grandes y la página más larga). Se vuelve al margen 0. Solo afecta a móvil; para revertir, borrar el bloque. */
@media (max-width: 799px) {
    body #layout .wpb_row.row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
