html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}

img,body,html{border:0;}

html, body{
	min-height: 100%;
}
body {
	background: url( ../images/bg-bottom.png ) no-repeat right bottom #fff;
	color:#000;
	margin:0;
	padding:0;
	font-family: Arial, Helvetica, sans-serif;
	line-height:125%;
	font-size:78%;
}

.logo-point-dinterrogation{
	width:20%;
	height:auto;
	
}

#wrapper{
	width: 100%;
	margin: 0;
}

#header{
	background-color: #ffcc02;
	border: 2px solid #fff;
	-webkit-box-shadow: 0px 0px 5px #cccccc;
	-moz-box-shadow: 0px 0px 5px #cccccc;
	box-shadow: 0px 0px 5px #cccccc;
}


#page-content{

}

/******************************************************************************
* Utils
******************************************************************************/
.collapsible {
	display:none;
}
.clear {
	clear:both;
}
.clearitem 	{
	clear:both;
}
br.clear {
	clear:both;
	font-family: Arial, Helvetica, sans-serif;
	line-height:0px;	/* no height ! */
	font-size:0px;
}
.hide, .hidden {
	display:none;
}

.floatright {
	float:right;
	position:relative;
	margin: 5px;
}
.floatleft {
	float:left;
	position:relative;
	margin: 5px;
}

.leftside{
	float:left;
	position:relative;
}
.rightside{
	float: right;
	position:relative;
}
.clearMarginPadding{
	padding:0;
	margin:0;
}
.center{
	text-align:center;
}
.margin5{
	margin: 5px;
}

.error{
	color: #ff0000;
	font-weight: bold;
}

a.BtToggle {
    background: url("../images/down.png") no-repeat 6px 10px transparent;
    display: inline-block;
    height: 26px;
    padding-left: 26px;
    padding-top: 5px;
}

form a.BtToggle{
	position: absolute;
	margin-top: -27px;
}
a.BtToggle.active{
    background-image: url("../images/up.png");
}

form legend.withBtnToggle{
	padding-left: 25px;
}

.inline{
	display: inline;
}

.help{
	cursor: url(../images/visibilityedit.png) 0 16, help;
}

.line-through{
	text-decoration: line-through;
}

.no-border{
	border: none!important;
}

.bold{
	font-weight: bold;
}

.italic{
	font-style: italic;
}
/******************************************************************************
*  general
******************************************************************************/
img 			{ border: 0px;}

a,
a:link,
a:visited {
	color:#E31937 ;
	text-decoration:none;
}
a:hover,
a:active {
	color:#E31937 ;
	text-decoration:underline;
}
p {
	padding:1em 0 1em 0;
}
ul {
	list-style-type:square;
	list-style-position:outside;
	margin-bottom:6px;
	margin-left:20px;
	margin-top:6px;
}
ol  {
	margin:1em 0 1em 2em;
	padding:0;
	list-style-position:outside;
}
ol li {
	margin:0;
	padding:0;
	background: none;
	list-style: decimal;
}
ul li {
	margin-bottom:2px;
	padding-left:8px;
}
div.intro{
	color:#E31937;
	font-size:1.4em;
	font-weight: bold;
	text-align: center;
}

div.intro-titre{
	margin-left: 265px;
	margin-top: -38px;	
}

div.intro p{
	padding-bottom:1em;
	padding-top: 0;
}
p.intro {
	font-size:1.3em;
	line-height:1.6em;
}

div.error{
	padding:10px 10px 10px 80px;
	margin:10px;
	background: url(../images/error.png) 20px center no-repeat #ffebe8;
	border:1px solid #ff3300;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	-webkit-box-shadow: 0px 0px 5px #cccccc;
	-moz-box-shadow: 0px 0px 5px #cccccc;
	box-shadow: 0px 0px 5px #cccccc;
}

