* {
	margin: 0;
	padding: 0;
}

html {
	background: none repeat scroll 0 0 #D5D8DB;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 75%;
	min-height: 100%;
}

ol, ul {
	list-style: none outside none;
}


a {
	text-decoration: none;
}

button {
	background: #0C5FA5;
	border-color: #50A3C8 #297CB4 #083F6F;
	border-radius: 0.333em 0.333em 0.333em 0.333em;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	color: white;
	cursor: pointer;
	display: inline-block;
	font-size: 1.167em;
	font-weight: bold;
	line-height: 1.429em;
	padding: 0.286em 1em 0.357em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.FloatLeft {
	float: left;
}

.Container {
	margin-left: 1%;
	margin-right: 1%;
	width: 98%;
}

.Clear {
	clear: both;
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	width: 0;
}


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


nav {
	background: #F0FFFF;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) inset;
	height: 69px;
	padding-top: 1.25em;
}

nav > ul {
	padding-top: 4px;
	position: relative;
	z-index: 100;
}

nav > ul > li {
	/* TO DELETE */
	/*border: 1px solid black;*/
	
	background-position: center;
	background-repeat: no-repeat;
	float: left;
	height: 69px;
	opacity: 0.3;
	width: 64px;
}

nav > ul > li > a, nav > ul > li > span {
	background-position: 8px 14px;
	background-repeat: no-repeat;
	display: block;
	height: 69px;
	overflow: hidden;
	text-indent: 200px;
	white-space: nowrap;
}

nav > ul > li.Current {
	background-color: #000;
	border-radius: 0.417em;
	opacity: 1;
	/*padding: 0 8px 13px;*/
}

nav > ul > li.Current > ul {
	display: block;
}

nav > ul > li > ul {
	background: none repeat scroll 0 0 transparent;
	display: none;
	left: 0;
	padding-top: 0.333em;
	position: absolute;
	top: 70px;
}

nav > ul > li > ul > li {
	background: #465A6E;
	border-radius: 0.417em 0.417em 0.417em 0.417em;
	box-shadow: 0 0 7px #000000;
	color: white;
	display: block;
	float: left;
	font-size: 0.833em;
	height: 2.2em;
	line-height: 2.2em;
	margin-right: 0.5em;
	padding: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	width: auto;
}

nav > ul > li > ul > li > a {
	background: #858D95 !important;
	border-radius: 0.3em 0.3em 0.3em 0.3em;
	color: white;
	display: block;
	font-weight: normal;
	height: 2.2em;
	line-height: 2.2em;
	padding: 0 1em;
	text-decoration: none;
	text-indent: 0;
	width: auto;
}

nav > ul > li > ul > li.Current {
	background: #DADADA;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: none;
	color: #333333;
	height: 3.1em;
	line-height: 3.1em;
	padding: 0;
}

nav > ul > li > ul > li.Current > a {
	background: none repeat scroll 0 0 transparent !important;
	color: #333333;
	height: 2.8em;
	line-height: 2.8em;
}


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

nav > ul > li.Stats, nav > ul > li.Stats > a {
    background-image: url("/images/stats.png");
}

nav > ul > li.Visits, nav > ul > li.Visits > a {
    background-image: url("/images/visits.png");
}

nav > ul > li.Users, nav > ul > li.Users > a {
    background-image: url("/images/users.png");
}

nav > ul > li.Administration, nav > ul > li.Administration > a {
    background-image: url("/images/administration.png");
}


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


#SubNav {
	background: #25292C;
	border-top: 1px solid #FF6500;
	color: white;
	height: 2.667em;
	line-height: 2.667em;
	text-align: right;
}


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

#StatusBar {
	background: #DADADA;
	border-bottom: 1px solid #969696;
	color: #7B7B7B;
	height: 3.25em;
	line-height: 3.167em;
	text-align: right;
}

#Infos {
	float: right;
}

#Infos > li.Spaced {
	padding-right: 0.5em;
}

#Infos > li {
	float: left;
	margin-left: 0.5em;
	position: relative;
	z-index: 90;
}


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

#BreadCrumb {
	background: #0C5FA5;
	border-color: #0099CC #006699 #003366;
	border-radius: 0.417em 0.417em 0.417em 0.417em;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	float: left;
	height: 1.75em;
	line-height: 1.5em;
	margin: 0.667em 1em 0 0;
}

#BreadCrumb li {
	background: url("/images/separator.png") no-repeat right center;
	color: white;
	float: left;
	height: 1.75em;
	padding: 0.083em 1em 0 0;
}

