/**
 * JLBartmann v1 theme
 * 29/09/2013
 */

/*
List of BS media queries:
@media(max-width:767px){}
@media(min-width:768px){}
@media(min-width:992px){}
@media(min-width:1200px){}
*/

html {
	font-size: 1em;
}

body {
	font-family: Arial, sans-serif;
	font-size: 0.75em;
	color: #444444;
	background: #724122 url('../img/background.jpg') no-repeat top left;
	-webkit-background-size: cover; /* pour Chrome et Safari */
	-moz-background-size: cover; /* pour Firefox */
	-o-background-size: cover; /* pour Opera */
	background-size: cover; /* version standardisée */
	background-attachment: fixed;
	padding: 0;
}

.clear {
	clear: both;
}

a {
	color: #669d26;
	text-decoration: none;
}

a:focus {
	outline: none;
}

a:hover {
	color: #444444;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6, .h1-title, .h2-title {
	color: #659c24;
	margin: 0.5em 0;
	padding: 0;
	font-weight: bold;
}

h1, .h1-title {
	font-size: 2em;
}

h2, .h2-title {
	font-size: 1.6em;
}

h3 {
	font-size: 1.2em;
}

input, textarea, .form-control {
	background-color: #e8e8e8;
}

.btn {
	background: #7aaa3d;
	color: white;
}

/**
 * Generic style
 */
.title-dashed-container {
	background: url('../img/motif-dash.png');
	min-height: 1em;
	line-height: 1em;
	margin: 0 0 1em 0;
	padding: 0;
	font-family: Georgia, Aria, sans-serif;
}

.title-dashed-container span {
	background: white;
	font-size: 1.2em;
	padding-right: 10px;
	font-style: italic;
}

.image-border {
	padding: 3px;
	border: 1px solid #b8b8b8;
	box-shadow: 0 0 3px #b8b8b8;
	margin: auto;
}

/**
 * Title followed by a description
 */
.title-desc-container span {
	color: white;
	font-weight: bold;
	font-size: 1.2em;
	font-family: Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}

.title-desc-container em {
	color: #8c8682;
	font-family: Arial, sans-serif;
	font-style: normal;
	font-size: 0.8em;
}

#background canvas {
	position: fixed !important;
	position: absolute;
	z-index: -5;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
}

/**
 * Structure
 */
#wrapper {
	max-width: 980px;
	margin: auto;
}

#content {
	padding: 25px;
	background: white;
	border-top: 6px solid #3b2915;
}

#content .row-background {
	background: url('../img/background-content-line.jpg') 66.6% top repeat-y;
	margin-bottom: 2em;
}

@media(max-width:992px){
	#content .row-background {
		background: none;
	}
}

/**
 * Header
 */

header {
	text-align: center;
	padding: 25px;
}

/**
 * Navigation
 */

nav {
	height: 60px;
	border-radius: 5px 5px 0 0;
	background: rgb(59, 41, 21);
	background: rgba(59, 41, 21, 0.7);
}

nav ul.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	float: none;
}

nav ul.nav-list li {
	width: 14.2857%;
	float: left;
	text-align: center;
}

nav ul.nav-list li a {
	height: 60px;
	line-height: 60px;
	padding: 0 6px;
	display: block;
}

nav ul.nav-list li a .title-desc-container {
	line-height: 12px;
	display: inline-block;
	vertical-align: middle;
}

nav ul.nav-list li a .title-desc-container em {
	color: #cdcac6;
}

nav ul.nav-list li a:hover {
	background: rgba(59, 41, 21, 0.8);
	border-radius: 5px 5px 0 0;
}

nav .navbar-toggle {
	border-color: #dddddd;
}

nav .icon-bar {
	background-color: #dddddd;
}

nav ul.nav-list li.open ul.dropdown-menu {
	display: block;
}

nav ul.nav-list li ul.dropdown-menu {
	background: rgb(59, 41, 21);
	background: rgba(59, 41, 21, 0.9);
	border: none;
}

nav ul.nav-list li ul.dropdown-menu li {
	width: auto;
	float: none;
	padding: 2px 0;
	border-bottom: 1px solid #453422;
}

nav ul.nav-list li ul.dropdown-menu li a {
	height: auto;
	line-height: normal;
	padding: 10px;
	text-align: left;
	color: white;
	font-size: 0.9em;
	border-radius: 0;
}

nav ul.nav-list li ul.dropdown-menu li a:hover {
	background: #483017;
}

/* Sublevel menu */
nav ul.nav-list ul.sublevel-menu {
	min-width: 160px;
	background: rgb(59, 41, 21);
	background: rgba(59, 41, 21, 0.9);
	position: absolute;
	top: 0;
	left: 100%;
	padding: 0;
	list-style: none;
	display: none;
}

