/* =====================
STRUCTURE
===================== */

#page {
	overflow: hidden;
}
.not-front #zone-header01-wrapper {
	display: none;
}
#zone-header01-wrapper #region-header01-second {
	text-align: right;
}
#zone-header01-wrapper #region-header01-second .block {
	display: inline-block;
	vertical-align: top;
}
#zone-menu-wrapper {
}
#zone-menu {
	position: relative;
	z-index: 1;
	padding-left: 0;
	padding-right: 0;
}

header#section-header {
	height: 320px!important;
}
.not-front header#section-header {
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}

header#section-header #zone-menu-wrapper {}
.front header#section-header #zone-menu-wrapper {}

/* Header fixe */

header#section-header.fixed {
	height: 100px!important;
}
header#section-header.fixed #zone-menu-wrapper {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 21;
	height: 70px;
}

/* =====================
BANNIÈRE
===================== */

#zone-banner .block-banniere {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 320px;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
#zone-banner .block-banniere .media {
	width: 100%;
	height: 320px;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
#zone-banner .block-banniere .media > div {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	width: 100%;
	height: 100%;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}

/* Bannière si pas de FS-banner */

section.banner_off #zone-banner-wrapper #zone-banner .block-banniere .media > div {
	background-image: url("../../img/header/header_bg.jpg");
}

/* Header fixe */

.page_fixed #zone-banner .block-banniere {
	position: fixed;
	width: 100%;
	height: 150px;
	z-index: 2;
}
.page_fixed #zone-banner .block-banniere .media {
	width: 100%;
	height: 150px;
}

/* Bannière hp scroll */

.front.header_bg_on #zone-menu-wrapper {
	background-image: url("../../img/header/header_bg.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* =====================
LOGO
===================== */

header#section-header .block-logo {
	display: inline-block;
	float: left;
	width: 260px;
	height: auto;
	margin: 46px 0 0 0;
	-webkit-transition: height ease 0.5s;
	-moz-transition: height ease 0.5s;
	transition: height ease 0.5s;
	position: relative;
	z-index: 2;
}
header#section-header .block-logo .content {
	text-align: right;
}
header#section-header .block-logo .content > a {
	display: inline-block;
}
header#section-header .block-logo img {
	width: 260px;
	height: 260px;
	margin-left: auto;
	display: block;
	-webkit-transition: width ease 0.5s,height ease 0.5s;
	-moz-transition: width ease 0.5s,height ease 0.5s;
	transition: width ease 0.5s,height ease 0.5s;
}

/* Header fixe */

header#section-header.fixed .block-logo {
	height: 70px;
	margin: 0;
}
header#section-header.fixed .block-logo img {
	width: 70px;
	height: 70px;
}

/* =====================
MENU TOP
===================== */

.block-menu-header-sites-externes {
	display: inline-block;
	width: calc(100% - 350px);
	margin: 0;
	vertical-align: top;
	text-align: right;
	float: right;
	position: relative;
	z-index: 1;
}
/*.block-menu-header-sites-externes:before {
	content: "";
	background-color: #ffffff;
	width: 200vw;
	height: calc(100% + 10px);
	position: absolute;
	top: 0;
	left: 50%;
	z-index: -1;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
}
@media only screen and (max-width: 759px) {
	.block-menu-header-sites-externes:before {
		display: none;
	}
}*/
.fixed .block-menu-header-sites-externes {
	display: none;
}
.block-menu-header-sites-externes ul {
	display: inline-block;
	text-align: right;
	padding: 20px 0 10px 0;
	margin: 0;
	background-color: rgba(0,0,0,0.6);
}
.block-menu-header-sites-externes ul li {
	display: inline-block;
	list-style: none;
	padding: 0;
	margin: 0 0 0 10px;
}
.block-menu-header-sites-externes ul li a {
	font-weight: 300;
	/*color: #000000;*/
	color: #ffffff;
	text-transform: uppercase;
	font-size: 0.875em;
	vertical-align: top;
	display: inline-block;
	padding-right: 26px;
	position: relative;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
.block-menu-header-sites-externes ul li a.citadelle-doullens:hover {
	color: #ed6955;
}
.block-menu-header-sites-externes ul li a.cce:hover {
	color: #fdc300;
}
.block-menu-header-sites-externes ul li a::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 10px;
	position: absolute;
	top: -1px;
	right: 0;
}
.block-menu-header-sites-externes ul li a.citadelle-doullens::after {
	background-color: #ed6955;
}
.block-menu-header-sites-externes ul li a.cce::after {
	background-color: #fdc300;
}

