html, body {
	height: 100%;
	min-width: 350px;
}

body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-family: 'Roboto', 'sans-serif';
	color: #454545;
}

h1, h2, h3, nav, ul, li, fieldset {
	margin: 0;
	padding: 0;
	list-style: none;
	border: none;
	display: block;
	clear: both;
}

section, header, address {
	display: block;
	width: 100%;
}

img {
	border: none;
	max-width: 100%;
	max-height: 100%;
}

* {
	box-sizing: border-box;
}

#success,
.success {
	color: #309e30;
}

#errors,
#errors2 {
	color: #F00;
}

.button {
	background-color: #FFF;
	border: solid 1px #B6B6B6;
	padding: 17px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	display: inline-block;
	color: inherit;
}

.button:hover {
	color: #FFF;
	border: solid 1px #006BB1;
	background-color: #006BB1;
	text-decoration: none;
}

input, button, select {
	font-size: 1em;
}

a {
	text-decoration: none;
	color: #006BB1;
}

a:hover {
	text-decoration: underline;
}

.clear {
	clear: both;
}

.pagination {
	text-align: center;
}

.pagination:first-of-type {
	margin-bottom: 0;
}

.pagination a,
.pagination span {
	display: inline-block;
	min-width: 30px;
	height: 30px;
	padding: 5px;
	text-decoration: none;
}

.pagination .active {
	font-weight: 500;
}

.pagination .inactive {
	visibility: hidden;
}

h1 {
	font-size: 0;
}

h2 small {
	font-size: 0.6em;
	vertical-align: bottom;
}

table.dataTable tbody tr:nth-of-type(2n) td {
	background-color: #EEE;
}

/*******************************************************************************************************/
/* HEADER */
/*******************************************************************************************************/

#header {
	background-color: #929395;
	color: #FFF;
	height: 30px;
	line-height: 30px;
}

#header aside {
	background: transparent url(../img/pictos/profil-b.png) 0 50% no-repeat;
    padding-left: 28px;
    font-size: 0.9em;
    float: right;
    white-space: nowrap;
    overflow: hidden;
	max-width: calc(100% - 76px);
}

#header a {
	background: transparent url(../img/pictos/logoff-n.png) 0 50% no-repeat;
	width: 16px;
	height: 100%;
	display: block;
	float: right;
	margin: 0 56px 0 73px;
}

#menu {
	display: none;
	background: url(../img/pictos/menu.png) no-repeat 0 0;
	height: 20px;
	line-height: 20px;
	padding-left: 25px;
	position: absolute;
	top: 5px;
	left: 235px
}

/*******************************************************************************************************/
/* LEFT MENU */
/*******************************************************************************************************/

#left_menu_overlay {
	display: none;
	z-index: 50000;
	background-color: rgba(21, 21, 21, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#left_menu {
	width: 225px;
	height: calc(100% - 30px);
	float: left;
	background-color: #F8F8F8;
	position: relative;
	left: 0;
	z-index: 99999;
	transition: left 0.2s;
}

#left_menu header {
	margin: 18px 7px 57px 0;
	padding: 0 10px 0 48px;
}

#left_menu h2 {
	text-align: center;
	font-size: 1.05em;
	line-height: 0.8em;
	clear: both;
}

#left_menu h3 {
	text-align: center;
	font-size: 1.95em;
	font-weight: 300;
	margin: 10px 0 19px 0;
	line-height: 0.8em;
}

#left_menu nav a {
	display: block;
	border-bottom: solid 1px #B0B0B0;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
	font-size: 0.9em;
	padding: 13px 0 13px 48px;
	line-height: 1.15em;
	transition: all 0.2s;
}

#left_menu nav li:first-of-type a {
	border-top: solid 1px #B0B0B0;
}

#left_menu nav a:hover {
	color: #FFF;
	border-bottom: solid 1px #006BB1;
	background-color: #006BB1;
	text-decoration: none;
}

#left_menu nav li:first-of-type a:hover {
	border-top: solid 1px #006BB1;
}

#left_menu footer {
	position: absolute;
	bottom: 0;
	left: 0;
}

#left_menu address {
	margin: 46px 0 46px 0;
	padding-left: 48px;
	font-style: normal;
	font-size: 0.9em;
}

#left_menu address b,
#left_menu address em {
	display: block;
	text-transform: uppercase;
	font-style: normal;
	font-weight: 500;
	font-size: 1.7em;
}

#left_menu address em {
	font-weight: 700;
	font-size: 1em;
}

/*******************************************************************************************************/
/* MAIN CONTENT */
/*******************************************************************************************************/

#main_content {
	width: 965px;
	width: calc(100% - 225px);
	padding: 32px 50px 0 50px;
	float: left;
	margin-bottom: 40px;
}

#password_security {
	text-align: left;
    margin: -15px 0 15px 0;
    font-size: 0.8em;
}

.password_meter {
	height: 5px !important;
    width: calc(100% - 70px) !important;
    margin-top: 6px !important;
    float: right;
}

.article header {
	position: relative;
	border-bottom: solid 1px #CBCBCA;
	margin-bottom: 16px;
}

.article h2 {
	font-weight: 300;
    text-transform: uppercase;
    font-size: 1.4em;
    line-height: 0.8em;
    border-bottom: solid 2px #006BB1;
    display: inline-block;
    padding: 15px 17px;
}

/*******************************************************************************************************/
/* User login */
/*******************************************************************************************************/

#header #user_login {
	float: left;
	display: block;
	width: auto;
	color: #FFF;
	text-decoration: none;
	background: url(../img/pictos/profil-b.png) no-repeat 0 50%;
	padding-left: calc(16px + 0.5em);
	transition: opacity 0.2s;
	opacity: 1;
	font-size: 0.9em;
}

#header #user_login:hover {
	color: #FFF;
}

#header #user_login.user_login_start {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: auto;
	z-index: 500001;
	color: #FFF;
	font-size: 1.5em;
	text-align: center;
	margin: 0;
	transition: all 1s;
	opacity: 1;
}

#header #user_login.user_login_start.user_login_end {
	transform-origin: top left;
	transform: scale(0.6, 0.6);
	top: 0.2em;
	left: 3em;
	opacity: 0.3;
}

#user_login_bg {
	background-color: #000;
	opacity: 0.7;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 500000;
}

@media screen and (max-width: 1023px) {
	#menu {
		display: block;
		height: 30px;
		line-height: 30px;
		top: 10px;
		background-position: 0 4px;
	}
	
	#main_content {
		width: 100%;
		padding: 50px 20px 0 20px;
	}
	
	#left_menu {
		position: absolute;
		left: -225px;
	}
	
	#left_menu.open {
		left: 0;
	}
	
	#left_menu.open #menu {
		background: url(../img/pictos/close.png) no-repeat 0 0;
		width: 32px;
		height: 32px;
		padding-left: 32px;
		overflow: hidden;
	}
	
	article:last-of-type {
		margin-bottom: 40px !important;
	}
	
	#header aside {
		float: left;
		margin-left: 20px;
	}
	
	#header a {
		margin: 0 20px 0 20px;
	}
	
	#header #user_login {
		display: block;
		width: auto;
		height: auto;
		float: none;
		position: absolute;
		top: calc(30px + 0.5em);
		right: 0;
	}
	
	.article h2 {
		line-height: 1.2em;
	}
}