/*
Theme Name: Ecole & Culture V05
Description: Thème enfant pour le thème MAGAZINE BASIC
Author: devsector.ch
Version: 5.0.11
Template: magazine-basic
*/

/*
BLEU FONCE: #233565
BLEU CLAIR: #7DA1C7
ROUGE: #BF3450
ROSE: #BA80B2
JAUNE: #f5aa00
NEW ROSE: #d50074 

BLEU 2016: rgba(81,176,204,1)
*/

@import url("../magazine-basic/style.css");

#site-title a {
	color: #000;
}

/* GENERAL DESIGN */
body,
body.custom-background {
	background-image: none !important;
	background-repeat: repeat-x !important;
	background-color: #fff !important;
	background-position: left 30px !important;
	background-attachment: scroll !important;
	color: #000;
	font-size: 13px;
	line-height: 1.4615;
}

html,
body {
	font-family: 'Open Sans', sans-serif;
}

#page {
	-moz-box-shadow: 0px 0px 0px 0px #ffffff;
	-webkit-box-shadow: 0px 0px 0px 0px #ffffff;
	-o-box-shadow: 0px 0px 0px 0px #ffffff;
	box-shadow: 0px 0px 0px 0px #ffffff;
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#ffffff, Direction=NaN, Strength=0);
	background-color: transparent !important;
	max-width: none !important;
	margin: 0 !important;
}

#site-title a {
	display: block;
	width: 120px;
	height: 120px;
	background-image: url(images/logo_ecoleetculture.svg);
	background-repeat: no-repeat;
	text-indent: -3000px;
}

#site-title {
	margin: 10px 0 20px 0;
}

.header-group #site-description {
	font-family: 'Open Sans', sans-serif;
	color: #000 !important;
	display: none;
	right: 0;
	top: 165px;
	text-transform: uppercase;
	font-size: 1em;
	font-weight: bold;
}

.header-group {
	clear: left;
	margin-bottom: 20px;
}

.borderbox {
	clear: both;
	border: 6px solid rgba(81, 176, 204, 1);
	border-width: 0 0 6px 0;
	height: 1px;
	width: 100%;
}

.cleaner {
	clear: both;
}

/* HOME */

.home #primary {
	width: 100%;
	padding: 0;
}

.home #main {
	max-width: none;
}

.home .home_line {
	clear: both;
	padding: 2rem 0;
}

.home .home_line.slider_line {
	clear: both;
	padding: 3rem 0 2rem 0;
}

.home .greyline {
	background-color: rgba(0, 0, 0, 0.03);
}

.home .home_line h2 {
	font-size: 40px;
	color: rgba(81, 176, 204, 1);
	padding: 0 20px;
	margin-top: 0;
}

.home h2.cycle_tax_title {
	background-color: rgba(81, 176, 204, 1);
	color: white;
	padding: 5px 10px;
	margin: 0 0 35px 0;
	text-transform: uppercase;
	font-size: 1.4em;
}

.home h2.cycle_tax_title a {
	color: white;
	text-decoration: none;
	display: block;
	background: url("images/big_white_arrow.svg") no-repeat right center;
	background-size: 20px 20px;
}

.colbox.home-activites .activites_item_thumb {
	width: 140px;
	float: left;
}

.activite_highlight .colbox.home-activites .activites_item_thumb {
	width: auto;
	float: none;
}

.colbox.home-activites .activites_item_content {
	float: right;
}

.home .ec_col article {
	padding: 0;
	border-bottom: 0 none;
}

.colbox.home-activites {
	margin-bottom: 3rem;
}

.activites_item {

	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;
	min-height: 150px;
}

.activites_item.highlight {
	display: block;
	color: white;
	min-height: 390px;
	position: relative;
}

.activites_item.highlight .entry-title a {
	font-size: 1.8rem;
	color: white !important;
}

.activites_item.highlight .entry-title a:after {
	content: ' ';
	display: block;
	width: 30px;
	height: 32px;
	background: url(images/big_white_arrow.svg) no-repeat center center;
	background-size: cover;
	margin-top: 0.5rem;
}

.activites_item.highlight .activites_item_thumb {
	width: 100%;
	margin-right: 0;
}

