/*** Post ***/

/* Comun */

article{
    background: #fff;
    border-radius: 5px;
    margin-bottom: 2rem;
}
article.has-post-thumbnail{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


article .entry-image a{
    display: block;
    overflow: hidden;
}
article .entry-image img{
    width: 100%;
    height: auto;
    transition: transform 1s ease;
}
article .entry-image a:hover img{
    transform: scale(1.1);
}

article .entry-header,
article .entry-content,
article .entry-footer{
    padding: 0 1.5rem 1.5rem 1.5rem;
}
article .entry-header{
    padding-top: 1.5rem;
}

article .entry-title{
    color: var(--vsf-primary-color);
    font-size: 2rem;
    font-weight: 300;
    word-break: break-word;
    margin: 0 0 0.875rem 0;
}
article .entry-title a{
    color: var(--vsf-primary-color);
    transition: color 0.3s ease;
}


article .entry-date{
    color: #A6A6A6;
    font-size: 0.875rem;
    margin-right: 1rem;
}
article .entry-date .fas{
    font-weight: 400;
}
article .entry-date-day{
    display: block;
    color: #707070;
    font-size: 2.375rem;
    font-weight: 300;
    text-align: center;
    line-height: 1.1em;
}
article .entry-date-month{
    display: block;
    color: #707070;
    font-size: 1.125rem;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.1em;
}

article .author,
article .comments-link,
article .categories-link{
    color: #A6A6A6;
    font-size: 0.875rem;
}
article .author .far,
article .comments-link .far,
article .categories-link .far{
    color: #C1C1C1;
    font-size: 1rem;
}
article .author a,
article .comments-link a,
article .categories-link a{
    color: var(--vsf-primary-color);
}

article .author,
article .comments-link{
    margin-right: 0.75rem;
}

article .tags-link{
    margin: 0;
}
article .tags-link h3{
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
article .tags-link h3 .fas,
article .tags-link .far{
    transform: rotateY(180deg);
    color: var(--vsf-primary-color);
    margin-right: 0.3125rem;
    font-size: 1.125rem;
}
article .tags-link .far{
    font-weight: 100;
    margin-right: 0.625rem;
    transform: rotateY(180deg) translateY(3px);
}

article .tags-link a{
    color: var(--vsf-primary-color);
    background: #EEEEEE;
    display: inline-block;
    border-radius: 2px;
    padding: 0.3125rem 0.625rem;
    margin: 0 1.25rem 0.5rem 0;
    transition: all 0.3s ease;
}
article .tags-link a:last-child{
    margin-right: 0;
}
article .tags-link a:hover{
    background: var(--vsf-primary-color);
    color: #fff;
    text-decoration: none;
}

/* old tags */
article .cat-tags-links{
    margin-bottom: 1rem;
}
article .cat-tags-links .cat-links,
article .cat-tags-links .tags-links{
    color: #000;
    text-transform: uppercase;
}
article .cat-tags-links .tags-links {
    margin-left: 1rem;
}

/* Modo: Imagen grande */

article.mode-large.has-post-thumbnail .entry-header{
    padding-top: 2rem;
}

article.mode-large .entry-date {
    padding-right: 0.8125rem;
    border-right: 1px solid #D8D8D8;
    margin-right: 0.8125rem;
    min-width: 59px;
}

article.mode-large .entry-content,
article.mode-large .entry-footer{
    margin-left: 4.5rem;
}

/* Modo: Listado */

article.mode-list{
    border-radius: 5px;
}
article.mode-list.has-post-thumbnail{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

article.mode-list .entry-image{
    min-width: 206px;
    min-height: 206px;
    padding: 0;
}

article.mode-list h2{
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}
article.mode-list h2 a{
    color: #000;
}
article.mode-list h2 a:hover{
    color: var(--vsf-primary-color);
}
article.mode-list .entry-header,
article.mode-list.has-post-thumbnail .entry-header{
    padding: 1.3rem 1.3rem 0.625rem 1.5rem;
}
article.mode-list .entry-date{
    border:0;
    margin: 0 1rem 0 0;
    padding: 0;
}
article.mode-list .entry-content{
    margin-left: 0;
    padding: 0 1.3rem 1rem 1.5rem;
}
article.mode-list .entry-content p{
    margin-bottom: 0;
}

/* Modo: simple (news page) */

article.mode-simple{
    background: transparent;
}

article.mode-simple .entry-header,
article.mode-simple .entry-content,
article.mode-simple .entry-footer{
    padding: 0;
}
article.mode-simple .entry-image{
    margin: 0 0 1rem 0;
}
article.mode-simple .entry-header{
    margin: 0 0 0.8rem 0;
}
article.mode-simple h2{
    color: #000;
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
}
article.mode-simple h2 a{
    color: #000;
}
article.mode-simple h2 a:hover{
    color: var(--vsf-primary-color);
}

article.mode-simple.mode-list .entry-header,
article.mode-simple.mode-list .entry-content,
article.mode-simple.mode-list .entry-footer{
    padding: 0;
}
article.mode-simple.mode-list .entry-image{
    margin: 0 1rem 0 0;
    padding: 0;
    min-width: 120px;
    min-height: 120px;
}
article.mode-simple.mode-list h2{
    font-size: 1rem;
}
article.mode-simple.mode-list > div:last-child{
    width: 100%;
}

/* Single */

article.post-single{
    border-radius: 0;
}

article.post-single .entry-header{
    padding-top: 0;
}
article.post-single.has-post-thumbnail .entry-header{
    padding-top: 2rem;
}

article.post-single .entry-date {
    padding-right: 0.8125rem;
    border-right: 1px solid #D8D8D8;
    margin-right: 0.8125rem;
    min-width: 59px;
}

article.post-single h1{
    color: #000;
}

article.post-single .entry-content,
article.post-single .entry-footer{
    margin-left: 4.5rem;
}

.entry-post .entry-content p {
    margin-bottom: 0.625rem;
}

article.post-single .entry-content img{
    max-width: 100%;
    height: auto;
}

/* Masonry */

.masonry .masonry-sizer,
.masonry .masonry-item{
    width: calc(33.33% - 20px);
}

@media (max-width: 991px) {
    .masonry .masonry-sizer,
    .masonry .masonry-item{
        width: calc(50% - 15px);
    }
}
@media (max-width: 767px) {
    .masonry .masonry-sizer,
    .masonry .masonry-item{
        width: calc(50% - 15px);
    }
}
@media (max-width: 575px) {
    .masonry .masonry-sizer,
    .masonry .masonry-item{
        width: 100%;
    }
}


.masonry article{
    margin-bottom: 30px;
    border-radius: 0;
}
.masonry article .wp-post-image{
    width: 100%;
    max-width: unset;
}
.masonry article.has-post-thumbnail .entry-header{
    padding-top: 1rem;
}
.masonry article h2{
    font-size: 1.2rem;
    margin: 0;
}
.masonry article .entry-header{
    padding: 1rem 2rem 1rem 1rem;
    position: relative;
}
.masonry article .entry-header .fas{
    position: absolute;
    top: 1.1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: #A6A6A6;
    opacity: 0.8;
}

.masonry article .entry-content{
    margin: 0;
    padding: 0 1rem 1rem 1rem;
}
.masonry article .entry-footer{
    display: flex;
    padding: 0 1rem 1rem 1rem;
}

/* Quote */
.masonry article.format-quote .entry-footer{
    padding-top: 1rem;
}
.masonry article.format-quote .entry-header{
    padding: 0 1rem 1rem 4rem;
}

.masonry article.format-quote blockquote{
    padding-left: 3rem;
}
.masonry article.format-quote blockquote:before{
    font-size: 2rem;
    opacity: 0.8;
}
.masonry article.format-quote blockquote p{
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.3;
}
.masonry article.format-quote blockquote cite{
    font-size: 1.2rem;
    font-weight: 300;
}

/* link */

.masonry article.format-link p{
    padding-left: 3rem;
    position: relative;

    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.3;
}
.masonry article.format-link p:before{
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;

    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    content: "\f0c1";
    color: #A6A6A6;
    font-size: 2rem;
    opacity: 0.8;

    position: absolute;
    top: 0.3rem;
    left: 0;
}

/* Galeria */
.masonry article.format-gallery .gallery > figure{
    display: none;
}
.masonry article.format-gallery .gallery > figure:first-child{
    display: block;
}

.masonry article.format-gallery .slick-initialized figure{
    margin: 0;
    display: block !important;
}
.masonry article.format-gallery .gallery-icon img{
    max-width: unset;
    width: 100%;
}
.masonry article.format-gallery .gallery-caption{
    display: none;
}
.masonry article.format-gallery .prev_arrow,
.masonry article.format-gallery .next_arrow{
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;

    position: absolute;
    top: calc(50% - 20px);
    left: 1rem;
    z-index: 2;
}
.masonry article.format-gallery .next_arrow{
    left: unset;
    right: 1rem;
}
.masonry article.format-gallery .prev_arrow:hover,
.masonry article.format-gallery .next_arrow:hover{
    background: #fff;
    color: #A6A6A6;
}

/* Paginacion */
.pagination{
    margin-bottom: 1rem;
    text-align: center;
}
.pagination ul{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination ul li > span,
.pagination ul li a{
    display: block;
    border: 2px solid #EAEAEA;
    border-radius: 2px;
    background: #fff;
    line-height: 2rem;
    min-width: 2rem;
    text-align: center;
    padding: 0 0.75rem;
    margin: 0 0.4375rem;
    color:#626262;
    transition: all 0.3s ease;
    font-weight: 500;
}
.pagination ul li .current,
.pagination ul li a:hover{
    background: #E2E0E1;
    text-decoration: none;
}

.pagination ul li .dots{
    background: transparent;
    border:0;
}

/*** Page ***/

/* Page header */
.page-header{
    padding: 2rem 0;
}
.page-header .page-title{
    margin: 0;
}
.page-header .breadcrumb{
    margin: 0;
}

/* Page header custom */
.page-header-custom{
    position: relative;
    overflow: hidden;
}
.page-header-custom-parallax{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;

    background-position: center center;
    background-size: cover;
}
.page-header-custom-inner{
    padding: 2rem 0;
}
.page-header-custom-inner > .container > .row{
    align-content: center;
}

.page-header-custom-back{
    background: rgb(157, 206, 41, 0.7);
    padding: 1.75rem;
    max-width: 50%;
    border-top-left-radius: 1.75rem;
    border-bottom-right-radius: 1.75rem;
}

.page-header-custom .page-title{
    font-family: 'Raleway', sans-serif;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.425em;
    margin: 0;
}
.page-header-custom h2{
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    line-height: 1.508em;
    font-weight: 400;
    margin: 0;
}
.page-header-custom .page-title:after{
    content: "";
    display: hidden;
    margin: 0.4rem 0 0.7rem 0;
}

.page-header-custom.claro .page-title,
.page-header-custom.claro h2{
    color: #fff;
}

/* Page content */
.site-main-container.container-fluid article.content-page{
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
}
.site-main-container.container-fluid article.content-page > .entry-content{
    padding: 0;
    margin: -2rem 0 -2rem 0;
}
.site-main-container.container-fluid article.content-page > .entry-footer{
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
}
.site-main-container.container-fluid article.content-page > .entry-content strong{
    /*color: var(--vsf-primary-color);*/
}

.site-main-container.container-fluid article.content-page + .comments-area{
    margin-top: 2rem;
}

/*** Autor ***/

.author-container{
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    display: flex;
}

.author-container .author-avatar{
    margin-right: 1rem;
}
.author-container .author-avatar img{
    display: block;
    border-radius: 50%;
}

.author-container .author-details h3{
    font-size: 1.2rem;
    font-weight: 400;
}
.author-container .author-details a{
    color: #A6A6A6;
    font-size: 0.875rem;
    margin-right: 1rem;
}
.author-container .author-details a span{
    color: var(--vsf-primary-color);
}

/*** Comentarios ***/

.comments-area{
    margin-bottom: 2rem;
}

/* Listado de comentario */

.comments-title{
    font-size: 1.2rem;
    margin:  0 0 1rem 0;
    font-weight: 400;
}
.comments-title .fas{
    color: var(--vsf-primary-color);
    margin-right: 5px;
}

.comment-list{
    list-style: none;
    padding-left: 0;
}
.comment-list ol{
    list-style: none;
    padding-left: 1.25rem;
}

.comment-list article{
    background: #fff;
    border-radius: 5px;
    margin-bottom: 1.25rem;
    padding: 1rem 1rem 1rem calc(64px + 2rem);
    position: relative;
}
.comment-list article img {
    width: 64px;
    height: auto;
    border-radius: 50%;
    margin-right: 1rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.comment-list article .fn{
    color: var(--vsf-primary-color);
}
.comment-list article .comment-metadata > a{
    color: #A6A6A6;
    font-size: 0.875rem;
    margin-right: 1rem;
}
.comment-list article .reply a,
.comment-list article .edit-link a{
    font-size: 0.8rem;
    color: #707070;
}
.comment-list article .reply a:after{
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;

    font-family: 'Font Awesome 5 Pro';
    content: "\f3e5";
    color: #C3C3C3;
    margin-left: 0.75rem;

    transform: rotateY(180deg);
}
.comment-list article .comment-content{
    margin: 0.3rem 0 0 0;
    word-break: break-word;
}
.comment-list article .comment-content p{
    margin-bottom: 0.3rem;
}

/* Deja un comentario */

.comment-reply-title{
    font-size: 1.2rem;
    margin:  0 0 1rem 0;
    font-weight: 400;
}
.comment-reply-title .fas{
    color: var(--vsf-primary-color);
    margin-right: 10px;
}

.comment-form .comment-form-comment label{
    /*.screen-reader-text*/
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.comment-form .comment-form-comment textarea{
    border: 0;
    border-radius: 5px;
    width: 100%;
    padding: 0.5rem;
}
.comment-form .form-submit{
    text-align: right;
}

/*** CPT: vsf_partners ***/

article.post-single.vsf_partners{
    border-radius: 5px;
}
article.post-single.vsf_partners .entry-image{
    min-width: 240px;
    min-height: 240px;
    padding: 0;
}

article.post-single.vsf_partners h2{
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}
article.post-single.vsf_partners h2 a{
    color: #000;
}
article.post-single.vsf_partners h2 a:hover{
    color: var(--vsf-primary-color);
}
article.post-single.vsf_partners .entry-header,
article.post-single.vsf_partners.has-post-thumbnail .entry-header{
    padding: 1.5625rem 1.875rem 0.625rem 1.875rem;
}
article.post-single.vsf_partners .entry-date{
    border:0;
    margin: 0 1rem 0 0;
    padding: 0;
}
article.post-single.vsf_partners .entry-content{
    margin-left: 0;
    padding: 0 1.875rem 1.5625rem 1.875rem;
}
article.post-single.vsf_partners .entry-content a .far {
    margin-left: 0.5rem;
}
article.post-single.vsf_partners .entry-footer{
    margin-left: 0;
}
article.post-single.vsf_partners .entry-footer hr{
    margin-bottom: 1rem;
}
article.post-single.vsf_partners .entry-footer h4{
    font-weight: 400;
    color: #000;
    font-size: 1.1rem;
}
article.post-single.vsf_partners .entry-footer ul{
    padding-left: 1rem;
}
article.post-single.vsf_partners .entry-footer ul li{
    margin-bottom: 0.275rem;
}

/* Gutenberg */

.entry-content .alignfull {
    width: calc(100% + 30px);
    margin-left  : -15px;
    margin-right : -15px;
    max-width    : 100vw;
}
.alignfull img {
    width: 100vw;
}

.hiddenToggle{
    display: none;
}
.hiddenAll{
    display: none;
}


/*** Media queries ***/

/* Large devices (landscape tablets, desktops) */
@media (max-width: 1199px) {

}

/* Medium devices (vertical tablets) */
@media (max-width: 991px) {
    .page-header-custom-back{
        max-width: 100%;
    }
}

/* Small devices (landscape phones)  */
@media (max-width: 767px) {

    .page-header-custom .page-title:after{
        margin-left: auto;
        margin-right: auto;
    }
}

/* Small devices (vertical phones) */
@media (max-width: 575px) {
    article.mode-list .entry-image img{
        width: 100%;
    }
    article .entry-date,
    article .author,
    article .comments-link,
    article .categories-link {
        white-space: nowrap;
    }

    article.mode-simple.mode-list .entry-image{
        margin: 0 0 1rem 0;
    }
}