/* CSS Reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0;
	padding:0;
	border:0;
	font-weight:inherit;
	font-style:inherit;
	font-size: 11px;
	font-family:inherit;
	vertical-align:baseline;
}
h1 {
	margin-bottom: 15px;
}
body {
	line-height:1.5;
}
blockquote:before, blockquote:after, q:before, q:after {
	content:"";
}
blockquote, q {
	quotes:"" "";
}    
a {
	cursor: pointer;
}
a img {
	border:none;
}      
img {
	vertical-align: middle;
}
/* Base */
html {
	font-size:100.01%;
}
body {
	font-size:75%;
	color:#1a1a1a;
	background:#f4f4f4;
	font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
	color:#666;
}
h1 {
	font-size:24px;
	font-weight:bold;
	line-height:1;
	color:#90BBDD
}
h2 {
	color:#454545;
	font-size:18px;
	font-weight:bold;
	margin-bottom:10px;
}
h3 {
	color:#666666;
	font-size:14px;
	font-weight:bold;
	margin-bottom:15px;
}
h4 {
	font-size:13px;
	font-weight:bold;
	margin-bottom:15px;
}
h5 {
	font-size:12px;
	margin-bottom:15px;
}
h6 {
	font-size:11px;
	margin-bottom:15px;
}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
	margin:0;
}
p {
	margin:0 0 1.5em;
	clear:both;
	line-height:1.6;
}
a:focus, a:hover {
	color:#000;
}
a {
	text-decoration:underline;
} 

a.button { 
	text-decoration: none;
	color: #fff;
}

a.blue {
	text-decoration: none;
	color: #1F92FF;
}

span a.blue, div a.blue {
	text-decoration: none;
	color: #1F92FF;
}

blockquote {
	margin:1.5em;
	color:#666;
	font-style:italic;
}
strong {
	font-weight:bold;
}
em, dfn {
	font-style:italic;
}
dfn {
	font-weight:bold;
}
sup, sub {
	line-height:0;
}
abbr, acronym {
	border-bottom:1px dotted #666;
}
address {
	margin:0 0 1.5em;
	font-style:italic;
}
/* misc */
.cl {
	clear:both;
	display:block;
	height:0;
	overflow:hidden;
	visibility:hidden;
	width:0;
	line-height:0;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
.fn {
	float:none!important;
}
.tl {
	text-align:left;
}
.tr {
	text-align:right;
}
.tc {
	text-align:center;
}
.hd {
	display: none;
}    
.pointer {
	cursor: pointer;
}                  
.fc { clear: both}
.clear { clear: both}
.clear20 { clear: both; height: 20px;}
.clear40 { clear: both; height: 40px;}


.strong {
	font-weight:bold!important;
}
/* Main Elements */
#header {
	color:#fff;
}
#header a {
	color:#fff;
	text-decoration:underline;
}
#header a:hover {
	color:#fff;
	text-decoration:none;
}
.header-top {
	background-color:#2c2c2c;
	height: 45px;
	padding:0px;
}
.header-middle {
	background:#404040 url('../img/header-middle.gif') repeat-x bottom;
	border-top:1px solid #606060;
	padding:0 25px;
	height:62px;
}
#header #session {
	float: right;
	margin-top:12px;
	margin-right:10px;
}
#header #logo {
	float: left;
	color:#6e7d87;
	font-size:28px;
	font-weight:bold;
	margin-left:15px;
}
#header #logo a {
	color:#6e7d87;
	font-size:28px;
	font-weight:bold;
	text-decoration: none;
}
.footer p a {
	font-size: 11px;
}
.footer {
	background:#313131 url('../img/header-bottom.gif') repeat-x bottom;
	border-top:1px solid #545454;
	border-bottom:1px solid #000;
	padding:10px 25px;
	color:#fff;
}
.footer a {
	color:#fff;
	text-decoration:underline;
}
.footer a:hover {
	color:#fff;
	text-decoration:none;
}
#page-wrapper {
	border-top:1px solid #060606;
	border-bottom:1px solid #000000;
	background:#f4f4f4 url('../img/page-bg.gif') repeat-x top;
}
.page {
   
}
#page-content {
	padding:25px 35px 25px 25px;
	color:#333;
}
#page-header {
	border-bottom:1px solid #d5d5d5;
	padding-bottom: 10px;
	margin-bottom:25px;
	margin-left:1%;
	margin-right:1%;
}