.activites_item.highlight .activites_item_content {
	position: absolute;
	z-index: 300;
	top: 160px;
	left: 30px;
}

.activites_item.highlight .activites_item_content header {
	background: rgba(81, 176, 204, 1);
	color: white;
	padding: 1rem;
	max-width: 730px;
}

.slider-category {
	padding: 0.3rem 1.1rem;
	font-size: 1.5rem;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
}

#secondary .slider-category {
	padding: 0.3rem 0rem;
	color: rgba(81, 176, 204, 1);
}

.activites_item_thumb {
	width: 40%;
	margin-right: 2%;
}

.activites_item_content {
	width: 55%;
}

.actualtites_item_content a.read-more-link {
	display: block;
}

.slick-slider {
	margin: 0 auto;
	max-width: 1170px;
}


.devnews_item {
	background: rgba(81, 176, 204, 1);
	color: white;
	margin-bottom: 2rem;
}

.devnews_item a {
	color: white;
	text-decoration: none;
	text-transform: uppercase;
}

.devnews_item h3 {
	margin: 0;
	padding: 0.8rem 1rem;
}

.slick-track {
	height: 440px;
}

.slick-track .more-link-p {
	position: absolute;
	bottom: 0;
	left: 0;
	margin-bottom: 1rem;
	margin-left: 1rem;
}

.actualites_grid.slick-slider {
	margin: 0 auto;
	max-width: 1070px;
}

.actualites_grid .slick-prev {
	left: -40px;
}

.actualites_grid .slick-next {
	right: -40px;
}

.actualites_grid .slick-prev,
.actualites_grid .slick-next {
	font-size: 10px;
}

.actualites_grid .slick-prev::before,
.actualites_grid .slick-next::before {
	font-size: 24px;
}

.slick-prev::before,
.slick-next::before {
	color: rgba(81, 176, 204, 1) !important;
}

.actualites_item_slideboxin {
	padding: 0 1rem;
	height: 100%;
}

.slide-track {
	display: flex;
}

.actualites_item {
	background: white;
	-webkit-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
	box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
	min-height: 400px;
	position: relative;
	height: 100%;
}

.actualtites_item_content {
	padding: 20px 20px 0px 20px;
}

.actualites_item_date {
	font-weight: bold;
	color: rgba(81, 176, 204, 1);
	display: none;
}

.actualites_item_title h3 {
	margin-top: 0;
	font-weight: 600;

}

.actualites_item_title a {
	color: #000;
	text-decoration: none;
}

.actualites_more_link {
	text-align: center;
	padding: 20px;
}

.actualites_more_link a {
	display: inline-block;
}

.all-activites-link {
	background-color: rgba(81, 176, 204, 1);
	padding: 10px;
	clear: both;
	margin-top: auto;
}

.all-activites-link a {
	color: white !important;
	text-decoration: none;
}

.all-activites-link a:before {
	content: " ";
	/* FontAwesome Unicode */
	background: url(images/smal_white_plus.svg) no-repeat center center;
	background-size: cover;
	display: inline-block;
	margin-left: 0;
	/* same as padding-left set on li */
	width: 14px;
	/* same as padding-left set on li */
	height: 14px;
	margin-right: 0.5em;
	margin-bottom: -2px;
}

.all-activites-link a:after {
	content: " ";
	/* FontAwesome Unicode */
	background: url(images/big_white_arrow.svg) no-repeat center center;
	background-size: cover;
	display: inline-block;
	margin-left: 0;
	/* same as padding-left set on li */
	width: 20px;
	/* same as padding-left set on li */
	height: 20px;
	margin-right: 0.5em;
	margin-bottom: -2px;
	position: absolute;
	right: 20px;
}

.actualites_more_link a span {
	display: none;
}

.actualites_more_link a i {
	font-size: 40px;
	color: rgba(81, 176, 204, 1);
}

.circle_icone {
	display: inline-block;
	width: 36px;
	height: 36px;
	background: url(images/big_blue_plus.svg) no-repeat center center;
	background-size: cover;

}

.pratique_grid {
	background-color: rgba(81, 176, 204, 1)
}

