/* Les vieilles pierres css */
a{
	color:black;
	text-decoration: none;
}


#ancre{
	position: absolute;
	top:-120px;
}

/* entete carousel */

#carousel{
position: fixed;
top: 0px;
}

#defilement{
	width: 100%;
	height: 600px;
}

#defilement img{

	width: 100%;
}

#filtre nav{
	background: linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.47));
	
}

#carouseltexte{
	top: 20%;
}

#carouseltexte h3{
	font-size: 4.7em;
    /* text-transform: uppercase; */
    text-shadow: 1px 2px 6px black;
    /* font-weight: 300; */
    /* color: black; */
    /* text-align: left; */
    /* background-color: #403024; */
    /* border-left: 7px solid white; */
    padding-left: 3%;
    font-family: 'Oleo Script', cursive;
}

#carouseltexte a{
	text-shadow: 1px 2px 2px black;
}

.carousel-control-next, .carousel-control-prev{
	position: absolute;
	top:30%;
}

#defilement ol{
	top: 60%;
}

#carouseltexte {
	padding: 2%;
}

/*.photo-bright img {
filter: brightness(90%);
-webkit-filter: brightness(90%);
}*/

.photo-blur img {
filter: blur(2px);
-webkit-filter: blur(2px);
}

/*.photo-brightness img:hover {
filter: brightness(100%);
-webkit-filter: brightness(100%);
}*/

 /* ------  Menu haut + logo  ------- */
#conteneur_menu {	
	z-index: 100;
	position:fixed;
	height :8%;
	font-family: 'Oleo Script', cursive;
	width:100%;
	top:0;
	left:0;
}

.active_nav nav{
	background-color: #fffdfd;
	height: auto;
	/*box-shadow: 0px 2px 2px #1c1a19;*/
	border-bottom: 1px solid #7f7f7f;
	border-top: 1px solid #7f7f7f;

}
.active_nav img{
	width: 55px;
	height: 55px;
	margin-top: 0.5%;


}
.active_nav #logo_text{
	font-size: 33px;
	display:inline-block;
	padding:1.3%;
	
}


.active_nav ul{
	
	font-size: 25px;
	
}

.classic_nav{
	margin: 0;
	padding:0;
	background: linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.47));
	text-shadow: white 0.02em 0em 5em;
	
}



.classic_nav #logo_text{	
	display:inline-block;
	padding:1.1%;

	font-size: 37px;
}

.classic_nav ul{
	
	font-size: 28px;
	margin-top: 2%;
}

#page header.fixed {
	position:fixed;
	height :8%;
	
	width:100%;
	top:0;
	left:0;
	box-shadow: 0px 4px 4px #1c1a19;
	
}



.fixed img{
	position:absolute;
	
	z-index: 10;
	left:10%;
	top:-15%;
	width: 100px;
	height: 100px;
}	
	




/* contenu */

#contenu{
	margin-top: 50%;
	height: auto;
	background-color: white;
	font-family: 'Oleo Script', cursive;
	width: 100%;
	position:relative;
	display: block;
}


#contenu p{
	 font-family: "Segoe UI", cursive;
	 font-size: 16px;
	 text-align: justify;
}

/* bloc préconçu du contenu */
.bloc-standard{
	padding: 5%;


}

.bloc-standard button{
	
	font-weight: bold;
	margin-left: 41%;
	max-width: 145px;
}
.bloc-standard i{
	
	float: right;

}

.bloc-standard p{
	background-color:#F1E0D2;
	
	border: 8px solid #fbeee3;
	padding: 2% 7% 2% 7%;
}

.bloc-standard .bloc{
	background-color:#F1E0D2;
	border: 8px solid #fbeee3;
	padding: 2% 7% 2% 7%;
	font-family: "Segoe UI", cursive;
	font-size: 16px;
	text-align: justify;
}

.bloc-standard figure{
	width: 45%;
	float: right;
	margin-left:3%;
	
}

.bloc-standard img{
	width: 100%;
	box-shadow: 0px 4px 4px #1c1a19;
	border: 10px solid white;
}
.bloc-standard figcaption{

	float: right;
	font-weight: bold;
	font-size: 18px;
	padding-top:4%;
}

.right figure{
	margin-right: 3%;
	float: left;
	margin-left: 0;
}

.right figcaption{
	float: left;

}

.right h1,.right h2{
	margin-left: 8%;
}

.right p{
		
		
}

.bloc-cesure{
	background-color: #F1E0D2;
	text-align: center;
	/*#D2A887*/
}



