/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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: #000;
  font-family: "Avenir-Book", SansSerif;
  font-weight: 200;
}

/*
 * 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{color:#e75012 }

/*
 * 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
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

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

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* 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;
}


.text-grey{color:#707070}
.text-orange {color: #e75012}

/* BTNS */
.btn-flat {
  border-radius: 0;
  border-width: 1px;
  box-shadow: none
}

.btn-wrap {
  white-space: normal;
}

.btn-orange {
  background-image: none;
  background-color: #e75012 !important;
  color: #fff !important;
  font-weight: bold !important;
  text-shadow: none;
  border: 1px solid #e75012 !important;
}


.btn-orange:hover {
  background-color: #ffffff !important;
  color: #e75012 !important;
  border: 1px solid #e75012 !important;
}


.btn-outline-orange {
  background-image: none;
  background-color: #ffffff !important;
  color: #e75012 !important;
  font-weight: bold !important;
  text-shadow: none;
  border: 1px solid #e75012 !important;
}


.btn-outline-orange:hover {
  background-color: #e75012 !important;
  color: #ffffff !important;
  border: 1px solid #e75012 !important;
}


.btn-outline-grey{
  background-image: none;
  background-color: #ffffff !important;
  color: #707070 !important;
  font-weight: normal !important;
  text-shadow: none;
  border: 1px solid #707070 !important;
}


.btn-outline-grey:hover {
  background-color: #707070 !important;
  color: #ffffff !important;
  border: 1px solid #707070 !important;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
  background-color: #707070 !important;
  color: #ffffff !important;
  border: 1px solid #707070 !important;
}

.btn-grey {
  background-image: none;
  background-color: #ffffff !important;
  color: #625555 !important;
  text-shadow: none;
  border: 1px solid #625555 !important;
}
.btn-grey:hover {
  background-color: #625555 !important;
  color: #ffffff !important;
}

.btn-link{text-decoration: none}
.btn-link:hover{text-decoration: underline}




