/*------------------------------------------------------------------------------------------------------------*/
/*
	= ACCUEIL
*/
/*------------------------------------------------------------------------------------------------------------*/
#portal-globalnav li#portaltab-index_html.selected a,
#portal-globalnav li#portaltab-index_html.selected a:hover,
#portal-globalnav li#portaltab-index_html.selected a:focus{
	font-weight: 700;
}
#portal-column-content h1{
	position:absolute;
	top:-5000px;
}
#portal-column-content .documentDescription{
	position:absolute;
	top:-5000px;
}

#visual-portal-wrapper #portal-column-content {
	max-width: none;
	padding-bottom: 0;
}
#portletPageTopRow > div {
	padding: 80px 0;
}

#portletPageTopRow > div > div,
#portletPageTopRow > div > dl.portlet{
	max-width: var(--max-width);
	padding-left: var(--margin-text);
	padding-right: var(--margin-text);
	margin: auto;
}


#portal-column-content #portletPageTopRow > div > .portlet > .portletHeader {
	font-family: var(--font-title);
	color: var(--color-primary2);
	font-size: 3.5em;
	line-height: 1.3;
	text-align: center;
	margin-bottom: calc(var(--margin-current)/2);
}
#visual-portal-wrapper .portletFooter {
	text-align: right;
}
#visual-portal-wrapper .portletFooter a {
	font-weight: 500;
	text-transform: uppercase;
	font-size: 1.1em;
	display: inline-block;
	padding: 8px 30px;
	background: var(--color-primary) !important;
	border-radius: 100px;
	color: #fff !important;
	margin-top: 10px;
}
#visual-portal-wrapper .portletFooter a:hover {
	background: var(--color-primary2) !important;
}


#portal-column-content #portletPageTopRow > div > .portlet > .portletFooter {
	text-align: center;
}
#portal-column-content #portletPageTopRow > div > .portlet > .portletFooter a{	
	color: #fff !important;
	background: var(--color-primary2);

	box-shadow: none;
	border: none;
	padding: 12px 60px; 
	border-radius: 50px;
	outline: none;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: 600;
	margin-top: 10px;
	display: inline-block;
}

#portal-column-content #portletPageTopRow > div > .portlet > .portletFooter a:hover{
	background: var(--color-primary);
	color: #fff !important;
	text-decoration: none;
}


#portletPageColumns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#portletPageTopRow {
	width: 100%;
}

/*--------------------------------------------------------------------------------------------------------------
	== twitter
--------------------------------------------------------------------------------------------------------------*/
#portletPageTopRow > div {
	padding-top: 0;
}
#content .portletRss .portletFooter{
	display: none;
}
#content .portletRss {
	padding: 15px;
	background: #fff;
	border-radius: 5px;
	position: relative;
}
#content .portletRss .portletItem {
	overflow: hidden;
}
#portal-column-content #portletPageTopRow > div > .portlet.portletRss > .portletHeader {
	padding: 0 10px;
	position: absolute;
	top: 5px;
	bottom: 5px;
	right: 0;
	display: flex;
	align-items: center;
	background: #fff;
	z-index: 1;
	font-size: 1.4em;
	text-transform: none;
	font-family: var(--font-current);
	margin: 0;
}
#content .portletRss .portletHeader::before {
	content: "\e90a";
	font-family: var(--font-picto);
	color: var(--color-primary);
	margin-right: 5px;
	padding-left: 10px;
	border-left: 1px solid var(--color-lightGrey);
}
#content .portletRss .portletItem a {
	display: inline-block;                  
	white-space: nowrap;   
	animation: defilement-rtl 25s infinite linear;
}

#content .portletRss:hover .portletItem a {
    animation-play-state: paused;
}
@keyframes defilement-rtl {
0% {
	transform: translate3d(0,0,0);      /* position initiale à droite */
}
100% {
	transform: translate3d(-100%,0,0);  /* position finale à gauche */
}
}
#content .portletRss .portletItem .portletItemDetails {
	display: none;
}

/*--------------------------------------------------------------------------------------------------------------
	== ACTUALITES
--------------------------------------------------------------------------------------------------------------*/


#portletPageFirstColumn{
	float: none;
	width: 70%;
	position: relative;
	margin-bottom: 80px;
}


