/*
Theme Name: Forde
Text Domain: forde-thème
Template: DB_theme
Author: DaisyBell
Author URI: https://daisybell.ch
Version: 1.0.0
*/

/* Extra small devices (portrait phones, less than 576px)*/
/* No media query for `xs` since this is the default in Bootstrap*/

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {  }

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {  }

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {  }

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {  }


/* 	FONTS
*
*	Main colors
*	@blue : #0073FF
*	@black : #000000
*	@white : #ffffff
*/

body {
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	color: #000000;
	font-size: 14px;
	font-weight: 400;
	margin: 0;
	position: relative;
	-webkit-font-smoothing: antialiased;
}

h1, .h1 {
	font-size: 40px;
	font-weight: bold;
	line-height: 40px;
	margin-top: 0;
	margin-bottom: 10px;
}
h2, .h2 {
	font-size: 20px;
	font-weight: bold;
	line-height: 20px;
}
h5, .h5 {
	font-size: 14px;
	font-weight: bold;
	line-height: 17px;
	color: #0073FF;
	margin-bottom: 5px;
	margin-top: 0;
}
.a-venir h5 {
	margin-bottom: 5px;
}
.a-venir header .clearfix a, .a-venir h6 a {
	color: #fff;
	text-decoration: none;
}
.a-venir h6 {
    position: relative;
	top: -2px;
}
h6, .h6 {
	font-size: 14px;
    line-height: 17px;
    margin-bottom: 14px;
    margin-top: 0;
	font-weight: 400;
}
.a-venir h6 {
	color: #ffffff;
    background-color: #0073FF;
    padding: 2px 5px 4px 7px;
    font-weight: bold;
}
#primary-colunm h6 {
	margin-bottom: 0;
}
.single #primary-colunm h6 {
	margin-top: 6px;
	margin-bottom: 14px;
}
#primary-colunm header {
	margin-bottom: 10px;
}
p {
	margin-top: 0;
	margin-bottom: 12px;
}
.a-venir p {
	margin-bottom: 5px;
}
small {
	font-size: 14px;
	color: #000;
	font-weight: 400;
	display: inline-block;
}
small a {
	text-decoration: none;
}
a {
	color: #000000;
}
article a {
	color: #0073FF;
	text-decoration: none;
}
#content a:hover {
	text-decoration: none;
}
a:hover, a.active {
	text-decoration: underline;
}
#content-about a {
	text-decoration: underline;
} 
#content-about a:hover {
	text-decoration: none;
} 
.cross {
	font-size: 22px;
	font-weight: bold;
}
img {
	max-width: 100%;
	margin-bottom: 14px;
    height: auto;
}

/*
*
* Main structure */
#main {
    padding-top: 60px;
}
article {
	padding-bottom: 15px;
}
.scroll-target {
	position: relative;
	top: -61px;
}
/* Design general
*
*/
button {
	background: transparent;
	border: none;
}
button:hover {
	cursor: pointer;
}
button:focus {
	outline: 0;
}
button.close-cross {
	position: fixed;
    top: 0;
    right: 0;
    padding: 20px;
    z-index: 100000;
    width: 66px;
    line-height: 23px;
}
#list-event .list-group-item {
	display: block;
	text-decoration: none;
	margin-bottom: 10px;
}
#content a.list-group-item:hover, #list-event .list-group-item.active {
	text-decoration: none;
}
#list-event .list-group-item.active span, #list-event a.list-group-item:hover span {
	text-decoration: underline;
}
.list-legend img {
	margin-bottom: 0;
}
.clearfix::after {
    display: block;
    content: "";
    clear: both;
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}
/* 	Menus
*	 – main_menu
*/
.close-main_menu {
	color: #fff;
}
.close-main_menu:hover {
	color: #000;
}

/* Popup 
*
*/
#bandeau, #about, .wrapper-fixed, #primary-colunm, button.open-about, #popup {
	transition: filter .66s, opacity .66s;
	-webkit-transition: -webkit-filter .66s, opacity .66s;
}
.blured #bandeau, .blured #about, .blured .wrapper-fixed, .blured #primary-colunm, .blured button.open-about, #popup {
	-webkit-filter: blur(15px);
	filter: blur(15px);
}
#popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    z-index: 10000;
	opacity: 0;
	pointer-events: none;
	overflow: scroll;
}
.wrapper-popup {
	display: table;
	width: 100%;
	min-height: 100%;
	height: 100%;
}
.wrap-wrap {
	display: table-cell;
	vertical-align: middle;
}
.blured #popup {
	opacity: 1;
	pointer-events: auto;
	-webkit-filter: blur(0);
	filter: blur(0);
}
#content-popup {
	display: block;
	max-height: 80%;
}
.content-popup-page {
	position: relative;
	z-index: 2;
}
.close-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 0;
	color: #000;
	display: none;
}

