html, body {
	height: 100%;
}
body {
	font-family: verdana, sans;
	line-height: 1.4em;
	margin:0px;
	padding:0px;
}

body.vis_enhance {
	font-family: monospace;
}
body.vis_enhance input,
body.vis_enhance select {
	font-family: monospace !important;
}

button,input{
	cursor: pointer;
}
h1,h2,h3 {
	color: #666;
	margin-top: 0;
	padding-top: 15px;
}
option[disabled]{
	display:none;
}
div.cblock {
	width: 30px; height: 30px; margin: 0 5px; display: inline-block;
}
div#menu{
	cursor:pointer;	
}
div#content {
	padding: 30px 2%;
	margin-left: 220px;
/*	position: absolute; top: 0; */
	background-color: white;
}
div#content.nomenu {
	margin-left: 0;
	position: relative;
}
div#menu{
	position:fixed;
	background-color:#028AF4;
	list-style-type: none;
	margin:0px;
	padding:0px;
	width:220px;
	overflow:hidden;
	height:100%;
	text-align:left;	
}
div#menu div a {
	color:#FFF;
	text-decoration:none;
	display:block;
	border:none;
	padding:15px 22px;
}
div#menu div:hover{
	background-color: rgba(77,173,247,0.9);
}
div#menu div.lvl_1:hover{
	background-color: rgba(77,173,247,0.9);
}
div#menu div.current,div#menu div.lvl_1.current  {
	background-color: rgba(77,173,247,0.6);
}
div#menu div.sub{
	display:none;
}
div#menu div.lvl_1 {
	list-style-type:none;
	display: none;
	background-color: rgba(77,173,247,0.4);
	padding-left:15px;
	font-size:0.9em;
}
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;
}

td {
	padding: 0.2em;
}

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 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:first-child:hover td{
	background-color:#fff;
}
#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;
}
#resultset tr td{
	height:60px;
}

.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;
}
table.visite{
	width:100%;
}
table.visite tr td:first-child{
	width:19%;
}
div#visite table.visite tr:nth-child(2n){
	background-color:#fff;
}
div#visite table.visite tr:nth-child(2n+1){
	background-color:#eee;
}
table#tab_frnt tr:nth-child(2n+1){
	background-color:#eee;
}
table#tab_frnt tr td:nth-child(n+3){
	text-align:center;
}
div#menu div#foot_lang{
	position:absolute;
	bottom:0px;
}
div#menu div#foot_lang a.lang{
	width:63px;
	display:inline-block;
	text-align:center;
}
div#menu div#foot_lang:hover{
	background-color:#028AF4;
}
div#menu div#foot_lang a.lang:hover{
	background-color: rgba(77,173,247,0.9);
}
tr#content_table td {
	text-align:right;
}
table#geoloc tr:nth-child(2n-1){
	background-color:#eee;
}
table.inner{
	max-width:100%;
	width:auto;
}
table.autorisation tr td{
	text-align:center;
}
table.inner tr.top{
	text-align:right;
}
div.ico_menu{
	display:none;
}
input#enregistrer{ height:26px; width:auto;}
input.delete,input.add{ margin-left:3px; width:40px;}
input#d_frns{ width:150px; height:30px;}

input[type=file] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #EEE;
    background: linear-gradient(to top, #FFF, #DDD);
    border: thin solid rgba(0,0,0, .5);
    border-radius: .25em;
    box-shadow: inset .25em .25em .25em rgba(255,255,255, .5), inset -.1em -.1em .1em rgba(0,0,0, 0.1);
    cursor: text;
    padding: .25em;
}
td#td_frns input#d_frns{
	width:250px;
}

.dropdown {
}


.dropdown dd,
.dropdown dt {
  margin: 0px;
  padding: 0px;
}

.dropdown ul {
  margin: -1px 0 0 0;
}

.dropdown dd {
  position: relative;
}

.dropdown a,
.dropdown a:visited {
  color: #fff;
  text-decoration: none;
  outline: none;
  font-size: 12px;
}

.dropdown dt a {
  background-color: #ccc;
  display: block;
  padding: 8px 20px 5px 10px;
  min-height: 25px;
  line-height: 24px;
  overflow: hidden;
  border: 0;
  width: 272px;
}

.dropdown dt a span,
.multiSel span {
  cursor: pointer;
  display: inline-block;
  padding: 0 3px 2px 0;
}

.dropdown dd ul {
  background-color: #ccc;
  border: 0;
  display: none;
  left: 0px;
  padding: 2px 15px 2px 5px;
  position: absolute;
  top: 2px;
  width: 280px;
  list-style: none;
  height: 250px;
  overflow: auto;
}

.dropdown span.value {
  display: none;
}

.dropdown dd ul li a {
  padding: 5px;
  display: block;
}

.dropdown dd ul li a:hover {
}
form#formu td{
	padding:10px 5px;
}
a.tel{
	background-color: #028AF4;
	text-decoration: none;
	padding: 5px;
	border: 1px solid #028AF4;
	border-radius: 5px;
	margin-left: 5px;
	color:#fff;
}
a.loc{
	background-color: #028AF4;
        text-decoration: none;
        padding: 5px;
        border: 1px solid #028AF4;
        border-radius: 5px;
        margin-left: 5px;
	vertical-align:middle;
	color:#fff;
}

div.clr {
	clear: both;
}


/* ranking */
div#podium div {
        float: left;
        position: relative;
        width: 140px;
        text-align: center;
        margin: 0 20px;
}
div#podium div div {
        background-image: url(bg_beer.jpg);
        background-repeat: no-repeat;
}
img.place {
        position: absolute;
        bottom: 0;
}
p.ca {
        font-weight: bold;
        color: #028AF4;
}
p.name {
        font-weight: bold;
        padding: 320px 0 0 0;
        color: #028AF4;
}

