/*
 Theme Name:   EurActiv.com
 Theme URI:    http://www.euractiv.com
 Description:  EurActiv theme with customisations for .com
 Author:       EurActiv IT (Matt Hawker, Alain Capelle, Henri Leforestier)
 Author URI:   http://www.euractiv.com
 Template:     euractiv-2024
 Version:      1.0.0
 License:      MIT
 License URI:  https://opensource.org/licenses/MIT
 Tags:         euractiv
 Text Domain:  euractiv-com
*/

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../ttf/lexend-black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* lexend font */

.lexend-700 {
    font-family: "Lexend", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.lexend{
    font-family: "Lexend", sans-serif !important;
    font-optical-sizing: auto;
}


body h1,body h2,body h3,body h4,.btn,a,.ea-native-label{
    font-family: "Lexend", sans-serif !important;
}

body h2{
    font-weight: 400;
}

body h3{
    font-weight: 400;
}

.ea-article-body a{
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.ea-article-body ul{
    margin-top: 10px;
    margin-bottom: 10px;
}

.ea-article-body ul li{
    list-style-type: disc;
    list-style-position: inside;
}

.ea-article-body ol{
    list-style-type: decimal;
    list-style-position: inside;
    margin-bottom: 5px;
}

/* General tweaks */
.ea-post-title h1{
    font-size: 40px !important;
}

@media (max-width: 639px) {
    .ea-post-title h1 {
        font-size: 20px !important; /* Adjust the font-size as needed for mobile */
    }
}

#main_container{
    margin-top: 0 !important;
}

.ea-article-body p, .ea-article-body h2{
    margin-bottom: 10px !important;
}

.ea-article-body-content hr{
    border-top-width: 4px !important;
}

.ea-article-body-content a {
    font-weight: bold;
    text-decoration: underline;
}

.ea-article-body-content h2{
    margin-top: 16px !important;
}

.page-id-2090212 .ea-gat-slot-wrapper{
    display: none;
}


.page-id-2090212 .newsletter{
    display: none;
}

.display-posts-listing.image-left .listing-item {
    overflow: hidden;
    margin-bottom: 32px;
    width: 100%;
}

.display-posts-listing.image-left img {
    float: left;
    width: 150px;
    height: 150px;
    margin: 0 16px 0 0;
}

.display-posts-listing.image-left .title {
    display: block;
}

.display-posts-listing.image-left .excerpt-dash {
    display: none;
}

#trust_logo{
    margin-top: 25px;
    background-color: #f8f8f8;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
}

#trust_logo img{
    display: inline;
}

.ea-social{
    margin-bottom: 25px;
}

.vsac-social-facebook span, .vsac-social-linkedin span, .vsac-social-google span, .vsac-social-twitter span, .vsac-social-email span{
    display: inline-block;
}

.vsac-social-print{
    background-color: black !important;
}

.vsac-social-reddit{
    background-color: lightblue !important;
}

@media screen and (max-width: 1199px) {
    .vsac-social-facebook span, .vsac-social-linkedin span, .vsac-social-google span, .vsac-social-twitter span, .vsac-social-email span {
        display: none;
    }
}

.ea-article blockquote{
    font-family: "Lexend", sans-serif !important;
    font-weight: 100;
    line-height: 30px;
    font-size: 25px !important;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* wpc7 contact forms */
.wpcf7 input, .wpcf7 textarea, .wpcf7 select{
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.wpcf7 input[type="submit"]{
    background-color: #002b3e;
    padding: 5px 20px;
    color: white;
    font-weight: bold;
}

.wpcf7 fieldset p{
    font-weight: bold;
}


/* Swiper in PRO page */
.swiper {
    width: 90%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 90%;
    height: 90%;
    object-fit: cover;
}

.swiper-slide-active img {
    border: 3px solid #ffc709;
    width: 100%;
    height: 100%;
}


/* Euractiv Pro page */
.page-id-2090212 #ea-breadcrumb{
    display: none !important;
}

/* Euractiv Core page */
.page-id-2090317 #ea-breadcrumb{
    display: none !important;
}

/* Archive pages */
h1.post-type-archive{
    display: none !important;
}

.archive h1{
    text-transform: none;
}

/* Author page */
h1.authors-archive{
    display: none;
}

/* tag page */
h1.post_tag-archive{
    display: none;
}

.tag .tag-intro p{
    width: 100%;
}


/* article page */
.ea-opinion-disclaimer{
    border: none !important;
    background-color: #f8f8f8 !important;
    padding: 5px 20px !important;
    border-radius: 5px !important;
}

