/* CUSTOM STYLE HERE */

@media (max-width: 1600px) {
  #scrn_med {
    display: block;
  }
  #scrn_lrg,
  .lg-map {
    display: none;
  }

  .md-map {
    max-width: 100% !important;
    width: 100% !important;
  }
  .md-map #scrn_med .et_pb_code_inner {
    text-align: center;
  }
}

@media (max-width: 1500px) {
  .header #menu-primary-menu li:nth-child(2),
  .header #menu-primary-menu li:nth-child(4),
  .header #menu-primary-menu-english li:nth-child(2),
  .header #menu-primary-menu-english li:nth-child(4) {
    margin-right: 30px;
  }

  .for-scale .et_pb_module_header {
    width: 70% !important;
  }

  /* .contact-map {
    background-position: 0 -400px !important;
    padding-top: 300px !important;
  } */
}

@media (max-width: 1400px) {
  .header .et_pb_row_0_tb_header {
    padding: 10px 0;
  }
  .header #menu-primary-menu li:nth-child(2),
  .header #menu-primary-menu li:nth-child(4),
  .header #menu-primary-menu-english li:nth-child(2),
  .header #menu-primary-menu-english li:nth-child(4) {
    margin-right: 20px;
  }

  /* .contact-map {
    padding-top: 200px !important;
  } */
}

@media (max-width: 1300px) {
  #menu-item-319 > .sub-menu,
  #menu-item-5696 > .sub-menu {
    left: -300px;
  }
  #menu-primary-menu > li,
  #menu-primary-menu-english > li {
    margin-right: 0 !important;
  }
  .header #header-logo {
    width: 105px !important;
    margin-right: 10px !important;
  }
  header #header-menu {
    margin-right: 10px !important;
  }
  header #header-logo > div {
    width: 70px;
  }
  .header #menu-primary-menu a,
  .header #menu-primary-menu-english a {
    font-size: 12px;
  }

  .rejoignez-btn {
    width: 150px;
    padding: 0 30px 0 20px;
    font-size: 13px;
    height: 40px;
  }
  .rejoignez-btn:hover {
    padding: 0 30px 0 20px !important;
  }


  #numbers .count {
    font-size: 50px;
  }
  .numbertoanimate-1 .count .et_pb_text_inner p:before,
  .numbertoanimate-2 .count .et_pb_text_inner p:before {
    left: -40px;
    transform: translateY(-40%);
  }
  .text-number-wrapper .text-number h5 {
    font-size: 20px;
  }
  .text-number-wrapper .text-number p {
    font-size: 14px;
  }

  .for-scale .et_pb_module_header {
    width: 100% !important;
  }
}

@media (max-width: 1200px) {
  /* .contact-map {
    background-position: 0 -350px !important;
  } */

  #menu-item-319 > .sub-menu,
  #menu-item-5696 > .sub-menu{
    gap: 0;
  }
}

/* @media (max-width: 1100px) {
  .contact-map {
    background-position: 0 -300px !important;
  }
} */

@media (max-width: 1000px) {
  .sm-map {
    display: block;
  }
  #scrn_med,
  .md-map {
    display: none;
  }

  .contact-map {
    background-size: contain;
    background-position: center 0;
  }
}