.pratique_line .actualites_grid,
.pratique_line .pratique_grid {
	background-color: rgba(81, 176, 204, 1);
	color: #fff;
	margin: 0 20px;
	max-width: 1150px;
}

.pratique_line .actualites_grid a,
.pratique_line .pratique_grid a {
	color: #fff;
	text-decoration: none;
}

.pratique_line .actualites_grid a:hover,
.pratique_line .pratique_grid a:hover {
	color: #000;
}

.pratique_line .actualites_grid h3,
.pratique_line .pratique_grid h3 {
	text-transform: uppercase;
	color: #fff;
	font-weight: bold;
	margin-top: 0;
}

.pratique_line .actualites_grid .c4.three-col,
.pratique_line .pratique_grid .c4.three-col {
	padding: 40px;

}

.pratique_line ul {
	list-style: none;
	padding: 0 0 0 1.5em;
	;
}

.pratique_line li {
	list-style: none;
	padding: 0 0 0.5em 0;
}

.pratique_line li:before {
	content: " ";
	/* FontAwesome Unicode */
	background: url(images/small_white_arrow.svg) no-repeat center center;
	background-size: cover;
	display: inline-block;
	margin-left: -1.3em;
	/* same as padding-left set on li */
	width: 1.3em;
	/* same as padding-left set on li */
	margin-right: 0.5em;
	width: 11px;
	height: 12px;
}

.partenariat_grid a>img {
	background: white;
	-webkit-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
	box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
}

/******* LIENS COULEUR EN FONCTION TAXONOMIES **************/

.entry-title,
.entry-title a {
	text-transform: uppercase;
}

.entry-title a:hover,
.format-link cite a:hover {
	color: #000 !important;
}

.page-title span a {
	text-decoration: none;
}

.entry-title a {
	color: rgba(81, 176, 204, 1) !important;
}

.more-link,
#posts-pagination a,
.form-submit input[type="submit"],
.comment-reply-link {
	color: rgba(81, 176, 204, 1) !important;
}

#menu-menu-cycle-enseignement li {
	border-bottom: 1px solid rgba(81, 176, 204, 1);
}

/**************  HOME COLONNES ****************/
.two-col-wrapper,
.three-col-wrapper,
.three-col-wrapper {
	background: none;
	display: flex;
}

.three-col {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.two-col header,
.three-col header,
.two-col .post-format,
.three-col .post-format,
.two-col.format-quote .entry-content,
.three-col.format-quote .entry-content {
	border: 0;
}

.entry-content {
	border: 0;
	position: relative;
}

.border span {
	border: 0
}

#featured {
	padding: 0 0 20px 0;
	margin: 0 0 40px 0;
	border-bottom: 2px solid #e2e2e2;
}

.featured_separator {
	clear: both;
	height: 1px;
	padding: 0px;
	margin: 0 20px 40px 20px;
	border-bottom: 1px solid #e2e2e2;
}

.sticky,
.sticky .entry-content img {
	border: 0;
}

.sticky {
	background: none repeat scroll 0 0 rgba(81, 176, 204, 1);
	border-radius: 0px;
	color: #fff;
	text-shadow: 0px 0px 0 #fff;
}

.sticky .entry-meta,
.sticky .entry-meta a,
.sticky .entry-title,
.sticky .entry-title a,
.sticky h1,
.sticky h2,
.sticky h3,
.sticky h4,
.sticky h5,
.sticky h6 {
	color: #fff !important;
	font-family: 'Open Sans', sans-serif;
}

.sticky .more-link {
	box-shadow: none;
	margin-bottom: 0;
	color: #fff !important;
}

.sticky a.more-link:hover {
	color: #000 !important;
}

.home h1,
.home .two-col .entry-title,
.archive .two-col .entry-title {
	font-size: 1.4em;
}

.entry-meta {
	font-family: 'Open Sans', sans-serif;
}

/*************** LIENS ***********************/
body .entry-meta a,
body .entry-content a,
body .widget a {
	color: rgba(81, 176, 204, 1);
}

body .entry-meta a:hover,
body .entry-content a:hover,
body .widget a:hover {
	color: rgba(81, 176, 204, 1);
}

