/*
Theme Name: Midewife
Theme URI: https://midwives.gehealthcare.com/themes/midewife
Author: Justine M., syneos health communication
Author URI: https://midwives.gehealthcare.com/
Description: Thème pour midewife
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: Midewife
*/

body{
    font-family: 'geinspira', Arial, sans-serif;
    font-weight: normal;
    height: 100vh !important;
}
/* btn explore */
.btn-explore {
    display: inline-block;
    color: var(--primary-white);
    background-color: var(--button-purple-background);
    text-transform: uppercase;
    font-size: 10px;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
}

/* btn radius */

.btn-radius {
    display: inline-block;
    color: var(--primary-white);
    background-color: var(--link-color-1);
    text-transform: uppercase;
    font-size: 13px;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
}

/*section:not(.article){padding-top: 72px;}*/
/* ------------- ACCUEIL ---------------- */
.home {
    background: var(--background-navyblue) url('https://midwives.gehealthcare.com/nl-nl/wp-content/uploads/sites/3/2021/08/home-mw-nl.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    padding-top: 104px;
}

.r-960{
    max-width: 960px;
    margin: 0 auto;
}


.container-intro{
min-height: 400px;
position: relative;
}

.container-intro__img{
    position: absolute;
    top: 0;
    right: 0;
}
/* home image responsive */
@media (min-width: 992px) and (max-width: 1346px) { 
    .container-intro__img{
        max-width: 507px;
    }
}
.p-head-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.p-head-container p {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.4;

}

.p-head-blue {
    color: var(--link-color-1);
    font-weight: bold;
}

.p-head-white {
    color: var(--primary-white);
}

.p-head-container a {
    margin-top: 20px;
}

.title {
    font-size: 45px;
    color: var(--primary-white);
    font-family: 'geinspiraSerif', Arial, sans-serif;
}

.title__lb {
    color: var(--button-purple-background);
}




.banner-footer {
    background-image: url("https://midwives.gehealthcare.com/wp-content/uploads/2021/01/img-footer-bottom-e1610555379484.png");
    background-size: cover;
}

.banner-footer .row {
    min-height: 440px;
}

.encart-bleu-link:hover {
    text-decoration: none;
}

.encart-blue {
    background-color: var(--link-color-1);
    width: 264px;
    height: 384px;
    padding: 25px;
    margin-top: -285px;
    margin-left: auto;
}

.encart-blue p {
    color: var(--primary-white);
    font-size: 24px;
    line-height: 1.3;
   /* margin-bottom: 50px;*/
}

.maj {
    color: var(--primary-white);
    display: block;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: bold;
    position: relative;
    margin-bottom: 35px;
}

.maj::before {
    content: " ";
    width: 33px;
    position: absolute;
    top: -8px;
    background-color: var(--primary-white);
    height: 3px;
}

.arrow-r {
    color: var(--primary-white);
}


@media (max-width: 1280px){
 

}

/* STYLE BLOCKS CUSTOM */

/*----------- accueil-card-lg -----------*/

.accueil-card-lg {
    background-size: cover;
    width: 100%;
    height: 314px;
    padding: 20px;
    position: relative;
    margin-bottom: 15px;
}

.accueil-card-lg::after {
    content: "";
    width: 80px;
    height: 40px;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--background-navyblue);
}

.accueil-card-lg__content {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.accueil-card-lg__txt {
    padding-left: 50px;
    padding-right: 50px;
}

.accueil-card-lg h3 {
    text-transform: uppercase;
    color: var(--heading-text);
    font-size: 35px;
    font-family: 'geinspira', Arial, sans-serif;
    letter-spacing: 2px;
}

.accueil-card-lg h3 span{
    font-family: 'geinspiraSerif', Arial, sans-serif;
    font-weight: bold;
}
.accueil-card-lg__description {
    font-size: 14px;
    color: var(--primary-black);
    max-width: 230px;
}



.accueil-card-lg__content--right{
    display: flex;
    justify-content: flex-end;
}

/*----------- accueil-card-small -----------*/

.accueil-card-small {
    width: 100%;
    height: 148px;
    padding: 20px;
    position: relative;
    margin-bottom: 15px;
}

.accueil-card-small::after {
    content: "";
    width: 80px;
    height: 16px;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--background-navyblue);
}

