* {
	font-family: 'Calibri', Candara, Segoe UI, Arial, sans-serif;
}

body {
	padding-top: 40px;
}

header.page-header {
	margin-top: 32px; /* Default setting in Bootstrap : 40px */
}

@media (max-width: 992px) and (min-width: 768px) {
	header.page-header {
		margin-top: 82px;
	}
}

header span {
	font-size: 200%;
	color: #777;
	font-weight: 400;
	margin-left: 0.3333em;
}

footer {
	margin-top: 1em;
	padding-top: 1em;
}

nav {
	-webkit-box-shadow: 0px 2px 2px #aaa;
	   -moz-box-shadow: 0px 2px 2px #aaa;
			box-shadow: 0px 2px 2px #aaa;
}
@media screen and (min-width: 768px) {
	.dropdown:hover .dropdown-menu {
		display: block;
	}
}

span.navbar-brand {
	margin-top: -11px;
	margin-right: -6px;
}

nav ul {
	font-size: 1.25em;
	font-weight: 500;
}

header,
h1, h2, h3, h4, h5, h6,
p,
ul.square > li,
table {
	cursor: default;
}

thead {
	font-weight: bold;
	text-align: center;
}

.page {
	text-align: justify;
}

.page h4::before {
	content: "\25C6";
	font-size: 82.5%;
	margin-right: 0.5em;
}

.index-aside {
	padding-left: 6px;
	padding-right: 0;
	background-color: inherit;
}

.h4-index  {
	margin-top: 1em;
	font-size: 133%;
}

input,
textarea {
	cursor: text;
}

li > a,
a > p {
	cursor: pointer;
}

blockquote::before {
	color: rgba(51, 51, 0, 0.1);
	content: "“";
	font-size: 6em;
	position: relative;
	left: -8px;
	top: 32px;
	line-height: 0;
	margin-right: 4px;
}

blockquote {
	font-size: 100%;
	font-style: italic;
	padding: 6px 12px;
}

#divLoading {
	text-align: center;
	display: none;
}

@media (min-width: 992px) {
	section.col-md-9 {
		width: 72.5%;
		margin-right: 2.5%;
	}
}

.alert > a {
	font-weight: bold;
}

.alert-close {
	float: right;
	cursor: pointer;
	font-size: 120%;
	font-weight: bold;
}

#social-network > a {
	margin-right: 1px;
	margin-left: 1px;
	opacity: 0.8;
	filter: alpha(opacity=80);
}

#social-network > a:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

/*.share-buttons {
	position: fixed;
	right: -34px;
	top: 67%;
	z-index: 1000;
	border-radius: 0;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	border-left: 12px solid #95C020;
	box-shadow: 0 0;
	transition: 1.5s;
}

.share-buttons:hover {
	right: -5px;
	border-top: 2px solid rgb(170, 170, 170);
	border-left: 2px solid rgb(170, 170, 170);
	border-bottom: 2px solid rgb(170, 170, 170);
	transition: 1s;
}

.share-buttons a:hover img {
	width: 125%;
	height: 125%;
	padding-right: 1em;
	margin: 2px auto;
}*/


/**************************/
/* Tiles (page d'accueil) */
/**************************/

.tile-master {
	display: inline-block;
	margin-bottom: 0.5em;
	text-align: center;
	padding-right: 4px;
	padding-left: 4px;
	cursor: pointer;
}

.tile {
	width: 100%;
	height: 240px;
	margin: 0 auto;
	position: relative;
	cursor: pointer;
}

.tile:hover .tile-colored {
	background-color: #A5DF00;
}

.tile:hover .tile-description {
	bottom: 0;
	opacity: 100;
	filter: alpha(opacity=100);
}

.tile-colored {
	height: inherit;
	background-color: #95C020;
	border-radius: 3px;
	vertical-align: middle;
	color: white;
	font-weight: bold;
	text-shadow: 0 0 8px black;
}

.tile-colored p {
	padding-top: 2em;
	font-size: 1.667em;
	letter-spacing: 1px;
	line-height: 3em;
	cursor: pointer;
}

.tile-description {
	overflow: hidden;
	position: absolute;
	margin-right: inherit;
	width:inherit;
	bottom: -4em;
	padding-right: 0.25em;
	padding-left: 0.25em;
	color: white;
	background-color: grey;
	opacity: 0;
	filter: alpha(opacity=0);
	cursor: pointer;
}

.tile-all .tile {
	height: 120px;
	font-size: 90%;
}

.tile-all p {
	display: table;
	margin: 0 auto;
	padding-top: 1.25em;
}

.tile-all p span {
	vertical-align: middle;
}

.tile-id {
	display: none;
}