/*************** MORE LINKS   **********************/
.more-link,
#posts-pagination a,
.form-submit input[type="submit"],
.comment-reply-link {
	background: none;
	border: 0px solid #222 !important;
	border-radius: 0px;
	box-shadow: none;
	color: #888 !important;
	display: inline-block;
	font-size: 1em;
	line-height: 1.2;
	margin: 0;
	padding: 0;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
}

a.read-more-link {
	color: transparent !important;
	text-decoration: none;
	font-weight: bold;
}

a.read-more-link:before {
	content: " ";
	/* FontAwesome Unicode */
	display: inline-block;
	background: url(images/medium_blue_arrow.svg) no-repeat center center;
	background-size: cover;
	margin-left: 0;
	/* same as padding-left set on li */
	width: 21px;
	/* same as padding-left set on li */
	height: 22px;
	margin-right: 0.5em;
	color: rgba(81, 176, 204, 1) !important;
	position: absolute;
	bottom: 15px;
	right: 15px;

}

.archive #primary a.read-more-link:before {
	display: none;
}

a.read-more-link:hover {
	color: transparent !important;
}

.sticky .entry-content a.read-more-link {
	color: #fff !important;
	border-bottom: 0px dotted;
}

.sticky .entry-content a.read-more-link:hover {
	color: #000 !important;
}

.more-link:hover,
.form-submit input[type="submit"]:hover,
#posts-pagination a:hover,
.comment-reply-link:hover {
	background: none;
	color: rgba(81, 176, 204, 1) !important;
}


.annee_scolaire a {
	text-decoration: none;
}

/*************** NAVIGATION ************************/
#header.row {
	width: 100%;
	margin: 0;
}

#header .header-patch-wrapper {
	margin: 0 auto;
	max-width: 1200px;
	min-width: 320px;
}

#header #header-widgets {
	height: 150px !important;
	align-items: center;
}

.nav-patch-fix {
	border-top: 6px solid rgba(81, 176, 204, 1);
}

#site-navigation,
#site-sub-navigation {
	font-family: 'Open Sans', sans-serif;
}

#site-navigation li a,
#site-sub-navigation li a {
	text-shadow: none;
}

#site-navigation li a {
	color: #939393;
	text-transform: uppercase;
}

#site-navigation {
	background-color: transparent;
}

#site-sub-navigation {
	box-shadow: none;
	border: 0;
}

#site-navigation li:hover {
	background: none repeat scroll 0 0 #f1f1f1;

}

#site-navigation ul ul,
#site-sub-navigation ul ul {
	background: none repeat scroll 0 0 #f1f1f1;
	width: 300px;
}

#site-navigation li li:hover {
	background: none repeat scroll 0 0 #dddddd;
}

#site-navigation li li:hover a {
	color: #000;
}

#site-navigation li li:hover a,
#site-navigation li.current_page_ancestor li:hover a {
	color: #000;
}

#site-navigation li.current_page_item a,
#site-navigation li.current_page_ancestor a,
#site-navigation li.current_page_ancestor li.current_page_item a {
	color: rgba(81, 176, 204, 1);
}

#site-navigation li.current_page_item li a,
#site-navigation li.current_page_ancestor li a {
	font-weight: normal;
	color: #939393;
}

#site-navigation li.current_page_item li a:hover,
#site-navigation li.current_page_ancestor li a:hover {
	color: #000;
}

/**************** PAGINATION **************/
#pagination {
	background: none;
	-moz-box-shadow: 0px 0px 0px 0px #ffffff;
	-webkit-box-shadow: 0px 0px 0px 0px #ffffff;
	-o-box-shadow: 0px 0px 0px 0px #ffffff;
	box-shadow: 0px 0px 0px 0px #ffffff;
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#ffffff, Direction=NaN, Strength=0);
}

/**************** WIDGET **************/
.widget {
	background: none;
	border: 0;
	box-shadow: none;
}

.widget-title,
.header-widget-title {
	border: 0;
	color: rgba(81, 176, 204, 1);
	font-weight: bold;
	padding-left: 0;
	padding-right: 0;
	font-size: 1.1em;
}

#tertiary .widget {
	border: 6px solid rgba(81, 176, 204, 1);
	border-width: 0 0 6px 0;
}

