/**
 * 	font : 300 light,400 regular,600 semi-bold, 700 bold, 800 extra bold
 * all in regular / italic
 */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:700,700italic,400italic,400&subset=latin,latin-ext);


html {
	padding: 0; margin: 0;
	background: rgb(230,236,240);
}
body {
	background: rgb(197,211,220); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(197,211,220,1) 0%, rgba(230,236,240,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(197,211,220,1)), color-stop(100%,rgba(230,236,240,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(197,211,220,1) 0%,rgba(230,236,240,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(197,211,220,1) 0%,rgba(230,236,240,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(197,211,220,1) 0%,rgba(230,236,240,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(197,211,220,1) 0%,rgba(230,236,240,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5d3dc', endColorstr='#e6ecf0',GradientType=0 ); /* IE6-9 */
	
	background-repeat: no-repeat;
	
	color: #4b4b4b;	
}

html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li {
	font-family: "Open Sans", sans-serif;
}

img {
	max-width: 100%;
}

.text {
	text-align: left;
}
.text a {
	text-decoration: underline;
}
.text blockquote {
	text-align: justify;
}

header.navbar-default.navbar {
	border: none; margin-bottom: 0;
}
header .navbar-header {
	float: none; line-height: 140px; height: 140px;
}
header .navbar-header h1 {
	line-height: 145px; display: block; font-size: 32px;
	color: #979797; margin: 0; height: 145px;
	margin: 0px 65px 0px 215px;
}

header .navbar-toggle {
	float: left; clear: left; margin: 0 0 0 15px;
}
header #header-menu {
	float: left;
}

@media screen and (max-width: 600px) {
	header .navbar-brand {
		max-width: 30%;
	}
	header .navbar-header h1 {
		margin-left: 30%;
	}
}

header .navbar-header h1 span {
	line-height: 1; display:inline-block; vertical-align: middle;
	max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box;
}


header.container {
	overflow: visible;
}
#header-menu {
	float: right; text-transform: uppercase;
}
#header-menu .navbar-nav > li {
	position: relative;
}
#header-menu .navbar-nav > li > a {
	padding: 3px 15px; font-size: 12px;
}
#header-menu .navbar-nav > li > ul {
	position: absolute; z-index: 1000;
	list-style-type: none;
	margin: 0; padding: 0; border: 1px solid #eaeae9; border-top: none;
	background: #eaeae9;
	left: 0; right: -95px; top: 100%;
	overflow: hidden;
	
	max-height: 0;
	-o-transform: scaleY(0);
	-webkit-transform: scaleY(0);
	-moz-transform: scaleY(0);
	-ms-transform: scaleY(0);
	transform: scaleY(0);
	-o-transform-origin: left top;
	-ms-transform-origin: left top;
	-moz-transform-origin: left top;
	-webkit-transform-origin: left top;
	transform-origin: left top;
	
	-o-transition: -o-transform 0.3s ease, max-height 0.1s 0.3s ease;
	-ms-transition: -ms-transform 0.3s ease, max-height 0.1s 0.3s ease;
	-moz-transition: -moz-transform 0.3s ease, max-height 0.1s 0.3s ease;
	-webkit-transition: -webkit-transform 0.3s ease, max-height 0.1s 0.3s ease;
	transition: transform 0.3s ease, max-height 0.1s 0.3s ease;
	
	box-shadow: 0 1px 1px rgba(0,0,0,0.18);
}

#header-menu .navbar-nav > li:hover > ul {
	max-height: 1000px;
	-moz-transform: scaleY(1);
	-o-transform: scaleY(1);
	-ms-transform: scaleY(1);
	-webkit-transform: scaleY(1);
	transform: scaleY(1);
	
	-webkit-transition: -webkit-transform 0.3s ease;
	-moz-transition: -moz-transform 0.3s ease;
	-o-transition: -o-transform 0.3s ease;
	-ms-transition: -ms-transform 0.3s ease;
	transition: transform 0.3s ease;
}

