/* -------------------------------------
		global.css
 Contient les classes globales au site, peuvent etre utilisees partout.
 - Mise en forme du texte
 - Mise en forme du contenu
 - Les Icones specifiques PHPBoost de FontAwesome 
 - Systeme d upload
 - social connect
--------------------------------------*/



/* --- Tailles de polices --- */
.smaller { font-size: 1.0em; }
.small   { font-size: 0.9em; }
.normal  { font-size: 1.0em; }
.big     { font-size: 1.2em; }
.bigger  { font-size: 1.5em; }
.biggest { font-size: 2.0em; }

/* --- Les titres (balise h) --- */
h1 { font-size: 2.2rem; }
h2 { font-size: 2.0rem; }
h3 { font-size: 1.9rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.6rem; }
h6 { font-size: 1.4rem; }

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	overflow: hidden;
}

/* --- Les Titres bbcode --- */
.formatter-title {
	display: inline-block;
	margin: 0.5rem 0;
}

h2.formatter-title { 
	text-decoration: underline;
	text-decoration-style: dashed;
	text-decoration-thickness: 2px; 
}
h3.formatter-title { margin-left: 1.5rem; }
h4.formatter-title { margin-left: 3rem; }
h5.formatter-title { margin-left: 5rem; }

h4.formatter-title,
h5.formatter-title {}

h3.formatter-title {
    font-family: "raleway-light", Helvetica, Arial, sans-serif;
    font-size: 2em;
    margin: auto auto -5px;
    padding: 0 5px;
    width: 97%;
}
@media only screen and (max-width: 40em){ 
	h3.formatter-title {
	font-size: 1.2em;
	}
}


/* -- Mise en forme du contenu -- */
/* ------------------------------ */

/* --- Affichage du mini calendrier --- */
.calendar-block-container {
	position: absolute;
	z-index: 100;
	left: 0;
	right: 0;
}

.form-field .calendar-container {
	display: inline-block;
	position: relative;
}

.calendar-block {
	position: absolute;
	z-index: 10;
}

.calendar-block {
	top: 25px;
	left: -104px;
}

.calendar-block .date-picker {
	margin: 0;
	width: 250px;
	table-layout: fixed;
}

.calendar-block .date-select-container {
	padding: 2px 0;
	border-radius: 3px 3px 0 0;
}

.calendar-block .date-select-previous {
	float: left;
	margin: 1px 4px 0 4px;
}

.calendar-block .date-select-next {
	float: right;
	margin: 1px 4px 0 4px;
}

.calendar-block .date-select-content {
	margin: auto;
	width: 185px;
	text-align: center;
}

.calendar-block .date-select-content select,
.calendar-block .date-select-content select:focus {
	padding: 1px 1px;
	font-size: 0.9em;
	border: none;
	background: none;
	box-shadow: none;
}

.calendar-block .date-select-month {
	width: 92px;
	margin: 0 1px 0 5px;
}

.calendar-block .date-select-year {
	width: 55px;
	margin: 0;
}

.calendar-block .date-picker select,
.calendar-block .date-picker select:focus {
	box-shadow: none;
	max-width: 75px;
}

.calendar-block .date-picker thead tr th {
	padding: 5px 0;
	border-radius: 0;
	font-weight: bold;
}

.calendar-block .date-picker tbody tr:last-child {
	border-bottom: none;
}

.calendar-block .date-picker tbody td {
	height: 23px;
	padding: 1px 2px;
}

.calendar-block .date-picker tbody td:first-child { border-left: none;  }
.calendar-block .date-picker tbody td:last-child  { border-right: none; }


.calendar-block .date-picker tbody tr:last-child td {
	border-bottom: none;
}

.calendar-block .date-picker tbody tr:last-child td:first-child { border-radius: 0 0 0 2px; }
.calendar-block .date-picker tbody tr:last-child td:last-child	{ border-radius: 0 0 2px 0; }


/* --- les blocs bbcode --- */
.bbcode-block-container {
	position: absolute;
	z-index: 20;
	top: 26px;
	left: -4px;	
	margin: 0;
	padding: 0;
	text-align: center;
}

.bbcode-block { margin: 0; }

.bbcode-block a {
	cursor: pointer;
	text-decoration: none;
}

/* --- Le selecteur de couleur --- */
.color-picker {
	position: absolute;
	z-index: 100;
}

.color-picker .bbcode-block table {
	margin: auto;
	border: none;
	border-collapse: collapse;
}

.color-picker td {
	padding: 0;
}

.color-picker td a {
	display: block;
	width: 14px;
	height: 14px;
}

