@charset "utf-8";
/* CSS Document */
*{
	font-family: Calibri;
	text-align: justify;
	padding: none;
	margin: none;
	box-sizing: border-box;
}

html{
	background-color: lightblue;
	height: 100%;
}

body{
	background-color:white;
	width:80%;
	margin:auto;
	min-height:100%;
}


a{
	color: #331c0b;
	text-decoration: none;
}

a:hover{
	color: #331c0b;
	text-decoration: none;
}

a:visited{
	color: #331c0b;
	text-decoration: none;
}

a:link{
	color: #331c0b;
	text-decoration: none;
}

.footer{
	background: orange;
	width:100%;
	height:50px;
	text-align:center;
	margin-top:50px;
}


legend{
	text-align:left;
}


/* MENU */
#logo{
	width: 150px;
	float: left;
}

#titre{
	font-family:Calibri;
	text-align: center;
}

#sous_titre{
	text-align: center;
	color: grey;
	font-size:1.5em;
	font-family:Calibri;
}
#protection{
	text-align: center;
	color: grey;
	font-size:1em;
	font-family:Calibri;
	font-weight:normal;
	margin-top:-10px;
}

#menu{
			text-align:center;

        width: 100%;
        margin: 0;
        padding: 10px 0 0 0;
        list-style: none;
        background: #0a4157;
		font-size:1.2em;
		
        background: -moz-linear-gradient(#216c8b, #0a4157);
        background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #0a4157),color-stop(1, #216c8b));
        background: -webkit-linear-gradient(#216c8b, #0a4157);
        background: -o-linear-gradient(#216c8b, #0a4157);
        background: -ms-linear-gradient(#216c8b, #0a4157);
        background: linear-gradient(#216c8b, #0a4157);

}

#menu li{
		width:11%;
		min-width:100px;
        float: left;
        padding: 0 0 10px 0;
        position: relative;
}
#menu li ul li{
		width:100%;
}

#menu a{
		width: 100%;
        float: left;
        height: 25px;
        padding: 0 25px;
		padding-left: 0;
		padding-right: 0;
		text-align: center;
        color: white;
        text-transform: uppercase;
        text-decoration: none;
}

#menu li:hover > a{
        color: black;
}

*html #menu li a:hover{ /* IE6 */
        color: #fafafa;
}

#menu li:hover > ul{
        display: block;
}

/* Sous-menu */

#menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 99999;
	
    background: #299bc9;
    background: -moz-linear-gradient(#299bc9, #216c8b);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #216c8b),color-stop(1, #299bc9));
    background: -webkit-linear-gradient(#299bc9, #216c8b);
    background: -o-linear-gradient(#299bc9, #216c8b);
    background: -ms-linear-gradient(#299bc9, #216c8b);
    background: linear-gradient(#299bc9, #216c8b);
}

#menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
}

#menu ul a{
    padding: 10px 10px 10px 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

*html #menu ul a{ /* IE6 */
        height: 10px;
        width: 150px;
}

*:first-child+html #menu ul a{ /* IE7 */
        height: 10px;
        width: 150px;
}

#menu ul a:hover{
        background: #ff732d;
        background: -moz-linear-gradient(#ff8e55,  #ff732d);
        background: -webkit-gradient(linear, left top, left bottom, from(#ff8e55), to(#ff732d));
        background: -webkit-linear-gradient(#ff8e55,  #ff732d);
        background: -o-linear-gradient(#ff8e55,  #ff732d);
        background: -ms-linear-gradient(#ff8e55,  #ff732d);
        background: linear-gradient(#ff8e55,  #ff732d);
}

#menu ul li:first-child a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #216c8b;
}

#menu ul li:first-child a:hover:after{
    border-bottom-color: #ff8e55;
}

/* Rétablissement du flottement */
#menu:after{
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */

/* Texte défilant */
.messagedefilant {
  display: block;
  margin: auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  width: 70%;
  max-width: 800px;
  height: 50px;
}
 
.messagedefilant div {
  position: absolute;
  min-width: 100%; /* au minimum la largeur du conteneur */
}
 
.messagedefilant div span, 
.messagedefilant div:after {
  position: relative;
  display: inline-block;
  font-size: 1.2em;
  white-space: nowrap;
  top:0;
}
 
.messagedefilant div span {
  animation: defilement 10s infinite linear;
  color: #ff4f11;
}
 
.messagedefilant div:after {
  position: absolute;
  top:0; left:0;
  content:attr(data-text);
  animation: defilement2 10s infinite linear;
  color: #ff4f11;
}
 
@keyframes defilement {
  0% { margin-left: 0; }
  100% { margin-left: -100%; }
}
 
@keyframes defilement2 {
  0% { margin-left: 100%; }
  100% { margin-left: 0%; }
}/*FIN MENU */

.img_left{
	float:left; 
	padding-right:10px;
	width:45%;
}

.responsive{
	display:none;
	margin:auto;
	width:80%;
}
/* ACCUEIL*/

#contenu{
	margin:30px;
}

#photo_eglise{
	text-align:center;	
}

.Eglise{
	width:30%;
	margin: auto;
}

#saint_du_jour:hover{
	text-decoration: underline;
}

/* SLIDES */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 400px;
  height:300px;
  padding: 0;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 0px;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img{
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}
  
  /* SLIDES */
  
#saint_du_jour{
	margin:10px; 
	margin-bottom:-20px;
}

#saint_du_jour img{
	width: 40px;
}

