/*! HTML5 Boilerplate v5.3.0 | 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.
 *
 * COULEURS
 * 
 * Bleu Ciel : #CDE8F1 (205,232,241)
 * Bleu Texte : #96D4F5 (150,212,24)
 * Bleu Moyen : #98D6F7 (152,214,247)
 *
 * Beige : #F9F2DF (249,242,223)
 *
 * Texte : #002420
 *
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@font-face {
    font-family:"Chubby-Regular";
    src:url("../fonts/Chubby/Chubby-Regular.eot?") format("eot"),
    url("../fonts/Chubby/Chubby-Regular.woff") format("woff"),
    url("../fonts/Chubby/Chubby-Regular.ttf") format("truetype"),
    url("../fonts/Chubby/Chubby-Regular.svg#Chubby-Regular") format("svg");font-weight:normal;font-style:normal;
}

html {
    color: #F9F2DF;
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * 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
   ========================================================================== */
body {
    height: 100%;
    font-family: 'Roboto Light', sans-serif;
}
h1, h2, h3, h4, h5 {
    text-align: center;
}
h2 {
    font-family: "passion_oneregular";
    text-transform: uppercase;
    font-size: 32px;
    letter-spacing: 1px;
    color: #96D4F5;
    margin-top: 20px;
    margin-bottom: 10px;
}
h3 {
    position: relative;
    font-family: "viburmedium";
    text-transform: uppercase;
    font-size: 20px;
    color: #333;
    max-width: 450px;
    margin: auto;
    font-weight: 700;
}
h3 span {
  padding: 0 15px;
  position: relative;
  z-index: 1;
  background-color: #F9F2DF;
}
h3:before {
  background: #333;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
    top: 50%;
  width: 100%;
}
h3:before {
  left: 0;
}