#content .actualites {
	position: relative;
}
#content .actualites .bx-wrapper+.bx-wrapper {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 180px;
}
#content .actualites .bx-wrapper+.bx-wrapper .bx-viewport {
	width: auto !important;
	height: 100%  !important;
	overflow: visible !important;
}
#content .actualites .bx-wrapper+.bx-wrapper .bx-pager{
	width: auto !important;
	display: flex;
	flex-direction: column;    
	height: 100%;
}
#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a{
	display: block;
	width: 100% !important 	;
	height: calc(33% - 5px);
	margin-bottom: 5px;
	cursor: pointer;
}
#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a:last-child{
	margin-bottom: 0 !important;
	height: calc(33% + 2px);
}
#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a.active:after{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 3px solid var(--color-primary);
	border-radius: 5px;
	content: "";
}
#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a.active:before{
	content: "";
	position: absolute;
	top: calc(50% - 30px);
	right: -20px;
	display: flex;
	align-items: center;
	width: 0; 
	height: 0; 
	border-top: 30px solid transparent;
	border-bottom: 30px solid transparent; 
	
	border-left:20px solid var(--color-primary); 
}


#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a span.img{
	display: block;
	overflow: hidden;
	position: relative;
	border-radius: 5px;
	height: 100%;
}
#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a span.img img{ 
	position: absolute;
	object-fit: cover;
	top: 50%;
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	left: 50%;
	max-width: none;
	width: 100%;
	min-height: 100%;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a span.description{
	position: absolute;
	bottom: 0;
	left:0;
	right: 0;
	text-align: center;
	display: block;
	color: #ffffff;
	font-weight: 500;
	padding: 50px 10px 10px;
	font-size: 1.4em;
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
	border-radius: 0 0 5px 5px;
}

#content .actualites .bx-wrapper:first-child {
	padding-left: 185px;
    width: 100%;
    max-width: none !important;
}
#content .actualites .bx-wrapper:first-child .bx-viewport {
	height: 100% !important;
}

#content .actualites .bx-wrapper:first-child li{
	overflow: hidden;
	display: block;
	max-width: 100%;

}
#content .actualites .bx-wrapper:first-child li > a:first-child{
	display: block;
	margin-bottom: 10px;
	overflow: hidden;
	position: relative;
	border-radius: 5px;
}
#content .actualites .bx-wrapper:first-child li > a:first-child::after {
	content: "";
	padding-top: 60%;
	display: block;
}
#content .actualites .bx-wrapper:first-child li > a:first-child img{
	position: absolute;
	object-fit: cover;
	top: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
    left: 50%;
	max-width: none;
    width: 100%;
    min-height: 100%;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}


#content .actualites .bx-wrapper:first-child li div {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	padding: 100px 20px 20px;
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
	pointer-events: none;
	
	border-radius: 0 0 5px 5px;
}
#content .actualites .bx-wrapper:first-child li div h2,
#content .actualites .bx-wrapper:first-child li div p,
#content .actualites .bx-wrapper:first-child li div a.savoirplus{
	padding: 0;
	margin-bottom: 0;
	line-height: 1.2em;
	font-size: 1.6em;
	color: #fff !important;
	font-weight: 600;
}
#content .actualites .bx-wrapper:first-child li div h2 a {
	color: #fff !important;
}
#content .actualites .bx-wrapper:first-child li div p {
	font-weight: 500;
	margin-bottom: 10px;
}


#content .actualites .bx-controls {
	display: none;
}
#content .actualites .portletFooter {
	position: absolute;
	top: 100%;
	right: 0;
}



/*--------------------------------------------------------------------------------------------------------------
	== AGENDA
--------------------------------------------------------------------------------------------------------------*/

#portletPageSecondColumn {
	float: none;
	width: 30%;
	padding-left: 30px;
	margin-bottom: 80px;
}

#visual-portal-wrapper .agenda {
	padding-left: 30px;
	border-left: 1px solid var(--color-current);
	padding-top: 10px;
}
#visual-portal-wrapper .agenda .portletHeader{
	font-size: 3.5em;
	color: var(--color-primary2);
	font-family: var(--font-title);
	font-weight: normal;
	margin-bottom: 20px;
	line-height: 1em;
}
#visual-portal-wrapper .agenda .portletItem {
	display: block;
	margin-bottom: 10px;
	padding-left: 10px;
	background:	url(../images/puce.png) 0 0.6em no-repeat;
	overflow: hidden;
}

