html { font-family: "Times New Roman", times; font-size: 75%; color: #000;  }

body { margin: 0; background-repeat: no-repeat; background-position: center; background-attachment: fixed; background-size: cover; }
body.home { background-image: url(../media/backgrounds/home.jpg); }
body.avec-chevaux { background-image: url(../media/backgrounds/avec-chevaux.jpg); }
body.avec-chiens { background-image: url(../media/backgrounds/avec-chiens.jpg); }
body.a-propos { background-image: url(../media/backgrounds/a-propos.jpg); }
body.infos-pratiques { background-image: url(../media/backgrounds/infos-pratiques.jpg); }
body.mentions-legales { background-image: url(../media/backgrounds/home.jpg); }

@media only screen and (max-width: 1024px)  {

    body {
        background-position: top center; 
        background-size: contain;
    }
    
}

h1 {
    font-family: "Indie Flower", cursive;
    font-weight: 400;
    font-style: normal;
    text-align: left;
    margin: 0.5em 0;
    font-size: 3.5em;
}
h2 { text-align: left; margin: 1em 0; font-size: 2em; }
h3 { text-align: left; margin: 1em 0; font-size: 1.8em; }
p { text-align: left; font-size: 1.75em; margin: 0.5em 0; line-height: 1.5em; }
a, a:link, a:visited, a:hover { color: #333; text-decoration: underline; }
iframe { border: 0; }

ul {
    margin: 0.5em 0; line-height: 1.75em;
    padding: 0 2em;
    list-style: square;
    text-align: left;
    font-family: inherit;
    font-size: 1.75em;
}

.site_title {
    font-family: "Indie Flower", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 10em;
    position: fixed;
    top: 0.5vw;
    left: 0.5vw;
    color: #d0805b;
    text-shadow: 2px 2px 2px #7f0701;
    z-index: 9999;
    cursor: pointer;

  
}

.top_img { display: block; width: 100%; }

#nav { background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0; position: fixed; top: 0; box-sizing: border-box; margin: 0 auto; text-align: right; width: 100%; z-index: 999; }
#nav a { font-size: 2em; display: inline-block; margin: 0 .5vw; line-height: 2em; text-decoration: none; font-family: "Indie Flower", cursive; }
#nav a.current { text-decoration: underline; }
#nav a.facebook span {
    display:                inline-block;
    padding-left:           34px;
    background:             url(img/facebook.svg) no-repeat left center/24px;
}

@media only screen and (min-width: 1025px)  {

    #nav a.facebook {
        width:              24px;
        /*
        height:             40px;
        */
    }
    
    #nav a.facebook span {
        /*
        width:              24px;
        */
        padding:            0;
        text-indent:        100em;
        /*
        overflow:           hidden;
        */
    }

}

#container { 
    background: rgba(255, 255, 255, 0.80) none repeat scroll 0 0; 
    box-sizing: border-box; 
    margin: 100vh auto 0; 
    transform: translateY(-8em);
    text-align: center; width: 100%; z-index: 999; padding-bottom: 2em;
}

.home #container { 
    transform: translateY(0);
}

@media only screen and (max-width: 1024px)  {

    #container {
        margin-top: calc(100vw*2/3);
        transform: translateY(0);
    }

}

#content { display: inline-block; width: 100%; max-width: 96em; margin: 0 auto; }
#footer { position: fixed; right: 0.2em; bottom: 0.2em; z-index: 99999; }

.home p { text-align: center; }

q {
    quotes: "\00AB\A0" "\A0\00BB" "\201C" "\201D" "\2018" "\2019";
}

.quote { 
    font-family: 'Rochester', cursive;
    font-size: 4em; margin: 0 auto; display: inline-block; text-align: justify; position: relative; line-height: 1em; 
    
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: border-box;
    border: none;
    color: rgb(255, 255, 255);
    -o-text-overflow: clip;
    text-overflow: clip;
    text-shadow: 0 0 1px #000, 0 0 20px rgb(254,252,201) , 10px 15px 30px rgb(254,236,133) , -19px 9px 40px rgb(255,174,52) , 20px -12px 50px rgb(236,118,12) , -20px -26px 60px rgb(205,70,6) , 0 -61px 70px rgb(151,55,22) , 10px -63px 80px rgb(69,27,14) ;
    
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0; 
    position: absolute;
    bottom: 0em;
    padding: 0.5em 0;
    width: 100%;
    text-align: center;
    
}
/*
.quote:before, .quote:after { content: open-quote; font-size: 4em; line-height: 0.1em; margin-right: 0.1em; vertical-align: -0.45em; }
.quote:after { content: close-quote; margin-left: 0.1em; margin-right: 0em; vertical-align: -0.5em; }
*/
.quote small { font-family: Arial, Helvetica, Geneva, sans-serif; font-size: 0.35em; display: block; position: absolute; right: 10vw; line-height: 0.5em }

@supports (-ms-accelerator:true) {
  .quote:before, .quote:after { content: "\""; } 
}

@media only screen and (max-width: 1024px)  {

    .quote { 
        position:               initial;
        bottom:                 initial;
        margin-top:             calc(100vw*2/3);
        background-color:       rgba(0, 0, 0, 0.9);
    }
    
    .quote + #container {
        margin-top:             20px;
    }

}



@media only screen and (max-width: 1024px)  {
    
    .site_title { margin:0.25rem; font-size: 5em; }
    
    #nav {
        display: none;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding-top: 80px;
        background-color: rgba(255, 255, 255, 0.9);
        text-align: center;
    }
    
    #nav a {
        display: block;
        padding: 10px 0;
    }
    
    .burger {
        position: fixed;
        top: 2rem;
        right: 2rem;
        z-index: 9999;
        display: block;
        width: 3.5rem;
        height: 3.5rem;
        background: #fff url(img/burger.png) no-repeat center center/100%;
        border: 1px solid #ccc;
    }
    
    #container { /* transform: translateY(-12em); */ padding: 0 1em 2em; }
    .home #container {}

    .home .quote { font-size: 2.2em; width: 100%; line-height: 1.4em; text-align: center; }
    .home p { text-align: left; }
    
}

@media only screen and (min-width: 1025px)  {

    .site_title { font-size: 3.5em; }
    #container { padding: 0 1em 2em; }
    .home .quote { font-size: 3em; }
    
}

/** hr **/

hr {
    height:                     5px;
    margin:                     30px 0;
    padding:                    0;
    background:                 rgba(255,255,255,.5);
    border:                     0;
}


/** image **/

.image {
    margin:                     0;
    padding:                    0;
}
  
.image img {
    display:                    block;
}

@media only screen and (max-width: 1024px)  {

    .image img {
        width:                  100%;
        height:                 auto;
    }

}

@media only screen and (min-width: 1025px)  {

    .img-right {
        float:                      right;
        margin:                     0 0 40px 40px;
    }

}


/** gallery **/

.gallery {
    box-sizing:                 border-box;
    display:                    flex;
    margin:                     10px -10px -10px;
    padding:                    0;
    list-style:                 none;
}

.gallery li {
    box-sizing:                 border-box;
    flex:                       0 1;
    margin:                     0 10px 10px;
}

.gallery a {
    cursor:                     zoom-in;
}

.gallery img {
    display:                    block;
}


@media only screen and (max-width: 1024px)  {

    .gallery-3 li {
        flex:                   1 1 calc(100%/3);
        justify-content:        center;
        display:                flex;
        justify-content:        center;
    }

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

}


/** events ********************************************************************/

.event {
    overflow:                   hidden;
}