body{
  font-size:14px;
}

.bg-login {
  justify-content:center;
  align-items:center;
}
.bg-login img {
  max-width:80%;
  margin: 2rem;
}

.bg-gradient-primary {
  background-color: #333;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #333), to(#444));
  background-image: linear-gradient(180deg, #333 10%, #444 100%);
  background-size: cover;
}

.dataTables_length,
.dataTables_filter {
  padding:3px;
}

.dataTable td img,
.table td img{
  max-height: 150px;
}
a:not([href]):not([tabindex]){
  /*color: #fff;*/
}

textarea {
  min-height:12rem;
}

.input-group-addon {
  width:auto;
  line-height:19px;
}

.card .card-header {
  overflow: hidden;
  font-weight:bold;
  color:#333;
}

.card {
  border: 1px solid #ddd;
  border-radius: 0px;
}

.info-row{
  margin-bottom:0.5rem;
}
.info-row .info-row-label{
  color:#333;
  font-weight:bold;
  margin-bottom: 0.3rem;
  font-size:0.8rem;
}
.info-row .info-row-label span + a,
.info-row .info-row-label a + a,
.info-row .info-row-value span + a,
.info-row .info-row-value a + a,
.card .card-header span + a,
.card .card-header a + a{
  margin-left:0.5rem;
}

.nav-pills li a{
  padding: 0.5rem 0.8rem;
  font-size:0.8rem;
  color:#333;
}
.nav-pills li a.active {
  color:#fff;
  background-color:#333;
}
.dtp{
  z-index: 100000000;
}

.section-title{
  margin-bottom: 2rem;
  color: #666;
  font-size:1.4rem;
  font-weight:bold;
  border-bottom:1px solid #aaa;
}

table td a.btn + a.btn {
  margin-left: 0.2rem;
}

.info-row .label {
  font-size:0.9rem;
  margin-left: 0.2rem;
}

.dtp div.dtp-date, .dtp div.dtp-time{
  padding-top: 40px;
}

.card-header > span {
  display:inline-block;
  line-height:28px;
}

.card-header .card-header-title {
  color: #666;
  text-transform:uppercase;
  margin-right:1rem;
  display: inline-block;
  float: left;
  font-size: 18px;
}

.table > thead > tr > th,
.table > tbody > tr > th{
  background-color:#eee;
}

.bg-th{
  background-color: #ddd;
}
th.col-qte{
  width: 100px;
}

input.error { border: 1px solid red; }
label.error {
  padding-left: 16px;
  margin-left: .3em;
}
label.valid {
  display: block;
  width: 16px;
  height: 16px;
}

.form-control.error {
  color: #6e707e;
  font-size: 1rem;
  /* position: relative; */
  line-height: 1.5;
  width: 100%;
}

label.error {
  font-size: small;
  color: red;
  padding-left: 0px;
  width: 100%;
}

span.help-block {
  display: inline;
}

div.my_select2 {
  width: 100% !important;
}

div.add-select2 {
  line-height: 3rem;
}

th.total-col,
td.total-col{
  width:80px;
}

.box-info{
  border:1px solid #ddd;
}
.box-info .box-info-header{
  padding: 8px;
  border-bottom: 2px solid #ddd;
  background-color:#eee;
  font-size:12px;
  font-weight:bold;
}
.box-info .box-info-body{
  padding: 0.25rem;
}

/* CUSTOM RADIO BUTTONS FOR PROJET TYPE */

div.custom-radio-group input[type="radio"] {
  display: none;
}
div.custom-radio-group input[type="radio"]:not(:disabled) ~ label {
  cursor: pointer;
}
div.custom-radio-group input[type="radio"]:disabled ~ label {
  color: #bcc2bf;
  border-color: #bcc2bf;
  box-shadow: none;
  cursor: not-allowed;
}
div.custom-radio-group label {
  height: 100%;
  display: block;
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  box-shadow: 0px 3px 10px -2px rgba(161, 170, 166, 0.5);
  position: relative;
}
div.custom-radio-group input[type="radio"]:checked + label {
  background: #007bff;
  color: white;
  box-shadow: 0px 3px 10px -2px rgba(161, 170, 166, 0.5);
  /*box-shadow: 0px 0px 20px rgba(0, 255, 128, 0.75);*/
}
div.custom-radio-group input[type="radio"]:checked + label::after {
  color: #3d3f43;
  font-family: FontAwesome;
  border: 2px solid #30abff;
  content: "\f00c";
  font-size: 24px;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0px 2px 5px -2px rgba(0, 0, 0, 0.25);
}
@media only screen and (max-width: 700px) {
  div.custom-radio-group {
    flex-direction: column;
  }
}

.fc-content {
  color: #FFF;
}
.fc-content {
  font-weight:bold;
}
footer.sticky-footer{
  padding: 1rem 0;
}

th.bg-light {
  background-color:#ddd !important;
}

#wrapper #content-wrapper {
  background-color:#eee;
}