/* Navigation */
#nav {
	font-size:16px;
	font-weight:bold;
	list-style-type:none;
	margin:0;
	padding:0;
	height:62px;
}
#nav li {
	display:block;
	float:right;
	padding:19px 14px;
	text-align: left;
	position:relative;
	height:24px;
	font-size:16px;
}
#nav li:hover, #nav li.current {
	background:#2d2d2d;
	border-right:1px solid #606060;
	border-left:1px solid #606060;
	border-top:0;
	border-bottom:0;
	padding:19px 13px;
}
#nav li a {
	color:#fff;
	padding:22px 10px 22px 10px;
	text-shadow: 0 -1px 1px #000000;
	font-size:16px;
	text-decoration:none;
}
#nav li a:hover {
	text-decoration:none;
}
#nav li:hover > a {
	background-position: 0 16px;
}
/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
}
#nav ul a:hover {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
}


#nav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-bottomleft: 3px;
	-webkit-border-bottom-right-radius: 3px;
	-moz-border-radius-bottomright: 3px;
}
/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
}
html[xmlns] #nav {
	display: block;
}
* html #nav {
	height: 1%;
}



/* Page Blocks */
.box {
	background:#fff;
	border:1px solid #9d9d9d;
	margin-bottom:15px;
	padding:15px;
	border-top:0;
	-moz-border-radius-bottomleft :3px;
	-moz-border-radius-bottomright :3px;
	-webkit-border-bottom-left-radius:3px;
	-webkit-border-bottom-right-radius:3px;
}
.box a {
	color:#1f92ff;
	text-decoration:none;
}
.box a:hover {
	color:#1f92ff;
	text-decoration:underline;
}
.box a.button, .box a.button:hover {
	color:#E9E9E9;
	text-decoration:none;
}



.box.stats {
	padding:30px 15px;
}
.box.table {
	padding:0;
}
.box-header {
	border:1px solid #9d9d9d;
	font-weight:bold;
	font-size:14px;
	background:#cdcdcd url('../img/boxheader.gif') repeat-x top;
	padding:10px 15px;
	color:#333333;
	-moz-border-radius-topleft :3px;
	-moz-border-radius-topright :3px;
	-webkit-border-top-left-radius:3px;
	-webkit-border-top-right-radius:3px;
	text-shadow: 1px 1px 1px #fff;
}
.box-header .fr a {
	color:#333333;
	text-decoration:none;
	font-size:12px;
	padding:0 5px;
}
.box-header .fr a:hover {
	color:#1f92ff;
}
.box h2 {
	color:#454545;
	font-size:18px;
	font-weight:bold;
	margin-bottom:10px;
}
.box h3 {
	color:#666666;
	font-size:14px;
	font-weight:bold;
	margin-bottom:15px;
}
.box h4 {
	color:#666666;
	font-size:13px;
	font-weight:bold;
	margin-bottom:15px;
}
.box ul {
	padding-bottom:15px;
	padding-left:30px;
}
.box ul li {
	margin-bottom:5px;
	padding-left:5px;
}
.box ol {
	list-style-position:inside;
	padding-bottom:15px;
	padding-left:15px;
}
.box ol li {
	margin-bottom:5px;
}
/* notifications */
.notification.success {
	background:#effeb9 url('../img/icons/notifications/success.png') no-repeat 10px 10px;
	border-color:#98c700;
}
.notification.error {
	background:#fccac3 url('../img/icons/notifications/error.png') no-repeat 10px 10px;
	border-color:#ea5338;
}
.notification.warning {
	background:#ffeaa7 url('../img/icons/notifications/warning.png') no-repeat 10px 10px;
	border-color:#f9b418;
}
.notification.info {
	background:#d1e4f3 url('../img/icons/notifications/info.png') no-repeat 10px 10px;
	border-color:#4d8fcc;
}
.notification.tip {
	background:#feeac9 url('../img/icons/notifications/tip.png') no-repeat 10px 10px;
	border-color:#d38e49;
}
.notification {
	border-width:1px;
	border-style:solid;
	padding:17px 17px 17px 55px;
	margin-bottom:15px;
	-moz-border-radius:3px;
	-webkit-border:3px;
	border-radius:3px;
}
.notification .close {
	background:url("../img/icons/small/close.png") no-repeat scroll 0 0 transparent;
	cursor:pointer;
	display:block;
	float:right;
	height:16px;
	margin-top:2px;
	opacity:0.7;
	width:16px;
}
.notification .close:hover {
	opacity:1;
}
/* Forms */
form label {
	padding-top:5px;
	margin-right: 8px;
	display: block;
	color:#454545;
	font-size:13px;
	font-weight:bold;
	float:left;
}
form p {
	margin-bottom:10px;
	padding-bottom:20px;
}
form div.row {
	clear:both;
	padding:4px 0;
	margin-bottom:10px;
	min-height: 25px;
}
form .row label {
	width:200px;
	text-align: right;
}
form .row .checkbox, form .row .radio {
	width:auto;
}
form input, form textarea, form select {
	background: #FFFFFF url('../img/input-bg.gif') repeat-x top;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border:1px solid #c7c6c6;
	outline:medium none;
	padding: 4px 6px 4px 6px;
	margin:0;
}
form select {
/*  -webkit-appearance: button; */
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-padding-end: 20px;
  -webkit-padding-start: 2px;
  -webkit-user-select: none;
  background-image: url(../img/input-bg.gif), -webkit-linear-gradient(white, white, white);
  background-position: center right;
  background-repeat: no-repeat;
  height: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
form .row input ,  form .row textarea  {
	width: 280px;
}    
form .row textarea {
	height: 75px;
}             
form .row #cp {
	width: 50px;
}     
form .row input.small {
	width: 150px;
}