.widget .entry-title,
.widget .entry-title a {
	color: #000 !important;
	font-size: 1em;
	line-height: 1.2em;
}

.widget .entry-title a:hover {
	color: rgba(81, 176, 204, 1) !important;
}

.widget p {
	padding: 0.5em 0;
	margin: 0;

}

.widget p.more-link-p {}

.widget p.more-link-p a {
	font-size: 0.9em;
	margin: 0;
}

.widget.mb_featured_posts .entry-meta {
	display: none;
}

.widget.mb_featured_posts .entry-content a img {
	display: block;
	float: none;
}

.widget.mb_featured_posts header h1.entry-title a {
	color: rgba(81, 176, 204, 1) !important;
}

.widget.mb_featured_posts header h1.entry-title {
	margin-bottom: 0.5em;
}

.widget.mb_featured_posts a.read-more-link:before {
	width: 16px;
	right: 0;
	height: 16px;
}

.mb_featured_posts article .entry-content {
	border-bottom: 1px solid #e2e2e2;
	padding-bottom: 20px;
}

.widget article {
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 10px;
}

/* WIDGETS PARTICULIERS */
.widget_pratique.widget ul,
.widget_pratique.widget li {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.widget_pratique.widget ul {
	margin-bottom: 20px;
	padding: 0;
}

.widget_pratique.widget li {
	border-bottom: 1px solid #e2e2e2;
}

.widget_pratique.widget li a {
	text-transform: uppercase;
	display: block;
	padding: 8px 0;
}

.widget_actualites.widget img,
.widget_chroniques.widget img {
	display: none;
}

.allcategory_link.widget {
	border: 6px solid rgba(81, 176, 204, 1);
	border-width: 0 0 0 0;
	background-color: rgba(81, 176, 204, 1);
	margin-top: -30px;
}

.allcategory_link.widget ul,
.allcategory_link.widget li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.allcategory_link.widget a {
	color: #fff;
	display: block;
	padding-left: 5px;
}

.allcategory_link.widget a:hover {
	color: #000;
}

.allcategory_link.widget a:before {
	content: "» ";
}

.filterbox {
	margin: 0 0 20px 0;
	text-align: right;
}

/*************** ARCHIVE LIST ******************/

.archive article {
	border-bottom: 1px solid #e2e2e2;
	margin-bottom: 25px;
	padding-bottom: 10px;
}

/*************** SSMENU ACTIVITES ******************/
ul#menu-menu-cycle-enseignement,
ul#menu-menu-cycle-enseignement li {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#menu-menu-cycle-enseignement li {
	list-style: none;
	margin: 0;
	padding: 8px 0 8px 0;
	text-transform: uppercase;
}

#secondary .widget-title {
	border: 0;
	margin-bottom: 0;
}

#menu-menu-cycle-enseignement li a {
	color: #000;
	display: block;
	font-weight: bold;
}

#menu-menu-cycle-enseignement li.current-menu-item a,
#menu-menu-cycle-enseignement li.current-activite-ancestor a {
	color: rgba(81, 176, 204, 1);
}

/******************* FICHES ACTIVITE ******************/
#sub-header-activite {
	margin: 1em 0;
}

#global_infos_box {
	border-top: 1px solid #e2e2e2;
	padding: 20px 0;
	margin-top: 50px;
}

.infos_block {
	padding: 5px 0;
}

#information_block {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #e2e2e2;
	font-weight: bold;
}

#taxonomy_block a {
	color: #888;
	border: 0;
}

.wp-caption {
	border: 0;
	padding: 0;
	background: transparent;
	text-align: left;
}

.wp-caption p.wp-caption-text,
p.wp-caption-text {
	font-size: 80%;
	margin: 0;
	padding: 0 0 5px 0;
}

/* TITRAGE */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Open Sans', sans-serif;
}

.page-title {
	clear: both;
}

h2.page-title {
	clear: both;
	border-top: 0;
}

body.term-conseillee h2.page-title {
	display: none;
}

.allactuslink {
	text-align: right;
	margin-bottom: 50px;
	font-size: 90%;
	clear: both;
}

.archive .two-col-wrapper .allactuslink {
	margin: 0 20px 50px 20px;
}

