/* structure générale de la page */

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

a {
	text-decoration: inherit;
	color: inherit;
}

*[onclick], *[data-click] {
    cursor: pointer;
}

*[title] {
    cursor: help;
}

body {
    font-family: sans-serif, "arial";
    font-size: 12px;
    margin: 0; padding: 0;
    background-color: white;
    min-width: 300px;
}

#bandeau {
    margin: 0px, 0px, 0px, 0px;
    width: 100%;
    z-index: 50;
    height: 50px;
    background-color: #555555; 
    color: #FFFFFF;
    position: fixed;
    top: 0; left: 0;
}

#logo {
    position: absolute;
    background-color: #5599FF;
    top: -20px; left: 15px;
    width: 35px; height: 70px
}

#decor {
	display: block;
	position: absolute;
	left: 15px; top: 0;
	height: 120px;
	width: 35px;
	background-color: #5599FF;
	z-index: 100;
}


#titrelong, #titrecourt {
    display: block;
    padding-top: 5px; padding-bottom: 5px;
    font-size: 1.6em;
    width: 100%;
    height: 30px;
    font-weight: bold;
    padding-left: 70px;
    padding-right: 40px;
}

#titrecourt { display: none; }


#menucourt {
    display: block;
    padding-top: 2px; padding-bottom: 5px;
    font-size: 1em;
    width: 100%;
    height: 17px;
    font-weight: bold;
    padding-left: 70px;
    padding-right: 0;
}

#menucourt>a {
	margin-right: 5%;
	float: left;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    color: #FFFFFF
}

#menucourt>a:hover {
    color: #BBBBBB;	
}

#connect {
    position: fixed;
    top: 10px; right : 50px;
	display: block;
	padding: 0; margin: 0;
	height: 30px;
	color: #FFFFFF;
	text-align: right;
	z-index: 100;
	cursor: pointer;
}

#connect a { 
	font-style: italic; 
	cursor: pointer;
	text-decoration: none;
	color: #FFFFFF;
}

#connect a { font-weight: bold; }

#bouton {
	display: block;
	border-radius: none;
	background-color: none;
	color: #FFFFFF;
    position: fixed;
    top: -5px; right : 5px;
    cursor: pointer;
    z-index: 100;
    text-align:center;
    font-weight: 900;
    font-size: 3em;
    padding: 5px;
    padding-top: 0; padding-bottom: 0;
}

#bouton:hover  {
	color: #999999;
}

#fullmenu {   
    position: fixed;
    display: none;
    right: 0px;
    top: 0px;
    padding-top: 60px;
    padding-bottom: 35px;
    background-color: white;
    transition: width 0.5s;
    -webkit-transition: width 0.5s;
    overflow: hidden;
    z-index: 40;
    width: 250px;
	border-left: 1px solid #445566;
	border-bottom: 1px solid #445566;
	box-shadow: -1px 1px 3px #666666;
}


#fullmenu a, #fullmenu p {
	display: block;	
	color: #223344;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-right: 20px;
	v-left: 5px; 
	padding-left: 15px;
}

#fullmenu a {
	text-decoration: none;
	cursor: pointer;	
}

#fullmenu p {
	font-weight: bold;		
}
#fullmenu a:hover {
	font-weight: bold;	
}

#fullmenu .menu1 {
	background-color: #999999;
	margin-top: 12px;
	margin-bottom: 7px;
}




h1 {
	position: absolute;
	top: 75px; left: 70px;
    font-size: 3em;
    color: #555555;
}


h2 {
	display: block;
	width: 100%;
    font-size: 1.7 em;
    color: #555555;
    margin:0 ; padding: 0;
    margin-bottom: 15px;
    font-weight: normal;
    word-wrap: break-word;
    overflow-x: hidden;
}

h2 a {
	text-decoration: inherit;
	font-weight: bold;	
	color: inherit;
	cursor: pointer
}