/* --- les blocs de quote, de code ou caches --- */
.formatter-hide,
.formatter-code,
.formatter-blockquote {
	display: block;
	margin: auto;
	padding: 2px 0;
	width: 93%;	
	font-weight: bold;	
}

.hide,
.code,
.blockquote {
	margin: 0 25px;
	padding: 8px;
	max-height: 500px;
	border-radius: 3px;
	overflow: auto;

}

.hide {
	height: 10px;
	overflow: hidden;
	cursor: pointer;
}

.hide2 {
	visibility: hidden;
	overflow: auto;
}

.copy-code {
	float: right;
	padding: 1.2rem 0.5rem 0 0;
	font-size: 0.8em;
	font-style: italic;
	cursor: copy;
	transition: all 0.3s linear;
}

.copy-code-txt {
	padding: 0 0 0 3px;
}
.formatter-content {
  margin: 0;
  padding: 8px;
 border-radius:5px;
}
/* --- les autres element bbcode --- */
.indent {
	margin-left: 30px;
}

.formatter-acronym {
	cursor: help;
}

.formatter-block {
	display: block;
	margin: 5px 20px;
	padding: 5px;
	overflow: hidden;
}

.formatter-fieldset {
	margin: 10px;
}

.formatter-ul {
	text-align: left;
}

/* --- les listes numerotees --- */
.code ol {
	margin-left: 3em;
}

/* --- menu de flux --- */
.feed-list {
	margin: 5px 0;
	list-style-type: none;
	text-align: left;
}

@media (max-width: 768px) {
	.feed-list li a {
		margin: 1px 0;
		padding: 7px 0;
		display: inline-block;
	}
}
/* --- La recherche de membre (AJAX) --- */
.xmlhttprequest-result-search {
	margin: 2px 0 0 0;
	padding: 2px;
	min-height: 40px;
	width: 100px;
	overflow: auto;
}

/* --- La barre de progression --- */
.progressbar-container {
	position: relative;
	margin: 4px 0 10px;
}

.progressbar-container .progressbar-infos {
	position: absolute;
	width: 100%;
	line-height: 13px;
	font-size: 11px;
	text-align: center;
}

.progressbar {
	border-radius: 3px 0 0 3px;
}

.progressbar[style*="100"] {
	border-radius: 3px 3px 3px 3px;
}

.progressbar-container .progressbar {
	height: 13px;
	transition: width .6s ease;
}

/* --- Le systeme de notation --- */
.notation,
.static-notation {
	display: inline-block;
}

.notation .star,
.static-notation .star {
	padding-right: 5px;
	font-size: 14px;
	text-decoration: none;
}

/* --- Les alertes --- */
li.small-block .fa-stack {
	height: 2.34em;
}

.fa-circle-alert {
	position: absolute;
	z-index: 1;
	top: -3px;
	left: 20px;
	font-size: 1.32em;
}

.fa-circle-alert span {
	position: absolute;
	top: 4px;
	display: block;
	margin: 0 auto;
	width: 100%;
	font-size: 0.7em;
	text-align: center;
}

/* -- Les messages d erreurs -- */
/* ---------------------------- */

.message-helper {
	position: relative;
	display: block;
	margin: 0.309em auto 1em auto;
	padding: 0.618em 0.618em 0.618em 2.618em;
	height: auto;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
	border-radius: 5px;
	line-height: 1.2;
	text-align: left;
	overflow: hidden;
}

.message-helper:before {
	position: absolute;
	left: 6px;
	top: 7px;
	width: 28px;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900; /* Solid icons*/
	font-style: normal;
	line-height: normal;
	font-size: 1.5em;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.message-helper-small {
	width: 50%;
}

.message-helper.error:before       { content: "\f00d"; } /* copy times */
.message-helper.notice:before      { content: "\f12a"; } /* copy exclamation */
.message-helper.warning:before     { content: "\f071"; } /* copy exclamation-triangle */
.message-helper.success:before     { content: "\f00c"; } /* copy check */
.message-helper.question:before    { content: "\f128"; } /* copy question */
.message-helper.member-only:before { content: "\f071"; } /* copy exclamation-triangle */
.message-helper.modo-only:before   { content: "\f071"; } /* copy exclamation-triangle */
.message-helper.admin-only:before  { content: "\f071"; } /* copy exclamation-triangle */

.floating-message-container {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
	top: 0.618em;
}

.floating-message-container.active {
	z-index: 100;
}

.floating-message-container .message-helper {
	overflow: visible;
	opacity: 0;
}

@media (max-width: 768px) {
	.floating-message-container {
		width: 100%;
		top: 1em;
	}

	.floating-message-container .message-helper {
		max-width: 90%;
		padding: 10px 10px 10px 50px;
	}
}

.floating-message-container .message-helper-button {
	position: absolute;
	z-index: 1;
	top: -13px;
	right: -12px;
	height: 1.482em;
	width: 1.482em;
	border-radius: 100em;
	text-align: center;
	padding-top: 0.1618em;
}

.floating-message-container .fa-close-message {
	display: inline-block;
	color: white;
	font-size: 1em;
	margin: auto;
}

.floating-message-container .fa-close-message:before {
	content: "\f00d";
}

.floating-message-container .message-helper > a {
	color: inherit;
	cursor: pointer;
}

/* -- Systeme - Fenêtre d Upload -- 
/* --------------------------------- */
#module-user-upload {
	margin: 0.309em;
}