#header-menu .navbar-nav > li li a {
	font-size: 10px; display: block;
	padding: 3px 7px;
}
#header-menu .navbar-nav > li li > a {
	color: inherit; text-decoration: none;
}
#header-menu .navbar-nav > li li.active > a,
#header-menu .navbar-nav > li li > a:hover,
#header-menu .navbar-nav > li li.active > a:focus {
	background: white;
}
#header-menu .navbar-nav > li li > a:hover,
#header-menu .navbar-nav > li li.active > a:focus {
	color: black;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > .active > a:focus {
	background: #eaeae9;	
}

/**
 * 	SIDEBAR
 */
#carousel-sideban {
	display: block;
	box-shadow: 0px 0px 300px rgb(255, 255, 255) inset, 0px 1px 3px rgba(0, 0, 0, 0.18);
	border: 1px solid rgb(208, 208, 208);
	-moz-box-sizing: border-box;box-sizing: border-box;
	
	max-width: 290px; margin: 0 auto 20px;
}
#carousel-sideban .cropbox {
	display: block; position: relative;
	height: 350px; max-height: 350px;
}

#carousel-sideban .cropbox span {
	position: absolute; width: 100%; left: 0; bottom: 100%;
	color: #4B4B4B;
	background: rgba(255,255,255,0.6);
	
	text-align: center;
	padding: 5px;
	font-size: 28px;
	
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
#carousel-sideban .active .cropbox span {
	bottom: 0;
}
#carousel-sideban .active.left .cropbox span,
#carousel-sideban .active .cropbox span.before {
	bottom: 100%;
}
#carousel-sideban .next .cropbox span {
	bottom: 100%;
}
#carousel-sideban .next.left .cropbox span {
	bottom: 0;
	-ms-transition: all 0.5s 0.5s ease;
	-webkit-transition: all 0.5s 0.5s ease;
	-o-transition: all 0.5s 0.5s ease;
	-moz-transition: all 0.5s 0.5s ease;
	transition: all 0.5s 0.5s ease;
}

#sidebar h2 {
	margin: 0;
}
#sidebar .content {	
	padding: 8px;
	border: 1px solid #d0d0d0;
	background: white; /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(229,232,234,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,232,234,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(229,232,234,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(229,232,234,1) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(229,232,234,1) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(229,232,234,1) 0%,rgba(255,255,255,1) 100%); /* W3C */
	box-shadow: 0 0 300px white inset, 0 1px 3px rgba(0,0,0,0.18);
}
#sidebar .aside, #sidebar aside {
	display: block;
}

.btn.btn-info {
	background: #4e79a7; border-radius: 0px;
	display: block; margin-top: 20px;
	font-weight: bold; font-size: 12px; border: none;
	white-space: normal;
}
.btn.btn-warning {
	border-radius: 0px;
	display: block; margin-top: 20px;
	font-weight: bold; font-size: 12px; border: none;
}
.btn.btn-danger {
	border-radius: 0px;
	display: block; margin-top: 20px;
	font-weight: bold; font-size: 12px; border: none;
}

.btn-group .btn.btn-info, .btn-group .btn.btn-warning,
.btn-group .btn.btn-danger  {
	margin-top: 0; white-space: nowrap;
}

#sidebar a.aside, #sidebar a.aside:hover, #sidebar a.aside:focus {
	color: inherit; text-decoration: none; outline: none;
}
#sidebar .aside h2, #sidebar aside h2 {
	margin: 0; padding: 0px 0px 22px;
	font-size: 24px;
}
#sidebar .aside h2 img, #sidebar aside h2 img {
	float: right; margin-right: 7px;
}
#sidebar .aside h2 ~ img, #sidebar aside h2 ~ img {
	display: block; max-width: 100%; margin: auto;
}
#sidebar .aside h2 ~ a, #sidebar aside h2 ~ a {
	display: block; width: 245px; margin: auto;
	max-width: 100%;
}
#sidebar .aside + .aside,  #sidebar .aside + aside,
#sidebar aside + .aside, #sidebar aside + aside {
	border-top: 1px solid #d0d0d0; padding-top: 15px;
	margin-top: 20px;
}