.contenu{
	padding:20px;
}

.gauche{
	width:70%;
	float:left;
}

.droit{
	width:27%;
	float:right;
}

div#slider { width: 80%; max-width: 1000px; } 
div#slider figure {
  position: relative;
  width: 300%;
  margin: 0;
  padding: 0;
  font-size: 0;
  left: 0;
  text-align: left;
  animation: 30s slidy infinite;
}
div#slider figure img { width: 33%; float: left; }
div#slider { width: 80%; max-width: 1000px; overflow: hidden }
@keyframes slidy {
  0% { left: 0%; }
  20% { left: 0%; }
  25% { left: 0%; }
  45% { left: -100%; }
  50% { left: -100%; }
  70% { left: -100%; }
  75% { left: -200%; }
  95% { left: -200%; }
  100% { left: -200%; }
}
/* FIN ACCUEIL*/

#menu_sacrements{
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

#menu_sacrements li{
    margin: 0;
    padding: 0;
    list-style: none;	
    display: list-item;
    text-align: -webkit-match-parent;
    outline: none;	
}

#menu_sacrements a{
    background: #f9f9f9;
    border-bottom: 1px solid #ccc;
    color: #0a4157;
    display: block;
    margin: 0;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: normal;}

#menu_sacrements li:hover > a{
        color: black;
}

*html #menu_sacrements li a:hover{ /* IE6 */
        color: #fafafa;
}

.fixed {
	margin:0;
	position:fixed;
	top:0;
}


.img_dev{
	float: left;
	width: 300px;
	margin-right:20px;
}


/* PDF */

.pdf{
	width:100%;
	height:800px;
}

/* FIN PDF */


.saint_autre_couleur{
	background-color:#e6fce6;
	border-bottom: 0.5px solid green;
}
iframe{
	display:block;
	margin:auto;
}

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



 @media screen and (max-width : 800px){
	html{
		width:100%; 
	}
	body{
		width:100%; 
		margin: none;
	}
	

	#contenu{
		padding:5px;
	}
}

@media screen and (max-width : 750px){
	.gauche{
		float:initial; 
		width:100%;
	}
	
	.droit{
		float:initial;
		width:100%;
	}
	
	.rslides{
		display:none;
	}

	/* .responsive{ */
		/* display:block; */
		
	/* } */
	
	.img_dev{ 
		float:initial;
		margin:auto;
		width:80%;
	}
	
	.img_left{
		float:initial;
		margin:auto;
		width:80%;
	}
	
	#nav_sacrements{ 
		display:none;
	} 
}


