.subheader:not(:empty) {
    margin-bottom: calc(1rem) !important;
}
.page-header {
    height: auto;
}
.nav-menu li.active:not(.open) > a::before {
    color: #ffc241;
}
.panel-toolbar .btn-panel[data-action="panel-fullscreen"], .panel-toolbar .btn-panel.js-panel-fullscreen {
    background: #1dc9b7;
}
.panel-toolbar .btn-panel[data-action="panel-collapse"], .panel-toolbar .btn-panel.js-panel-collapse {
    background: #ffc241;
}

.subheader:not(:empty) {
    margin-bottom: calc(0.5rem) !important;
}

.bootstrap-select .dropdown-menu .dropdown-menu {
    -webkit-transform: scale(1);
    transform: scale(1);
    visibility: visible;
    opacity: 1;
}

a.btn > i.fa-plus{
    margin-right: 5px;
}

.accordion > .card {
    overflow: visible !important;
}

.sticky-right-menu, .sticky-left-menu, .sticky-menu{
    position: sticky;
    top: 0px;
}

.ribbon {
  position: absolute;
  right: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 93px;
  height: 93px;
  text-align: right;
}
.ribbon span {
  font-size: 0.8rem;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  line-height: 32px;
  transform: rotate(45deg);
  width: 125px;
  display: block;
  background: #79a70a;
  background: linear-gradient(#9bc90d 0%, #79a70a 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 17px; // change this, if no border
  right: -29px; // change this, if no border
}

.ribbon span::before {
    content: '';
    position: absolute;
    left: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid #79A70A;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}
.ribbon span::after {
    content: '';
    position: absolute;
    right: 0%; top: 100%;
    z-index: -1;
    border-right: 3px solid #79A70A;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.red span {
  background: linear-gradient(#8f0808 0%, #520808 100%);
}
.red span::before {
  border-left-color: #8f0808;
  border-top-color: #8f0808;
}
.red span::after {
  border-right-color: #8f0808;
  border-top-color: #8f0808;
}

.blue span {
  background: linear-gradient(#1e5799 0%, #0d2538 100%);
}
.blue span::before {
  border-left-color: #1e5799;
  border-top-color: #1e5799;
}
.blue span::after {
  border-right-color: #1e5799;
  border-top-color: #1e5799;
}
.biblio-item{
    min-height: 190px;
}


#smartwizard .nav-link:not(.active){
  background: #f8f8f8;
}
#smartwizard > .nav .nav-link.active {
  color: #ffffff;
  border-color: #7b1412 !important;
  background: #871613 !important;
  cursor: pointer;
}
#smartwizard > .nav .nav-link.active::after {
  border-left-color: #871613 !important;
}
#smartwizard > .nav .nav-link.started {
  color: #ffffff !important;
  border-color: #dba309 !important;
  background: #dba309 !important;
  cursor: pointer !important;
}
#smartwizard > .nav .nav-link.started::after {
  border-left-color: #dba309 !important;
}
#smartwizard > .nav .nav-link.finished {
  color: #ffffff !important;
  border-color: #319104 !important;
  background: #319104 !important;
  cursor: pointer !important;
}
#smartwizard > .nav .nav-link.finished::after {
  border-left-color: #319104 !important;
}
#smartwizard > .nav > li, #smartwizard > .nav .nav-link {
  text-align: left;
}
#smartwizard > .tab-content > .tab-pane {
  padding: 0px;
}
#smartwizard > .tab-content > .tab-pane > table{
  text-align: center;
}
#smartwizard td.tache-title, #smartwizard td.tache-comments{
  background-color: #666;
  color: #fff;
}
#smartwizard td[class^='tache-']{
  border: none !important;
  border-bottom: 1px solid #666 !important;
}
#smartwizard td.tache-title{
  border-bottom: 1px solid #ccc !important;
}
#smartwizard td.tache-title a, #smartwizard td.tache-comments a{
  color: #666;
}
#smartwizard .colored li a:hover{
  color: #666 !important;
  background-color: #fff!important;
}
#smartwizard tr.tache-details .table th, #smartwizard tr.tache-details .table td{
  padding:0.25rem;
}
#smartwizard tr.tache-details .table-bordered th, #smartwizard tr.tache-details .table-bordered td{
  border: none !important;
  border-bottom: 1px solid #ccc !important;
}
#smartwizard tr.tache-details td.tache-comments{
  border: none !important;
  border-bottom: 1px solid #ccc !important;
}
#smartwizard tr.tache-details td.tache-documents{
  border: none !important;
  border-bottom: 1px solid #666 !important;
}
#smartwizard td.no-border{
  border-bottom: none !important;
}
span.step-finished{ color: #319104; }
span.step-started{ color: #dba309; }

#modal-center .page-first-separator a.page-link, #modal-center .page-last-separator a.page-link{
  background: none;
}

#orders-summary .list-group .list-group-item{
  transition: all 0.5s;
}
#orders-summary .list-group .list-group-item:hover{
  background: none;
  font-weight: 900;
}