.accueil-card-small__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accueil-card-small__picto {
    position: absolute;
    top: 16px;
    right: 22px;
}

.accueil-card-small h3 {
    color: var(--primary-white);
    text-transform: uppercase;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 4px;
    max-width: 264px;
}

.accueil-card-small__description {
    color: var(--primary-white);
    max-width: 230px;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ------------- posts ---------------- */

.wp-block-latest-posts__list {
    margin-top: 100px;
    padding-top: 50px !important;
    justify-content: center;
}

.wp-block-latest-posts__list li {
    -webkit-box-shadow: var(--background-transparency-3per) 0 1px 3px;
    -moz-box-shadow: var(--background-transparency-3per) 0 1px 3px;
    box-shadow: var(--background-transparency-3per) 0 1px 3px;
    background-color: var(--primary-white);
    max-width: 220px;
    padding: 0 20px;
}

.wp-block-latest-posts__list li a {
    text-decoration: none;
    font-weight: bold;
    color: var(--heading-text);
    display: inline-block;
    margin-top: 15px;
}

.wp-block-latest-posts__featured-image img {
    width: 100%;
    height: auto;
}

.wp-block-latest-posts__featured-image {
    text-align: center;
    margin-top: -20px;
}

.wp-block-latest-posts__post-excerpt {
    font-size: 12px;
    line-height: 1.2;
}


/* ------------- posts sub category ---------------- */

.sub-category {
    background-color: var(--background-navyblue-2);
}

/* ------------- page category ---------------- */
.categorie{
    background-color: var(--background-navyblue-1);
}

.categorie__header{
 
    background-size: cover;
    background-position: center;
    position: relative;
}


.categorie__overlay{
    width: 100%;
    height: 100%;
    background-color: var(--background-dark-black-1);
    min-height: 540px;
}

.categorie__overlay__product_configurator {
    width: 100%;
    height: 100%;
    background-color: var(--background-dark-black-1);
    min-height: 105px;
}

.categorie__title, .categorie__title h2, .categorie__title p{
    text-transform: uppercase;
    font-size: 45px;
    color: var(--primary-white);
    line-height: 1.2;
    margin-top: 200px;
    letter-spacing: 2px;
    position: relative;
}

.categorie__title:before{
    content: "";
    width: 86px;
    height: 2px;
    background-color: var(--primary-white);
    position: absolute;
    top: -20px;
    left: 0;
}

.categorie__introduction{
    font-size: 22px;
    color: var(--primary-white);
    font-family: 'geinspiraSerif', Arial, sans-serif;
}

/* ------------- sub category ---------------- */
.container-subcategorie:nth-child(odd){

    background-color: var(--primary-white);
}

.subcategorie__intro h3{
    color: var(--button-purple-background);
    font-size: 45px;
    margin-bottom: 25px;
    font-family: 'geinspiraSerif', Arial, sans-serif;
}

.subcategorie__intro p{
    color: var(--primary-white);
    max-width: 797px;
    margin: 0 auto;
    font-size: 22px;
    font-family: 'geinspiraSerif', Arial, sans-serif;
}

.container-subcategorie:nth-child(odd) .subcategorie__intro p{
    color: var(--bold-grey-text);
}

.subcategorie__image{
    width: 100%;
    height: 158px;
    position: relative;
}
.subcategorie__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.subcategorie__image:after{
    content: "";
    position:absolute;
    bottom: 0;
    right: 0;
    width: 57px;
    height: 20px;
    background: var(--background-navyblue-1);
}
.container-subcategorie:nth-child(odd) .subcategorie__image:after{
    background: var(--primary-white);
}

.subcategorie__content{
    padding-left: 30px;
    padding-right: 30px;
    height: calc(100% - 158px);
    display: flex;
    flex-direction: column;
}
.subcategorie__title{
    font-size: 13px;
    text-transform: uppercase;
    color: var(--button-purple-background);
    margin-top: 20px;
}

.container-subcategorie:nth-child(odd) .subcategorie__title{
    color: var(--link-color-1);
}

.subcategorie__extract{
    font-size: 14px;
    color: var(--primary-white);
}

.container-subcategorie:nth-child(odd) .subcategorie__extract{
    color: var(--bold-grey-text);
}


.subcategorie__link:hover{
 text-decoration: none;
}

.subcategorie__arr{
    color: var(--primary-white);
    font-size: 20px;
    line-height: 1;
    margin-top: auto;
    margin-bottom: 20px;
   }

.container-subcategorie:nth-child(odd) .subcategorie__arr{
    color: var(--bold-grey-text);
}

.subcategorie__border{
    height: 100%;
}

.subcategorie__bg{
    background-color: var(--background-light-grey);
    width: 100%;
}

.subcategorie__catarticle{
    text-align: right;
    font-size: 9px;
    text-transform: uppercase;
    color: var(--button-purple-background);
    padding-top: 30px;
    padding-right: 20px;
    font-weight: bold;
    position: relative;
}
.container-subcategorie:nth-child(odd) .subcategorie__catarticle{
    color: var(--link-color-1);
}


.subcategorie__catarticle:before{
    content: "";
    width: 33px;
    height: 2px;
    background-color: var(--link-color-1);
    position: absolute;
    top: 20px;
    right: 20px;
}
.container-subcategorie:nth-child(odd) .subcategorie__catarticle:before{
    background-color: var(--link-color-1);
}

/* article type podcast */

.subcategorie__podcast .subcategorie__catarticle{color: var(--link-color-1);}
.subcategorie__podcast .subcategorie__bg{
    min-height: 309px;
    height: 100%;
    max-width: 250px;
    margin-left: auto;
    position: relative;
}

.subcategorie__podcast .subcategorie__bg:after{
    content: "";
    width: 13%;
    height: 45px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--background-navyblue-1);
}
.subcategorie__podcast  .subcategorie__title{color: var(--link-color-1);}
.container-subcategorie:nth-child(odd) .subcategorie__podcast .subcategorie__bg:after{background-color:var(--primary-white);}