.allactuslink a {
	text-decoration: none;
	color: rgba(81, 176, 204, 1);
}

.allactuslink a:before {
	content: "» ";
}

/* FOOTER */
#footer {
	border: 6px solid rgba(81, 176, 204, 1) !important;
	border-width: 6px 0 0 0 !important;
	background-color: #fff !important;
	color: #888;
	text-shadow: none;
}

#footer a {
	color: #777;
	border: 0;
}

/******************** FORMULAIRE *********************/
#uwpqsf_id {
	border: 0;
	margin: 30px 0;
}

.uform_title {
	display: none;
}

#uwpqsf_id input[type="checkbox"],
#uwpqsf_id input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
	margin: 0 10px;
}

.uwpqsf_class {
	padding-top: 25px;
}

/******************** AGENDA *********************/
.page-template-page-agenda-php #secondary,
.page-template-page-agenda-archives-php #secondary {
	display: none;
}

.list-agenda {
	margin: 5em 0;
}

.list-agenda a.read-more-link::before {
	bottom: 0;
}

.list-agenda .entry-title {
	line-height: 1.6;
}

.list-agenda .bigdate {
	background-color: rgba(81, 176, 204, 1);
	text-align: center;
	padding: 20px;

}

.list-agenda .bigdate_day {
	font-size: 4em;
	font-weight: 100;
	color: #fff !important;
}

.list-agenda .bigdate_month {
	font-weight: bold;
	text-transform: uppercase;
	color: #fff !important;
}

.list-agenda a {
	border-bottom: 1px dotted;
	text-decoration: none;
}

a.big_date-block-link {
	text-decoration: none;
}

.c12.month_group_separator {
	padding-left: 0;
	padding-right: 0;
}

.year_group_separator {
	text-align: center;
}

.year_group_separator h2 {
	color: rgba(81, 176, 204, 1);
	font-size: 3em;
	margin: 0.5em 0;
}

.two-col-wrapper+.year_group_separator {
	margin-top: 3em;
}

.month_group_separator {}

.month_group_separator h2 {
	background-color: rgba(81, 176, 204, 1);
	color: #fff;
	padding: 1em 15px 1em 15px;
	font-size: 2em;
	text-align: center;
	text-transform: uppercase;
}

.archive.post-type-archive-agenda-culturel #secondary {
	display: none;
}


.beautiful-taxonomy-filters-button {
	-moz-appearance: none;
	background: rgba(81, 176, 204, 0.65) none repeat scroll 0 0;
	border-radius: 7px;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
	color: #ffffff;
	font-weight: normal;
	margin-top: 20px;
	padding: 10px 30px 11px;
	text-transform: uppercase;
	transition: all 0.3s ease-in-out 0s;
}

.beautiful-taxonomy-filters-button:hover {
	background: rgba(81, 176, 204, 1) none repeat scroll 0 0;
}

#archive-header h1 {
	border: 0 none;
	margin-bottom: 0;
	font-size: 2em;
	color: #333;
	margin: 0;
	font-weight: 400;
	padding: 0;
	font-family: "Open Sans", sans-serif;
}

.single-agenda-culturel .general-date {
	font-size: 1.5em;
	color: rgba(81, 176, 204, 1);
}

.single-agenda-culturel #taxonomy_block span,
.taxonomy_block span {
	font-weight: 600;
}

/******************** FULL WIDTH *********************/
.home #secondary,
.page-template-page-full #secondary,
.page-template-page-full #tertiary {
	display: none !important;
}

.page-template-page-full .c6,
.page-template-page-full .c9,
.page-template-page-full #primary {
	width: 100%;
}

body:not(.home) #main {
	display: flex;
	margin: 0 auto;
	max-width: 1200px;
	min-width: 320px;
	width: 100%;
}

body:not(.home) #primary {
	width: 75%;
}

body:not(.home) #secondary {
	width: 24%;
	margin-left: 1%;
}
body:has(#patch-marker) #primary {
	width: 100%;
}

body:has(#patch-marker) #secondary {
	display: none;
}

.entry-content table.tablepress {
	font-size: 12px;
}

.entry-content table.tablepress th {
	white-space: normal;
	vertical-align: bottom;
}