/**
 * 	SOCIAL
 */

#social {
	position: absolute;
	top: 5px; right: 0;
	width: 150px;
}
#social h2 {
	font-size: 10px; margin: 0;
	display: none;
}

.social {
	padding: 0 10px 0 0; font-size: 0;
	display: block; text-align: center;
}
.social a {
	display: inline-block; outline: none;
	margin: 0 0 0 10px;
	font-size: 12px;
	
	overflow: hidden;
	vertical-align: top;
	
	border-radius: 0%;
	width: 24px;
	max-width: 64px;
	
	-o-transition: border-radius 0.3s ease;
	-ms-transition: border-radius 0.3s ease;
	-webkit-transition: border-radius 0.3s ease;
	-moz-transition: border-radius 0.3s ease;
	transition: border-radius 0.3s ease;
}

@media screen and (min-width: 768px) {
	#social {
		width: 300px; top: 50px;
	}
	.social a {
		width: auto;
	}
	
}

.social a:hover, .social a:focus {
	border-radius: 100%;
}
.social a:active {
	background: black;
	box-shadow: 0 0 0 1px white inset;
	
	-ms-transform: scale(0.9);
	-o-transform: scale(0.9);
	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	transform: scale(0.9);
	-moz-transform-origin: 50% 50%;
	-webkit-transform-origin: 50% 50%;
	-o-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}
.social a:active img {
	opacity: 0.9;
}
.social a img {
	 width: 100%;
}
/* SOCIAL POPUP */
iframe[seamless] {
	border: none;
}



.container {
	background: white; overflow: hidden;
}

a, a:link, a:visited {
	color: #4e79a7; border: none;
}

#ariane {
	display: block;
	background: rgb(197,211,220);
	font-size: 11px;
	color: #4b4b4b;
	line-height: 35px;
}
#ariane a, a:link, a:visited {
	color: #4b4b4b;
}
#ariane a.current {
	text-decoration: underline;
}

a img {
	border: none;
}


a:hover, a:focus, .navbar a, .navbar a:link {
	color: rgb(60,140,200); 
}
a[href^='http']:link {
	text-decoration: underline;
}
a[href^='http']:visited {
	color: rgb(133,133,133); text-decoration: none;
}

a[href^='http']:visited:focus, a[href^='http']:visited:hover {
	color: rgb(100,180,248);
}

/**
 * 	BODY
 */
/*misc*/
p, .justify, .text ul, .text ol {
	text-align: justify;
	
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	
	-webkit-hyphenate-lines: 1;
	-ms-hyphenate-lines: 1;
	-o-hyphenate-lines: 1;
	-moz-hyphenate-lines: 1;
	hyphenate-lines: 1;
}

section.container {
	padding-top: 20px;
}

.copyright, .copyright a, .copyright a:link, .copyright a:visited, .copyright a:hover {
	outline: none; color: #4B4B4B !important;
	font-weight: bold;
	font-size: 11px;
	text-align: center;
}

/* BLOCKS */
.block {
	font-size: 12px;
	padding-bottom: 25px;
	position: relative;
	display: /*inline-*/block;
	padding-bottom: 45px;
}
a.block {
	outline: none;
}
a.block:hover, a.block:focus {
	color: inherit; text-decoration: none;
}
.block .cropbox, .block .redimbox {
	height: 158px; width: 100%;
}
.block h2, .block h3 {
	text-transform: uppercase;
	font-size: 16px; font-weight: bold;
	margin: 5px 0 5px; text-align: left;
	height: 36px; overflow: hidden;
}
.block .date {
	font-size: 10px; height: 24px; line-height: 20px; display:block;
	text-align: left;
}
.block .date.pull-right {
	padding-left: 10px;
}
.block .read {
	font-weight: bold;
	color: #4e79a7;
	position:absolute; bottom: 20px; left: 7.5px;
	right: 7.5px; background: #F2F4F4;
	text-align: left;
}
.block .read:hover, .block:focus .read {
	text-decoration: underline;
}
@media screen and (min-width: 768px) {
	.block .text {
		height: 70px; overflow: hidden;
	}
}

