body {
	font-family: verdana, sans;
	line-height: 1.4em;
	font-size: 13px;
}
input, button, textarea {
	font-size: 13px;
}

h1,h2,h3 {
	color: #666;
}

div.cblock {
	width: 30px; height: 30px; margin: 0 5px; display: inline-block;
}
div#content {
	padding: 30px 2%;
	margin-left: 110px;
	position: absolute; top: 0;
	background-color: white;
}

tr.totRow td {
	background-color: #aaf;
}

div#content.nomenu {
	margin-left: 0;
	position: relative;
}

ul#menu, ul#menu ul {
	list-style-type: none;
	margin: 0; padding: 0;
}
ul#menu li a {
	text-align: center;
	width: 100px;
}

ul#menu li.current a {
	background-color: #ddd;
}
ul#menu li a img {
	display: block; margin: 0 auto;
}

ul#menu ul {
	position: absolute; margin-top: -66px; left: 110px; z-index: 99;
	display: none;
	padding: 3px;
	background-color: #ddd;
	border: 1px solid #ccc;
	border-radius: 5px;
}
ul#menu ul li {
	float: left;
}
ul#menu ul li:nth-child(3n+1) {
	clear: left; 
}



li.warnButton a {
	background-color: #ddd;
}

a img {
	padding: 0 5px;
}

form > table > tbody > tr > td:first-child,
table#fhead td:first-child {
	background-color: #ddd;
	text-align: right;
	padding: 0.2em 1em;
}
form > table > tbody > tr > td.compact {
	padding: 0;
}

td {
	padding: 0.2em;
}

input, button {
	padding: 0.2em;
}

table#lines input,
table#lines button,
table#lines select,
table#lines td {
	padding: 0;
}

input.error {
	background-color: orange !important;
}


input.amount {
	text-align: right;
}

select {
	padding: 5px;
}

tr.head td, #resultset tr.head:hover td, th {
	background-color: #ddd; border: 1px solid #ccc; color: black; text-align: center; padding: .2em .4em;
	font-weight: normal;
}
.results tr:hover td, #resultset tr:hover td {
	background-color: #aaa;
}
#resultset tr:nth-child(even),
table table tr:nth-child(even) {
	background-color: #eee;
}

.results tr:nth-child(even) {
	background-color: #eee;
}
tr.subtotal{
	font-style:italic;
}


.ui-datepicker-week-end a {
    background-image: none;
    background-color: red !important;
    color: #ddd !important;
}


div.error {
	padding: 5px 20px;
	background-color: red;
	color: white;
}

div.xblock {
	width: 500px;
	min-height: 20em;
	border: 1px solid #ddd;
	float: left;
	padding: 20px;
	margin-right: 5px;
	margin-bottom: 5px;
	border-radius: 5px;
}

.smallNum {
	width: 3em;
}

.fallMenu {
	position: fixed; top:0; right: 10px;
	padding: 10px;background-color: #ddd;
	border-radius: 0 0 5px 5px;
}
.fallMenu form {
	display: none;
}
.fallMenu.show form {
	display: block;
}

#navF { text-align: right; }


td.orange {
	background-color: orange;
}

form.separate {
	display: inline-block;
	margin: 5px 0;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #f6f6f6;
}
span.nopositive{
	background-color:blue;
	color:#fff;
}
span.negative{
	background-color:red;
	color:#fff;
}


span.dow {
	display: inline-block;
	background-color:#007fff;
	color: white;
	padding: 5px 0px;
	width: 200px;
	text-align: center;
	position: relative; top: 1px;
}

/* Thumnails (agenda) */
.thumb {
        display: block; float: left; padding: 5px; margin: 10px;
border: 1px solid #ddf;
        border-radius: 5px;
        width: 150px;
        height: 150px;
        position: relative;
}
.thumb span {
        display: block; width: 150px; text-align: center;
        position: absolute; bottom: 5px; left: 5px;
        background-color: rgba(255,255,255,.6);
        color: #334;
}
.thumb:hover {
        background-color: #ddf;
}
.thumb.selected {
        background-color: #007fff;
}

/* fichiers liés */
ul.fileList {
        list-style-type: none;
        padding:0;
}
ul.fileList a {
        display: block;
        text-align: left;
}
ul.fileList a img {
        height: 24px;
}

div.info {
	padding: 10px 10px 10px 60px;
	background-color: #eef;
	background-image: url(../icons/info.png);
	background-position: 5px 5px;
	background-repeat: no-repeat;
	border-radius: 15px;
}

div.otBlock {
	background-color: #eee;
	border: 1px solid #aaa;
	margin: 0 0 10px 0;
	padding: 20px;
}



.button {
    display: inline-block;
    background: #f6f6f6;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #c5c5c5;
    color: black;
    text-decoration: none;
}
.button:hover {
	background-color: #ededed;
}

form#loginForm {
	width: 600px;
	padding: 15px;
	margin: 100px auto;
	box-shadow: 0 0 10px 1px #ddd;
	border-radius: 15px;
}

form#loginForm table {
	width: 450px;
	margin: 20px auto;
}


table.balanced td {
	max-width: 400px;
}

@media screen and (max-width: 1400px) {
	input, button {
		padding: 0.2em;
	}
	td {
		padding: .1em;
	}
	ul#menu li a {
		text-align: center;
		width: 80px;
	}
	div#content {
		padding: 0 1%;
		margin-left: 85px;
	}
	body {
		margin: 0;
		font-size: 13px;
	}
	input, button, textarea {
		font-size: 13px;
	}
	form > table > tbody > tr > td:first-child,
	table#fhead td:first-child {
		padding: .2em .5em;
	}
}
@media screen and (max-width: 1300px) {
	.opt {
		display: none !important;
	}
}
