/*---------------------------------------------------------
 * Theme  : EDN Officiel
 * Par      : EDN | Swan
 * Date    : 15/11/2022
 * Site web :  http://easy-design.net/
 * Commentaire ou autre de l'auteur 
 # Merci de ne pas toucher au entête des fichiers CSS.
/*--------------------------------------------------------
 * Thème compatible avec deux menus (droite et gauche)
 * le choix reste possible sur une seule colonne de menus.
 *----------------------------------------------------------*/

/* --------------------------------------
		Forum.css
-----------------------------------------*/

section#main * { 
	box-sizing: content-box; 
}

/* ------- header ======================*/
header#forum-top {
	margin: 5px 0 15px 0;
	padding: 8px;
	border-radius: 5px;
}

header#forum-top h1 {
	padding: 0.7em 0.5em 1em 0.5em;
	border-bottom: none;
	font-size: 1.5rem;
}

/* --- menu index ======================*/
.forum-index {
	display: none;
}

@media (min-width: 769px) {	
	.forum-index {
		display: block;
	}
}

.forum-links .cssmenu{
	margin-top: 5px;
}

.forum-links .cssmenu i {
	padding-bottom: 3px;
}

.forum-links .cssmenu .small {
	font-size: 1.3em;
	font-family: 'Raleway', sans-serif;
}

.forum-links .cssmenu.cssmenu-group > ul > li > .cssmenu-title {
	padding: 8px 5px;
	letter-spacing: 0;
}

.forum-links .cssmenu-group > ul > li {
	background: none;
	border: none;
}
.forum-links .cssmenu-group > ul > li:hover {
	background: none;
	border: none;
}

/* -- details des pages ======================*/

/* --- pagination --- */
article header ul.pagination,
article footer ul.pagination {
	display: inline;
}

/*--- details des topic --- */
.user-editor {
	padding: 10px;
	font-size: 0.8em;
	font-style: italic;
}

.forum-post-form .fieldset-submit {
	margin-bottom: 5px;
	padding-top: 17px;
}

.error-auth-write-response {
	padding-bottom: 2px;
	font-size: 0.8em;
	text-align: center;
}

.error-auth-write {
	margin: auto;
	padding: 2px;
	height: auto;
	max-width: 300px;
}

.forum-poll-table {
	margin: 10px auto auto auto;
	width: 80%;
}
	
	
@media (max-width: 768px) {
	.forum-poll-table td {
		text-align: left;
	}
}

.del-msg {
	cursor:pointer;
	display:none;
}

.edit-pseudo {
	margin: 40px 0 20px;
	padding: 10px;
	font-size: 1em;
	font-style: italic;
}

/* --- stats --- */
.forum-stats span {
	display: block;
}

/* --- moderation --- */
@media (min-width: 769px) {
	#article-forum-moderation #id-message-helper.notice {
		width: 80%;
	}
}

#article-forum-moderation textarea {
	margin: 0 4px ;
	width: 99%;
	border-top: none;
	border-radius: 0 0 4px 4px;
}

/* --- creation de topic --- */
#add_poll_field_link {
	width: 185px;
}


/* --- header du contenu de la page --- */
section header, article header {
    margin: 0 0 0 0;
}
article header {
	padding: 1px;
	border-radius: 5px 5px 5px 5px;	
}

article header h2 {
	border: none;
	font-size: 1.3rem !important;
	font-weight: normal;
	margin-top: 15px;
}

article header a { font-size: 12px; }

@media (min-width: 769px) {
	article header a {
	font-size: 15px;
	font-weight: bold;
	}
}

article header a.basic-button { font-size: 15px !important; }

ul.pagination a { padding: 6px; }

@media (min-width: 769px) {
	ul.pagination a {
		padding: 3px;
	}
}

.desc-forum { font-size: 0.8em; }

/* --- Contenu de la page ======================*/
.content {
	padding: 0;
	clear: both;
} 


/* --- footer du contenu de la page ======================*/
article footer {
	margin-top: 10px;
	padding: 8px;
	min-height: 33px;
	border-radius: 3px;
}

article footer a { font-size: 13px; }

/* --- Classe du lien du pseudo sur forum ======================*/

a.forum-link-pseudo, a.forum-link-pseudo:hover { font-weight: bold;}

/* --- Messages non lus --- */
.forum-refresh {
	position: relative;
	float: left;
}

.forum-refresh #forum_blockforum_unread,
.forum-refresh #forum_blockforum_unread2 {
	position: absolute;
	z-index: 100;
	top: 100%;
	right: -150px;
}