form .row input[type=checkbox] {
	width: auto;
}
form input.error {
	border:1px solid #FCCAC3;
}
form input.error:focus {
	border:1px solid #EA5338;
	-webkit-box-shadow:0 1px 2px #EA5338 inset;
	-moz-box-shadow:0 1px 2px #EA5338 inset;
}
form input[type=checkbox], form input[type=radio] {
/*	float:left;*/
	border:none;
	background:none;
	margin:0;
	padding:0;
	margin-top:3px;
}
form input[type=checkbox]:focus, form input[type=radio]:focus {
	border:none;
	background:none;
}
form label.checkbox, form label.radio {
	font-weight:normal;
	margin:0;
	padding:0 20px 0 6px;
	vertical-align:bottom;
}
form input:focus, form textarea:focus, form select:focus {
	-moz-box-shadow:0px 0px 3px #d0e1f7;
	border:1px solid #555555;
}
form optgroup {
	background:#f7f7f7;
}
fieldset {
	margin-bottom:15px;
}
/* Buttons */
.button {
	-moz-border-radius:0.5em 0.5em 0.5em 0.5em;
	-webkit-border-radius:0.5em 0.5em 0.5em 0.5em;
	border-radius:0.5em 0.5em 0.5em 0.5em;
	-o-border-radius: 0.5em 0.5em 0.5em 0.5em;
	-ms-border-radius: 0.5em 0.5em 0.5em 0.5em;
	-khtml-border-radius: 0.5em 0.5em 0.5em 0.5em;
	-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
	cursor:pointer;
	display:inline-block;
	font:14px/100% Arial, Helvetica, sans-serif;
	margin:0 2px;
	outline:medium none;
	padding:0.5em 2em 0.55em;
	text-align:center;
	text-decoration:none;
	text-shadow:0 1px 1px rgba(0, 0, 0, 0.3);
	vertical-align:baseline;
	background:#868686 url('../img/btn-bg-dark.gif') repeat-x bottom;
	color:#E9E9E9;
}
.button:hover {
	background:#585858 url('../img/btn-bg-dark-hover.gif') repeat-x bottom;
	text-decoration:none;
}
.button:active {
	background:#585858 url('../img/btn-bg-dark-active.gif') repeat-x bottom;
	color:#AFAFAF;
	position:relative;
	top:1px;
}
.medium {
	font-size:12px;
	padding:0.4em 1.5em 0.42em;
}
.small {
	font-size:11px;
	padding:0.2em 1em 0.275em;
}
/* Tables */
table {
	border-collapse:separate;
	border-spacing:0px;
}
caption, th, td {
	text-align:left;
	font-weight:normal;
}
table, td, th {
	vertical-align:middle;
}
table {
	width:100%;
	border-collapse: collapse;
}
thead td, thead th {
	background-color:#E6E6E6;
}
tr td, thead th {
	border-left:1px solid #CCCCCC;
	border-right:1px solid #CCCCCC;
	color:#414141;
	padding:4px;
}
tr td {
	vertical-align:middle;
}
thead td, thead th {
	font-weight:bold;
	padding:4px;
}
th, td {
	border-top:1px solid #DEDEDE;
	border-bottom:1px solid #DEDEDE;
	font-size: 11px;
}
tbody th {
	padding:0 8px;
	text-align:left;
}
/* Dialog Box */
.message {
	font-size:12px;
	padding:15px;
	margin-bottom:10px;
	border:1px solid #AAAAAA;
}
.message.new {
	background:#feeac9;
	border:1px solid #d38e49;
}
.message h4 {
	border-bottom:1px solid #AAAAAA;
	padding-bottom:5px;
}
small {
	font-size:10px;
}
/* Login Page */
#login-wrapper {
	margin:0 auto;
	width:400px;
	margin-top:150px;
}
div#login-wrapper div.notification {
	padding:15px 15px 15px 50px;
}
.box-header.login {
	font-size:19px;
	padding:10px 15px;
}
form.login label {
	width:145px;
}
form.login input {
	width:200px;
}
       