div.warn{
	padding:10px 10px 10px 80px;
	margin:10px;
	background: url(../images/warning.png) 20px center no-repeat #FFEAA6;
	border:1px solid #A5A5A5;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	-webkit-box-shadow: 0px 0px 5px #cccccc;
	-moz-box-shadow: 0px 0px 5px #cccccc;
	box-shadow: 0px 0px 5px #cccccc;
	font-weight: bold;	
}

div.info{
	padding:10px 10px 10px 80px;
	margin:10px;
	background: url(../images/info.png) 20px center no-repeat #D9E3FF;
	border:1px solid #A5A5A5;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	-webkit-box-shadow: 0px 0px 5px #cccccc;
	-moz-box-shadow: 0px 0px 5px #cccccc;
	box-shadow: 0px 0px 5px #cccccc;
	font-weight: bold;
}

h1 {
	color:#990033;
	font-weight:bold;
	font-size:1.7em;
	line-height:normal;
	padding:0;
	text-transform: uppercase;
	margin: 11px 0 0;
	text-align:center;
}

h1.home{
	visibility: hidden;
	margin: 0;
	padding: 0;	
}

h2 {
	font-weight:normal;
	font-size:1.8em;
	padding-bottom:20px;
	margin-bottom:10px;
	margin-top:15px;
}
h2.pageTitle,.pageTitle {
	margin:0;
	color:#990033;
	margin-bottom:5px;
	padding:5px 0;
	font-size:2.2em;
	line-height:normal;
	text-shadow: 0px 1px 1px #ccd6eb;
}
h3 {
	font-weight:normal;
	font-size:1.6em;
	margin-bottom:10px;
	margin-top:10px;
	
}
h4 {
	font-size:1.3em;
	margin-bottom:10px;
	margin-top:10px;
	color:#990033;
}
h5 {
	font-weight:bold;
	font-size:1.1em;
	color:#666;
}


fieldset {
	padding:0.5em;
	border:1px solid #ccc;
	margin:0.5em 0;
}
legend {
	font-size:1em;
	color:#333;
	padding:0 0.5em;
	background:#E31937 url(../images/contactformlegend.png) repeat-x bottom left;
	border:1px solid #ccc;
	display:inline;
	font-weight:bold;
	text-transform:uppercase
}

hr {
	height:2px;
	background:transparent url(img/hr-bg.png) repeat-x bottom left;
	border: none;
	margin : 18px 0;
}
blockquote {
	background:#E0E0E0 url(img/blockquote.png) no-repeat top left;
	border:1px solid #A5A5A5;
	font-style:italic;
	margin-bottom:15px;
	margin-top:15px;
	padding:20px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	-webkit-box-shadow: 0px 0px 5px #cccccc;
	-moz-box-shadow: 0px 0px 5px #cccccc;
	box-shadow: 0px 0px 5px #cccccc;
	
}

textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size:100%
}
p.field{
	margin-bottom:0.2em
}
div.field{
	margin-bottom:10px
}
input,
select,
textarea {
	color:#666;
	padding:2px ;
	font-size:100%;
	border: 1px solid #B4B4B4;
}
input[type=image]{
	border: 0px;
}
input[type=radio]{
	vertical-align: text-top;
}
label {
	font-weight:bold;
}

input.gobutton{
	background:none;
	border:none;
	margin:0;
	padding:0;
	vertical-align: bottom;
}

pre {
	background-color:#eaeaea;
	border-left:4px solid #990033;
	font-family:Courier,"Courier New",monospace;
	font-size:100%;
	overflow:auto;
	margin-bottom:15px;
	margin-top:15px;
	padding:20px;
	line-height:100%
}
.highlight{
	background-color:#ffff99;
	padding-right:0.5em;
	padding-left:0.5em;
}
code, .code {
	background-color:#eaeaea;
	font-family:Courier,"Courier New",monospace;
	font-weight:normal;
	padding-right:0.5em;
	padding-left:0.5em;
}
.small {
	font-weight:0.8em;
}
.colorlight {
	color:#666
}

.text-right{
	text-align: right;
}

