@import "/assets/css/faciliti-cta.css";

/* --------------------- SPEC ------------------------------- */
:root{

      --blue: #0F297C;
      --darkblue: #021140;
      --red: #B30030;
      --black: #000000;
      --white: #ffffff;
      --lightgreen: #7EF4B5;
      --violet: #4D006A;
      --lightblue: #F2F2FE;
      --green: #05585C;
      --lightviolet: #F6F2F7;
}


/* ---------------------------------------------------------- */

html{
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  font-weight: 500;
  color: var(--darkblue);
}

body{
  width:100%;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}


header, main, main>section, footer, footer>section{
  width: 100%;
}

header{
  padding-bottom: 100px;
}

section{
  padding: 65px 0;
}

.inner-container{
  width: 1200px;
  max-width: calc(100% - 50px);
  margin: auto;
  text-align: center;
}

.visually-hidden{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hidden {
    display: none;
}

/** Form anti-spam */
input[name="info"] {
    display: none;
}

.disabled{
  opacity:25%;
  filter: grayscale(1);
  pointer-events: none;
  cursor: auto;
}

a{
  text-decoration: none;
  color: initial;
}

h1, h2, h3{
  font-family: "Quicksand", sans-serif;
  color: var(--blue);
  line-height: 1.25;
  font-weight: 700;
}

h2{
  margin: 30px auto;
}

p{
  margin: 10px auto;
}

.fc-red{
  color: var(--red);
}

.bg_lightblue{
  background: var(--lightblue);
}

.bg_lightviolet{
  background: var(--lightviolet);
}

.mx-40 {
  margin-left: 40px;
  margin-right: 40px;
}

/*
    pour installation FACIL'iti :
    permet d'afficher des images
    optimisées pour un thème darker
*/

    html:not(.darker) img.theme_dark{
      display:none;
    }

    html.darker img.theme_light{
      display:none;
    }


/* --------------------------- BG IMAGE ------------------------------- */


.bg_header{
    position: absolute;
    display: block;
    height: 570px;
    top: 0;
    z-index:-1;
}


.bg_light{
    width: 100%;
    left: 0;
    background: var(--lightblue);
    clip-path: polygon(0 0, 100% 0, 100% 25%, 55% 85%, 0 70%);
}

.bg_dark{
    width: 58%;
    left: 42%;
    background: var(--blue);
    clip-path: polygon(310px 0, 100% 0, 100% 82%, 10% 98%);
}


.bg_visu{
    width: 58%;
    left: 42%;
    background-image: url("../img/visu_little_girl.png");
    background-position: 80px 80px;
    background-repeat: no-repeat;
    background-size: auto 470px;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 10% 98%);
}

.bg_visu > div{
    display: block;
    position: absolute;
    width: 124px;
    height: 178px;
    top: 207px;
    left: 92px;
    transform: rotate(-2.5deg);
    line-height: 0 !important;
}

.text-first{
    background: #ffffff;
    animation: 8s linear 0s infinite fadeout;
    -webkit-animation: 8s linear 0s infinite fadeout;
}

.text-first p{
    padding: 45px 10px;
    line-height: 22px;
    margin: 0 !important;
    opacity: 0.75;
    font-size: 15px !important;
    font-weight: lighter;
    font-family:Georgia, 'Times New Roman', Times, serif;
}

.text-second{
    background: #FFF3E2;
}


.text-second p{
    padding: 29px 3px;
    line-height: 30px;
    letter-spacing: 1.5px;
    margin: 0 !important;
    font-family: "Comic Sans MS";
    font-size: 17px !important;
}

.pastille_red{
    background: #FFD3D8;
}

.pastille_green{
    background: #B4FDD6;
}

.pastille_yellow{
    background: #FFEB95;
}

.pastille_blue{
    background: #ccf5ff;
}

.pastille_violet{
    background: #e0ccff;
}


.bg_visu p span,
.visu_mobile p span{
    padding: 1px;
}


@keyframes fadeout {
  0% { opacity: 1; }
  40%   { opacity: 1 }
  50%   { opacity: 0 }
  90%   { opacity: 0 }
  100%   { opacity: 1 }
}



.visu_mobile{
    display: none;
    position: relative;
    width: 100%;
    height: 450px;
    margin: 25px auto 0 auto;
    line-height: 0;
    background-image: url("../img/visu_little_girl_resize.png");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center bottom;
}