/* Specific elements */   
.box h1 {
	margin-bottom: 15px;
}  

.datagrid {
	margin-top: 15px;
}

.datagrid tr:hover td {
	background-color: #9bceff;
}

#attr_list {
	width: 250px;
	float: left;
	margin-right: 20px;
}   
#attr_list ul {
	margin-top: 20px;
}      
#attr_list ul li {
    margin-bottom:10px;
	margin-left:30px; 
}

#attr_table {
	float: left;   
	width: 600px;
}   

.actionbar {
    display: block;
    height: 30px;
    width: 100%;
    margin: 7px 0 10px 0;
}
.actionbar a:hover { text-decoration: none }
.actionbar_group {
    float: left;
    margin: 0 5px;
}

#actionbar_control { margin-bottom: 10px }  

#searchfield { width: 200px }

#searchfield_to, #searchfield_from { width: 70px; }

.toolbarseparator 	{ width: 10px; margin-right: 5px; height: 16px; border-right: 1px solid #d1d1d1; display: inline-block; vertical-align: middle;  }       
             

#filter_selector {                  
	padding: 2px 8px;
	border: 1px solid #d1d1d1;      
	background-color: #e1e1e1;     
	cursor: pointer; 
}
    
#filter_selector_menu {    
	width: 240px;
	background-color: #e1e1e1;
	border-bottom: 1px solid #d1d1d1;
	border-right: 1px solid #d1d1d1;
	border-left: 1px solid #d1d1d1;  
	cursor: pointer;
	padding-top: 5px; 
   	-webkit-box-shadow: 2px 2px 2px #333333;
 	-moz-box-shadow: 2px 2px 2px #333333;
}                
#filter_selector_menu li {
	list-style-type: none;   
	padding: 3px 1px;
}

#filter_selector_customer {                  
	padding: 2px 8px;
	border: 1px solid #d1d1d1;      
	background-color: #e1e1e1;     
	cursor: pointer; 
}
    
#filter_selector_menu_customer {    
	width: 240px;
	background-color: #e1e1e1;
	border-bottom: 1px solid #d1d1d1;
	border-right: 1px solid #d1d1d1;
	border-left: 1px solid #d1d1d1;  
	cursor: pointer;
	padding-top: 5px; 
   	-webkit-box-shadow: 2px 2px 2px #333333;
 	-moz-box-shadow: 2px 2px 2px #333333;
}                
#filter_selector_menu_customer li {
	list-style-type: none;   
	padding: 3px 1px;
}

input, textarea {
	border:1px solid #CACACA;
	outline:medium none;
	padding: 2px;
	margin:0;    
	-border-radius: 2px; 
	-webkit-border-radius: 2px; 
	-moz-border-radius: 2px; 
	-webkit-background-clip: padding-box; 
	border-radius: 2px;
} 
input:focus, textarea:focus { border:1px solid #1F92FF; }
input.invalid, textarea.invalid { border:1px solid #EA5338;  } 
input.invalid:focus, textarea.invalid:focus {
	border:1px solid #EA5338;
	-webkit-box-shadow:0 1px 2px #EA5338 inset;
	-moz-box-shadow:0 1px 2px #EA5338 inset;    
}

#status_dialog p {
	/* font-style: italic; */
}

#status_dialog p span {
	font-weight: bold;
	font-size: 13px;
}

