/*
Theme Name: Hello Elementor Child
Description: Ecole de la deuxieme chance Savoie
Author: Naoms - Behu Webdesign
Author URI: https://behu-webdesign.fr/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/**** TYPOS ****/
p:last-child {
    margin-bottom: 0;
}
.titre-span span {
    font-family: "Square Peg", sans-serif;
}
.titre-span h1 span {
    font-size: 55px;
    font-weight: normal;
    line-height: 1.3em;
}
.txt-mentions {
    padding-top: 1.1em;
}
.txt-mentions h2 {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 800
}
.txt-mentions p a {
    color: #2A337C;
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.15s ease-in-out;
}
.txt-mentions p a:hover {
    color: #004E95;
}
@media (max-width: 767px) {
   .titre-span h1 span {
       font-size: 45px;
   } 
}
.h2-couleurs span {
    color: #FCD43D;
}
/***** BOUTONS ****/
.btn-icon .elementor-button-icon svg {
    width: 1.8em
}
.btn-icon .elementor-button-content-wrapper {
    align-items: center;
}

/***** MENU / HEADER ****/
#menu-desktop .sub-menu {
    position: fixed;
    width: 100%!important;
    max-width: none!important;
    left: 0!important;
    top: 94px!important;
    padding-left: calc(((100vw - 1090px)/2) + 160px);
    max-width: auto;
    z-index: 2;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.08)
}
#menu-desktop .sub-menu li {
    width: fit-content;
    float: left;
    margin-right: 20px;
}
#menu-desktop .sub-menu li a:hover {
    font-weight: 600!important
}
#menu-mobile .elementor-nav-menu {
    padding-top: 24px;
    margin-left: 14%;
    margin-right: 16%
}
.rub-menu-mob a {
    font-size: 20px!important;
    margin-top: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px!important;
    border-bottom: 1px solid #FCD43D;
}
.contact-menu a {
    margin-top: 20px;
}
/**** HOMEPAGE ***/
@media (min-width: 1025px) {
 #sn-home-intro::before {
   content:"";
   position: absolute;
   width: 70%;
   left: 0;
   background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/paysage-accueil_web.webp");
   background-size: cover;
   background-repeat: no-repeat;
    }   
}
#titre-anime-home .elementor-headline-dynamic-letter {
    margin-left: -1px;
    margin-right: -1px;
    padding-left: 2px;
    padding-right: 2px;
    background: linear-gradient(rgba(255,0,0,0) 30%, #004E95 30% 82%, rgba(255,0,0,0) 82%);
}

/**** CHIFFRES CLES ****/
.chiffres-cles::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 80px;
    background-color: #FCD43D;
    border-radius: 40px;
    left: 50%;
    transform: translateX(-50%);
    top: 0px;
}
/*** BOITES ICONES ***/
.boites-formation {
    min-height: 270px;
}
.boites-formation .elementor-icon-box-icon {
    text-align: center;
}
@media (max-width: 767px) {
  .boites-formation {
      width: 47.5%!important;
  }
  .boites-formation .elementor-widget-container {
      padding: 16px 10px 10px 10px!important;
  }
  .boites-formation h3 {
      font-weight: 700!important;
      text-transform: none!important;
  }
}
/**** ACCORDEONS INFOS ****/
.infos-pratiques .e-n-accordion-item-title {
    box-shadow: 0px 2px 3px #00000029;
    justify-content: space-between;
}
.infos-pratiques .elementor-widget-text-editor p a {
    color: #2A337C;
    text-decoration: underline;
    transition: all 0.15s ease-in-out;
}
.infos-pratiques .elementor-widget-text-editor p a:hover {
    color: #004E95;
}
.infos-pratiques h3 {
    display: inherit;
}
.infos-pratiques h3::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}
#prat-horaires h3::before {
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-horaires.svg");
}
#prat-bus h3::before {
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-bus.svg");
}
#prat-velo h3::before {
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-velo.svg");
}
#prat-voiture h3::before {
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-voiture.svg");
}
#prat-covoiturage h3::before {
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-covoiturage.svg");
}
#prat-repas h3::before {
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-repas.svg");
}
#prat-loger h3::before {
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-seloger.svg");
}
#prat-indemnites h3::before {
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-indemnisation.svg");
}
/**** ONGLETS MEDIAS ***/
#galeriepresse .elementor-gallery-item__description::after, #galeriephotos .elementor-gallery-item__description::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 60px;
    background-image: url("https://www.e2c73.com/wp-content/uploads/2023/09/picto-voir-plus.svg");
    background-repeat: no-repeat;
    background-size: contain;
    left: 50%;
    transform: translateX(-50%);
    bottom: -80px;
}