nav ul.nav-list li.dropdown.open li.dropdown.open ul.sublevel-menu {
	display: block;
}

@media(max-width: 767px){
	nav {
		height: auto;
		overflow: hidden;
	}
	
	nav ul.nav-list {
		height: 0;
	}
	
	nav ul.nav-list li {
		width: 100%;
		float: none;
		text-align: left;
	}

	nav ul.nav-list li a {
		height: auto;
		padding: 0 15px;
		display: block;
	}
	
	nav ul.nav-list li ul.dropdown-menu {
		display: block;
		position: static;
		float: none;
		background: none;
		box-shadow: none;
	}
	
	nav ul.nav-list li ul.dropdown-menu li a {
		padding: 5px 25px;
		line-height: 20px;
	}
}
@media(min-width: 768px){
	nav ul.nav-list {
		display: block;
	}
}

/**
 * Main content
 */

#col-left .content {
	padding-bottom: 1em;
	margin-bottom: 1em;
}

#col-left section, #col-left article {
	border-bottom: 1px solid #e4e4e4;
	text-align: justify;
	padding-bottom: 1em;
	margin-bottom: 1em;
}

.breadcrumb {
	padding: 10px;
}

.go-up {
	padding: 10px;
	margin: 0;
}

.app-news article .item-meta {
	color: #8c8682;
	font-family: Georgia, Aria, sans-serif;
	font-style: italic;
	margin-bottom: 1em;
}

.app-news .listing-medium {
	margin: 0 -2%;
}

.app-news .listing-medium article {
	width: 46%;
	float: left;
	margin: 0 2%;
}

.app-news .listing-medium article .item-content {
	height: 4em;
	overflow: hidden;
	margin: 0 0 1em 0;
}

.app-news article .news-read-more {
	text-align: right;
}

.app-news article .news-read-more a {
	color: #444444;
}

.app-news article .news-read-more a:hover {
	color: #669d26;
}

.edit-page {
	float: right;
	background: white;
	padding-left: 10px;
}

/* Contact page */
.google-map-iframe {
	border: 1px solid #a3a3a3;
	margin-bottom: 1em;
	box-shadow: 0 0 5px #eeeeee;
}

/**
 * Right column
 */

#col-right .block {
	margin-bottom: 2em;
}

#col-right #news ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#col-right #news ul li {
	border-bottom: 1px solid #efefef;
}

#col-right #news ul li a {
	padding: 10px;
	display: block;
}

#col-right #quick-access .espace-client, #col-right #quick-access .contact {
	width: 289px;
	height: 51px;
	color: white;
	margin-bottom: 1em;
	padding: 10px 50px 0 0;
	display: block;
	text-align: center;
	box-shadow: 0 0 3px #b8b8b8;
	text-shadow: 0 0 3px #b8b8b8;
}

#col-right #quick-access .espace-client:hover, #col-right #quick-access .contact:hover {
	text-shadow: 0 0 8px black;
}

#col-right #quick-access .espace-client span, #col-right #quick-access .contact span {
	text-transform: uppercase;
}

#col-right #quick-access .espace-client {
	background: url('../img/espace-client.png') no-repeat;
}

#col-right #quick-access .contact {
	background: url('../img/contact.png') no-repeat;
}

#contact-info .vcard {
	font-size: 1.3em;
}

#contact-info .vcard span {
	color: #669b25;
}

#partners a {
	padding: 10px;
	background: #fbfbfb;
	display: inline-block;
}

#partners a:hover {
	background: #ececec;
}

#partners img {
	border: 1px solid #d5d5d5;
}

#side-menu > ul {
	padding-left: 20px;
	line-height: 1.6em;
}

/**
 * Footer
 */

footer {
	border-top: 10px solid #3a2814;
	background: #332210;
	text-align: center;
}

footer .inner {
	max-width: 980px;
	margin: auto;
	position: relative;
}

footer ul {
	list-style: none;
	margin: 1em 15px;
	padding: 0;
	display: inline-block;
	vertical-align: top;
	text-align: left;
}

@media(max-width:767px) {
	footer ul {
		display: none;
	}
}

footer ul li {
	border-bottom: 1px solid #713718;
}

footer ul li.title a {
	color: white;
}

footer ul li.title .glyphicon {
	float: right;
	margin-left: 15px;
}

footer ul li a {
	color: #857a70;
	padding: 5px;
	display: block;
}

footer ul li a:hover {
	color: white;
	background: #483017;
}

footer p.text-center {
	color: #483929;
	margin: 0 15px;
	padding: 2em;
	display: inline-block;
	vertical-align: middle;
}

footer p.creatiwity {
	width: 150px;
	color: #444444;
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	right: 0;
	bottom: 0;
}

@media(max-width:992px) {
	footer p.creatiwity {
		position: static;
	}
}