#toLet > h2 {
	margin-bottom: 10px; text-align: center;
}
#toLet .block h2 {
	margin: 5px 0;
}
#toLet p.text {
	text-align: center;
	font-size: 16px;
	height: 94px;
	line-height: 2;
}

#toLet .block .read {
	left: 0; right: 0;
	padding: 0 7.5px;
}

#toLet span.link {
	color: #4B4B4B;
	text-decoration: underline;
	display: block;
	font-size: 12px;
	line-height: 32px;
}
#toLet span.link:hover,
#toLet span.link:focus {
	color: #4E79A7;
}
/**
 * 	Mobile : title first !
 */
@media screen and (max-width: 767px) {
	.block {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-direction: normal;
		-moz-box-direction: normal;
		-webkit-box-orient: vertical;
		-moz-box-orient: vertical;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-pack: justify;
		-moz-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-align-content: center;
		-ms-flex-line-pack: center;
		align-content: center;
		-webkit-box-align: stretch;
		-moz-box-align: stretch;
		-webkit-align-items: stretch;
		-ms-flex-align: stretch;
		align-items: stretch;
	}
	
	.block > * {
		-webkit-box-ordinal-group: 1;
		-moz-box-ordinal-group: 1;
		-webkit-order: 1;
		-ms-flex-order: 1;
		order: 1;
		-webkit-box-flex: 0;
		-moz-box-flex: 0;
		-webkit-flex: 0 1 auto;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
		-webkit-align-self: auto;
		-ms-flex-item-align: auto;
		align-self: auto;
	}
	
	.block > .cropbox + h2, .block > .cropbox + h3,
	.block > .redimbox + h2, .block > .redimbox + h3 {
		-webkit-box-ordinal-group: 1;
		-moz-box-ordinal-group: 1;
		-webkit-order: 0;
		-ms-flex-order: 0;
		order: 0;
		-webkit-box-flex: 0;
		-moz-box-flex: 0;
		-webkit-flex: 0 1 auto;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
		-webkit-align-self: auto;
		-ms-flex-item-align: auto;
		align-self: auto;
	}
		
	/*
		Legacy Firefox implementation treats all flex containers
		as inline-block elements.
	*/
	@-moz-document url-prefix() {
		.block {
			width: 100%;
			-moz-box-sizing: border-box;
		}
	}
}




@media (max-width: 991px) {
	#sidebar {
		margin-top: 30px;
	}
}

/**
 * 	FOOTER
 */
footer {
	padding-bottom: 15px;
	max-width: 100%; margin: auto;
	width: 768px; 
}
footer ul {
	margin:0; padding: 0;
	list-style-type: none;
	
}
footer ul li:before {
	content: '• ';
}
footer .col-sm-4 {
	margin-top: 15px;font-size: 11px;
}
footer .col-sm-4 b {
	padding-bottom: 3px; display:block;
}



/**
 * 	box
 */
.box {
	font-size: 12px;
	
	border: 1px solid #d0d0d0;
	background: rgb(229,232,234); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(229,232,234,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,232,234,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(229,232,234,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(229,232,234,1) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(229,232,234,1) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(229,232,234,1) 0%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e8ea', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	
	box-shadow: 0 0 0 10px white inset, 0 1px 3px rgba(0,0,0,0.18);
	padding: 20px;
}
* + .box {
	margin-top: 20px;
}

.box blockquote {
	padding-left: 15px;
	border-left: 5px solid #dadada;
}

.box blockquote, .box blockquote p,
.box blockquote ul, .box blockquote ol {
	font-size: 12px;
}

.box h2 {
	margin: 0 0 10px; font-size: 34px;
}
.box .row {
	text-align: center;
}
.row + .row {
	margin-top: 20px;
}

.box#others h2 {
	text-align: left;
}

@media screen and (min-width: 768px) {
	.box {
		padding: 20px 40px 20px 30px;
	}
}

#p404 {
	text-align: center;
}
#p404 .redimbox {
	max-width: 100%;
}

