/*
Theme Name: FFAAIR
Theme URI: http://www.hand94.org/
Author: Clement @ KANYOO.COM
Author URI: http://www.kanyoo.com/
Version: 1.0
*/


@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700);

/* =WordPress Core : http://codex.wordpress.org/CSS
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 15px 15px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 15px 15px;
}

.alignleft,
.attachment img {
    float: left;
    margin: 5px 15px 15px 0;
}

/* Images */
.entry-content img,
.comment-content img,
.widget img,
.wp-caption,
.wp-caption img,
img[class*="align"],
img[class*="wp-image-"] {
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
max-width: 100%;
}

.wp-caption {
	border: 1px solid #ddd;
	background-color: #fff;
	padding: 4px 4px 0 4px;
	margin: 15px 0;
	border-radius: 4px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-text {
	color: #888;
	text-align: center;
	font-size: 11px;
	line-height: 15px;
	padding: 5px;
	margin: 0;
}

.gallery { margin-top: 15px; }
.gallery.row { margin-right: 0 }
.gallery-item { text-align: center; margin-bottom: 15px; padding-right: 0 !important }


/*	-------------------------------------------------
		!Modifs Bootstrap
		-------------------------------------------------	*/

a:hover .img-thumbnail {
	box-shadow: 0 0 7px rgba(0,0,0,0.5);
}

.well { box-shadow: none }

.panel-heading { padding: 10px }


.featherlight .featherlight-content { box-sizing: content-box } /* Bootstrap border-box bug */


/* -------------------------------------------------
		!Typo
		-------------------------------------------------	*/

h1, h2, h3, h4, h5, h6,
.h1,.h2,.h3,.h4,.h5,.h6,
header,
footer .titre,
#smart-menu,
.aside .titre,
#frontpage .actu.details .categories,
.nav.children,
.carousel-title,
ul.partenaires span
{
	font-family: "Open Sans Condensed";
	text-transform: uppercase;
	font-weight: 300;
}

.sub-menu a small {
	text-transform: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2,.h3,.h4,.h5,.h6 { color: #009cda; font-weight: 700 }



/* -------------------------------------------------
		!Mise en page
		-------------------------------------------------	*/

html, body, #page-wrapper { height: 100% }

body { background: #005d9f; }

#page-wrapper {
	z-index: 20;
	position: relative;
	box-shadow: 0px 0px 15px #000;
	overflow-x: hidden;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

header {
	position: relative;
	margin: 0 -15px;
}

header .container { position: relative }

#header-nav {
	background: #005d9f;
	height: 60px;
}

#header-logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 180px;
	height: auto;
	z-index: 100;
	box-shadow: 0 0 15px rgba(0,0,0,0.3);
	border-bottom: 5px solid #f0ad4e;
}

#toggle-menu {
	position: fixed;
	z-index: 100;
	background: transparent;
	right: 0;
	margin: 0;
	border: 0;
	width: 60px;
	padding: 0;
	height: 60px;
	color: #fff;
}

#header-title { 
	background: #009cda;
	overflow: hidden;
}
#header-title .h1 {
	color: rgba(255,255,255,0.6);
	font-size: 16px;
	line-height: 60px;
	white-space: nowrap;
/* 	letter-spacing: 1px; */
	word-spacing: 2px;
	margin: 0;
	padding: 0;
	text-align: center;
	margin-left: 180px;
}

.main.row {
	clear: both;
	background-color: #fff;
	padding-bottom: 15px;
}

#frontpage .main.row { padding-bottom: 0; }
#frontpage .main.row.aside { padding-bottom: 15px; border-top: 0; }

#carte-clubs {
	height: 400px;
	width: 100%;
}

footer {
	clear: both;
	position: relative;
	margin: 0 -15px;
	padding: 0 15px;
}

footer .logos {
	background: #fff;
}

footer .social { white-space: nowrap; }
footer .social i { vertical-align: middle; }


#carousel {
	margin: 0 -15px;
	height: 400px;
	overflow: hidden;
}

.carousel-title {
	position: absolute;
	top: 0px;
	left: 0;
	width: 180px;
	background: #f0ad4e;
	color: #fff;
	z-index: 20;
	padding: 5px 15px;
	font-size: 24px;
	font-weight: bold;
	white-space: nowrap;
	text-align: center
}

.carousel-control {
	position: absolute;
	left: auto;
	right: 0;
	bottom: 0;
	top: auto;
	z-index: 11;
	height: 70px;
	width: 70px;
	opacity: 0.5;
	font-size: 20px;
	line-height: 80px;
	color: #FFF;
	text-align: center;
	text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
	z-index: 12;
	background: transparent;
}

.carousel-control.left { right: 238px; }

.carousel-indicators {
	bottom: 0;
	right: 0;
	left: auto;
	width: 308px;
	z-index: 11;
}

.carousel-caption {
	position: absolute;
	right: 0;
	left: auto;
	top: auto;
	bottom: 0;
	width: 308px;
	z-index: 10;
}

