body {
	font-family: verdana, sans;
	line-height: 1.4em;
}

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

div.cblock {
	width: 30px; height: 30px; margin: 0 5px; display: inline-block;
}


div#splash { text-align: center; }
div#splash img { margin: 100px 0 50px 0; }
div#splash table { margin: 0 auto; }

div#content {
	padding: 30px 20px;
	margin-left: 110px;
	position: absolute; top: 0;
	background-color: white;
}

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;
	height: 22px; width: 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; 
}


ul#menu ul li a {
	height: 70px;
}


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

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;
}

td {
	padding: 0.2em;
}

th {
	background-color: #007fff;
	color: white;
}

input, button {
	padding: 0.4em;
}

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


input.amount {
	text-align: right;
}

select {
	padding: 5px;
}

tr.head td, #resultset tr.head:hover td {
	background-color: #ddd; border: 1px solid #ccc; color: black; text-align: center; padding: .2em .4em;
}
#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.positive{
	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) */

table.agenda {
	background-image: url(jour_ferie.jpg);
	background-size: cover;
	background-repeat: no-repeat;
}

table.agenda td {
	background-color: white;
}

.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;
}

@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;
	}
}

@media print {
	ul#menu { display: none; }
	div#content {
		padding: 0;
		margin-left: 0;
		position: static;
	}
	span.negative {
		background-color: white;
		color: red;
	}
}