#visual-portal-wrapper .agenda .portletItem  h2,
#visual-portal-wrapper .agenda .portletItem > span {
	display: inline;
	font-size: 1.5em;
    font-family: var(--font-current);
	font-weight: 500;
	line-height: 1.2em;
}
#visual-portal-wrapper .agenda .portletItem > span {
	font-weight: 600;
	font-size: 1.2em;
}
#visual-portal-wrapper  .portletItem > span abbr{
	text-decoration: none;
}
#visual-portal-wrapper  .portletItem > span:before {
	content: ' '; 
	display: block;
}



#visual-portal-wrapper .agenda .portletFooter a:hover {
	background: var(--color-primary2) !important;
}
#visual-portal-wrapper .agenda a.bouton{
	float: right;
	clear: both;
	padding-right: 8px;
	font-weight: 500;
	color: var(--color-primary) !important;
	text-transform: uppercase;
	font-size: 1.1em;
	position: relative;
	z-index: 99
}
#visual-portal-wrapper .agenda a.bouton:after {
	content: " ";
    font-family: 'fontawesome';
	font-style: normal;
}

#visual-portal-wrapper .agenda p {
	clear: both;
}

/*
	PORTLET EVENEMENT
*/
#visual-portal-wrapper .portletEvents.agenda .portletHeader {
	display: none;
}
#visual-portal-wrapper .portletEvents.agenda .portletItem {
	padding: 0 0 0 10px;
	width: 100%;
}
#visual-portal-wrapper .portletEvents.agenda .portletFooter {
	padding: 0;
}
#visual-portal-wrapper .portletEvents.agenda .portletItem a {
	display: inline;
	font-size: 1.7em;
	font-family: 'var(--font-current)';
	font-weight: 400;
	line-height: 1.2em;
}
#visual-portal-wrapper .portletEvents.agenda .portletItem .portletItemDetails span + span {
	display: none;
}


/*--------------------------------------------------------------------------------------------------------------
	== AutoPromo
--------------------------------------------------------------------------------------------------------------*/
#portletPageBottomRow {
	width: 100%;
}
#portletPageBottomRow  .portlet-home-autopromo{
	padding-top: 80px;
	border-top: 1px solid #DCE0EB;
	text-align: center;
}
#portletPageBottomRow .portlet-collection-home-autopromo{
	max-width: var(--max-widthSmall);
	margin: auto;
}
#portletPageBottomRow .portlet-collection-home-autopromo .portletItem  > h2{
	display: none;
}


/*--------------------------------------------------------------------------------------------------------------
	== VOS QUESTIONS
--------------------------------------------------------------------------------------------------------------*/
#below-content .questions  {
	margin: 80px 0 0;
	background: #FFF;
	border-top: 5px solid var(--color-secondary);
	border-bottom: 5px solid var(--color-secondary);
	text-align: center;
}
#below-content .questions h2{
	display: inline-block;
	margin: -50px auto 0;
	color:#FFF;
	background: var(--color-secondary);
	padding: 14px 25px 11px;
	font-size: 3.5em;
	font-weight: normal;
	font-family: var(--font-title);
}
#below-content .questions ul{
	margin: 0;
	padding: 30px 0 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#below-content .questions li{
	display: inline-block;
	width: 16.5%;
	padding: 0;
	margin: 0;
	min-height: 115px;
	display: flex;
	align-items: center;
	justify-content: center;
	
	vertical-align: top;
	border-left: 1px solid #a9a9a6;
	border-right: 1px solid #a9a9a6;
	margin: 0 2px;
}
#below-content .questions li:first-child{
	border-left: none;
}
#below-content .questions li:last-child{
	border-right: none;
}
#below-content .questions li a{
	display: block;
	font-size: 1.5em;
	font-weight: 500;
	line-height: 1em;
	position: relative;
}
#below-content .questions li:hover a{
	text-decoration: none;
}
#below-content .questions li:hover a {
	-moz-transform: translateY(-3px);
	-webkit-transform: translateY(-3px);
	-o-transform: translateY(-3px);
	-ms-transform: translateY(-3px);
	transform: translateY(-3px);
}
#below-content .questions li a:before {
	display: block;
	margin-bottom: 20px;
	font-size: 3em;
	line-height: 1;
	font-family: var(--font-picto);
	color: var(--color-secondary);
	
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
#below-content .questions li:hover a:before {
	-moz-transform: translateY(-5px);
	-webkit-transform: translateY(-5px);
	-o-transform: translateY(-5px);
	-ms-transform: translateY(-5px);
	transform: translateY(-5px);
}
#below-content .questions li.mariage a:before {
	content: "\e906";
}
#below-content .questions li.bapteme a:before {
	content: "\e902";
}
#below-content .questions li.certif a:before {
	content: "\e904";
}
#below-content .questions li.confirmation a:before {
	content: "\e905";
}
#below-content .questions li.victime a:before {
	content: "\e901";
}
#below-content .questions li.question a:before {
	content: "\e907";
}