.close-popup span {
	position: absolute;
    top: 0;
    right: 0;
    padding: 9px 27px;
    font-size: 40px;
	font-weight: 300;
}
.close-popup span:hover {
	color: #0073FF;
}
.blured .close-popup {
	display: block;
}
.wp-video {
	width: auto !important;
}
video.wp-video-shortcode {
	height: auto;
	max-width: 100%;
	background-color: #000;
}
/* About
*
*/
#about {
	position: fixed;
	right: 0;
	top: 0;
	height: 100%;
	z-index: 1002;
	transform: translate(100%, 0);
}
#mc_embed_signup .button {
	background-color: transparent;
    border: 1px solid #000;
    color: #000;
    padding: 6px 8px 7px 8px;
    line-height: 10px;
    margin-top: 0px;
}
#mc_embed_signup .button:hover {
	cursor: pointer;
	color: #fff;
}
#mc_embed_signup input.email {
    width: 170px;
    background-color: transparent;
    border: 1px solid #000;
    color: #fff !important;
    padding: 5px 8px 6px 8px;
	height: 27px;
	margin-top: 0px;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size:14px;
}
#mc_embed_signup input.email::placeholder {
	color: #000;
}
#mc-embedded-subscribe {
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size:14px;
}
#mc_embed_signup div.mce_inline_error {
	font-size: 12px;
    font-weight: 400!important;
    background-color: transparent!important;
    color: #000!important;
    margin-bottom: 0!important;
    padding-left: 0!important;
	margin-top: 5px;
}
#mc_embed_signup div#mce-error-response {
    font-size: 12px;
	margin-top: 5px;
}
#mc_embed_signup div#mce-success-response {
    font-size: 12px;
	margin-top: 5px;
}
button.open-about {
	position: fixed;
	width: 46px;
    height: 51px;
    right: 10px;
    top: 5px;
    padding: 8px;
	z-index: 1001;
}

.wrapper-about {
	width: 275px;
	background-color: #0073FF;
	height: 100%;
	position: relative;
    z-index: 2;
	overflow: scroll;
	
}
#content-about {
	color: #000000;
	padding: 20px 30px;
	z-index: 10;
    position: relative;
}
.close-about {
	position: absolute;
	color: #fff;
	right: 10px;
	top: 10px;
}
.logo_forde {
	width: 110px;
	margin-bottom: 0;
}
.widget_text {
	margin-top: 24px;
}
.widget_text p {
	margin-top: 3px;
	margin-bottom: 7px;
}
#alerte-horaire {
	position: absolute;
    background-color: #0073FF;
    border: 2px solid #000;
    padding: 1px 5px 3px 5px;
    transform: rotate(-16deg) translate(-17px, 8px);
    font-size: 11px;
    font-weight: bold;
	left: 35px;
}
/* 
* 	Content Popup */
#content-popup img, #content-popup iframe {
	max-width: 100%;
}
/* Blog
*
*/

#secondary-column {
	padding: 0 5%;
	padding-bottom: 20px
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
	#secondary-column {
		padding: 0;
	}
	#secondary-column .wrapper-fixed  {
		width: 330px;
		padding: 0 40px 0 0;
		position: fixed;
		height: calc(100% - 60px - 125px);
   	 	overflow-y: scroll;
	}
}


/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { 
	#secondary-column .wrapper-fixed  {
		width: 340px;
		padding: 0 ;
	}
}
@media (min-width: 1400px) { 
	#secondary-column .wrapper-fixed  {
		width: 400px;
		padding: 0 ;
	}
}

#primary {
	position: relative;

}
#primary-colunm {
	padding: 0 5%;
	position: relative;
	z-index: 10;
}
#content {
	padding-bottom: 70px;	
    position: relative;
	}
@media (min-width: 768px) { 
	#content {
		padding-bottom: 130px;
	}
}
@media (min-width: 1200px) { 
	#content {
		padding-bottom: 130px;
	}
}
#secondary-colunm h5 {
	
}
article header h5 {
	margin-top: 0px;
	margin-bottom: 5px;
}
article header .h1 {
	margin-top: 0;
	margin-bottom: 10px;
}
article img {
	transition: all .2s ease-out;
}
article h2 a {
	color: #000;
}
article h2 a:hover {
	color: #0073FF;
	text-decoration: none !important;
}
/* Slider
*
*/
#slides {
	list-style: none;
	padding: 0;
	margin-top: 0;
}
.slide-event {
	height: 110px;
	display: inline-block;
	margin: 0 5px 5px 0;
}
.slide-event a.active img {
	border: 5px solid #0073FF;
}
.slide-event img {
	height: 100%;
	width: auto;
	margin: 0;
}
.carousel-indicators li {
	background-color: transparent;
    width: 14px;
    height: 14px;
    border: 1px solid #000;
    border-radius: 100%;
}

.carousel-indicators li.active::after {
	position: absolute;
    top: 1px;
    left: 1px;
    display: block;
    width: 10px;
    height: 10px;
    content: "";
    background-color: #000;
    border-radius: 100%;
}

/* Secondary navigation
*
*/
.single-navigation a {
	text-decoration: none;
	font-weight: bold;
}
.single-navigation a:hover .arrow {
	color: #0073FF;
}
/* Footer 
*
*/
#bandeau {
	position: fixed;
	bottom: 0;
	left: 0;
	height: 66px;
	width:100%;
	background-image: url('images/logo_forde_bkg_blue_mobile.png');
	background-repeat: repeat-x;
	background-size: auto 100%;
	z-index: 2;
}
@media (min-width: 768px) {
	#bandeau {
		background-image: url('images/logo_forde_bkg_blue_s.png');
		height: 100px;
	}
}