/*
Theme Name:   Multisites
Theme URI:    https://www.karoil.fr/
Description:  Thème MultiSites destiné à gérer plusieurs sites de centre de contrôle technique.
Author:       Karoil
Author URI:   https://www.karoil.fr/
Template:     fse-empire
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  multi-sites
*/

/* CSS Reset */
* {
  margin: 0;
  box-sizing: border-box;
}

p {
  margin-bottom: 0;
}

.elementor-widget:not(:last-child) {
  margin-bottom: 0 !important;
}

a:focus, button:focus {
  outline: none !important;
}

a:focus:not(.rdv_btn, .cta) {
  border: none !important;
}
/* EO CSS Reset */

/* Info centres */
.flex-info-centre > div.elementor-container {
  gap: 40px 24px;
  justify-content: center;
}

.many > div.elementor-container {
  gap: 40px 66px;
}

.many div.elementor-column {
  width: 400px !important;
  max-width: 100%;
}

.many .center-details ul {
  gap: 8px 0;
}

.elementor-divider {
  padding: 0;
}
/* EO Info centres */

/* Cards de "Pourquoi nous choisir ?" */
.why-us-cards > div.elementor-container {
  gap: 32px 30px;
  justify-content: center;
}

.why-us-cards div.elementor-column {
  width: 350px;
}
/* EO Cards de "Pourquoi nous choisir ?" */

/* Bouton primaire */
a.cta.primary {
  border-radius: 5px;
  box-shadow: 0 5px 25px 0 rgba(0, 38, 82, 0.1);
  background-color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-text-font-family);
  font-size: 16px;
  font-weight: 600;
  color: white;
  height: 52px;
  width: max-content;
  padding: 0 22px;
  border: solid 1px var(--e-global-color-primary);
  outline: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.primary:hover,
a.primary:active {
  background-color: white;
  color: var(--e-global-color-primary);
}
/* EO Bouton primaire */

/* Bannière du site */
.site-banner h1 {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: bold;
}

.site-banner p {
  font-family: var(--e-global-typography-text-font-family);
}
/* EO Bannière du site */

/* Animation liens du footer */
footer .wp-block-column p > a {
  text-decoration: none;
  position: relative;
  padding-left: 0px;
  display: inline-block;
}

footer .wp-block-column p > a::before {
  content: "";
  background: url("assets/img/icons/arrow-narrow-finner.svg") no-repeat center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0px;
  transition: all .2s ease-in-out;
}

footer .wp-block-column p > a:hover,
footer .wp-block-column p > a:active,
footer .wp-block-column p > a:focus {
  padding-left: 30px;
}

footer .wp-block-column p > a:hover::before,
footer .wp-block-column p > a:active::before,
footer .wp-block-column p > a:focus::before {
  width: 24px;
}

/* EO Animation liens du footer */


/***** GALERIE D'IMAGES *****/
/* Taille de swiper bulle */
.swiper-pagination-bullet {
  width: 13px !important;
  height: 13px !important;
  background: #ffffff !important;
}

/* Positionnement de swiper bulle */
.elementor-element .swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom : 60px !important;
}

/* Icone arrow left + right */
.eicon-chevron-left, .eicon-chevron-right{
  font-size: 35px !important;
}

.illustrationContactPhoto {
  position: relative;
}

.roadLines {
  position: absolute;
  left: 150px;
  bottom: -100px;
}


/***** GALERIE *****/
.ngg-slideshow.slick-slider {
    margin: 0 auto 0 !important;
    overflow: visible;
}
.ngg-gallery-slideshow-image{
    height: auto !important;
}

/***** FORMULAIRE DE CONTACT *****/

.elementor-2 .elementor-element.elementor-element-ba7d489 > .elementor-widget-container {
  border-radius: 10px;
}
.forminator-ui#forminator-module-170.forminator-design--flat .forminator-error-message {
  background-color: transparent !important;
}

.errorSendMail {
  border-radius: 5px !important;
  padding: 14px 50px !important;
  border: solid 1px var(--e-global-color-primary) !important;
  box-shadow: none !important;
  float: right !important;
}

.errorSendMail:hover {
  background-color: white !important;
  color: var(--e-global-color-primary) !important;
}

.forminator-ui#forminator-module-170.forminator-design--flat .forminator-error-message {
  background-color: transparent !important;
}
.forminator-ui#forminator-module-187.forminator-design--flat .forminator-button-submit:hover,
.forminator-ui#forminator-module-187.forminator-design--flat .forminator-button-submit:active {
    background-color: white;
    color: var(--e-global-color-primary);
    box-shadow: none;
    border: 1px solid var(--e-global-color-primary);
}

@media screen and (min-width: 1440px) {
  .dashed-line-1 {
    bottom: -628px !important;
  }
}


/* Elementor media tablet */
@media screen and (max-width: 1024px) {
  .site-banner {
    min-height: 480px !important;
  }
}
/* EO Elementor media tablet */


/* Elementor media mobile */
@media screen and (max-width: 767px) {
  .site-banner {
    min-height: 295px !important;
  }

  .site-banner .img-link {
    display: none;
  }

  .site-banner h1 {
    font-size: 24px !important;
  }
  
  .site-banner p {
    font-size: 16px !important;
  }

  .wp-block-group.has-global-padding {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .center-slots .elementor-shortcode {
    gap: 19px 15px;
  }

  /* FOrmulaire de contact */
  .elementor-2 .elementor-element.elementor-element-ba7d489 > .elementor-widget-container {
    margin: 0px 0px 0px 0px;
    padding: 30px 30px 18px 30px;
  }

  /* Galerie */
  .roadLines {
      display: none;
  }
  .elementor-2 .elementor-element.elementor-element-b457d92 {
      width: 80%;
      margin: auto !important;
  }

  /* Footer */
  .blocFooter{
    padding: 50px !important;
  }
  .blocWidgets {
    gap: 45px !important;
  }
  .logoFooter {
    justify-content: center !important;
  }
  .labelSociete{
    text-align: center !important;
  }
  .ulistrationHome, .blocUlist1 {
  display: none !important;
  }
  /* Copyright */
  #blocCopyright{
    flex-direction: column !important;
    gap: 0 !important;
  }

  .blocFooter{
    padding: 50px !important;
  }
  .blocWidgets {
  gap: 60px !important;
  }
  .wp-block-column-is-layout-flow {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; 
    float: left !important;
    flex-basis: 45% !important;
  }

  .elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0px !important;
  }

  /* Taille de swiper bulle */
  .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #121212 !important;
  }

  .map-section {
    height: 280px;
  }

  .mapp-wrapper {
    padding-bottom: 280px !important;
  }
}
/* EO Elementor media mobile */


/****** FOOTER ******/
:where(.wp-site-blocks) > :last-child:last-child {
    margin-block-start: 0 !important;
}

/* Changement de police de tout le contenu du footer */
footer * {
  font-family: var(--e-global-typography-text-font-family);
}

/* Modification de la police principal de l'éditeur par défaut de Wordpress */
body {
  --wp--preset--font-family--nunito: var(--e-global-typography-primary-font-family) !important;
}

/* Modification du z-index de la map de MapPress */
.mapp-wrapper {
  z-index: 9;
}
.rc-anchor-pt {
  display: none !important;
}

/* Désactivation de l'affichage du slide swiper de la galerie */
.ngg-slideshow .ngg-gallery-slideshow-image a {
	pointer-events: none;
}
