/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
  }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

  ::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
  }

  ::selection {
    background: #b3d4fc;
    text-shadow: none;
  }

/*
 * A better looking default horizontal rule
 */

  hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
  }

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

  audio,
  canvas,
  iframe,
  img,
  svg,
  video {
    vertical-align: middle;
  }

/*
 * Remove default fieldset styles.
 */

  fieldset {
    border: 0;
    margin: 0;
    padding: 0;
  }

/*
 * Allow only vertical resizing of textareas.
 */

  textarea {
    resize: vertical;
  }

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

   .browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
  }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

   .hidden {
    display: none !important;
  }

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

  .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
  }

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

  .visuallyhidden.focusable:active,
  .visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
  }

/*
 * Hide visually and from screen readers, but maintain layout
 */

  .invisible {
    visibility: hidden;
  }

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

  .clearfix:before,
  .clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
  }

  .clearfix:after {
    clear: both;
  }

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
  }

  @media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
  }

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
      background: transparent !important;
        color: #000 !important; /* Black prints faster:
        http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
      }

      a,
      a:visited {
        text-decoration: underline;
      }

      a[href]:after {
        content: " (" attr(href) ")";
        }

        abbr[title]:after {
          content: " (" attr(title) ")";
          }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

          a[href^="#"]:after,
          a[href^="javascript:"]:after {
            content: "";
          }

          pre {
            white-space: pre-wrap !important;
          }
          pre,
          blockquote {
            border: 1px solid #999;
            page-break-inside: avoid;
          }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

          thead {
            display: table-header-group;
          }

          tr,
          img {
            page-break-inside: avoid;
          }

          p,
          h2,
          h3 {
            orphans: 3;
            widows: 3;
          }

          h2,
          h3 {
            page-break-after: avoid;
          }
        }

        body{
          background: linear-gradient(225deg, rgba(140,198,63,0.05) 0%, rgba(0,102,204,0.05) 100%);
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
          -webkit-font-smoothing: antialiased;
          image-rendering: -webkit-optimize-contrast;
          -webkit-hyphens: auto;
          -moz-hyphens: auto;
          -ms-hyphens: auto;
          -o-hyphens: auto;
          hyphens: auto;
        }

        header {
          background: #eceff1;
          text-align: center;
          height: 88px;
          margin : 0 auto;
          padding: 10px 0 10px 0;
        }

        #logoPictHeader{
          max-width:890px;
          margin:auto;
        }

        #logoHeader{
          width:264px;
        }

        #pictoHeader{
          height:80px;
          display:none;
        }

        #container{
         max-width: 890px;
         padding: 50px 20px;
         margin: auto;
         background:#fff;
       }

       .section{
        margin-bottom:100px;
       }

       #section1{
        text-align: center;
      }

      #publi{
        text-align: center;
        margin-top: 40px;
        display: none;
      }

      #titre{
        display: flex;
        margin: auto;
      }

      #ballonTitre{
        height: 100px;
        margin-right: 10px;
        display: none;
      }

      h1 {
        font-size: 7vw;
        line-height: 8vw;
        color: #333;
        margin-top: 0;
      }

      .photo{
        margin:20px auto 30px auto;
        width:100%;
      }

      .chapo {
        text-align: left;
        color: #666;
        font-weight: 800;
        font-size: 16px;
        line-height: 26px;
        margin: auto auto 20px auto;
        //width: 85%;
      }

      .chapo2{
        text-align: left;
        color: #333;
        font-weight: 700;
        font-size: 16px;
        line-height: 26px;
        margin : 0 auto 20px auto;
      }

      .chapo3{
        text-align: left;
        color: #00bfff;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        margin : 0 auto;
      }


      .texte {
        font-size: 16px;
        line-height: 24px;
        text-align: justify;
        //background: url(../img/grand_carre_fond.png) no-repeat bottom right;
      }

      .finIntro {
        font-size: 25px;
        color: #00bfff;
        line-height: 28px;
        text-align: center;
        font-weight: 700;
        margin-top: 50px;
        margin-bottom: 50px;
      }

      h2 {
        padding :15px 0 0 15px;
        margin-top: 75px;
        margin-bottom: 10px;
        font-size: 24px;
        line-height: 28px;
        min-height:68px; 
        color: #333;
        text-align: left;
        font-weight: 700;
        background: url(../img/ballon.png) no-repeat top left;
      }

      #h2spe {
        height: 180px!important; 
      }

      .conseil {
        background: #ebf8ff;
        text-align: left;
        padding: 10px;
        font-weight: 600;
        margin: 30px auto;
        font-size: 14px;
        line-height: 20px;
      }

      .conseil img {
       height: 180px;
       margin-right: 10px;
       display: block;
       float: left;
     }

     .selectionnez{
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      vertical-align: middle;
      font-weight: 700;
      margin: 0 auto;
      font-size: 16px;
      color:#00bfff;
    }

    .fleche{
      width: 34px;
      height: 34px;
      margin: 10px 0 0 10px;
    }

    .fondBleu{
      background:#ebf8ff;
      padding :10px 0 1px 10px;
      margin-top:20px;
    }

    .imgBlock{
      width: 80%;
      margin: 0 auto 50px auto;
    }

    #section2{
      //text-align: center;
    }

    #bloc2{
      margin: 110px auto 0 auto;
    }

    #deuxBlocs{
      position:relative;
      text-align:center;
    }

    #flecheBloc{
      position:absolute;
      transform: ;
      transform: translate(-50%,0) rotate(90deg);
      left:50%;
      top:46%;
      height: 70px;
    }

    #bulle{
      width:80%;
      margin:30px auto;
    }

    a{
      text-decoration: none;
    }

