@import url('https://fonts.googleapis.com/css?family=Bebas+Neue|Roboto|Grand+Hotel&display=swap');

body {
  display:none ;
  background: #efefef;
  line-height: 1.4;
  font-family: 'Roboto', sans-serif;
}

h4 {
  margin: 0px 0 10px;
  color: #aaa;
  font-size: 0.8em;
} 

ul {   padding: 0;  }
li { list-style-type:none; }

* {
  -moz-user-select: none; /* Firefox */
  -webkit-user-select: none; /* Chrome, Safari, Opéra depuis la version 15 */
  -ms-user-select: none; /* Internet explorer depuis la version 10 et Edge */
  user-select: none; /* Propriété standard */
}

.header-clear-medium {
    padding-top: 58px;
}

.header-title { 
	font-family: 'Grand Hotel', cursive !important;
	font-size: 30px !important;
    color: white !important;
    font-weight: 300 !important;
} 

#login-box, li.cd-tabs__panel { display:none; }

header {
  background-color: #9393e6;
  padding: 7px 10px;
}

header h1 {
  font-family: 'Grand Hotel', cursive;
}

header h2 {
  font-size: 0.8em;
  position: absolute;
  top: 14px;
  right: 11px;
  color: #5f5f5f;
}

.bouton {
  margin: 10px 10px 0 0;
  font-size: 0.9em;
  padding: 5px 10px;
}

.error-message {
  display: none;
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
  color: #2b2b2b;
  background-color: #bdd9f9;
  padding: 7px 5px;
  border-radius: 3px;
}

.cd-tabs__panels { margin: 0 15px;  }

.transition-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: black;
  z-index: 10000;
  display: none;

}
.log-output {
  padding: 0 10px;
  font-size: 0.9em;
}

#log-user {
  text-transform: capitalize;
}

#tab-ticket { margin-top: 10px; }

#tab-ticket h4 { margin-bottom: 10px; }

#tickets_log .content-boxed, #tickets_userlog .content-boxed {
    padding-top: 5px !important;
}

.ticket_log_date { 
    padding: 0 14px 5px !important;
 }

.ticket_log_date small { 
  font-size:.8em;
}

#tickets_log th, #tickets_userlog th {
  line-height: 25px;
}

#tickets_log td, #tickets_userlog td {
  padding: 3px 0px 3px 0px;
}


#checkout_list {
    margin-left: 0;
}


#checkout_list span.conso_nom_court { display:none !important; }

#checkout_list li.checkout_line {
  display:none;
  background-color: #e0e0e0;
  margin-bottom: 8px;
  padding-top: 9px;
  padding-left: 4px;
  border-radius: 5px;
  line-height: 41px;
}

#checkout_list input { 
  text-align: right; 
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.8em;
  vertical-align: 8px;
}

#checkout_list input.conso_nombre {
  width: 15px;
  margin: 0 2px 0 0;
}

#checkout_list input.conso_prix_unit {
  width: 25px;
  margin: 0 0 0 5px;
}

#checkout_list input.conso_prix_total {
  font-weight: bold;
  width: 27px;
}

#checkout_list span {
  font-size: 0.8em;
  vertical-align: 8px;
}

#checkout_list .checkout_minus, #checkout_list .checkout_plus {
  vertical-align: 4px;
}



#checkout_list i {
  cursor: pointer;
}


#checkout_list i.fa-minus-square {
  font-size: 2.3em;
  margin: 0 8px 0 5px;
}

#checkout_list i.fa-plus-square {
  font-size: 2.3em;
}

#checkout_list i.fa-trash-alt {
font-size: 1.7em;
  margin-left: 15px;
}}

#checkout_list i:active {
  color: #999;
}

#checkout_list span.conso_nom, #checkout_list span.conso_nom_court {
  width: calc(100% - 225px);
  display: inline-block;
  margin-left: 10px;
  font-size: 0.8em;
  vertical-align: 8px;
  letter-spacing: 1px;
}


.eurosign {
  font-size:.7em;
}


#header div.header-element, #header-monnaie div.header-element {
  float: left;
  width: 31.3%;
  margin: 0 1.5% 5px;
  height: 75px;
  font-size: 1em;
  background-color: #6f6f6f;
  color: white;
  text-align: center;
  border-radius: 3px;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
}

