/**
 *  @file tbl.css
 *  @brief tables specific styles
 *  @author CmPi <cmpi@webe.fr>
 *  @date feature 01/01/2016
 */

.tbl table { width: 100%}

div.tbl table tr td {
 vertical-align: middle;
}
/* alignement */

.a_g {	text-align: left; }
.a_d { 	text-align: right; }
.a_j { 	text-align: justify; }

/* couleur */

.c_red     { color: red;  }
.c_green { color: green;}
.c_navy   { color: navy; }
.c_gris  { color: gray; }

.c_gb {
	text-align: left;
    background : #FFF;
}

.c_cb {
    background : #FFF ;
	text-align: center;
}

.c_gg  {
	text-align: left;
    background : #F9F9F9;
	border : 1px solid #ccc ;
	padding-top : 1px;
}

.c_cg  {
    background : #F9F9F9;
	text-align: center;
	border : 1px solid #ccc ;
	padding-top : 1px;
}

.c_gras {
 font-weight: bold;
}

.c_italique {
 font-style: italic;
}

/* BUTTONS */



a.tBtn, button.tBtn {
 display:inline;
 margin:1px 1px 1px 1px;
 font-family: Tahoma, Arial, Verdana, sans-serif;
 font-size:12px;
 line-height:15px;
 text-decoration:none;
 font-weight:bold;
 cursor:pointer;
 padding:0px 2px 2px 7px; 
}

button.tBtn {
    width:auto;
    overflow:visible;
    padding:0px 2px 3px 2px;
}

button.tBtn[type]{
    padding:5px 10px 5px 7px; 
    line-height:17px;
}
*:first-child+html button.tBtn[type]{
 padding:-1px 10px -2px 7px; 
}



button.tBtn img, a.tBtn img{
 padding:0;
 border:none;
 height:16px;
 vertical-align: top;
 margin: 1px -1px -2px -1px !important;
}

a.tBtn img{
 margin: 0px 0px 0px 0px !important;  
}



/* STANDARD */
button.tBtn:hover, a.tBtn:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
a.tBtn:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}
/* POSITIVE */
button.positive, a.tBtn.positive {
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#008000;
}
a.tBtn.positive:hover, button.positive:hover {
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#005000;
}
a.tBtn.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}
/* NEGATIVE */
a.tBtn.negative, button.tBtn.negative{
    color:#d12f19;
}
a.tBtn.negative:hover, button.tBtn.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
a.tBtn.negative:active{
 background-color:#d12f19;
 border:1px solid #d12f19;
 color:#fff;
}

input[readonly] {
 background-color: rgb(238, 238, 238);
 border-width: 0px;
}

.ui-autocomplete,
.ui-datepicker {
 z-index: 120
}

.select.no-images .option-list a {
 padding-left: 1.5rem;	
} 

.select.no-images.no-groups .option-list a {
 padding-left: 0.5rem;	
}

.onerow {
 min-height:auto;
 height:auto;
}
