/*
Theme Name: Montoire sur le Loir
Template Theme URI: http://www.axn-informatique.com/
Author: Olivier Blais
Author URI: https://www.bbforge.fr/
Description: Thème pour la mairie de Montoire sur le Loir
Version: 1.0
*/

body {
	font-family: 'Barlow', sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	color: #2E2E2E;
}
a,
a:hover,
a:focus {
	color: #1F06AC;
}
b, strong {
    font-weight: 700;
}
.img-fluid {
    width: 100%;
    height: auto;
}
.alignleft {
	margin-right: 10px;
	margin-bottom: 10px;
	float: left;
}
.alignright {
	margin-left: 10px;
	margin-bottom: 10px;
	float: right;
}
.aligncenter {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
button {
    overflow: visible;
	padding: 0;
    border: 0;
    font: inherit;
    -webkit-font-smoothing: inherit;
    letter-spacing: inherit;
    background: none;
    cursor: pointer;
}
.btn, .mailpoet_submit {
	color: #1f06ac;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 4px;
	display: inline-block;
}
.btn-normal, .mailpoet_submit {
	padding: 6px 25px;
	font-size: 14px;
	border: 1px solid #1f06ac;
	background-color: #fff;
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.btn-small {
	padding: 6px 22px;
	font-size: 12px;
	background-color: #fff;
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.btn-normal:hover, .btn-small:hover, .mailpoet_submit:hover {
	color: #fff;
	background-color: #1f06ac;
}
.mailpoet_submit {
	margin-top: 20px;
	padding: 4px 25px;
}

/*
 * Header
 */
header {
 	background-color: #F4F4F4;
 }
header .top-header {
	padding: 10px 0;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
header .site-branding {
	padding-top: 15px;
	top: 0;
	left: 0;
  	position: absolute;
}
header .site-branding::before {
	top: 0;
	left: 0;
	width: 120px;
	height: 98px;
 	content: '';
 	background-color: #fff;
 	position: absolute;
}
header .site-branding a {
	width: 134px;
	height: 98px;
 	font-size: 0;
 	background: url(img/logo.svg);
 	background-size: contain;
 	background-repeat: no-repeat;
 	display: block;
 	position: relative;
}
header .site-desc {
	margin-right: 50px;
	color: #13007C;
	font-size: 20px;
	font-weight: 500;
	line-height: 30px;
}
header .site-desc span {
	font-size: 14px;
}
header .top-search {
	margin-right: 25px;
}
header .top-search input {
	padding: 3px 30px 3px 8px;
	width: 220px;
	color: #818181;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid #fff;
	background-image: url('img/icon-search.svg');
	background-repeat: no-repeat;
	background-position: 98% 50%;
	background-size: 17px;
}
#top-menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
#top-menu li a {
	padding: 0 15px;
	color: #2E2E2E;
	font-size: 14px;
	font-weight: 500;
}
#top-menu li a:hover {
	color: #3029DD;
	text-decoration: none;
}
#top-menu li::after {
	margin-bottom: -2px;
	width: 3px;
	height: 12px;
	content: '';
	background-color: #3029DD;
	display: inline-block;
}
#top-menu li:last-child::after {
	display: none;
}
#top-menu li.facebook a {
	font: 0/0 a;
}
#top-menu li.facebook a::before {
    margin-bottom: -5px;
    width: 21px;
    height: 21px;
    content: '';
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSIyMSIgdmlld0JveD0iMCAwIDIxIDIxIj4KICA8cGF0aCBpZD0iRkIiIGQ9Ik00NC42LDMuNTY2QTMuNTUxLDMuNTUxLDAsMCwwLDQxLjAzNCwwSDI3LjE2NkEzLjU1MSwzLjU1MSwwLDAsMCwyMy42LDMuNTY2VjE3LjQzNEEzLjU1MSwzLjU1MSwwLDAsMCwyNy4xNjYsMjFIMzQuM1YxMy4wNzVIMzEuOTIxVjkuNTA5SDM0LjNWOC4zMjFBNC4wNzMsNC4wNzMsMCwwLDEsMzguMjYsMy45NjJoMi43NzRWNy41MjhIMzguMjZhLjg1Mi44NTIsMCwwLDAtLjc5Mi43OTJWOS41MDloMy41NjZ2My41NjZIMzcuNDY4VjIxaDMuNTY2QTMuNTUxLDMuNTUxLDAsMCwwLDQ0LjYsMTcuNDM0WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIzLjYpIiBmaWxsPSIjMkUyRTJFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz4KPC9zdmc+');
	background-repeat: no-repeat;
	background-position:50%;
	display: inline-block;
}
@media (min-width: 992px) and (max-width: 1199px) {
	header .site-desc {
		width: 150px;
	}
}
@media (max-width: 991px) {
	header {
		background-color: #fff;
	}
	header::before {
		top: 0;
		left: 0;
		width: 100%;
		height: 50px;
		content: '';
		background-color: #F4F4F4;
		position: absolute;
	}
	header .top-header {
		padding: 0;
	}
	header .site-branding {
		top: 45px;
	}
	header .site-branding::before {
		display: none;
	}
	header .site-branding a {
		width: 105px;
		height: 75px;
	}
	header .top-menu {
		top: 10px;
		left: 0;
		position: absolute;
	}
	
	header .site-desc {
		margin-top: 50px;
		margin-left: -15px;
		margin-right: -15px;
		padding: 45px 20px 10px 140px;
		min-height: 95px;
		-webkit-box-flex: 1;
		    -ms-flex: 1 1 auto;
		        flex: 1 1 auto;
	}
}
@media (min-width: 741px) and (max-width: 991px) {
	header .top-search {
		top: 7px;
		right: 80px;
		position: absolute;
	}
}
@media (max-width: 740px) {
	header .search-toggle {
		top: 15px;
		right: 110px;
		width: 17px;
		height: 17px;
		background-image: url('img/magnifying-glass.svg');
		background-repeat: no-repeat;
		background-size: contain;
		background-position: 50% 50%;
		position: absolute;
	}
	header .top-search {
		margin-left: -15px;
		margin-right: -15px;
		padding: 15px;
		-webkit-box-flex: 1;
		    -ms-flex: 1 1 auto;
		        flex: 1 1 auto;
		display: none;
	}
	header .top-search input {
		width: 100%;
		border: 1px solid #eee;
	}
}
@media (max-width: 550px) {
    header::before {
		height: 85px;
	}
    header .search-toggle {
        top: 52px;
        right: 62%;
    }
    header .site-branding {
        top: 85px;
    }
}
@media (max-width: 491px) {
    header .site-desc {
        margin-top: 60px;
    }
	header .site-desc {
		margin-bottom: 10px;
	}
}
@media (max-width: 373px) {
	#top-menu li a {
        padding: 0 12px;
    }
}
@media (max-width: 349px) {
	#top-menu li a {
        padding: 0 8px;
    }
}
@media (max-width: 328px) {
	header .site-desc {
		margin-bottom: 0;
	}
}

