@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');
/*@import url('https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/css/gotham-rounded.min.css');*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;400;700;900&display=swap');



:root {
  --primary: #FF9300;
  --primary-alpha80: #FF9300CC;
  --primary-light: #FF9300;
  --eatinghealthy-green: #80b664;
  --chef-orange: #FF9300;

  --shadow: none;
  /*0px 4px 10px rgba(0, 0, 0, 0.15);*/

  --theme-success: #8BB36C;
  --theme-wrong: #ED5F2E;

  --fullmessage-background: #FF9300;
  --fullmessage-color: #fff;

  --calendar-weekend: #448;
  --calendar-sin-servicio: #CCCDCD;
  --calendar-cerrado: #FF9300;
  --calendar-con-pedido: #6B8753;
  --calendar-today: #000;
  --calendar-pendiente: #4087ca;
  --calendar-cobro-pendiente: #f4f;

  --verde-claro: #8BB36C;
  --gris: #BBBCBC;
  --gris-claro: #CCCDCD;

  --fucsia: #D12CAD;

  --radius: 0.5em;
}



body,
input {
  /*font-family: 'Open Sans', Roboto, Helvetica, sans-serif;*/
  font-family: 'Inter', Roboto, Helvetica, sans-serif;
}

body.login #logo-header,
body.forgotpassword #logo-header,
body.registrar_d_diner #logo-header {
  /*background-image: url("../assets/chefgourmet/logo.png");*/
  filter: blur(2);
}

body.outside {
  margin-left: 0em !important;
  margin-right: 0em !important;
}

body.outside #response {
  padding-left: 0.5em;
  padding-right: 0.5em;
}

body.outside #logo-header {
  margin-top: 1em;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 70vw;
  height: 30vh;
  max-width: 300px;
  text-align: center;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
}

body #logo {
  background-image: url("../assets/logo-chef-color.png");
  height: 60px;
  filter: blur(2);
}

body.home #menuhoy:before {
  color: white;
  content: 'TU MENU PARA HOY';
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  width: 10em;
}

body.home #messages:before {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  width: 6em;
}

body.home #menuhoy {
  background: var(--primary-light);
  border: none;
  text-align: left;
  color: #222;
  margin-top: 2em;
}

body.home #toolbar a {
  border-color: var(--primary-light);
}

body.home #messages .message {

  color: #222;
  padding-left: 1em;
  padding-right: 4em;
  min-height: 2em;
  border-left: 0.5em solid var(--primary);
  border-radius: 4ox;
  line-height: 1.5;
  font-size: 0.9em;
  background: #FF930044;
}

body.home #messages .message.urgente {
  background: #faa;
  color: #800;
  border-left-color: #800;
  font-weight: bold;
  /*
  animation: flash;
  animation-duration: 1s;
  animation-delay: 2s;
  */
  background: #fee;
}


#messages .message.urgente .close {
  color: #800;
}

body.home #goodmessage {
  text-align: center;
  font-size: 0.5em;
  font-weight: normal;
  line-height: 1.5;
}

body.home .saldo {
  border: 0px;
  font-size: 2.2em;
  color: #009bdb;
  background: #009bdb44;
}

body.home #toolbar a {
  border: 0px;
  /*box-shadow: 0px 0px 10px #AAA;*/

}

body.home #toolbar a.thisWeek {
  border-color: #080;
  background: #00880022;
}

body.home #toolbar a.thisWeek i {
  color: #080;
}

body.home #toolbar a.nextWeek {
  border-color: #008;
  background: #00008822
}

body.home #toolbar a.nextWeek i {
  color: #008;
}

body.home #toolbar a.thisMonth {
  border-color: #f40;
  background: #ff440022
}

body.home #toolbar a.thisMonth i {
  color: #f40;
}

body.home #toolbar a.nextMonth {
  background: #88008822;
  border-color: #880088;
}

body.home #toolbar a.nextMonth i {
  color: #880088;
}

body.home #toolbar a.newRequest {
  border-color: #48F;
  background: #4488FF22;
}

body.home #toolbar a.newRequest i {
  color: #48F;
}

body.home #toolbar a.currentRequests {
  border-color: #844;
  background: #88444422;
}

body.home #toolbar a.currentRequests i {
  color: #844;
}

body.home #toolbar a.sugerencias {
  border-color: #aaa;
  background: #aaaaaa22;
}

body.home #toolbar a.sugerencias i {
  color: #aaa;
}

body.home #toolbar a.conozcanos {
  border-color: #f84;
  background: #ff884422;
}

body.home #toolbar a.conozcanos i {
  color: #f84;
}

.legend {
  color: black;
  font-size: 0.7em;
}

body.home #home_title {
  font-size: 1rem;
  text-align: left;
  height: 3em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  color: white;
  text-align: left;
  padding-left: 0.5em;
  margin-top: 0;

  font-weight: normal;
  display: flex;
  width: calc(100%);
  margin-left: -1em;
  padding-left: 2em;
}

body.home h1:first-child #goodmessage {
  font-size: 0.7em;
  font-weight: bold;
  text-transform: lowercase;
}

body.home h1:first-child #goodmessage:first-letter {
  text-transform: uppercase;
}

body.new_request #sections {
  position: sticky;
  top: 0em;
  background: white;
  padding-top: 0.75em;
  padding-bottom: 0.75em;
  padding-left: 0.5em;
  border-bottom: 1px solid #ccc;
}

body.new_request #sections ul {
  padding-bottom: 0;
  display: flex;
  overflow-x: scroll;
}

body.new_request #sections li {
  color: white;
  background: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.5em;
  padding-top: 0.75em;
  padding-bottom: 0.75em;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  border-radius: 4px;
  margin-left: 0;
  margin-right: 0.25em;
  white-space: nowrap;
}

#items ul li {
  border: none;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

#items ul li.section {
  border: none;
}

#items ul li[data-item_id] {
  border: none;
  /*box-shadow: 0px 0px 10px #ccc;*/
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 0.5em;
}

#items ul li div.description {
  font-weight: normal;
  line-height: 1.5em;
  margin-bottom: 0.75em;
  text-transform: none;
}

#items ul li div.price {
  font-weight: bold;
}

#selected_item #title {
  font-weight: normal;
  line-height: 1.5em;
  margin-bottom: 1em;
  font-size: 1.25em;
}

#selected_item {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.bottom_toolbar {

  width: 100%;
}

#checkout #pedido_listed_items td {
  line-height: 1.5em;
}


#checkout #pedido_listed_items td:nth-child(1) {
  font-size: 1em;
  text-align: right;
}

#checkout #pedido_listed_items td:nth-child(2) {
  font-size: 1em;
  font-weight: normal;
}

#checkout #pedido_listed_items tr.subtotal td:nth-child(2),
#checkout #pedido_listed_items td:nth-child(3) {
  font-size: 1em;
  text-align: right;
}


body.home #toolbar a.EatingHealthy,
body.home #toolbar a.ChefATuCasa {
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 300px;
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 0;
}

body.home #toolbar a.EatingHealthy {
  background-image: url('../assets/sofiromero.jpg');
  width: 100%;
}

body.home #toolbar a.ChefATuCasa {
  width: 100%;
  background-image: url('../assets/quedateencasa_thumb.png');
  height: 150px;
}

body.home #toolbar a.EatingHealthy .label,
body.home #toolbar a.ChefATuCasa .label {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}


body.home #toolbar a.EatingHealthy i,
body.home #toolbar a.ChefATuCasa i {
  flex-grow: 1;
  width: 100%;
  padding-top: 20px;
  font-size: 2em;
  color: #FF9300 !important;
}


body.home #toolbar a.EatingHealthy .title,
body.home #toolbar a.ChefATuCasa .title {
  background: #eeeeeeff;
  padding: 0.5em;
  color: black;
}

body.home #toolbar a.EatingHealthy .title {
  background: var(--primary);
  color: white;
}

body.home #toolbar a.EatingHealthy .title small,
body.home #toolbar a.ChefATuCasa .title small {
  color: #ddd;
}

body.home #toolbar a.ChefATuCasa .title small {
  color: #aaa;
}

/** Coloración de menu **/
body.new_request #sections li[data-section="COMBOS"],
body.new_request #sections li[data-section="PP1"],
body.new_request #sections li[data-section="PP8"] {
  background: var(--eatinghealthy-green);
  color: white;
  border-color: var(--eatinghealthy-green);
}