/**
 * 	PAGINATION
 */
.pagination.pagination-custom {
	display: block; margin: 0 auto;
}
.pagination.pagination-custom ul.pager li {
	display: inline-block; width: 26px; height: 26px; line-height: 26px;
	vertical-align: middle;
	line-height: 24px;
}
.pagination.pagination-custom ul.pager li a {
	color: white; outline: none;
	font-weight: bold;
	background: rgb(78, 121, 167);
	padding: 0; height: 100%; width: 100%; text-align: center;
	border-radius: 0;
	border: 1px solid transparent;
	text-align: center;
}
.pagination.pagination-custom ul.pager li.active a {
	color: black; cursor: default;
	background: white; border: 1px solid #777;
}
.pagination.pagination-custom ul.pager li.nopage {
	cursor: default; visibility: hidden;
}
.pagination.pagination-custom ul.pager li.pagination-right a,
.pagination.pagination-custom ul.pager li.pagination-left a {
	font-size: 150%; letter-spacing: -3px; text-indent: -3px;
}

@media screen and (max-width: 468px) {
	.pagination.pagination-custom ul.pager li:nth-child(3),
	.pagination.pagination-custom ul.pager li:nth-child(4),
	.pagination.pagination-custom ul.pager li:nth-child(10),
	.pagination.pagination-custom ul.pager li:nth-child(11) {
		display: none;
	}
}
@media screen and (max-width: 400px) {
	.pagination.pagination-custom ul.pager li:nth-child(5),
	.pagination.pagination-custom ul.pager li:nth-child(9) {
		display: none;
	}
}

/*
 * Barre de debug
 */

#debugContent {
	position: fixed;
	bottom: 49px;
	background-color: #ccc;
	border: solid 1px #aaa;
	padding: 0;
	color: #333;
	width: 100%;
	display: none;
	left: 0;
}

.debugContent {
	max-height: 400px;
	overflow-y: auto;
}

#debugContent ul {
	border-bottom: solid 1px #aaa;
	list-style: none;
	margin: 0px;
	padding: 20px;
}

#debugContent li {
	margin: 0;
	padding: 0;
}

#debugContent .empty {
	text-align: center;
	font-weight: bold;
	padding: 10px;
}

#debugTimerContent .progress {
	float: left;
	width: 60%;
}

#debugTimerContent .timerSeconde {
	float: right;
	width: 18%;
}

#debugTimerContent .timerTitle {
	float: left;
	width: 15%;
}

#debugTimerContent li {
	clear: both;
}

#debugTimerContent ul {
	border: none;
}

#debug .badge-info {
  background-color: #4ab0ce;
}
#debug .badge-important {
  background-color: rgb(185, 74, 72);
}

#debug.navbar-fixed-bottom{
	width: 100%; right: auto;
	box-shadow: 0 0 1px rgba(0,0,0,0);
	
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	
}
#debug.clean {
	box-shadow: -1px -1px 1px rgba(0,0,0,0.5);
	left: 100%; margin-left: -83px;
}

/*
 * Cropbox
 */

.cropbox {
    overflow: hidden;
    display: inline-block;
}

.cropbox img {
    margin:auto;
    max-width: none;
}


.redimbox {
    overflow: hidden;
    display: inline-block;
    text-align: center;
    font-size: 0;
}

.redimbox img {
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
    vertical-align: middle;
    font-size: 10px; line-height: 10px;
}
.redimbox:before {
	content: ' ';
	position: relative;
	margin-left: -1px;
	vertical-align: middle;
	display: inline-block;
	height: 100%; width: 1px;
}