.forum-notread { 
	padding: 4px;
	font-size: 0.8em;
}

@media (max-width: 768px) {
	.forum-refresh #forum_blockforum_unread,
	.forum-refresh #forum_blockforum_unread2 {
		left: -34px;
		right: auto;
		top: 20px;
	}

	.forum-refresh #forum_blockforum_unread > div,
	.forum-refresh #forum_blockforum_unread2 > div {
		width: 300px !important;
		overflow: visible !important;
	}
	
	.forum-notread {
		padding: 8px 4px;
	}
}

/* --- contenu des tables ======================*/
.forum-display-block {
	display: block;
	margin: 5px 0;
}

.forum-textarea, 
.forum-textarea:focus,
.forum-textarea:hover  {
	padding: 4px 6px;
	width: 99%;
	min-height: 150px;
	border-top: none;
	border-radius: 0 0 5px 5px;
}
	
table.bt tbody tr:last-child td {
	border-bottom: none;
}
	
table.bt tbody tr:last-child td:last-child {
	border-bottom: 1px solid #D1D2D4;
}

.module-contents.forum-contents table {
    margin: 0px !important;
}

/* ======================
	taille des colonnes
========================*/

@media (min-width: 768px) {
	/*-- Supérieur à 768px --*/	
	
	.td20P 	{ width: 20%; }
	.td25P 	{ width: 25%; }
	.td33P 	{ width: 33%; }
	.td66P 	{ width: 66%; }
	
	.td25 	{width: 25px;}
	.td70 	{width: 70px;}
	.td100 	{width: 100px;}
	
	.forum-mass-modo 		{ width: 25px;  }
	.forum-fixed-topic 		{ width: 30px;  }
	.forum-announce-topic 	{ width: 30px; font-size: 2em; }
	.forum-author 			{ width: 100px; 		font-family: Verdana, Arial, Helvetica, sans-serif;}
	.forum-subject-nb 		{ width: 80px;  }
	.forum-message-nb 		{ width: 95px;  }
	.forum-view 			{ width: 60px;  }
	.forum-pm 				{ width: 40px;  }
	.forum-mail 			{ width: 50px;  }
	.forum-delete 			{ width: 85px;  }
	.forum-last-topic 		{ width: 200px; }
	
	td.forum-last-topic, td.forum-author {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 1em;
		font-weight: normal;
	}
	
	td.forum-topic  {
		font-family: 'Raleway', sans-serif;
		text-align: left;
		font-size: 1.2em;
	}
	.forum-announce-topic {
		font-size: 1.5em;
	}
	.forum-topic .smaller {
		font-size: 0.8em !important;
	}
}

.forum-message-nb {
    font-size: 16px !important;
}
.forum-last-topic a {
    font-weight: bold;
}
/* Cadre des liens: alerter les moderateurs et suivre le sujet */
.forum-action {
	margin-top: 5px;
	text-align: center;
}

/* Les des categories de niveau 0 */
a.forum-link-cat {
	font-weight: bold;
}

/* Affichage des membres en ligne */
.forum-online {
	padding: 6px 6px 0 6px;
	height: auto;
	overflow: hidden;
	clear: both;
}

.forum-online-select-cat {
	padding: 5px;
	clear: both;
}

.forum-online-select {
	min-width: 160px;
	max-width: 530px;
}

@media (max-width: 768px) {
	/*-- Inférieur à 768px --*/	
	.forum-online-select {
		max-width: 100%;
	}
}

/* Contenu */
.forum-cat-title {
	padding: 0 5px;
}

.pagin-forum {
	float: right;
}

/* Messages postes par les membres 
--------------------------------------*/
/* Classe du lien du pseudo des messages */
a.msg-link-pseudo {
    font-size: 11px;
    font-weight: bold;
}

@media (min-width: 768px) {
	/*-- Supérieur à 768px --*/	
	a.msg-link-pseudo {
		font-size: 15px;
		font-weight: bold;
	}	
}
/* Conteneur des messages */
.msg-position { 
	margin: 10px auto;
}

/* Case contenant l'ensemble du message */
.msg-container, 
.msg-container2 {
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	flex-direction: row;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	height: auto !important;
	overflow: hidden !important;
	clear: both;
	border-radius: 5px 5px 5px 5px;
}

/* Barre superieur des messages */
.msg-top {
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	flex-direction: column;
	-ms-flex-direction: column;
	-webkit-flex-direction: column;
	width: 135px;
}

.msg-top-row p {
	margin: 0;
}

/* Pseudo du membre */
.msg-pseudo-mbr {
	padding: 4px;
}