h4 {
    font-family: "passion_oneregular";
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 1px;
    color: #96D4F5;
}
section {
    padding-top: 50px;
    padding-bottom: 50px;
    font-weight: 300;
}
.participez { width: 200px; }
.participez:hover { background-color: #96D4F5; border-radius:15px; cursor: pointer; }
.abeilles-2 { width: 80px; position: absolute; z-index: 10; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar-default {
    background-color: transparent;
    border-bottom: none;
    font-family: 'Roboto Light', Arial, sans-serif;
}
.navbar-default .navbar-nav>li>a {
    font-size: 14px;
    padding: 5px 10px;
    line-height: 20px;
    display: inline-block;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    background-color: transparent;
    color: #96D4F5;
}
.nav-fb { background: #fff; border-radius: 50%; padding: 8px 11px; }
.nav-ulule { background-color: #fff; border-radius: 50%; padding: 8px; height: 30px; }

.navbar-default .navbar-collapse, .navbar-default .navbar-form { background-color: #fff }

.navbar-toggle { display: none; }
.navbar-nav-display { display: block; }

@media (min-width: 768px) {
    .navbar .navbar-nav {
        float: none;
        justify-content: space-between;
        align-items: center;
        display: none;
        background-color: rgba(255,255,255,0.8);
        border-radius: 10px;
    }
    .navbar .navbar-nav-display { display: flex; }
    .navbar .navbar-collapse {
        text-align: center;
        background-color: transparent;
    }
}
@media screen and (max-width: 768px) {
  .navbar-toggle-display { display: block; }
}
/* ==========================================================================
   Accueil
   ========================================================================== */
.container-home {
    background-color: rgba(205,232,241,0.3);
}
.accueil {
    text-align: center;
    position: relative; 
}
.accueil-logo img {
    max-height: 100px;
}
.accueil-slogan svg {
    margin-top: -60px;
    max-width: 600px; 
}
.accueil-slogan h1 {
    font-family: "passion_oneregular";
    text-transform: uppercase;
    color: #fff;
    font-size: 20px;
    display: none;
}
.accueil-nichoir {
    max-width: 600px;
    margin: 50px auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.accueil-ville { margin-left: 10px; margin-right: 10px; }
.accueil-ici svg { height: 45px; }
.accueil-ville svg { height: 200px; }

.accueil .abeilles-2 { right: 15%; bottom: 180px; }

@media screen and (max-width: 700px) {
    .accueil-logo img { max-height: 75px; }
    .accueil-slogan svg { max-width: 350px; margin-top: -45px; }
    .accueil-ville svg { height: 100px; }
    .accueil-ici svg { height: 35px; }
    .accueil .abeilles-2 { display: none; }
}
@media screen and (max-width: 400px) {
    .accueil-ici svg { display: none; }
}
.wait {
    text-align: center;
    font-size: 18px;
    font-family: "viburmedium";
    text-transform: uppercase;
}
.fdown { max-width: 25px; margin: 0px auto 50px; }
/* ==========================================================================
   CROWDFUNDING
   ========================================================================== */
.container-crowdfunding {
    background-color: #F9F2DF;
}
.content-crowdfunding {
    display: flex;
    height: 350px;
    justify-content: center;
    margin-top: 50px; 
}
.content-crowdfunding-text, .content-crowdfunding-video { margin: 0 20px; }

.content-crowdfunding-video { width: 580px; }
.content-crowdfunding-text {
    font-family: "passion_oneregular";
    text-transform: uppercase;
    text-align: center;
    background-color: #fff;
    color: #96D4F5;
    font-size: 22px;
    line-height: 24px;
    letter-spacing: 1px;
    border-radius: 20px;
    padding: 0 35px;
    height: 100%;
    width: 300px;
}
.content-crowdfunding-text p {
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.content-crowdfunding-video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 100%;
}
.content-crowdfunding-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 768px) {
    .content-crowdfunding { flex-direction: column; margin: 50px 20px 0; height: auto; }
    .content-crowdfunding-text { width: 100%; margin: 0 0 20px; height: 200px; }
    .content-crowdfunding-video { width: auto; margin: 20px 0;}
}
@media screen and (max-width: 400px) {
    .content-crowdfunding-text { font-size: 14px; letter-spacing: 0; line-height: 16px; }
    .clic-ici svg { display: none; }
}
.crowdfunding-form {
    margin-top: 50px;
    text-align: center;
}
.crowdfunding-form .form-group {
    margin: 0 10px;
}
.crowdfunding-form .control-label {
    display: block;
    font-family: "viburmedium";
    text-transform: uppercase;
}
.crowdfunding-form .form-control {
    border-radius: 0;
    border: 0;
}
.crowdfunding-form .btn-crowdfunding {
    text-transform: uppercase;
    font-family: "viburmedium";
    vertical-align: bottom;
    color: #fff;
    background-color: #7da730;
    border-radius: 20px;
    padding: auto 40px; 
}
.crowdfunding-clic {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clic-ulule { margin-right: -5px; z-index: 2; }
.clic-ulule-right { margin-left: -10px; z-index: 2; }
.clic-ici { margin-left: 10px; }
.clic-ulule svg { height: 45px; }
.clic-ulule-right svg { height: 45px; }
.clic-ici svg { height: 35px; }


/* ==========================================================================
   BIODIVERSITE 1
   ========================================================================== */
.container-biodiversite {
    background-color: #F9F2DF;
}
.container-biodiversite .container { position: relative; }
.bio-raisons { 
    display: flex; 
    justify-content: center; 
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 50px; }
.bio-raisons-detail { width: 300px; margin: 0 20px 20px; text-align: center; }
.bio-raisons-detail svg { background-color: #fff; border-radius: 50%; padding: 10px; width: 100px; }
.bio-raisons-detail hr { border-color: #96D4F5; border-width: 6px; border-radius: 40px; width: 280px;  margin: 0 auto; }
.bio-raisons-detail p { background-color: #fff; color: #333; font-weight: 700; padding: 25px 35px; border-radius: 20px; line-height: 20px; height: 310px; text-align: justify; }

.container-biodiversite .abeilles-2 { right: 8%; top: 90px; }

/* ==========================================================================
   BIODIVERSITE 2
   ========================================================================== */
.container-biodiversite-detail h3 span { background-color: #fff; }
.container-biodiversite-detail .container { position: relative; }
.bio-hist { 
    display: flex; 
    justify-content: center; 
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 50px; }
.bio-hist-detail { background-color: rgba(205,232,241,0.3); border-radius: 20px; height: 500px; margin: 10px 5px; padding: 25px; text-align: center; }

.bio-hist-1c { width: 350px; }
.bio-hist-1c svg {  max-height: 450px;  max-width: 100%; margin: auto; }
.bio-hist-1c p { font-family: "passion_oneregular"; text-transform: uppercase; color: #96D4F5; font-size: 26px; line-height: 28px; letter-spacing: 1px;
    position: relative; top: 50%; -ms-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); }

.bio-hist-2c { width: 750px; }
.bio-image, .bio-desc { width: 50%; float: left; padding: 0 0px; }
.bio-image svg { 
    max-width: 100%;
    max-height: 450px;
    margin: auto;
    }
.bio-desc h4 { font-family: "viburmedium"; letter-spacing: 0; color: #333; margin-bottom: 20px; font-size: 18px; text-transform: uppercase;}
.bio-desc h5 {
    font-family: "viburmedium";
    font-size: 14px; 
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}
.bio-desc h5 span { 
    display: inline-block;
    vertical-align: baseline;
    zoom: 1;
    *display: inline;
    *vertical-align: auto;
    position: relative;
    padding: 0 20px;
}
.bio-desc h5 span:before, .bio-desc h5 span:after { 
    content: "";
    display: block;
    width: 200px;
    position: absolute;
    top: 0.73em;
    border-top: 1px solid #333;
}
.bio-desc h5 span:before {
  right: 100%;
}
.bio-desc h5 span:after {
  left: 100%;
}
.bio-desc p { text-align: left; }

.bio-off { text-align: right; }
.bio-off svg { max-height: 70px; }

.clic-txt { font-family: "passion_oneregular"; color: #96D4F5; text-transform: uppercase; font-size: 24px; margin-bottom: 20px; text-align: center; }
.clic-app { text-align: center; }
.clic-app img { max-width: 150px; }

.container-biodiversite-detail .abeilles-2 { left: 8%; bottom: 0px; }

@media screen and (max-width: 750px) {
    .bio-hist-detail { height: auto; }
    .bio-image, .bio-desc { width: 100%; }
}

/* ==========================================================================
   EQUIPE
   ========================================================================== */
.container-equipe {
    text-align: center;
    background-color: #F9F2DF;
}
.equipe-content { 
    display: flex; 
    justify-content: center; 
    align-items: flex-start;
    -webkit-flex-wrap: wrap-reverse;
    -moz-flex-wrap: wrap-reverse;
    -ms-flex-wrap: wrap-reverse;
    -o-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
    margin-bottom: 50px;
}
.equipe-desc { 
    max-width: 500px;
    background-color: #fff; 
    border-radius: 20px; 
    padding: 40px; 
    font-weight: 700; 
    font-size: 14px;
    margin: 20px 20px 0;
}
.equipe-img { 
    max-width: 300px;
    margin: 20px 20px 0;
}
.equipe-concours { display: flex; 
    justify-content: center; 
    align-items: flex-start;
    -webkit-flex-wrap: wrap-reverse;
    -moz-flex-wrap: wrap-reverse;
    -ms-flex-wrap: wrap-reverse;
    -o-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
    max-width: 500px;
    margin: 0 auto 50px; }
.equipe-concours-detail { max-width: 180px; margin: 0 20px; }
/* ==========================================================================
   Partenaires
   ========================================================================== */
.container-partenaires { 
    background-color: rgba(205,232,241,0.3);
    text-align: center;
}
.container-partenaires .container { position: relative; }
.partenaires-content { max-width: 400px; margin: auto; padding: 40px; border-radius: 20px; background-color: #fff; }
.partenaires-text { padding: 20px; border-radius: 20px; background-color: rgba(205,232,241,0.3); }
.partenaires-text p { 
    font-family: "passion_oneregular";
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 1px;
    color: #96D4F5;
    margin-top: 20px;
}
.logo-partenaire {
    max-width: 100px;
}
.partenaires-detail {
    margin-top: 50px;
}
.partenaires-detail img {
    margin: 10px auto;
}
.partenaires-detail svg {
    margin-top: 80px;
}
.container-partenaires .abeilles-2 {
  right: 10%;
  bottom: 100px;
}
/* ==========================================================================
   Modal
   ========================================================================== */
.modal-fsb {
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
}
.modal-fsb h4 {
    margin-bottom: 20px;
}
.modal-fsb p {
    font-size: 16px;
    margin-bottom: 20px;
}
.modal-fsb a {
    background-color: #7da730;
    color: #fff;
    border-radius: 20px;
    text-transform: uppercase;
    font-family: "viburmedium";
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: #333;
    color: #aaa;
    text-align: center;
    font-size: 11px;
    padding: 5px 0;
}
footer p { margin: 0; }
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * 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;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    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;
}

/* ==========================================================================
   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,
    *:first-letter,
    *:first-line {
        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,
    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;
    }

    img {
        max-width: 100% !important;
    }

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

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