#nav-articles{
  background: #1ba8b7;
}
#nav-articles .nav-link{
  background-color: #1ba8b7;
  color: #fff;
}
#nav-articles .nav-link:hover{
  background: rgba(0, 0, 0, 0.25);
}
#nav-articles .nav-link.active{
  background-color: #fff;
  color: #303030 !important;
}


#product_picture, #product_picture_container{
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}
#product_picture_container #pictureDropzone{
  height: 120px;
  min-height: 120px;
  max-height: 120px;
}

#product_picture_container .dropzone{
  padding: 0;
}

#product_picture_container .dropzone .dz-preview{
  margin: 0;
}

.bootstrap-table .page-last-separator .page-link{
  color:#333
}

.bootstrap-table .table thead th.reorderable .movable{
  background-image: url('../img/move-icon.png');
  cursor: move;
  background-position: right;
  background-repeat: no-repeat;
  padding-right: 30px !important;
}
.bootstrap-table .table thead th{
  user-select: none;
}

.nav-menu .nav-title{
  transition: all 0.5s;
  color: #333 !important;
}
.nav-menu .nav-title:hover{
  color: #fff !important;
}


/*
 * Style input number
 */
.numberstyle-qty {
  position: relative;
	border-radius: 6px;
  background-color: #868e96;
  overflow: hidden;
  box-shadow: 0 2px 6px 0 rgba(134, 142, 150, 0.5);
  width: 130px;
}

.numberstyle-qty input,
.numberstyle-qty .qty-btn {
  position: relative;
  display: block;
  float: left;
  height: 40px;
  padding: 0;
  margin: 0;
	border: 0px;
  text-align: center;
  line-height: 40px;
  outline: 0;
  box-shadow: 0px;
  color: #fff;
}
.numberstyle-qty input{
  border: 1px solid #868e96;
}
.numberstyle-qty .qty-btn {
  width: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  user-select: none;
  transition: all 250ms ease;
}

.numberstyle-qty .qty-btn.disabled {
  cursor: default;
  color: #999;
}

.numberstyle-qty input {
  width: 50px;
  border-left: 0;
  border-right: 0;
	color: #747474;
  font-size: 18px;
	font-weight: 700;
  z-index: 1;
}

.numberstyle-qty input:focus {
  outline: 0;
  box-shadow: 0px;
}

.numberstyle-qty input[type=number]::-webkit-inner-spin-button,
.numberstyle-qty input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.numberstyle-qty input[type=number] {
  -moz-appearance: textfield;
}

.products-container .numberstyle-qty {
  transform: scale(0.85);
  margin-top: 5px;
  display: inline-block;
}

.comp-pictures-container{
  overflow: auto;
}

button.panel-fullscreen{
  margin: 12px;
}