/* Feuille de style: css/d.index.css */
* {
	border: 0;
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	font-family: "Fira Sans", "Open Sans",Helvetica,Arial,sans-serif;
	color: #333;
	background: #ddd;
	padding-top: 65px;
	height: calc(100% - 65px)
}

a {
	text-decoration: none;
	color: blue;
}
a:hover {
	color: #212121;
	text-decoration: none;
}

input, textarea {
	font-family: "Fira Sans", "Open Sans",Helvetica,Arial,sans-serif;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

textarea {
	resize:vertical;
}

small {
	font-weight: 500;
}

pre {
	overflow: auto;
}

.button {
	padding: 5px 10px;
	margin: 5px 10px;
	border: 1px solid blue;
	border-radius: 5px;
	background: #ddddff;
}

.button:hover {
	background: #eeeeff;
}

.pagebuttons {
	text-align: center;
}

.pagebuttons a {
	background: #efefef;
	border: 1px solid #ccc;
	padding: 5px;
	font-size: 1.5em;
}

.pagebuttons .previous {
	margin-right: -1px;
}

form.form input[type=submit] {
	width: auto;
	margin: auto;
	border-bottom: 2px solid blue;
}

/* FONTS */

@font-face {
	font-family: 'Fira Sans';
	font-weight: 700;
	src: url('../fonts/FiraSans-Bold.eot');
	src: local('Fira-Sans-Bold'), local('Fira Sans Bold'), url('../fonts/FiraSans-Bold.otf') format('otf'), url('../fonts/FiraSans-Bold.ttf') format('truetype');
}

@font-face {
	font-family: 'Fira Sans';
	font-weight: 600;
	src: url('../fonts/FiraSans-Medium.eot');
	src: local('Fira-Sans-Medium'), local('Fira Sans Medium'), url('../fonts/FiraSans-Medium.otf') format('otf'), url('../fonts/FiraSans-Medium.ttf') format('truetype');
}

@font-face {
	font-family: 'Fira Sans';
	font-weight: 500;
	src: url('../fonts/FiraSans-Regular.eot');
	src: local('Fira-Sans'), local('Fira Sans'), url('../fonts/FiraSans-Regular.otf') format('otf'), url('../fonts/FiraSans-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Fira Sans';
	font-weight: 400;
	src: url('../fonts/FiraSans-Light.eot');
	src: local('Fira-Sans-Light'), local('Fira Sans Light'), url('../fonts/FiraSans-Light.otf') format('otf'), url('../fonts/FiraSans-Light.ttf') format('truetype');
}

@font-face {
	font-family: 'Fira Sans';
	font-weight: 300;
	src: url('../fonts/FiraSans-ExtraLight.eot');
	src: local('Fira-Sans-ExtraLight'), local('Fira Sans ExtraLight'), url('../fonts/FiraSans-ExtraLight.otf') format('otf'), url('../fonts/FiraSans-ExtraLight.ttf') format('truetype');
}

/*********************************/

header {
	position: fixed;
	top: 0;
	width: 100%;
	background: black;
	height: 65px;
	color: white;
	box-shadow: 0 0 3px black;
	z-index: 1000;
}

#menu {
	float: right;
	position: relative;
}

header li {
	display: inline-block;
	height: 65px;
	vertical-align: middle;
}

header li a, .hamburger {
	color: white;
	padding: 25px 15px 15px;
	height: 20px;
	display: block;
	vertical-align: middle;
}
header li a:hover, header li a:focus-within {
	color: white;
}
header li.with-subtitle a {
	padding: 15px 15px 25px;
}

header li .subtitle {
	font-size: 80%;
	font-style: italic;
	white-space: nowrap;
	padding-left: 5px;
}

header li:hover a, header li:focus-within a {
	border-bottom: 6px solid blue;
	background: #212121;
}

header .icon {
	border: 1px solid white;
	border-radius: 3px;
	margin: -5px 0;
	padding: 4px 0;
	line-height: 20px;
	text-align: center;
	width: 28px;
}

header .icon.avatar {
	margin: -4px 0;
	padding: 0;
	height: 28px;
}

header li.has-sub:hover a, header li.has-sub:focus-within a {
	border-bottom: 6px solid #212121;
}
header li.has-sub:hover > a {
	cursor: default;
}
header li.has-sub:hover > ul, header li.has-sub:focus-within > ul {
	display: block;
}

header li.has-sub ul {
	display: none;
	position: absolute;
	right: 0px;
	margin-top: -1px;
	background: #212121;
}

header li.with-subtitle ul {
	right: unset;
	position: relative;
	min-width: 100%;
}

header li.has-sub ul li {
	display: block;
	height: 46px;
	border-left: 6px solid #212121;
}

header #connectform {
	height: 127px;
}

header li.has-sub ul li a {
	float: none;
	padding: 15px 25px 15px 10px;
	height: 10px;
	border-bottom: none;
}