#header div.header-element h4 { 
  margin-bottom: 0; 
  font-size: 12px; 
  background: #484848;
  padding: 6px 0px;
  text-transform: uppercase;
}

#header div.header-element h4 b, #header div.header-element h4 span { 
  font-size: 15px; 
}

#header div.header-element h4 span { 
  margin-right:5px;
  vertical-align: -1px; 
}

#total-consosprice-wrapper, .rappelTotal { margin-left: 0 !important; }
#total-price-wrapper, .monnaieTotal { margin-right: 0 !important; }

#total-price-wrapper h4 b {
  font-size: 12px !important;
  color: white;
}

#total-consigne-wrapper button {
font-size: 1.5em;
  outline: none;
  padding: 8px 12px;
  margin-top: 0px;
  cursor: pointer;
  background: transparent;
  color: #e8e8e8;
}

#total-consigne-wrapper button:hover {
  color: #aaa;
}

#total-consigne-wrapper button:active {
  color: black;
}

#total-consosprice {
  margin-top:7px;
}

#total-price {
  margin-top:7px;
}

ol > li:last-child, ul > li:last-child {
  margin-bottom: 3px !important;
}


.grid_carte {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); */
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  grid-gap: 0.5em;
  margin: 0;
  height: calc(100vh - 320px);
} 

.grid_carte li {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
  text-align: center;
  font-size: 2.1em;
  margin: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
  border: solid 2px transparent;
  padding-top: 5px;
  font-family: 'Bebas Neue', cursive;
  background-position: center;
  opacity: .7;
  transition: background 0.6s;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);

}

.grid_carte li.inorder {
  border: solid 2px #4d4d4d;
  opacity: 1;
}

.theme-dark .grid_carte li.inorder {

  border: solid 2px #eeeeee;
}

.grid_carte li .unit-bullet {
  background-color: #555;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  margin-left: 5px;
  margin-top: 15px;
  float:left;
}

.grid_carte li .conso-bullets {
position: absolute;
  top: -11px;
  flex: none;
}

.conso-button {
  position: relative;
}

li.conso-button:active { /* effet au click */
  background-color: #333 !important;
  color: white !important;
  background-size: 100%;
  transition: background 0s;
}


.grid_monnaie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  grid-gap: 1em;
  padding-top: 10px !important;
  margin: 0;
  height: calc(100vh - 333px);
}

.grid_monnaie li {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.9em;
  text-transform: uppercase;
  border-radius: 5px;
  margin-bottom: 0 !important;
  font-family: 'Bebas Neue', cursive;
  background-color: #ccc;
  cursor: pointer;
  background-position: center;
  transition: background 0.8s;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
}

.grid_monnaie li:active { /* effet au click */
  background-color: #333 !important;
  color: white !important;
  background-size: 100%;
  transition: background 0s;
}



li.conso-button div {
  font-size: 0.6em;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 1px;
  position: relative;
}

.monnaieSur {
  padding: 11px 0px;
} 

.selected {
  background-color:#ffc800 !important;
}

.monnaieTotal, .rappelTotal, .ajoutTotal {
  width: 100%;
  text-align: center;
  font-size: 2em;
  padding: 0 0 10px 0;
  margin-bottom: 10px;
  border-radius: 3px;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
}

/*
.ajoutTotal, .rappelTotal {
  width: 47%;
  height: 75px;
}
*/

#ajoutTotal-moins, #ajoutTotal-plus {
  font-size: 1.5em;
    color: #e8e8e8;
  cursor: pointer;
  outline: none;
  padding: 0 2px;
  background: transparent;
}

.monnaieTotal {
  margin-top: 20px;
  width: 50%;
  margin: 15px auto 0 auto;
  background: #6f6f6f;
  color: white;
}

.monnaieTotal h4, .rappelTotal h4, .ajoutTotal h4 {
  font-weight: bold;
  color: white;
  padding: 0 5px;
  margin-bottom: 8px;
  font-size: 12px;
  background: #484848;
  padding: 6px 0px;
  text-transform: uppercase;
}


