body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 0;
	color: #333;
	background-color: #ffffff;
	cursor: default;
}

#global {
	position: relative;
	width: 100%;
	padding-bottom: 30px;
	
	margin-top: 55px; /* Menu fixe */
/*	min-height: calc(100vh - 90px); /* Menu fixe */
}

a {
	color: #444;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

input, select {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}


.hidden {
	display: none;
}


/* MENU HAUT */

#menu {
	height: 35px;
	width: 100%;
	background-image: linear-gradient(#888, #555);
	margin-bottom: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	
	position: fixed; /* Menu fixe */
	top: 0; /* Menu fixe */
	z-index: 100; /* Menu fixe */
}

#menu .menu {
	position: relative;
	float: left;
	cursor: default;
	padding: 5px 0 5px 0;
	z-index: 100;
}

#menu .menuLabel {
	color: #fff;
	border-left: solid 1px #ccc;
	padding: 5px 20px 5px 20px;
}

#menu .subMenu {
	display: none;
	position: absolute;
	background-color: #fff;
	padding-top: 5px;
	margin-top: 5px;
	border: solid 1px #999;
	border-top: none;
	padding-bottom: 5px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

#menu .menu:hover {
	background-color: #555;
}

#menu .menu:hover .subMenu {
	display: block;
}

#menu .subMenu .div1 {
	width: calc(100% - 10px);
	padding-left: 10px;
	text-decoration: none;
}

#menu .subMenu .div2 {
	width: calc(100% - 10px);
	border-top: solid 1px #eee;
}

#menu .subMenu .div1:first-child .div2 {
	border-top: none;
}

#menu .subMenu .div1:hover {
	background-image: linear-gradient(#eee, #ccc);
}

#menu .subMenu .div1:active {
	background-image: linear-gradient(#ccc, #eee);
}


#menu .subMenu .div11 {
	width: calc(100% - 10px);
	padding-left: 10px;
	text-decoration: none;
}

#menu .subMenu .div12 {
	position: relative;
	width: calc(100% - 10px);
	border-top: solid 1px #eee;
}

#menu .subMenu .div11:hover {
	background-image: linear-gradient(#eee, #ccc);
}

#menu .subMenu .div11:active {
	background-image: linear-gradient(#ccc, #eee);
}

#menu .subMenu i {
	position: absolute;
	right: 0;
	top: 8px;
	border: solid #888;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

#menu .subMenu .opened .div21 {
	display: block;
}

#menu .subMenu .opened i {
	top: 6px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}


#menu .subMenu .div21 {
	width: calc(100% - 30px);
	padding-left: 30px;
	text-decoration: none;
	display: none;
}

#menu .subMenu .div22 {
	width: calc(100% - 10px);
	border-top: solid 1px #eee;
}

#menu .subMenu .div21:hover {
	background-image: linear-gradient(#eee, #ccc);
}

#menu .subMenu .div21:active {
	background-image: linear-gradient(#ccc, #eee);
}


#menu .subMenu a {
	white-space: nowrap;
	padding: 6px 30px 6px 20px;
	line-height: 25px;
	text-decoration: none;
}

#menu .menuRight {
	position: fixed;
	right: 0;
}

#menu .menu-user {
	color: white;
	top: 10px;
	float: right;
	margin: 10px 20px 0 0;
}

#menu .menu-version {
	color: white;
	top: 10px;
	float: right;
	margin: 10px 50px 0 0;
}

#menu .menu-news {
	background-color: #fff;
	top: 10px;
	float: right;
	margin: 5px 50px 0 0;
	padding: 5px;
	display: none;
}

#menu .menu-news a {
	font-weight: bold;
	color: red;
}


#footer {
	width: 100%;
	margin-top: 0px;
	text-align: center;
	position: absolute;
	bottom: 10px;
	font-size: 15px;
	z-index: -1;
}


h1 {
	font-size: 40px;
	font-weight: normal;
}

h2 {
	font-size: 20px;
	font-weight: normal;
}

h3 {
	font-size: 13px;
	font-weight: bold;
}

.input-large {
	padding: 5px;
	margin: 8px 0;
	font-size: 15px;
	width: 350px;
	border: solid 1px #888;
	border-radius: 4px;
}