h2 a:hover {
	text-decoration: underline;
	font-weight: bold;
	color: inherit;
}
 
#main {
	margin-top: 150px;
	padding-left: 15px;
	padding-right: 5px;
	width: 100%;
}

#main .finfloat {
	clear: both;
	float: none;
}

#main .content {
	margin-left: 210px;
	width : 100%
}

#main .actions {
	position: absolute;
	left: 15px;
	border:  1px solid #555555;
	margin-right: 20px;
	width: 190px;
	background-color: #FFFFFF;
}
#main .actions p {
	background-color: #555555;
	color: #FFFFFF;
	padding-left : 8px; padding-right: 8px;
	padding-top: 2px; padding-bottom: 2px;
	font-weight: bold;
	cursor: pointer;
}

#main .actions span {
	display: block;
	width: 100%; height: 1px;
	margin-top : 5px; margin-bottom: 7px;
	border-bottom: 1px solid #555555;
	background-color: #555555;
}



#main .actions div {
	padding-top: 7px; padding-bottom: 7px;
}

#main .actions a {
	display: block;
	color: #555555;
	padding-left : 8px; padding-right: 8px;
	padding-top: 3px; padding-bottom: 3px;
	cursor: pointer;
}
#main .actions a;hiver {
	color: #111111;
}


.messageserror {
	border:  3px solid #FF0000;	
	background-color: #FFBBBB;
	margin-bottom: 15px; 
	padding: 3px;	
	clear: both;
	width: 100%;
}
.messagesinfo {
	border:  1px solid #555555;	
	background-color: #BBDDFF;
	margin-bottom: 15px;
	padding: 3px;
	clear: both;	
	width: 100%;
}
#debug {
	border:  1px solid #777777;	
	background-color: #DDDDDD;
	padding: 3px;
	margin-bottom: 15px;	
	margin-top: 70px;
	clear: both;
}

table.edit, table.search, table.view {
	border-collapse: separate;
    border-spacing: 30px 0px;
	border: none;
	vertical-align: text-top;
	align: left;
	color: #555555;
}

table.edit a, table.search a, table.view a {
	text-decoration: inherit;
	cursor: pointer;
}

table.edit a:hover, table.search a:hover, table.view a:hover {
	text-decoration: underline;
}

table.edit td, table.search td, table.view td {
	padding-bottom: 18px;
	vertical-align: top;
}


table td.value {
	font-weight: bold;
	color: #111111;
}

form input[type="submit"] {
	margin-left: 30px;
	margin-top: 5px;
	padding: 3px;
	font-weight: bold;
}

form input[type="text"] {
	width: 450px;
}
form textarea {
	width: 450px;
	height: 7em;
}

form input[type="text"].court {
	width: 12em;
}
form input[type="password"] {
	width: 12em;
}

form input[type="text"][data-ui="datepicker"] { width: 6em; }
form input[type="text"][data-ui="datetimepicker"] { width: 10em; }


/* listes */
.list {
    margin-bottom: 20px;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}

.list th {
    padding-bottom: 4px;
    padding-top: 4px;
    padding-left: 6px;
    padding-right: 6px;
    font-weight: bold;
    color: #FFFFFF;
    overflow: hidden; 
    white-space: normal;
    background-color: #555555;
    border-right: 1px solid white;
    align: center;
    vertical-align: middle;
}

.list td {
	padding-bottom: 2px;
    padding-top: 2px;
    padding-left: 6px;
    padding-right: 6px;
    font-weight: normal;
    color: #000000;
    overflow: hidden; 
    white-space: normal;
    border-right: 1px solid white;
    vertical-align: top;
}

.list a:hover {
    font-weight: normal;
    font-style: normal;
    text-decoration: underline;
    color: #555555;
}

.list a {
    cursor: pointer;
}