.msg-info-mbr { /* Case des informations du membre */
	padding: 4px;
	font-size: 10px;
}

.msg-avatar-mbr img {
	margin: 5px 0;
	max-width: 120px;
}

/* Case contenant l'ensemble du message, infos membre + contenu */
.msg-contents-container,
.msg-contents-container2 {
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	flex-direction: column;
	-ms-flex-direction: column; 
	-webkit-flex-direction: column;
	flex: 1 0 auto;
	-ms-flex: 1 0 auto;
	-webkit-flex: 1 0 auto;
	width: calc(100% - 135px);
}

/* --- info case du message ---*/
.msg-contents-info {
	padding: 4px;
	min-width: 100%;	
}

/* Case du message */
.msg-contents{ 
	padding: 5px;
	flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	-webkit-flex: 1 1 auto;
}

/* Signature du membre */
.msg-sign,
.msg-sign2 { 
	padding: 4px;
	width: 100%;
	font-size: 11px;
}

.msg-sign img,
.msg-sign2 img {
	max-height: 100px;
}

/* Signature du membre => Couleur alternative */
.msg-sign2 {

}

/* Signature du membre, fixe la hauteur maximale */
.msg-sign-mbr { 
	padding-top: 5px;
	height: auto !important;
	max-height: 100px;
	overflow: hidden;
}

.msg-sign-info {
	/*border-top: 1px solid #D1D2D4;*/
}

.msg-sign-info .float-right a {
	padding: 2px 8px;
}

@media (max-width: 768px) {
	/*-- Inférieur à 768px --*/	
	tfoot, 
	td.forum-announce-topic, 
	td.forum-fixed-topic, 
	td.forum-subject-nb, 
	td.forum-message-nb, 
	td.forum-view, 
	td.forum-author {
		display: none !important;
	}
	
	td.forum-last-topic {
		margin-bottom: 3px;
	}
	
	/* ---topic ======================*/
	.msg-container,
	.msg-container2 {
		flex-direction: column;
		-ms-flex-direction: column; 
		-webkit-flex-direction: column;
	}
	
	.msg-top {
		flex-direction: row;
		-ms-flex-direction: row; 
		-webkit-flex-direction: row;
		width: 100%;
	}
	
	.msg-top-row {
		flex: 1 0 auto;
		-ms-flex: 1 0 auto;
		-webkit-flex: 1 0 auto;
		order: 2;
		-ms-flex-order: 2;
		-webkit-flex-order: 2;
		text-align: center;
	}
	
	a.msg-link-pseudo {
		font-size: 1.2em;
	}
	
	.msg-avatar-mbr {
		order: 1;
		-ms-flex-order: 1;
		-webkit-flex-order: 1;
	}
	
	.msg-avatar-mbr img {
		max-width: 60px;
	}
	
	.msg-contents-container,
	.msg-contents-container2 {
		width: 100%;
	}
	
	.msg-contents-info {
		/*background: transparent;
		color: inherit;
		font-size: 0.7em;*/
		text-align: right;
	}
	
	.msg-contents-info span {
		float: none !important;
	}
	
	.msg-contents-info a {
		padding: 0 4px;
		color: inherit;
	}
	
	.msg-contents-info .float-right a {
		padding: 8px;
	}
	
	.msg-sign span a,
	.msg-sign2 span a {
		padding: 3px;
	}
	
	.msg-info-mbr,
	.msg-sign-mbr {
		display: none;
	}
	
	.msg-contents,
	.msg-sign,
	.msg-sign2 {
		margin: 0;
		border-left: none;
	}
}

/* -- footer ==================================================================== */
footer#forum-bottom {
	margin: 15px 0 5px 0;
	padding: 8px;
}

footer#forum-bottom .forum-links {
}

footer#forum-bottom .forum-message-options {
	border-bottom: none;
}

/* -- Taille police menu ========================================================= */
.cssmenu.cssmenu-group > ul > li > .cssmenu-title {
	font-size: 1.2rem;
}


/*====================
*  		AUTRES
*====================*/

.msg-avatar-mbr img {
    width: 80px;
    max-height: 80px;
    border-radius: 50%;
}
.msg-avatar-mbr-mb img {
    width: 50px;
    max-height: 50px;
    border-radius: 50%;
}
.msg-u-title {
	padding:5px;
}

@media (min-width: 768px) {
	.EDN-date { padding: 15px; font-size: 1.2em;}
	.edn-content{ font-size: 1.5rem !important;}
	.action-forum-membre {font-size: 1.3em;}
}

span.last-topic-date { font-size: 11px; }
span.subforum { font-size: 14px; }