/* camembert */

.bubbles::after { 
	content: '';
	background-image: url(bg_beer.jpg);
	background-position: 50% 50%;
	border-radius: 50%;
	width: 100px;
	height: 100px;
	position: absolute; top:0; left: 0;
	z-index: 9;
}
.pie {
	display: inline-block;
	position: relative;
	width: 100px;
	line-height: 100px;
	border-radius: 50%;
	background: #ddd;
	background-image: linear-gradient(to right, transparent 50%, #fbbf00 0);
	color: transparent;
	text-align: center;
}

@keyframes spin {
	to { transform: rotate(.5turn); }
}
@keyframes bg {
	50% { background: #fbbf00; }
}   

.pie::before {
	content: '';
	position: absolute;
	top: 0; left: 50%;
	width: 50%; height: 100%;
	border-radius: 0 100% 100% 0 / 50%;
	background-color: inherit;
	transform-origin: left;
	animation: spin 50s linear infinite, bg 100s step-end infinite;
	animation-play-state: paused;
	animation-delay: inherit;
}




td.red { color: red; }
th {
	background-color: #028af4;
	color: white;
	padding: 3px 10px;
}

@media screen and (max-width: 1400px) {
	input, button {
		padding: 0.2em;
	}
	td {
		padding: .1em;
	}
	div#content {
		padding: 0 1%;
	}
	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: 10px 20px;
	}
}
@media screen and (max-width: 1300px) {
	.opt {
		display: none !important;
	}
	input,a.tel,a.loc,select,button,textarea{
		padding:10px 15px;
		margin-left:5px;
		font-size: 1.2em;
	}
}
@media screen and (max-width:600px),handheld and (max-width:600px){	/* H P9 vertical */

	div#podium div {
		width: 90px;
	}

	button{
		-webkit-appearance: none;
		margin-top:10px;
	}
	/* +- bon*/
	form#formu td{
		padding:15px 5px;
	}
	div#content{
		margin-left:0px;
		padding:0;
		max-width:100%;
		width:100%;
	}	
	form > table{
		max-width:98%;
		width:98%;
	}
	form > table > tbody > tr > td {
padding: 20px;
		display:block;
		width:auto;
		max-width:99%;
		text-align:left !important;
		font-size:15px;
		font-weight:bold;
	}
	td{
		border-radius:3px;
	}
	table.visite > tbody > tr{
		background-color:#fff !important;

	}
	table.visite > tbody > tr > td{
		display:block;
                width:99% !important;
                max-width:99%;
                text-align:left !important;
                font-size:15px;
                font-weight:bold;
	}
	table.visite > tbody > tr > td:first-child{
		background-color:#eee;
	}
	table.visite input,textarea,select{
		max-width:99%;
                width:99%;
                padding:0px;
		height:50px;
	}
	form > table > tbody >tr > td > select,textarea,input{
		max-width:99%;
		width:99%;
		padding:0px;
		height:50px;
	}
	form > table > tbody >tr > td > input{
		width:99%;
                max-width:99%;
		padding:0px;
	}
	form table.inner{
		width:100%;
		max-width:100%;
	}
	table.inner select{
		width:35%;
	}
	table.inner tr td:nth-child(2n){
		text-align:center;
	}
	input,select{height:40px; padding:5px;}
		
	input.smallNum{
		width:50px;
		height:35px;
	}
	div#menu div.ico_menu{
		display:block;
		max-width:100%;
		width: 100%;
		font-size:36px;
		line-height:initial;
		height:auto;
		background-color: #fff;
	}
	div#menu div.ico_menu:hover{
		background-color:#ddd;
	}
	div#menu{ 
		display: block; 
		height: auto;
		position: static; 
		margin: 0; 
		z-index:99; 
		max-width:100%;
		background-color:#fff;
	}
	div#menu div#foot_lang{ position:relative;}
	div#menu div#foot_lang a.lang{ max-width:100%; text-align:left;}
       	div#menu.unroll { height: auto; background-position:top left; width:100%; background-color:#028AF4; }
        div#menu div { display: none; }
        div#menu.unroll div { display: block; max-width:100%; margin:0px; left:0px; }
        div#menu.unroll div a{ display: block; }
	div#menu div#li_type{display:none;}
	div#cke_todo, div#cke_rapport, div#cke_investissement, div#cke_com_biere{ width:auto !important; max-width:100%;}

	div#menu div {
		font-size: 2em !important;
		padding: 20px;
	}
	div#menu div.lvl_1 {
	}

	 div#menu.unroll div.lvl_1{
                display:none;
		font-size: 1.6em;
                position:relative;
                top:0;
                left:0;
                margin:0px;
		padding: 20px 20px 20px 40px;
                /*padding:0px;*/
        }
	span.sp{
                z-index:999;
                margin-right:-25px;
                padding:5px;
        }

	div#fourniture{ padding:5px;}
	div#visite{ padding:5px;}
	table#files_tab{ width:100%;}
	div#tabs{ max-width:98%; padding:1%;}
	form{ width:100%;max-width:100%;}

	form#formu > table,form#loginForm > table{
		margin:0px auto;
	}
	input#csv,input#pdf{
		float:left;
		width:75px;
		height:75px;
	}
	#tel,#tel2,#g_autre,#g_gerant,#g_patron{
		width:70%;
	}

	.ui-datepicker {
		width: auto !important;
	}
	.ui-datepicker td {
		font-size: 2em !important;
	}

}