/* =====================
RECHERCHE PAR MOTS CLES
===================== */

/* Bouton recherche menu */

.block-main-menu {
	position: relative;
	z-index: 1;
}
.block-main-menu:before {
	content: "";
	background-color: #000000;
	width: 50vw;
	height: 100%;
	position: absolute;
	top: 0;
	left: 100%;
	z-index: -1;
}
@media only screen and (max-width: 759px) {
	.block-main-menu:before {
		display: none;
	}
}
.block-main-menu .content .search_header_btn {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 70px;
	height: 70px;
	background-color: #000000;
	cursor: pointer;
	background-image: url("../../img/header/search.svg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 32px 32px;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
.block-main-menu .content .search_header_btn.search_on {
	background-image: url("../../img/header/search_close.svg");
}
.block-main-menu .content .search_header_btn:hover {
	background-color: #000000;
}

/* Recherche */

#block-views-exp-mots-cles-page {
	display: none;
}
#block-views-exp-mots-cles-page.search_on {
	display: inline-block;
	background-color: #000000;
	float: right;
	padding: 20px;
}
#block-views-exp-mots-cles-page .views-exposed-widgets {
	margin: 0;
}
#block-views-exp-mots-cles-page .views-exposed-form .views-exposed-widget {
	padding: 0;
}
#block-views-exp-mots-cles-page .views-exposed-form .views-exposed-widget input {
	height: 40px;
	border: 0;
	padding: 10px;
	font-family: 'DIN Pro', Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 1rem;
}
#block-views-exp-mots-cles-page .views-exposed-form .views-submit-button input {
	height: 40px;
	margin: 0;
	padding: 0 15px;
	border: 0;
	text-shadow: none;
	border-radius: 0;
	background: no-repeat;
	background-color: #dad3c8;
	text-transform: uppercase;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
#block-views-exp-mots-cles-page .views-exposed-form .views-submit-button input:hover {
	background-color: #C1BAAF;
}

/* Autocomplete */

#block-views-exp-mots-cles-page .views-exposed-form .views-exposed-widget #autocomplete {
	border: none;
}
#block-views-exp-mots-cles-page .views-exposed-form .views-exposed-widget #autocomplete li {

}
#block-views-exp-mots-cles-page .views-exposed-form .views-exposed-widget #autocomplete li a {
	display: block;
	color: #333333;
	background-color: #ffffff;
	width: 100%;
	padding: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
#block-views-exp-mots-cles-page .views-exposed-form .views-exposed-widget #autocomplete li a:hover {
	background-color: #dad3c8;
}

/* */

