/*
	Theme Name:   MBI Global (Hello Elementor - Child)
	Theme URI:
	Description:
	Author:       VERYA Inc.
	Author URI:   https://verya.ca
	Template:     hello-elementor
	Version:      1.0
	License:      GNU General Public License v2 or later
	License URI:  http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain:  mbiglobal
*/

/*
  Colours:
    - Black: #000
    - Orange: #f26322
    - Gray: #f8f7f7
    - Dark Gray: #707070
*/


body[class*="elementor-page"] .elementor-widget-container :last-child,
body[class*="elementor-page"] .elementor-widget-text-editor :last-child,
body[class*="error404"] .elementor-widget-container :last-child,
body[class*="error404"] .elementor-widget-text-editor :last-child
  { margin-bottom:0 !important; }

body[class*="elementor-page"] .elementor-inner-section.minus-margins-10
  { margin:-10px -10px 10px !important; width:calc(100% + 20px) !important; }

.transparent
  { opacity:0; }

/*.icon-orange svg *
  { stroke:#f26322 !important; }*/

.fa-facebook-f:before, .fa-facebook:before
  { content:'\f39e' !important; } /* FontAwesome & Elementor fix */

.text-orange
  { color:#f26322 !important; }

.text-outline
  { color:transparent; -webkit-text-stroke:2px #fff; }

.text-outline-orange
  { color:transparent !important; -webkit-text-stroke:2px #f26322 !important; }

.text-right
  { text-align:right; }


/*  NAVIGATION: START */
#main-nav .elementor-icon-list-item:nth-child(3),
#main-nav-dark .elementor-icon-list-item:nth-child(3)
  { display:none; }

#main-nav .elementor-icon-list-item:nth-child(-n+3),
#main-nav-dark .elementor-icon-list-item:nth-child(-n+3)
  { margin-right:30px; }

#main-nav .lang,
#main-nav-dark .lang
  { border:2px solid #fff; border-radius:50%; font-size:16px; height:40px; justify-content:center; font-weight:700; width:40px; }

  #main-nav .lang .elementor-icon-list-text,
  #main-nav-dark .lang .elementor-icon-list-text
    { padding-left:0; }

#main-nav .close-x {}
#main-nav-dark .close-x {}

  #main-nav .close-x .elementor-icon-list-icon i,
  #main-nav-dark .close-x .elementor-icon-list-icon i
    { color:#f26322 !important; font-size:32px; width:1em; }

  #main-nav .close-x .elementor-icon-list-text,
  #main-nav-dark .close-x .elementor-icon-list-text
    { display:none; }

#main-nav .menu-bars {}
#main-nav-dark .menu-bars {}

  #main-nav .menu-bars .elementor-icon-list-icon i,
  #main-nav-dark .menu-bars .elementor-icon-list-icon i
    { color:#f26322 !important; font-size:32px; width:1em; }

  #main-nav .menu-bars .elementor-icon-list-text,
  #main-nav-dark .menu-bars .elementor-icon-list-text
    { display:none; }

#main-nav .search {}
#main-nav-dark .search {}

  #main-nav .search .elementor-icon-list-icon,
  #main-nav-dark .search .elementor-icon-list-icon
    { background-color:#fff; border-radius:50%; color:#f26322; padding:8px; }

    #main-nav .search .elementor-icon-list-icon i,
    #main-nav-dark .search .elementor-icon-list-icon i
      { width:1em; }

    #main-nav .search .elementor-icon-list-text,
    #main-nav-dark .search .elementor-icon-list-text
      { display:none; }

  /*  DARK: START */
  #dropdown-modal #main-nav-dark .elementor-icon-list-item:nth-child(-n+2)
    { display:none; }

  #dropdown-modal #main-nav-dark .elementor-icon-list-item:nth-child(3)
    { display:flex; }

  #main-nav-dark .lang
    { border-color:#000; }
  /*  DARK END */

nav .elementor-nav-menu i.fas.fa-chevron-left,
nav .elementor-nav-menu i.fas.fa-chevron-right
  { color:#f26322; font-size:20px; padding:0 0 0 10px; margin-top:0; }
/*  NAVIGATION: END */



.single-publication #contenu h2 { font-size:24px !important; }
.single-publication #contenu ol,
.single-publication #contenu ul { margin-bottom:.9rem; }



#quote {}

  #quote span
    { display:block; }
  #quote span:nth-child(1)
    { text-align:center; }
  #quote span:nth-child(2),
  #quote span:nth-child(4)
      { text-align:right; }

  #quote .icon-mbi
      { background:url('img/icon.svg') bottom left no-repeat; display:inline-block; height:.9em; margin-right:10px; width:50px; }


/*  WPCF7: START */
.form-dark .wpcf7-form ::placeholder
  { color:#000 !important; text-transform:uppercase; }
.form-dark .wpcf7-form ::-webkit-input-placeholder
  { color:#000 !important; text-transform:uppercase; }
.form-dark .wpcf7-form ::-ms-input-placeholder
  { color:#000 !important; text-transform:uppercase; }

.form-dark .wpcf7-form input:not([type="submit"]),
.form-dark .wpcf7-form select,
.form-dark .wpcf7-form textarea
  /*{ background-color:transparent; border:0; border-bottom:1px solid #fff; border-radius:0; color:#fff; font-size:13px; padding:5px 0; }*/
  { background-color:#fff !important; border:0; /*border-bottom:1px solid #fff;*/ border-radius:0; /*color:#fff;*/ color:#000 !important; font-size:13px; padding:10px; }

.form-dark .wpcf7-form select
    { background:url("data:image/svg+xml;utf8,<svg viewBox='0 0 140 140' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><g><path d='m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51,51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6,1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8,1.2 2.9,1.2 1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z' fill='black'/></g></svg>") no-repeat; color:inherit; }

.form-dark .wpcf7-form textarea
  /*{ border:1px solid #fff; padding:15px; resize:none; }*/
  { /*border:1px solid #fff;*/ padding:10px; resize:none; }

.form-dark .wpcf7-form input:focus,
.form-dark .wpcf7-form select:focus,
.form-dark .wpcf7-form textarea:focus
  { outline:0; }

.form-dark .wpcf7-form input[type="submit"]
  { border:0; color:#fff; }

.wpcf7-form input[type="file"]
  { display:none; }

.wpcf7-form select
  { -moz-appearance:none; -webkit-appearance:none; appearance:none; background-position:right 5px top 60% !important; }

.wpcf7-form .custom-file-upload
  { background-color:#f26322; border:0; border-radius:50px; color:#fff; font-size:14px; letter-spacing:0.7px; padding:10px 30px; text-transform:uppercase; }

  .wpcf7-form .custom-file-upload:hover
    { cursor:pointer; }

.wpcf7-form .ml-auto
    { margin-left:auto; }

.wpcf7-form .row
  { display:flex; gap:20px; justify-content:stretch; margin-bottom:20px; }

  .wpcf7-form .row.mb-10px
    { margin-bottom:10px; }

  .wpcf7-form div[data-class="wpcf7cf_group"]
    { margin-bottom:20px !important; }

  .wpcf7-form .row.with-margins
    { margin:-10px 0 .9rem; }

  .wpcf7-form .row .wpcf7-form-control-wrap
    { width:100%; }

.wpcf7-form .wpcf7-spinner
    { display:none; }
/*  WPCF7: END */


.elementor-widget-text-editor ol,
.elementor-widget-text-editor ul
  { margin-bottom:.9rem; }



/*  SLIDER: START */
.swiper-container .elementor-slide-description span.text-small
  { display:inline-block; font-size:48px; line-height:1em !important; }

.swiper-container .swiper-pagination .swiper-pagination-bullet-active
  { background-color:transparent !important; border:2px solid #fff; }

.swiper-container .swiper-slide-inner
  { max-width:1424px !important; } /* Content width plus (+) side padding on desktop */
/*  SLIDER: END */



/*  POST CAROUSEL: START */
.overflow-hidden
  { overflow:hidden; }

#equipe .slick-list,
#histoire .slick-list,
#publications .slick-list
  { overflow:visible !important; }

#equipe .prev-arrow.slick-arrow,
#equipe .next-arrow.slick-arrow,
#histoire .prev-arrow.slick-arrow,
#histoire .next-arrow.slick-arrow,
#publications .prev-arrow.slick-arrow,
#publications .next-arrow.slick-arrow
  { display:none !important; }

#histoire .dark-box
  { background-color:#000; color:#fff; }
/*  POST CAROUSEL: END */





/*  VERTICAL TIMELINE: START */
div.jet-timeline--align-center .jet-timeline__line
  { left:178px !important; margin:0 !important; }

div.jet-timeline--align-center .jet-timeline-item
  { flex-direction:row-reverse !important; }

  div.jet-timeline--align-center .jet-timeline-item .timeline-item__meta
    { display:block !important; flex-basis:20% !important; max-width:20% !important; order:2 !important; text-align:right !important; }

    div.jet-timeline--align-center .jet-timeline-item .timeline-item__meta .timeline-item__meta-content
      { position:relative !important; top:-12px !important; }

  div.jet-timeline--align-center .jet-timeline-item .timeline-item__point
    { margin-left:60px !important; margin-right:60px !important; order:1 !important; }

  div.jet-timeline--align-center .jet-timeline-item .timeline-item__card
    { flex-basis:80% !important; margin-left:0 !important; max-width:80% !important; order:0 !important; }

    div.jet-timeline--align-center .jet-timeline-item .timeline-item__card .timeline-item__card-content
      { padding:0 !important; }

      div.jet-timeline--align-center .jet-timeline-item .timeline-item__card-content .timeline-item__meta-content /* Chiffre, sur mobile */
        { display:none !important; }
/*  VERTICAL TIMELINE: END */



.single-emploi #job-description h3:not(:first-of-type)
    { margin-top:40px; }



#search-bar
{ display:none; }

  #search-bar .elementor-search-form__icon
    { opacity:1; }

    #search-bar .elementor-search-form__icon i
      { color:#f26322; }


/*  CARTE GOOGLE: START */
#search-address-map a:active,
#search-address-map a:focus
  { border:none; outline:0; -moz-outline-style:none; }

#search-address-results .result
  { border-bottom:1px dotted #000; padding:15px; }
/*  CARTE GOOGLE: END */



.elementor-widget-social-icons a.elementor-social-icon,
div[data-elementor-type="footer"] a.elementor-social-icon
    { display:flex; }


/* MEDIA QUERY: Mobile (<= 767px) */
@media screen and (max-width: 767px) {

  .text-outline
    { -webkit-text-stroke:2px #fff; }

  .text-outline-orange
    { color:transparent !important; -webkit-text-stroke:2px #f26322 !important; }


  .swiper-container .elementor-slide-description span.text-small
    { font-size:28px; }


  /*  VERTICAL TIMELINE: START */
  div.jet-timeline--align-center .jet-timeline__line
    { left:10px !important; }

  div.jet-timeline--align-center .jet-timeline-item .timeline-item__meta
    { flex-basis:35% !important; max-width:35% !important; order:1 !important; text-align:center !important; }

  div.jet-timeline--align-center .jet-timeline-item .timeline-item__point
    { margin-left:0 !important; margin-right:0 !important; order:2 !important; }

  div.jet-timeline--align-center .jet-timeline-item .timeline-item__card
    { flex-basis:65% !important; max-width:65% !important; order:0 !important; }
  /*  VERTICAL TIMELINE: END */


  /*  WPCF7: START */
  .wpcf7-form .row
    { flex-wrap:wrap; }

  .wpcf7-form .row .wpcf7-form-control-wrap.prenom
    { margin-bottom:20px; }
  /*  WPCF7: END */

}


/* MEDIA QUERY: Mobile, Tablet (<= 1139px) */
@media screen and (max-width: 1139px) {

  .swiper-container .swiper-slide-inner
    { margin:10px !important; max-width:1080px !important; }

}


/* MEDIA QUERY: Tablet (>= 768px wide AND <= 1139px) */
@media screen and (min-width: 768px) and (max-width: 1139px) {

  div.jet-timeline--align-center .jet-timeline__line
    { left:169px !important; }

  div.jet-timeline--align-center .jet-timeline-item .timeline-item__point
    { margin-left:45px !important; margin-right:45px !important; }

}


/* MEDIA QUERY: Tablet, Computer (>= 768px) */
@media screen and (min-width: 768px) {

  #search-bar.sticky
    { position: fixed; width:100% !important; z-index:999 !important; }

}


/* MEDIA QUERY: Computer (>= 1140px) */
@media screen and (min-width: 1140px) {

  .cols-gap-30-desktop > div[class*="elementor-column-gap"] /* For +2 cols, otherwise use margins */
    { gap:30px; }

  .swiper-container .swiper-slide-inner .swiper-slide-contents
    { margin:10px !important; }

}