form.back{
    float: left;
    margin-top: 15px;
}
/******************************************************************************
*  Tables
******************************************************************************/
.table th img{
	vertical-align: middle
}
.table,
.table caption
{
    margin: auto;
	line-height:1.9em;

}

.table
{
    border-collapse:collapse;
	margin-bottom:1em;
	font-size:0.85em;
	border:none;
}

#tab-total-resource .table{
	margin-bottom: 30px;
}
table.medium{
	width: 50%;
}

table.mediumLarge{
	width: 70%;
}

table.large{
	width: 100%;
}

.table, .table th, .table td{
border: 1px solid #fff;
}
.table caption
{
	font-weight:normal;
	font-size:2em;
	margin:0 ;
	padding:0;
}

.table th {
    color: #fff;
	white-space:nowrap;
	background-color:#E31937;
	padding:5px;
}
.table th a{
	color :#fff;
}

.table th.xsmall{
	width: 20px;
}

.table th.xsmall-2{
	width: 22px;
}

.table th.small{
	width: 40px;
}

.table th.medium{
	width: 120px;
}

.table th.large{
	width: 200px;
}

.table th.large-auto{
	min-width: 200px;
}

.table th.rafreval{
	padding: 5px 2px;
	width: 63px;
}

.table thead tr .header {
	background-image: url(../images/sortable-bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

.table thead tr th.headerSortUp { 
    background-image: url(../images/sortable-asc.gif); 
    background-color: #E31937;
}

.table thead tr th.headerSortDown { 
    background-image: url(../images/sortable-desc.gif); 
    background-color: #E31937;
}

.table td
{

	padding:5px;
}

.table td.xsmall{
	padding: 5px 2px;
}

.btn-delete:hover{
	cursor: pointer
}

.btn-edit:hover{
	cursor: pointer
}


.table .total td{
    color: #fff;
	white-space:nowrap;
	background-color:#E31937;
	padding:5px;
	font-weight: bold;
	text-align: center;
}
.table .total td.moins{
	background-color: #fff;
	color: #990033;
	border-bottom: 1px solid #990033;
    border-top: 2px solid #990033;
}
.table .total td.plus{
	background-color: #ff6a00;
}
	

.table .current td{ background-color:#ffec9f!important}
.table .error td{ border-top: 2px solid #d30000; border-bottom: 2px solid #d30000; background-color:#ffa9a9!important}
/* .table .even td{background-color:#eaeaea} */
/* .table .odd td{ background-color:#FF0000} */
.td-flex img{
   margin: 0px 10px 0px 12px;
   cursor: pointer;
}
.table .projet-titre td.first{ background: url( ../images/moins.png) 4px center no-repeat; padding-left: 19px;} /*background-color:#A1C4D0} /*F2A200, A1C4D0*/
.table .projet-titre.collapse td.first{ background: url( ../images/plus.png) 4px center no-repeat; padding-left: 19px;}
.table .projet-titre-dash td{ } /*background-color:#EAEAEA*/ /*F2A200, A1C4D0*/
.table .ressource-table-titre{ border-top: 2px solid #000}
.table .ressource-table-titre td{}/* background-color:#A1C4D0*/ /*F2A200, A1C4D0*/
.table .detail td{background-color: rgba(242, 162, 0, 0.2)}
.table .total-chantier td{background-color: #eaeaea;}
.table .add-prevision td{background-color: #fff;}
.table td.dayOff{ background-color:#eaeaa0!important}
.table td.green{ background-color:#2de519!important}
.table td.red{ background-color:#ea0101!important}

.table td.conges1, 
.table td.conges3, 
.table td.conges2, 
.table td.conges4, 
.table td.conges5, 
.table td.conges6{ 
	position: relative;
	overflow: hidden;
	z-index: 1
}

.table td.conges1:after, 
.table td.conges3:after, 
.table td.conges2:after, 
.table td.conges4:after, 
.table td.conges5:after, 
.table td.conges6:after{
	content: '';
	position: absolute;
	z-index:3;
	width: 120%;
	height: 100%;
}

.table td.conges1:after, 
.table td.conges3:after, 
.table td.conges2:after{
    left: -15px;
    top: 11px;
    transform: rotate(35deg);
}

.table td.conges4:after, 
.table td.conges5:after, 
.table td.conges6:after{    
    right: -15px;
    top: 11px;
    transform: rotate(147deg);
}

.table td.conges1:after,
.table td.conges4:after,
.table td.conges7{
	background-color:#ffa500;
}

.table td.conges2:after,
.table td.conges5:after,
.table td.conges8{
	background-color:#008000;
}

.table td.conges6:after,
.table td.conges9,
.table td.conges3:after{
	background-color:#ff0000;
}

.table td.deplacement{ background-color:#c0dee8!important}
.col1{}
.col2{}
.col3{}
.col4{}

/* lignes depliables */
.table tr.total-projet-dash:hover,
.table tr.projet-titre-dash:hover,
.table tr.ressource-table-titre:hover{ 
	cursor: pointer
} 


.table td.center,
.table th.center
{
	text-align:center;
}

.table td.border-right{
	border-right: 1px solid #990033;
}

.table th.current-week{
	border-top: 2px solid #990033;
	background-color: #FFFFFF;
	color: #990033;
}
.table th.current-week a{
	color: #990033;
}
.table th.current-week, .table td.current-week{
	border-right: 2px solid #990033;
	border-left: 2px solid #990033;
}

.table td.date input{
	width: 80px;
	margin-right: -20px;	
}
.table td.date img{
	margin-bottom: -4px;
}
.table td.action input{
	border: none;
}
.table td img.refresh{
   	float: right;
    margin-left: -12px;
    margin-top: 4px;
    width: 12px;
}

.table tr:hover{
	background-color: #ccc
}

.table tr.even:hover td,
.table tr.odd:hover td{
	background-color: #ffdba6;
}
.table tr.even-projet:hover td,
.table tr.odd-projet:hover td,
.table tr.detail:hover td{
	background-color: #ffdba6;
}
.table .tableLine{
	border-bottom: 2px solid #000000;
}
.table .boldBlue td{
	font-weight: bold;
	background-color : #A1C4D0;
}
.table .italicLightBlue td{
	font-style: italic;
	background-color: #c0dee8;
}
.table .italicLightBlue td:first-child{
	padding-left:50px;
}
#tab-compteurs p.showRight{
	text-align: right;
}
/******************************************************************************
*  Button
******************************************************************************/
.div-button{
	text-align:center;
	margin:0 0 10px 0;
	overflow:hidden;
}
.div-button-right{
	text-align:right;
	overflow:hidden;
}
input.button, button {
	margin-right:0.5em;
}

input.button, button {
	border: 1px solid #b4b4b4;
	padding: 5px 5px 5px 20px;
	outline:none;
	-moz-border-radius:	5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;

}
.button:hover, button:hover {
	cursor: pointer;
	background-color: #E31937;
	color:#fff;
}

input[type=submit]{
	background: url( ../images/formmaincontent-valide.png) no-repeat 5px 5px #fff;
	border: 1px solid #b4b4b4;
	padding: 5px 5px 5px 20px;
	border-radius: 5px;
}

input[type=reset]{
	background: url( ../images/formmaincontent-reset.png) no-repeat 5px 5px #fff;
	border: 1px solid #b4b4b4;
	padding: 5px 5px 5px 20px;
	border-radius: 5px;
}

input[disabled=disabled]{
	background-color:#ccc!important;
}
input[disabled=disabled]:hover{
	color:#666!important;
	cursor: default;
}
input[type=image][disabled=disabled]{
	background-color:transparent!important;
}
input.previous{
	background: url( ../images/nav_previous.png) no-repeat 5px 5px #fff;
}

input.next{
	background: url( ../images/nav_next.png) no-repeat right 5px #fff;
	padding: 5px 20px 5px 5px;
}
input.first{
	background: url( ../images/nav_first.png) no-repeat 5px 5px #fff;
}

input.last{
	background: url( ../images/nav_last.png) no-repeat right 5px #fff;
	padding: 5px 20px 5px 5px;
}

input.gear{
	background: url( ../images/gear.png) no-repeat right 5px #fff;
	padding: 5px 20px 5px 5px;
}

input.import{
	background: url( ../images/copy.png) no-repeat 5px 5px #fff;
}

input.add{
	background: url( ../images/adding_submit.png) no-repeat 2px 1px #fff;
	padding: 2px 5px 2px 20px;
}

input.save{
	background: url( ../images/saving_submit.png) no-repeat center center #fff;
    font-size: 0;
    height: 22px;
    padding: 0;
    width: 22px;
}
input.goto{
	background: url( ../images/goto.png) no-repeat 2px 2px transparent;
    font-size: 0;
    height: 22px;
    padding: 0;
    width: 22px;
    border: none;
}
input.reverse{
	background: url( ../images/reversePublish.png) no-repeat 2px 2px transparent;
    font-size: 0;
    height: 22px;
    padding: 0;
    width: 22px;
    border: none;
}

input.red{
	border-color: #ea0101;
	color: #ea0101;
}
input.green{
	border-color: #2de519;
	color: #2de519;
}

.xsmall input{
	width: 15px;
}
#plancha .xsmall input{
	width: 17px;
}

.small input{
	width: 20px;
}
#plancha .small input{
	width: 22px;
}
.medium select{
	width: 100px;
}

.large textarea{
	width: 180px;
}
.large-auto textarea{
	min-width: 180px;
	width: 100%;
}

/******************************************************************************
*  Formulaire de création de taches. A voir pour passage en générique
******************************************************************************/
#select-tache-global label{
	display: inline-block;
	height: 21px;
	line-height: 21px;
	margin-right: 5px;
}

label.label-150{
	display: inline-block;
	width: 150px;
}

/******************************************************************************
*  Pied de page
******************************************************************************/
#footer img{
	vertical-align: middle;
}

.poplight img{
	vertical-align: middle;
}



/****************************************************************************/

#plancha input.save{
    bottom: 20px;
    cursor: pointer;
    height: 50px;
    position: fixed;
    right: 80px;
    width: 50px;
    z-index: 10;
    background: url("../images/submit-white.png") no-repeat scroll center center #E31937;
    border: 0px;
}
#plancha input.reset{
    background: url("../images/reset-white.png") no-repeat scroll center center #E31937;
    bottom: 20px;
    cursor: pointer;
    font-size: 0;
    height: 50px;
    padding: 0;
    position: fixed;
    right: 20px;
    width: 50px;
    z-index: 10;
    border: 0px;
}

/******************************************************************************************/

table.table {
	position: relative;
}
.table div.ongletMois {
    background: none repeat scroll 0 0 #E31937;
    color: #FFFFFF;
    margin-left: -6px;
    position: absolute;
    top: -21px;
    width: 200px;
    border: 1px solid #fff;
    text-align: left;
    padding-left: 15px;
}
.table div.ongletMoisCGI {
    background: none repeat scroll 0 0 #E31937;
    color: #FFFFFF;
    margin-left: -6px;
    position: absolute;
    top: -42px;
    width: 200px;
    border: 1px solid #fff;
    text-align: left;
    padding-left: 15px;
}
.table .tableFloatingHeader div.ongletMois,
.table .tableFloatingHeader div.ongletMoisCGI{
	display: none;
}

.table div.ongletMoisLast{
	background: none repeat scroll 0 0 #fff;
	height: 40px;
	top:-42px;
}

.table div.ongletMoisLastDashboard{
	background: none repeat scroll 0 0 #fff;
	height: 55px;
}

.table div.onglet2Mois{
	margin-left: 11px;
}

#tab-total-resource{
	padding-bottom:20px;
}


/*********************** Dashboard ****************************************/

#planchaDash{
	width: 50%;
	float: right;
}

#absencesDash{
	width:50%;
	float : left;
}

#timesheetDash{
	width:50%;
	float: left;
}

