/*
Theme Name: Optile
Description:
Author: Gaël DONAT / Antoine MONTEARD
Version: 1.0
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:400 13px/1.6 'Lato','Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

.separator{display:block; width:100%; border:none !important; height:1px; background:#ddd;}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* body */
body {
	background:url('img/bg_motif2.png') #f2f2f2 top left repeat
}

/* header */
.header {
	padding:40px 0 22px;
}

/* nav */
#header-nav ul{
	padding:0;
	margin:0;
	vertical-align:bottom;
	white-space: nowrap;
}
#header-nav li{
	display: inline-block;
	width:12.5%;
}
#header-nav li.text-left{
	padding-right:2px
}
#header-nav li.text-right{
	padding-left:2px
}
#header-nav li.text-center{
	padding: auto;
}

#header-nav li a{
	display: inline-block;
	width:100%;
	border-bottom:3px #373737 solid;
	font-size:16px;
	font-weight:300;
}
.home-news a:hover, 
#header-nav li a:hover,
#header-nav .current-menu-item a{
	color:#f5531b;
	border-bottom:3px #f5531b solid;
	text-decoration:none;
}
	
#header-nav li.logo {
	width:25%;
	text-align:center;
}
#header-nav li.logo img {
	margin-bottom: -3px;
}	
#header-nav li.logo a {
	border:none;
	margin:0;
}

/* cover du contenu général de page */
#main-cover {
	background:rgba(0,0,0,.04); 
	padding:35px 0 0 0;
}
#main-cover figure{
	position:relative;
}
#main-cover figcaption{ 
	width:27%;
	background:#161616;
	position:absolute; 
	top:0;
	bottom:0;
	color:#fff;
	font-size:25px;
	font-weight:300;
	line-height: 152px;
	padding: 0 10px 0 25px;
}

#main-cover figcaption span
{
	line-height: 1.42857143;
	vertical-align: middle;
	display: inline-block;	
}

/* content */
#primary-content {background:rgba(0,0,0,.04); padding:15px 0 30px 0}
#primary-content .double-colonne .text-container { padding-right:15px;}

.align-text-droite
{
	padding-left:170px;
	
}


ul
{
	padding-left:16px;
	
}