@media screen and (min-width: 768px) {
	.tile-all span:first-child {
		margin-right: 1em;
	}
}

@media screen and (max-width: 768px) {
	.tile,
	.tile-all .tile {
		height: 160px;
		line-height: inherit;
		font-size: inherit;
	}
	
	.tile-colored p {
		line-height: 2.25em;
		font-size: 1.25em;
	}
	
	.tile-description {
		font-size: 92%;
	}
	
	.tile-all span {
		margin-right: 0;
	}
	
	.tile-all p {
		display: block;
		padding-top: 2em;
	}
	
	.tile-all p span {
		display: inline-block;
		vertical-align: initial;
		margin: 0;
		width: 100%;
	}
}


/**********/
/* Inputs */
/**********/

*[type="submit"],
*[type=radio] + span,
*[type=checkbox],
*[type=checkbox] + span,
*[type=file] {
	cursor: pointer;
}

*[type=checkbox].no-checkbox,
*[type=radio] {
	display: none;
}

*[type=radio]:checked + span,
*[type=checkbox]:checked + span {
	font-weight: bold;
	color: #3C763D;
	background-color: #DFF0D8;
	border: 1px solid #3C763D;
}

/* Only Radio */
*[type=radio] + span {
	display: inline-block;
	text-align: center;
	width: 20%;
	max-width: 12em;
	min-width: 7em;
	margin: 0 1em 0.5em 0.25em;
	border: 1px solid grey;
}

*[type=radio]:checked + span {
	/* See above */
}

/* Only Checkbox */
*[type=checkbox] + span {
	display: inline-block;
	width: 25%;
	max-width: 24em;
	min-width: 12em;
	margin: 0 2em 0.5em 0.25em;
	padding: 0.15em;
}

*[type=checkbox]:checked + span {
	text-align: center;
}


/**********************/
/* Barre de recherche */
/**********************/

.search {
	max-width: 240px;
	left: -48px;
}

@media screen and (min-width: 768px) {
	.search {
		top: 8px;
	}
}

@media screen and (max-width: 768px) {
	.search {
		left: 10px;
	}
}

#button-search {
	height: 34px;
}

.search-box {
	position: relative;
}

.search-suggestions {
	display: none;
	position: absolute;
	width: 185px;
	z-index: 10000;
	padding: 8px;
	background-color: #FFFFFF;
	-webkit-box-shadow: 2px 2px 3px 0px grey;
	   -moz-box-shadow: 2px 2px 3px 0px grey;
		 -o-box-shadow: 2px 2px 3px 0px grey;
			box-shadow: 2px 2px 3px 0px grey;
	font-size: 75%;
	border: 1px solid #F8F8F8;
}

.search-suggestions li:hover,
.search-suggestions li.hover {
	background-color: #D8D8D8;
	cursor: pointer;
}

.search-tag:hover {
	text-decoration: underline;
}

.back-index {
	position: absolute;
	color:#95C020;
}

.back-index:hover {
	font-size: 250%;
	-webkit-transition: 0.5s;
	   -moz-transition: 0.5s;
		 -o-transition: 0.5s;
			transition: 0.5s;
}


/******************/
/* Document, lien */
/******************/

.no-color,
a.no-color,
a.thumbnail,
a.thumbnail:hover,
button .glyphicon:hover {
	color: inherit;
	text-decoration: none;
}

a.rss-icon:hover {
	color: #95C020;
}

button .glyphicon {
	margin-right: 0.5em;
}

.hover-text-decoration:hover {
	text-decoration: underline;
}

.search-results {
	padding: 8px;
}

.search-results time,
.search-results p + p {
	border-bottom: 1px grey dotted;
	padding-bottom: 0.4em;
	margin-bottom: 0.4em;
	display: inline-block;
	width: 100%;
}

.search-results > img {
	max-height: 480px;
}

.titre-document {
	color: #5FB404;
	font-weight: bold;
	font-size: 150%;
}

.photo-left {
	float: left;
	margin-right: 8px;
	border-radius: 12px;
}

.tag {
	margin: 0 8px;
}

.glyphicon-tags {
	margin-right: 8px;
}

.tag-flexbox {
	display: -webkit-flex;
	display: flex;
	
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	flex-flow: wrap;
	
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	justify-content: space-between;
	
	-webkit-align-items: center;
	align-items: center;
}

.tag:hover,
.tag-pop:hover {
	font-size: 95%;
	background: #5CB85C;
	color: white;
	font-weight: bold;
	border-radius: 3px;
	text-decoration: none;
	padding: 0 4px;
	margin: 0;
}

