
/* ==================================================
   AYUNTAMIENTO DE FUENTES DE EBRO
   CSS PERSONALIZADO - PLANTILLA WESTAND
   ================================================== */


/* ==================================================
   01. TIPOGRAFÍA GENERAL DE LA WEB
   ================================================== */

h2 {
    font-size: 38px !important;
}

h3 {
    font-size: 30px !important;
}

h4 {
    font-size: 24px !important;
}

h5 {
    font-size: 20px !important;
}


/* ==================================================
   02. SERVICIOS Y MÓDULOS DE PORTADA
   ================================================== */

.services article .text h2 a {
    font-size: 18px !important;
    line-height: 24px !important;
}

.services article .text {
    padding: 0 0 12px 16px;
}

.services article .text h2 {
    line-height: 0.5;
}

.services {
    margin-bottom: 0;
}

.services.border-bottom::before {
    border: none;
}

.caption h2 {
    font-size: 24px !important;
}

.left-timeline-sec h2 {
    font-size: 18px !important;
}

.home-info h5 {
    font-size: 18px !important;
}

.cs-post-title {
    font-size: 16px !important;
}

.cs-section-title {
    font-size: 20px !important;
}


/* ==================================================
   03. MENÚ DE NAVEGACIÓN
   ================================================== */

.navigation ul ul {
    width: 232px;
}


/* ==================================================
   04. CABECERAS Y MIGAS DE PAN
   ================================================== */

.breadcrumbs {
    display: none;
}

.breadcrumb-inner {
    background: none;
}


/* ==================================================
   05. CARRUSELES Y DIAPOSITIVAS
   ================================================== */

.cs-carousel-control {
    font-size: 24px;
    line-height: 28px;
}

#sliderbanner {
    max-height: 600px;
}

.cs-blog figure figcaption .btn {
    display: none;
}

.cs-blog.blog-grid.blog-carousel-view article .post-options {
    border-bottom: 0 solid #c30217;
}

.cs-blog.blog-grid.blog-carousel-view article.featured-slide {
    width: 197px;
}

.cs-blog.blog-grid.blog-carousel-view article figure {
    height: 202px;
    overflow: hidden;
    position: relative;
}

.cs-blog.blog-grid.blog-carousel-view article figure img {
    position: absolute;
    transform: translate(-50%, -50%);
    height: 200% !important;
    width: auto !important;
}


/* ==================================================
   06. PIE DE PÁGINA Y BOLETÍN DE NOTICIAS
   ================================================== */

#footer-widgets .widget header.cs-heading-title h2 {
    font-size: 18px !important;
}

#footer-widgets {
    margin-top: 60px;
}

.tnp-widget {
    color: white;
}


/* ==================================================
   07. ELEMENTOS ADICIONALES DE LAS NOTICIAS
   ================================================== */

.share-post {
    display: none;
}

.about-author {
    display: none;
}

#jp-relatedposts h3.jp-relatedposts-headline {
    font-family: 'Roboto Slab', serif;
}

.jp-relatedposts-post-title {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    font-size: 1rem !important;
}


/* ==================================================
   08. GALERÍAS FOTOGRÁFICAS
   ================================================== */

.gallery {
    float: none;
}


/* ==================================================
   09. FORMULARIOS DE CONTACTO
   ================================================== */

.wpcf7-textarea {
    border: 1px solid #acacac;
    padding: 4px 30px;
    border-radius: 0;
    height: 200px;
}


/* ==================================================
   10. TIPOGRAFÍA DEL INTERIOR DE LAS NOTICIAS
   Selector verificado: .detail_text.rich_editor_text
   ================================================== */


/* Cuerpo de texto */

.single-post .detail_text.rich_editor_text p {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    color: #333333;
    margin-bottom: 15px !important;
}


/* Color corporativo y escritura de los encabezados */

.single-post .detail_text.rich_editor_text h2,
.single-post .detail_text.rich_editor_text h3,
.single-post .detail_text.rich_editor_text h4,
.single-post .detail_text.rich_editor_text h5 {
    color: #ca0000 !important;
    text-transform: none !important;
}


/* Encabezado H2 */

.single-post .detail_text.rich_editor_text h2 {
    font-size: 30px !important;
    line-height: 1.3 !important;
    margin-top: 26px;
    margin-bottom: 12px !important;
}


/* Encabezado H3 */

.single-post .detail_text.rich_editor_text h3 {
    font-size: 26px !important;
    line-height: 1.35 !important;
    margin-top: 22px;
    margin-bottom: 10px !important;
}


/* Encabezado H4 */

.single-post .detail_text.rich_editor_text h4 {
    font-size: 22px !important;
    line-height: 1.4 !important;
    margin-top: 20px;
    margin-bottom: 10px !important;
}


/* Encabezado H5 */

.single-post .detail_text.rich_editor_text h5 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-top: 18px;
    margin-bottom: 8px !important;
}


/* Configuración original de listados generales */

.detail_inner .text ul li {
    font-size: 1.5rem !important;
}


/* Listados y enumeraciones dentro de las noticias */

.single-post .detail_text.rich_editor_text ul li,
.single-post .detail_text.rich_editor_text ol li {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    color: #333333;
    margin-bottom: 6px;
}


/* Pies de fotografía */

.single-post .wp-caption-text,
.single-post .detail_text.rich_editor_text p.wp-caption-text,
.single-post .detail_text.rich_editor_text figcaption {
    font-size: 13px !important;
    line-height: 1.5 !important;
}


/* ==================================================
   11. TITULARES SIN MAYÚSCULAS FORZADAS
   ================================================== */


/* Titular principal de las noticias */

.single-post h1,
.single-post .breadcrumb-inner h1,
.single-post .breadcrumb-inner h2 {
    text-transform: none !important;
}


/* Titulares de noticias en portada */

.cs-post-title,
.cs-post-title a,
.cs-blog article h2,
.cs-blog article h2 a {
    text-transform: none !important;
}


/* ==================================================
   12. ADAPTACIÓN A DISPOSITIVOS MÓVILES
   ================================================== */

@media (max-width: 767px) {

    /* Cuerpo de texto y listados */

    .single-post .detail_text.rich_editor_text p,
    .single-post .detail_text.rich_editor_text ul li,
    .single-post .detail_text.rich_editor_text ol li {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* Encabezado H2 */

    .single-post .detail_text.rich_editor_text h2 {
        font-size: 28px !important;
    }

    /* Encabezado H3 */

    .single-post .detail_text.rich_editor_text h3 {
        font-size: 25px !important;
    }

    /* Encabezado H4 */

    .single-post .detail_text.rich_editor_text h4 {
        font-size: 22px !important;
    }

    /* Encabezado H5 */

    .single-post .detail_text.rich_editor_text h5 {
        font-size: 19px !important;
    }

    /* Pies de fotografía */

    .single-post .wp-caption-text,
    .single-post .detail_text.rich_editor_text p.wp-caption-text,
    .single-post .detail_text.rich_editor_text figcaption {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
}


/* ==================================================
   13. CONSERVACIÓN DE ESTILOS DE NOTICIAS RELACIONADAS
   ================================================== */

.single-post .detail_text.rich_editor_text
#jp-relatedposts .jp-relatedposts-post-title {
    font-size: 1rem !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