.list tr:nth-child(2n+0) { background-color: #EEEEEE; }
.list tr:nth-child(2n+1) { background-color: #DDEEFF; }

/* lstarb : liste arborecente */

ul.lstarb li {
	display: block;
	list-style-type: none;
}
ul.lstarb ul {
	display: block;
	margin-left: 7px;
	padding-left: 12px;
	border-left: 1px solid #DDDDDD;
}
ul.lstarb input {
	position: relative;
	top: 2px;
	margin-right: 4px;
}

div.lstarb a {
	display: block;
	text-decoration: none;
	cursor: pointer;
	padding: 0; margin: 0;
}
div.lstarb a:hover {
	text-decoration: underline;
}
div.lstarb a.level0 {
	font-size: 1.5em;
	color: #555555;
	font-weight: bold;
	padding-top: 4px;
}
div.lstarb a.level1 {
	font-size: 1.3em;
	color: #555555;
	font-weight: bold;
	padding-top: 2px;
}
div.lstarb a.level2 {
	font-size: 1.1em;
	color: #444444;
	font-weight: bold;
	padding-top: 1px;
}
div.lstarb a.level3 {
	font-size: 1.1em;
	color: #444444;
	font-weight: normal;
	padding-top: 1px;
}
div.lstarb a.level4 {
	font-size: 1em;
	color: #555555;
	font-weight: normal;
	padding-top: 1px;
}
div.lstarb a.level5 {
	font-size: 1em;
	color: #666666;
	font-weight: normal;
}
div.lstarb div.lstarb {
	margin-bottom: 3px;
	margin-left: 4px;
	padding-left: 8px;
	border-left: 1px solid #BBBBBB;
}


/* Liste de anomalies */

table.anomalies {
    table-layout: fixed;
	border: 1px solid #FFFFFF;
	text-align: center;
	vertical-align: center;
	border-spacing: 5px 12px;
}


table.anomalies td {
	padding: 5px;
	background-color: #CCCCCC;
}
table.anomalies td:first-child {
	padding: 5px;
	background-color: #E0E0E0;
	text-align: left;
	padding-top: 2px;
	padding-left: 8px;
	padding-right: 12px;
}



table.anomalies .nom {
	font-size: 1.7em;
	color: #5599FF;
	font-weight: bold;
}

table.anomalies .libelle {
	font-size: 1.1em;
	color: #555555;
}

table.anomalies .time {
	font-size: 1em;
	color: #222222;
	margin-top: 5px;
}

table.anomalies .statut {
	font-size: 1.2em;
	color: #222222;
	margin-top: 5px;
}

table.anomalies .error {
	color: #FF3333;
	font-weight: bold;
}






/* responsive */

@media all and (max-width: 900px) {
	#titrecourt { display: block; }
	#titrelong { display: none; }
	h1 { font-size: 2em; }
	#decor { height: 110px;	}
}

@media all and (max-width: 700px) {
	h1 {
		position: absolute;
		top: 60px; 
    	font-size: 1.6em;   	
	}	
	h2 { font-size: 1.5em; }
	#decor {
		height: 90px;
	}
	
	#menucourt { display: none; }
	
	#connect {
	    top: 30px; left : 70px;
		height: 17px;
		color: #FFFFFF;
		text-align: left;
		width:300px;
	}
	
	#bouton {
	    position: fixed;
	    top: 0px; right : 5px;
	    font-size: 2.2em;
	    padding-top: 3px; padding-bottom: 3px;
	}
	
	#main { margin-top : 90px;
	width: 100%}
	
	#main .content {
	margin-left: 0px;
}
	
	#main .actions {
	margin-right: 0px;
	position: absolute;
	right: 5px; left: auto; top: 80px;
	width: auto;
	}

	
	#main .actions div {
		display: none;
	}
	
	#main .actions p {
		text-align: right;
	}
	
	table.edit, table.search, table.view {
    border-spacing: 12px 0px;
	}
	
	form input[type="submit"] {	margin-left: 12px; }
	}
	
	form input[type="text"] { width: 350px;	}
	form textarea { width: 350px; }

}

