/*
	NOTE
	color: #003399;
*/
body {
  font: 13px Arial, Helvetica, sans-serif;
  /*  "Trebuchet MS"*/
  color: #333;
  /*
  background: url("images/body_bg.png") 0 0 repeat-x;
  */
  height: 100%;
}

/* pour ie*/
a img {
  border: 0px;
}

html {
  height: 100%;
  /*pour coller le footer*/
}

* {
  outline: none;

  vertical-align: middle;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 20px;
  font-weight: normal;
  line-height: 1;
}

#wrapper {
  max-width: 976px !important;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  position: relative;
  min-height: 100%;
}

#container {
  position: relative;
  min-height: 100%;
  width: 100%;
  margin: 0 auto;
}

#content {
  width: 100%;
  overflow: auto;
  position: relative;
}

#header {
  position: relative;
  padding: 5px;
}

#header img.logo {
  height: 30px;
}

#form {
  margin-top: 28px;
}

#footer {
  font-size: 13px;
  position: absolute;
  /*pour coller le footer*/
  bottom: 0px;
  /*pour coller le footer*/
  height: 35px;
  line-height: 30px;
  width: 100%;
  border-top: 1px solid #ccc;
  background: url("images/footer_bg.png");
}

#footer table {
  font-size: 13px;
}

/* Licence */
.alert-license {
  font-weight: bold;
}

.alert {
  padding: 8px 14px 8px 14px !important;
}

.alert .close {
  right: 0px;
}

.alert-license a .btn {
  padding: 2px;
  font-size: 11px;
  font-weight: normal;
  line-height: 11px;
  margin-left: 5px;
}

.license-price {
  font-size: 16px;
}

.license-price-detail {
  font-size: 12px;
}

.btn-demo {
  background: linear-gradient(90deg, #7b2ff7, #f107a3);
  color: white;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.2px;
}

.btn-demo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(241, 7, 163, 0.35);
}

/****************** Tabs ******************/
.nav-tabs>.active>a,
.nav-tabs>.active>a:hover {
  font-weight: bold;
  color: #305496 !important;
}

#navbar-pages {
  border-right: none;
}

#navbar-li-btn-add a {
  border-right: none;
  padding-right: 0;
}

#navbar-li-btn-add a:hover {
  background: none;
}

#navbar-li-btn-add a img {
  padding-right: 0;
}

/************************************/

/* Tabs */
.tab-content {
  overflow: visible;
}

.tab-badge {
  vertical-align: top;
}

.tab-badge:before {
  content: " (";
}

.tab-badge:after {
  content: ")";
}

ul {
  list-style-type: none;
}

/****************** Table ******************/
table {
  overflow-wrap: anywhere;
}

table.table_item {
  /*border-spacing: 1px;*/
  border-collapse: inherit;
  margin-bottom: 30px;
  width: 100%;
}

table.table_item th {
  /*
  padding: 5px;
  background: #ccc;
  color: #000;
  font-weight: normal;
  */
  height: 22px;

  padding: 0 5px;
  color: #305496 !important;
  font-weight: bold;
  border-top: 1px solid #4472C4;
  border-bottom: 1px solid #4472C4;
}

table.table_item tr:not(.tr-action-add) td:first-child {
  border-left: 1px solid #ddd;
}

table.table_item tr:not(.tr-action-add) td {
  border-right: 1px solid #ddd;
}

table.table_item tr:last-child:not(.tr-action-add) td {
  border-bottom: 1px solid #ddd;
}

table.table_item td {
  padding: 5px;
  vertical-align: middle;
  overflow: hidden;
  text-align: center;
  color: #003399;
}

table:not(.no-alternate) tr:nth-child(even):not(.tr-action-add) {
  /* background-color: #f2f2f2; */
  background-color: #E6EDFC;
}

table:not(.no-alternate) tr:not(.tr-action-add):hover {
  /*background-color: #ACBFE8 !important;*/
}

table:not(.no-alternate) tr:nth-child(odd) {
  background-color: #fff;
}

table.table_item tr.tr-actions td {
  /* border-top: 1px solid #ccc; */
}

table.table_item tr.tr-action-add td {
  padding-bottom: 15px;
}

table.table_item p.desc {
  margin-top: 0.5em;
  color: #666;
}

table.table_item th.col_img,
table.table_item td.col_img {
  width: 65px;
  min-width: 65px;
  max-width: 65px;
}

table.table_item th.col_img_50,
table.table_item td.col_img_50 {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
}

table.table_item th.ordre {
  width: 45px;
  min-width: 45px;
  max-width: 45px;
}

table.table_item th.col_description {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

table.table_item .td-icon-action {
  text-align: center;
  width: 45px;
  min-width: 45px;
}

table.table_item td.td-parametre {
  text-align: center;
  width: 150px;
  min-width: 150px;
}

/* fill remaining space by col_libelle*/
table.table_item th:not(.col_libelle):not(.col_description),
table.table_item td:not(.col_libelle):not(.col_description) {
  white-space: nowrap;
}

table.table_item th.col_libelle,
table.table_item td.col_libelle {
  width: 100%;
}

table.table_item td.col_libelle {
  text-align: left;
}

table.table_item td.col_libelle a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* number of lines to show */
  -webkit-box-orient: vertical;
  color: #003399;
}