/* 
 * Nav
 */
.menu-toggle {
	top: 10px;
	right: 10px;
	padding: 0 15px;
	color: #1f06ac;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 4px;
	border: 1px solid #1f06ac;
	background-color: #fff;
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	cursor: pointer;
	z-index: 9999;
	position: absolute;
}
.menu-toggle:focus,
.menu-toggle:hover,
.menu-toggle:active {
	outline: 0;
}
.menu-toggle.open {
	color: #fff;
	background-color: #1f06ac;
}
@media (max-width: 550px) {
	.menu-toggle {
        top: 45px;
        right: 32%;
    }
}
header .site-navigation {
	margin-right: -15px;
	margin-left: -15px;	
	background-color: #fff;
 }
header .site-navigation nav {
 	width: 100%;
 }
#primary-menu {
	margin: 0;
	padding: 15px 5px; 
	width: 100%;
	background-color: #EDF0FD;
	list-style: none;
	border-bottom: 4px solid #1F06AC;
	z-index: 1100;
	display: none;
}
#primary-menu > li {
	text-align: left;
	line-height: 20px;
}
#primary-menu > li > a {
	padding: 10px;
	color: #2E2E2E;
	font-size: 20px;
	font-weight: 700;
	display: inline-block;
}
#primary-menu > li > a:hover {
	color: #1F06AC;
	text-decoration: none;
}
#primary-menu > li > .sub-menu {
	padding: 0;
	list-style-type: none;
}
#primary-menu > li > ul.sub-menu > li {
	margin: 0 10px 10px 10px;
	padding-bottom: 10px;
    text-align: left;
    border-bottom: 1px solid #A7B1FF;
}
#primary-menu > li > ul.sub-menu > li > a {
	padding: 4px 8px;
    color: #1F06AC;
    font-size: 18px;
	text-decoration: none;
	font-weight: 700;
	border-radius: 4px;
	display: block;
}
#primary-menu > li > ul.sub-menu > li > a:hover {
	background-color: #fff;
}
#primary-menu > li > ul.sub-menu > li > ul.sub-menu {
	padding: 0;
	list-style-type: none;
}
#primary-menu > li > ul.sub-menu > li > ul.sub-menu > li > a {
    padding: 4px 8px;
    color: #2E2E2E;
    font-size: 16px;
	text-decoration: none;
	font-weight: 500;
	line-height: 18px;
	border-radius: 4px;
	display: block;
}
#primary-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:hover {
    background-color: #fff;
}
@media (min-width: 992px) {
	header {
		min-height: 70px;
		background-color: #F4F4F4;
	}
	header .site-navigation nav {
		width: 100%;
	}
	.menu-toggle {
		display: none;
	}
	#primary-menu {
		padding: 0;
		width: 100%;
		list-style: none;
		z-index: 1100;
		border-bottom: 0;
		background-color: #fff;
		-webkit-box-pack: end;
		    -ms-flex-pack: end;
		        justify-content: flex-end;
		-webkit-box-align: bottom;
		    -ms-flex-align: bottom;
		        align-items: bottom;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	#primary-menu > li {
		position: relative;
	}
	#primary-menu > li > a {
		padding: 25px 20px;
		color: #2E2E2E;
		font-size: 18px;
		text-align: center;
		font-weight: 500;
	}
	#primary-menu > li:hover > a {
		color: #1F06AC;
		text-decoration: none;
		font-weight: 500;
		position: relative;
	}
	#primary-menu > li.current-menu-item > a, 
	#primary-menu > li.current-menu-ancestor > a {
		color: #1F06AC;
		text-decoration: none;
		font-weight: 700;
		position: relative;
	}
	#primary-menu > li:hover > a::after, 
	#primary-menu > li.current-menu-item > a::after, 
	#primary-menu > li.current-menu-ancestor > a::after {
		bottom: 0;
		left: 50%;
		width: 30px;
		height: 6px;
		content: '';
		-webkit-transform: translateX(-50%);
		        -ms-transform: translateX(-50%);
		    transform: translateX(-50%);
		background-color: #1F06AC;
		position: absolute;
	}
	#primary-menu > li > .sub-menu {
		padding: 20px 10px 15px 10px;
		top: 70px;
		left: -9999px;
		list-style-type: none;
		border-bottom: 4px solid #1F06AC;
		background-color: #EDF0FD;
		opacity: 0;
		-webkit-transition: opacity 0.4s linear;
		-o-transition: opacity 0.4s linear;
		transition: opacity 0.4s linear;
		visibility: hidden;
		-webkit-column-count: 4;
		   -moz-column-count: 4;
		        column-count: 4;
		position: absolute;
		z-index: 1100;
	}
	#primary-menu > li:hover > ul.sub-menu {
		opacity: 1;
		visibility: visible;
		display: block;
	}
	#primary-menu > li > ul.sub-menu > li {
		margin: 0 10px 10px 10px;
		padding-bottom: 10px;
	    text-align: left;
	    border-bottom: 1px solid #A7B1FF;
	    -webkit-column-break-inside: avoid;
	       -moz-column-break-inside: avoid;
	            break-inside: avoid;
	}
	#primary-menu > li > ul.sub-menu > li > a {
		padding: 4px 8px;
	    color: #1F06AC;
	    font-size: 18px;
		text-decoration: none;
		font-weight: 700;
		border-radius: 4px;
		display: block;
	}
	#primary-menu > li > ul.sub-menu > li > a:hover {
	    background-color: #fff;
	}
	#primary-menu > li > ul.sub-menu > li > ul.sub-menu {
		padding: 0;
		list-style-type: none;
	    display: block;
	}
	#primary-menu > li > ul.sub-menu > li > ul.sub-menu > li > a {
	    padding: 4px 8px;
	    color: #2E2E2E;
	    font-size: 16px;
		text-decoration: none;
		font-weight: 500;
		border-radius: 4px;
		display: block;
	}
	#primary-menu > li > ul.sub-menu > li > ul.sub-menu > li > a:hover {
	    background-color: #fff;
	}
}