#congesDash{
	width: 40%;
	float: right;
	margin-top: 30px;
	margin-left: 50px;
}

#congesDash h2{
	position:relative;
	left:135px;
}

#planchaDash .table, #absencesDash .table,
#timesheetDash .table{
	width: 570px;
}

.emptyDash{
	clear: both;
}

#planchaDash h2{
	text-align: center;
}

#messageRetardTime{
	text-align: center;
}

.tdRessource{
	text-align: center;
}

.thMedium{
	width: 250px;
}

#congesDash ul li{
	list-style-type: none;
	background: url(../images/conges.png) no-repeat left center #fff;
	padding-left: 17px;
}

.export{
	background: url( ../images/export.png) no-repeat left top #fff;
	padding-left: 15px;
}

/*********************** login ********************************************/
div#authentication{
	border: 1px solid #EAEAEA;
	margin: 0 auto;
	padding: 20px;
	width: 500px;
}

div#authentication h2{
	margin-top: 0px;
}
div#authentication div.submit-login,
div#authentication label{
	display: block;
	margin: 0 auto;
    padding: 10px;
	position: relative;
	width: 210px;
}

div#authentication label input{
	position: absolute;
	right: 10px;
	top: 8px;
}

div#authentication div.submit-login input[type="reset"]{
	position: absolute;
	right: 10px;
}