@media (max-width: 980px) {
  #menu-item-wpml-ls-2-en,
  #menu-item-wpml-ls-2-fr {
    display: none !important;
  }

  .mobile-lang-selector {
    display: block;
    order: 1;
    box-sizing: border-box !important;
  }
  .mobile-lang-selector #wpml-ls-submenu-default {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 40px;
    background: #FFF;
    border-radius: 3px;
  }
  .mobile-lang-selector ul {
    padding: 0 !important;
  }
  .mobile-lang-selector > * {
    box-sizing: border-box !important;
  }
  .mobile-lang-selector a {
    border: none;
    padding: 0 !important;
  }
  .mobile-lang-selector a:hover {
    background-color: transparent !important;
  }
  .mobile-lang-selector a:after {
    right: 5px !important;
  }
  .mobile-lang-selector img {
    width: 18px;
    height: 15px;
    max-width: none !important;
  }
  #header-menu > div:first-child {
    order: 2;
  }
  #header-menu {
    display: flex;
    align-items: center;
  }

  .mobile_nav #mobile_menu1 > li > .sub-menu {
    display: none !important;
  }
  .mobile_nav #mobile_menu1 > li:hover .sub-menu {
    display: block !important;
  }


  #menu-item-319 .sub-menu,
  #menu-item-5696 .sub-menu{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .contact-map {
    /* background-position: center -300px !important; */
    background-size: 200%;
  }

  .below-banner-row .et_pb_column {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto !important;
    float: none !important;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;

    justify-content: center !important;
    gap: 4%;
    row-gap: 30px;
  }
  .below-banner-row .et_pb_column .et_pb_module {
    width: 29%;
  }

  .votre-industry {
    display: flex;
    flex-direction: column;
  }
  .votre-industry .text-block {
    order: 2;
  }
  .votre-industry .img-block {
    order: 1;
  }
  .block-imgs .img-item {
    width: 80px;
  }

  .header #header-menu,
  .header #header-logo {
    margin-bottom: 0;
  }
  .header #header-menu {
    order: 3;
    /* width: 40px !important; */
    width: auto !important;
    margin-left: auto;
  }
  .header #header-menu .et_pb_module,
  .header #header-menu .et_pb_menu_inner_container {
    width: 40px !important;
  }
  .header #header-button {
    order: 2;
    margin-left: auto;
  }
  .mobile_nav {
    position: relative;
  }
  #mobile_menu1 {
    left: -500px;
    width: 500px;
    overflow-y: auto;
  }

  .icons-wrapper .icon-item h2 {
    opacity: 1 !important;
  }

  .left-absolute {
    position: static;
  }

  .savoir-faire .et_pb_text {
    height: auto !important;
  }

  .machine {
    background-position: -200px -100px !important;
    background-size: cover !important;
  }

  #numbers .count {
    font-size: 30px;
  }
  #numbers .text-number-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #numbers .text-number-wrapper .et_pb_column  {
    width: 23%;
    margin: 0 !important;
  }
  .text-number-wrapper .text-number .et_pb_text_inner {
    row-gap: 5px;
  }
  .text-number-wrapper .text-number h5 {
    font-size: 15px;
  }
  .text-number-wrapper .text-number p {
    font-size: 12px;
  }
  .numbertoanimate-1 .count .et_pb_text_inner p:before,
  .numbertoanimate-2 .count .et_pb_text_inner p:before {
    left: -20px;
  }

  .latest-news .news-info h3 {
    font-size: 25px;
  }
  .latest-news .news-info p {
    font-size: 15px;
  }

  .icons-wrapper .icon-item h2 {
    font-size: 15px;
  }

  .banner-model {
    height: 80%;
    width: auto;
    overflow: hidden;
  }

  .blogs .blog-item,
  .blog-banner .blog-item {
    width: 100%;
  }
  .blogs {
    padding: 20px 0 50px 0;
    width: 90%;
  }

  .manip-tab-content {
    flex-direction: column;
  }
  .manip-tab-content .manip-tab-img,
  .manip-tab-content .manip-tab-text {
    width: 100%;
  }

  .et_pb_section.below-banner .et_pb_column {
    justify-content: center;
    gap: 4%;
    row-gap: 30px;
  }
  .et_pb_section.below-banner .et_pb_column .et_pb_module {
    width: 29%;
  }

  .img-row-gallery {
    flex-direction: column;
  }
  .img-row-gallery.top-img .et_pb_column:first-child {
    order: 2;
  }
  .img-row-gallery.top-img .et_pb_column:nth-child(2) {
    order: 1;
  }
}

@media (max-width: 767px) {
  .ingenierie-banner .vidbg-container {
    display: none;
  }
  .d-blue {
    width: 90%;
    margin: 0 auto;
  }
  .et_mobile_menu .menu-item-has-children .sub-menu {
    display: block !important;
  }

  .below-banner-row {
    background-color: rgba(21, 65, 148, 0.55) !important; 
  }

  .icons-wrapper {
    justify-content: center;
    flex-wrap: wrap;
  }
  .icons-wrapper .icon-item {
    width: 33%;
  }

  .ingenierie-banner .et_pb_row {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  .ingenierie-banner .et_pb_row:after {
    display: none;
  }
  .ingenierie-col-1 {
    order: 2;
  }
  .ingenierie-col-2 {
    order: 1;
  }
  .column-negative {
    bottom: auto;
  }

  .latest-news .news-info h3 {
    font-size: 18px;
  }
  .latest-news .news-info p {
    font-size: 14px;
  }

  .icons-wrapper .icon-item h2,
  .page-tabs .tab-text p {
    font-size: 14px;
  }

  .sytemes .et_pb_column:first-child {
    margin-bottom: 0 !important;
  }

  .page-tabs {
    display: flex;
    gap: 20px;
  }
  .page-tabs ul {
    display: flex;
    flex-direction: column;
    border: none;
    justify-content: flex-start !important;
    gap: 20px;
  }
  .page-tabs ul:after {
    display: none !important;
  }
  .page-tabs .tab-content {
    flex-direction: column;
  }
  .page-tabs li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
  }
  .page-tabs li a {
    padding: 0;
    width: 200px;
    text-align: center;
    line-height: 1.2;
  }
  .page-tabs .tab-text h2 {
    font-size: 30px;
  }
  .page-tabs .tab-text a {
    font-size: 14px;
  }
  .page-tabs .tab-img,
  .page-tabs .tab-text {
    width: 100%;
  }

  .banner.etudes-banner {
    margin-bottom: 100px;
  }
  .img-n-desc {
    flex-direction: column;
  }
  .img-n-desc .desc,
  .img-n-desc .img-gallery-etu {
    width: 100%;
  }
  .img-n-desc .desc {
    order: 2;
  }
  .img-n-desc .img-gallery-etu {
    order: 1;
    margin-bottom: 20px;
  }
  .img-n-desc .desc h3,
  .etu-extra h3 {
    font-size: 30px;
  }
  .img-n-desc .desc p,
  .etu-extra p {
    font-size: 14px;
  }

  .agence-block .et_pb_blurb_content {
    display: flex;
    flex-direction: column;
  }

  .linkedin-slider .item {
    height: 400px;
  }

  .manip-tab-wrapper {
    gap: 20px;
  }
  .manip-tab-wrapper .et_pb_tabs_controls li {
    height: auto !important;
    width: 150px;
  }
  .manip-tab-wrapper .et_pb_tabs_controls li a {
    width: 100px;
  }
  .manip-tab-wrapper .et_pb_tabs_controls {
    width: 150px;
  }
  .manip-tab-wrapper .et_pb_all_tabs {
    width: calc(100% - 170px);
  }
  .manip-tab-content .manip-tab-text {
    padding: 15px;
  }
  .manip-tab-content .manip-tab-text h2 {
    font-size: 20px;
  }
  .manip-tab-content .manip-tab-text p a {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  #numbers .text-number-wrapper .et_pb_column {
    width: 48% !important;
    justify-content: center;
  }
  .text-number-wrapper .text-number h5 {
    font-size: 13px;
  }
  .text-number-wrapper .text-number p {
    font-size: 11px;
  }
  .numbertoanimate-1 .count .et_pb_text_inner p:before,
  .numbertoanimate-2 .count .et_pb_text_inner p:before {
    left: -18px;
  }
}

