/*! 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: 'Raleway', 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:url('../img/fond.webp') no-repeat fixed;
    background-size:100%;
}

#container{
    position:relative;
}


#navMob{
    margin:0;
    width:100%;
    background:#99cc66;
    display:flex;
    flex-direction: column;
}




.logoMob{
    margin:auto;
    margin-bottom: 10px;
}


.pictos_menuMob{
   display:flex;
   flex-direction: row;
   justify-content: space-around;
   margin:auto;
}


.pictos_menuMob img{
    height:70px;
}

.logo{
    margin:auto;
    margin-bottom: 10px;
}


.pictos_menu{
   display:flex;
   flex-direction: row;
   justify-content: space-around;
   margin:auto;
}


.pictos_menu img{
    height:70px;
}

#menutabDesk{
    display:none;
}


#section1{
    display:flex;
    flex-direction: column;
    margin:auto;
    text-align: center;
}

#gauche{
    width:90%;
    margin-left:5%;
    margin-right:5%;
    position:relative;
}


#droite{
    background:#999;
    //height:100vw;
    margin:10px 5px 10px 5px;
}



#assurance_animaux{
    width:95%;
    margin:auto;
}

#soleilMob{
    display:block;
    width:80%;
    margin:auto;
    margin-top:20px;


}

#soleilTabDesk{
    display:none;
}


h1 {
    width: 100%;
    color: #fff;
    font-size: 40px;
    line-height: 44px;
    font-weight: 200;
    text-align: center;
    margin: 10px auto 0 auto;
}


h2{
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    line-height: 29px;
    font-weight:300;
    text-align:center;
    font-style: italic;
    color:#FFF;
    margin: 0 auto 10px auto;
}

#titreMob {
    display: block;
    width: 90%;
    margin: 10px auto 1em auto;
    text-align: center;
}

#titreDesk{
    display:none;
}


h3{

    color :#ff9933;
    font-size:30px;
    line-height:32px;
    font-weight:200;
    text-align:center; 
}





#section2{
    background: #fff;
}


.colonne {
    width: 80%;
    padding: 10px;
    text-align: center;
    margin: auto;
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 40px;
    font-size:14px;
    line-height:20px;
}


.illustr{
    width:80%;
    margin:auto;
}


#section3{
    margin-top: 20px;
}


.btn {
    background:#ff6600;
    
    padding: 10px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    color: #FFF;
    text-align: center;
    height: 40px;
    transition-duration: 0.5s;
    cursor: pointer;

}

.btn a{
    text-decoration:none;
}


#btnFooterMob{
    width:80%;
}

#btnFooterMob img{
    height:40px;
}

#btnFooterTabDesk{
    display:none;
}

.btn:hover {
   background: #ff9933;
}



footer{
    background:#e8e8e8;
    padding:20px;
    text-align:center;
    font-size:12px;
    line-height:16px;
    height:100px;

}

footer a{
    text-decoration: none;
    font-weight:bold;
    color:#ff6600;
    transition-duration: 0.5s;
}

footer a:hover{
    transition-duration: 0.5s;
    color:#ff9933;
}




/*//////// BREAKPOINT 360px /////////*/

@media(min-width:360px){
    #titreMob {
        display: block;
        width: 90%;
        margin: 10px auto 2em auto;
        text-align: center;
    }
}

/*//////// BREAKPOINT 500px /////////*/

@media(min-width:500px){
    #titreMob {
        display: block;
        width: 90%;
        margin: 10px auto 5em auto;
        text-align: center;
    }
}




/*//////// BREAKPOINT 560px /////////*/

@media(min-width:560px){
    #titreMob {
        display: block;
        width: 90%;
        margin: 10px auto 8em auto;
        text-align: center;
    }


    #soleilMob{
        width:50%;
    }

}





/*//////// BREAKPOINT 768px /////////*/

@media (min-width: 768px) {


    #titreMob {

        margin: 10px auto 9em auto;

    }

    #navMob{
        display:none;
    }

    #menutabDesk{
        display:block;
    }

    #navTabDesk{
        position:fixed;
        z-index:100;
        margin:0;
        width:100%;
        background:#99cc66;
        display:flex;
        flex-direction: row;
        justify-content:space-between;
        height:140px;
        -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
        -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
        box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
    }

    .logo{
        margin-left:10%;
        margin-bottom:10px;
    }

    .pictos_menu{
       margin-right:10%;
       padding:0;
   }

   .pictos_menu img{
    height:80px;
}

h1 { 
    font-size: 55px;
    line-height: 55px;
}

h2{
    font-size: 30px;
    line-height: 30px;
}

#soleilMob{
    width:40%;
}

#droite {
    margin: 10px 20px 10px 20px;
}

.illustr {
    width: 60%;
}



#btnFooterMob{
    display:none;
}

#btnFooterTabDesk{
    display:block;
    width:400px;

    font-weight:100;
    font-size:26px;
    line-height:36px;
    visibility: 
}

#section1 {
    padding-top: 20px;
   // padding-bottom: 280px;
}

.colonne {
    width: 48%;
}

}


@media(min-width:992px){


    #titreMob {
        margin: 10px auto 10em auto;
    }


    #section1{
        display:flex;
        margin:auto;
        text-align: center;
    }

    #gauche{
        width:60%;
    }

    #droite{
        width: 50%;
        margin-top: 40px;
    }

    #soleilMob{
        display:none;
    }

    #soleilTabDesk {
        display: block;
        position: absolute;
        width: 35vw;
        top: 115px;
        left: 84%;
    }

    #assurance_animaux {
        width: 100%;
        margin: auto;
    }

    #section2{
        background: #fff;
        display:flex;
        flex-direction: row;
        justify-content: space-around;
        margin:auto;
        margin-top:20px;
        text-align: center;
        border-top: 1px solid #ccc;
    }

    .colonne {
        border-top: none;
        width: 30%;
        padding: 10px;
    }

    .colonne p{
        text-align: left;
    }

    .illustr{
        width:80%;
        margin:auto;
    }

}

@media(min-width:1104px){


 .colonne {
    width: 27%;
}

#soleilTabDesk {
    //width:21vw;
    top:8vw;

}

}


@media(min-width:1200px){

    #titreMob {
        margin: 10px auto 1em auto;
    }
    #droite{
        width:25%;
    }
    #soleilTabDesk {
        top: 171px;
    }

    h1 {
        font-size: 60px;
        line-height: 55px;
    }

    h2 {
        font-size: 36px;
        line-height: 38px;
    }

    #soleilTabDesk {
        width:32vw;
        top: 22em;

    }

}


