/*
 Theme Name:     Ayuntamiento de Eslava
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme adaptado para el Ayuntamiento de Eslava
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
 Text Domain:    eslava
*/


a {
    color: #eac102;
}


/* Menú */

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-bottom: 1rem;
}

.et_pb_menu .et_pb_menu__wrap {justify-content: flex-end; padding-top: 0.6rem;}

.et-menu-nav {}

.et_pb_menu .et-menu-nav>ul ul {
    padding: 10px 0;
    border-color: #DECDAA;
    width: auto;
}
.et_pb_menu .et-menu-nav>ul ul li {
    padding: 0 10px;
}

.et_pb_menu .et-menu-nav>ul ul li a {
    width: auto;
    min-width: max-content;
}




.et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 20px;
}


.et_pb_text:not(.texto-investigaciones):not(.texto-header) p a {
    color: #eac102;
    font-weight: 700;
}

.texto-investigaciones p a {
    color: #666;
    text-decoration: underline;
    font-style: italic;
}

.texto-header p {
    margin-top: 1rem;
    color: #fff;
}

.texto-header p a {
    color: #fff;
}




.bucle-entradas > div {
    width: calc(100% + 30px);
    display: flex;
    flex-wrap: wrap;
}

.bucle-entradas .et_pb_post {
    width: calc(50% - 30px);
    margin-right: 30px;
    margin-bottom: 40px;
    float: left;
}

.bucle-entradas .et_pb_post .entry-featured-image-url {
    margin-bottom: 15px;
    height: 100px;
    display: block;
    overflow: hidden;
    border-bottom: 5px solid #dcc59d;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    transition: .2s border-bottom-color ease;
}

.bucle-entradas .et_pb_post .entry-featured-image-url:hover {
    border-bottom-color: #eac102;
}

.bucle-entradas .et_pb_post .entry-title {
    font-size: 16px;
    line-height: 1.2em;
}

.bucle-entradas .et_pb_post .entry-title a {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-weight: 700;
    transition: .2s color ease;
}

.bucle-entradas .et_pb_post .entry-title a:hover {
    color: #eac102;
}

.bucle-entradas .post-media {
    padding-bottom: 0;
    font-size: 14px !important;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.7em !important;
}

.bucle-entradas .post-media svg {
    width: 0.7rem;
    display: inline-block;
    margin-left: 3px;
}

.bucle-entradas .post-meta {
    font-size: 14px !important;
    line-height: 1.7em !important;
}


@media (min-width: 768px) {
    .bucle-entradas > div {
        width: calc(100% + 35px);
    }

    .bucle-entradas .et_pb_post {
        width: calc(50% - 35px);
        margin-right: 35px;
    }

    .bucle-entradas .et_pb_post .entry-featured-image-url {
        margin-bottom: 20px;
        height: 200px;
    }

    .bucle-entradas .et_pb_post .entry-title {
        font-size: 20px;
        line-height: 1.2em;
    }
}

@media (min-width: 981px) {
    .bucle-entradas > div {
        width: calc(100% + 35px);
    }

    .bucle-entradas .et_pb_post {
        width: calc(33.33% - 35px);
        margin-right: 35px;
    }

    .bucle-entradas .et_pb_post .entry-title {
        font-size: 20px;
        line-height: 1.2em;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .bucle-entradas .post-media,
    .bucle-entradas .post-meta {
        padding-right: 1rem;
        padding-left: 1rem;
    }

}

@media (min-width: 1280px) {
    .bucle-entradas > div {
        width: calc(100% + 60px);
    }

    .bucle-entradas .et_pb_post {
        width: calc(33.33% - 60px);
        margin-right: 60px;
    }
}


/* Footer */

.copyright a {
    color: #666 !important;
    font-weight: 500 !important;
    text-decoration: underline;
}