.text-container { background:#fff; padding:30px 45px }

/* footer */

#menu-footer-navigation{ list-style-type: none; margin:none; }
#menu-footer-navigation li{ display:inline-block; }
#menu-footer-navigation li a { color:#fff; }

#footer-desc {background:rgba(0,0,0,.07); padding:45px 0}
#footer-partenaires{ background:rgba(0,124,194,.4); padding:15px 0; text-align:center; color:#fff; }
#footer-partenaires h3 span{ font-size:16px; border-bottom:1px solid #fff; padding:0 5px 5px }


/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* hp */
.home-news{
	 padding-bottom: 20px;
	 
	 
}
.home-news h2
{
	font-size:20px;
}

#secondary-content{}
#secondary-content .row{ margin:0px auto 30px }
#secondary-content .row h2 { border-bottom:3px solid #f5531b; margin-bottom:0; padding-bottom:5px  }
#secondary-content .row figure {text-align:center }
#secondary-content .row figure div { background:#2E7198; padding:30px 0 30px 0; }
#secondary-content .row figcaption{ text-align:left; }

.carousel-indicators { bottom:-30px; }
.carousel-indicators > li { background:#434343; border:1px solid #434343 }
.carousel-indicators > li.active { background:#f5531b; border:none  }

.carousel-control{ z-index: 10; top:50%; left:-24px; width:24px; height:77px; margin-top:-12px; bottom:auto; background:url('img/carousel-left.png') top left no-repeat; }
.carousel-control[data-slide="next"]{ right:-24px; left:auto; background:url('img/carousel-right.png') top left no-repeat; }

.carousel-title { 
	background: rgba(0,124,195,.8);
	font-size: 30px;
	color: #fff;
	position: absolute;
	top: 70px;
	left: 0;
	font-weight: 300;
	max-width: 35%;
	padding: 30px 30px 40px 30px; 
}

.carousel-title .link {
	display: block;
	color: #fff;
	font-size: 14px;
	position: absolute;
	right: 12px;
	bottom: 12px;
	background: url('img/bg_lien.png') center right no-repeat;
} 

/* transition effect */
.carousel .item {
    -webkit-transition: opacity .3s; 
    -moz-transition: opacity .3s; 
    -ms-transition: opacity .3s; 
    -o-transition: opacity .3s; 
    transition: opacity .3s;
    opacity:0;
    z-index:1;
    position:absolute;
    top:0;
    left:0;
    display:block;
}
.carousel .item.active {
	position:relative;
	opacity:1;
	z-index:2;
}



/* Page contenu classique */

/* main content*/
#primary-content h1{ border-bottom: 3px solid #f5531b; margin-bottom: 0; padding-bottom: 5px; width: 45%; }
#primary-content h3{ font-size:17px; font-weight:700 }

/* sidebar content */
#main-sidebar h2{ border-bottom: 3px solid #007cc2; margin-bottom: 0; padding-bottom: 5px; }
#main-sidebar .text-container { background:rgba(0,124,194,.1)}

/* page Adhérents */
#adherent #adherent-table { margin:auto; }
#adherent #adherent-table th,
#adherent #adherent-table td { border-right: 1px solid #ddd; }
#adherent #adherent-table th:last-child,
#adherent #adherent-table td:last-child { border-right: none; }
#adherent #adherent-table .sort-down,
#adherent #adherent-table .sort-up{ color:#f5531b }

/* page Agence */
#agence .col-md-6{padding: 20px;}
#agence .col-md-6>div { padding: 5px 15px 20px 15px; display:inline-block; border: 3px solid #fefefe; width: 100%; }
#agence .col-md-6>div h2 { font-size:20px; }
#agence .col-md-6>div ul { background: url('img/liste-boutique-picto.png') 10px 50% no-repeat; margin:0; padding-left: 90px;}
#agence .col-md-6:hover>div ul { background: url('img/liste-boutique-picto_over.png') 10px 50% no-repeat;}
#agence .col-md-6>div ul li {list-style-type: square;}

/* guide pratique */
#guide-pratique h2 {margin-bottom:50px}
#guide-pratique h3 {font-weight:100; margin:0 0 20px 0; }
#guide-pratique #horaire-section { margin-bottom:30px;}
#guide-pratique #titre-section { margin:50px 0;}
#guide-pratique .titres > .row {padding-left:35px;}
#guide-pratique .titre-container { display:block; margin: 0 0 15px 0; cursor:pointer; }
#guide-pratique .titre-container>p { margin:0; height:90px; display:block; line-height:90px;}
#guide-pratique .titre-visuel { width:20%; text-align:center; background:rgba(255,255,255,.9); float:left;}
#guide-pratique .titre-visuel img { vertical-align:middle; }
#guide-pratique .titre-name { width:80%; float:left;}
#guide-pratique .titre-name > span { vertical-align:middle; display:inline-block; line-height:1.1; padding:8px; font-size: 20px; font-weight: 300;}
#guide-pratique .titre-name > span small { font-size:14px}
#horaire-section > div { text-align:center; }

/* page contact */
#wpgmza_map {float:none !important;}

/* page plan du site */
.wsp-pages-title {display:none}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

h1 { font-size:26px; font-weight:300; }
h2 { font-size:24px; font-weight:300; }
h3 { font-size:22px; font-weight:300; }

.link{
	color:#f5531b;
	background: url('img/bg_lien_orange.png') center right no-repeat;
	padding-right: 20px; }

.link:hover{
	color:#f5531b;
	text-decoration:none;
	opacity:.9
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
.nowhite-space{white-space:nowrap;}


/* table Sorter */
th.sort-header {
  cursor:pointer;
  }
th.sort-header::-moz-selection,
th.sort-header::selection {
  background:transparent;
  }
table th.sort-header:after {
  content:'';
  float:right;
  margin-top:7px;
  border-width:0 4px 4px;
  border-style:solid;
  border-color:#404040 transparent;
  visibility:hidden;
  }
table th.sort-header:hover:after {
  visibility:visible;
  }
table th.sort-up:after,
table th.sort-down:after,
table th.sort-down:hover:after {
  visibility:visible;
  opacity:0.4;
  }
table th.sort-up:after {
  border-bottom:none;
  border-width:4px 4px 0;
  }

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}


/******************/
/* AJOUT MLT 20161010 */
/******************/

table.conducteur {
color: #333;
font-family: Helvetica, Arial, sans-serif;
width: 640px;
border-collapse: collapse; 
border-spacing: 0;
}

table.conducteur td, table.conducteur th{
border: 1px solid #DFDFDF; /* No more visible border */
transition: all 0.3s; /* Simple transition for hover effect */
padding: 5px;
}

table.conducteur th {
background: #DFDFDF; /* Darken header a bit */
font-weight: bold;
}

table.conducteur td {
background: #FAFAFA;
vertical-align: middle;
}

table.formation td, table.formation th{
border: 1px solid #DFDFDF; /* No more visible border */
padding: 5px;
}

.lienU a {
text-decoration: underline;
}

/******************/
/* FIN AJOUT MLT 20161010 */
/******************/

th.sort-header {
color: #f5531b;
}