.sort-btn, .page-btn {
  cursor: pointer;
}

table.table-show td:first-child,
table.table-form td:first-child{
  width:5%;
  white-space:nowrap;
  padding-right:1rem;
}

a.table-link{
  margin-right:10px;
}

a.table-link i{
  margin-right:2px;
}
.select2-drop {
  z-index: 100000000;
}

.list-header {
  margin-bottom:0.5rem;
}
.pagination a:hover{
  cursor:pointer;
}

.border-lg {
  border-width:5px;
}

div.min-empty {
  min-height:16px;
}
div.pre,
td.pre{
  white-space: pre-line;
}

.help-title{
  color: #444;
  font-size:1.2rem;
  margin-bottom:1rem;
  border-bottom:1px solid #aaa;
  text-transform:uppercase;
  display:block;
}

.help-subtitle{
  color: #444;
  font-size:1rem;
  font-weight:bold;
  margin-bottom:1rem;
  display:block;
}

button.dropdown-toggle > span.caret {
  display:none;
}

div.help-text{
  white-space: pre-line;
  margin-bottom: 1rem;
}
div.help-text img{
  max-width:100%;
}
a.dynamic-add-btn {
  color: #fff!important;
}

/* PRINTABLE */

.printable-document {
  font-size:11px;
}
.printable-document,
.printable-document table{
  color: #333;
}
.printable-document.alfa,
.printable-document.alfa table{
  color: #07205A;
}
.printable-document .table > thead > tr:first-child > th,
.printable-document .table > tbody > tr > td,
.printable-document .table > tbody > tr > th,
.printable-document .table > tfoot > tr > td,
.printable-document .table > tfoot > tr > th{
  padding: 2px;
  border: 1px solid #666;
}
.printable-document .table > thead > tr > th,
.printable-document .table > tbody > tr > th,
.printable-document .table > tfoot > tr > th{
  background-color:#ddd !important;
}
.printable-document.alfa .table > thead > tr > th,
.printable-document.alfa .table > tbody > tr > th,
.printable-document.alfa .table > tfoot > tr > th{
  /*background-color:#07205A !important;*/
  background-color:#1674CA !important;
  color: #fff;
}
@page {
  size: Letter;
  margin: 3mm;
}
@media print {
  html, body{
    font-size: 11px;
  }
  .printable-document {
    width: 210mm;
    height: 273mm;
  }
  /* ... the rest of the rules ... */
}

span.select2-chosen{
  max-width: 1600px;
}

.grille-projet {
  min-height:500px;
}
.grille-projet > div {
  border-right: 1px solid #ddd;
}
.grille-projet .grille-header{
  text-transform: uppercase;
  font-weight:bold;
  border-bottom:1px solid #ddd;
  margin-bottom:1rem;
}
.grille-projet .projet-box{
  overflow:auto;
  padding:0.5rem;
  border: 1px solid #ccc;
  background-color:#f4f4f4;
  margin-bottom:1rem;
}
.grille-projet .projet-box:hover{
  border: 1px solid #aaa;
}
.grille-projet .projet-box .title{
  font-weight:bold;
  font-size:1.1rem;
}
.grille-projet .projet-box .status{
  padding: 0.2rem;
  background-color:#fff;
  border:1px solid #ddd;
  float:right;
  text-align:right;
  font-weight:bold;
  border-radius: 6px;
}
.grille-projet .projet-box .status .responsable{
  border-top:1px solid #eee;
  text-transform:uppercase;
}
.grille-projet .projet-box .status .note{
  font-weight:normal;
}
.grille-projet .projet-box .date{
  font-style:italic;
  color:#333;
}
.grille-projet .projet-box i.fabrication{
  color: #000;
}
.grille-projet .projet-box i.fabrication.terminee{
  color: green;
  font-weight:bold;
}

#Home td.col-lg-2 {
  width:30%;
}
.topbar.navbar-light .navbar-nav .nav-item .nav-link{
  color: #666;
}
.select2-chosen, .select2-choice > span:first-child, .select2-container .select2-choices .select2-search-field input{
  padding: 6px 10px;
}

#loading{
  background-color:#ccc;
  position:fixed;
  top:0px;
  left:0px;
  right:0px;
  bottom:0px;
  opacity:0.6;
  z-index:999;
  display:none;
  text-align:center;
}
#loading > div{
  width:400px;
  height:40px;
  margin:auto;
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  font-size:45px;
  color: #000;
  opacity:1;
  z-index:9999;
}

.card-header span.status{
  text-transform: uppercase;
  font-size:1.2rem;
}
.card-header span.actif{
  color: darkgreen;
}
.card-header span.inactif{
  color: darkgrey;
}