.rappelTotal {
  float:left;
  font-size: 1em;
  background-color: #6f6f6f;
  color: white;
}


.rappelTotal span {
  color: white;
}

.ajoutTotal {
  background-color: #6f6f6f;
  float:right;
}

.ajoutTotal h4 {
  margin-bottom: 6px;
}

.ajoutTotal input {
  width: 50px;

  font-size: 1em;
  padding: 1px 1px 1px 5px;
    vertical-align: 2px;
    border-radius: 3px !important;
  -webkit-border-radius: 3px !important;
}

.ajoutTotal input[type=number]::-webkit-inner-spin-button, 
.ajoutTotal input[type=number]::-webkit-outer-spin-button {  
  opacity: 1;
}



li.conso-taken {
  list-style: none;
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 1.1rem;
  background: #dedede;
  color: #000;
  margin: 5px 0;
}



#total-consosprice:after, #total-price:after { content: ' €'; }




#total-consosprice-wrapper, #total-consigne-wrapper { margin-right: 2%; }

#total-price { font-weight: bold; color: #eee; font-size: 1.5em; }

#total-consos, #total-consigne { color: #eee;  font-weight: bold;  }
 

#reset-button, #save-button, #next-button, #calc-button {
  position: fixed;

  z-index: 100;
  cursor: pointer;
  width: auto;
  margin: 0 1.5%;
  font-size: 1.3em;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.16);

}

#reset-button, #save-button, #next-button {
  bottom: 85px;
}

#calc-button {
  bottom: 160px;
  right: 10px;
}

#next-button, #save-button, #calc-button, #reset-button {
  display:none;
}
#save-button, #next-button { right: 10px; }
#reset-button { left: 10px; }

#slide-button {
  position: absolute;
  top: 32px;
  right: 15px;
  width: auto;
  margin: 0 1.5%;
  height: 50px;
  font-size: 1.3em;
}

.delete-button { 
  cursor:pointer; 
  float: left;
  width: 25px;
  opacity: 0.5;
}

#tab-carte {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: -10px;
}

#tab-commande {
  padding-top: 10px !important;
}

#carte_liste h2 {
  margin: 17px 0 6px;
    font-size: 1.5em;
}

#carte_liste li {
  background-color: #f5f5f5;
  margin-bottom: 4px;
  padding: 0px 10px;
  border-radius: 5px;
  letter-spacing: 1px;
}

#carte_liste span.carte_conso_catego {

}

#carte_liste span.carte_conso_catego:after { content: " "; }

#carte_liste span.carte_conso_nom {
  
} 

#carte_liste .demi:after, #carte_liste .pinte:after {
  content:url(../images/carte/logo_troisloups.png) ; 
  position:relative; 
  left:0px;
  top:5px;
}

#carte_liste .heineken:after {
  content:url(../images/carte/logo_heineken.png) ;
  position:relative; 
  left:0px;
  top:5px;
}

#carte_liste span.carte_conso_quantite {
  font-size: 80%;
  color: #777;
}

#carte_liste span.carte_conso_quantite:before { content: " ("; }
#carte_liste span.carte_conso_quantite:after { content: " cl)"; }

#carte_liste span.carte_conso_prix {
  float: right;
}

#carte_liste span.carte_conso_prix:after { content: " €"; }


#xml-editarea {
  height: calc(100vh - 262px);
  width: 100%;
  font-size: 1.1em;
}


.settings-line h4 {
  font-weight: bold;
  font-size: 1em;
}

.settings-line span {
  vertical-align: -5px;
  font-size: 0.9em;
}

/*SWITCH*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  align-self: center;
  transform: scale(0.5);
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider {
  border-radius: 30px;
}

.slider:before {
  border-radius: 50%;
}



/* Adaptations TEL */
@media screen and (max-width: 460px) {

.cd-tabs__list span {
  font-size: 80%;
}


#checkout_list span.conso_nom { display:none; }
#checkout_list span.conso_nom_court { display:inline-block !important; }

#carte_liste {     font-size: 90%; margin-left: 0; }

.error-message { font-size: 0.8em; }



.theme-dark #checkout_list li.checkout_line {
  background-color: #353434;
  color: #ddd;
}

.theme-dark #checkout_list input {
  color: white;
}

