/* //////////////////// MEDIA QUERIES //////////////////// */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .mainNav .menu li {
        margin: 0 25px 0 0;
    }

    .mainNav .menu li a {
        font-size: 13px;
    }

    .slick-prev {
        left: -30px;
    }

    .slick-next {
        right: -30px;
    }

    .memberCard .description p,
    .memberCard .content p.function {
        line-height: 1.3;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .headerContent {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .logo {
        width: 100px;
        height: 120px;
    }

    .logo img {
        width: 65px;
        height: 56px;
    }

    header.navDown .logo,
    header.navUp .logo {
        height: 74px;
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    header.navDown .logo img,
    header.navUp .logo img {
        width: 52px;
        height: 45px;
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    .navigation {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        margin: 30px 0 0 0;
    }

    header.navDown .navigation,
    header.navUp .navigation {
        margin: 27px 0 0 0;
    }

    .socialLinks {
        margin: 0 20px 0 0;
        padding: 0 40px 0 0;
        position: relative;
    }

    header.navUp .socialLinks {
        margin: 0 20px 0 0;
        height: auto;
        opacity: 1;
    }

    .socialLinks:after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        width: 1px;
        height: 100%;
        background-color: #fff;
        opacity: 0.8;
    }

    .openNav {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 20px;
        height: 20px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }

    .openNav .open {
        width: 20px;
        height: 20px;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    .openNav.visible .open {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    .openNav .close {
        width: 20px;
        height: 20px;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 1;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    .openNav.visible .close {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    .mainNav {
        position: fixed;
        left: 0;
        bottom: 0;
        background-color: #3f99b7;
        width: 100%;
        padding: 40px 39px;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        -webkit-transition: all ease-in-out .8s;
        transition: all ease-in-out .8s;
    }

    .mainNav.visible {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: all ease-in-out .8s;
        transition: all ease-in-out .8s;
    }

    .mainNav .menu {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }

    .mainNav .menu li {
        margin: 0 0 10px 0 !important;
        padding-bottom: 10px !important;
        text-align: right;
    }

    .mainNav .menu li:nth-last-child(2) {
        margin-right: 0px !important;
    }

    .mainNav .menu li a {
        font-size: 15px;
    }

    .mainNav .menu li:hover > .sub-menu {
        top: 0;
        left: 0;
        padding: 20px 0 30px;
        position: relative;
        -webkit-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    header.navDown .mainNav .menu li:hover > .sub-menu,
    header.navUp .mainNav .menu li:hover > .sub-menu {
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
        top: 0;
    }

    .mainNav .menu li .sub-menu li {
        padding: 5px 0 !important;
        margin: 0;
        line-height: 1;
        border-bottom: none;
    }

    .mainNav .menu li .sub-menu li a {
        font-size: 15px;
        color: #fff;
    }

    .mainNav .menu li .sub-menu li a:hover {
        color: #15556A;
    }

    .newsletter {
        padding: 40px 0;
    }

    .newsletter p.title {
        font-size: 20px;
    }

    .newsletter p {
        font-size: 13px;
    }

    .singleLastPost img {
        width: 60px;
    }

    .legalPart {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .legalPart .navigation {
        margin: 0;
    }

    .legalPart .menu {
        margin: 0 0 10px 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .contentLine {
        padding: 70px 0;
    }

    .bigTitle {
        font-size: 30px;
    }

    .title {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0 0 50px 0;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .title .bigTitle {
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin: 0 0 10px 0;
    }

    .title .divider {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        width: auto;
        height: 1px;
        background-color: #E6E6E6;
        position: absolute;
        right: 15px;
        top: 18px;
        width: 100px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .title .mainButton {
        position: relative;
        right: 0px;
        z-index: 3;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .expertiseCard:nth-last-child(-n+3) {
        margin: 0 0 30px 0;
    }

    .expertiseCard:nth-last-child(-n+2) {
        margin: 0;
    }

    .postCard .content h3 {
        margin: 0 0 20px 0;
        padding: 20px 15px 0 15px;
        font-size: 16px;
    }

    .postCard .content h3:before {
        left: 15px;
    }

    .postCard time {
        top: 15px;
        right: 15px;
    }

    .slick-prev {
        left: -20px;
    }

    .slick-next {
        right: -20px;
    }

    .relationCard .image {
        height: 180px;
    }

    .relationCard:last-child .image {
        margin: 0;
    }

    .relationCard.small .image {
        height: 150px;
    }

    .relationCard .image p {
        font-size: 25px;
    }

    .memberCard .description {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        width: 100%;
        padding: 15px 15px 30px;
    }

    .memberCard:hover .content p.function,
    .memberCard:hover .content p.name {
        display: none;
    }

    .memberCard .content p.function {
        padding: 15px 15px 0;
    }

    .memberCard .content p.function:before {
        left: 15px;
    }

    .memberCard .content p.name {
        padding: 0px 15px 0;
        margin: 0 0 20px 0;
        font-size: 16px;
    }

    .contactLine {
        padding: 40px 30px 70px 30px
    }

    .errorLine {
        height: calc(100vh - 124px);
    }

    .errorLine .ovalOverlay {
        display: none;
    }

    .partnerCard:nth-last-child(-n+3) {
        margin: 0 0 30px 0;
    }

    .partnerCard:nth-last-child(-n+2) {
        margin: 0;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .logo {
        height: 64px;
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    .logo img {
        width: 44px;
        height: 38px;
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    header.navDown .logo,
    header.navUp .logo {
        height: 64px;
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    header.navDown .logo img,
    header.navUp .logo img {
        width: 44px;
        height: 38px;
        -webkit-transition: all ease .5s;
        transition: all ease .5s;
    }

    .navigation {
        margin: 22px 0 0 0;
    }

    header.navDown .navigation,
    header.navUp .navigation {
        margin: 22px 0 0 0;
    }

    header.navDown .socialLinks,
    header.navUp .socialLinks {
        margin: 0 20px 0 0;
        height: auto;
        opacity: 1;
    }

    .mainNav .menu li:hover > .sub-menu {
        padding: 15px 0 10px;
    }

    .mainNav {
        padding: 30px;
    }

    p,
    ul li,
    ol li {
        font-size: 14px;
        line-height: 1.4;
    }

    .bigTitle {
        font-size: 22px;
    }

    .bigTitle span {
        color: #D2D2D2;
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        margin: 0 5px 0 0;
    }

    .postContent h2,
    .postContent h3,
    .postContent h4,
    .postContent h5,
    .postContent h6,
    .medTitle {
        font-size: 16px;
    }

    .contentLine {
        padding: 50px 0;
    }

    .title {
        margin: 0 0 30px 0;
    }

    .title .divider {
        display: none;
    }

    .headBand {
        position: relative;
        height: 460px;
    }

    .headBand .ovalOverlay:after,
    .headBand .ovalOverlay:before {
        width: 300%;
        padding-top: 300%;
    }

    .headTitle p {
        margin: 15px 0 0 0;
    }

    .headBand .goDown {
        width: 70px;
        height: 35px;
    }

    .headBand .goDown img {
        width: 13px;
        height: 13px;
    }

    .expertiseCard .content {
        padding: 0;
    }

    .expertiseCard:nth-last-child(-n+2) {
        margin: 0 0 30px 0;
    }

    .expertiseCard:last-child {
        margin: 0;
    }

    .searchLauncher {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        -webkit-transition: all ease .5s;
        transition: all ease .5s
    }

    .searchLauncher.visible {
        bottom: 75px;
        -webkit-transition: all ease .5s;
        transition: all ease .5s
    }

    .searchLauncher:before {
        width: 50px;
        height: 50px;
    }

    .searchLauncher:after {
        width: 40px;
        height: 40px;
    }

    .imageContainer,
    .imageContainer .open,
    .imageContainer .close {
        width: 16px;
        height: 16px;
    }

    .searchLine #searchform {
        width: calc(100% - 30px);
        bottom: 15px;
        right: 15px;
    }

    .searchLine #searchform {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .searchLine #searchform #search {
        width: auto;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }

    .postCard .image {
        padding-top: 66%;
    }

    .postCard:nth-last-child(-n+3),
    .postCard {
        margin: 0 0 30px 0;
    }

    .postCard:last-child {
        margin: 0;
    }

    .partnersSlider .slick-arrow {
        background-image: url(./assets/images/IC_chevron_slider.svg);
        display: none !important;
    }

    .singlePartner {
        padding: 0 15px;
        height: 40px;
    }

    .newsletter .wpcf7 {
        width: 100%;
        margin: 20px 0 0 0;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .footer .col-sm-12 {
        margin: 0 0 30px 0;
    }

    .footer .col-sm-12:last-child {
        margin: 0;
    }

    .footer .titleFoot {
        margin: 0 0 10px 0;
    }

    .singleLastPost .contentInfos p {
        margin: 0;
    }

    .singleLastPost .contentInfos time {
        display: none;
    }

    .legalPart .menu {
        margin: 30px 0 10px 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .legalPart .menu li {
        margin: 0 0 5px 0;
    }

    .legalPart .menu li a {
        font-size: 12px;
        line-height: 1;
    }

    .legalPart .copyright {
        font-size: 12px;
    }

    .introductionBlock .contentBlock p {
        font-size: 16px;
        line-height: 1.5;
    }

    .singleBlock {
        margin-bottom: 30px;
    }

    .singleBlock.titleTextBlock p {
        width: 100%;
    }

    .filesBlock .contentBlock .mainButton {
        position: relative;
    }

    .filesBlock .contentBlock p {
        margin: 0 0 10px 0;
    }

    .filesBlock .contentBlock {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .partnerCard:nth-last-child(-n+2) {
        margin: 0;
    }

    .partnerCard:last-child {
        margin: 0;
    }

    .collapseContent .singleCollapse .card-header.collapsed,
    .collapseContent .singleCollapse .card-header.collapsed:hover,
    .collapseContent .singleCollapse .card-header {
        padding: 10px 15px;
    }

    .collapseContent .singleCollapse .card-header.collapsed:hover h2,
    .collapseContent .singleCollapse .card-header h2 {
        font-size: 14px;
    }

    .contactLine {
        padding: 30px 15px;
        margin-top: 0;
    }

    .officeInfos {
        margin-bottom: 30px;
    }

    .contactLine .form {
        padding: 0;
    }

    .postContent form input,
    .form input,
    .postContent form select,
    .form select {
        margin: 0 0 15px 0;
    }

    .jobCard {
        padding-bottom: 30px;
        margin: 0 0 30px 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .jobCard .mainButton {
        margin: 10px 0 0 0;
    }

    .navPostsControler {
        display: none;
    }

    .categoriesList {
        padding: 0 15px;
        margin: 0 0 30px 0;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .categoriesList li:first-child {
        margin: 0 auto 0 0;
        display: none;
    }

    .categoriesList li {
        margin: 0 5px 5px;
    }

    .pagination span:first-child {
        display: none;
    }

    .pagination span,
    .pagination a {
        margin: 0 5px 5px
    }

    .errorLine {
        height: calc(100vh - 185px);
    }

    .catContainer {
        margin: 50px 0 30px 0;
    }

    .navigationFaqLine {
        position: relative;
        z-index: 10;
        margin-top: 30px;
    }

    .navFaq {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .navFaq a {
        margin: 0 0 10px 0;
    }

    .navFaq a:last-child {
        margin: 0;
    }

    .faqLink {
        height: 80px;
        padding: 15px 60px;
    }

    .faqLink .title {
        font-size: 16px;
    }

    .postContent img.alignleft,
    .postContent img.aligncenter,
    .postContent img.alignright {
        display: block;
        float: none;
        margin: 0 0 20px;
        width: 100%;
        height: auto;
    }
    
    .navPosts .third .nav-posts span strong {
        display: none;
    }
    .postLine {
        overflow: hidden;
    }
    .postLine img {
        max-width: 100%;
        height: auto;
    }
    
}

/* Small devices (landscape phones) */
@media only screen and (min-width: 320px) and (max-width: 768px) and (min-device-aspect-ratio: 1/1) and (orientation: landscape) {

    /* ALERTE LANDSCAPE */
    .alerteLandscape {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #3f99b7;
        z-index: 100002;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -ms-grid-row-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .alerteLandscape img {
        display: inline-block;
        margin: 30px 0 20px;
        width: 50px;
        height: 50px;
    }

    .alerteLandscape p {
        text-align: center;
        padding: 0;
        position: relative;
        width: 80%;
        margin: 0 10%;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 10px;
        color: #FFF;
        letter-spacing: 1.2px;
        line-height: 15px;
    }

    .alerteLandscape p strong {
        font-weight: 700;
        color: #15556a;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {}