: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;
}

.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: cover;
}

.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;
}