/*
Theme Name: DFB
Theme URI: https://disfrutabizkaia.com
Version: 4.0
Description: Tema hijo.
Author: Woko
Author URI: woko.agency
Template: baskerville-2
*/

/*----------------- Cambios a partir de aquí -------------------------------*/

.header{
    padding:0;
    transition: padding 0.4s;
}

.header.active{
    padding:96px 0;
    transition: padding 0.4s;
    position: sticky;
    top:0;
    z-index: 99;
}

.header.active{
    padding:96px 0;
    transition: padding 0.4s;
    position: sticky;
    top:0;
}

.navigation.section.no-padding.bg-dark.active{
    top: 192px;
}

.fbc-page .fbc-wrap .fbc-items li a i {
    margin-right: 11px;
    display:none;
}

.single .fbc-page .fbc-wrap .fbc-items li a {
    color: #fc3;
}

.single .fbc-page .fbc-wrap .fbc-items li.active a {
    color: #27272a;
}

.single .fbc-page{
    margin-bottom:16px;
}

.post-content blockquote {
    position: relative;
    font-size: 1em;
    font-weight: 300;
    font-weight: 400;
    margin: 40px 0;
    padding-left: 50px;
    position:relative;


}

.post-content blockquote:before {
    content: "";
    display: block;
    width: 6px;
    background:  #fc3;
    margin: 0;
    position: absolute;
    height: 100%;
    left: 0;
}

.post-content blockquote:after {
    display: none;
}

.post-excerpt .more-link {
    display: block;
    margin-top: 1.1em;
    font-weight: bold;
    font-size:18px;
}

.posts .post-meta a {
    color: #2B3542;
}

.post-excerpt p {
    font-size: .95em;
    line-height: 150%;
    color: #6B6B6B;
}

.post-content ul.crp-list {
    list-style: disc;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
@media only screen and (min-width: 768px) {
    .post-content ul.crp-list >li {
        width: calc(33.33% - 20px);
        margin: 0 10px !important;
        flex-direction: column;
        align-items: flex-start !important;
    }
    .post-content ul.crp-list >li img{
        max-width: none !important;
        width: 100%;
    }
    .post-content ul.crp-list >li .crp-list-item-image{
        width: 100%;
    }
}


.crp-list-title{
    padding-top:40px;
}

/*LAYOUT*/
.posts{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.post-container{
    width:32%;
    /*flex: 1 1 32%;*/
}

.post-container.destacado{
    flex: 1 1 100%;
    order:-1;
}

.post-container.destacado .post{
    display:flex;
    flex-direction: row;
}

.post-container.destacado .post .container-image{
    width: 50%;
}
.post-container.destacado .post .container-text{
    width: 50%;
}

.post-container.destacado .post .container-image .featured-media{
    width: 100%;
    height: 100%;
}
.post-container.destacado .post .container-image .featured-media a{
    width: 100%;
    height: 100%;
}

.post-container.destacado .post .container-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.categories{
    list-style: none;
    margin-bottom:18px;
    display: flex;
    flex-wrap: wrap;
}

.categories.center{
    justify-content: center;
    margin-bottom:50px;
}

.blog-title{
 color:#2B3542;
}

 .categories li.cat-item{
    display:flex;
    margin-right:8px;
    margin-bottom:8px;
}

 .categories li.cat-item a{
    color:white;
    padding:4px 18px;
}

.categories li.cat-item.planes a{
    background:#fc3;
}

.categories li.cat-item.disfruta-bizkaia a{
    background:#fc3;
}

.categories li.cat-item.tradiciones a{
    background:#C70039;
}

.categories li.cat-item.con-ninos a{
    background:#00BAAD;
}

.categories li.cat-item.turismo a{
    background:#3D3D6B;
}


.categories li.cat-item.zer-egin a{
    background:#fc3;
}

.categories li.cat-item.gozatu-bizkaia a{
    background:#fc3;
}

.categories li.cat-item.tradizioak a{
    background:#C70039;
}

.categories li.cat-item.haurrekin-egiteko-planak a{
    background:#00BAAD;
}

.categories li.cat-item.turismoa a{
    background:#3D3D6B;
}





#newsletter input#email{
    background-image: none;
}
#newsletter{
    background-color:transparent;
}

#newsletter .contenedor {
    padding: 80px 0;
}
#newsletter form {
    margin: auto;
    max-width: 400px;
}
#newsletter .cta {
    margin: auto !important;
    margin-top: 40px !important;
    display: block;
}
#newsletter .margen > p {
    text-align: center;
}

#newsletter .h1{
    font-size: 26px;
    text-align: center;
    margin-bottom: 40px;

}


.form-text {
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.25);
    width: 100%;
    transition: 0.15s;
    font-size: 17px;
    margin-bottom:12px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    cursor: pointer;
}

.form-check label {
    margin: 0;
    padding-left: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
}

#newsletter .cta {
    margin: auto !important;
    margin-top: 40px !important;
    display: block;
}

.cta {
    margin: 0 !important;
    display: inline-block;
    background-color: #fc3;
    color: white;
    border: 1px solid #fc3;
    transition: 0.15s;
    padding: 6px 25px;
    padding-bottom: 8px;
    text-transform: lowercase;
    font-size: 17px;
    border-radius: 1000px;
    font-weight: 700;
    cursor: pointer;
}



body.single #site-content .content {
    display: block;
    max-width: 1070px;
    margin: auto;
    float: none;
    width: 100%;
}



.post-categorias {
    border-top: 1px solid rgba(0,0,0,0.2);
    margin-top: 40px;
    padding-top: 30px;
}
.post-categorias p {
    margin-bottom: 8px;
}
.post-categorias p i {
    margin-right: 6px;
}
.comment-form > p {
    width: 100%;
}

.navegacion-entradas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}
.navegacion-entradas a {
    background: none !important;
}



.post-header .post-date {
    font-size: 16px;
    color: #8a8a8a;
    margin-top: 18px;
}





@media(max-width:768px){
    .posts{
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .post-container{
        width:auto;
        flex: 1 1 100%;
    }

    .post-container.destacado .post{
        display:flex;
        flex-direction: column;
    }

    .post-container.destacado .post .container-image{
        width: 100%;
    }
    .post-container.destacado .post .container-text{
        width: 100%;
    }

    .post-header .categories li.cat-item a{
       font-size:15px;
    }

    #newsletter .contenedor {
        padding: 50px 0;
    }
}

.error-texto {
    margin-top: 3px;
    font-size: 14px;
    margin-bottom: 20px;
}


.featured-media img  {
    display: block;
    width: 100%;
}

@media only screen and (max-width: 819px) {
    .section.header.active {
        display: block;
        padding: 56px 0;
    }
}


.post-content ul{
    margin-left: 3em !important;
}