/**************************** roles ************************/
#add-users select{
	height: 200px;
	width: 400px;
}

a.button-like{
    border: 1px solid #B4B4B4;
    border-radius: 5px 5px 5px 5px;
    color: #666666;
    display: inline-block;
    height: 17px;
    line-height: 15px;
    padding: 6px 5px 4px 5px;
}

a.button-like:hover{
	background-color: #E31937;
    color: #FFFFFF;
    text-decoration: none;
}

a.add-user{
    background: url("../images/user1_add.png") no-repeat scroll 4px 5px #FFFFFF;
	padding-left: 20px;
}


/**************************** redefine ui css pour dashboard ************************/
#wrapper .ui-corner-all{
	border-radius : 0;
	background: none;
	border-width: 0;
}
#wrapper .ui-widget-content{
	background: none;
}

#wrapper .ui-tabs .ui-tabs-nav {
    padding-left: 1.2em;
	border-width: 0 0 1px 0;	
}

#wrapper .ui-tabs .ui-tabs-nav li{
	border-radius: 0;	
}

#wrapper .ui-tabs-panel{
	border: 1px solid #AAAAAA;
	border-top: 0;
	background-color: #fff;
}

/**

    background-color: #FFFFFF;
    height: 40px;
    position: fixed;
    top: 26px;
    width: 100%;
    z-index: 6; **/
    
    
    
