body{
	background: #f5e7d3;
    font-family: 'Open Sans', sans-serif;
    line-height: 2em;
}
#md{
    text-indent: -9999px;
    background: url(../img/middlesj.png) center no-repeat;
    height: 520px;
    width: 700px;
    margin: 0px auto 0;
}
::-moz-selection { color: #fff;  background: #af6d8f; }
::selection      { color: #fff;  background: #af6d8f; text-shadow: none; } 
#conteur{
    text-align: center;
    font-size: 5em;
    color: #4d4d4d;
    font-family: 'Great Vibes', cursive;
    margin-top: 30px;
}
h1{
    font-family: 'Great Vibes', cursive;
    font-size: 4em;
    text-align: center;
    margin-top: 80px;
}
header{
    width: 100%;
    height: 180px;
}
nav{
    width: 817px;
    margin: 50px;
    float: right;
    font-weight: 800;
}
nav ul li a{
    color: #fff;
    float: left;
    color: #4d4d4d;
    padding: 20px;
    transition: all .3s ease-out; 
}
nav ul li a.active{
    color: #af6d8f;
    border-bottom: 2px solid #af6d8f;
}
nav ul li a:hover{
    color: #af6d8f;
}
.content{
    width: 960px;
    margin: 30px auto;
    clear: both;
}
.timing{
    margin: 60px 0;
    overflow: hidden;
}
.timing li{
    float: left;
    width: 20%;
    text-align: center;
    display: block;
    overflow: hidden;
    padding-top: 100px;
}
.adresse{
    display: block;
    font-size: .9em;
    line-height: 1.3em;
    font-weight: 800;
    color: #664a59;
}
.heure{
    color: #af6d8f;
}
.mairie{
    background: url(../img/mairie.png) center  14px no-repeat;
    background-size: 80px;
}
.eglise{
    background: url(../img/eglise.png) center top no-repeat;
}
.vin{
    background: url(../img/champ.png) center top no-repeat;
}
.photo{
    background: url(../img/photo.png) center  10px no-repeat;
    background-size: 80px;
}
.repas{
    background: url(../img/note.png) center 10px no-repeat;
    background-size: 80px;
}
#legende-logement li{
    position: relative;
}
#legende-logement li a{
	padding: 28px 4% 0 70px;
	display: block;
	height: 60px;
	float: left;
	color: #fff;
	top: 0;
	position: relative;
	transition: all .1s ease-out;
	-webkit-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
	text-decoration: none;
}
#legende-logement li a.selected{
	font-weight: bold;
}
.mix{
	width: 33%;
	display: none;
}
#legende-logement li a:hover{
	top: -4px;
	cursor: pointer;
}
#legende-logement li a:active{
	top: -1px;
}
#legende-logement{
	background: #af6d8f;
	overflow: hidden;
	padding: 6px 0px 0 20px;
	display: block;
	margin-bottom: 20px;
    position: relative;
}
#li-logement li{
    position: relative;
    line-height: 1em;
}
#li-logement li a{
	display: block;
	text-decoration: none;
	width: 77%;
	height: 83px;
	float: left;
	padding: 20px 0 0 70px;
	color: #4a7e92;
	top: 0;
	position: relative;
	transition: all .1s ease-out;
	-webkit-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
}
#li-logement li a:hover{
	color: #283439;
	top: -4px;
}
#li-logement li.reserve:after{
    content: "Réservé";
    position: absolute;
    left: 14px;
    top: 24px;
    border-radius: 3px;
    background: #e74c3c;
    padding: 5px;
    opacity: .8;
    font-size: .7em;
    transform: rotate(-28deg);
    -webkit-transform: rotate(-28deg);
    -ms-transform: rotate(-28deg);
    -moz-transform: rotate(-28deg);
    -o-transform: rotate(-28deg);
    color: #fff;
}
#li-logement li.reserve a{
    opacity: .6;
}
#li-logement li.reserve{
    -webkit-transform: scale(.92);
}
.gite a, #legende-logement li.gite{
	background: url(../img/icon-gite.png) no-repeat;
}
.chambre a, #legende-logement li.chambre{
	background: url(../img/icon-chambre.png) no-repeat;
}
.hotel a, #legende-logement li.hotel{
	background: url(../img/icon-hotel.png) no-repeat;
}
.camping a, #legende-logement li.camping{
	background: url(../img/icon-camping.png) no-repeat;
}
#legende-logement li.tous a{
	background: url(../img/icon-tous.png) no-repeat;
}
.infodist{
	float: left;
	color: #af6d8f;
	width: 60px;
}
.infodist span{
	display: block;
}
#logements{
	height: 660px;
    margin: 40px 0 120px;
}