.button-large, .button-medium {
	border: solid 1px #888;
	background-image: linear-gradient(#888, #555);
	background-color: #555;
	color: #fff;
	cursor: pointer;
}

.button-large {
	padding: 6px 20px;
	margin: 8px 0;
	font-size: 15px;
	border-radius: 4px;
}

.button-medium {
	padding: 4px 14px;
	margin: 6px 0;
	font-size: 12px;
	border-radius: 3px;
}

.button-large:hover, .button-medium:hover {
	background-image: none;
	text-decoration: none;
}

.button-large:active, .button-medium:active {
	background-image: linear-gradient(#555, #888);
}

.button-large:focus, .button-medium:focus {
	outline: none;
}

.button-large:disabled, .button-medium:disabled {
	background-image: linear-gradient(#888, #555);
	cursor: default;
	opacity: 0.5;
}


#main {
	padding-left: 10px;
	width: calc(100% - 20px);
}


.box {
	border: solid 1px #999;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	border-radius: 4px;
	padding: 5px 10px;
	background-color: #fafafa;
	margin-bottom: 10px;
}

.box-full-width {
	width: calc(100% - 20px);
}



/************* LISTING *************/

.table-list {
	cursor: default;
}

.table-list th, .table-list td {
	text-align: left;
	padding: 3px 10px;
	overflow: hidden;
}

.table-list tr:nth-child(even) {
	background-color: #e5e5e5;
}

.table-list tr:hover td {
	background-color: #ccc;
}

.table-list .edit {
	cursor: pointer;
	visibility: hidden;
}

.table-list .edit:hover {
	text-decoration: underline;
}

.table-list tr:hover .edit {
	visibility: visible;
}

.table-list .delete {
	cursor: pointer;
	visibility: hidden;
}

.table-list .delete:hover {
	text-decoration: underline;
}

.table-list tr:hover .delete {
	visibility: visible;
}

.table-list .actionSelect {
	cursor: pointer;
	visibility: hidden;
}

.table-list tr:hover .actionSelect,
.table-list tr:focus-within .actionSelect {
	visibility: visible;
}

.table-list .actionHide {
	display: none;
}

.table-list .actionShow {
	visibility: hidden;
}

.table-list .actionShow:not(:first-child) {
	margin-left: 20px;
}

.table-list tr:hover .actionShow {
	visibility: visible;
}


.table-list .total {
	font-weight: bold;
}


.table-list .progress {
	position: relative;
	top: 0px;
	height: 11px;
	width: 100px;
	border: solid 1px #888;
}

.table-list .progress div:first-child {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background-color: #8af;
}

.table-list .progress div:last-child {
	position: absolute;
	top: -1px;
	left: 0;
	height: 100%;
	width: 100%;
	text-align: center;
}

.table-list .color {
	width: 100%;
	height: 12px;
	border: solid 1px black; 
}

.table-list td, .table-list th {
	white-space: nowrap;
}

.nowrap tr {
	white-space: nowrap;
}


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

.text-align-right {
	text-align: right;
}

.text-align-center {
	text-align: center;
}


/************* LISTING - STATUT *************/

.status {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 10px;
}

.status div:nth-child(1) {
	width: calc(100% - 10px);
	height: 0px;
	border: solid 1px #aaa;
	position: absolute;
	top: 5px;
	margin: 0 5px;
}

.status div:nth-child(2) {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 6px;
	border: solid 2px #333;
}

.status_1 div:nth-child(2) {
	left: 0;
	background: #0c0;
}

.status_0 div:nth-child(2) {
	right: -3px;
	background: #f00;
}

.status_action {
	cursor: pointer;
}

.textarea {
	max-width: 300px;
	display: block;
}

.star {
	font-size: 18px;
}

/************* LISTING - FITRES *************/

.filters {
	position: relative;
	cursor: default;
	line-height: 20px;
}

.filters_closed {
	
}

.filters_opened {
	
}

.filters .filtersTable {
	width: 100%;
}

/************* LISTING - EDITION *************/

.listingEdit {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: none;
}


.listingEditLoading {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -32px;
	margin-top: -32px;
}


.listingEditBloc {
	position: absolute;
	left: 50%;
	top: 50%;
	min-width: 100px;
	min-height: 100px;
	
	cursor: default;
	border: solid 1px #999;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	border-radius: 4px;
	padding: 20px;
	margin-bottom: 20px;
	background-color: #fafafa;
}

.listingEditBloc td {
	padding: 5px 5px;
}

.listingEditBloc tr:hover {
	background-color: #ddd;
}

.listingEdit table input {
	width: 300px;
}

.listingEdit table td:nth-child(2) {
	font-weight: bold;
	font-size: 20px;
	color: red;
}

.listingEdit .right {
	text-align: right;
}

.listingEdit .required {
	width: 100%;
	margin-top: 15px;
	text-align: center;
	font-weight: bold;
	color: red;
}

.listingEdit .commands {
	width: 100%;
	margin-top: 20px;
	text-align: center;
}

.listingEdit .commands button {
	margin: 0 20px;
}


#listingEditTitle {
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 10px;
}


/************* MESSAGE STACK *************/

.message_stack_list {
	
}

.message_stack {
	padding: 10px;
	border-radius: 5px;
	border: solid 1px #aaa;
	font-weight: bold;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.message_stack_list span {
	font-weight: normal;
	cursor: pointer;
}

.message_stack_list span:hover {
	text-decoration: underline;
}

.message_stack_list .error	{ background-image: linear-gradient(#f88, #f55); }
.message_stack_list .warning	{ background-image: linear-gradient(#ffc, #ff0); }
.message_stack_list .success	{ background-image: linear-gradient(#8d8, #5d5); }



/************* NEED LOGIN *************/

#need_login {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

#need_login .background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.5;
}

#need_login .message {
	position: fixed;
	width: 100%;
	top: 45%;
	text-align: center;
	font-weight: bold;
	font-size: 30px;
}

#need_login .message a {
	color: white;
}

/************* MAINTENANCE *************/

#maintenance {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

#maintenance .background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.5;
}

#maintenance .message {
	position: fixed;
	width: 100%;
	top: 45%;
	text-align: center;
	font-weight: bold;
	font-size: 30px;
	color: white;
}



.load_error {
	font-weight: bold;
	color: red;
	font-size: 20px;
}


.shadow-box {
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}


@media print {
	#menu {
		display: none;
	}
	#footer {
		display: none;
	}
	
	#global {
		margin-top: 0px;
	}
}