#BreadCrumb li:last-child {
	background: none repeat scroll 0 0 transparent;
	padding-right: 0;
}

#BreadCrumb li a, #BreadCrumb li span {
	color: white;
	display: block;
	height: 1.667em;
	padding: 0 0.75em 0 0.667em;
	text-decoration: none;
}

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

#HeaderShadow {
	background: -moz-linear-gradient(center top , rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1) 30%, transparent) repeat scroll 0 0 transparent;
	height: 0.75em;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: 87;
}

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

#ControlBar {
	background: -moz-linear-gradient(center top , rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)) repeat scroll 0 0 transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35) inset;
	text-align: center;
}

#ControlBar ul {
	float: left;
	margin-left: 2em;
	padding-bottom: 2em;
	padding-top: 2em;
}

#ControlBar ul li {
	background-color: #FFBABA;
	color: #D8000C;
	padding: 3px 3px 3px 40px;
	text-align: left;
}

#ControlBar ul.Success li {
	background-color: #DFF2BF !important;
	color: #4F8A10 !important;
	
	background-color: #DFF2BF;
	color: #4F8A10;
}

#ControlBar:after, .ClearFix:after, article:after {
	clear: both;
	content: " ";
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
}

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

#ControlBar, article {
	display: block;
}

#ControlBar + article {
	margin-bottom: 2em;
	margin-top: 2em;
}

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

article > section > div {
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 0.8em 0.8em 0.8em 0.8em;
	box-shadow: 0 0 4px rgba(50, 50, 50, 0.5);
	padding: 0.833em;
}

article > section > div > div {
	background: none repeat scroll 0 0 white;
	border: 1px solid #999999;
	border-radius: 0.25em 0.25em 0.25em 0.25em;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
	padding: 1.667em;
	position: relative;
}


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

.Button {
	border: 1px solid white;
	border-radius: 0.417em 0.417em 0.417em 0.417em;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	font-weight: normal;
	line-height: 1.333em;
	outline: 0 none;
	padding: 0.167em 0.5em 0.25em;
	text-decoration: none;
	text-shadow: none;
}

.Button {
	display: inline-block;
}

.Red {
	background: #CA3535;
	color: white;
}

.Delay {
	background: #FFBABA !important;
	background: #FFBABA;
}

.ToChange {
	border-color: #CC0000 !important;
	border-color: #CC0000;
}




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


/********************** SPECIFIQUE A TRAIT-UNION **********************/

/*******************/
/* Menu contextuel */
/*******************/

#contextMenu {
	background: #CCC;
	border: 1px solid white;
	border-radius: 0 0.25em 0.25em 0.25em;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	display: none;
	left: 1px;
	margin: 0;
	padding: 0.25em 0;
	position: absolute;
	top: 100%;
	/*width: 15em;*/
	z-index: 999910;
}

#contextMenu li {
	background-position: 5px 3px;
	background-repeat: no-repeat;
	color: #999999;
	margin: 0;
	padding: 0.333em 0.833em 0.417em 35px;
	position: relative;
	text-shadow: 1px 1px 0 white;
	z-index: 999911;
}

#contextMenu li a {
	color: #1E343F;
	display: block;
	margin: -0.333em -0.833em -0.417em -9px;
	padding: 0.333em 0.833em 0.417em 9px;
	text-shadow: none;
}

#contextMenu li:hover {
	background: #C0C0C0;
}

#contextMenu li:hover a {
	background: #4D4D4D;
	color: white;
}

#contextMenu li.Titre {
	color: black;
	font-weight: bold;
	text-shadow: none;
}

#contextMenu li.Ajouter {
	background: url("/images/add.png") no-repeat 6px 3px;
}

#contextMenu li.Modifier {
	background: url("/images/edit.png") no-repeat 5px 3px;
}

#contextMenu li.Supprimer {
	background: url("/images/delete.png") no-repeat 5px 3px;
}

#contextMenu li.Separator {
    border-bottom: 1px solid white;
    border-top: 1px solid #ADADAD;
    font-size: 0;
    height: 0;
    line-height: 0;
    margin: 2px 0;
}

/************/
/* TreeView */
/************/

.TreeView > li {
	background: none repeat scroll 0 0 #F2F2F2;
	border-radius: 0.417em;
	color: #333333;
	margin-bottom: 0.8em;
	padding: 0.75em;
}

.TreeView > li > ul, .TreeView .Branch ul {
	margin: 0 0 0 0.5em;
}

.TreeView li.Closed ul {
    display: none;
}

.TreeView .Branch > span, .TreeView .Tree > span {
	cursor: pointer;
}

