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


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


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

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

/* =========================================================================
   Author's custom styles
   ========================================================================= */
body {
  font-family: 'Open Sans', sans-serif;
  background-color:#fff;
  color: #707070;
  font-size: 1em;
  line-height: 1.4;
}

* {
  -webkit-tap-highlight-color: transparent;
  white-space: normal;
  word-break: keep-all !important;
  -webkit-hyphens: manual !important;
  -moz-hyphens: manual !important;
  -ms-hyphens: manual !important;
  -o-hyphens: manual !important;
  hyphens: manual !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
  white-space: pre-wrap!important;
}

a {
  transition:color 0.2s linear, background 0.2s linear;
  color:#ce1139;
}
a:visited,
a:focus,
a:link {
  text-decoration: underline;
  color:#ce1139;
}
a:hover {
  text-decoration: none;
  color:#ce1139;
}

.no-outline,
.no-outline:focus,
.no-outline:hover,
.no-outline:active {
  outline:0;
}

img {
  max-width:100%;
  height:auto;
}

.page-content h1,
.page-content h2 {
  text-transform:uppercase;
  color:#ce1139;
  font-size:24px;
}
.page-content .text h2 {
  text-transform:none;
}
.page-content h2 {
  font-size:18px;
}
.page-content {
  color:#707070;
  font-size:14px;
}
@media (min-width:768px) {
  .page-content {
  }
}
.the-content .text {
  text-align:left;
}
.the-content .text h3 {
  color:#ce1139;
  text-transform:uppercase;
  font-size:18px;
}
.page-standard .the-content .text h3 {
  color:#707070;
  text-transform:none;
  font-size:18px;
}
.the-content .text a {
  font-weight:bold;
}

/*** medias ***/
.video-responsive {
  width:100%;
  height:0;
  padding-bottom:56.25%;
/*  overflow:hidden;*/
  position:relative;
}
.video-responsive iframe, 
.video-responsive embed, 
.video-responsive object,
.video-responsive .video-js {
  width:100%!important;
  height:100%!important;
  position:absolute!important;
  top:0;
  left:0;
}

.back-to-top {
  position:fixed;
  z-index:100;
  right:0px;
  bottom:0px;
  background-color:#ce1139;
  color:#fff;
  width:40px;
  height:40px;
  text-align:center;
  opacity:0;
  transition:opacity 0.6s;
}
.back-to-top.visible {
  opacity:0.8;
}
.back-to-top a {
  height: 40px;
  position: relative;
  width: 40px;
  display: block;  
}
.back-to-top a::before {
  position:absolute;
  text-align:center;
  content:"\f139";
  font-family:"FontAwesome";
  color:#fff;
  font-size:20px;
  line-height:20px;
  left:calc(50% - 9px);
  top:calc(50% - 10px);
}
@media (min-width:992px) {
  .back-to-top {
    width:80px;
    height:80px;
  }
  .back-to-top a {
    height: 80px;
    width: 80px;
  }
  .back-to-top a::before {
    font-size:40px;
    line-height:40px;
    left:calc(50% - 17px);
    top:calc(50% - 20px);
  }
}
.with-cookiebanner {
  margin-top:60px;
}
.cookiebanner {
  z-index:10!important;
  margin: 0px;
  bottom:auto!important;
  top:0px;
  width:100%;
  padding:10px 10px!important;
  height:auto!important;
  font-size:12px!important;
  font-family:'Open Sans', sans-serif!important;
  border:none!important;
  background:rgba(222, 222, 222, 1)!important;
  transition:background-color 0.5s ease;
}
.cookiebanner:hover {
  background:rgba(210, 210, 210, 1)!important;
}
.cookiebanner span {
  float:left;
  margin:0px;
  line-height:1.2em;
  color:rgb(143, 143, 143);
  text-align:left;
  width:80%;
}
.cookiebanner span a {
  display:none;
  float:right;
  color:#ce1139!important;
  font-weight:700;
  margin:5px 0px;
}
.cookiebanner span a:hover,
.cookiebanner-close:hover {
  color:#443e3b!important;
}
.cookiebanner span a::after {
  font-family: 'FontAwesome';
  content: "\f105";
  margin-left:5px;
}

.cookiebanner-close {
  float:right!important;
  display:inline-block;
  vertical-align:top;
    margin-top:-3px;
}
.cookiebanner-close img {
  display:none!important;
}
.cookiebanner-close {
  font-weight:bold;
  color:rgb(110, 110, 110);
}