/*
 * Headband
 */
.home-headband {
	margin-bottom: 60px;
}
.home-headband .content {
	margin-left: -15px;
	margin-right: -15px;
	height: 650px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}
.headband {
	height: 170px;
	text-align: center;
	background-image: url('img/banniere-ville.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}
.headband.banner-id-88 {
	background-image: url('img/banniere-acces.jpg');
}
.headband.banner-id-14 {
	background-image: url('img/banniere-associations.jpg');
}
.headband.banner-id-16 {
	background-image: url('img/banniere-culture.jpg');
}
.headband.banner-id-92, .headband.banner-id-93 {
	background-image: url('img/banniere-mentions-legales.jpg');
}
.headband.banner-id-8 {
	background-image: url('img/banniere-municipalite.jpg');
}
.headband.banner-id-86, .headband.banner-id-109 {
	background-image: url('img/banniere-urgence-contact.jpg');
}
.headband.banner-id-12 {
	background-image: url('img/banniere-vie-quotidienne.jpg');
}
.headband h2 {
	margin-top: 55px;
}
.headband h2, .headband h2 a {
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	line-height: 40px;
	text-shadow: 0 0 15px rgba(19, 0, 124, 1);
}
.headband h2 a:hover {
	text-decoration: none;
}
@media (max-width: 991px) {
	.home-headband {
	    margin-bottom: 30px;
	}
	.home-headband .content {
		height: 300px;
	}
	.headband h2, .headband h2 a {
		font-size: 36px;
	}
}

/*
 * Breadcrumbs
 */
.breadcrumbs {
	margin-bottom: 30px;
	color: #2E2E2E;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	background-color: #E5FCDB;
}
.breadcrumbs .hero-breadcrumb {
	margin-top: 8px;
	margin-bottom: 8px;
}
.breadcrumbs .hero-breadcrumb a {
	color: #2E2E2E;
}
.breadcrumbs .hero-breadcrumb a:hover {
	color: #1F06AC;
	text-decoration: none;
}
.breadcrumbs .hero-breadcrumb span {
	margin-left: 2px;
	margin-right: 2px;
}

/*
 * Home news
 */
.home-news {
	margin-bottom: 50px;
	width: 100%;
}
.page-news .news {
	margin-bottom: 20px;
}
.archive-page .news {
	margin-top: 30px;
}
.home-news .flex-title,
.page-news .flex-title {
	margin-bottom: 18px;
	-webkit-box-align: top;
	    -ms-flex-align: top;
	        align-items: top;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.home-news .flex-title h3,
.page-news .flex-title h3 {
	margin: 0;
	color: #13007C;
	font-size: 24px;
	font-weight: 700;
	line-height: 28px;
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.home-news .flex-title h3::before,
.page-news .flex-title h3::before {
	margin-bottom: -5px;
	margin-right: 10px;
	width: 30px;
	height: 30px;
	content: '';
	background-image: url('img/icon-news.svg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 auto;
	        flex: 0 0 auto;
}
.home-news .flex-title h3::after,
.page-news .flex-title h3::after {
	margin-top: 6px;
	margin-left: 10px;
	margin-right: 10px;
	width: 100px;
	height: 1px;
	content: '';
	background-color: #bababa;
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
}
.page-news .flex-title h3::after {
	margin-right: 0;
}
.home-news .flex-title .btn {
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 auto;
	        flex: 0 0 auto;
}
.home-news h4,
.single-page .page-news .content h4,
.archive-page .content h4 {
	color: #2e2e2e;
	font-size: 16px;
	font-weight: 500;
	line-height: 23px;
}
.home-news h4, 
.archive-page h4 {
	min-height: 46px;
}
.home-news .content,
.page-news .content,
.archive-page .content {
	padding: 9px;
	background-color: #f4f4f4;
}
.archive-page .content .date {
	color: #1F06AC;
	font-size: 16px;
	font-weight: 700;
}
.home-news .content .btn {
	margin-top: 15px;
}
.page-news .btn.btn-normal {
	display: block;
}
@media (max-width: 991px) {
	.home-news .news {
		margin-bottom: 30px;
	}
	.home-news .news:last-child {
		margin-bottom: 0;
	}
	.home-news h4 {
		min-height: unset;
	}
	.home-news .content .btn {
	    margin-top: 0;
	}
	.page-news {
		margin-top: 30px;
	}
}
@media (max-width: 550px) {
	.home-news .flex-title a {
		display: none;
	}
}

/*
 * Home agenda
 */
.home-agenda h3 {
	margin-bottom: 18px;
	color: #2A8403;
	font-size: 24px;
	font-weight: 700;
	line-height: 28px;
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.home-agenda h3::before {
	margin-bottom: -5px;
	margin-right: 10px;
	width: 30px;
	height: 30px;
	content: '';
	background-image: url('img/icon-agenda.svg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 auto;
	        flex: 0 0 auto;
}
.home-agenda h3::after {
	margin-top: 6px;
	margin-left: 10px;
	margin-right: 10px;
	width: 100px;
	height: 1px;
	content: '';
	background-color: #bababa;
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
}
.home-agenda .event {
	margin-bottom: 15px;
	padding: 7px;
	background-color: #2A8403;
	border-radius: 4px;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.home-agenda .event .date {
	padding: 10px;
	min-width: 90px;
	min-height: 68px;
	color: #0F3100;
	font-size: 24px;
	font-weight: 500;
	text-transform: lowercase;
	text-align: center;
	line-height: 24px;
	background-color: #fff;
	border-radius: 3px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.home-agenda .event .title {
	margin: 0 18px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
}
.home-agenda .event .link a {
	width: 44px;
	height: 68px;
	font-size: 0;
	background-color: #36AC01;
	background-image: url('img/white-arrow.svg');
	background-repeat: no-repeat;
	background-position: 50%;
	border-radius: 3px;
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	display: block;
}
.home-agenda .event .link a:hover {
	background-color: #52C920;
}
.home-agenda .btn {
	padding: 6px 22px;
	color: #0F3100;
	font-size: 14px;
	background-color: #fff;
	border: 1px solid #0F3100;
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	display: block;
}
.home-agenda .btn:hover {
	color: #fff;
	background-color: #0F3100;
}
@media (max-width: 991px) {
	.home-agenda {
		margin-bottom: 40px;
	}
}

/*
 * Home links
 */
.page-links {
	margin-top: 40px;
}
.home-links .photos, 
.home-links .tourism,
.home-links .festival,
.home-links .map,
.page-links .photos, 
.page-links .tourism,
.page-links .festival,
.page-links .map {
	height: 178px;
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: cover;
}
.home-links .photos,
.page-links .photos {
	margin-bottom: 19px;
	background-image: url('img/photos.jpg');
	border-left: 10px solid #3029DD;
}
.home-links .tourism,
.page-links .tourism {
	margin-bottom: 19px;
	background-image: url('img/tourism.jpg');
	border-left: 10px solid #84F453;
}
.home-links .festival,
.page-links .festival {
	background-image: url('img/festival.jpg');
	border-left: 10px solid #43CE05;
}
.page-links .festival {
	margin-bottom: 19px;
}
.home-links .map,
.page-links .map {
	background-image: url('img/map.jpg');
	border-left: 10px solid #13007C;
}
.home-links .photos a, 
.home-links .tourism a,
.home-links .festival a,
.home-links .map a,
.page-links .photos a, 
.page-links .tourism a,
.page-links .festival a,
.page-links .map a {
	width: 100%;
	height: 178px;
	color: #fff;
	font-size: 36px;
	font-weight: 500;
	line-height: 42px;
	text-align: center;
	text-decoration: none;
	background-color: transparent;
	text-shadow: 0 0 15px rgba(0,0,0,0.4);
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	z-index: 100;
}
.home-links .photos a::before, 
.home-links .tourism a::before,
.home-links .festival a::before,
.page-links .photos a::before, 
.page-links .tourism a::before,
.page-links .festival a::before {
	top: 50%;
	left: 50%;
	width: 90px;
	height: 90px;
	content: '';
	border-radius: 45px;
	-webkit-transform: translate(-50%, -50%);
	        -ms-transform: translate(-50%, -50%);
	    transform: translate(-50%, -50%);
	position: absolute;
	z-index: -1;
}
.home-links .photos a::before,
.page-links .photos a::before  {
	background-color: #3029DD;
} 
.home-links .tourism a::before,
.page-links .tourism a::before  {
	background-color: #84F453;
}
.home-links .festival a::before,
.page-links .festival a::before {
	background-color: #43CE05;
}
.home-links .photos a:hover,
.page-links .photos a:hover {
	background-color: #13007C;
}
.home-links .tourism a:hover,
.page-links .tourism a:hover {
	background-color: #36AC01;
}
.home-links .festival a:hover,
.page-links .festival a:hover {
	background-color: #1A5301;
}
.home-links .map a:hover,
.page-links .map a:hover {
	background-color: #1F06AC;
}
@media (max-width: 768px) {
	.home-links .festival {
		margin-bottom: 19px;	
	}
	.home-links .photos a, 
	.home-links .tourism a,
	.home-links .festival a,
	.home-links .map a,
	.page-links .photos a, 
	.page-links .tourism a,
	.page-links .festival a,
	.page-links .map a {
		font-size: 30px;
	}
}

/*
 * Content
 */
.single-page h3 {
	margin-bottom: 20px;
	color: #13007C;
	font-size: 36px;
	text-align: center;
	font-weight: 700;
}
.single-page .chapo {
	padding-bottom: 20px;
	color: #2E2E2E;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}
.single-page .slideshow .slide {
	width: 100%;
	height: 450px;
	position: relative;
}
.single-page .slideshow .slide .container {
	height: 450px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.single-page .slideshow .slide .desc {
	padding: 3px;
	left: 0;
	bottom: 20px;
	width: 100%;
	color: #2E2E2E;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.9);
	overflow: auto;
	position: absolute;
}
.single-page .slideshow .slide .desc::after {
	right: 0;
	top: 0;
	width: 50px;
	height: 100%;
	content: '';
	background-color: rgba(255, 255, 255, 0.9);
	display: block;
	position: absolute;
}
.single-page .top-image {
	margin-bottom: 40px;
	background-color: #EDF0FD;
}
.single-page .top-image.news {
	margin-left: -15px;
	margin-right: -15px;
}
.single-page .top-image .content {
	height: 450px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.single-page .content-divider {
	margin-left: -15px;
	margin-right: -15px;
	padding-top: 50px;
	border-top: 1px solid #BABABA;
	position: relative;
}
.single-page .content-divider::before {
	top: 0;
	left: 50%;
	width: 350px;
	height: 4px;
	content: '';
	background-color: #1F06AC;
	-webkit-transform: translateX(-50%);
	        -ms-transform: translateX(-50%);
	    transform: translateX(-50%);
	position: absolute;
}
.single-page .content .date {
	color: #1F06AC;
	font-weight: 700;
}
.single-page .content .infos {
	margin-bottom: 20px;
}
.single-page .content h1,
.single-page .content h2,
.single-page .content h3,
.single-page .content h4,
.single-page .content h5,
.single-page .content h6 {
	color: #13007C;
	font-weight: 700;
	text-align: left;
}
.single-page .content h1 {
	font-size: 32px;
}
.single-page .content h2 {
	font-size: 28px;
}
.single-page .content h3 {
	font-size: 25px;
}
.single-page .content h4 {
	font-size: 22px;
}
.single-page .content h5 {
	font-size: 20px;
}
.single-page .content h6 {
	font-size: 18px;
}
.single-page .gallery ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.single-page .gallery ul > li  {
	margin-bottom: 15px;
	display: inline-block;
}
.single-page .gallery ul > li > a {
	border: 5px solid transparent;
	display: block;
}
.single-page .gallery ul > li.slick-active > a {
	border: 5px solid #3029DD;
}
.single-page .gallery ul > li:nth-child(2n) {
	margin-left: 10px;
}
.single-page .top-image .content {
 	margin-bottom: 40px;
	height: 395px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.single-page .multiple-content {
 	margin-top: 50px;
 }
.single-page .multiple-content h3 {
	font-size: 34px;
}
.single-page .multiple-content h4 {
	font-size: 30px;
}
.single-page .multiple-content h5 {
	font-size: 28px;
}
.single-page .multiple-content h6 {
	font-size: 26px;
}
.single-page .more-infos {
	margin-top: 30px;
	padding: 20px;
	border-top: 4px solid #3029DD;
	border-bottom: 4px solid #36AC01;
	background-color: #F4F4F4;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.single-page .more-infos .title {
	width: 150px;
	color: #13007C;
	font-size: 30px;
	font-weight: 700;
	text-align: center;
	line-height: 36px;
}
.single-page .more-infos ul {
	margin: 0;
	list-style-type: none;
}
.single-page .more-infos li {
	line-height: 48px;
}
.single-page .more-infos li::before {
	width: 15px;
	height: 26px;
	content: '';
	vertical-align: middle;
	background: url(img/blue-arrow.svg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	display: inline-block;
}
.single-page .more-infos li a {
	margin-left: 15px;
	color: #2E2E2E;
	font-size: 16px;
}
.single-page .more-infos li a:hover {
	color: #1F06AC;
	text-decoration: none;
}
.single-page .photo {
	margin-top: 30px;
}
.single-page .photo a {
	display: block;
	position: relative;
}
.single-page .photo span {
	padding: 15px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #fff;
	text-align: center;
	text-shadow: 0 0 15px rgba(0, 0, 0, 1);
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	opacity: 0;
	position: absolute;
}
.single-page .photo a:hover span {
	background-color: #1f06ac;
	opacity: 1;
}
@media (max-width: 767px) {
	.single-page .more-infos {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-flow: row wrap;
		        flex-flow: row wrap;
	}
	.single-page .more-infos .title {
	    width: 100%;
	    font-size: 24px;
	}
	.single-page .more-infos ul {
		padding-left: 0;
	}
}

/*
 * Child page
 */
.child-page, .photo-page {
	margin-top: 30px;
}
.child-page .content, .photo-page .content {
	height: 245px;
	background-color: #DEDADA;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	border-top: 4px solid #3029DD;
	border-bottom: 4px solid #36AC01;
	background-blend-mode: multiply;
}
.child-page .content:hover, .photo-page .content:hover {
	background-blend-mode: normal;
}
.child-page .content a {
	padding: 0 120px;
	width: 100%;
	height: 100%;
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	line-height: 34px;
	text-align: center;
	text-shadow: 0 0 15px rgba(0, 0, 0, 1);
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
}
.child-page .content a:hover {
	text-decoration: none;
}
.child-page .content a::after {
	top: 50%;
	right: 60px;
	width: 46px;
	height: 78px;
	content: '';
	background-image: url('img/white-arrow-shadow.svg');
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: contain;
	-webkit-transform: translateY(-50%);
	        -ms-transform: translateY(-50%);
	    transform: translateY(-50%);
	display: block;
	position: absolute;
}
.photo-page .content {
	padding: 0;
}
.photo-page .content a {
	padding: 0 10px;
	width: 100%;
	height: 100%;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	text-shadow: 0 0 15px rgba(0, 0, 0, 1);
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
}
.photo-page .content a:hover {
	text-decoration: none;
}
.photo-page .content a::after {
	bottom: 30px;
	left: 50%;
	width: 30px;
	height: 24px;
	content: '';
	background-image: url('img/right-arrow.svg');
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: contain;
	-webkit-transform: translateX(-50%);
	        -ms-transform: translateX(-50%);
	    transform: translateX(-50%);
	display: block;
	position: absolute;
}
@media (max-width: 991px) {
	.child-page .content a {
		padding: 0 70px;
		font-size: 24px;
	}
	.child-page .content a::after {
		right: 40px;
		width: 20px;
		height: 33px;
	}
}
/* 
 * Result page
 */
.result {
	margin-top: 30px;
}
.result h4 {
	color: #13007C;
	font-weight: 700;
	font-size: 30px;
}

/* 
 * Association page
 */
 .association {
	margin-top: 30px;
	border-left: 10px solid #2A8403;
	background-color: #E5FCDB;
	position: relative;
}
 .association.blue {
	border-left: 10px solid #3029DD;
	background-color: #EDF0FD;
}
.association h3 {
	margin-top: 20px;
	padding-right: 135px;
	padding-bottom: 20px;
	color: #1F06AC;
	font-size: 30px;
	text-align: left;
	font-weight: 700;
	border-bottom: 1px solid #BABABA;
	position: relative;
}
.association h3 a {
	top: 0;
	right: 0;
	position: absolute;
}
.association h4 {
	color: #1F06AC;
	font-size: 24px;
	text-align: left;
	font-weight: 700;
}
.association .logo {
	top: 20px;
	left: -55px;
	width: 100px;
	height: 100px;
	text-align: center;
	-webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
	        box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
	background-color: #fff;
	position: absolute;
	display: flex;
	align-items: center;
}
.association .presentation, .association .contact {
	margin-bottom: 25px;
	color: #2E2E2E;
	font-size: 16px;
	font-weight: 500;
	line-height: 23px;
}
.association .image {
	margin-bottom: 25px;
}
@media (max-width: 991px) {
	.association {
	    margin-top: 60px;
	}
	.association h3 {
		margin-top: 40px;
	    padding-top: 45px;
	    padding-right: 0;
	}
	.association .logo {
		top: -30px;
		left: 15px;
		width: 80px;
		height: 80px;
	}
}

/*
 * Map and access
 */
#layer-filter a {
	margin-bottom: 5px;
	margin-right: 2px;
	padding: 6px 22px;
	font-size: 13px;
	background-color: #fff;
	border: 1px solid #1f06ac;
	border-radius: 4px;
	display: inline-block;
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
#layer-filter a:hover {
	text-decoration: none;
}
#layer-filter a.active {
	color: #fff;
	text-decoration: none;
	background-color: #1f06ac;
}
#map {
	margin-top: 30px;
	width: 100%;
	height: 500px; 
}
.single-page .contact-list {
	margin-top: 30px;
	padding-right: 20px;
	width: 100%;
	height: 500px;
	overflow-y: auto;
}
.single-page .contact-list .contact {
	margin-bottom: 20px;
	padding: 10px;
	font-size: 16px;
	line-height: 22px;
	border: 1px solid #3029DD;
}
.single-page .contact-list .contact h3 {
	margin-bottom: 10px;
	padding-bottom: 10px;
    font-size: 20px;
    text-align: left;
    font-weight: 500;
    border-bottom: 1px solid #bababa;  
}
.custom-pin span {
	left: -15px;
	top: -15px;
	width: 30px;
	height: 30px;
	border: 1px solid #1B1D26;
	-webkit-transform: rotate(45deg);
	        -ms-transform: rotate(45deg);
	    transform: rotate(45deg);
	border-radius: 30px 30px 0;
	display: block;
	position: relative;
}
.custom-pin span::after {
	margin: 8px 0 0 8px;
	width: 12px;
    height: 12px;
	content: '';
    border-radius: 50%;
	background-color: #1B1D26;
	position: absolute;
}
@media (max-width: 991px) {
	.single-page .contact-list {
		margin-top: 30px;
		padding-bottom: 30px;
		padding-right: 0;
		height: 190px;
		overflow-x: auto;
		overflow-y: unset;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	.single-page .contact-list .category {
		display: -webkit-inline-box;
		display: -ms-inline-flexbox;
		display: inline-flex;
		-webkit-box-flex: 1;
		    -ms-flex: 1 0 auto;
		        flex: 1 0 auto;
	}
	.single-page .contact-list .contact {
		margin-right: 20px;
		margin-bottom: 0;
		display: inline-block;
		-webkit-box-flex: 1;
		    -ms-flex: 1 0 auto;
		        flex: 1 0 auto;
	}
}

/* 
 * Ninja forms
 */
.site-content .nf-form-content {
	max-width: unset;
}
.site-content .nf-form-fields-required,
.site-content .checkbox-container.label-right label,
.site-content .nf-after-field .nf-error-msg {
	font-size: 15px;
}
.site-content .nf-field-label label {
    font-weight: 500;
 }

/* 
 * Pagenavi
 */
.wp-pagenavi {
	margin-top: 40px;
	font-size: 16px;
	text-align: right;
	clear: both;
}
.wp-pagenavi a, .wp-pagenavi span {
	color: #2E2E2E;
	text-decoration: none;
	padding: 3px 5px;
	margin: 2px;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
	color: #1F06AC;
}
.wp-pagenavi span.current {
	font-weight: bold;
}

/* 
 * Sitemap
 */
.page-content .wsp-pages-title, .page-content .wsp-posts-title {
	margin: 0 0 10px 0;
	padding: 0;
	font-family: 'Dosis', sans-serif;
	font-size: 22px;
	font-weight: 500;
	text-align: left;
 }
.wsp-pages-title::before, .wsp-posts-title::before, .wsp-pages-title::after, .wsp-posts-title::after {
	display: none;
 }
.wsp-pages-list, .wsp-posts-list {
	padding-left: 0;
	list-style-type: none;
}
.wsp-pages-list .wsp-pages-list, .wsp-posts-list .wsp-posts-list {
	padding-left: 15px;
	list-style-type: none;
 }
 .wsp-pages-list .children, .wsp-posts-list .children {
	list-style-type: none;
 }

/*
 * Mailpoet
 */
.site-content .parsley-required, 
.site-content .parsley-custom-error-message {
	color: #e80000;
	font-size: 15px;
}
.site-content input.parsley-error, 
.site-content select.parsley-error, 
.site-content textarea.parsley-error {
	border: 1px solid #e80000;
	background-color: #fff;
}
.site-content input.parsley-success, 
.site-content select.parsley-success, 
.site-content textarea.parsley-success {
    background-color: #fcfcfc;
    border: 1px solid #c0c2c4;
    color: #2E2E2E;
}

/*
 * Footer
 */
footer {
	margin-top: 40px;
	padding-top: 40px;
	color: #edf0fd;
	font-size: 16px;
	font-weight: 500;
	background-color: #2e2e2e;	
}
footer h4 {
	margin-bottom: 20px;
	padding-bottom: 26px;
	color: #a7b1ff;
	font-size: 24px;
	font-weight: 700;
	position: relative;
}
footer h4::after {
	bottom: 0;
	left: 0;
	width: 30px;
	height: 6px;
	content: '';
	background-color: #a7b1ff;
	position: absolute;
}
footer ul, footer .menu {
	margin-bottom: 0;
	padding-left: 0;
	list-style-type: none;
}
footer .menu li a {
	color: #edf0fd;
}
footer .menu li a:hover {
	color: #a7b1ff;
	text-decoration: none;
}
footer .legals {
	margin-top: 40px;
	margin-left: -15px;
	margin-right: -15px;
	color: #edf0fd;
	font-size: 16px;
	font-weight: 500;
	background-color: #707bfd;
}
#footer-menu {
	margin-top: 1rem;
	margin-bottom: 1rem;
	text-align: center;
}
#footer-menu li {
	display: inline-block;
}
#footer-menu li::after {
	margin-left: 5px;
	margin-right: 4px;
	color: #edf0fd;
	content: '•';
	display: inline-block;
}
#footer-menu li:last-child::after {
	display: none;
}
#footer-menu li a {
	color: #edf0fd;
}
#footer-menu li a:hover {
	color: #a7b1ff;
	text-decoration: none;
}
@media (max-width: 768px) {
	footer h4 {
		font-size: 20px;
	}
	footer li {
		font-size: 14px;
		line-height: 20px;
	}
	#footer-menu {
		line-height: 20px;
	}

}
@media (max-width: 740px) {
	footer h4 {
		font-size: 20px;
		text-align: center;
	}
	footer h4::after {
		left: 50%;
		-webkit-transform: translateX(-50%);
		        -ms-transform: translateX(-50%);
		    transform: translateX(-50%);
	}
	footer .address, footer .contact {
		margin-bottom: 20px;
	}
	footer li {
		text-align: center;
	}
}

/* 
 * Text meant only for screen readers.
 */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	border: 0;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; 
}
