td.left,th.left
{
	text-align:left !important;
}
td.right,th.right
{
	text-align:right !important;
}
.hidden
{
	display:none;
}
.visible
{
	display:block;
}
td.left,th.left
{
	text-align:left;
}
td.right,th.right
{
	text-align:right;
}
.noshow
{
	display:none;
}

#calendar .priorite1, #taskmodel .priorite1
{
	background: url() grey !important;
}
#calendar .priorite2, #taskmodel .priorite2
{
	background: url() green !important;
}
#calendar .priorite3, #taskmodel .priorite3
{
	background: url('../img/elements/calendar/event-bg.png') repeat-x #3c70ad !important; 
}
#calendar .priorite4, #taskmodel .priorite4
{
	background: url() orange !important;
}
#calendar .priorite5 , #taskmodel .priorite5
{
	background: url() red !important;
}

#calendar .eventhover
{
	border: 3px solid #2e69ae !important;
}

#taskmodel .external-event
{
	width: 150px;
	float:left;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	margin:2px;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,0.75);
	cursor: pointer;
	border: 1px solid #2e69ae;
	padding: 2px;
}


#attach a
{
	float:left;
	margin: 10px 2px 10px 2px;
	padding: 2px 2px 2px 2px;
	vertical-align: middle;
}

#attach a:hover
{
	background-color:grey;
	color:white;
}

#attach a span
{
	background: url("/img/modules/standard/page_white_text.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}

#attach a span.jpg,#attach a span.jpeg,#attach a span.png,#attach a span.gif
{
	background: url("/img/modules/standard/images.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}
#attach a span.mp3,#attach a span.wma
{
	background: url("/img/modules/standard/doc_music.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}
#attach a span.pdf
{
	background: url("/img/modules/standard/doc_pdf.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}
#attach a span.zip
{
	background: url("/img/modules/standard/page_white_zip.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}
#attach a span.rar,#attach a span.7z
{
	background: url("/img/modules/standard/compress.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}
#attach a span.doc,#attach a span.docx
{
	background: url("/img/modules/standard/page_white_word.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}
#attach a span.xsl,#attach a span.xslx,#attach a span.csv
{
	background: url("/img/modules/standard/doc_excel_table.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}
#attach a span.mdb,#attach a span.accdb
{
	background: url("/img/modules/standard/doc_access.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}
#attach a span.txt
{
	background: url("/img/modules/standard/page_white_text.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}

#attach a span.use
{
	background: url("/img/icons/packs/fugue/16x16/tick.png") no-repeat  left ;
	width:16px; 
	display:block;
	float:left;
	height:20px;
}

#sender a span.contact
{
	background: url("/img/icons/packs/fugue/16x16/user--plus.png") no-repeat  left ;
	width:20px; 
	display:block;
	float:left;
	height:20px;
}
#topan a span.contact
{
	background: url("/img/icons/packs/fugue/16x16/user--plus.png") no-repeat  left ;
	width:20px; 
	display:block;
	float:left;
	height:20px;
}
#toccpan a span.contact
{
	background: url("/img/icons/packs/fugue/16x16/user--plus.png") no-repeat  left ;
	width:20px; 
	display:block;
	float:left;
	height:20px;
}

.detail_box .titre
{
	width:150px;
	font-weight:bolder;
	margin-right: 4px;
}

.detail_box
{
	max-height:700px !important;
	max-width:500px !important;
	overflow:auto;
}

.detail_box table
{
 width:400px;
 margin-right:20px;
}

.detail_box table tr
{
	/*border-bottom:1px solid lightgrey;*/
}

table.acts_as_tree_table  {
	border-collapse: collapse;
	cursor: default;
	line-height: 1;
	margin-bottom:10px;
}


table.acts_as_tree_table thead tr th {
	border: 1px solid #CCCCCC;
	color:#666666;
	font-weight: normal;
	padding: .3em 1.67em .1em 1.67em;
	text-align: left;
	height:20px;
}

table.acts_as_tree_table tbody tr td {
	padding: .3em 1.5em;
}

table.acts_as_tree_table  tbody tr.even {
	background: #f3f3f3;
}

table.acts_as_tree_table  tbody tr.odd {
	background: #fff;
}

table  span {
	background-position: center left;
	background-repeat: no-repeat;
}

span.nodename:hover
{
	font-weight:bold;
	text-decoration:underline;
	cursor:pointer;
}

table.acts_as_tree_table  span:hover {
	text-decoration:underline;
}

.document
{
   color:red;
}

table  span.local{
	background-image: url(../img/modules/archivage/box.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.racine{
	background-image: url(../img/modules/archivage/drawer.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.save {
	background-image: url(../img/modules/archivage/disk.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.arc_plan_de_classement {
	background-image: url(../img/modules/archivage/server.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.arc_series {
	background-image: url(../img/modules/archivage/drive.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.arc_dossiers{
	background-image: url(../img/modules/archivage/folder.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.arc_sous_dossiers{
	background-image: url(../img/modules/archivage/folder2.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.arc_volumes{
	background-image: url(../img/modules/archivage/package.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.arc_documents{
	background-image: url(../img/modules/archivage/page_white_text.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.document2{
	background-image: url(../img/modules/archivage/page_white_zip.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.arc_pieces{
	background-image: url(../img/modules/archivage/page.png) ;
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.arc_composants{
	background-image: url(../img/modules/archivage/attach_2.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.image{
	background-image: url(../img//modules/archivageimages.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.word{
	background-image: url(../img/modules/archivage/page_white_word.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.excel{
	background-image: url(../img/modules/archivage/page_excel.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.access{
	background-image: url(../img/modules/archivage/doc_access.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.powerpoint{
	background-image: url(../img/modules/archivage/page_white_powerpoint.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.video{
	background-image: url(../img/modules/archivage/doc_film.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.audio{
	background-image: url(../img/modules/archivage/doc_music.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.pdf{
	background-image: url(../img/modules/archivage/doc_pdf.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}

table  span.compress{
	background-image: url(../img/modules/archivage/compress.png);
	padding: .2em 2px .2em 1.5em;
	cursor: pointer;
	background-position: 1px 1px;
	height:12px !important;
}



.acts_as_tree_table tr td .expander {
	background-image: url(../img/modules/archivage/bullet_toggle_minus.png);
	background-position: left center;
	background-repeat: no-repeat;
	cursor: pointer;
	padding: 0;
	zoom: 1; /* Hack for IE, works in IE7, I refuse to check in IE6 or older */
}

.acts_as_tree_table tr.collapsed td .expander {
	background-image: url(../img/modules/archivage/bullet_toggle_plus.png);
}

.acts_as_tree_table tr.expanded td .expander {
	background-image: url(../img/modules/archivage/bullet_toggle_minus.png);
}