#map-canvas{
    width: 100%;
    height: 500px;
    margin-top: 50px;
}
blockquote{
    font-size: 1.5em;
    margin: 180px auto 40px;
    color: #664a59;
    line-height: 2.1em;
    font-weight: 100;
    display: block;
    width: 510px;
}
blockquote:before{
    content: open-quote;
    display: block;
    height: 48px;
    width: 48px;
    color: #af6d8f;
    background: url(../img/oquote.png) no-repeat;
    position: relative;
    left: -25px;
}
blockquote:after{
    content: open-quote;
    display: block;
    height: 48px;
    width: 48px;
    color: #af6d8f;
    background: url(../img/oquote.png) no-repeat;
    float: right;
    position: relative;
    right: -15px;
    clear: both;
}
cite{
    float: right;
    font-size: 1.3em;
	color: #af6d8f;
    clear: both;
    margin-top: 20px;
}
#msggal{
    text-align: center;
    margin-top: 120px;
}
#msggal ul li{
    margin-bottom: 60px;
}
#msggal img{
    border-radius: 150px;
    border: 5px solid #af6d8f;
    box-shadow: 2px 2px 25px -9px;
}
#msggal .nom{
    font-size: 2em;
    line-height: 2em;
    color: #af6d8f;
    font-weight: 800;
}
.thumb{
    height: 185px;
    width: 80%;
    display: block;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid #af6d8f;
    border-radius: 15px;
}
#listcadeaux li{
    float: left;
    display: block;
    width: 25%;
    text-align: center;
    margin-bottom: 35px;
}
#listcadeaux h2{
    color: #af6d8f;
    font-weight: 800;
    margin-top: 20px;
    line-height: .4em;
}
.prix{
    color: #999;
    line-height: .3em;
    font-size: .9em;
}
.offertpar{
    margin-top: 60px;
    display: block;
    background: rgba(175,109,143,.9);
    color: #fff;
    text-align: center;
    padding: 12px;
}
.msglivredor{
    text-align: center;
    margin-bottom: 30px;
}
.msglivredor:last-child{
    margin-bottom: 160px;
}
.msglivredor h2{
    color: #af6d8f;
    font-weight: 800;
}
.msglivredor span{
    color: #999;
    font-weight: 100;
    font-size: .8em;
    margin-top: -12px;
    display: block;
}
.telbout{
    clear: both;
    width: 100%;
    height: 100px;
}
.telbout li{
    float: left;
    width: 46%;
    text-align: center;
    margin: 2%;
}
.contact form{
    width: 550px;
    margin: 120px auto;
}
form input, form textarea{
    width: 94%;
    margin-bottom: 20px;
    padding: 3%;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    font-weight: 700;
}
form #submit, .bout{
    width: 100%;
    background: #af6d8f;
    color: #fff;
    border: none;
    display: block;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 3%;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    font-weight: 700;
}
.contact form #submit:hover, .bout:hover{
    opacity: .8;
}
.contact form textarea{
    height: 160px;
}

#ms{
    position: absolute; 
    top: 190px;
    width: 100%;
    text-align: center;
    color: #af6d8f;
    font-family: 'Source Sans Pro', cursive;
    font-size: 2.8em;
}
.bout{
    padding: 15px 0;
}
@media screen and (max-height: 800px) {
    header{
        height: 130px;
    }
    #md{
        height: 500px;
    }
}
@media screen and (max-height: 540px) {
    #map-canvas{
        height: 400px;
    }
}
@media screen and (max-height: 440px) {
    #map-canvas{
        height: 300px;
    }
}
@media screen and (max-height: 340px) {
    #map-canvas{
        height: 220px;
    }
}
@media screen and (max-width: 960px) {
    .content, nav{
        width: 90%;
        margin: 0 auto;
    }
    nav{
        float: none;
        font-size: .8em;
    }
    nav li{
        height: 78px;
        width: auto;
        float: left;
    }
    .mix{
        width: 48%;
    }
}
@media screen and (max-width: 880px) {
    #listcadeaux li {
        width: 33.333333%;
    }
}
@media screen and (max-width: 710px) {
    nav{
        font-size: .6em;
    }
    .telbout li{
        width: 90%;
    }
    .bout{
        padding: 15px 5%;
    }
    #md{
        width: 98%;
        background-size: contain;
    }
}
@media screen and (max-width: 650px) {
    #listcadeaux li {
        width: 50%;
    }
    .contact form{
        width: 94%;
    }
    #conteur{
        font-size: 4em;
    }
}
@media screen and (max-width: 590px) {
    .timing li{
        font-size: .8em;
    }
    h1{
       font-size:  3em;
    }
    blockquote{
        width: 90%;
    }
}
@media screen and (max-width: 490px) {
    .timing li{
        width: 33.3333%;
    }
    h1{
       font-size:  2.6em;
    }
}
@media screen and (max-width: 420px) {
    #listcadeaux li {
        width: 100%;
    }
    .thumb{
        height: 210px;
        width: 74%;
    }
    #md{
        height: 360px;
    }
    #conteur{
        font-size: 3em;
    }
    .mix{
        width: 98%;
    }
    h1{
       font-size:  2em;
    }
}
@media screen and (max-width: 310px) {
    .timing li{
        width: 50%;
    }
}