header li.has-sub ul li:hover, header li.has-sub ul li:focus-within {
	border-left: 6px solid blue;
	border-bottom: none;
}

header form {
	display: block;
	width: 200px;
	padding: 15px 15px 0 15px;
}

header input {
	margin: 0 0 10px -5px;
	padding: 5px;
	background: #333;
	border-bottom: 1px solid #555;
	display: block;
	width: 100%;
	color: #bbb;
}

header input[type=submit] {
	position: relative;
	margin-left: 0;
}

header input[type=submit] {
	background: #555;
	border-bottom: 1px solid #777;
}

header input:hover, header input:focus-within {
	background: #DDD;
	color: #222;
}

.hamburger {
	display: none;
	float: right;
}
#togglemenu {
	display: none;
}

@media (max-width: 800px) {
	#menu {
		display: none;
		background: black;
		float: inherit;
		position: static;
	}
	.hamburger {
		display: block;
	}
	#togglemenu:checked ~ #menu {
		display: block;
	}
	header li {
		width: 100%;
		height: inherit;
	}
	header li.menu-icon {
		width: unset;
	}
	header li.menu-icon a {
		padding: 20px 15px;
	}
	header li .subtitle {
		padding-left: 0px;
	}
	header li.has-sub ul {
		width: 100%;
	}
	header li.has-sub:hover ul, header li.has-sub:focus-within ul, header li.has-sub:hover ul li, header li.has-sub:focus-within ul li, header li.has-sub:hover ul a, header li.has-sub:focus-within ul a {
		background-color: #212121;
		border: 0;
	}
	header li.has-sub:hover a, header li.has-sub:focus-within a {
		border-left: 6px solid blue;
		border-bottom: 0;
	}
	header form {
		width: unset;
	}
}

#Hcontent {
	max-width: 850px;
	margin: 0 auto;
}

#logo {
	float: left;
	padding: 8px 15px;
	margin: 2px 0;
	opacity: 0.85;
}

#logo:hover {
	opacity: 1;
}

#logo img {
	height: 44px;
}

/*********************************/

section {
	position: relative;
	background: white;
	margin: auto;
	max-width: 820px;
	min-height: calc(100% - 94px);
	z-index: 10;
	padding: 15px;
	text-align: justify;
}
section#index {
	min-height: calc(100% - 95px - 320px);
}

section h1 {
	font-weight: 300;
	font-size: 43px;
	margin-top: 20px;
	border-bottom: 1px solid #bbb;
}
section#index h1{
	font-size: 40px;
}

section .subtitle {
	font-variant: small-caps;
	font-weight: 500;
	background: #ddd;
	margin: 0 20px 5px 0;
	display: inline-block;
	padding: 3px 5px;
	float: right;
}

section p {
	margin: 20px 0;
}

@media (max-width: 800px) {
	section h1 {
		font-size: 1.8rem;
		text-align: left;
	}
	section#index h1 {
		font-size: 1.7rem;
	}
}

/***************************************/

footer {
	background: #212121;
	max-width: 820px;
	padding: 15px;
	margin: 15px auto 0 auto;
	color: #c1c1c1;
}

footer #footernav {
	padding: 0;
	margin: 0;
	margin-left: auto;
}

footer a {
	color: white;
	padding: 0 8px;
}
footer a:hover {
	color: white;
}

footer .flex {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/*********************************/
/** Index page                  **/ 
/*********************************/

#indexFullW {
	position: relative;
	background: url('../img/aside.jpg') left center no-repeat #070707;
	width: 100%;
	height: 320px;
	z-index: 100;
	box-shadow: inset 0 -1px 0 #444, 0 1px 5px black;
}

#AScontent {
	height: 320px;
	max-width: 850px;
	margin: auto;
	position: relative;
}

#imglegend {
	text-align: right;
	background: rgba(0,0,0,0.5);
	color: white;
	font-size: 14px;
	font-variant: small-caps;
	line-height: 20px;
	position: absolute;
	width: 100%;
	bottom: 0px;
}
#imglegend p {
	padding: 5px;
	height: 20px;
}

/*********************************/
/** Community portal page       **/ 
/*********************************/

.action {
	clear: both;
	margin: 50px auto 0 auto;
	width: 90%;
	background: #efefef;
}
.action p {
	margin: 0;
}

.action .title {
	background: #ccc;
	cursor: pointer;
	font-weight: 500;
	font-size: 1.1em;
	line-height: 56px;
}
.action .title a, .action .title p {
	padding: 0 10px 0 71px;
	margin: 0;
	color: inherit;
	display: block;
}
.action .title i {
	float: left;
	width: 56px;
	line-height: 56px;
	text-align: center;
	font-size: 30px;
	background: #333;
	color: #ccc;
}

.action .description {
	display: none;
	border: solid #ccc;
	border-width: 0px 1px 3px 1px;
}
.action .description p {
	padding: 10px 20px;
}