#plancha-filtres{
	margin: auto;
	background: url( ../images/filtre.png) 10px center no-repeat rgba(255, 219, 166, 0.22);
}
#plancha-filtres table{
	width: 100%;
}
#plancha-filtres table td{
	text-align:center;
}
#plancha-filtres input, #plancha-filtres select{
	border: 1px solid #E31937;
}
#plancha-filtres input:focus, #plancha-filtres select:focus{
	background-color: rgba(227, 25, 55, 0.05);
}
#plancha-filtres .hasDatepicker{
	width: 77px;
}
#plancha-filtres .ui-datepicker-trigger{
	margin-bottom: -1px;
	margin-left: -14px;
}

#deplacer{
    bottom: 20px;
    cursor: pointer;
    height: 50px;
    position: fixed;
    right: 80px;
    width: 50px;
    z-index: 10;
    background: url("../images/move-white.png") no-repeat scroll center center #E31937;
    border: 0px;
}

/* popin d'export */
#export-detail-suivi .hasDatepicker{
	width: 95px;
}
#export-detail-suivi .ui-datepicker-trigger{
	margin-bottom: -1px;
	margin-left: -14px;
}
#export-detail-suivi #export-debut{
	margin-left: 72px;
}
#export-detail-suivi #export-projets{
	vertical-align: middle;
}