.bloc-cesure p{
	width: 60%;
	margin-left: 20%;
	padding: 2%;
	/*#D2A887*/
}

	/* accueil */

	#accueil{
		min-height: 1600px;
	}



	.bloc-cesure.accueil {
    background-color: #F1E0D2;
    text-align: center;
    position: absolute;
    z-index: 10;
    top: 30%;
	}

	.accueil{
		position:relative;

	}

	#accueil-bloc1{
		margin-top: 10%;
	}

	.bloc-standard.right.accueil{
		margin-top: 90%;
	}

	.bloc-texte{
		position: absolute;
		z-index: 5;
	}

	.croquis-fond img{
		position: absolute;
		z-index: 1;
		opacity: 0.5;
		box-shadow: none;
	}

	#croquis1 img{
		right: -50%;
    	width: 50%;
	}

	#croquis2 img{
		left: -50%;
	    top: -55%;
	    width: 85%;
	}

	#activites a{
 		color: black;
 		text-align: center;
	}


	#publication p{
 		padding-right: 9%;
	}


/* galerie ou patrimoine */

#galerie img{
	height: 555px;
}

#aqueduc{
	min-height: 1110px;
}

#maisons_bourgeoises{
	min-height: 1665px;
}

#puits_croix{
	min-height: 1110px;
}



#fermes{
	min-height: 2235px;
}

#divers{
	min-height: 3360px;
}

.galerie{
	margin-top: 5%;
}



.photo-brightness img {
filter: brightness(90%);
-webkit-filter: brightness(90%);
}
.photo-brightness img:hover {
 -webkit-filter: contrast(150%); /* Safari */
    filter: contrast(150%);
}

.image{
	height: 555px;
	overflow: hidden;
	padding: 0!important;
}
.commentaire{
	height: 555px;
	background-color:#F1E0D2;
	
}

.text {
	width: 80%;
	text-align: center;
	font-family: 'Oleo Script', cursive;
	font-size: 35px;
	top: 40%;
    position: absolute;
    left: 10%;
}

.text i{
	display: block;
	text-align: center;
	font-size: 46px;
	opacity: 0;
}

.text:hover {
	font-size: 37px;
	
}
.text:hover i{
	opacity: 1;
	
}

#pagination .page-item.active .page-link{
	background-color: #423429;
	color:#fff;
	border-color: #796d63;
}

#pagination .page-item.disabled .page-link{
	color: #868e96;
}

#pagination .page-link{
   color: #000;
   font-size: 1.1em;
}

#pagination .page-link:focus, .page-link:hover{
	 background-color: #423429;
	 color:#fff;   
}

/* ------------ Agenda ----------*/


#agenda i{
    font-size: 7rem;
    color: #423429;
    position: absolute;
    opacity: 0.2;
    left: 10%;
    top: 2%;
}

#agenda h1{
	font-size: 3rem;
    position: absolute;
    top: 6%;
    left: 15%;
    color: #423429;
    opacity: 0.8;
}



#event{
	display: inline-block;
    float: left;
    margin-top: 3%;
}

.card{
	min-height: 400px;
}

/* -------------- Recherches -------------*/
#recherche ul{
	font-size: 1.2em;
}
    

/* ------------ Publications -------------*/
#les_publication img{
	max-width: 100%;
}

#les_publication .bloc-standard figure{
	width: 35%;
}

#les_publication .bloc-standard button{
	margin-left: 25%;
}

/* circuit téléchargement */

.btn-download button{
	margin: 0;
	margin-right: 5%;
}

.txt-download {
	font-size: 1.3em;
    padding-top: 0.5%;
    color: #805a24;
}
/* footer */

/*------------------------------------------------------------------------------------------------*/


.btn-perso-footer{
	color:white ;
	background-color:none;
	width: 100%;
	
	padding:1% ;
	border:2px solid white;
	text-align: center;
	font-size: 18px;	
}

.btn-perso-footer:hover, .btn-perso-footer:focus{
	background-color: white;
	color:black;
	text-decoration: none;
}

#pied{
	padding: 1%;
	
	min-height: 340px;
	background-color: #38302a;
 	background-blend-mode: multiply;
	background-attachment: fixed;
	position:relative;
	background-image: url("../images/galerie/fermes/ferme_mosouvre.jpg" ) ;
	background-size: 100% ;
	width:100%;
	overflow: auto;
	margin:0;
	
}

#blockpied{
	
	
	font-family: "Segoe UI", cursive;
	height: auto;
	width: 100%;
	background-color: none;
	color: white;
	font-size: 18px;
	margin-top: 2%;
	/*text-align: center;*/

}

#blockpied h1{
	font-size: 3em;
    font-family: 'Oleo Script', cursive;
    /* text-align: center; */
    border-bottom: 1px solid white;
    margin-bottom: 3%;
}


#blockpied a{
	text-decoration: none;
	color: white;
	font-size: 18px;

}

#blockpied li{
	list-style:none;

}

#blockpied i{
	font-size: 34px;

}