/*--------------------------------------------------------------------------------------------------------------
	== Map
--------------------------------------------------------------------------------------------------------------*/
#below-content .portlet-portlet_static,
#below-content .portlet-map {
	background: #fff;
	padding: 50px 0;
}
#below-content .portlet-portlet_static .portletEmbed,
#below-content .portlet-map .portletEmbed{
	display: flex;
	max-width: var(--max-width);
	padding-left: var(--margin-text);
	padding-right: var(--margin-text);
	margin: auto;
}
#below-content .portlet-portlet_static .portletEmbed > div,
#below-content .portlet-map .portletEmbed > div{
	width: 55%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 80px;
}
#below-content .portlet-portlet_static .portletEmbed > div:first-child,
#below-content .portlet-map .portletEmbed > div:first-child{
	flex-direction: column;
	padding-left: 0;
	padding-right: 80px;
	width: 45%;
	border-right: 1px solid var(--color-lightGrey);
	text-align: left;
}
#below-content .portlet-portlet_static .portletEmbed > div:first-child h2,
#below-content .portlet-map .portletEmbed > div:first-child h2{
	width: 100%;
	font-family: var(--font-title);
	color: var(--color-primary2);
	font-size: 3.5em;
	font-weight: normal;
}
#below-content .portlet-portlet_static .portletEmbed > div:first-child p,
#below-content .portlet-map .portletEmbed > div:first-child p{
	font-size: 1.4em;
}
#below-content .portletEmbed > div .st0:hover,
#below-content .portletEmbed > div .st1:hover,
#below-content .portletEmbed > div .st2:hover,
#below-content .portletEmbed > div .st3:hover,
#below-content .portletEmbed > div .st4:hover,
#below-content .portletEmbed > div .st5:hover,
#below-content .portletEmbed > div .st6:hover,
#below-content .portletEmbed > div .st7:hover,
#below-content .portletEmbed > div .st8:hover{
	fill: var(--color-primary);
}


/*--------------------------------------------------------------------------------------------------------------
	== ACTUA PAROISSES
--------------------------------------------------------------------------------------------------------------*/
#portlets-footer{
	overflow: hidden;
	margin-top: 80px;
}

#visual-portal-wrapper .actu-paroisses .portletHeader{
	text-align: center;
	font-size: 3.5em;
	line-height: 1.5;
	font-family: var(--font-title);
	color: var(--color-primary2);
	margin: 0;
}
#visual-portal-wrapper .actu-paroisses > ul {
	display: flex;
	justify-content: space-between;
	max-width: var(--max-width);
	padding-left: var(--margin-text);
	padding-right: var(--margin-text);
	margin: 40px auto 80px;
	font-size: 1.6em;
}
#visual-portal-wrapper .actu-paroisses .portletItem {
	width: 24%;
}
#visual-portal-wrapper .actu-paroisses .portletItem a.illustration{
	display: block;
	margin-bottom: 10px;
	overflow: hidden;
	position: relative;
	border-radius: 5px;
}
#visual-portal-wrapper .actu-paroisses .portletItem a.illustration::after {
	content: "";
	padding-top: 60%;
	display: block;
}
#visual-portal-wrapper .actu-paroisses .portletItem a.illustration img{
	position: absolute;
	object-fit: cover;
	top: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
    left: 50%;
	max-width: none;
    width: 100%;
    min-height: 100%;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#visual-portal-wrapper .actu-paroisses .portletItem:hover a.illustration img{
    -moz-transform: translateX(-50%) translateY(-50%) scale(1.1);
	-webkit-transform: translateX(-50%) translateY(-50%) scale(1.1);
	-o-transform: translateX(-50%) translateY(-50%) scale(1.1);
	-ms-transform: translateX(-50%) translateY(-50%) scale(1.1);
	transform: translateX(-50%) translateY(-50%) scale(1.1);
}

