/**
 *
 * Generic CSS for CakePHP
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.app.webroot.css
 * @since         CakePHP(tm)
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

* {
	margin:0;
	padding:0;
	font-family: 'trebuchet ms', 'frutiger linotype', 'lucida grande', verdana, helvetica, arial, sans-serif;
	font-size: 12px;

}

/** General Style Info **/
body {
	color: #fff;
	margin: 0;
}
a {
	color: #003d4c;
	text-decoration: none;
}
a:hover {
	color: #367889;
	text-decoration:underline;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
	margin-bottom:0.5em;
}
h1 {
	background:#fff;
	color: #003d4c;
	font-size: 200%;
}
h2 {
	background:#fff;
	color: #e32;
	font-size: 150%;
}
h3 {
	color: #993;
	font-size: 125%;
}

ul, li {
	margin: 0 12px;
}

/** Layout **/
.nostyle {
	list-style-type: none;

}
#container {
	text-align: left;
}

#header{
	padding: 10px 20px;
}
#header h1 {
	line-height:20px;
	background: #003d4c url('../img/cake.icon.png') no-repeat left;
	color: #fff;
	padding: 0px 30px;
}
#header h1 a {
	color: #fff;
	background: #003d4c;
	font-weight: normal;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	background: #003d4c;
	text-decoration: underline;
}
#content{
	background: #fff;
	clear: both;
	color: #333;
	padding: 10px 20px 40px 20px;
	/*overflow: auto;*/
}
#footer {
	padding: 6px 10px;
	text-align: center;
}

/** containers **/
div.form,
div.index,
div.view {
	/*float:right;
	width:76%;*/
	/*border-left:1px solid #666;
	padding:10px 2%;*/
}
div.actions {
	/*float:right;*/
	position: relative;
	top: 10px;
	left: 70%;
	width:16%;
	padding:10px 1.5%;
}

div.zactions, div.delays {
position: relative;
top: -10px;
left: 70%;
}

div.actions h3 {
	padding-top:0;
	color:#777;
}


/** Tables **/
table {
	background: #fff;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	border:0;
	border-bottom:2px solid #555;
	text-align: left;
	padding:4px;
}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	content: ' ⇣';
}
th a.desc:after {
	content: ' ⇡';
}
table tr td {
	background: #D3CCCC;
	padding: 6px;
	text-align: left;
	vertical-align: top;
	border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
	background: #f5f5f5;
}
table .altrow td {
/*	background: red;*/
}



td.actions {
	text-align: center;
	white-space: nowrap;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}

/** Paging **/
div.paging {
	background:#fff;
	color: #ccc;
	margin-top: 1em;
	clear:both;
}
div.paging span.disabled {
	color: #ddd;
	display: inline;
}
div.paging span.current {
	color: #c73e14;
}
div.paging span a {
}

/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 100%;
}
dl .altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 95%;
}
fieldset {
	border: 1px solid #ccc;
	margin-bottom: 1em;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form .input {
	color: #444;
}
form .required {
	font-weight: bold;
}
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}