.entry-content table.tablepress th,
.entry-content table.tablepress td {
	overflow: hidden;
}

.entry-content table.tablepress td.column-1,
.entry-content table.tablepress td.column-3 {
	font-weight: bold;
}

.entry-content table.tablepress td.column-3 {
	color: rgba(81, 176, 204, 1);
}

.entry-content table.tablepress td.column-7 {
	width: 10%;
	/* These are technically the same, but use both */
	overflow-wrap: break-word;
	word-wrap: break-word;

	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;

	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;

}

.entry-content table.tablepress thead th {
	background-color: rgba(81, 176, 204, 1);
	color: white;
	font-weight: 700;
	vertical-align: top;
}

.entry-content table.tablepress .row-hover tr:hover td {
	color: rgba(81, 176, 204, 1);
}

.entry-content table.tablepress h2 {
	color: rgba(81, 176, 204, 1);
	white-space: nowrap;
	font-size: 2em;
}

.dataTables_filter {
	float: right;
	margin-bottom: 10px;
	white-space: nowrap;
}

#archive-header,
.page-title {
	border-bottom: 0px solid #ccc;
	border-top: 0px solid #ccc;
	margin: 0 0 30px;
}


/******************** FORM SUBMISSION *********************/

#message.updated p {
	font-size: 1.2em;
	color: #0bc600;
	font-weight: bold;
}

.submission_form_box {
	padding: 2em 0;
}

.acf-field-5936c8d1392cf,
.acf-field-593ec818851c2,
.acf-field-593ec818851c2 {
	margin-top: 50px !important;
}

.acf-form-submit {
	margin-top: 2em;
}

input.acf-button {
	font-weight: bold;
	color: white;
	background: rgb(81, 176, 204);
	border: 0;
}

/* Responsive menu
-------------------------------------------------------------- */
.offcanvas #site-navigation ul ul,
.offcanvas #site-sub-navigation ul ul {
	display: block;
}

.offcanvas #site-navigation ul ul,
.offcanvas #site-sub-navigation ul ul {
	display: block;
}

#secondary.offcanvas .widget {
	padding-left: 18px;
	padding-right: 18px;
}


/* =Media query iPhone 2G, 3G, 4, 4S Media Queries
-------------------------------------------------------------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

	/* STYLES GO HERE */
	body,
	body.custom-background {
		background-image: none !important;
	}

	#secondary .widget {
		padding-left: 18px;
		padding-right: 18px;
	}

	#site-navigation ul li>ul,
	#site-sub-navigation ul li>ul,
	#site-navigation ul ul {
		left: 0 !important;
		opacity: 1 !important;
	}

	.offcanvas #site-navigation ul ul,
	.offcanvas #site-sub-navigation ul ul {
		display: block;
	}


}

/* =Media query for 960 Screens - sets nested grids to 100%
-------------------------------------------------------------- */
@media only screen and (min-width:960px) {}



/* =Media query for 960 Screens - sets nested grids to 100%
-------------------------------------------------------------- */
@media only screen and (max-width:960px) {
	.three-col-wrapper {
		display: flex;
		flex: 1;
		flex-direction: column;
	}
}

/* =Media query for iPad and tablets
-------------------------------------------------------------- */
@media handheld,
only screen and (max-width: 768px),
only screen and (max-device-width: 768px) and (orientation:portrait) {

	body,
	body.custom-background {
		background-image: none !important;
	}

	.slick-next,
	.slick-prev {
		display: none !important;
	}
}

/* =Media query for iPad and tablets HORIZONTAL */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

	body,
	body.custom-background {
		background-position: left 10px !important;
	}

	.slick-next,
	.slick-prev {
		display: none !important;
	}

	.pratique_line .pratique_grid {
		margin: 0;
	}


}

/* =Media query for iPad and tablets VERTICAL */
@media only screen and (max-device-width : 768px) {
	.pratique_line .pratique_grid {
		margin: 0;
	}
}

@media (max-width: 768px) {
	body:not(.home) #main {
		flex-direction: column;
		margin: 3%
	}

	body:not(.home) #primary {
		width: 100%;
	}

	body:not(.home) #secondary {
		width: 100%;
		margin-left: 0;
	}
}