.visu_mobile > div{
    text-align: center;
    display: block;
    position: absolute;
    width: 146px;
    height: 208px;
    top: 103px;
    left: calc(50% - 242px);
    transform: rotate(-2.5deg);
    line-height: 0 !important;
    scale: 0.8;
}

.visu_mobile .text-first p{
    padding: 59px 16px;
    line-height: 30px;
    font-size: 16px !important;
}


.visu_mobile .text-second p{
    padding: 44px 10px;
    line-height: 30px;
    font-size: 16px !important;
}


header{
  background-position: 700px 0;
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 5px;
}

.comparative, .where{
  background-image: url("../img/bg_stars_01.png"),  url("../img/bg_stars_02.png");
  background-position: center top, center bottom;
  background-repeat: no-repeat;
  background-size: auto;
}

.cms .inner-container {
  text-align: left;
}

header .nav {
  display: flex;
  flex-direction: row;
  justify-content: end;
}

header .nav a {
  margin: 15px 20px;
  color: #ffffff;
}

header .top-header-logo{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header .logo_mydys{
  display:block;
  width: 240px;
  height: auto;
  margin-bottom: 50px;
}

header .logo_mydys img{
  width: 100%;
  height: auto;
}


header .logo_ces{
  display:block;
  width: auto;
  height: 130px;
}

header .logo_ces img{
  width: auto;
  height: 100%;
}

.top-header-content{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.top-header-content .top-header-text{
  max-width: 450px;
  text-align: left;
}

.top-header-text h1{
  font-size: 3em;
  margin: 0 0 15px 0;
}

.top-header-text p{
  font-size: 1.25em;
}


.download_app{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 15px;
}

.download_app a{
  width: 45%;
  font-size: 0.9em;
  font-weight: 500;
}

.download_app a img{
  display: block;
  max-width: 100%;
  margin-top: 10px;
}

img.download_btn{
  border-radius: 10px;
  max-height: 53px;
}

.top-header-content .top-header-illu{
  text-align: right;
}

.top-header-content .top-header-illu img{
  max-width: 80%;
}


/* ---------------------------------------------------------- */

.subtitle{
  color: var(--red);
  font-weight: 700;
}

main h2{
  font-size: 2.5em;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 50px auto;
}

.col-2 .col-2-1{
  width: 45%;
  box-sizing: border-box;
}

.col-3 .col-3-1{
  width: 30%;
  box-sizing: border-box;
}

.col-3 .col-3-1,
.col-4 .col-4-1,
.col-5 .col-5-1
{
    box-sizing: border-box;
    padding: 0 35px;
}


.col-4 .col-4-1{
    width: calc(100% / 4);
}

.col-5 .col-5-1{
    width: calc(100% / 5);
}

video{
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 350px;
  margin: auto;
}

figure{
  margin: 0;
  padding: 0;
}

figure img{
  width: 100%;
  height: auto;
}


figcaption{
  color: var(--blue);
  margin-top: 10px;
}

.where figcaption{
  text-transform: uppercase;
  font-weight: 700;
}


a.link_mydys{
  display:inline-block;
  padding: 10px 20px;
  background : var(--blue);
  font-family : 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1em;
  color: var(--white);
  border-radius: 5px;
  margin: 20px auto 0 auto;
}

.how figure img{
  max-width: 80%;
}

.how .numero{
  display: block;
  margin:0 auto 10px auto;
  width: 1em;
  height: 1em;
  background-color: var(--blue);
  font-size: 1.1em;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  padding: 5px;
  border-radius: 100%;
}

/* 'features' for EN website */
.features{
  align-items: center;
}

.features p{
    margin-bottom: 50px;
}

.features img{
    max-height: 170px;
    width: auto;
}

.features .bigger{
    font-size: 1.4em;
}

.features svg{
    height: 0.85em;
    width: auto;
    margin: auto 3px;
}


.features .word-space{
    word-spacing: .5em;
    margin: auto 5px;
}

.features .letter-space{
    letter-spacing: .3em;
}

.features .bg-peach{
    background: #ffddcc;
    padding-left: 5px;
    padding-right: 5px;
}

.features .txt-green{
    color: #206020;
}


.how h3{
  margin: 50px auto;
  font-size: 1.85em;
}

.award .col-2{
  text-align: left;
  align-items: center;
  flex-direction: row-reverse;
}

.award video{
  width: 100%;
  height: auto;
}

.award .subtitle{
  margin-top: 0;
}

/* Grille de comparaison des fonctionnalités */

.comparative .col-3-1,
.comparative .offer-edu{
  position: relative;
  background: var(--lightblue);
  border-radius: 15px;
  padding: 30px 0 20px 0;
}

.comparative img{
  max-width: 130px;
}

.comparative .col-3-1 h3{
  font-family: "Quicksand", sans-serif;
  color: var(--blue);
  font-size: 1.65em;
  margin: 5px auto;
}

.comparative .col-3-1 h3+span{
  font-size: 0.9em;
  color: var(--black);
}

.comparative span.price{
  font-size: 4em;
  line-height: 0.75;
  margin: 20px auto;
}

.comparative span.price sub,
.comparative span.price sup
{
  font-size: 0.35em;
}

.comparative span.price sub{
  vertical-align: bottom;
}

.comparative span.price sup{
  padding: 0 10px 0 0;
  vertical-align: middle;
}



.comparative .sep-comparative{
  background-image: url("../img/sep-comparative.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  margin-top: 20px;
  margin-bottom: -90px;
  height: 100px;
  width: 100%;
}

.comparative div span{
  display: block;
  margin: 10px auto;
  font-size: 0.85em;
  max-width: calc(100% - 30px);
}

.comparative .list span{
  text-align: left;
}

.comparative i{
  margin-right: 10px;
}

.comparative .available i{
  color: var(--green);
}

.comparative .unavailable{
  color: var(--red);
}

i.fa-check::before{
  content: url('../img/fa-check.svg');
  display: inline-block;
  width: 12px;
  height: auto;
  vertical-align: text-top;
}

i.fa-xmark::before{
  content: url('../img/fa-xmark.svg');
  display: inline-block;
  width: 12px;
  height: auto;
  vertical-align: text-top;
}

.comparative a.mentions{
  font-size: 0.7em;
  font-style: italic;
  text-decoration: underline;
  margin-top: 30px;
  color: inherit;
  display: block;
}

.comparative .offer-edu{
  max-width: 850px;
  padding: 30px 15px 40px 15px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;

}

.offer-edu .col-1-2-edu{
  width: calc(25% - 50px);
  margin-right: 50px;
}

.offer-edu img{
  width: 100%;
}

.offer-edu .col-2-2-edu{
  width: 75%;
  text-align: left;
}

.offer-edu h3{
  font-family: "Quicksand", sans-serif;
  color: var(--blue);
  font-size: 1.25em;
  margin: 5px auto;
}

.offer-edu a.link_edu{
  margin-top: 20px;
}

i.fa-external-link{
  margin-left: 10px;
}

.most-popular{
  position: absolute;
  background: var(--blue);
  color: var(--white);
  width: 100%;
  height: 17px;
  top: 0;
  left: 0;
  padding: 3px 0;
  border-radius: 10px 10px 0 0;
  font-size: 0.7em;
  text-transform: uppercase;
  font-weight: 600;
}

/* 'testimonials' for EN website */

.testimonials .col-3{
    align-items: initial;
}

.testimonials .quote{
    color: var(--blue);
    margin-bottom: 25px;
}

.testimonials .author{
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.testimonials .role{
    font-size: 0.9em;
}


/* --------------------------------------------------------- */

.contact-form{
  padding: 80px 0;
}

form{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family : 'Quicksand', sans-serif;
  font-size: 1.1em;
  box-sizing: border-box;
  text-align: left;
  margin: 50px auto;
  max-width: 750px;
}

form label{
display: block;
margin: 0 0 10px 0;
}

form input,
form textarea{
  padding: 15px 20px;
  margin-bottom: 50px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  font-size: 1em;
}

form textarea{
  min-height: 6em;
  resize: none;
}

form p{
  margin: 0 auto 50px auto;
}

form input[type="submit"], form button {
  display: inline-block;
  margin: auto;
  padding: 15px 40px;
  background : var(--red);
  font-family : 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--white);
  border-radius: 10px;
  border:none;
}

.msg {
  margin: 15px;
  padding: 15px;
  border-radius: 3px;
}

.msg.success {
  background: #d4edda;
}

.msg.error {
  background: #ffd1d1;
}

.msg.error a {
  color: var(--blue);
  text-decoration: underline;
}

/* -------------------------------------------- */


/* --- FAQ --- */
.faq{
  padding-top: 50px;
}

.faq_item{
  text-align: left;
  border-bottom: 1px solid #DEDEFC;
  padding: 50px 20px;
}

.faq_symbol{
  display: inline-block;
  cursor: pointer;
}

.faq_symbol:before{
  width: 30px;
  height: 30px;
  content:"-";
  display: inline-block;
  border-radius: 5px;
  margin-right: 35px;
  background-color: var(--lightgreen);
  color: var(--darkblue);
  font-family: 'Quicksand', sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  transition: all 0.25s linear;
}

.faq_item.not_expanded .faq_symbol:before{
  content:"+";
  background-color: #021140;
  color: #ffffff;
  transition: all 0.15s linear;
}

.faq_item h3{
  margin: 0;
  padding: 0;
}

.faq_item button{
  background: none;
  border: none;
  width: calc(100% - 90px);
  text-align: left;
  color: var(--blue);
  padding: 10px;
  font-size: 1.25em;
  line-height: 1.5;
  font-weight: 500;
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.faq_item button:hover{
  text-decoration: underline;
}

.faq_item > div{
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.5s ease-out;
}

.faq_item.not_expanded > div{
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s ease-out;
}

.faq_item > div p{
  margin : 50px 0 0 80px;
  line-height: 2;
  color: var(--darkblue);
}

.faq_item.not_expanded > div p{
  height: 0;
  margin: 0;
}

.faq_item .faq_yes{
  background-color: var(--lightgreen);
  color: var(--darkblue);
  padding: 5px 10px;
  margin-right: 5px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
}

.faq_item p a{
  text-decoration: underline;
  color: var(--red);
}


/* ---------------------------------------------------------- */

footer{
  margin: 0 auto 30px auto;
  padding-bottom: 20px;
}

footer img.illu_footer{
  max-width: 350px;
  height: auto;
  margin: 0 auto 50px auto;
}

footer .separation-line{
  background: #DEDEFC;
  width: 50%;
  height: 1px;
  margin: 50px auto;
}

footer form{
  text-align: left;
  margin: 50px auto;
}

footer label{
  display: block;
  margin-bottom: 10px;
}

footer .form_mail_user{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-family : 'Quicksand', sans-serif;
  font-size: 1.1em;
  box-sizing: border-box;
}

footer .form_mail_user input[type="email"]{
  width: 100%;
  height: auto;
  box-sizing: border-box;
  margin: 0 50px 0 0;
  padding: 15px 20px;
  border: 1px solid #DEDEFC;
  border-radius: 10px;
  font-family: inherit;
  font-size: inherit;
}


footer .form_mail_user input[type="submit"]{
  width: auto;
  min-width: initial;
  height: auto;
  padding: 15px 50px;
  box-sizing: border-box;
  background-color: #021140;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.5;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

footer .form_mail_user input[type="submit"]:hover{
  background-color: var(--lightgreen);
  color: var(--darkblue);
}

footer form p{
  margin: 30px auto;
  font-size: 0.85em;
}
/* --- encart mydys edu --- */

footer section.mydys_edu{
  margin-top: 80px;
  padding: 50px 0;
}

footer a.underline{
  text-decoration: underline
}

footer a.link_edu{
  display:inline-block;
  padding: 15px 40px;
  background : var(--violet);
  font-family : 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--white);
  border-radius: 10px;
  margin: 30px auto 0 auto;
}

/* --- il parlent de nous --- */
footer nav+p{
  font-size: 0.85em;
  margin: 30px auto 0 auto;
}

footer .logo_press{
  padding: 50px 0;
  margin-top: 80px;
}

.logo_press .col-3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin: 80px auto;
}

.logo_press img{
  max-width: 150px;
  max-height: 90px;
}

.logo_press h4{
  font-size: 1em;
  font-weight: normal;
}


/* --- encart certif --- */

footer section.certif{
  padding: 50px 0;
}

footer section.certif img{
  width: auto;
  max-height: 150px;
}



footer .credits{
  color: var(--blue);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  max-width: 90%;
  font-size: 1.15em;
}

footer .credits img{
  height: 1.5em;
  margin-top: -5px;
  vertical-align: middle;
}

footer nav {
  font-family : 'Quicksand', sans-serif;
  font-size:0.85em;
  text-align: center;
  margin: 25px auto 0 auto;
}

footer nav a {
  color: var(--blue);
  margin: 0 15px;
}

footer nav a:hover {
    text-decoration: underline;
}

footer nav a.selected {
  color: var(--red);
}

.subscription-error {
  border-radius: 10px;
  padding: 15px;
  background: #f8d7da;
  color: #721c24;
}

.subscription-error a {
  color: inherit;
}

.subscription-success {
  display: inline-block;
  padding: 15px;
  border-radius: 10px;
  background: #d4edda;
  color: #155724;
}

/* --- page CGU / Mentions lgéales --- */

.ml h2{
  font-size: 1.8em;
}

.ml h3{
  font-size: 1.5em;
}

/* ------------------------------------------------------------------------------------
      RESIZE
   ------------------------------------------------------------------------------------ */

@media (max-width: 1024px){

  header {
    padding-top: 5px;
    padding-bottom: 0;
    background: var(--lightblue);
  }

  header .logo_ces{
    height: 60px;
  }

  .bg_light,
  .bg_dark,
  .bg_visu{
      display: none;
  }

  .visu_mobile{
      display: block;
  }

  header .nav a { 
    color: var(--black);
  }

  .top-header-content{
    flex-direction: column;
  }

  header .logo_mydys{
    width: auto;
    max-width: 300px;
    margin: 25px auto;
  }

  .top-header-content .top-header-text{
    width: 95%;
    max-width: initial;
    margin: auto;
    text-align: center;
  }

  .top-header-text br{
    display: none;
  }

  .top-header-text h1{
    font-size: 2.2em;
  }

  .top-header-text p{
    font-size: 1em;
  }


  .download_app{
    margin: 25px auto;
    max-width: 450px;
  }

  .download_app a{
    display: inline-block;
    margin: auto 15px;
}

  .download_app a img{
    margin: auto;
  }

  main h2{
    font-size: 1.75em;
  }

  .top-header-content .top-header-illu img{
    max-width: 95%;
  }

  .faq_item button{
    font-size: 1.1em;
  }


  .col-5{
    justify-content: center;
  }

  .col-5 .col-5-1{
      width: calc(100% / 3);
      margin: 25px auto;
  }

  .testimonials .col-3 .col-3-1{
    width: 100%;
    margin: 25px auto;
  }





}

@media (max-width: 767px){

  main>section{
    padding-bottom: 50px;
  }

  .top-header-content{
    display: block;
    margin-top: 75px;
  }

  .top-header-content .top-header-text{
    width: 100%;
    max-width: initial;
    text-align: center;
  }

  .top-header-content .top-header-illu{
    margin-top: 50px;
    text-align: center;
  }

  .top-header-content .top-header-illu img{
    max-width: 80%;
  }

  .download_app{
    display: block;
  }

  .download_app a img{
    margin: 10px auto;
  }


  .col-5 .col-5-1{
      width: calc(100% / 2);
  }


  .col-2,
  .col-3{
    display: block;
  }

  .col-3 .col-3-1{
    display: block;
    width: 100%;
    margin: 50px auto;
  }

  .how img{
    width: 300px;
    max-width: 90%;
    height: auto;
  }

  .how a img{
    width: auto;
    max-width: 90%;
    height: auto;
  }

  .where img{
    width: 90%;
    max-width: initial;
    height: 150px;
    object-fit: cover;
  }

  .col-2 .col-2-1{
    display: block;
    width: 100%;
    margin: 25px auto;
  }

  .award .col-2{
    text-align: center;
  }

  .award .col-3-1{
    padding: 30px 15px;
  }

  .award video{
    margin-top: 25px;
  }

  .award .col-3-1 p{
    top: initial;
    transform: none;
  }

  .offer-edu .col-1-2-edu,
  .offer-edu .col-2-2-edu{
    width: 100%;
    margin: auto;
    text-align: center;
  }

  .faq_item{
    padding: 35px 5px;
  }

  .faq_symbol:before{
    margin-right: 5px;
  }

  .faq_item > div p{
    margin: 25px 0 0 50px;
  }

  .logo_press .col-3{
    margin: 80px auto 80px auto;
  }


  .logo_press .col-3
  {
      display: inline-block;
      width: 100%;
      max-width: 500px;
      margin: 25px auto;
  }

  .logo_press .col-3-1{
      display: inline-block;
      width: 100%;
      max-width: 500px;
      margin: 75px auto;
  }

  .logo_press .col-3-1:nth-child(1){
      margin-top: 30px;
  }

  footer .separation-line{
    width: 90%;
  }

  footer .form_mail_user{
    display: block;
    text-align: center;
  }

  footer form p{
    text-align: center;
  }

  footer .form_mail_user input[type="email"]{
    margin: 0 auto 25px auto;
  }

  footer .credits{
    max-width: 100%;
  }



}
