body { 
	font-family: helvetica;
	padding-top: 70px;
}


.container-fluid {
	min-width: 1000px;

}

.table_pieces td {
	padding: 5px 6px;
	font-size: 13px;
	border: 1px solid #ccc;
}

.table_pieces tr.piece {

}

.table_pieces .id {
	width: 95px;
	text-align: center;
}

.table_pieces .date_facturation {
	width: 100px;
	text-align: center;
}

.table_pieces .center {
	text-align: center;
}

.table_pieces .contact {
	width: 200px;
	text-align: center;
}

.table_pieces .contact a {
	color: #000;
}

.table_pieces .description {
	width: 250px;
	text-align: center;
}

.table_pieces .projet {
	width: 180px;
	text-align: center;
}

.table_pieces .projet a {
	color: #000;
}

.table_pieces .montant_ttc {
	width: 110px;
	text-align: right;
}

.table_pieces .montant_ht {
	width: 110px;
	text-align: right;
}

.table_pieces .total {
	text-align: right;
}

.table_pieces .montant_paye {
	width: 110px;
	text-align: right;
}

.table_pieces .date_echeance {
	width: 80px;
	text-align: center;
}

.table_pieces .date_paiement {
	width: 80px;
	text-align: center;
}

.table_pieces .email {
	width: 230px;
	text-align: center;
	overflow: hidden;
}

.table_pieces .iban {
	width: 280px;
	text-align: center;
	padding: 2px;
}

.table_pieces th {
	background: #eee;
	padding: 6px 6px;
	font-size: 15px;
	text-align: center;
	border: 1px solid #ccc;
}

.table_pieces .icones {
	text-align: center;
	width: 80px;
}


.table_pieces {
	border: 1px solid grey;
	width: 100%;
}

.table_pieces .button-project-detail {
    opacity: 0;
}


.montant_negatif {
	color: #FF0000;
}

.montant_estimatif {
	font-style: italic;
}

.montant_positif {
	color: #1C8D06;
}

.statutpaye_paye {
	background: #C0FFC0;
}

.statutpaye_semipaye {
	background: #FFFFC0;
}

.statutpaye_neutre {
}

.statutpaye_nonpaye {
	background: #FFC0C0;
}

.statutvirement_none {

}

.statutvirement_planifie {
	-webkit-box-shadow:inset 15px 0px 0px 0px #5bc6de;
    -moz-box-shadow:inset 15px 0px 0px 0px #5bc6de;
    box-shadow:inset 15px 0px 0px 0px #5bc6de;
}

.statutvirement_envoye {
	-webkit-box-shadow:inset 15px 0px 0px 0px #9483c7;
    -moz-box-shadow:inset 15px 0px 0px 0px #9483c7;
    box-shadow:inset 15px 0px 0px 0px #9483c7;
}


.piecetype_1 {
	background: #C0C0FF;
}

.piecetype_1:hover {
	background: #999BFF;
}

.piecetype_2 {
	background: #FFFFC0;
}

.piecetype_2:hover {
	background: #FEFF85;
}

.piecetype_3 {
	background: #FFC0FF;
}

.piecetype_3:hover {
	background: #FE99FF;
}

.piecetype_4 {
	background: #C0C0C0;
}

.piecetype_4:hover {
	background: #ACACAC;
}

.piecetype_5 {
	background: #FAE39E;
}

.piecetype_5:hover {
	background: #F9D677;
}

.piecetype_6 {
	background: #C0FFC0;
}

.piecetype_6:hover {
	background: #99FF99;
}

.piecetype_7 {
	background: #C1FFF8;
}

.piecetype_7:hover {
	background: #85FFF2;
}

.piecetype_8 {
	background: #FF8181;
}

.piecetype_8:hover {
	background: #FF3131;
}

.piecetype_9 {
	background: #FFC0FF;
}

.piecetype_9:hover {
	background: #FE99FF;
}

.piecetype_10 {
	background: #FFC0FF;
}

.piecetype_10:hover {
	background: #FE99FF;
}

.piecetype_11 {
	background: #FFC0FF;
}

.piecetype_11:hover {
	background: #FE99FF;
}


.piecetype_12 {
	background: #C8A7FF;
}

.piecetype_12:hover {
	background: #AC90DC;
}


.piecetype_13 {
	background: #FFDAF7;
}

.piecetype_13:hover {
	background: #E4C3DD;
}

.piecetype_14 {
	background: #FFDAF7;
}

.piecetype_14:hover {
	background: #E4C3DD;
}


.navbar {
	background: #7f1313;
	border-bottom: 1px solid red;
}

.navbar-brand {
	margin-top: -5px;
}

/* navbar */
.navbar-default {
    background-color: #7f1313;
    border-color: #480606;
}
/* title */
.navbar-default .navbar-brand {
    color: #777;
	padding: 14px 40px 0 40px;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #5E5E5E;
}
/* link */
.navbar-default .navbar-nav > li > a {
    color: #fff;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #b5b5b5;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background: #c32e2e;
}
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background: #c32e2e;
}
/* caret */
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #777;
    border-bottom-color: #952c2c;
}

.navbar-form .input-search {
	width: 250px;
}

#searchclear {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    height: 14px;
    margin: auto;
    font-size: 14px;
    cursor: pointer;
    color: #ccc;
}

.highlighted {
    background-color: yellow;
}

.modal.fade .modal-dialog {
     -webkit-transform: translate(0, 0);
     -ms-transform: translate(0, 0); // IE9 only
         transform: translate(0, 0);

}

.fade {
    opacity: 0;
    -webkit-transition: opacity .10s linear;
    transition: opacity .10s linear;
}

.modal-content {
	margin-top: 140px;
}