table.table_item td.col_prix {
  text-align: right;
}

table.table_item td.col_liste_horaire {
  min-width: 100px;
  white-space: normal !important;
}

table.table_item td.td-icon-action img {
  height: 18px;
}

table.table_item td img {
  cursor: pointer;
}

table.table_item_small td {
  padding: 2px !important;
}

/* Titre table */
.titre_tableau h2 {
  font-size: 18px;
  line-height: 22px;
  font-weight: normal;
  color: #003399;
}

.titre_tableau:first-child {
  padding-top: 10px;
}

.barre {
  text-decoration: line-through;
}

/* Sous categories */
tr.subCategory td {
  border-bottom: 1px solid #bbb;
  vertical-align: bottom;
}

tr.subCategory td.subCategory-label {
  text-align: center !important;
}

tr.subCategory td {
  border-top: 1px solid #ddd;
}

tr.subCategory td.subCategory-label a {
  font-weight: bold;
  color: #003399;
}

/* bouton ordre */
.action-order {
  width: 45px;
}

.action-order img {
  height: 18px;
  width: 18px;
}

.action-order img.img_moveUp {
  float: left;
}

.action-order img.img_moveDown,
.action-order img.img_moveFirst {
  float: right;
}

/* bouton ordre items */
table.table_item tbody tr:not(:last-child) td.action-order img.img_moveFirst,
table.table_item tbody tr:first-child td.action-order img.img_moveFirst {
  display: none;
}

table.table_item tbody tr:first-child td.action-order img.img_moveUp {
  display: none;
}

table.table_item tbody tr:last-child td.action-order img.img_moveDown {
  display: none;
}

/* bouton ordre catgorie */
.liste-categorie li:not(:last-child) img.img_moveFirst,
.liste-categorie li:first-child img.img_moveFirst {
  display: none;
}

.liste-categorie li:first-child img.img_moveUp {
  display: none;
}

.liste-categorie li:last-child img.img_moveDown {
  display: none;
}

/************************************/

a:hover {
  text-decoration: underline;
}

a {
  color: #000;
  text-decoration: none;
}

a.link-add {
  text-decoration: underline;
  display: inline-block;
  margin-top: 3px;
  margin-bottom: 8px;
  /* color: #003399; */

}

.loading {
  background: url("images/loading.gif");
  background-repeat: no-repeat;
}

.disable {
  opacity: 0.4;
}

.pointer {
  cursor: pointer;
}

.img_65px_48px {
  max-width: 65px;
  max-height: 48px;
}

.img_50px_50px {
  max-width: 50px;
  max-height: 50px;
}

.img_280px_200px {
  max-width: 280px;
  max-height: 200px;
}

.not-active {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: black;
  opacity: 0.4;
}

.label-missing {
  margin-left: 10px;
  cursor: pointer;
}

.no-decoration {
  text-decoration: none;
}

.no-margin {
  margin: 0px !important;
}

/* do not use icon-XXX used by bootstrap with background-image */
.icons-label {
  height: 24px;
  width: 24px;
  min-width: 24px;
  border-radius: 50%;
}

.icons-image {
  height: 18px;
  width: 18px;
  padding-right: 5px;
}

.icons-image-small {
  height: 14px;
  width: 14px;
  padding-right: 5px;
}

.icons-battery {
  height: 16px;
}

.icons-wine {
  height: 24px;
  margin-bottom: 5px;
}

.icons-wine-small {
  height: 18px;
  margin-bottom: 5px;
}

.icons-edit {
  height: 16px;
  width: 16px;
  padding-bottom: 5px;
  cursor: pointer;
}

.icons-delete-subcategory {
  height: 16px;
  width: 16px;
  margin-bottom: 5px;
  margin-left: 10px;
  cursor: pointer;
}

.icons-langue {
  width: 22px;
  height: 22px;
}

/* SOLD OUT */
img.btn-soldout {
  filter: grayscale(100%);
}

tr.product-soldout img.btn-soldout {
  filter: grayscale(0%);
}

tr.product-soldout td.product-photo a img:first-of-type,
tr.product-soldout td.col_libelle {
  opacity: 0.5;
}

tr.product-soldout td.product-photo a {
  display: inline-block;
  position: relative;
}

.soldout-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* couvre toute l’image du produit */
  height: 100%;
  /* optionnel */
  object-fit: contain;
  pointer-events: none;
  /* clic toujours sur le produit */
  display: none;
  /* caché par défaut */
}

/* quand produit en rupture */
tr.product-soldout td.product-photo .soldout-badge {
  display: block;
}

.bold {
  font-weight: bold;
}

.text-align-left {
  text-align: left !important;
}

.text-align-right {
  text-align: right !important;
}