/*/////// BOUTONS //////////*/


.barreBoutons{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center!important;
  margin: auto;
  margin-bottom: 25px;
  padding-top: 25px;
}


.femme {
  background: #eceff1;
  max-width: 700px;
  padding: 10px;
  max-width: 649px;
  margin-bottom:40px;
}


.homme{
  background:#ebf8ff;
  margin-bottom: 40px;
}

.bouton{
  width:130px;
  height:130px;
  -webkit-border-radius: 75px!important;
  -moz-border-radius: 75px!important;
  border-radius: 75px!important;
  margin: 0 5px 60px 5px;
  transition-duration: 0.5s;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.25);
  box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.25);
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 0px solid #000000;
}

.bouton:hover{
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.25);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.25);
}

.boutonBleuCarre {
  display: block;
  width: 110px;
  height: 110px;
  padding: 5px;
  margin:5px;
  background: rgb(0,102,204);
  background: linear-gradient(225deg, rgba(0,102,204,1) 0%, rgba(0,51,204,1) 100%);
  color: #fff!important;
  font-size:10px;
  position:relative;
  transition: background-color 2s ease-out 100ms
}

.boutonBleuCarre:hover{
  background: rgb(140,198,63);
  background: linear-gradient(225deg, rgba(140,198,63,1) 0%, rgba(0,146,69,1) 100%);
  transition: background-color 2s ease-out 100ms
}

.barreBoutonsMobile {
  position: absolute;
  top: 40%;
  left: 50%;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transform: translate(-50%,-50%);
}

.barreBoutonsDesktop{
  font-size: 14px;
  font-weight: 800;
  color: #86939e;
  text-align: center;
  display:none;
}

#select2{
 width: 230px; 
}

.illustr{
  text-align:center;
}

.illustr img{
  width:100%;
  margin:auto; 
}

.map{
  margin:auto!important;
}

area{
  cursor:pointer;
  border:none;
}

area:hover{
  cursor:pointer;
  border:none;
}



.texte ul {
  list-style: url(../img/fleche.png);
  margin: 0;
  text-align: left;
}

.texte ul li{
  margin:10px;
}

h3{
      font-weight: 700;
    font-size: 21px;
    line-height: 26px;
    text-align: center;
    margin-top: 20px;
    color: #0066cc;
}

em{
  font-weight:bolder;
  font-style:normal;
}

.carte{
  width:100%!important;
  margin:auto!important;
}

footer{
  font-size: 12px;
  line-height: 18px;
  font-weight:400;
  color:#333;
  background : #dbdbdb;
  padding:40px;
  text-align:justify;
}


@media (min-width: 450px) {
  h1{
    font-size: 35px;
    line-height: 40px;
    color: #333;
  }




}


@media (min-width: 520px) {
  #h2spe {
    height: 120px!important; 
  }
}



@media (min-width: 768px) {

 #logoPictHeader {
  width: 90%;
  display:flex;
  flex-direction: row;
  justify-content: space-between;
}


#pictoHeader {
  height: 80px;
  display: block;
  margin-top: 6px;
}

.conseil img {
  height: 220px;
  margin-right: 20px;
  display: block;
  float: left;
}

.fleche{
  margin-left: 10px;
}


.imgBlock{
  width: 45%;
  margin-bottom: 50px;
}

#bloc1{

  margin:auto;
  margin-right:10px;
}

#bloc2{
 margin-left:10px;
 margin:auto;
}

#deuxBlocs{
  position:relative;
  display:flex;
  flex-direction: row;
  margin:auto;
  text-align: center;
}

#flecheBloc {
  position: absolute;
  transform: ;
  transform: translate(-50%,0%) rotate(0deg);
  left: 50%;
  top: 50%;
  width: 100px;
}

.photo{
  width:80%;
}

.carte{
  width:80%!important;
}

#bulle {
  width: 474px;
}

#h2spe {
  height: 100px!important; 
}

}

@media (min-width: 992px) {



  .carte{
    width:75%!important;
  }



}


@media (min-width: 1300px) {

  .texte ul {
    padding-left: 70px;
  }
}







