/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/*      TABLES FORMS STYLES                                        */
/*                                                                 */
/*                                                                 */
/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */


.table{
	float:left;
	margin-top:10px;
	max-width:100%;
	font-size:12px;
	border:1px solid #e6e6e6 !important;
	border-collapse:collapse;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.table > thead th{
	background-color: #E6E6E6;
	height:27px;
	white-space:nowrap;
	border-color: #FFF ;
	border: 1px solid white;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size:12px;
}

.table input[type=checkbox]{margin-top:5px !important;}

.table > thead th,
.table > thead input,
.table > thead select,
.table > tbody td		{font-size:11px}

	@media screen and (max-width:1200px){
		.table > thead th,
		.table > thead input,
		.table > thead select,
		.table > tbody td		{font-size:10px}
	}

.table > thead th:first-child{
	border-left-color:#E6E6E6 !important
}

.table > thead th:last-child{
	border-right-color:#E6E6E6 !important
}

.table > thead{
    border: 1px solid #e6e6e6 !important;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.table > thead > tr > th > span{
    cursor: pointer;
	-webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */

    /* No support for these yet, use at own risk */
    -o-user-select: none;
    user-select: none;
    line-height:12px !important;
}

.table th, .table td{
	vertical-align: middle !important;
	text-align:center;
	padding:2px !important;
}

.table > tbody > tr{
	height:50px;
}

.table > tbody > tr:hover > td{
	background-color:#FFCD00;
	color:#786E64;
	cursor:pointer;
}

.table.no-bg-hover > tbody > tr:hover > td{
    background-color: transparent;
    cursor:initial;
    color: initial;
    
}

.table > tbody > tr:nth-child(odd){
    background-color: #f2f2f2;
}

.table > tbody > tr:nth-child(even){
    background-color: #FFF;
}

.table:not(.table-striped) > tbody > tr > td{
	border: 1px solid #e6e6e6 !important;
}

.table > tbody > tr > td.title-overflow{
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 150px;
}

.table > tfoot{
	width: 100%;
    background-color: #f2f2f2;
}

.table > tfoot > tr > td > div.col-2:first-child{
	height:75px;
	line-height:75px;
}

.ico-order{
	display: inline-block;
	width: 5px;
	height: 11px;
	background-image: url(../images/tables/ico-order.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}

.ico-order.orderUp{
    background-position: bottom center;
}

.ico-order.orderDown{
	background-position: center;
}

.row-red { background-color: #F9EFEF !important; }

.table:not(.table-striped) > tbody > tr > td.border-side {
  border-left: solid 5px red !important;
}


/* TABLE OPTIONS */
.tableOptions{
	height:40px;
}

.tableOptions button{
	margin-left:10px;
}


/* PAGINATION */
.pagination > li{
	display:inline-block;
	width:25px;
	height:25px;
	background-color:white;
	border:1px solid #E6E6E6;
}

.pagination > li > a{
	display:inline-block;
	color: #776D63;
	text-decoration:none;
	width:23px;
	height:23px;
	line-height:23px;
	font-size:12px;
}

.pagination > li > a:hover{
	color: #776D63;
}

.pagination > li > a:hover, .pagination > li > a:focus{
	border-color: #776D63;
	background-color: #776D63;
	color:white;
	cursor: pointer;
}

.pagination > .active > a{
	color: #FFF;
	background-color:#776D63;
	border-color: #CCC;
}

.selectAll {
  width: 20px;
}

table.table.table-purge {
    width: auto!important;
    margin-right: 5%;
    table-layout: auto;
}

.col-purge {
	width: 15%!important;
}


.api-financement-table {
	max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
}

.api-financement-table table {
    width: 100%;
    margin-bottom: 0;
}

.api-financement-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Add some padding to account for scrollbar */
.api-financement-table table thead th:last-child {
    padding-right: 24px;
}

/* OBJECTS TABLE */
.objectTable									{float:left; width:100%; background-color:#E6E6E6; border:1px solid #CCC; padding:5px; margin:2.5px 0; min-height:50px;}
.objectTable:nth-child(even)					{background-color:#F2F2F2;}
.objectTable:hover:not(.minHeight25)			{background-color:#FFCD00; color:#786E64; cursor:pointer;}