.TreeView li .PlusOrMinus {
    background: url("/images/toggle.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: inline-block;
    height: 2em;
    margin: -0.5em 2px -0.5em 0;
    width: 16px;
}

.TreeView li.Closed .PlusOrMinus {
	background-position: -32px 0;
}

.TreeView .Branch {
	margin: 0.5em 0 0 2em;
}

.TreeView .Supervisor ul li {
	margin: 0 0 0 4em;
}

/************************/
/* Sortable & Droppable */
/************************/

.ListView, #Brush {
	margin: 1em auto;
}

#Brush {
	position: absolute;
}

.ListView, .FieldList {
	clear: both;
	display: table;
}

.ListView li, .FieldList li, #Brush li {
	background: #F2F2F2;
	border-radius: 0.417em;
	color: #333;
	float: left;
	margin: 0 0.5em 0.8em 0;
	padding: 0.75em;
	width: auto;
}

.Hover {
	background: #D1E5EF !important;
	background: #D1E5EF;
}


/***********/
/* Onglets */
/***********/

#Onglets h2, .Onglets h2 {
	clear: both;
	margin: 0;
	padding: 10px 0;
}

#Onglets > ul,.Onglets > ul {
    clear: none;
    height: 2.167em;
    margin-bottom: 3px;
}

#Onglets > ul > li, .Onglets > ul > li {
	float: left;
	margin-right: 0.417em;
}

#Onglets > ul > li > a, #Onglets > ul > li > span, .Onglets > ul > li > a, .Onglets > ul > li > span {
    background: #EEE;
    border: 1px solid #B3B3B3;
	border-radius: 0.25em 0.25em 0 0;
    color: #808080;
    display: block;
    font-weight: bold;
    padding: 0.583em;
    text-decoration: none;
}

#Onglets > ul li > a, #Onglets > ul li > span, .Onglets > ul li > a, .Onglets > ul li > span {
    border-bottom: medium none;
    border-radius: 0.25em 0.25em 0 0;
    margin-right: 0.083em;
}

#Onglets > ul li.ui-tabs-selected > a, #Onglets > ul li.ui-tabs-selected > span, .Onglets > ul li.ui-tabs-selected > a, .Onglets > ul li.ui-tabs-selected > span {
    background: none repeat scroll 0 0 white;
    padding-bottom: 0.667em;
}

#Onglets > ul + .ui-tabs-panel, .Onglets > div, .Onglets > form {
    border-top-left-radius: 0 !important;
    border-top-left-radius: 0;
}

#Onglets > div, .Onglets > div, .Onglets > form {
    background-color: white;
    border: 1px solid #B3B3B3;
    border-radius: 0.25em 0.25em 0.25em 0.25em;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    padding: 1.667em;
}

.ui-helper-clearfix:before, .ui-helper-clearfix:after {
	content: "";
	display: table;
}

.ui-tabs-hide {
	display: none;
}

/************/
/* Tableaux */
/************/

table {
	border-collapse: collapse;
	width: 100%;
}

td, th {
	border: none;
	padding: 5px;
	vertical-align: top;
}


table#Users, table#Sites, table#Stations, table#Planning tbody, table#Holidays tbody, table.Schedule tbody, table.Listing tbody {
	border: 1px solid #999999;
}

table#Planning thead th {
	color: black !important;
	text-align: center !important;
	text-shadow: 0 0 0 transparent !important;
	color: black;
	text-align: center;
	text-shadow: 0 0 0 transparent;
}

table#Planning thead th:nth-of-type(1) {
	background: none;
	border: none;
}

table#Planning thead th, table#Users thead th, table#Sites thead th, table#Stations thead th, table#Holidays thead th, table.Schedule thead th, table.Listing thead th {
	background: #CCC;
	border-color: #999;
	border-style: solid;
	border-width: 1px;
	color: white;
	padding: 0.75em;
	text-align: left;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
	vertical-align: middle;
}

table#Planning tbody tr:nth-child(even):hover, table#Planning tbody tr:not(:nth-of-type(1)):hover, 
table#Users tbody tr:nth-child(even):hover, table#Users tbody tr:hover, table#Sites tbody tr:nth-child(even):hover, 
table#Sites tbody tr:hover, table#Stations tbody tr:nth-child(even):hover, table#Stations tbody tr:hover,
table#Holidays tbody tr:hover, table#Holidays tbody tr:nth-child(even):hover,
table.Listing tbody tr:hover, table.Listing tbody tr:nth-child(even):hover {
	background: #D1E5EF;
}