label {
/* no br after label and before input £*/
	/*display: block;*/
	font-size: 110%;
	margin-bottom:3px;
}
label:after {
content:": ";
}
input, textarea {
}
select {
	clear: both;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
div.checkbox label {
	display: inline;
}
input[type=radio] {
	/*float:left;*/
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	/*display: inline;*/
	font-size: 110%;
	width: auto;
}

form .submit input[type=submit] {
	background:#62af56;
	background-image: -moz-linear-gradient(top, #a8ea9c, #62af56);
	border-color: #2d6324;
	color: #000;
	text-shadow: #8cee7c 0px 1px 0px;
}

form .submit input[type=submit]:hover {
	background:#4ca83d;
	background-image: -moz-linear-gradient(top, #85e573, #4ca83d);
}

/** Notices and Errors **/
div.message {
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #c73e14;
	padding: 5px;
}
div.error-message {
	clear: both;
	color: #fff;
	font-weight: bold;
	background: #c73e14;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/**  Actions  **/
div.actions ul {
	margin: 0;
	padding: 0;
}
div.actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
div.actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}
div.actions ul li a:hover {
	text-decoration: underline;
}



/*input[type=submit],*/
div.actions ul li a,
td.actions a {
	font-weight:normal;
	padding: 4px 8px;
	background:#e6e49f;
	background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
	color:#333;
	border:1px solid #aaac62;
	text-decoration:none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
}



input[type=submit]:hover,
div.actions ul li a:hover,
td.actions a:hover {
	background: #f0f09a;
}

/** Related **/
div.related {
	clear: both;
	display: block;
}

/** Debugging **/
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
	font-family: courier;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	/*margin-top: 1em;
	overflow: auto;
	position: relative;*/
	float: bottom;
}
div.cake-stack-trace {
	background: #fff;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}

.col0{
float: left;
width: 45%;
}
.col1{
float: right;
width: 45%;
}

/*CSS Table styles*/
div.table {
        display:table;
        /* Joindre les bords des cellules */
        border-collapse:collapse;
        /* Forcer le tableau à prendre la largeur écran */
        width:100%;
}
div.caption {
        /* Ffox n'affiche pas le caption dans la table
                il faut le déclarer bloc */
        display:block;
        /* Si déclaré bloc, lui donner la largeur des
                td cumulés */
        width:400%; /* 100 % x 4 colonnes */
        /* Aligner le titre au centre */
        text-align:center;
}
        /* tbody optionnel */
div.tbody {
        display:table-row-group;
}
div.tr {
        display:table-row;
}
div.td {
        display:table-cell;
        border:thin solid grey;
        padding:5px;
        width:24.5%;
}
div.end {
        width:auto;
                border:thin solid grey;

}

.submitR {
position: relative;
float: right;
top: -100px;
}

/* the search button*/
.btnCherche {
position: relative;
left: 200px;
top: -23px;
font-size: .8em;
}


div.auto_complete    {
     position         :absolute;
     width            :250px;
     background-color :white;
     border           :1px solid #888;
     margin           :0px;
     padding          :0px;
} 
li.selected    { background-color: #ffb; }

/* LOCAL VALUES */
/* a class for displaying time of calc page */
.exectime {
position: relative;
bottom: 15px;
left: 15px;
font-size:xx-small;
font-style: italic;
color: #4D4D4D;
/*margin-right: 20px;
float: right;*/
}

/* add time to task */
.add_time {
position: absolute;
right: 53px;
top: 43px;
background-color: #FFFFE0;

}
.add_time_view {
position: absolute;
left: 50%;
top: 123px;
background-color: #FFFFE0;
}
/* js calendar */
.calendrierjs {
position: relative;
top: -45px;
left: 160px;
}

/* smaller font */
.petit {
font-size: .9em;
}

/*hide dot for <li> tag*/
.puce_cache {
list-style-type: none;
}

/* projects bg select list highlight categories */
.projet_sel {
background-color: #fff
}
.projet_sel:before {
 content:url(/pmcake/img/icons/logounige.jpg);
 padding-right: 5px;
 }

.projet_sel_perso {
background-color:  #FFD689;
}

.projet_sel_perso:before {
 content:url(/pmcake/img/icons/redstar.png);
  padding-right: 5px;
 }

.outils {
padding-left: 10px;
}
.outils:after {
 content:url(/pmcake/img/icons/toolsmall.png);
  padding-left: 5px;
 }
 
/* autocomplete */
.globalsearch {
position: absolute;
right: 10%;
top: 2px;
	background: #204c58;
		z-index: 999;
}
.autofill {
position: absolute;
right: 10%;
top: 20px;
width: 400px;
background: #204c58;
z-index: 999;
}


	.suggestionsBox {
	position: absolute;
	left: 10px;
	}
	.suggestionList {
	}
	.autofilltask {
	}
	.suggestionList li {
		padding: 3px;
		cursor: pointer;
		list-style-type: none;
	}
	.suggestionList li:hover {
		background-color: #659CD8;
	}
	.projet_autofill {
		padding: 2px;
	}
	.projet_autofillR {
	}


/* footer */
.tablepied {
text-align: center;
}

/* form submit button */
.enregistrer {
position: absolute;
top: 7%;
right: 10%;
}

/* page's title */
.titre {
margin-bottom: 1em;
width: 100%;
border-style: outset;
font-size: larger;
background-color: #FFA500;
color: black;
padding: 3px;
}

/* checkbox click task done */
.taskok {
display: block;
  width: 5px;
/*border-style: outset;
position: relative; 
left: 90%;
  background-color: red;
  border: 2px inset ThreeDFace;
  height: 5px;*/
  }
.taskok:after {
/*  content: 'ok?';
  padding-left: 3px;*/
}
.multicol2 {
-moz-column-count:2
}
.multicol3 {
-moz-column-count:3
}
.multicol4 {
-moz-column-count:4
}

/* css for displaying tooltip - infobulles, see functions.php */
a.tooltip em {
    display:none;
}
a.tooltip:hover {
    border: 0;
    position: relative;
    z-index: 500;
    text-decoration:none;
}
a.tooltip:hover em {
    font-style: normal;
    display: block;
    position: absolute;
    top: 20px;
    left: 10px;
    padding: 15px;
    color: #000;
    border: 1px solid #bbb;
    background: #ffc;
    width:500px;
    -moz-border-radius : 2em 1em; -webkit-border-radius : 2em 1em; 
}
a.tooltip:hover em span {
    position: absolute;
    top: -7px;
    left: 15px;
    height: 7px;
    width: 11px;
    background: transparent;
    margin:0;
    padding: 0;
    border: 0;
}
