:root {
  --primary: #910D25;
  --primary-input: #00000044;
  --primary-light: #A11D35;

  


  --calendar-weekend: #444;
  --calendar-sin-servicio: #CCCDCD;
  --calendar-cerrado: #888;
  --calendar-con-pedido: #6B8753;
  --calendar-today: #000;
  --calendar-pendiente: #ca40c7;

}

body.login, body.forgotpassword, body.registrar_d_diner, body.outside {
  background: var(--primary);
}

.topnav, .topnav a.icon {
  background: #fff;
}


input[type='button'], input[type='submit'], a.button {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
}

input[type='button']:hover, input[type='submit']:hover, a.button {
  color: white !important;
  background: var(--primary-light);
}

input[type='button'].disabled, input[type='submit'].disabled, a.button.disabled {
  color: #888;
  background: #DDD;
  border-color: #888;
}

a.button.inverted {
  color: var(--primary) !important;
  background: white !important;
  border-color: var(--primary);
}

a.button.inverted.disabled {
  color: #888 !important;
  background: white !important;
  border-color: #888;
}

a.button.inverted.disabled:hover{
  color: #AAA !important;
  background: white !important;
  border-color: #AAA;
}

a.button.primary {
  color: white !important;;
  background: #2C9FA2 !important;
  border-color: white;
}

a.button.inverted.primary {
  color: #2C9FA2 !important;;
  background: white !important;
  border-color: #2C9FA2 !important;
}

.primary {
  color: #2C9FA2;
}

body.login, body.login input, body.login a, body.login a:hover, body.login a:active, body.login a:link, body.login a:visited,
body.forgotpassword, body.forgotpassword input, body.forgotpassword a, body.forgotpassword a:hover, body.forgotpassword a:active, body.forgotpassword a:link, body.forgotpassword a:visited {
  color: white;
  border-color:white;
}


body.login input, body.forgotpassword input, body.registrar_d_diner input,
body.login select, body.forgotpassword select, body.registrar_d_diner select {
  background: var(--primary-input) !important;
}


a, a:active, a:hover, a:link {
  color: black;
}

.colorTheme {
  color: var(--primary) !important;
}
.colorInvertTheme {
  color: #fff !important;
}
.backgroundTheme {
  background: var(--primary) !important;
}
.borderTheme {
  border-color: var(--primary) !important;
}


#loading {
  background-color: rgba(0, 0, 0, 0.8);
}

#loading_message {
  color:white;
}

label {
  color: #888;
}

.completed_action.status.ok .big-icon  {
  background-image: url('../assets/ok-icon.png');
}

.completed_action.status.error .big-icon  {
  background-image: url('../assets/error-icon.png');
}

table.mobile_form {
  width: 100%;
}

table.mobile_form td {
  display: block;
}

table.mobile_form td.label {
  color: #666;
  font-size: 0.8em;
  text-transform: uppercase;
  padding-top: 1.5em;
}

table.mobile_form td.label .form-label {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}


table.mobile_form td input[type="submit"],
table.mobile_form td input[type="button"] {
  margin-top: 3em;
}

#loading {
  justify-content: center;
  align-items: center;
}

#loading_message::after {
  content: 'Aguarde un momento por favor...';
}

#toolbar .fullwidth {
  width: 100%;
}

#toolbar .toolbar-breaker {
  content: '';
  flex-basis: 100%;
  width: 100%;
  height: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.indicator .label::before {
  font-size: 0.7em;
  margin-bottom: 1em;
  font-weight: normal;
}

.indicator .value {
  font-size: 2em;
  font-weight: 500;
  text-align: center;
}

.slider {
  width: 100%;
  max-height: 20vh;
  min-height: 150px;
  height: 150px;
}

.swiper-wrapper {
  max-height: 20vh;
}

.slider .slide {
  width: 100%;
  max-height: 20vh;

}

.slider .slide-content {
  position: absolute;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  display: flex;
  z-index: 2;
}

.slider .slide-background {
  position: absolute;
  width: 100%;
  height: 100%;
  /*filter: blur(2px);*/
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

body.home .slider .slide-background-filler {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(10px);
  opacity: 0.5;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.slider .swiper-slide {
  backdrop-filter: blur(2px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

 body.home .swiper .slide[data-button="no"] .slide-label::after {
   display: none !important;
 }

 body.home .swiper .slide[data-hasLink="yes"] {
   cursor: pointer;
 }

 body.home .swiper .swiper-button-prev,
 body.home .swiper .swiper-button-next {
   display: none;
 }

.popup_frame .popup_container {
  min-width:500px;
}

.popup_container p {
  display: block;
  max-height: 60vh;
  overflow-y: scroll;
}

@media (max-width: 500px) {
  .popup_frame .popup_container {
    min-width: 80vw;
    max-width: 90vw;
  }
}

#huella {display: none;} /* Aparece desactivada siempre */

.legend {
  margin-top:1em;
  color: #888;
}

.material-big-button.button-add:after {
  content: '+';
  display: block;
  text-align: center;
  margin-top: 0em;
  font-size: 3em;
  line-height: 1.28em;
}

.material-big-button {
  border: 0px !important;
  width: 4em !important;
  height: 4em !important;
  margin-left: 1.5em;
  margin-right: 1.5em;
  border-radius: 50%;
  position: fixed;
  bottom: 50px;
  right: 0;
  padding: 0px;
}

.material-big-button:hover {
  text-decoration: none;
}


.material-big-button.button-add {
  background-color: #26BB00 !important;
  background-image: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: background-color 300ms;
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.material-big-button.button-add:hover {
  background-color: #008800 !important;
}

.material-big-button.button-add:after {
  color: white;
}

body.home #toolbar a.qrEntregaPedidos.has-no-requests {
  display: none;
}

body.home #toolbar a.qrEntregaPedidos.has-requests {
  display: block;
}

#qr_container {
  min-width: 300px;
  min-height: 300px;
  margin-bottom: 1em;
}

.qrcode_image {
  min-width: 300px;
  min-height: 300px;
  width: 300px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

#qrcode_clock {
  font-size: 0.5em;
  width: 100%;
  height: 1em;
  display: block;
  background: var(--primary);
  text-align: center;
  margin-top: 2em;
  transition: all 1.5s;
  border-radius: var(--radius);
}

#qrcode_chars {
  margin-top: 1em;
}

#qrcode_chars span {
  display: inline-block;
  padding: 0.5em;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  text-transform: uppercase;
  margin-right: 0.5em;
}


.qrcode_container {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

#permanent_qrcode {
  position: fixed;
  left: calc(50% - 2em);
  bottom: 0.125em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  animation: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: backwards;
  animation-delay: 1s;
}

#permanent_qrcode .container {
  background: var(--primary);
  padding: 0.75em;
  border-radius: 50%;
  box-shadow: 0px 0px 4px #888;
  width: 2em;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  cursor: pointer;
}

#permanent_qrcode .container i {
  color: white;
  font-size: 2em;
}