@import url(../../../stylesheets/application.css);

body, #wrapper { background-color:#EEEEEE; }
#top-menu { margin: 4px 4px 0px 4px; background: #921a22; border: 1px solid #921a22;  }
#header { 
	margin: 0px 4px 0px 4px; 
	border: 1px solid #921a22; 
	background: #FDFDFD url(../images/logo_small.png) no-repeat 8px 8px; 
	padding-bottom: 40px;
	height: 80px;
}

#header h1 {
	/*position: absolute; bottom: 0; left: 0;*/
	color: #ffffff;
	/*text-shadow: 0 -2px rgba(0, 0, 0, 0.2);*/
	font-size: 26px;
	/*height: 59px; 
	margin-right: 10px;
	padding-bottom: 17px;*/
	position: absolute;
	bottom: 8px;
	left: 8px;
	color:#921a22;  

	/*text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;*/
}

#header a, #header label { color: #921a22; }

a, a:link, a:visited { color: #921a22; }

#main { background: #EEEEEE; margin: 0px 4px 0px 4px;}
#content, #main.nosidebar #content { 
	background: #FDFDFD; 
	border-left: 1px solid #921a22; 	
	border-right: 1px solid #921a22; 	
	border-bottom: 1px solid #921a22; 
}
#footer { background-color:#EEEEEE; border: 0px; }

/* Headers */
h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}

/* Menu */
/*#main-menu li a { background-color: #921a22; font-weight: bold;}
#main-menu li a:hover { background: #921a22; text-decoration: underline; }
#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#EEEEEE; }*/
#main-menu li a { background: none; font-weight: bold; color:#921a22; }
#main-menu li a:hover { background: none; text-decoration: underline; color:#921a22;  }
#main-menu li a.selected, #main-menu li a.selected:hover { background: #921a22; color:#FDFDFD; }

/* Tables */
table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
table.list thead th {
    border-width: 1px;
    border-style: solid;
    border-top-color: #d7d7d7;
    border-right-color: #d7d7d7;
    border-left-color: #d7d7d7;
    border-bottom-color: #999999;
}

/* Issues grid styles by priorities (provided by Wynn Netherland) */
table.list tr.issue a { color: #666; }

tr.odd.priority-highest, table.list tbody tr.odd.priority-highest:hover { color: #900; font-weight: bold; }
tr.odd.priority-highest { background: #ffc4c4; }
tr.even.priority-highest, table.list tbody tr.even.priority-highest:hover { color: #900; font-weight: bold; }
tr.even.priority-highest { background: #ffd4d4; }
tr.priority-highest a, tr.priority-5:hover a { color: #900; }
tr.odd.priority-highest td, tr.even.priority-highest td { border-color: #ffb4b4; }

tr.odd.priority-high2, table.list tbody tr.odd.priority-high4:hover { color: #900; }
tr.odd.priority-high2 { background: #ffc4c4; }
tr.even.priority-high2, table.list tbody tr.even.priority-high4:hover { color: #900; }
tr.even.priority-high2 { background: #ffd4d4; }
tr.priority-high2 a { color: #900; }
tr.odd.priority-high2 td, tr.even.priority-high4 td { border-color: #ffb4b4; }

tr.odd.priority-high3, table.list tbody tr.odd.priority-high3:hover { color: #900; }
tr.odd.priority-high3 { background: #fee; }
tr.even.priority-high3, table.list tbody tr.even.priority-high3:hover { color: #900; }
tr.even.priority-high3 { background: #fff2f2; }
tr.priority-high3 a { color: #900; }
tr.odd.priority-high3 td, tr.even.priority-high3 td { border-color: #fcc; }

tr.odd.priority-lowest, table.list tbody tr.odd.priority-lowest:hover { color: #559; }
tr.odd.priority-lowest { background: #eaf7ff; }
tr.even.priority-lowest, table.list tbody tr.even.priority-lowest:hover { color: #559; }
tr.even.priority-lowest { background: #f2faff; }
tr.priority-lowest a { color: #559; }
tr.odd.priority-lowest td, tr.even.priority-lowest td { border-color: #add7f3; }

/* Buttons */
input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; }
input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; }

/* Fields */
input[type="text"], input[type="password"], textarea, select { padding: 2px; border: 1px solid #d7d7d7; }
input[type="text"], input[type="password"] { padding: 3px; }
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus { border: 1px solid #888866; }
option { border-bottom: 1px dotted #d7d7d7; }

/***** Custom statuses *****/
/* nouveau */
.status-1 > td.status {color: #DD0000}
/* affecté */
.status-3 > td.status {background-color: #ff892a;color: #FFFFFF}
/* en cours */
.status-2 > td.status {background-color: #faeb00;}
/* résolu */
.status-3 > td.status {background-color: #1a8701;color: #FFFFFF}
/* commentaire */
.status-4 > td.status {background-color: #0039dd;color: #FFFFFF}
/* recetté/livré */
.status-6 > td.status {background-color: #0039dd;color: #FFFFFF}
/* en attente */
.status-8 > td.status {background-color: #DD0000;color: #FFFFFF}
/* a passer en prod */
.status-9 > td.status {background-color: #fa9b00;color: #FFFFFF}
/* demande de détails */
.status-10 > td.status {background-color: #0039dd;color: #FFFFFF}

/* Misc */
.box { background-color: #fcfcfc; }