.subcategorie__podcast .subcategorie__image:after{
    display: none;
}

.subcategorie__podcast .subcategorie__image{
    position: absolute;
    width: 201px;
    height: 268px;
    top: -40px;
    left: -53px;
}

.subcategorie__podcast .subcategorie__content{
    width: 120px;
    font-size: 14px;
    padding: 0;
    position: absolute;
    top: 93px;
    left: 118px;
    height: calc(100% - 93px);
    display: flex;
    flex-direction: column;
    hyphens: none;
}

.subcategorie__podcast .subcategorie__extract{color: var(--text-color-blue);}
.container-subcategorie:nth-child(odd) .subcategorie__podcast .subcategorie__arr{color: var(--link-color-1);}
.subcategorie__podcast .subcategorie__arr{color: var(--link-color-1);}


/* article type webinar */

.subcategorie__webinar{margin-top: 40px;}
.subcategorie__webinar .subcategorie__border{
    border: solid 1px var(--bold-grey-text);
}

.subcategorie__webinar .subcategorie__image{
    width: 90%;
    margin: 0 auto;
    margin-top: -40px;
    text-align: center;
}

.subcategorie__webinar .subcategorie__image img{
    width: auto;
    height: auto;
    object-fit: unset;
    max-width: 100%;
}

.subcategorie__webinar .subcategorie__arr{color: var(--button-purple-background);}
.container-subcategorie:nth-child(odd) .subcategorie__webinar .subcategorie__arr{color: var(--link-color-1);}