.social-counter-doc {
	/*display: none;*/
	display: inline-block;
	padding: 0 5px 0 5px;
	background-color: #95C020;
	border-radius: 6px 6px 0 0;
	color: white;
	cursor: default;
	font-size: 0.8em;
	position: relative;
	bottom: -1px;
	
}


/**********/
/* Agenda */
/**********/

.event-day {
	float: left;
	min-width: 2.5em;
	text-align: center;
	padding: 3px 4px;
	margin: 5px 5px 2px 0;
	border: 1px solid black;
	border-radius: 5px;
	font-weight: bold;
}

.spoiler-month {
	cursor: pointer;
}

.spoiler-text {
	cursor: pointer;
	font-weight: bold;
}

.spoiler-text:hover {
	text-decoration: underline;
}

.spoiler-content {
	display: none;
	border-left: 2px solid #969696;
	margin-top: 0.25em;
	margin-left: 0.2em;
	padding-left: 6px;
	padding-bottom: 4px;
	background-color: #D9D9D9;
}


/************************/
/* Dernières nouveautés */
/************************/

.document {
	background-color: #E7E7E7;
	border-radius: 8px;
	padding: 8px;
	margin-bottom: 8px;
	width: 100%;
	min-height: 76px;
}

.document:hover {
	background-color: transparent;
}

.document:hover .document-titre {
	text-decoration: underline;
}

.document-date {
	width: 48px;
	border: 1px solid black;
	border-radius: 5px;
	position: left;
	text-align: center;
	margin-right: 6px;
	float: left;
	overflow: hidden;
}

.document-month {
	text-transform: uppercase;
	background-color: #5CB85C;
	border-bottom: 1px solid black;
	color: white;
}

.document-day {
	font-weight: bold;
	font-size: 140%;
	height: 1.9em;
	display: inline-block;
}

.document-day span {
	display: inline-block;
	vertical-align: middle;
}

.document-titre {
	font-weight: bold;
	font-size: 106%;
}

.document-texte {
	font-size: 96%;
}

.comment a .glyphicon {
	color: grey;
}

a .glyphicon-edit:hover {
	color: #337AB7;
}

a .document-remove {
	float: right;
}

.online {
	color: green;
}

.private {
	color: #FFA500;
}

.delete-event {
	color: #CE4844;
}

.delete-event:hover {
	color: #A94442;
}

dd {
	text-align: justify;
}

fieldset + fieldset {
	margin-top: 1em;
}

/*********/
/* Color */
/*********/


.color-facebook {
	color: #3B579D;
}

.color-twitter {
	color: #5EA9DD;
}

.color-google-plus {
	color: #E14C0D;
}

.color-pinterest {
	color: #BD081C;
}

.color-linkedin {
	color: #337AB7;
}

.color-viadeo {
	color: #F4982B;
}

.color-whatsapp {
	color: #455a64;
}

.color-messenger {
	color: #0084ff;
}

.color-kofi {
	color: #fd7943;
}

.color-rss {
	color: #E14C0D;
}

.color-bookmark {
	color: #1ABC9C;
}

.color-email {
	color: #F0C300;
}

.color-counter-doc {
	color: 
}

/**********/
/* Autres */
/**********/

.hidden {
	display: none;
}

.img-404 {
	max-height: 170px;
	float: left;
	margin: 8px;
}

.square {
	list-style-type: square;
}

.unstyled {
	list-style-type: none;
	padding-left: 0;
	line-height: initial;
}

.unstyled li {
	margin-bottom: 0.2em;
}

ol.index {
	counter-reset: count;
}

ol.index  li {
	counter-increment: count;
}

.index  li::before {
	content: "· ";
	/*content: counter(count);
	margin-right: 4px;
	border-radius: 3px;
	padding: 0 4px 1px;
	background-color: #678;
	color: white;
	font-weight: bold;*/
}

/*.index > a:hover > li::before {
	background-color: transparent;
	color: grey;
}*/

.float-right {
	float: right;
}

.float-left {
	float: left;
}

.modal-dialog {
	margin-top: 5%;		/* Default value (bootstrap): 30px */
}

.lexique {
	border-bottom: dotted 1px grey;
	cursor: help;
}

#top-doc-info > div {
	display: inline-block;
	margin-right: 1.5em;
}

#top-doc-info > div > span::after {
	content: "\00A0";
}

@media (max-width: 768px) {
	#top-doc-info {
		text-align: center;
	}
}

#go-top {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 9999;
}

/* Newsletter */
#newsletter-box  {
	padding-bottom: 0.5em;
	border-radius: 4px;
	background-color: #3982C3;
}

#newsletter-box > h4,
#newsletter-box > p {
	color: white;
}

#newsletter-box > input {
	margin-bottom: 0.5em;
}