.carousel-caption .title {
	position: absolute;
	bottom: 0;
	padding: 30px 30px 80px 30px;
	color: #FFF;
	text-align: left;
	text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
	font-size: 32px;
	line-height: 32px;
	background: rgba(0,0,0,0.6);
	margin: 0;
}

.carousel-caption .title a { color: #fff; text-decoration: none }

.carousel-caption .btn {
	vertical-align: 35%;
	font-weight: bold;
}

.carousel-inner .item {
	height: 400px;
	background-color: #000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.liste-clubs { margin-bottom: 0 }
.liste-clubs td { padding: 4px !important; }
.liste-clubs .ville { padding-left: 0 !important; width: 26% }
/* .liste-clubs .ville .label { vertical-align: 2px } */
.liste-clubs .club { padding-right: 0 !important; }

.liste-clubs .ville span {
	display: block;
	background-color: #f0ad4e;
	padding: 3px 6px;
	color: #fff;
	font-size: 10px;
	line-height: 11px;
	border-radius: 3px;
	font-weight: bold;
}

.loop hr:last-child { display: none }

/* -------------------------------------------------
		!Menu
		-------------------------------------------------	*/
#header-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#header-nav ul.top { margin-left: 165px; }

#header-nav li {
  display: inline-block;
  vertical-align: top;
  text-align: left;
  transition: all 0.3s;
  position: relative;
  font-size: 18px;
}

#header-nav li a {
  display: block;
	padding: 0 15px;
  text-transform: uppercase;
  color: #fff;
  line-height: 50px;
  text-decoration: none;
}


#header-nav li.current-menu-item > a { color: #4d8ebc; font-weight: bold }

#header-nav .container > ul > li:hover { background-color: #004a7f }

#header-nav ul ul {
  padding: 0;
  position: absolute;
  z-index: 1000;
  min-width: 100%;
  top: 100%;
  left: 0;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
#header-nav .container > ul > li:last-child ul {
	left: auto;
	right: 0;
	text-align: right;
}

#header-nav ul ul ul {
  top: 0;
  left: 100%;
  border-top: 0;
}

#header-nav ul ul li { 
  background-color: #004a7f;
  display: block;
  float: none;
}

#header-nav ul .sub-menu li a { 
  font-size: 16px;
	line-height: 18px;
	padding: 10px 15px
}

#header-nav ul ul ul li { background: #002e4f; }
#header-nav ul ul ul li:hover { background: #000; }
#header-nav ul ul ul li.current-menu-item:hover { background: #002e4f; }
#header-nav ul ul ul li.current-menu-item a { color: #000; }


#header-nav ul ul li a {
	white-space: nowrap;
}

#header-nav ul ul li a i.fa {
	float: right;
	line-height: 1.7em;
}

#header-nav ul ul li:hover { background: #002e4f; }
#header-nav ul ul li.current-menu-item:hover { background: #000; }


#header-nav ul li:hover > ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

.menu-visible #toggle-menu,
.animating #toggle-menu {
	color: rgba(255,255,255, 0.5)
}


#smart-menu {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 240px;
	padding: 60px 0 15px 0;
	margin: 0;
	
	list-style-type: none;

	z-index: 10;
	
	overflow-y: auto;
	overflow-x: hidden;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  -webkit-overflow-scrolling: touch;
}

#smart-menu > li {
	border-bottom: 1px solid #2675ad;
}

#smart-menu li a {
	display: block;
	padding: 0 20px;
	color: #fff;
	font-size: 16px;
	line-height: 40px;
	text-transform: uppercase;
	text-decoration: none;
}

#smart-menu ul {
	padding: 0;
	margin: 0 0 0 15px;
	list-style-type: none;
}

#smart-menu ul li {
	border-top: 1px solid #4d8ebc;
}

#smart-menu ul li a {
	color: #fff;
	font-size: 16px;
	line-height: 18px;
	padding-top: 10px;
	padding-bottom: 10px;
}

#smart-menu ul li a:before { content: '› '; }

.animating #smart-menu, .menu-visible #smart-menu { display: block; }
.animating #page-wrapper { transition: transform .3s linear; }
.animating.left #page-wrapper,
.animating.left #header-title { transform: translate3d( -240px, 0, 0 ); }
.animating.right #page-wrapper,
.animating.right #header-title { transform: translate3d( 240px, 0, 0 ); }
.menu-visible #page-wrapper,
.menu-visible #header-title { right: 240px; left: -240px }

.breadcrumb {
	background: none;
	padding: 0;
	margin: 20px 0 -10px 0;
}

