/*******************************************************************/
/**************************** RESPONSIVE ***************************/
/*******************************************************************/
a.openMenuResponsive {
    color: #fff;
    margin: 33px 0 33px 10px;
    display: inline-block;
    border: 1px solid #fff;
    padding: 5px 10px;
    border-radius: 10px 0;
    float: right;
}

.mm-listitem:after {
    left: 0;
}

.mm-navbars_bottom>.mm-navbar>:not(img):not(.mm-btn), .mm-navbars_top>.mm-navbar>:not(img):not(.mm-btn) {
    width: 70px;
    margin: 0 auto;
}

.mm-navbars_top>.mm-navbar>:not(img):not(.mm-btn) {
    color: #00cab0;
    font-weight: 600;
}

.mm-menu_offcanvas.mm-menu_opened {
    border-left: 2px solid #0e2445;
}

/* MD */
@media (min-width: 992px) and (max-width: 1199px) {
    /** Général **/
    .content .solutions-threeR {flex-basis: 325px;}

    /** Header **/
    .header .contentHeader .topMenu ul > li > a {margin: 0 12px;}
    .header .contentHeader .topMenu > div > ul > li > a {margin: 0;}
    .header .contentHeader .secondaryMenu {float: none;}
    /** Footer **/
    .news .newsBox.one.projects .contentImg{height: 175px;}
    .post .newsBox.one {min-height: 0;}

    /** Wiget Application **/
    .widget-application {
        padding: 41px 30px;
    }

    /** News **/
    .newsBoxClearLeft:nth-child(3n+1){
        clear:left;
    }
}

/* SM */
@media (min-width: 768px) and (max-width: 991px) {
    /** Général **/
    .content .solutions-threeR {flex-basis: 400px;}

    /** Header **/
    .header .contentHeader, .header .contentHeader .row, .header .messageHeader .sentence, .news h2, .header .messageHeader .logoBemed, .header .messageHeader .sentence:hover{
        transition: none;
        animation: none;
        transform: none;
    }
    .header .contentHeader .secondaryMenu{float: right;}
    .header .messageHeader .sentence{font-size: 35px; margin: 0 0 25px 0;}
    .header{min-height: 480px;}
    .header .messageHeader{height: 380px;}
    .header .messageHeader .logoBemed img {width: 150px;}
    .header .messageHeader .contentMessageHeader {top: 76.2%;}
    .header .temporaryTextHeader {margin-top: 90px;}

    /** Qui sommes nous **/
    .whoWeAre {min-height: 400px;}
    .whoWeAre .contentWhoWeAre {display: block;}
    .whoWeAre .contentWhoWeAre .sentence {font-size: 30px; padding: 0 50px;}

    /** Nos actions **/
    .action .actionBox .title {font-size: 16px;}
    .action .actionBox .title.twoLine {margin: 29px 0;}
    .action .actionMember .title {text-align: center; margin-bottom: 25px; font-weight: 600;}
    .action .actionMember .title br{content:' ';}
    .action .actionMember .title br:after{content:' ';}
    .action .actionBox {margin-bottom: 0;}

    /** Post **/
    .wp-block-column{margin: 0 !important;padding: 0 5px;}
    .news .newsBox .captionResponsive{display: block; margin-bottom: 15px;}
    .news .newsBox .contentImg .background{ background: inherit; }
    .news .newsBox .contentImg .imgHover{ opacity: 1; }
    .news .newsBox .contentImg img {margin: 0 auto;}
    .singlePost .postBox .mediumHover {opacity: 1;}

    /** Annuaire **/
    .widget-directory .contact h2 {min-height: 44px;font-size: 20px;}
    .widget-directory .contact {border: none; margin: 0;}
    .widget-directory .contact .contactBox {
		background: #fafafa; 
		padding: 25px;
		height:310px;
	}
	.widget-directory .clearLeft:nth-child(3n+1){
		clear:none;
	}
	.widget-directory .clearLeft:nth-child(2n+1){
		clear:left;
	}
    .widget-directory #map{height: 350px;}

    /** Projets (détails) **/
    .singleProject .imgHover {opacity: 1;}

}