.message_info {
  display: flex;
  white-space: normal;
  font-style: italic;
  font-size: 13px;
  color: #003399;
  margin-top: 5px;
  margin-bottom: 5px;
}

.message_info a {
  vertical-align: top;
}

.margin-left-5 {
  margin-left: 5px;
}

.margin-left-10 {
  margin-left: 10px;
}

.margin-right-10 {
  margin-right: 10px;
}

.margin-left-15 {
  margin-left: 15px;
}

.padding-left-20 {
  padding-left: 20px;
}

.margin-top-10 {
  margin-top: 10px;
}

.margin-top-20 {
  margin-top: 20px;
}

.margin-bottom-20 {
  margin-bottom: 20px;
}

.center {
  text-align: center !important;
}

.left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.clear {
  clear: both;
}

.nowrap {
  white-space: nowrap;
}

.list-checkbox-close label {
  padding-left: 0px !important;

}

/******************* Side Nav - vertical tabs *****************/

/* Copied from bootstrap : class sidenav
-------------------------------------------------- */
.sidenav {
  margin: 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  padding-right: 0px;
  padding-left: 0px;
}

.sidenav>li:not(.sidenav-separator) {
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

.sidenav>li>a:not(.sidenav-separator) {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 6px 5px 6px 5px;
  border: 1px solid #e5e5e5;
}

.sidenav>li:first-child>a:not(.sidenav-separator),
.sidenav>li.sidenav-separator+li>a:not(.sidenav-separator) {
  -webkit-border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
}

.sidenav>li:last-child>a:not(.sidenav-separator) {
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
}

/* sidenav 1 seul lien */
.sidenav>li:first-child:last-child>a:not(.sidenav-separator) {
  -webkit-border-radius: 6px 6px 6px 6px;
  -moz-border-radius: 6px 6px 6px 6px;
  border-radius: 6px 6px 6px 6px;
}

.sidenav>.active:not(.sidenav-separator)>a:not(.sidenav-separator) {
  position: relative;
  z-index: 2;
  border-left: 0px;
  border-right: 0px;
  -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.1),
    inset -1px 0 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.1),
    inset -1px 0 0 rgba(0, 0, 0, 0.1);
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.1),
    inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

/* Chevrons */
.sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  opacity: 0.25;
}

.sidenav>li>a:hover:not(.sidenav-separator) {
  background-color: #E6EDFC;
}

.sidenav>li>a:not(.sidenav-separator) {
  background-color: #ffffff;
  /*background-color: #f5f5f5;*/
}

.sidenav>.active>a:not(.sidenav-separator),
.sidenav>.active>a:hover:not(.sidenav-separator) {
  background-color: #f5f5f5;
  background-color: #E6EDFC;
  color: #003399;
  font-weight: bold;
  text-shadow: none;
}

.sidenav a:hover .icon-chevron-right {
  opacity: 0.5;
  display: none;
}

.sidenav .active .icon-chevron-right,
.sidenav .active a:hover .icon-chevron-right {
  background-image: url(./bootstrap/images/glyphicons-halflings-red.png);
  opacity: 1;
  display: none;
}

.sidenav .sidenav-button-action img {
  height: 16px;
}

.sidenav .li-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
}

.sidenav .left-side {
  width: 32px;
}

.sidenav .middle {}

.sidenav .middle-large {
  width: 215px !important;
}

.sidenav .right-side {
  width: 50px;
  overflow: hidden;
  text-align: right;
}

.sidenav-button-action.right-side .delete-button {
  display: none;
}

.sidenav li.active .sidenav-button-action.right-side .delete-button,
.sidenav li:hover .sidenav-button-action.right-side .delete-button {
  display: block !important;
  padding: 8px 4px 0 0;
}

.sidenav .sidenav-separator {
  border: 0px;
  background-color: #ffffff !important;
  text-align: center;
  font-size: 14px;
  color: #003399;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.sidenav .sidenav-separator .sidenav-title {
  font-size: 16px;
}

#left-sidenav {
  width: inherit;
}

#left-sidenav.affix-top {}

#left-sidenav.affix-bottom {}

.sidenav-link {
  padding-bottom: 25px;
}

.sidenav-link .active .icon-chevron-right,
.sidenav-link .active a:hover .icon-chevron-right,
.sidenav-link a:hover .icon-chevron-right {
  display: inline-block !important;
}

.wrapper-pageside-admin {
  padding-left: 0px;
}

#left-sidenav.affix {
  position: fixed;
  top: 20px;
  overflow-y: auto;
  bottom: 20px;
}

/* Browser scrollbar */
#left-sidenav::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

#left-sidenav::-webkit-scrollbar-thumb {
  background-color: #999999;
}

#left-sidenav::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.text-ellipsis-100 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  width: 100px;
}

.text-ellipsis-150 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  width: 150px;
}

.text-ellipsis-200 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  width: 200px;
}

.text-ellipsis-250 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  width: 250px;
}

.text-ellipsis-300 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  width: 300px;
}

.text-small {
  font-size: 10px;
}