@media screen and (min-width: 700px) {

    .entry-content {
        font-size: 1.2rem !important;
    }

}

@media screen and (max-width: 1000px) {

    header#site-header .header-inner .header-titles:not(.home_logo) {
        width: auto;
        padding: 1rem;
    }

    .map-and-entities-filter {
        grid-template-columns: 100% !important;
    }

    .map-entities-filter {
        border-right: 0 !important;
    }

    .menu-modal.active {
        z-index: 9999999;
    }

    .menu-modal .bottom-part {
        display: none;
    }

    .menu-modal .menu {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
    }

    .menu-modal .menu ul {
        font-size: 1.8rem;
    }

    .menu-modal .menu ul li {
        line-height: 2rem;
    }

    .menu-modal .menu-bottom {
        padding: 1rem 0;
    }

    .menu-modal .menu-bottom nav ul li a {
        width: 2rem;
        height: 2rem;
    }

    .body-content #site-content .entry-header.single-page, .body-content #site-content .sous-rubrique-page .entry-header {
        padding: 15% 0 10px;
    }

    header#site-header .header-inner .header-titles-wrapper {
        padding: 0;
    }

    header#site-header .header-inner .site-title h4 {
        font-size: 1rem !important;
    }

    header#site-header .header-inner .site-title h6 {
        font-size: 0.6rem !important;
    }

    header#site-header .user_display {
        margin-top: 0;
        flex-direction: column;
        width: 35px;
        height: 66px;
        padding: 0;
    }

    .body-content {
        display: block;
    }

    .body-content .sidebar {
        display: none;
    }

    .alignfull.pagelevel3 > .thera-flex {
        display: block !important;
    }

    .in-insmx-resources-page-container .resources-downloads {
        min-width: unset !important;
        max-width: 100% !important;
        margin: 0;
    }

    #carouselResourcesDownloads .carousel-inner .carousel-item .slide {
        display: block !important;
    }

    #carouselResourcesDownloads .carousel-inner .carousel-item .slide .resources-download-item {
        margin: 10px 0;
    }

    .body-content #site-content .entry-header .section-inner .in-insmx-intro-container {
        padding: 75px 0 0 5%;
    }
    
    .body-content #site-content .entry-header .section-inner .in-insmx-intro-container .content {
        width: 75%;
    }

    .body-content #site-content .rubrique-page .entry-content .rubrique-intro {
        padding: 75px 15px 35px 15px;
    }

    body.singular .body-content #site-content .entry-content .pagelevel3 .singular-left-content{
        width: calc(100% - 20px) !important;
    }
    
    body.singular .body-content #site-content .entry-content .pagelevel3 .singular-left-content .singular-title {
        height: auto !important;
    }
    
    body.singular .body-content #site-content .entry-content .pagelevel3 .singular-right-content {
        width: calc(100% - 20px) !important;
    }

    .body-content #site-content .entry-header {
        height: 20vh;
    }

    .body-content #site-content .rubrique-page .entry-content .rubrique-contacts,
    .body-content #site-content .rubrique-page .entry-content .featured-content {
        display: block;
    }

    .body-content #site-content .rubrique-page .entry-content .sub-section-title {
        height: auto;
    }

    .body-content #site-content .rubrique-page .entry-content .sub-sections-container .sub-sections {
        display: block;
    }

    .template-actu .actu-title,
    .template-actu .actu-text,
    .template-actu .actu-sidebar {
        width: 100%;
        padding: 1rem;
    }

    .body-content #site-content .rubrique-page .entry-content .sub-sections-container .sub-sections > a .sub-section-title {
        /* width: 150px;
        height: 150px; */
    }

    .body-content #site-content .rubrique-page .entry-content .sub-section-children-pages {
        margin-top: 0;
        margin-bottom: 35px;
    }

    .body-content #site-content .rubrique-page .entry-content .sub-sections-container {
        padding: 75px 50px;
    }

    .body-content #site-content .rubrique-page .entry-content .sub-sections-container .sub-sections .sub-section::after,
    .body-content #site-content .rubrique-page .entry-content .sub-sections-container .sub-sections > a .sub-section-title::before,
    .body-content #site-content .rubrique-page .entry-content .sub-sections-container .sub-sections > a .sub-section-title::after,
    .body-content #site-content .rubrique-page .entry-content .sub-sections-container .sub-sections > a .sub-section-title h4::before {
        display: none;
    }

    footer#site-footer {
        display: block;
    }

    footer#site-footer .left-part {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 3rem;
    }

    footer#site-footer .left-part .footer-widgets {
        margin: 0;
    }

    .body-content #site-content .career-page .entry-content .career-content .career-header{
        padding-top: 85px;
    }

}

@media screen and (max-width: 1440px) {

    .body-content #site-content .entry-content .thera-section.im_en_bref > h2{
        padding-right: 50%;
    }

    .template-blog .post-listing .single-post{
        flex: calc(303 - 30px);
        width: calc(33% - 30px);
        max-width: calc(33% - 30px);
        margin: 15px;
    }

    body.singular .body-content #site-content .entry-content .pagelevel3 .singular-left-content .singular-title {
        width: 100%;
    }

}