/* XS */
@media (max-width: 767px) {
    /** Général **/
    section{padding: 25px 0;}
    section h2{margin: 0 0 25px 0; font-size: 25px;}
    section.content h1 {font-size: 25px; margin: 0 0 25px 0;}
    section.content .postBox h2{font-size: 25px;}
    section.content .postBox img.imgMain {width: 100%; padding: 0;}
    ul.siteBreadcrumb {margin: 5px 0 25px 0;}
    .btn-white {font-size: 13px;}
    .content .solutions-threeR .wp-block-columns {flex-wrap: nowrap;}
    .btn-edit {position: relative}

    /** Header **/
    .header .contentHeader, .header .contentHeader .row, .header .messageHeader .sentence, .news h2, .header .messageHeader .logoBemed, .header .messageHeader .sentence:hover{
        transition: none;
        animation: none;
        transform: none;
    }
    .header .contentHeader .secondaryMenu{float: right;}
    .header .messageHeader .sentence{font-size: 25px; margin: 0;}
    .header{min-height: 280px;}
    .header .messageHeader{height: 180px;}
    .header .messageHeader .contentMessageHeader {top: 105.5%;}
    .header .temporaryTextHeader {height: 125px; margin-top: 100px; text-align: center; font-size: 18px;}
    .header .temporaryTextHeader .temporaryTextHeaderContent {flex-direction: column;}
    .header .temporaryTextHeader .temporaryTextHeaderContent a {margin: 10px 0;}
    .header .temporaryTextHeader .mobile-hidden {display: none!important;}
    .header .temporaryTextHeader .mobile-show {display: block!important;}

    /** Footer **/
    .footer .footerMenu ul > li > a {font-size: 14px;}

    /** Post **/
    .news .newsContent{display: block;}
    .news .newsBox {text-align: center; background: #fafafa; padding: 25px; margin: 0 0 25px 0;}
    .singlePost .postBox .mediumHover {opacity: 1}
    .singlePost .postBox .mediumHover span {bottom: 0; right: 0;}
    .news .newsBox .contentImg .background{ background: inherit; }
    .news .newsBox .contentImg .imgHover{ opacity: 1; }
    .news .newsBox .contentImg img {transition: none; margin: 0 auto;}
    .news .newsBox .title {margin: 25px 0 0 0;}
    .news .newsBox .title {min-height: 0;}
    .post .newsBox.one {min-height: 0;}
    .wp-block-column {margin: 0 !important;}

    /** Qui sommes nous **/
    .whoWeAre {min-height: 350px;}
    .whoWeAre .contentWhoWeAre {display: block;}
    .whoWeAre .contentWhoWeAre .sentence {font-size: 25px;}

    /** Nos actions **/
    .action .actionBox {background: rgba(0, 202, 176, 0.05); padding: 10px 0 15px; margin-bottom: 30px;}
    .action .actionMember {margin: 0;}
    .action .actionBox .title {font-size: 16px;}
    .action .actionBox .title.twoLine {padding: 0 20px;}
    .action .actionMember .title {text-align: center; margin-bottom: 15px;}
    .action .actionMember .title br{content:' ';}
    .action .actionMember .title br:after{content:' ';}

    /** Page classique **/
    .titleMenu h1 {font-size: 30px; margin: 0;}
    section.titleMenu + div, section.titleMenu + section {margin-top: 15px;}
    .postContent iframe{width: 100%; height: 300px;}
    .pageContent h2{font-size: 25px;}

    /** Projets (détails) **/
    section.content.singleProject h1 {text-align: center; font-size: 25px; font-weight: 400; letter-spacing: 2px; margin: 0 0 5px 0;}
    .singleProject ul.projectInformation{padding: 20px; list-style-type: none; margin: 0;}
    .singleProject .imgHover {opacity: 1;}

    /** Evènements **/
    .singlePost .postBox.single .pull-left, .singlePost .postBox.single .pull-right{float: none !important;}
    .calendarDay {margin: 15px 0;}

    /** Annuaire **/
    .widget-directory h2 {min-height: 0;}
    .widget-directory .contact {margin-bottom: 25px; padding: 0 15px;}
    .widget-directory .contact .contactBox {background: #fafafa; padding: 25px;}
    .widget-directory .contact .contactBox p{margin: 0;}
    .widget-directory .contact .contactBox p.phone{margin: 0 0 5px 0;}
    .widget-directory #map{height: 250px;}

    /** Membres **/
    .foundersLink{text-align: left;}

    /** Contact **/
    .wpcf7-form {margin-bottom: 15px;}

    /** Page erreur **/
    .oops {font-size: 100px;}

}