#items ul li[data-item_id][data-sectioncode="PP1"],
#items ul li[data-item_id][data-sectioncode="PP8"] {
  background-image: url('../assets/eating_healthy_green_thumb.png');
  background-repeat: no-repeat;
  background-position: 95% 90%;
  background-size: 20%;
}

#loading_message::after {
  content: '';
}

#loading_message {
  width: 100px;
  height: 100px;
  background-image: url('../assets/chefgourmet_loading.png');
  animation-name: flip;
  animation-duration: 1s;
}

input[type=button],
button {
  text-transform: uppercase;
}

input[type="button"],
input[type="submit"],
a.button {
  box-shadow: none;
  font-size: 1em;
  font-weight: normal;
}


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

a.button.other_warehouse {
  width: 100%;
}

body.inside h1,
body.inside h3 {
  text-transform: uppercase;
  color: var(--primary);
  font-size: 1.5em;
  margin-bottom: 1em;
}

body.inside h1 small,
body.inside h3 small {
  font-weight: normal;
  line-height: 2;
}

#hiddenLinks .username {
  color: var(--primary);
}


.full_message .fa {
  display: none;
}

.full_message_data {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.full_message_data::before {
  content: ' ';
  display: block;

  height: 100px;
  width: 100px;
  margin-bottom: 1em;
  background-image: url('../assets/chefgourmet_loading.png');
  /*animation-name: heartBeat;
  animation-duration: 1s;
  animation-iteration-count: infinite;*/
}


.loader {
  margin-top: 6em;
  width: 100%;
  height: 4.8px;
  display: inline-block;
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.loader::after {
  content: '';
  width: 192px;
  height: 4.8px;
  background: #FFF;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: animloader 2s linear infinite;
}

@keyframes animloader {
  0% {
    left: 0;
    transform: translateX(-100%);
  }

  100% {
    left: 100%;
    transform: translateX(0%);
  }
}



#huella {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

#huella::before {
  content: 'Huella';
  font-weight: bold;
  font-size: 1.2em;
  display: block;
  width: 100%;
}

#huella .huella_item {
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
}

#huella .huella_item>div {
  margin: 0 0.25em;
}

#huella .huella_item_value {
  font-weight: bold;
}

#huella .huella_item_unit {
  font-size: 0.8em;
  color: gray;
}

/** Calendar special **/
body #calendar .calendar_header .calendar_title {
  font-size: 1em;
  text-transform: uppercase;
}

body #calendar .calendar_header span.previous_month,
body #calendar .calendar_header span.next_month {
  font-size: 0.5em;
}

body #calendar .calendar_header span.previous_month::before {
  content: '\f053';
}

body #calendar .calendar_header span.next_month::before {
  content: '\f054';
}

body #calendar .calendar-week .day.header {
  color: black;
}

body #calendar .calendar_header {
  margin-bottom: 1em;
  height: 3em;
  background: #fcfcfc;
}

body #calendar .calendar-week .day {
  width: 1.75em;
  height: 1.75em;
}

body #calendar .calendar-week .day .day_no {
  margin-top: 0;
}

body #calendar_reference {
  margin-top: 1em;
}

#qrcode_chars span {
  border-color: #CCCDCD !important;
  min-width: 2em;
}

#qr_code_entrega_pedido_popup h1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  align-items: center;
  padding-left: 0;
  background: var(--primary);
  color: white;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.qrcode_container {
  margin-top: 3em;
}


body.vista_servicio .service_item div.etiqueta.etiqueta_pre {
  display: block;
  /* position: absolute; */
  top: 0;
  max-width: calc(768px / 2 - 3em);
  width: calc(100% - 1em);
  overflow: hidden;
  text-wrap: nowrap;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  background: #8BB36C;
  color: white;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

body.vista_servicio .service_item.PLATODELDIA div.etiqueta.etiqueta_pre {
  background: #C70039;
}

@media (min-width: 768px) {
  body.inside #response {
    margin-left: auto;
    margin-right: auto;
    max-width: 768px;
  }

  .bottom_toolbar {
    left: auto;
    max-width: 768px;
  }
}


body.outside.login #install-button {
  color: white !important;
  font-size: 0.8em;
  font-weight: bold;
}