/* article type download */

/*.subcategorie__download{margin-top: 40px;}*/
.subcategorie__download .subcategorie__border{
    border: solid 1px var(--bold-grey-text);
}

.subcategorie__download .subcategorie__image{
    width: 90%;
    margin: 0 auto;
    margin-top: -40px;
    text-align: center;
}

.subcategorie__download .subcategorie__image img{
    width: auto;
    height: 180px;
    object-fit: unset;
}

.subcategorie__download  .subcategorie__title{
    font-size: 11px;
    font-weight: bold;
}

.subcategorie__download .subcategorie__arr{color: var(--primary-white);}
.container-subcategorie:nth-child(odd) .subcategorie__download .subcategorie__arr{color: var(--bold-grey-text);}

/* article type video */

.subcategorie__video  .subcategorie__content{
    height: calc(100% - 151px);
}
.subcategorie__video .subcategorie__border{
    border: solid 1px var(--bold-grey-text);
}

.subcategorie__video .subcategorie__image{text-align: center; height: 108px; position: relative;}
.subcategorie__video .subcategorie__image img{
    width: auto;
    height: 108px;
    object-fit: unset;
}

.subcategorie__video .subcategorie__image:after{
    content: url(https://midwives.gehealthcare.com/wp-content/uploads/2021/01/icon_play.png);
    width: 35px;
    height: 35px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
}

.container-subcategorie:nth-child(odd) .subcategorie__video .subcategorie__image:after{background: transparent;}

.subcategorie__video .subcategorie__arr{color: var(--primary-white);}
.container-subcategorie:nth-child(odd) .subcategorie__video .subcategorie__arr{color: var(--bold-grey-text);}

.subcategorie__video  .subcategorie__title{
    font-size: 11px;
    font-weight: bold;
}


@media (max-width: 830px){
    .encart-blue{
        margin-top: 0;
        margin-left: unset;
        width: 100%;
        height: auto;
        margin-bottom: 25px;
    }

        
}
@media screen 
and (min-device-width: 320px) 
and (max-device-width: 640px) 
{
.order-2  .accueil-card-small__picto, .order-7  .accueil-card-small__picto {
    max-width:25%;
    top:70px;
    }
    .order-8  .accueil-card-small__picto{
    max-width:25%;
    top:50px;
    }
    .accueil-card-lg{
        height: 260px;
    }
    .order-1 .accueil-card-lg__txt{
        padding-right: 15px;
    }
    .order-9::after {
        background-color: var(--button-grey-background-3)!important;
    }
    /* CDN Image fix css starts */
    .article__title h1 p {
        font-size: 28px !important;

    }
    .article .wp-block-image img {
        width: 71%!important;
    }
    /* CDN Image fix css ends */

}
/* article css */

.article .wp-block-image img{
    width: 100%!important;
    max-width: 100%!important;
    height: auto!important;
}
.article__header{
    background-size: cover;
    background-position: center center;
    min-height: 497px;
    position: relative;
}

.article__withoutheader nav{
    background-color: var(--background-dark-black-2);
}

.article__overlay{
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.8701855742296919) 0%, rgba(0,0,0,0) 70%);    
    position: absolute;
    top:0;
    left: 0;
}

.article__header::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20%;
    height: 66px;
    background-color: var(--primary-white);
}

.article__category a{
    color: var(--link-color-1);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    pointer-events: none;
}

.article__title h1 p{
    font-size: 45px;
    color: var(--button-purple-background);
    position: relative;
    font-family: 'geinspiraSerif', Arial, sans-serif;
}

.article__title::before{
    content: "";
    width: 50px;
    height: 4px;
    background-color: var(--button-purple-background);
    position: absolute;
    top: -10px;
    left: 16px;    
}

.article__picto{
    max-width: 138px;
}