@media screen and (max-width : 1000px){
    .body-content #site-content .entry-header{
        height: unset;
        min-height: unset;
    }

    .body-content #site-content .entry-content .in-insmx-actus-container:not(.unique){
        margin-left: 0;
    }

    .template-blog .post-listing .single-post{
        flex: calc(50% - 30px);
        width: calc(50% - 30px);
        max-width: calc(50% - 30px);
        margin: 15px;
    }

    .body-content #site-content .career-page .entry-content .career-content .container-career .jobs_columns{
        display: block;
    }

    .body-content #site-content .career-page .entry-content .career-content .container-career .jobs_columns .wp-block-column{
        margin: 0;
        margin-bottom: 1em;
    }

    .body-content #site-content .career-page .entry-content .testimonials-container .testimonials{
        max-width: 750px;
    }

    .body-content #site-content .career-page .entry-content .testimonials-container .testimonials a{
        width: 33%;
        flex: 33%;
        max-width: 33%;
    }
}

@media screen and (max-width : 800px) {
    .body-content #site-content .entry-content .thera-section .wp-block-buttons {
        width: 90%;
    }

    .body-content #site-content .entry-content .thera-section.im_en_bref > h2{
        padding-right: 10%;
    }
    
    .body-content #site-content .career-page .entry-content .testimonials-container .testimonials{
        max-width: 500px;
    }

    .body-content #site-content .career-page .entry-content .testimonials-container .testimonials a{
        width: 50%;
        flex: 50%;
        max-width: 50%;
    }

    .body-content #site-content .career-page .entry-content .career-content .container-career{
        display: block;
    }

    .body-content #site-content .career-page .entry-content .career-content .container-career .column-career{
        max-width: 100%;
        width: 100%;
    }

    .body-content #site-content .career-page .entry-content .career-content .container-career .column-women{
        max-width: 100%;
        width: 100%;
    }

    .testimonial-single .testimonial-header{
        min-width: unset;
        width: calc(100% - 50px);
    }

    .testimonial-single #content .testimonial{
        display: block;
    }

    .testimonial-single .testimonial-content{
        width: 100%;
        border: 0;
    }
    
    .testimonial-single .testimonial-content iframe{
        /* max-width: calc(100vw - 100px); */
    }

    .testimonial-single .person{
        margin-top: 50px;
        width: 100%;
        padding: 0;
        padding-right: 50px;
    }
}

@media screen and (max-width : 700px){

    .actu-page .actu_header{
        display: block;
    }

    .actu-page .news_picture{
        margin-right: 0;
        height: 150px;
    }

    .actu-page .news_title_abstrac{
        padding: 20px;
    }

    .actu-page .actu_header h2{
        margin-top: 0;
    }

    .actu-page .the_actu{
        display: block;
    }

    .actu-page .actu_date{
        padding: 10px 0;
    }

    .actu-page .actu_date p{
        margin: 0;
    }
}

@media screen and (max-width : 600px){
    .thera-flex.connexion-logo .company-logo .wp-block-image {
        flex: calc(50% - 40px);
        width: calc(50% - 40px);
        max-width: calc(50% - 40px);
    }

    .actu-page .categories{
        display: block;
    }

    .actu-page .category{
        float: none;
    }
}

@media screen and (max-width : 500px){

    .thera-flex.connexion-logo .company-logo .wp-block-image {
        flex: calc(100% - 40px);
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
    
    .body-content #site-content .entry-header.single-page, .body-content #site-content .sous-rubrique-page .entry-header {
        padding: 25% 0 10px;
    }

    .body-content #site-content .entry-header.single-page .entry-title {
        font-size: 2.2rem !important;
    }

    .template-blog .post-listing .single-post{
        flex: calc(100% - 30px);
        width: calc(100% - 30px);
        max-width: calc(100% - 30px);
    }

    .template-actu .actu-title{
        margin-top: 0;
        width: 100%;
        padding: 20px;
    }

    .template-actu .actu-title #breadcrumb{
        transform: none;
        margin-bottom: 15px;
        height: 15px;
    }

    .template-actu .actu-title .company_logo{
        max-width: 100px;
        max-height: 40px;
        transform: translate(0px, calc(-100% - 10px));
    }
 
    .template-actu h2 {
        font-size: 2rem!important;
    }
    
    .template-actu .actu-title .the_title h2 {
        margin-top: 20px;
    }
    
    .template-actu .actu-text h2{
        margin: 20px 10px;
        font-size: 1.8rem!important;
    }

    .template-actu .actu-text{
        flex: 100%;
        width: 100%;
        padding: 20px;
    }
    
    .template-actu .actu-sidebar{
        flex: 100%;
        width: 100%;
    }

    .body-content #site-content .career-page .entry-content .testimonials-container .testimonials{
        max-width: 400px;
    }

    .body-content #site-content .career-page .entry-content .testimonials-container .testimonials a{
        height: 225px;
    }
}

@media screen and (max-width : 400px){

    .body-content #site-content .career-page .entry-content .testimonials-container .testimonials{
        max-width: 300px;
    }

    .body-content #site-content .career-page .entry-content .testimonials-container .testimonials a{
        height: 175px;
    }

}