@media (min-width:768px) {
  .with-cookiebanner {
    margin-top:46px;
  }
  .cookiebanner {
    padding:10px calc((100% - 720px) / 2) !important;
    font-size:14px!important;
  }
  .cookiebanner-close {
    margin-top:-3px;
  }
}
@media (min-width:992px) {
  .with-cookiebanner {
    margin-top:38px;
  }
  .cookiebanner {
    padding:10px calc((100% - 960px) / 2) !important;
  }
  .cookiebanner span {
    width:auto;
  }
}
@media (min-width:1200px) {
  .cookiebanner {
    padding:10px calc((100% - 1140px) / 2) !important;
  }
}
body #tarteaucitronRoot * {
  font-family:'Open Sans', sans-serif!important;
}
body #tarteaucitronRoot #tarteaucitronAlertBig {
  font-size:14px!important;
  font-family:'Open Sans', sans-serif!important;
  border:none!important;
  background:rgba(210, 210, 210, 0.9)!important;
  transition:background-color 0.5s ease;
}
body #tarteaucitronRoot #tarteaucitronAlertBig:hover {
  background:rgba(210, 210, 210, 1)!important;
}
body #tarteaucitronAlertBig #tarteaucitronPrivacyUrl, 
body #tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog, 
body #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert, 
body #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
  font-size:14px!important;
  font-family:'Open Sans', sans-serif!important;
  color: #707070 !important;
}
body #tarteaucitronAlertBig #tarteaucitronCloseAlert, 
body #tarteaucitronAlertBig #tarteaucitronPersonalize, 
body #tarteaucitronAlertBig #tarteaucitronPersonalize2, 
body .tarteaucitronCTAButton, 
body #tarteaucitron #tarteaucitronPrivacyUrl, 
body #tarteaucitron #tarteaucitronPrivacyUrlDialog, 
body #tarteaucitronRoot .tarteaucitronDeny, 
body #tarteaucitronRoot .tarteaucitronAllow {
  background-color: #c42720!important;
  font-size:14px!important;
  font-family:'Open Sans', sans-serif!important;
}
body #tarteaucitronRoot .tarteaucitronDeny {
  background-color: #343434!important;  
}
body #tarteaucitronAlertBig #tarteaucitronCloseAlert, 
body #tarteaucitron #tarteaucitronPrivacyUrl, 
body #tarteaucitron #tarteaucitronPrivacyUrlDialog {
  background-color: #ffffff!important;
}
body #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,
body #tarteaucitron .tarteaucitronBorder {
  background-color: #efefef !important;
  border: 1px solid #dfdfdf !important;
}
body #tarteaucitronRoot .tarteaucitronH1,
body #tarteaucitronRoot .tarteaucitronH2 {
  text-transform: uppercase;
  color: #343434!important;
}
body #tarteaucitron #tarteaucitronInfo {
  background-color: #efefef!important;
  color: #343434!important;
  border: none!important;
}
body #tarteaucitronAlertSmall,
body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer {
  opacity: .75;
  right: auto;
  left: 70px;
}
body #tarteaucitronAlertSmall:hover,
body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer:hover {
  opacity: 1;
}

footer {
  padding:50px 0;
  text-align:left;
  background-color:#fafafa;
  color:#707070;
  font-size:14px;
}
footer .moderation {
  display:block;
  width:100%;
  text-align:center;
  font-family:"Open Sans",sans-serif;
  font-size:14px;
  font-weight:700;
  margin-bottom:30px;
}
footer .navbar-brand {
  float:none;
  display:block;
}
footer .sitename {
  display:none;
}
footer .copyrights {
  display:inline-block;
  margin-top:0px;
  font-size:12px;
}
footer .adresse {
  margin-top:20px;
  border-left:solid 2px #b5b5b5;
  padding-left:15px;
}
footer .liens-footer {
  margin:20px 0px 0px 0px;
  border-left:solid 2px #b5b5b5;
  padding:0px 0px 0px 15px;
  list-style:none;
}
footer .liens-footer a {
  color:#707070;
}
footer .ifs {
  margin-top:20px;
  max-width:130px;
}
footer .credits {
  display:block;
  width:100%;
  text-align:center;
  font-family:"Open Sans",sans-serif;
  font-size:12px;
  margin-top:30px;
}
footer .credits a {
  color:#707070;
}

@media (max-width:600px) {
  footer .moderation {
    text-align:left;
  }
}
@media (min-width: 768px) {
  .page-content h1 {
    font-size:26px;
  }
  .page-content h2 {
    font-size:20px;
  }

  footer .adresse, 
  footer .liens-footer {
    font-size:12px;
  }

}

@media (min-width: 992px) {
  .page-content h1 {
    font-size:30px;
  }
  .page-content h2 {
    font-size:24px;
  }
  footer .adresse, 
  footer .liens-footer {
    font-size:inherit;
  }
}

@media (min-width: 1200px) {
  .page-content h1 {
    font-size:34px;
  }
  .page-content h2 {
    font-size:28px;
  }
}

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


/*** LANGUES */
.lang-zh * {
  word-break: break-all!important;
}
.lang-zh .row.nos-prestations {
  margin-top:120px;
}