#visual-portal-wrapper .actu-paroisses .portletItem h2,
#visual-portal-wrapper .actu-paroisses .portletItem p{
	padding: 0;
	line-height: 1.2;
	font-size: 1em;
}
#visual-portal-wrapper .actu-paroisses .portletItem p{
	font-size: 0.9em;
}


/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------------------------------------*/
/*
	= RESPONSIVE
*/
/*------------------------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 768px){
	
	#portletPageTopRow > div {
		padding: 50px 0;
	}
	#portletPageTopRow > div {
		padding-top: 0;
	}
	#portletPageSecondColumn,
	#visual-portal-wrapper .agenda {
		padding-left: 15px;
	}
	#content .actualites .bx-wrapper:first-child {
		padding-left: 0;
	}
	#content .actualites .bx-wrapper+.bx-wrapper {
		position: relative;
		width: 100%;
	}
	#content .actualites .bx-wrapper+.bx-wrapper .bx-pager {
		flex-direction: row;
		min-height: 100px;
	}
	#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a {
		height: auto !important;
		margin-right: 5px !important;
		margin-bottom:  0 !important;
		margin-left: 0 !important;
	}
	#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a:last-child {
		margin-right: 0 !important;
	}
	#content .actualites .bx-wrapper+.bx-wrapper .bx-pager > a.active:before {
		border-left: 30px solid transparent;
		border-right: 30px solid transparent;
		border-bottom: 20px solid var(--color-primary);
		border-top: 0;
		top: -20px;
		bottom: auto;
		left: calc(50% - 30px);
		z-index: 3;
	}
	#portletPageBottomRow .portlet-home-autopromo {
		padding-top: 50px;
		margin-top: 65px;
	}
	
	#below-content .questions ul {
		padding: 20px 0 30px;
		flex-wrap: wrap;
	}
	
	#below-content .questions li {
		width: 32%;
		margin-bottom: 20px;
	}
	
	#below-content .questions li:nth-child(3) {
		border-right: none;
	}
	#below-content .questions li:nth-child(4) {
		border-left: none;
	}
	#below-content .questions li a:before {
		font-size: 2.5em;
		margin-bottom: 10px;
	}
	
	#portlets-footer {
		margin-top: 50px;
	}
	#visual-portal-wrapper .actu-paroisses > ul {
		margin: 30px auto 50px;
	}
}
@media only screen and (max-width: 500px){

	#portletPageFirstColumn,
	#portletPageSecondColumn {
		width: 100%;
	}
	#portletPageSecondColumn {
		padding-top: 30px;
		padding-left: 0;
		margin-top: 20px;
		border-top: 1px solid var(--color-lightGrey);
		margin-bottom: 0;
	}
	#visual-portal-wrapper .agenda {
		padding-left: 0;
		border-left: none;
	}
	#visual-portal-wrapper .portletFooter {
		left: 0;
		text-align: center;
		margin-top: 10px;
	}
	#visual-portal-wrapper .portletFooter a {
		display: block;
		text-align: center;
	}
	#visual-portal-wrapper .agenda > ul {
		margin-bottom: 40px;
	}
	#visual-portal-wrapper .agenda a.bouton {
		float: none;
		text-align: center;
		display: block;
	}
	#portletPageBottomRow .portlet-home-autopromo {
		margin-top: 40px;
		padding-top: 40px;
	}

	#below-content .questions li {
		width: 48%;
		border: none !important;
		min-height: 90px;
	}
	#below-content .questions li a:before {
		font-size: 3.5em;
	}
	#below-content .portlet-portlet_static .portletEmbed,
	#below-content .portlet-map .portletEmbed {
		display: block;
	}
	#below-content .portlet-portlet_static .portletEmbed > div,
	#below-content .portlet-map .portletEmbed > div{
		width: 100% !important;
		padding: 0 !important;
		text-align: center !important;
	}
	#below-content .portlet-portlet_static .portletEmbed > div > *,
	#below-content .portlet-map .portletEmbed > div > *{
		width: 100%;
	}
	#below-content .portlet-portlet_static .portletEmbed > div:first-child,
	#below-content .portlet-map .portletEmbed > div:first-child  {
		margin-bottom: 20px;
		border: none;
	}

	#visual-portal-wrapper .actu-paroisses > ul {
		flex-wrap: wrap;
	}
	#visual-portal-wrapper .actu-paroisses .portletItem {
		width: 100%;
		margin-bottom: 50px;
	}
	#visual-portal-wrapper .actu-paroisses .portletItem:last-child {
		margin-bottom: 0;
	}

}
