#news
{
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
}

#news .content #news-scroll
{
	max-width: 900px;
	width: calc(100% - 40px);
	margin: auto;
	padding-bottom: 40px;
	text-align: left;
}

#news .news-entry { clear: both; }

#news #links-list
{ 
	list-style-type: none;
	white-space: nowrap;
	text-align: right;
	float: right;
	position: relative;
	top: 7px;
}

#news #links-list li
{
	display: inline-block;
	padding-right: 10px;
	vertical-align: top;
}

#news h2, 
#news .news-entry h3, 
#news .news-entry h4, 
#news .news-entry h5, 
#news .news-entry h6 
{ margin-bottom: 20px; }

#news h2
{
	margin-top: 30px;
	text-align: center;
}

#news .news-entry h3
{
	margin-left: 0px;
	margin-top: 50px;
	text-align: left;
}

#news .news-entry h3 a { color: rgb(0, 0, 0); }

#news #back-to-news
{
	text-align: right;
	margin-bottom: 10px;
}

#news .news-date
{
	font-weight: bold;
	font-style: italic;
	color: rgb(100, 100, 100);
}

#news .news-entry p
{
	margin-bottom: 20px;
}

#news .news-entry .news-body h1,
#news .news-entry .news-body h2,
#news .news-entry .news-body h3,
#news .news-entry .news-body h4,
#news .news-entry .news-body h5,
#news .news-entry .news-body h6
{
	text-align: left;
}

#news .news-entry .news-body h1 { font-size: 1.45em; }
#news .news-entry .news-body h2 { font-size: 1.4em; }
#news .news-entry .news-body h3 { font-size: 1.3em; }
#news .news-entry .news-body h4 { font-size: 1.2em; }
#news .news-entry .news-body h5 { font-size: 1.1em; }
#news .news-entry .news-body h6 { font-size: 1.0em; }

#news .news-entry .news-body ul, #news .news-entry .news-body ol
{
	margin: 20px;
	margin-left: 100px;
}

#news .news-entry .news-body ul ul, #news .news-entry .news-body ul ol, 
#news .news-entry .news-body ol ul, #news .news-entry .news-body ol ol
{
	margin: 0px;
	margin-left: 20px;
}

#news .news-entry .news-body table
{
	max-width: 90%;
	border-collapse: collapse;
	border-radius: 5px;
	background-color: none;
	margin: auto;
}

#news .news-entry .news-body th, #news .news-entry .news-body td 
{
	padding: 10px; 
	border: solid rgb(200, 200, 200) 1px; 
}

#news .news-entry .news-body td pre
{
	margin: 0px;
	padding: 0px;
	border: none;
	background-color: none;
}

#news .news-entry .news-body th p:last-child, #news .news-entry .news-body td p:last-child
{
	margin-bottom: 0px;
}

#news .news-entry .news-body img
{
	max-width: 500px;
	width: 500px;
	padding: 5px;
	border: solid 1px rgb(128, 128, 128);
}

#news .news-entry .news-body pre, #news .news-entry .news-body code { white-space: pre-wrap; }

#news .news-entry .news-body blockquote, #news .news-entry .news-body pre
{
	padding: 20px;
	padding-left: 60px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
	margin: 0px;
	margin-bottom: 20px;
	border: 1px solid rgb(200, 200, 200);
}

#news .news-entry .news-body blockquote { font-style: italic; }
#news .news-entry .news-body blockquote .user-name { font-weight: bold; }
#news .news-entry .news-body .code-language { font-weight: bold; }

#news .news-more
{
	text-align: right;
	padding-bottom: 20px;
	border-bottom: 1px solid rgb(200, 200, 200);
}

#news #comments .muted, #news #comments .muted .news-date { color: #d1242e; }

/* Interface de saisie d'un nouveau commentaire */

#comments .news-body table, 
#comments .news-body table td, 
#comments .news-body table th
{
	border: none !important;
}

#news .news-preview .news-body
{
	max-height: 400px;
	overflow: hidden;
	mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, black 30%);
	-webkit-mask-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0) 0%, black 30%);
}

#news #comments #text-editor-modes,
#news #comments #text-editor-modes_0
{
	text-align: center;
	display: none;
}

#news #comments #text-editor-modes span,
#news #comments #text-editor-modes_0 span
{
	font-size: 0.9em;
	margin-left: 15px;
	margin-right: 15px;
}

#news #comments #text-editor-modes span a,
#news #comments #text-editor-modes_0 span a
{
	cursor: pointer;
	color: rgb(0, 0, 0);
}

#news #comments #text-editor-modes .selected a,
#news #comments #text-editor-modes_0 .selected a
{ color: rgb(100, 100, 100); }

#news #comments input[type="text"] { box-sizing: border-box; }

#news #comments #content-inputs,
#news #comments #content-inputs_0
{ text-align: center; }

#news #comments #content-inputs textarea,
#news #comments #content-inputs_0 textarea
{
	box-sizing: border-box;
	text-align: left;
	height: 150px;
	margin: auto;
}

#news #comments #content-inputs .contentEditable,
#news #comments #content-inputs_0 .contentEditable
{
	max-width: 607px;
	width: 607px;
	margin: auto;
}

/* Popup d'édition d'un commentaire */

.formContent
{
	padding: 40px;
	padding-bottom: 20px;
}

.formContent input[type="text"] { box-sizing: border-box; }

.formContent .text-editor-modes
{
	text-align: center;
	margin-bottom: 10px;
}

.formContent .text-editor-modes span
{
	font-size: 0.9em;
	margin-left: 15px;
	margin-right: 15px;
}

.formContent .text-editor-modes span a
{
	cursor: pointer;
	color: rgb(0, 0, 0);
}

.formContent .text-editor-modes .selected a { color: rgb(100, 100, 100); }

.formContent textarea
{
	box-sizing: border-box;
	height: 150px;
}

.formContent .contentEditable
{
	max-width: 607px;
	width: 607px;
	margin: auto;
}

.formContent .editor { text-align: left; }

/* Galerie */

#news .galerie
{
	width: 100%;
	text-align: center;
    margin: 0px;
    padding: 0px;
	margin-bottom: 30px;
}

#news .galerie li
{
	position: relative;
	display: inline-block;
    list-style-type: none;
    text-align: center;
    margin: 10px;
}

#news .galerie li img
{
	display: inline-block;
	vertical-align: middle;
	height: 200px;
	padding: 5px;
	border: solid 1px rgb(128, 128, 128);
}

#news .galerie li a
{
	line-height: 0.8em;
	color: rgb(0, 0, 0);
}

#news .oeuvre-float
{
	position: relative;
	float: left;
    list-style-type: none;
    text-align: left;
    margin: 0px;
	margin-right: 20px;
	margin-bottom: 20px;
	padding: 5px;
	border: solid 1px rgb(128, 128, 128);
	width: 40%;
	max-width: 200px;
}

#news .liens { clear: both; }

#news .liens li
{
	display: inline-block;
    list-style-type: none;
	margin: 10px;
}

/* Navigation */

#news-nav
{
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	text-align: center;
}

#news-nav #news-nav-inner
{
	background-color: rgb(255, 255, 255);
	max-width: 1140px;
	width: calc(100% - 100px);
	padding: 10px;
	margin: auto;
}

#news #next-page
{ 
	float: left; 
	margin-left: 22px; 
}

#news #prev-page
{ 
	float: right; 
	margin-right: 22px; 
}

#news-accueil { text-align: center; }