.single #trust_byline{
    display: none !important;
}

.single .ea-article-header-content #trust_logo{
    display: none !important;
}

.single .ea-article-meta .ea-social{
    display: none !important;
}

.ea-language-switcher{
    font-size: 13px !important;
}

.ea-article-footer{
    margin-top: 16px;
}

.single .ea-article-footer .ea-tagcloud ul li a{
    background-color: transparent !important;
    border: 1px solid black !important;
    border-radius: 50px !important;
}

.single .ea-article-footer .ea-tagcloud ul li a:hover{
    border-radius: 50px !important;
}

.ea-native article.ea-article, li.ea-native-card, .ea-native-card .thumbnail{
    background-color: white !important;
}

span.ea-dateformat i{
    display: none;
}

/* single video */
.single-video-header iframe{
    width: 100%;
    height: 50vh;
}
/* Flip Pay */
.fp-sign-in{
    display: inline-block;
}

.euractiv-plus-flip-pay-prices .fp-pd-container{
    gap: 30px;
}

.euractiv-plus-flip-pay-prices .fp-box{
    max-width: 400px;
}

.euractiv-plus-flip-pay-prices .fp-sub-duration{
    align-items: start;
}

.euractiv-plus-flip-pay-prices .fp-sub-main{
    align-items: start;
}

.euractiv-plus-flip-pay-prices .fp-box:last-of-type{
    border: 4px solid #FFC80C;
}

.fp-sub-duration p,.fp-plan-title,.fp-progress-bar-block-label,.fp-btn-subscribe,.submit-payment{
    font-family: "Lexend", sans-serif !important;
}

.fp-pd-wrapper{
    padding-top: 0 !important;
    padding-bottom: 10px !important;
}

/* contact our sales team page */
#contact-our-sales-team-form input[type="submit"]{
    background-color: #002B3E;
    width: 100%;
    padding: 10px;
    border: none;
    font-family: "Lexend", sans-serif !important;
    font-weight: bold;
}

.wp-embedded-content{
    margin-top: 20px;
    margin-bottom: 20px;
}


/* account zone */
#flip-pay-profile label{
    margin-right: 20px;
    margin-bottom: 5px;
}

#flip-pay-profile input[type="text"]{
    background-color: #FAFAFA;
    border-radius: 5px;
    padding: 5px 10px;
}

#flip-pay-profile input[type="text"]:disabled{
    background-color: white;
}

.ea-rotator-5{
    display: flex !important;
    flex-wrap: wrap !important;
}

.ea-rotator-card{
    margin-bottom: 25px !important;
}

.ea-rotator-card .card{
    box-shadow: none !important;
}

.ea-rotator-card .caption>div{
    background: none !important;
    color: black !important;
}

.ea-rotator-card h2 a{
    color: black !important;
}

.ea-rotator-meta a{
    color: black !important;
}

.ea-rotator-meta span{
    color: black !important;
}

/* sections page */
.archive h1{
    font-size: 28px !important;
    text-transform: none !important;
}

.archive .ea-section-menu{
    display: none !important;
}

/* sidebar */
.ea-sidebar .ea-nav-stacked{
    display: none !important;
}



/* newsletter mailchimp form */
.mc-field-group li input[type="checkbox"]{
    margin-right: 10px !important;
}

.mc-field-group strong,.mc-field-group label[for="mce-EMAIL"]{
    font-family: "Lexend", sans-serif !important;
    font-size: 16px;
}

.mc-field-group li label{
    font-weight: normal !important;
}

#mc-embedded-subscribe{
    display: block !important;
    padding: 10px 20px !important;
    height: auto !important;
    line-height: auto !important;
    background-color: #002b3e !important;
    color: white !important;
    border-radius: 5px !important;
    border: 0 !important;
}

/* gravity form */
.gfield-choice-input{
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
}

/* mailchimp styling */
.mailchimp-signup input[type="email"], .mailchimp-signup input[type="text"]{
    margin-left: 10px;
    border: 1px solid black;
}

.mailchimp-signup ul li{
    list-style-type: none;
}

.mailchimp-signup li input[type="checkbox"]{
    display: inline-block !important;
}

.mailchimp-signup li label{
    display: inline;
}

.mailchimp-signup .mc-field-group{
    padding-bottom: 10px;
}

.mailchimp-signup input.mce_inline_error{
    margin-bottom: 10px;
}

.mailchimp-signup #mc-embedded-subscribe{
    margin-top: 30px;
}