#status_dialog div.row {
	clear:both;
	padding:4px 0;
	margin-bottom:10px;
	min-height: 25px;
}
#status_dialog .row label {
	width:60px;
	text-align: right;
}
#status_dialog label {
	padding-top:5px;
	margin-right: 8px;
	display: block;
	color:#454545;
	font-size:13px;
	font-weight:bold;
	float:left;
}

.status1 td { color: #62665a; background-color: #ebf1de; } /* estime */
.status1 td a, .status1 td a:hover { color: #62665a;} /* estime */
.status2 td { color: #8a7d71; background-color: #fde9d9; } /* confirmé */
.status2 td a, .status2 td a:hover { color: #8a7d71; } /* estime */

.status3 td { color: #716e77; background-color: #e4dfec; } /* chargé */
.status3 td a, .status3 td a:hover { color: #716e77; } /* estime */

.status4 td, .closed td { color: #a2a2a2; background-color: #f2f2f2; } /* livré */
.status4 td a, .status4 td a:hover,  .closed td a, .closed td a:hover { color: #a2a2a2;}

.paginationControl {
	font-family:  Helvetica, Arial, sans-serif;
  	margin: 10px 0;
	font-size: 12px;
	height: 12px; 
}

div.paginationControl a { color:  #0078cc; text-decoration: none; font-size: 12px; }           
div.paginationControl a:hover { color: #000; }
div.paginationControl a:active { color: #777; }
div.paginationControl a:focus { outline: 1px; }       
 
div.paginationControl .counter { float: right; color:  #0078cc; font-size: 12px; }       
div.paginationControl .empty { float: left; color:  #0078cc; font-style: italic; font-size: 12px; }       

  
#file_list_container {
	height: 340px;
	overflow: auto;
}
#file_list {
	margin-left: 20px;
}

#file_list li {
	padding: 3px 6px;
	list-style-type: none;
}  

#filter_selector_menu p , #filter_selector_menu_customer p {
	margin: 5px;
	padding: 5px;
	line-height: normal;
}

.ui-widget-content a.button {
	color: #fff;
}  
#tabs p {
	margin: 5px 0;
}

#password_dialog table, #password_dialog td { border : 0; }

.ui-datepicker-trigger {
    cursor: pointer;
    padding-left: 2px;
}

.status_cbox_table {
 border: 0px;
 table-layout:fixed;
 width: auto;
}

.status_cbox_table td {
 border: 0px;
 padding: 0px;
 text-align: center;
 min-width: 32px;
 max-width: 32px;
 width: 32px;
}

td.centered {
 text-align: center;
}

.toolbar {
	padding-bottom: 25px;
}

.communes_form div {
	max-height: 300px;
	overflow: auto;
}

.communes_form ul {
	list-style-type: none;
}

.unites_form div {
	max-height: 300px;
	overflow: auto;
}

.unites_form ul {
	list-style-type: none;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.validated td, .closed td { color: #a2a2a2; background-color: #f2f2f2; }
.validated td a, .status4 td a:hover,  .closed td a, .closed td a:hover { color: #a2a2a2;}

.general_info label {
	font-weight: bold;
}

.action label {
	font-weight: bold;
}

.action label.blue {
	color: blue;
}

.action label.green {
	color: green;
}

.action .button {
	font-size: 12px;
}

.general_info td, .action td {
	vertical-align: top;
	border: 0;
	padding-left: 0px;
	padding-right: 15px;
	padding-bottom: 15px;
}

#menu_content table {
	width: 350px;
}

#menu_content td {
	border: 0px;
	width: 150px;
}

#menu_content h1 {
	padding-top: 15px;
}

#menu_content h1 a {
	font-size:24px;
	font-weight:bold;
	line-height:1;
	color:#90BBDD
}

#menu_content li {
	list-style-type: none;
}

.tab-close {
	padding-left:0px;
}

.action p {
	font-size: 11px;
}

.ui-tabs-nav li a {
	font-size: 12px;
}
	
.toolbar .row {
	font-size: 11px;
}

.toolbar label {
	display: inline;
	font-size: 11px;
	font-weigth: bold;
	float: none;
}

/*.hidden { display: none }*/
.hidden {
	position: absolute;
	top: -10000px;
	left: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
}  
.underconstruction {
   text-align: center;
} 