/* generics */
html {width: 100%; height: 100%;}
body {padding-top: 90px; overflow: scroll!important; overflow-x: auto!important; padding-left: 0!important; padding-right: 0!important; }
a {text-decoration: none!important;}

.user-select-none { user-select: none!important; }
.cursor-text {cursor: text!important;}

.table {}
.table th {font-size: 12px!important; white-space: nowrap; text-transform: uppercase}
.table th i {margin-left:5px; color:#999;}
.table th.active {background: #ccc}
.table th.active i {color: #333}

.table-normal td {padding-top: 8px; padding-bottom: 8px; font-size: 15px;}
.table-sm th {padding-top: 5px; padding-bottom: 5px; font-size: 14px;}
.table-sm td {padding-top: 5px; padding-bottom: 5px; font-size: 14px;}


td.min {width: 10px!important;}
.badge {padding: 5px 10px; border-radius: 5px;}

.modal {padding-left: 0!important; padding-right: 0!important;}
.modal-dialog {margin-top: 80px;}

.modal-account-search {margin-top: 10px;}
.modal-account-search .modal-dialog {margin-top: 0px!important;}

.modal-account-form  {margin-top: 10px;}
.modal-account-form .modal-dialog {margin-top: 0px!important;}

.modal-search .modal-dialog {margin-top: 40px;}
.modal-header, .modal-footer {border:0}

.modal-open {
	padding-right: 0px !important;
}

.modal-account-form {margin-top: 0!important;}
.modal-account-form .modal-body {overflow-y: scroll!important; max-height: 650px;}

.bg-info-light {background-color:#D9EDF7;}

.tag {background: #3a87ad!important; font-size: 13px;}

/* forms */
input[type=number],input[type=date] {text-align: center}
.required:after {content: " * "; color: red; margin-left: 3px;}
.custom-control-label, .custom-select, select {cursor: pointer!important;}
.btn:hover {text-decoration: none!important;}

.select2-container .select2-selection--single {
	border-radius: 0!important;
	height: 37px!important;
	padding: 3px 3px!important;
	border-color: #ccc!important;
}

.custom-file-input ~ .custom-file-label:lang(fr)::after {
	content: "Choisir...";
}
.custom-file-input, .custom-file-label {cursor: pointer;}

.input-date {
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MO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GVuZD0iciI/Pnxfh6UAAAFJSURBVHjanJNbK0RhFIb33r5hcigyIVKiiPALpMaFicjh3pVy49/JhQt/wD9wJ6WIjDA0zIF36dlZ7XaarHr6zmu9a+21o+jXRsWGiKO/rSLG0kUQ2yIRQ2JK9Iqm6Mo8bLO3JMZF1fYCkc9FUVyJGy5nlXyx9wDvomwH69H/rRyQY54aRIg7eNgm/cnEPYjJ0cY6khtg8w/u2djywbZyIoScvSTnrGIRF8Wl2yyJYwq1JpZRdCCuxRHrW7EQkOftRZyKOypt9izOxJM4EfdZWeZkVhzSBzOin75I53beQx+U0neJK6A1z6tzHDP6OzYfoWd+zGowTw2aSK1SaRtr4hHHn0i/cCnM+RSmxb4Ypr0nxIpYpfd3xWBeU+w4NQPM+5BbhJg6ZG3TvkKBRcvV4I2x7i7XchwUAp73yDHp8B+wVu42xd8CDADWsUXoiPqVNgAAAABJRU5ErkJggg==') no-repeat;
	background-position: right 10px center;
}

.table-account-ventilations {}
.table-account-ventilations tbody tr> td{background-color: #CCECFF;}




/* ajax */
#ajaxer {position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999; background: rgba(255,255,255,0.8); text-align: center; display: none; }
#ajaxer i {margin: auto; font-size: 65px; color: #F39A00; margin-top: 30vh; transform: translateY(-50%);
	-webkit-animation: fa-spin 0.4s infinite linear;
	animation: fa-spin 0.4s infinite linear;
}



/* utils */
.cursor-pointer {cursor: pointer}
.nowrap {white-space: nowrap!important;}

/* datatable */
.datatable {}
.datatable th.sortable {cursor: pointer; }
.datatable th.sortable:hover {background: #e5e5e5;}


/* account */
.td-export-Total {
	white-space: nowrap;!important;
}
.col-Information {
	max-width: 50px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px!important;
}


/* interface */
.top-bar {border-bottom: 1px solid #666; background: white; position: fixed; z-index: 1024; width: 100%; top: 0; left: 0; height: 65px; overflow: hidden}
.top-bar .col-logo {padding-top: 0; padding-right: 0; padding-left: 20px; text-align: left;}
.top-bar .logo {height: 45px; margin-top: -5px;}


.menu {background: #1D354D; height: 40px; line-height: 40px;  position: fixed; z-index: 1024; width: 100%; top: 55px; left: 0;}
.menu li {margin: 0!important; padding: 0!important;}
.menu a {color: white; font-size: 18px; display: inline-block; height: 100%; padding: 0 30px;  margin: 0!important;}
.menu a:hover  {background:#666;}
.menu li.active a {background: cornflowerblue;}


.dropdown-menu {padding: 0;}
.dropdown-menu .dropdown-item {padding: 8px 15px;}
.dropdown-menu .dropdown-item i {margin-right: 5px;}
.dropdown-menu hr {padding: 0px; margin:8px 0;}


.popover {z-index: 1026!important; width: auto; min-width: 275px;}
.popover-body {white-space: nowrap;}


.table-transfer-convertor {}
.table-transfer-convertor td {vertical-align: center!important;}
.table-transfer-convertor .form-control {padding: 2px 4px; height: auto;}


.select2-container--default .select2-results__option
{
	min-height: 32px;
}

.select2-container--open {
	font-size: 14px!important;
	font-family: "Open Sans"!important;
}
.select2-results__option {
	padding-top: 2px!important;
	padding-bottom: 2px!important;
}
.table-transfer-convertor .select2-container {
	height: 24px!important;
	overflow: hidden!important;
	line-height:normal!important;
	margin-top: 0!important;
	padding: 0!important;
	top: 0px!important;
	font-size: 12px!important;
}
.table-transfer-convertor .select2-container .select2-selection--single {
	line-height:normal!important;
	margin-top: 0!important;
	padding: 0!important;
	font-size: 12px!important;
	height: 24px!important;
}

.table-transfer-convertor .select2-container--default.select2-container--disabled .select2-selection--single {
	background-color: #aaa;
}

/*
.datatable .td-export-VAffectation {width: auto!important;}
.datatable .td-export-Nature {width: auto!important;}
.datatable .td-export-VMontant {width: auto!important;}
.datatable .td-export-VDate {width: auto!important;}
.datatable .td-export-VBeneficiaire {width: auto!important;}
.datatable .td-export-VReference {width: auto!important;}
*/

/*
.datatable .td-export-VReference
{
	max-width: 300px;
	overflow: hidden;
	white-space: normal!important;
	font-size: 12px!important;
	
}
 */

.table-account-ventilations {}
.table-account-ventilations .td-VID {width:10px!important; white-space: nowrap!important;}
.table-account-ventilations .td-export-VAffectation {width:auto!important; white-space: nowrap!important;}
.table-account-ventilations .td-export-Nature {width:10px!important; white-space: nowrap!important;}
.table-account-ventilations .td-export-VMontant {width:10px!important; white-space: nowrap!important;}
.table-account-ventilations .td-export-VDate {width:10px!important; white-space: nowrap!important;}
.table-account-ventilations .td-export-VBeneficiaire {width:10px!important; white-space: nowrap!important; }
.table-account-ventilations .td-export-VReference {width:auto!important; white-space: normal!important; font-size: 12px!important;}