.article__content h2{
    color: var(--link-color-1);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.article__content h3{
    font-weight: bold;
    font-size: 17px;
    color: var(--link-color-1);
}

.article__content h4{
    font-weight: normal;
    font-size: 14px;
    color: var(--button-purple-background);
}

.article__content p {
    color: var(--bold-grey-text);
    font-size: 17px;
    margin-bottom: 30px;
}

.article__content ul {list-style: none; padding-left: 15px;}
.article__content li::before {content: "•"; color: var(--link-color-1);
    display: inline-block; width: 1em;
    margin-left: -1em}

.article__content ol li, .article__content ul li{
    color: var(--bold-grey-text);
    font-size: 17px;
}
/* 5 etapes essentielles */

.etapes__header{
    background: url('https://midwives.gehealthcare.com/wp-content/uploads/2021/01/header-etapes.png');
    background-size: cover;


}

.etapes__title h2{
    font-size: 45px;
    font-family: 'geinspiraSerif', Arial, sans-serif;
    color: var(--primary-white);
    margin-top: 30px;
    position: relative;
}

.etapes__title h2:before{
    content: "";
    width: 50px;
    height: 2px;
    background-color: var(--primary-white);
    top: -20px;
    left: 0;
    position: absolute;
}

.etapes__slug{
    font-size: 12px;
    text-transform: uppercase;
    color: var(--button-purple-background);
    font-weight: bold;
    margin-bottom: 30px;
    padding-top: 200px;
}

.etapes__slug span{
    opacity: .5;
}

.etapes__introduction{
    color: var(--primary-white);
    font-size: 22px;
}

.etape__encart{
    background-color: var(--primary-white);
    width: 406px;
    height: 406px;
    margin-left: 73px;
    margin-right: 73px;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
    position: relative;
}

.etape__encart:after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 36px;
    background-color: var(--background-navyblue-1);
}

.etape__number{
    font-size: 120px;
    line-height: 1;
    color: var(--button-purple-background);
}

.etape__encart:nth-child(2) .etape__number, .etape__encart:nth-child(3) .etape__number, .etape__encart:nth-child(5) .etape__number{
    color: var(--heading-text);
}

.etape__title{
    margin-top: 90px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--button-purple-background);
}

.etape__encart:nth-child(2) .etape__title, .etape__encart:nth-child(3) .etape__title, .etape__encart:nth-child(5) .etape__title{
    color: var(--heading-text);
}

.etape__paragraphe{
    font-size: 14px;
    color: var(--bold-grey-text);
    margin-top: 15px;
    margin-bottom: 15px;
}

.etape__illu{
    position: absolute;
    top: 30px;
    right: 30px;
}

.etape__encart:nth-child(1) .etape__paragraphe, .etape__encart:nth-child(5) .etape__paragraphe{
    margin-bottom: 30px;
}

.etape__link{
    color: var(--bold-grey-text);
    font-size: 20px;
    line-height: 1;
}

.row-etapes{
    max-width: 1107px;
    margin: 0 auto;
}


/* ------- footer css -------------- */

footer{
    background: var(--primary-white);
    background: linear-gradient(90deg, var(--background-transparency-1per) 0%, var(--background-transparency-2per) 100%);
    color: var(--primary-white);
    text-align: center;
}

.footer__link{
    color: var(--primary-white);
    display: block;
    margin: 0 15px;
    font-size: 12px;
}

.footer__link:hover{
    text-decoration: none;
    color: var(--primary-white);
    opacity: .8;
}

.footer__picto{
    margin-right: 10px;
}

.footer__bloom{
    width: 66px;
    height: auto;
}

.footer__p{
    margin-bottom: 0;
}

.footer__socials img{
    margin-left: 2px;
    margin-right: 2px;
}


.a2a_svg { border-radius: 50px !important; }

/* forms */
section.formulaire{background-color: var(--background-grey);}
.formulaire__title{
    text-transform: uppercase;
    font-size: 45px;
    color: var(--primary-white);
    line-height: 1.2;
    margin-top: 200px;
    letter-spacing: 2px;
    position: relative;
}