#txtbloc{
	/*border-right: 3px solid rgba(255, 255, 255, 0.2);
    border-left: 3px solid rgba(255, 255, 255, 0.2);*/
    display: inline-block;
    float: left;
}

#txtinfo{
	display: inline-block;
    
}

#txtinfo p{
	
    padding: 5%;
    background-color: #564d45;
    border-radius: 5px;
}

/*------------------------------------------------------------------------------------------------*/

#end{
	
	text-align: center;
    margin-top: 3%;
    border-top: 1px solid white;
    padding: 2%;
}



/* --------------- responsive --------------------- */


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

	#carouseltexte h3{
	font-size: 3.6em;
	}

	/* patrimoine */
	#galerie img{
	height: 345px;
	}

	.image{
	height: 345px;
	}
	.commentaire{
	height: 345px;
	}

	.text {
		font-size: 20px;
		
	}

	#aqueduc {
    min-height: 710px;
	}

	#fermes {
    min-height: 1400px;
	}

	#maisons_bourgeoises {
    min-height: 1065px;
	}

	#puits_croix {
    min-height: 710px;
	}

	#divers {
    min-height: 2090px;
	}

	.text:hover {
	font-size: 22px;
	}

	#box-sm{
	background-color: #ffffffe3;
    border-radius: 30px;
    padding-left: 5%;
    width: 40%;
	}

	#box-sm .dropdown-menu {
		background-color: transparent;
		border:none!important;
	}

		.bloc-standard.right.accueil{
		margin-top: 170%;
	}


}

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

	#carouseltexte h3{
	font-size: 2.6em;
	}

	.classic_nav #logo_text{	
		font-size: 1.6em;
		padding: 2%;
	}

	.classic_nav img {
    width: 55px;
    height: 55px;
    margin-top: 0.5%;
	}

	.active_nav #logo_text{
		font-size: 1.6em;
		padding: 2%;
		
	}

	.card{
	min-height: 300px;
	}

	.text {
	font-size: 18px;
	}

	.commentaire.col-sm-3 .text {
		top:25%;
	}

	.text:hover {
	font-size: 20px;
	
	}

	.text:hover i{
		opacity: 0;
		
	}

	.bloc-standard.right.accueil{
		margin-top: 260%;
	}

	#accueil{
		min-height: 1800px;
	}

	#pied{
		background-position: 0px;
    	background-repeat: no-repeat;
	}

}

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

	h1{
		font-size: 2.2rem;
	}

	.classic_nav #logo_text{	
	    font-size: 1.1em;
	    padding: 3% 0% 3% 2%;
	    font-weight: 700;
	}


	.active_nav #logo_text{
		font-size: 1.1em;
	    padding: 3% 0% 3% 2%;
	    font-weight: 700;
	}

	.classic_nav img {
	    width: 45px;
	    height: 45px;
	    margin-top: 1%;
	}

	#box-sm{
    	width: 100%;
	}

	#carouseltexte h3 {
    font-size: 2.3em;
	}

	#defilement ol {
    top: 90%;
    opacity: 0;
	}	

	#contenu{
	margin-top: 70%;
	}

	.bloc-standard.right.accueil{
		margin-top: 250%;
	}

	#accueil{
		min-height: 1800px;
	}
	
	.bloc-cesure.accueil {
    	top: 20%
	}

	.image{
	height: auto;
	}

	#galerie img {
    height: auto!important;
    width: 100%;
	}

	#croquis1 img {
     right:0; 
	}

	.text{
		top:0;
	}

	.commentaire{
		border: 8px solid #fbeee3;
		height: 100px;
	}

	.txt-download {
    font-size: 1.1em;
	}
}

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

	h2{
		font-size: 1.7rem!important;
	}

	.classic_nav #logo_text {
    font-size: 0.86em;
    padding: 5% 0% 5% 2%;
	}

	.active_nav #logo_text{
	font-size: 0.86em;
    padding: 5% 0% 5% 2%;
	  
	}

	#carouseltexte h3 {
    font-size: 2em;
	}

	.navbar-brand {
		margin: 0;
		width: 60%;
	}

	.bloc-standard figure {
    width: 100%;
	}

	#les_publication .bloc-standard figure {
    width: 100%;
	}

	#agenda h1 {
    font-size: 2.6rem;
    left:10%;
	}

	#liste_event{
		margin-top: 15%;

	}

	.bloc-standard.right.accueil{
		margin-top: 410%;
	}

	#accueil{
		min-height: 2100px;
	}

	#pied {
	    background-image: none;
	}


}

@media only screen and (max-width: 375px){
	.bloc-standard.right.accueil {
	    margin-top: 465%;
	}

}

@media only screen and (max-width: 360px){
	.bloc-standard.right.accueil {
	    margin-top: 490%;
	}
}