table#Planning tbody tr, table#Users tbody tr, table#Sites tbody tr, table#Stations tbody tr, table#Holidays tbody tr, table.Schedule tbody tr, table.Listing tbody tr {
	background: #F2F2F2;
}

table#Planning tbody tr:nth-of-type(1) {
	background: #CCC;
	text-align: center;
}

table#Planning tbody tr:nth-of-type(1) td {
	border: 1px solid #999;
}

table#Planning tbody tr:nth-child(even), table#Users tbody tr:nth-child(even), table#Sites tbody tr:nth-child(even), 
table#Stations tbody tr:nth-child(even), table#Holidays tbody tr:nth-child(even), table.Schedule tbody tr:nth-child(even), 
table.Listing tbody tr:nth-child(even) {
	background: #E6E6E6;
}

table#Planning tbody td, table#Users tbody td, table#Sites tbody td, table#Stations tbody td, table#Holidays tbody td, table.Schedule tbody td, 
table.Listing tbody td {
	border-left: 1px dotted #333333;
	font-size: 10px;
	padding: 0.75em;
}

table#Planning tbody td {
	border: 1px dotted #333;
}

table.Schedule thead th {
	color: black;
	text-align: center;
	text-shadow: none;
}

table.Schedule tbody td {
	text-align: center;
}

table.Schedule {
	margin: 10px 0;
}


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

#Ajout, #Edition, .Ajout, .Edition {
	z-index: 1000;
}

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

label {
	width: 100%;
}

fieldset {
	background-color: #E6E6E6;
    border: 1px solid #D9D9D9;
    border-radius: 0.25em 0.25em 0.25em 0.25em;
    margin-bottom: 1.667em;
    padding: 1em 1.667em 1.667em;
}

legend {
	background: #F8F8F8;
	border: 1px solid white;
	border-radius: 0.417em 0.417em 0.417em 0.417em;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	color: #666666;
	font-weight: normal;
	font-size: 14px;
	line-height: 2.333em;
	outline: 0 none;
	padding: 0.167em 0.5em 0.25em;
	text-decoration: none;
	text-shadow: none;
}

select {
    font-size: 1.083em;
    padding: 0.385em;
}

select, textarea {
    border: 1px solid #89BAD3;
    border-radius: 0.417em 0.417em 0.417em 0.417em;
    color: #333333;
    font-size: 1em;
    padding: 0.417em;
	width: 100%;
}

input[type="text"], input[type="password"] {
    background: -moz-linear-gradient(center top , #D4D4D4, #EBEBEB 3px, white 27px) repeat scroll 0 0%, none repeat scroll 0 0 white;
    border: 1px solid #89BAD3;
    border-radius: 0.417em 0.417em 0.417em 0.417em;
    color: #333333;
    font-size: 1em;
    line-height: 1em;
	padding: 0.5em;
    padding-bottom: 0.583em;
	width: 98%;
}

#Dater input {
	width: auto;
}

#Dater td:last-child {
	text-align: right;
}

h2 {
	font-weight: normal;
	text-align: center;
	margin: 1em 0;
}

.Scheduled, .NotScheduled {
	text-align: center;
	vertical-align: middle;
}

.NotScheduled {
	background-color: #BBB;
}

.Unavailable {
	background-color: #f00 !important;
	background-color: #f00;
	
	/*font-size: 8px;
	font-size: 8px !important;*/
}

.Holiday {
	background-color: #D00 !important;
	background-color: #D00;
}

#Time {
	font-size: 24px;
	padding-bottom: 10px;
}

#TimeCounter {
	font-size: 24px;
	padding-top: 10px;
}

#Blocks {
	margin-top: 10px;
}

.Times {
	display: none;
}

/*#Reasons {
	display: none;
}*/

#Loading .Font {
	opacity: 0.4;
	background: #000;
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 9999;
}

/*#Loading {
	background: #000;
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 9999;
}*/

#Loading .Text {
	background: #fff;
	border: 1px solid #000;
	font-size: 26px;
	left: 25%;
	padding: 15px;
	position: absolute;
	text-align: center;
	top: 50%;
	width: 50%;
	z-index: 10000;
}

.Maxable {
	/*max-height: 500px;
	overflow-y : scroll;*/
}

.Title {
	background-color: #0C5FA5 !important;
	background-color: #0C5FA5;
	
	color: #FFFFFF;
}

.Footer {
	background-color: #CA3535 !important;
	background-color: #CA3535;
	
	color: #FFFFFF;
}

#Annotations {
	font-size: 12px;
	min-height: 300px;
	resize: vertical;
	width: 960px;
}

#Annotations[disabled] {
	background-color: #ddd;
}