.upload-address-bar {
	margin: 0 1.482em;
	padding: 0.382em;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
}

.upload-address-bar-links {
	float: right;
	margin: 0 1.482em 1.482em 1.482em;
}

.upload-address-bar-links a {
	margin-left: 0.618em;
}

#empty-folder {
	width: 70%;
}

.upload-elements-container {
	margin: 0.618em 0 0 1.309em;
	overflow: hidden;
	text-align: left;
}

.upload-elements-file,
.upload-elements-repertory {
	display: inline-block;
	vertical-align: top;
	margin: 0.618em;
}

.upload-elements-repertory {
	line-height: 50px;
	width: 180px;
	text-align: center;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
}

.upload-repertory-controls {
	font-size: 0;
}

.upload-repertory-controls span {
	font-size: 1.6rem;
	width: calc(100% / 3);
	display: inline-block;
}

.upload-elements-file {
	width: 180px;
}

.upload-elements-file a:hover {
	text-decoration: none;
}

.upload-elements-file input {
	width: 100%;
}

.upload-element-name {
	width: 100%;
	text-align: center;
}

.upload-element-picture {
	width: 100%;
	height: 100px;
	display: block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.upload-element-icon {
	width: 100%;
	line-height: 100px;
	text-align: center;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
}

.upload-file-controls {
	font-size: 0;
}

.upload-file-controls a {
	font-size: 1.6rem;
	width: calc(100% / 4);
	display: inline-block;
	text-align: center;
	padding: 0.228em 0;
}

.upload-input-bbcode {
	margin-top: 0.1618em;
	cursor: pointer;
}

.upload-cat-list,
.upload-cat-explorer {
	margin: 0;
	padding: 0;
	list-style-type: none;
	line-height: normal;
}

.upload-cat-explorer {
	padding-left: 1.618em;
}

.upload-no-sub-cat {
	padding-left: 1em;
}

/* --- Deplacement des fichiers --- */
.upload-selected-cat {
	background-color: #F5FBFF;
	border: 1px solid #2C5169;
}
.upload-selected-cat {
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
}

.upload-elements-move-to,
.upload-elements-move-file,
.upload-elements-move-to-cat,
.upload-elements-move-folder {
	float: left;
	width: 33%;
	text-align: center;
}

.upload-elements-move-to {
	margin-top: 2.809em;
}

.upload-elements-move-file img {
	width: 100px;
	height: auto;
}

.upload-root-cat {
	padding: 0 0 0 1em;
}

/* -- Les icones d'annonces et de messagerie -- */
/* -------------------------------------------- */

/* --- Les icones d'annonces --- */
.fa, .far, .fa-regular {font-family: 'Font Awesome 5 Free';}
.fa-announce:before,
.fa-announce-new:before 		{ content: "\f075"; } /* copy comment */
.fa-announce-hot:before,
.fa-announce-new-hot:before 	{ content: "\f086"; } /* copy comments */
.fa-announce-lock:before,
.fa-announce-new-lock:before 	{ content: "\f023"; } /* copy lock */
.fa-announce-post:before,
.fa-announce-new-post:before 	{ content: "\f071"; } /* copy exclamation-triangle */
.fa-announce-top:before,
.fa-announce-new-top:before 	{ content: "\f06a"; } /* copy exclamation-circle */

/* --- Icones de messagerie --- */
.fa-msg-display:before 			{ content: "\f00c"; } /* copy check */
.fa-msg-not-display:before 		{ content: "\f00d"; } /* copy times */
.fa-msg-track:before 			{ content: "\f004"; } /* copy heart */
.fa-msg-not-track:before 		{ content: "\f004"; } /* copy heart */
.fa-pm-track:before 			{ content: "\f27a"; } /* copy comment-alt */
.fa-pm-not-track:before 		{ content: "\f27a"; } /* copy comment-alt */
.fa-mail-track:before 			{ content: "\f0e0"; } /* copy envelope */
.fa-mail-not-track:before 		{ content: "\f0e0"; } /* copy envelope */
.fa-lastview:before 			{ content: "\f017"; } /* copy clock-o */
.fa-notread:before 				{ content: "\f15c"; } /* copy file-alt, regular fonts */
.fa-showmymsg:before 			{ content: "\f4ad"; } /* copy comments-dots, regular fonts*/

.fa-notread,
.fa-lastview,
.fa-showmymsg {
	font-weight: 200;
}


/* -- social connect -- */
/* -------------------- */
a.social-connect {
	display: inline-block;
	margin: 10px 0;
	width: 30px;
	height: 30px;
	vertical-align: top;
	text-align: center;
}

.horizontal-fieldset a.social-connect {
	margin: 0;
	vertical-align: middle;
}

@media (max-width: 768px) {
	.horizontal-fieldset a.social-connect {
		display: block;
		width: 100%;
		margin: 5px auto;
	}

	.horizontal-fieldset a.social-connect i {
		margin-right: 5px;
	}
}

a.social-connect i:before { transition: 0.2s ease-out; }
a.social-connect:hover i:before { transition: 0.2s ease-out; }

a.fb i:before 		{ font-size: 1.9em; }
a.google i:before 	{ font-size: 1.7em; }

a.fb 		{ padding: 8px 0 0 4px; }
a.google 	{ padding: 6px 1px 0 0; }

@media (max-width: 768px) {
	a.fb {
		padding: 5px 0 0 3px;
	}
}

a.social-connect span { display: none; }


/* -- Les messages d erreurs -- */
/* ---------------------------- */
.message-helper {
	position: relative;
	display: block;
	margin: 0.309em auto 1em auto;
	padding: 0.618em 0.618em 0.618em 2.618em;
	height: auto;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
	line-height: 1.2;
	text-align: left;
	overflow: hidden;
}

.message-helper:before {
	position: absolute;
	left: 6px;
	top: 7px;
	width: 28px;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900; /* Solid icons*/
	font-style: normal;
	line-height: normal;
	font-size: 1.5em;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.message-helper-small {
	width: 50%;
}

.message-helper.error:before       { content: "\f00d"; } /* copy times */
.message-helper.notice:before      { content: "\f12a"; } /* copy exclamation */
.message-helper.warning:before     { content: "\f071"; } /* copy exclamation-triangle */
.message-helper.success:before     { content: "\f00c"; } /* copy check */
.message-helper.question:before    { content: "\f128"; } /* copy question */
.message-helper.member-only:before { content: "\f071"; } /* copy exclamation-triangle */
.message-helper.modo-only:before   { content: "\f071"; } /* copy exclamation-triangle */
.message-helper.admin-only:before  { content: "\f071"; } /* copy exclamation-triangle */


.floating-message-container {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
	top: 0.618em;
}

.floating-message-container.active {
	z-index: 100;
}

.floating-message-container .message-helper {
	overflow: visible;
	opacity: 0;
}

@media (max-width: 768px) {
	.floating-message-container {
		width: 100%;
		top: 1em;
	}

	.floating-message-container .message-helper {
		max-width: 90%;
		padding: 10px 10px 10px 50px;
	}
}

.floating-message-container .message-helper-button {
	position: absolute;
	z-index: 1;
	top: -13px;
	right: -12px;
	height: 1.482em;
	width: 1.482em;
	border-radius: 100em;
	text-align: center;
	padding-top: 0.1618em;
}

.floating-message-container .fa-close-message {
	display: inline-block;
	color: white;
	font-size: 1em;
	margin: auto;
}

.floating-message-container .fa-close-message:before {
	content: "\f00d";
}

.floating-message-container .message-helper > a {
	color: inherit;
	cursor: pointer;
}


/* --- les blocs de quote, de code ou caches --- */
.formatter-container {
	position: relative;
	display: block;
	margin: auto;
	width: 93%;
}

.formatter-container .formatter-title {
	font-weight: bold;
}

.formatter-content {
	margin: 0;
	padding: 0.456em;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
}

.formatter-hide .formatter-content {
	height: 0;
	max-height: 0;
	padding: 0;
	overflow: hidden;
	visibility: hidden;
	transform: scaleY(0);
	transition: transform 0.15s linear;
	transform-origin: 50% 0;
}

.formatter-show .formatter-content,
.formatter-hide.no-js:hover .formatter-content {
	height: auto;
	max-height: 500px;
	padding: 0.456em;
	overflow: auto;
	visibility: visible;
	transform: scaleY(1);
}

.formatter-hide .formatter-hide-message {
	display: block;
	font-style: italic;
	font-weight: normal;
	font-size: 0.809em;
	padding: 0.228em 0.456em;
	width: 100%;
	margin: 0 auto 0 auto;
	cursor: pointer;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
}

.formatter-show .formatter-hide-message {
	display: none;
}

.formatter-hide-close-button {
	position: absolute;
	display: none;
	top: 2.618em;
	right: 0;
	font-size: 0.8em;
	font-style: italic;
	cursor: pointer;
	transition: all 0.3s linear;
}

.formatter-hide-close-button-txt {
	padding: 0 0 0 0.228em;
}

.formatter-show .formatter-hide-close-button {
	display: block;
}

.formatter-hide-close-button:hover {
	transition: all 0.3s linear;
}

.formatter-code .formatter-title {
	margin: 1rem 0 0.5rem 0;
}

.formatter-code .formatter-content {
	overflow: auto;
	max-height: 500px;
}

.copy-code-content {
	border-style: dashed;
}

.formatter-blockquote .formatter-content{
	border-width: 0;
	padding: 1.618%;
	font-style: italic;
	position: relative;
}

.formatter-blockquote .formatter-content:before,
.formatter-blockquote .formatter-content:after {
	position: absolute;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1.618em;
}

.formatter-blockquote .formatter-content:before {
	content: '\f10d';
	top: -10px;
	left: -15px;
}

.formatter-blockquote .formatter-content:after {
	content: '\f10e';
	bottom: -10px;
	right: -15px;
}

.copy-code {
	float: right;
	padding: 1.2rem 0.5rem 0 0;
	font-size: 0.8em;
	font-style: italic;
	cursor: copy;
	transition: all 0.3s linear;
}

.copy-code-txt {
	padding: 0 0 0 0.228em;
}

/* --- les blocs de quote, de code ou caches --- */
.formatter-container {
	position: relative;
	display: block;
	margin: auto;
	width: 93%;
}

.formatter-container .formatter-title {
	font-weight: bold;
}

.formatter-content {
	margin: 0;
	padding: 0.456em;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
}

.formatter-hide .formatter-content {
	height: 0;
	max-height: 0;
	padding: 0;
	overflow: hidden;
	visibility: hidden;
	transform: scaleY(0);
	transition: transform 0.15s linear;
	transform-origin: 50% 0;
}

.formatter-show .formatter-content,
.formatter-hide.no-js:hover .formatter-content {
	height: auto;
	max-height: 500px;
	padding: 0.456em;
	overflow: auto;
	visibility: visible;
	transform: scaleY(1);
}

.formatter-hide .formatter-hide-message {
	display: block;
	font-style: italic;
	font-weight: normal;
	font-size: 0.809em;
	padding: 0.228em 0.456em;
	width: 100%;
	margin: 0 auto 0 auto;
	cursor: pointer;
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
}

.formatter-show .formatter-hide-message {
	display: none;
}

.formatter-hide-close-button {
	position: absolute;
	display: none;
	top: 2.618em;
	right: 0;
	font-size: 0.8em;
	font-style: italic;
	cursor: pointer;
	transition: all 0.3s linear;
}

.formatter-hide-close-button-txt {
	padding: 0 0 0 0.228em;
}

.formatter-show .formatter-hide-close-button {
	display: block;
}

.formatter-hide-close-button:hover {
	transition: all 0.3s linear;
}

.formatter-code .formatter-title {
	margin: 1rem 0 0.5rem 0;
}

.formatter-code .formatter-content {
	overflow: auto;
	max-height: 500px;
}

.copy-code-content {
	border-style: dashed;
}

.formatter-blockquote .formatter-content{
	border-width: 0;
	padding: 1.618%;
	font-style: italic;
	position: relative;
}

.formatter-blockquote .formatter-content:before,
.formatter-blockquote .formatter-content:after {
	position: absolute;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1em;
}

.formatter-blockquote .formatter-content:before {
	content: '\f10d';
	top: -10px;
	left: -15px;
}

.formatter-blockquote .formatter-content:after {
	content: '\f10e';
	bottom: -10px;
	right: -15px;
}

.copy-code {
	float: right;
	padding: 1.2rem 0.5rem 0 0;
	font-size: 0.8em;
	font-style: italic;
	cursor: copy;
	transition: all 0.3s linear;
}

.copy-code-txt {
	padding: 0 0 0 0.228em;
}