.modal-body {

}

.modal-dialog-piece-edit {
	width: 1000px;
	height: 800px;
}

.form-group {
	margin-bottom: 5px;
}

.form-paiement-add  {
	display: inline;
	line-height: 30px;
}

.form-paiement-add input {
	width: 120px;
	display: inline;
}

.input_montant {
	width: 150px;
	text-align: right;
	display: inline;
}

.input_montant_small {
	width: 50px;
	text-align: right;
	display: inline;
}

.input_type_small {
	width: 120px;
	display: inline;
}


.input_date {
	width: 150px;
	text-align: center;
}

.input_date_small {
	text-align: center;
}

#input_bic {
	width: 200px;
	display: inline;
}

#input_compte_fournisseur {
	width: 200px;
}

#input_compte_charge {
	width: 140px;
}

.control-label {
	padding: 7px 0 0 0;
}

.clear {
	clear: both;
}

.table-paiements {
	font-size: 14px;
}

.table-paiements .paiement-montant {
	text-align: right;
}

.paiements_raccourcis {
	line-height: 40px;
	text-align: center;
}

.paiements-col2 {
	padding-left: 50px;
}

#contact_group {
	margin-top: 5px;
}


.tt-query, /* UPDATE: newer versions use tt-input instead of tt-query */
.tt-hint {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.tt-query { /* UPDATE: newer versions use tt-input instead of tt-query */
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999;
}

.tt-menu {
    width: 422px;
    margin-top: 2px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    z-index: 100;
    list-style: none;
}

.autocomplete-wrap {
    position: relative;
}

[x-cloak] {
    display: none !important;
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 14px;
    line-height: 18px;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #fff;
  background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;
}

#input_contact_name, #input_projet_name {
	width: 293px;
}

#input_numero_objet {
	width: 293px;
}

.delete_icon {
	color: red;
	cursor: pointer;
	margin-top: 2px;
}

.add-id {
	font-size: 70px;
	text-align: center;
}

#add-message {

}

.table_cards {
	width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.table_cards th {
	text-align: center;
}

.table_cards td {
	text-align: right;
}

.nav_mois_menu {
	text-align: center;
}

#mois_menu {
	max-height: 300px;
    overflow-y: auto;
}

.table-contacts {
	font-size: 14px;
}

.table-contacts td {
	cursor: pointer;
}

.table-projets {
	font-size: 14px;
}

.table-projets td {
	cursor: pointer;
}

.table-projets .montant {
	width: 11%;
}

.table-projets .badges {
	width: 90px;
}

.table-projets .date {
	width: 15%;
}

.table-projets .client {
	width: 20%;
}

.table-projets .icons {
	width: 40px;
	text-align: center;
}

.montant {
	text-align: right;
}


.table_pointage th {
	background: #eee;
	padding: 6px 6px;
	font-size: 15px;
	text-align: center;
	border: 1px solid #ccc;
}

.table_pointage {
	border: 1px solid grey;
	width: 100%;
}

.table_pointage td {
	padding: 5px 6px;
	font-size: 13px;
	border: 1px solid #ccc;
}

.table_pointage .date {
	width: 100px;
	text-align: center;
}

.table_pointage .nom {
	text-align: center;
}

.table_pointage .montant {
	width: 120px;
	text-align: right;
}

.table_pointage .icons {
	width: 70px;
	text-align: center;
}

#container_pieces {
	transition: opacity 0.1s;
}

/* Notifications (notify() dans app.js) */
#toasts {
	position: fixed;
	top: 60px;
	right: 15px;
	z-index: 2000;
	width: 360px;
	max-width: calc(100% - 30px);
}
#toasts .alert {
	margin-bottom: 8px;
	box-shadow: 0 3px 10px rgba(0,0,0,.25);
	cursor: pointer;
	word-break: break-word;
}

/* htmx : chargement en cours (classe posée par hx-indicator, ou sur body pour htmx.ajax) */
#container_pieces.htmx-request,
body.htmx-request #container_pieces {
	opacity: 0.5;
}

.clickable {
	cursor: pointer;
}

.link {
	color: #337ab7;
	cursor: pointer;
}

.link:hover {
	color: #23527c;
}

.simple-label {
	margin-top: 7px;
}

.entree_choose_piece_nom_input {
	width: 400px;
}

#menu_cards {

	float: left;
	line-height: 40px;
}

#menu_uploadcsv {
	float: right;
	line-height: 40px;
}

.piece_edit_clickable {
	cursor: pointer;
}

.label-preprod {
    background-color: #cda940;
}

.label-shoot {
    background-color: #7f1313;
}

.label-postprod {
    background-color: #0097cf;
}

.form-group input[type=checkbox] {
    margin-top: 10px;
}

#loader {
	position: absolute;
	top: 300px;
	width: 100%;
	text-align: center;
	display: none;
}

.icon_virement_toggle {
	float: left;
	color: darkgray;
}

.icon_virement_toggle_on {
	color: #415c5e;
}


#btn_virement {
	text-align: center;
}

.input_virement {
	display: inline-block; /* .form-control est en block : garde l'alignement de la cellule */
}

.input_virement_nom {
	width: 350px;
}

.input_virement_montant {
	width: 100px;
	text-align: right;
}


.hidden2 {
	display: none;
}

#button_findbic {
	display: inline;
}

#form_mastercard_import textarea {
	line-height: 12px;
	padding: 2px;
}

#print_title {
	display: none;
}


@media print {
	#nav-months, #menu_cards {
		display: none;
	}
	#print_title {
		display: block;
		font-size: 22px;
		font-weight: bold;
		text-align: center;
		margin-bottom: 40px;
		margin-top: -80px;
	}
}