.block-search {
	margin: 10px 0;
}
.block-search .content input[type=text] {
	color: #000000;
	font-family: 'DIN Pro', Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 1em;
	background: none;
	border: 2px solid #c0c0c0;
	border-right: none;
	height: 40px;
	width: 200px;
	padding: 0 10px;
	display: block;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.block-search .content input[type=text]::-webkit-input-placeholder {
	color: #000000;
}
.block-search .content input[type=text]:-moz-placeholder {
	color: #000000;
}
.block-search .content input[type=text]::-moz-placeholder {
	color: #000000;
}
.block-search .content input[type=text]:-ms-input-placeholder {
	color: #000000;
}
.block-search .content input[type=submit] {
	font-size: 0;
	background: none;
	background-image: url("../../img/search.svg");
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: auto 100%;
	border: 2px solid #c0c0c0;
	border-left: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	height: 40px;
	width: 40px;
	padding: 0;
	display: block;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.block-search .content input[type=submit]:hover,
.block-search .content input[type=submit]:focus,
.block-search .content input[type=submit]:active {
	background-color: #c0c0c0;
}
.block-search .content input[type=text]:focus,
.block-search .content input[type=text]:active,
.block-search .content input[type=submit]:focus,
.block-search .content input[type=submit]:active {
	box-shadow: none;
}

/* =====================
MENU PRINCIPAL - BURGER & HORIZONTAL
===================== */

.block-main-menu {
	display: inline-block!important;
	float: right;
	width: calc(100% - 260px);
	background-color: #009b8c;
}
.block-main-menu .content li {
	padding: 0;
	list-style: none;
}
.block-main-menu .content > ul > li,
.block-main-menu .content nav > ul > li {
	height: 70px;
	float: left;
	position: relative;
}
.block-main-menu .content > ul > li::after,
.block-main-menu .content nav > ul > li::after {
	content: "";
	position: absolute;
	right: 0;
	top: 27px;
	display: block;
	width: 1px;
	height: 18px;
	background-color: #ffffff;
}
.block-main-menu .content > ul > li:last-child::after,
.block-main-menu .content nav > ul > li:last-child::after {
	content: none;
}
.block-main-menu .content > ul > li > a,
.block-main-menu .content nav > ul > li > a {
	color: white;
	font-family: 'DIN Pro Cond', Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.4em;
	text-decoration: none;
	line-height: 70px;
	height: 70px;
	padding: 0 20px;
	display: block;
	text-transform: uppercase;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
/*@media only screen and (max-width: 1030px) {
	.block-main-menu .content > ul > li > a,
	.block-main-menu .content nav > ul > li > a {
		font-size: 1.2em;
	}
}
@media only screen and (max-width: 930px) {
	.block-main-menu .content > ul > li > a,
	.block-main-menu .content nav > ul > li > a {
		font-size: 1.1em;
	}
}
@media only screen and (max-width: 830px) {
	.block-main-menu .content > ul > li > a,
	.block-main-menu .content nav > ul > li > a {
		font-size: 1em;
		padding: 0 10px;
	}
}*/
.block-main-menu .content > ul > li:hover > a,
.block-main-menu .content > ul > li > a:hover,
.block-main-menu .content > ul > li > a:focus,
.block-main-menu .content > ul > li > a:active,
.block-main-menu .content > ul > li > a.active,
.block-main-menu .content nav > ul > li:hover > a,
.block-main-menu .content nav > ul > li > a:hover,
.block-main-menu .content nav > ul > li > a:focus,
.block-main-menu .content nav > ul > li > a:active,
.block-main-menu .content nav > ul > li > a.active {
	color: black;
}
.block-main-menu .content ul ul,
.block-main-menu .content nav ul ul {
	background-color: #20baab;
	width: 200px;
	position: absolute;
	top: 70px;
	left: 0;
}
.block-main-menu .content ul ul li a,
.block-main-menu .content nav ul ul li a {
	color: white;
	text-decoration: none;
	padding: 15px 30px;
	display: block;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.block-main-menu .content ul ul li:last-child a,
.block-main-menu .content nav ul ul li:last-child a {
	border-bottom: none;
}
.block-main-menu .content ul ul li:hover > a,
.block-main-menu .content ul ul li a:hover,
.block-main-menu .content ul ul li a:focus,
.block-main-menu .content ul ul li a:active,
.block-main-menu .content ul ul li a.active,
.block-main-menu .content nav ul ul li:hover > a,
.block-main-menu .content nav ul ul li a:hover,
.block-main-menu .content nav ul ul li a:focus,
.block-main-menu .content nav ul ul li a:active,
.block-main-menu .content nav ul ul li a.active {
	background-color: rgba(0, 0, 0, 0.1);
}
.block-main-menu .content ul ul ul,
.block-main-menu .content nav ul ul ul {
	display: none;
}

/* =====================
SECTION
===================== */

.not-front #section-content {
	padding-top: 0!important;
}
.not-front.page_fixed #section-content {
	padding-top: 0!important;
}
.not-front #section-content #zone-content {
	padding-top: 0!important;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
.not-front.page_fixed #section-content #zone-content {
	padding-top: 70px!important;
}

/* =====================
RESPONSIVE
===================== */

@media only screen and (max-width: 1150px) {
	
	/* MENU PRINCIPAL - BURGER & HORIZONTAL */
	
	.block-main-menu .content > ul > li > a, .block-main-menu .content nav > ul > li > a {
		font-size: 1.2em;
	}
}

@media only screen and (max-width: 1070px) {
	
	/* MENU PRINCIPAL - BURGER & HORIZONTAL */
	
	.block-main-menu .content > ul > li > a, .block-main-menu .content nav > ul > li > a {
		font-size: 1.1em;
		padding: 0 15px;
	}
}

@media only screen and (max-width: 980px) {
	
	/* MENU TOP */
	
	.block-menu-header-sites-externes {
		width: calc(100% - 320px);
	}
	
	/* MENU PRINCIPAL - BURGER & HORIZONTAL */
	
	.block-main-menu {
		width: calc(100% - 320px);
	}
	.block-main-menu .content > ul > li > a, .block-main-menu .content nav > ul > li > a {
		font-size: 1em;
	}
}

@media only screen and (max-width: 920px) {
	
	/* LOGO */
	

	/* MENU TOP */
	
	.block-menu-header-sites-externes {
		width: calc(100% - 230px);
	}
	
	/* MENU PRINCIPAL - BURGER & HORIZONTAL */
	
	.block-main-menu {
		width: calc(100% - 230px);
	}
}

@media only screen and (max-width: 820px) {
	
	/* MENU PRINCIPAL - BURGER & HORIZONTAL */
	
	.block-main-menu .content > ul > li > a, .block-main-menu .content nav > ul > li > a {
		font-size: 0.95em;
		padding: 0 10px;
	}
}


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

	/* STRUCTURE */

	.not-front #zone-header01-wrapper {
		display: none;
	}
	.front header#section-header {
		background-color: #009b8c;
	}
	header#section-header,
	header#section-header.fixed,
	header#section-header #zone-menu-wrapper,
	#zone-menu,
	#zone-menu .region-inner {
		height: 265px!important;
		background-color: #009b8c;
	}
	header#section-header.fixed #zone-menu-wrapper {
		position: relative;
	}

	/*  LOGO */

	header#section-header .block-logo {
		display: block;
		width: 100%;
		width: 100%;
		/*margin: 0 0 20px 0; !important*/
		margin: 0;
		/*padding-top: 20px;*/
		float: none;
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}
	header#section-header.fixed .block-logo {
		height: 111px;
	}
	header#section-header .block-logo .content {
		height: 111px;
		background-size: 130px 111px;
		width: 100%;
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
		text-align: center;
	}
	header#section-header .block-logo img {
		height: 111px;
		width: auto;
		display: inline-block;
		vertical-align: top;
	}
	header#section-header.fixed .block-logo .content {
		width: 100%;
		height: 111px;
		background-size: 130px 111px;
	}
	header#section-header.fixed .block-logo img {
		width: 130px;
		height: 111px;
	}
	
	/* SLOGAN */
	
	header#section-header .block-slogan .content {
		color: #FFFFFF;
		font-size: 0.750em;
		font-weight: bold;
		text-align: right;
		text-transform: uppercase;
		background-color: #00ad9c;
		padding: 10px;
		margin: 0 0 -25px;
		float: right;
		position: relative;
		z-index: 2;
	}

	/* MENU TOP */

	.block-menu-header-sites-externes {
		width: 100%;
		display: block !important;
		margin: 0;
		background: -moz-linear-gradient(left, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%); /* FF3.6-15 */
		background: -webkit-linear-gradient(left, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 50%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to right, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.block-menu-header-sites-externes ul {
		height: 54px;
		padding: 20px;
		background-color: transparent;
	}
	.block-menu-header-sites-externes ul li {
		display: block;
		margin: 0;
	}
	.block-menu-header-sites-externes ul li + li {
		margin-top: 10px;
	}
	/*.block-menu-header-sites-externes ul li a {
		color: #ffffff;
	}*/

	/* BANNIERE */

	#zone-banner .block-banniere,
	.page_fixed #zone-banner .block-banniere {
		position: absolute;
		height: 255px;
	}
	#zone-banner .block-banniere .media > div {
		background-image: none!important;
		background-color: #009b8c;
	}
	#zone-banner .block-banniere .media {
		height: 255px;
	}
	.page_fixed #zone-banner .block-banniere .media {
		height: 255px!important;
	}
	.not-front.page_fixed #section-content #zone-content {
		padding-top: 0!important;
	}

	/* Bouton recherche menu */

	#block-responsive-menu-toggle {
		position: absolute;
		width: 100%;
		height: 60px;
		bottom: 0;
		background-color: #009b8c;
	}
	.menu_fixed_mobile #block-responsive-menu-toggle {
		position: fixed;
		bottom: auto;
		top: 0;
		background-color: #009b8c;
	}
	#block-responsive-menu-toggle .search_header_btn {
		position: absolute;
		bottom: 0;
		right: 0;
		display: block;
		width: 60px;
		height: 60px;
		background-color: #000000;
		cursor: pointer;
		background-image: url("../../img/header/search.svg");
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 32px 32px;
		-webkit-transition: all ease 0.5s;
		-moz-transition: all ease 0.5s;
		transition: all ease 0.5s;
	}
	#block-responsive-menu-toggle .search_header_btn.search_on {
		background-image: url("../../img/header/search_close.svg");
	}
	#block-responsive-menu-toggle .search_header_btn:hover {
		background-color: #000000;
	}

	/* Recherche */

	#block-views-exp-mots-cles-page.search_on {
		position: absolute;
		width: 100%;
		top: 255px;
		float: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.menu_fixed_mobile #block-views-exp-mots-cles-page.search_on {
		position: fixed;
		top: 60px;
	}
	#block-views-exp-mots-cles-page .views-exposed-form #edit-search-api-views-fulltext-wrapper {
		width: calc(100% - 100px);
	}
	#block-views-exp-mots-cles-page .views-exposed-form .views-exposed-widget input {
		width: 100%;
	}
	#block-views-exp-mots-cles-page .views-exposed-form .views-submit-button {
		width: 100px;
	}
	#block-views-exp-mots-cles-page .views-exposed-form .views-submit-button input {
		padding: 0;
	}

	/* MENU PRINCIPAL - BURGER */

	header.fixed #zone-menu-wrapper {
		position: static;
	}
	.block-responsive-dropdown-menus .content .menu-toggle {
		height: 30px;
		width: 20px;
		padding: 15px 15px 0;
	}
	.block-responsive-dropdown-menus .content .menu-toggle .line {
		background-color: white;
		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 2px;
		height: 3px;
		width: 100%;
		margin: 0 0 3px;
		border: none;
	}
	.block-responsive-dropdown-menus .content .menu-toggle .toggle-help {
		color: white;
		font-family: 'DIN Pro', Arial, Helvetica, sans-serif;
		font-weight: bold;
		font-size: 1.1em;
		text-transform: uppercase;
		line-height: 45px;
		white-space: nowrap;
		padding: 0;
		top: 0;
		left: 50px;
	}
	.block-responsive-dropdown-menus .content > ul {
		border-top: 1px solid white;
	}

	/* MENU PRINCIPAL - HORIZONTAL */

	.block-responsive-menu .content .responsive-menu-toggle-icon {
		height: 60px;
		width: 50px;
	}
	.responsive-menu-toggle-icon span.icon,
	.responsive-menu-toggle-icon:before,
	.responsive-menu-toggle-icon:after {
		left: 15px;
	}
	.responsive-menu-toggle-icon span.icon {
		top: 30px;
	}
	.responsive-menu-toggle-icon:before {
		top: 22px;
	}
	.responsive-menu-toggle-icon:after {
		top: 38px;
	}
	html.mm-opening .responsive-menu-toggle-icon:before,
	html.mm-opening .responsive-menu-toggle-icon:after {
		top: 21px;
	}
	.responsive-menu-toggle-icon span.label {
		color: white;
		font-family: 'DIN Pro Cond', Arial, Helvetica, sans-serif;
		font-weight: bold;
		font-size: 1.188em;
		line-height: 60px;
		top: 0;
		left: 50px;
	}
	.responsive-menu-toggle-icon:before,
	.responsive-menu-toggle-icon:after,
	.responsive-menu-toggle-icon span.icon {
		width: 25px;
		height: 2px;
	}
	html.mm-opening .responsive-menu-toggle-icon:before,
	html.mm-opening .responsive-menu-toggle-icon:after {
		top: 30px;
	}
	#off-canvas {
		background-color: #009b8c;
	}
}