.lds-dual-ring {
	display: inline-block;
	width: 64px;
	height: 64px;
}
.lds-dual-ring:after {
	content: " ";
	display: block;
	width: 46px;
	height: 46px;
	margin: 1px;
	border-radius: 50%;
	border: 5px solid #fff;
	border-color: #fff transparent #fff transparent;
	animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}



.results_table table {
	border: solid 1px black;
	border-right: none;
}

.results_table table th, .results_table table td {
	padding: 2px 5px;
	border-right: solid 1px black;
	white-space: nowrap;
}

.results_table table th {
	position: relative;
	cursor: pointer;
	padding-left: 20px;
}

.results_table table tbody tr:nth-child(even) {
	background-color: #ccf;
}

.results_table table thead tr {
	background-color: #aaf;
}

.results_table table tbody tr:hover {
	background-color: #cfc;
}

.results_table table tfoot {
	font-weight: bold;
}

.results_table table td.alR {
	text-align: right;
}

.results_table table td.alC {
	text-align: center;
}

.results_table table th:before,
.results_table table th:after {
	border: 6px solid transparent;
	content: "";
	display: block;
	height: 0;
	left: 5px;
	top: 50%;
	position: absolute;
	width: 0;
}
.results_table table th:before {
	border-bottom-color: #888;
	margin-top: -13px;
}
.results_table table th:after {
	border-top-color: #888;
	margin-top: 1px;
}

.results_table table th.sortDesc:before  {
	border-bottom-color: #000;
}

.results_table table th.sortAsc:after  {
	border-top-color: #000;
}

.results_table .click:hover {
	cursor: pointer;
	text-decoration: underline;
}



/*
.mobile #global > #menu {
	display: none;
}*/
/*
.mobile, .mobile select, .mobile button, .mobile input {
	font-size: 40px;
}

.mobile h2 {
	font-size: 60px;
}

.mobile img {
	transform:scale(4.0);
}*/

