/*
 Theme Name:   Newspaper Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Wordpress Theme for the Iberifier Project
 Author:       Carlos Ponce
 Author URI:   cponce@maldita.es
 Template:     Newspaper
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Newspaper
*/
@font-face {
    font-family: "Helvetica Ts";
    src: url(https://iberifier.eu/app/themes/Newspaper-child/fonts/HelveticaLTStdBold.otf);
    font-weight: bold;
}
@font-face {
    font-family: "Helvetica Ts";
    src: url(https://iberifier.eu/app/themes/Newspaper-child/fonts/HelveticaLTStdLight.otf);
    font-weight: normal;
}

body, h1, h2, h3, h4 {
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-weight: bold;
}



.blue-background-box .td_block_inner {
    height: 100% !important;
    font-weight: bold;
}

.blue-background-box .td-module-meta-info {
    margin-top: -100px !important;
    width: 70% !important;
    font-weight: bold;
}

.blue-background-box h3 {
    background: #e8cc56 !important;
    padding: 10px !important;
    display: flex !important;
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100px !important;
    font-weight: bold;
}

.blue-background-box .td-image-wrap {
    border-left: 20px solid #e8cc56 !important;
    border-top: 20px solid #e8cc56 !important;
}

.blue-background-box .td-module-meta-info {
    padding: 0 !important;
    font-weight: bold;
}

.fact-check-container .td_block_inner {
    margin: auto !important;
    font-weight: bold;
}

.mobile-news-container .td_block_inner {
    margin: auto !important;
    font-weight: bold;
}


.section-title-blue {
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif;
    font-size: 21px;
    background: #1a1a3a;
    color: white;
    width: 249px;
    padding: 10px;
    font-weight: bold;
    margin-top: 20px;
}

.section-title-yellow {
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif;
    font-size: 21px;
    font-weight: bold;
    background: #e8cc56;
    color: #1a1a3a;
    width: 249px;
    padding: 10px;
    margin-top: 20px;
}

.header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.header-background{
    max-height: 480px !important;
}

.header-logo {
    width: 40%;
    height: 40%;
}

.header {
    max-width: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.results-container h3 > a{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 16px !important;
    color: white !important;
    font-weight: bold !important;
}

.footer-container{
    display: flex;
    flex-direction: column;
    color: white !important;
}
.footer-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.iberifier-footer-logo{
    height: 57px;
    width: 205px;
}

.footer-links{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    width: 50%;
}

.footer-eu{
    font-size: 10px !important;
    font-weight: normal;
    width: 45%;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    align-content: center;
}

@media (max-width: 767px){
    .footer-bottom{
        flex-direction: column;
    }
    .footer-eu{
        flex-direction: column;
        width: 100%;
    }
    .footer-links{
        flex-direction: column;
        width: 100%;
    }
    .header-background{
        display: none;
    }
    .header-logo{
        width: 80%;
        margin-bottom: unset;
        padding-bottom: unset;
        margin:auto;
    }
    .article-home{
        width: 100% !important;
        flex-direction: column !important;
    }
    .article-text-home{
        margin-left:0 !important;
        padding: 0 !important;
    }
    .article-image-home{
        width: 100% !important;
    }
    .observatorio-header{
        font-size: 25px !important;
        width: 100% !important;
        margin-top: 100px;
        max-width: 1440px !important;
    }
    [class^="tdi_"] {
        width: unset !important;
    }
}

.header-iberifier{
    justify-content: center;
}

.tdc-row{
 width: 100% !important;
}


/**Fact checks section**/

.article-wrapper-home{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 50px;
}


.article-home{
    width: 47%;
    display: flex;
    flex-direction: row;

}

.article-image-home{
    width: 240px;
    height: 142px;
    object-fit: cover;
    max-width: unset !important;
}


.article-text-home{
    margin-left:10px;
    padding: 5px;
}
.article-text-home p{
    margin-bottom: 0;
    margin-left:5px;

}
.article-title-home{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif;
    font-size: 19px;
    margin-bottom: 10px;

}
.article-author-home{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif;
    font-size: 15px;
}
.article-date-home{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif;
    font-size: 15px;
}

.observatorio-header{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 60px;
    padding-right: 20px !important;
    position: relative !important;
    left: 0 !important;
    margin-top: 100px;
    font-weight: bold;

}

.observatory-intro{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    max-width: 1100px;
    margin: 0 auto;
    font-weight: bold;
    font-size: 24px;
}

.mission-container{
    max-width: 1110px;
    margin: 0 auto;
    padding-top: 30px;
    font-weight: bold;
}

.mission-intro{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 24px;
    color: #161632;
    margin-bottom: 60px;
}

.mission-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.mission-list-item{
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    width: 45%;
}
.mission-number{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 60px;
    color: #161632;
}

.mission-text{
    font-size: 20px;
    margin-left: 20px;
    font-weight: normal !important;
}


.observ-container{
    max-width: 1110px;
    margin: 0 auto;
    padding-top: 30px;
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    color: white;
}

.observ-intro{
    font-weight: bold;
    font-size: 24px;
}
.observ-list{
    font-size: 21px;
    padding: 20px;
}
.observ-list li{
    margin: 15px;
}

.observ-container-por{
    max-width: 1110px;
    margin: 0 auto;
    padding-top: 30px;
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    color: #161632;
}

.fact-intro-es{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-weight: normal;
    font-size: 24px;
    color: white;
    max-width: 1110px;
    margin: 0 auto;
}
.fact-intro-por{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-weight: normal;
    font-size: 24px;
    color: #161632;
    max-width: 1110px;
    margin: 0 auto;
}

@media (max-width: 767px){
    .observ-infography-yellow, .observ-infography-blue{
        height: 600px !important;
        width: 100% !important;
    }
    .observ-infography-yellow > .td_single_image_bg{
        background-image: url('https://iberifier.eu/app/uploads/2021/11/group@3x-2.webp') !important;
        height: 600px !important;
    }
    .observ-infography-blue > .td_single_image_bg{
        background-image: url('https://iberifier.eu/app/uploads/2021/11/group@3x-1.webp') !important;
        height: 600px !important;
    }
    .mission-number{
        display: none;
    }
    .mission-list-item{
        width: unset;
    }
    .widget-wrapper li{
        margin-left: 0 !important;
    }
    .result-image{
        display: none;
    }
    .result-header-news > .td_block_inner{
        flex-direction: column !important;
    }
}

.article-wrapper-section{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 50px;
    gap: 50px;
    padding-top: 60px;
    max-width: 1440px;
    margin: 0 auto;
}


.article-section{
    width: 350px;
    display: flex;
    flex-direction: column;
    height: 280px;
    color: #1a1a3a;
    border-left: 20px solid #e0e0e9;
    background-size: cover;
    justify-content: space-between;

}

.article-text-section{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif;
    background: #e0e0e9;
    font-size: 16px;
    font-weight: normal;
    width: 50%;
    padding: 5px;
}
.article-text-section p{
    margin-bottom: 0;
}
.article-title-section{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif;
    background: #e0e0e9;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    font-size: 18px;
    font-weight: bold;
}
.article-title-section p{
    margin: 0 !important;
}

.result-text{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 24px !important;
    font-weight: normal !important;
    color: #1a1a3a !important;
    border-bottom: 2px solid #1a1a3a;
}
.result-text p{
    width: 95%;
    margin: auto;
}

.result-text-por{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 24px !important;
    font-weight: normal !important;
    color: #1a1a3a !important;
}

.result-text-por p{
    width: 95%;
    margin: auto;
}
.result-header-news > .td_block_inner{
    display: flex !important;
    justify-content: center !important;
    gap: 50px !important;
}

.result-header-news .td-excerpt{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 18px !important;
    color: #1a1a3a !important;
    font-weight: normal !important;
}
.result-header-news .td-post-date{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 18px !important;
    color: #1a1a3a !important;
    font-weight: normal !important;
}

.result-body-news .td-excerpt{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 16px !important;
    color: #1a1a3a !important;
    font-weight: normal !important;
}
.result-body-news .td-post-date{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 16px !important;
    color: #1a1a3a !important;
    font-weight: normal !important;
}

.contact-text{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 24px !important;
    font-weight: normal !important;
    color: white !important;
    border-bottom: 2px solid white;
}
.contact-text p{
    width: 95%;
    margin: auto;
}
.contact-text-por{
    font-family: 'Helvetica Ts', Sans-Serif, sans-serif !important;
    font-size: 24px !important;
    font-weight: normal !important;
    color: white !important;
}

.contact-text-por p{
    width: 95%;
    margin: auto;
}

.content-wrapper{
    margin: auto;
}

body *:hover {
    pointer-events: unset !important;
}
body > *:hover {
    pointer-events: unset !important;
}

.tdi_62 .td_module_wrap:hover .td-module-title a{
	color: white !important;
}