.background-grey{background-color: #eeeeee}
.background-orangef{background-color: #aa2600;}
.background-orange{background-color: #e75012;}
.background-rose{background-color: #fceae2;}

/* CONTENT */
body{background: #fff url(../img/fond.png) top left repeat-x;font-family: 'Avenir-Book', sans-serif !important;font-weight: 200;line-height:1.1}

#header{}
#header ul.nav a{color:#000}

p{font-size: 1rem}
ul li{font-size: 1rem; margin-bottom: 10px}
.card .img-card{height:70px;padding-bottom: 20px}

#bandeau{background-color: #111a1f; }
#bandeau #bloc-ja1{position: absolute; top:50px; width:550px;background-color: #e75012; color:#ffffff}
#bandeau #bloc-ja1 p{font-size: 1.1rem;}
#bandeau #bloc-ja1 h2{font-size: 1.7rem; line-height: 2.2rem}

#ja_cestquoi #bloc-test-eligibilite{background-color: #e75012; color:#ffffff}
#ja_cestquoi #bloc-test-eligibilite p{font-size:1.2rem;}
#ja_cestquoi #bloc-slide-height{height:250px; }
#ja_cestquoi #bloc-slide{top:0;/*min-height:467px;*/border-top: 1px solid #e75012;border-bottom: 1px solid #e75012;background-color: #fff; }
#ja_cestquoi #bloc-slide .bx-wrapper{box-shadow: none;}
#ja_cestquoi #bloc-slide .slider .bloc-slide{}
#ja_cestquoi #bloc-slide .slider .bloc-slide .text{min-height:100px;}
#ja_cestquoi #bloc-slide .slider .bloc-slide .text p{font-size: .7rem}
#ja_cestquoi .bx-wrapper{margin-bottom: 0}
#ja_cestquoi .bx-wrapper .bx-controls-direction a{top:30%;margin:0;text-indent: initial; background: none; font-size: 2.5rem; color:#000;}


#bandeaufaq{background-color: #000; }
/*#bandeaufaq #bloc-titre{position: absolute; top:50px; }
#bandeaufaq #bloc-titre h1{font-size: 4rem; color:#e75012; font-weight: bold}*/
#bandeaufaq #bloc-titre{position: absolute; top:50px; width:550px;background-color: #e75012; color:#ffffff}
#bandeaufaq #bloc-titre p{font-size: 1.1rem;}
#bandeaufaq #bloc-titre h2{font-size: 1.7rem; line-height: 2.2rem}
#faq h1{font-size: 2.4rem}
#faq h2{font-size: 1.4rem; color: #e75012}
#faq .reponse{font-size: 1rem; color: #212529}

.fullscreen{
  position: absolute;
  width: 100vw;
  max-width: none;
  height: 100%;
  margin: 0;
}

.illustration{position: absolute;left:0;bottom: 0;}

#layer-start{background:#e75012 url("../img/fond.png")  top center repeat-x;/*background-size: cover !important;*/}
#layer-questionnaire{background:#e75012 url("../img/fond.png")  top center repeat-x;/*background-size: cover !important;*/}
#layer-resultats .header{background:#e75012 url("../img/fond.png") top center repeat-x; height:calc(100vh - 150px);}

#modal-test .modal-header, #modal-test .modal-footer{border:0}
#modal-test h2{color:#000000;}
#modal-test h3{color: #000000;}
#modal-test label{ font-size: 1rem; cursor: pointer}
#modal-test #div-formulaire label{ font-size: .8rem;}
.ui-autocomplete{ z-index: 10001}

#question_2,#question_3,#question_4,
#question_5,#question_6,#question_7,#question_8,#btn-lancetest{display: none;}

#modal-test .questionsja{display:none;}

.error {
  color: #ff0000;
}

.form-group.has-error{
  color: #ff0000;
}
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
  color: #ff0000;
  border: 1px solid #f00;
}
.form-group.has-success {
  color: #0b8017;
}
.form-group.has-success input, .form-group.has-success select, .form-group.has-success textarea {
  color: #0b8017;
  border: 1px solid #0b8017;
}


/* MMENU */

.menuburger {
  box-sizing: border-box;
  color: #ffffff;
  font-size: 16px;
  line-height: 40px;
  padding: 0;
  position: absolute;
  bottom:10px;
  right:0;
}

.menuburger a.lienmenu {
  display: block;
  padding: 11px;
  width: 50px;
  font-size: 0.6em;
  text-decoration: none;
  color: #ffffff;
}

.menuburger a.lien-services {
  display: block;
  left: 0;
  position: absolute;
  top: 35px;
}

.menuburger a.lien-services i {
  font-size: 2.5em;
  color: #000000;
}

.menuburger a.lienmenu::before, .menuburger a.lienmenu::after {
  background: #ffffff none repeat scroll 0 0;
  content: "";
  display: block;
  height: 3px;
}

.menuburger a.lienmenu span {
  background: #ffffff none repeat scroll 0 0;
  display: block;
  height: 3px;
  margin: 6px 0;
}

.menuburger a.panier {
  color: #000000;
}

.mm-menu.mm-theme-black {
  background: #e75012;
}

.mm-menu > .mm-navbar,
.mm-panels,
.mm-panels > .mm-panel {
  background: none;
}

.mm-navbar-top-1 {
  text-align: center;
  position: relative;
  border-bottom: none;
}

.mm-navbar-top-1:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 1px;
}

.mm-navbar-top-1 > * {
  display: inline-block;
  vertical-align: middle;
}

.mm-navbar-top-1 a {
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.mm-navbar-top-1 img {
  opacity: 1;
  /*border: 5px solid #808285;*/
  border-radius: 60px;
  width: 100px;
  height: 100px;
  padding: 0;
  margin: 0 10px;
}

.mm-navbar-top-1 a {
  border-radius: 40px;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 16px !important;
  line-height: 40px;
  width: 40px;
  height: 40px;
  padding: 0;
}

.mm-navbar-top-1 a:hover {
  border-color: #ffffff;
  color: #ffffff !important;
}

.mm-listview {
  text-transform: uppercase;
  font-size: 12px;
}

.mm-listview li:last-child:after {
  content: none;
  display: none;
}

.mm-listview a,
.mm-listview span {
  text-align: left;
}

.mm-listview .mm-next.mm-fullsubopen + a,
.mm-listview .mm-next.mm-fullsubopen + span {
  padding-right: 20px;
}

.mm-listview > li > a,
.mm-listview > li > a + span,
.mm-listview > li > a .fa {
  color: rgba(255, 255, 255, 0.6);
}

.mm-listview > li > a:hover,
.mm-listview > li > a:hover + span,
.mm-listview > li > a:hover .fa {
  color: #ffffff;
}

.mm-listview > li .fa {
  position: absolute;
  left: 20px;
  top: 50%;
  margin-top: -10px;
}

.mm-listview > li > a, .mm-listview > li > span {
  padding: 10px 10px 10px 50px;
}

.mm-listview .points {
  font-size: 20px;
}


body.modal-open .mm-slideout{
  z-index:inherit;
}
body.modal-backdrop .mm-slideout {
  z-index:inherit;
}
/* ==========================================================================
   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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    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:
     * https://web.archive.org/web/20180815150934/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;
  }
}

.rounded-5{border-radius: 15px;}
.border-orange{border-color:#e75012 !important;}

@media (min-width: 1200px) {
  #ja_cestquoi #bloc-slide {top: -220px;}
}

@media (max-width: 1199px) {
  #ja_cestquoi #bloc-slide-height{height:auto;}
}

@media (max-width: 991px) {
  #ja_cestquoi #bloc-slide-height{height:auto;}
  #ja_cestquoi .bx-wrapper .bx-controls-direction a{top:50%}
}

@media (max-width: 768px) {
  #bandeau #bloc-ja1{position:relative; width: 100%}
  #vousavezditja .border-right{border: 0 !important;}

  #header .position-absolute{position: relative !important;}
}