@media (max-width: 600px) {
  .contact-map {
    /* background-size: contain;
    background-position: center -100px !important; */
    padding-top: 200px !important;
  }

  .below-banner-row .et_pb_column .et_pb_module {
    width: 100%;
  }
  .below-banner-row .et_pb_column .et_pb_module .et_pb_blurb_container {
    text-align: left !important;
  }

  .page-tabs li a {
    width: 100px;
  }

  .et_pb_section.below-banner .et_pb_column .et_pb_module {
    width: 100%;
  }
  #mobile_menu1 {
    width: 100%;
    max-width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
    top: 50px;
    bottom: 0;
  }

  .latest-news {
    flex-direction: column;
  }
  .latest-news .news-photo,
  .latest-news .news-info {
    width: 100%;
  }
  .latest-news .desc-wrapper {
    min-height: auto;
  }
}

@media (max-width: 500px) {
  /* .contact-map {
    padding-top: 150px !important;
  } */
  .blogs .blog-item,
  .blog-banner .blog-item {
    width: 100%;
  }

  .icons-wrapper .icon-item img {
    width: 50%;
  }

  .linkedin-slider .item {
    height: 250px;
  }

  .etu-extra .two-col-text {
    columns: 1;
  }

  .input-wrapper label {
    font-size: 18px;
  }
  .input-wrapper.half {
    width: 100%;
  }
  .input-wrapper .wpcf7-submit {
    font-size: 14px;
  }

  #menu-primary-menu li:last-child,
  #menu-primary-menu-english li:last-child {
    display: block;
  }
  .header #header-button {
    display: none;
  }

  .manip-tab-wrapper {
    flex-direction: column;
  }
  .manip-tab-wrapper .et_pb_tabs_controls {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .manip-tab-wrapper .et_pb_all_tabs {
    width: 100%;
  }
  .manip-tab-wrapper .et_pb_tabs_controls li:after {
    display: none;
  }

  .machine {
    background-position: -100px 0px !important;
    background-size: 200% !important;
  }

  .footer .et_pb_column {
    width: 100% !important;
  }
  footer p,
  footer a {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 479px) {
  .et_pb_section.below-banner .et_pb_column {
    width: 90% !important;
  }

  .filter .selection select,
   .filter .selection select option {
    font-size: 12px;
  }

  .filter button span {
    font-size: 13px;
  }
  .filter button {
    gap: 5px;
  }

  .below-banner-row > .et_pb_column {
    width: 90% !important;
  }
}

/* @media (max-width: 400px) {
  .contact-map {
    padding-top: 100px !important;
  }
} */

/* @media (max-width: 350px) {
  .contact-map {
    background-position: center -72px !important;
  }
} */

/* @media (max-width: 1300px) {
  .header #header-logo {
    order: 1;
    width: calc(100% - 255px) !important;
  }

  .header #header-menu {
    width: 70px !important;
    margin: 0 !important;
    order: 3;
  }

  .header #header-button {
    order: 2;
  }

  .header #header-menu .et_pb_menu__menu {
    display: none;
  }
  .header #header-menu .et_mobile_nav_menu {
    display: block;
  }
  .header #header-menu .mobile_menu_bar:before {
    color: #000 !important;
  }
} */