/* =Media query for iPhone and tablets  */
@media only screen and (min-device-width : 320px) and (max-device-width : 640px) {
	.pratique_line .actualites_grid {
		margin-left: 0;
		margin-right: 0;
	}

	.activites_item.highlight {
		background-color: rgba(81, 176, 204, 1);
		color: white;
		display: block;
		min-height: 400px;
	}

	.home-activites .c4 {
		margin-bottom: 60px;
	}

	.home-activites .c4 article {
		margin-bottom: 18px;
	}

	.pratique_line .pratique_grid {
		margin: 0;
	}

	.home .home_line.slider_line {
		padding-top: 0;
	}

	.activites_item.highlight .activites_item_content {
		left: 10px;
		top: 120px;
		width: auto;
	}

}


/* PRINT VERSION */
@media print {

	#header,
	#secondary,
	#tertiary,
	.filtering-agenda-box {
		display: none;
	}

	#primary.c6 {
		width: 100%;
	}

	#primary.c12 {
		width: 98%;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	body {
		font-size: 10px !important;
	}

	.list-agenda .bigdate,
	.month_group_separator h2 {
		padding: 0;
	}

	.list-agenda .two-col-wrapper,
	.list-agenda .three-col-wrapper {
		margin-bottom: 10px;
	}

}
/* ============================================
   ACTIVITÉ SEARCH FORM
   ============================================ */

.activite-search-wrap {
    max-width: 960px;
    margin: 0 auto 2.5rem;
    padding: 1.75rem 2rem;
    background: #f7f9fc;
    border: 1px solid #dde3ed;
    border-radius: 8px;
}

.activite-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
}

/* ── Fieldsets & labels ─────────────────────── */

.activite-field {
    margin: 0;
    padding: 0;
    border: none;
}

.activite-field label,
.activite-field legend {
    display: block;
    margin-bottom: 0.4rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Checkboxes ─────────────────────────────── */

.activite-field--checkboxes {
    grid-column: 1 / -1;
}

.activite-field--checkboxes .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.activite-field--checkboxes label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #475569;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.activite-field--checkboxes label:hover {
    border-color: rgba(81, 176, 204, 1);
    color: rgba(81, 176, 204, 1);
}

.activite-field--checkboxes input[type="checkbox"] {
    accent-color: rgba(81, 176, 204, 1);
    margin: 0;
    width: 14px;
    height: 14px;
}

.activite-field--checkboxes input[type="checkbox"]:checked + span,
.activite-field--checkboxes label:has(input:checked) {
    background: #eff6ff;
    border-color: rgba(81, 176, 204, 1);
    color: rgba(81, 176, 204, 1);
}

/* ── Selects ────────────────────────────────── */

.activite-field--select select {
    width: 100%;
    padding: 0.55rem 2rem 0.55rem 0.75rem;
    font-family: 'Open Sans', sans-serif;
	height: auto;
    font-size: 0.9rem;
    color: #334155;
    background-color: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.activite-field--select select:hover {
    border-color: #94a3b8;
}

.activite-field--select select:focus {
    outline: none;
    border-color: rgba(81, 176, 204, 1);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ── Submit button ──────────────────────────── */

.activite-search-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.activite-search-actions button[type="submit"] {
    padding: 0.65rem 2.25rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: rgba(81, 176, 204, 1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.activite-search-actions button[type="submit"]:hover {
    background: #1d4ed8;
}

.activite-search-actions button[type="submit"]:active {
    transform: scale(0.98);
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 640px) {
    .activite-search-wrap {
        padding: 1.25rem 1rem;
    }

    .activite-search-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .activite-field--checkboxes label {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }
}

/* ── Toggle search button ───────────────────── */

.activite-toggle-search {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1.25rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.activite-toggle-search:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.activite-search--hidden {
    display: none;
}

.activite-search--hidden.activite-search--hidden {
    display: none;
}

div:not(.activite-search--hidden) > .activite-search-wrap {
    display: block;
}

.more-link-p .more-link {
    font-size: 0;
}

.more-link-p .more-link::after {
    content: 'Lire la suite →';
    font-size: 0.85rem;
}