.formulaire__title:before{
    content: "";
    width: 86px;
    height: 2px;
    background-color: var(--primary-white);
    position: absolute;
    top: -20px;
    left: 0;
}

.formulaire__header{
    background: url("https://midwives.gehealthcare.com/wp-content/uploads/2021/01/header_forms.png");
    background-size: cover;
    background-position: center bottom;
}

.formulaire__title2{
    margin-bottom: 30px;
    color: var(--button-purple-background);
    font-size: 45px;
    font-family: 'geinspiraSerif', Arial, sans-serif;
}

.formulaire__subtitle{
    font-size: 22px;
    color: var(--primary-white);
    font-family: 'geinspiraSerif', Arial, sans-serif;
    margin-bottom: 50px;
}

.formulaire__wrapper{
    max-width: 660px;
    margin: 0 auto;
}

.formulaire__ty{
    color: var(--primary-white);
    font-size: 25px;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* page default */

.default{
    background-color: var(--background-navyblue);
}
.default__header{
    background: url('https://midwives.gehealthcare.com/wp-content/uploads/2021/01/header_cdu.png');
    background-position: cover;
    background-position: center bottom;
    height: 80px;
}

.default__overlay{
    background-color: var(--background-dark-black-2);
    height: 100%;
}

.default h2{
    font-size: 21px;
    color: var(--button-purple-background);
    font-weight: bold;
}

.default h3{
    font-size: 14px;
    color: var(--button-purple-background);
    font-weight: bold;
    text-decoration: underline;
}
.default p, .default ul{
    color: var(--primary-white);
    font-size: 14px;
}

.default__title h1{
    color: var(--primary-white);
    text-transform: uppercase;
    font-size: 45px;
    font-weight: bold;
    max-width: 580px;
    text-align: left;
    margin-top: 15px;
}

.default__title h1::before{
    content: " ";
    width: 100px;
    position: absolute;
    top: -8px;
    background-color: var(--primary-white);
    height: 3px;
}



/* others */
.two-columns {
    max-width: 960px;
    margin: 0 auto;
}

.masonry{
    display: flex;
    flex-direction: column;
  }
  

@media(min-width:990px){
   
.masonry{

    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: repeat(24, 1fr);
      width: 100%;
      height: 1032px;
    row-gap: 2rem;
    column-gap: 1rem;
  }
  
  
  .grid-item--1{
      grid-column: 1 / 8;
      grid-row: 1 / 9;
    }
    
    
    .grid-item--2{
      grid-column: 8 / 14;
      grid-row: 1 / 5;
    }
    
    .grid-item--3{
      grid-column: 8 / 14;
      grid-row: 5 / 9;
    }
    
  
    .grid-item--4{
      grid-column: 1 / 7;
      grid-row: 9 / 13;
    
    }
    
      .grid-item--5{
      grid-column: 1 / 7;
      grid-row: 13 / 17;
    }  

    .grid-item--6{
      grid-column: 7 / 14;
      grid-row: 9 / 17;
    }

    .grid-item--7{
        grid-column: 1 / 7;
        grid-row: 17 / 21;
      }
      
    
      .grid-item--8{
        grid-column: 1 / 7;
        grid-row: 21 / 25;
      }
      
      .grid-item--9{
        grid-column: 7 / 14;
        grid-row: 17/ 25;
      }
      .masonry .accueil-card-lg, .masonry .accueil-card-small{
          margin-bottom: 0px;
      }
  
    
}


a:hover{
    text-decoration: none;
    color: initial;
    opacity: .5;
}

#modalPro .btn-primary{
    background-color: var(--primary-white);
    border-color: var(--button-purple-background);
    color:var(--purple-light-2);
}

.product-configurator-fixed-top {
	top: 104px;
}

img.img-responsive {
    width: 100% !important;
}
/* Evidon cookies popup toggle button color changes code */

.evidon-switch{width:40px !important;}