.breadcrumb .fa-compass { color: #f0ad4e }

.single.post .breadcrumb > li + li:before { content: '|'; }

.aside { padding-top: 32px; }
#frontpage .aside { padding-top: 0 }

.titre + form { margin-top: 10px; }

.aside .titre {
	border-bottom: 2px solid #009cda;
	margin-top: 15px;
}

.aside .titre.red { border-color: #f0ad4e; }

.aside .titre h3,
.aside .titre a {
	display: inline-block;
	margin: 0;
	padding: 2px 12px 0 12px;
	font-size: 18px;
	line-height: 30px;
}

.aside ul.actus {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.aside ul.actus li {
	border-bottom: 1px solid #eee;
	padding: 12px;
}
.aside ul.actus li:last-child { border-bottom: 0; }

.aside ul.actus .categories {
	float: right;
	margin-left: 15px;
	max-width: 25%;
	text-align: right;
	line-height: 1.7em;
}

.aside ul.actus .categories .label {
	vertical-align: text-top;
}

.page img.post-thumbnail,
.single img.post-thumbnail {
	float: right;
	margin: 15px 0 10px 15px;
	max-width: 26%;
	height: auto;
}


.nav.children { font-size: 20px; }

.aside .titre a { color: #005d9f; }
.aside .titre.red a { color: #f0ad4e; }

.aside .titre h3 {
	color: #fff;
	background: #009cda;
	font-weight: bold !important;
	border-radius: 5px 5px 0 0;
}

.aside .titre.red h3 { background: #f0ad4e; }



footer { font-size: 12px; }

footer .copy,
footer .links {
	padding-bottom: 15px;
}
footer .links { text-align: right }

footer .partenaires .titre {
	font-weight: bold;
	font-size: 30px;
	text-align: center;
}

footer .reseaux { padding: 15px 0; }

/* http://labs.voronianski.com/css3-grayscale/ */
footer .logos img.grayscale {
	-webkit-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -ms-filter: grayscale(1);
  -o-filter: grayscale(1);
  filter: grayscale(1);
  filter: url(css/grayscale.svg#grayscale); /* Firefox 4+ */
  filter: gray; /* IE 6-9 */
}

.fa-fb-square:before{content:"\f082"} /* Bug AdBlock */
.fa-tt:before{content:"\f099"}
.fa-yt:before{content:"\f167"}
.fa-ig:before{content:"\f16D"}
.fa-lg { vertical-align: -5%; }




/* PARTENAIRES */

ul.partenaires {
	padding: 0;
	margin: 0 0 0 -15px;
	list-style-type: none;
}

ul.partenaires li {
	display: block;
	float: left;
	width: 195px;
	margin: 0 0 15px 15px;	
}

ul.partenaires a {
	display: block;
	position: relative;
	height: 195px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

ul.partenaires span {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #f0ad4e;
	padding: 8px 10px;
	font-size: 14px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

/* -------------------------------------------------
		!Media queries
		-------------------------------------------------	*/

@media (max-width: 767px) { /* ONLY Phones */
	header { height: 60px }
	#header-title { position: fixed; z-index: 100; right: 0; left: 0 }
	#header-title .h1 { text-align: left; margin-left: 0; font-size: 24px }
	
	.page img.post-thumbnail,
	.single img.post-thumbnail  { margin: 0 0 0 10px; max-width: 35% }
	.attachment img { width: 100% !important; height: auto !important }
	.single.post .breadcrumb > li + li:before { content: ''; padding: 0; }
	.single.post .breadcrumb > li { display: block; }
	.aside { padding-top: 0; }
	
	footer .copy, footer .links { text-align: center; }
	
	.carousel-title { top: 0; width: auto; font-size: 20px; }
	
}

@media (min-width: 768px) { /* EXCEPT Phones */

}

@media (min-width: 768px) and (max-width: 991px) { /* ONLY Tablets (64%) */
	#header-logo { width: 150px; }
	#frontpage #header-logo { border-bottom: 0; }
	#header-nav { height: 50px; }
	#header-nav ul.top { margin-left: 150px }
	#header-nav li a { font-size: 16px; padding: 0 10px }
	#header-title .h1 { line-height: 50px; margin-left: 150px; font-size: 12px }
	
	
	.carousel-title { top: 0; width: 150px; font-size: 16px; padding: 5px 8px}

}

@media (min-width: 992px) and (max-width: 1199px) { /* ONLY Medium screens (83%) */

	#header-nav li a { padding: 0 12px }

}

@media (max-width: 991px) { /* ONLY Tablets & Phones */
	.carousel-caption { font-size: 24px; }
}

@media (min-width: 992px) { /* ONLY Screens */
	#frontpage #header-logo { border-bottom: 0 }
	#frontpage #header-nav ul.top,
	#header-nav .container > ul > li > a { line-height: 60px; }
}

@media (min-width: 1200px) { /* ONLY Big screens (100%) */
	#header-title .h1 { font-size: 18px; }
	#header-nav .container > ul > li > a { font-size: 22px }
	footer .partenaires .titre { text-align: left; }
	.carousel-caption, .carousel-indicators { width: 375px; }
	.carousel-control.left { right: 305px; }
	
}