@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');


:root {
  --primary: #91a938;
  --primary-light: #A1B948;
  --azul-syb: #626da5;
  --rojo-syb: #af463a;
  --verde-syb: #91a938;
  --naranja-syb: #c99d47;
  --amarillo-syb: #c9c94d;
  --rosa-syb: #f2cfcd;
  --gris-oscuro-syb: #aaaaaa;
  --gris-claro-syb: #dddddd;
  --fondo-gris-claro: #F8F8F8;
  --shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  --shadow-bottom-toolbar: -4px 0px 10px rgba(0, 0, 0, 0.15);
  --radius: 6px;

  --calendar-weekend: #999999;
  --calendar-sin-servicio: #888888;
  --calendar-cerrado: #aaaaaa;
  --calendar-con-pedido: #aaaaaa;
  --calendar-today: #646464;
  --calendar-pendiente: #c99d47;

  --theme-success: #91a938;
  --theme-wrong: #af463a;

  --fullmessage-background: #91a938;
  --fullmessage-color: #fff;

  --background-outside-syb: #FFF;
  --color-texto: #444;

  --swiper-navigation-size: 1em;
  --swiper-theme-color: white;
}

/* Generales */
body {
  font-family: 'Raleway', sans-serif;
  background: white;
  color: var(--color-texto);
}

body.outside.forgotpassword,
body.outside.login,
body.outside.registrar_d_diner {
  color: var(--color-texto);
}

body.outside {
  background: var(--primary);
}

body.outside a,
body.outside a:link,
body.outside a:active,
body.outside a:hover {
  color: var(--color-texto) !important;
}

body.inside #response {
  padding-left: 1em;
  padding-right: 1em;
  min-height: 80vh;
}

body #logo-header {
  margin-top: 1em;
  background-image: url('../assets/syb/logo_login.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 70vw;
  min-height: 30vh;
  max-width: 500px;
  text-align: center;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
}



#logo {
  background-image: url(../assets/syb/logo_login.png);
  background-position: right;
  background-size: contain;
}

form table tr td input {
  width: 100%;
}

#hiddenLinks .username {
  font-weight: 500;
}

input[type="button"],
input[type="submit"],
a.button {
  font-family: 'Raleway', sans-serif;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  font-weight: normal;
}

.view {
  display: none;
}

.view.active {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-left: 1em;
  padding-right: 1em;
  box-sizing: border-box;
  animation: fadeInDown;
  animation-duration: 1s;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: var(--radius);
}

.popup {
  min-height: 50%;
  width: 100%;
}

.fw,
body input[type=submit].fw,
body.outside input[type=submit],
body.outside input[type=button] {
  padding: 0.5em;
  border-radius: var(--radius);
  border: none !important;
  font-size: 1.5em;
  font-weight: bold;
  display: block;
  outline: none;
  text-transform: none;
  box-shadow: none;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.fw.rojo,
body input[type=submit].fw.rojo,
body.outside input[type=button] {
  color: white;
  background: var(--rojo-syb) !important;
}

.fw.azul,
body input[type=submit].fw.azul,
body.outside input[type=submit] {
  color: white;
  background: var(--primary) !important;
}


a.button.primary,
input[type="button"].primary {
  background: var(--primary) !important;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
  color: var(--color-texto);
}

.form-label {
  color: var(--color-texto);
  text-align: left;
  text-transform: none;
  font-weight: 500;
}

#loading {
  background-color: white;
  animation-name: fadeIn;
  animation-duration: 1s;
}

#loading_message {
  width: 100px;
  height: 100px;
  /*background-image: url('../assets/syb/icons/logo_icon.svg');*/
  background-size: cover;
}

#logo_icon_svg .st2 {
  animation: 5s draw ease-in-out forwards;
  animation-iteration-count: infinite;
}

@keyframes draw {
  0% {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    stroke-width: 8px;
    fill: #FFFFFF00;
  }

  30% {
    stroke-dasharray: 1000;
    stroke-dashoffset: 000;
    stroke-width: 2px;
    fill: #FFFFFFDD;
  }

  40% {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    stroke-width: 2px;
    fill: #FFFFFFFF;
  }

  60% {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    stroke-width: 2px;
    fill: #FFFFFFFF;
  }

  70% {
    stroke-dasharray: 1000;
    stroke-dashoffset: 000;
    stroke-width: 2px;
    fill: #FFFFFFDD;
  }

  100% {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    stroke-width: 8px;
    fill: #FFFFFF00;
  }
}


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

.bottom_toolbar {
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5em;
  padding-right: 0.5em;
  width: calc(100vw - 2em);
  max-width: 500px;
  box-sizing: border-box;
  box-shadow: var(--shadow-bottom-toolbar);
  border-top: none;
}

.bottom_toolbar::before {
  display: block;
  height: 6em;
  width: 1em;
  background: black;
}



/* Login */
body.login,
body.outside {
  background-color: var(--background-outside-syb);
  /* background-position-x: -248px; */
  /* background-position-y: -547px; */

  /*
  background-image:
    radial-gradient(circle at 70% -40%, white 0%, var(--primary-light) 60%, transparent);
  */
  background-size: 200% 200%;
  transition: all .25s ease;
}

body.login #logo_impact {
  background-image: url('../assets/syb/logo_login.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 35%;
}

body.login #response {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: space-around;
}

body.login #closure a {
  color: rgba(0, 0, 0, 0.8);
  text-shadow: var(--shadow);
}

body.login #step2 h1 {
  margin-top: 2em;
}

body.login div.form-label.form-email,
body.login div.form-label.form-contraseña {}

body.login input,
body.outside input,
body input,
body select {
  background: #FFFFFF !important;
  box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  color: #222;
  border: none !important;
  font-family: 'Raleway', sans-serif;
  width: 100%;
}

body input[type="submit"],
body input[type="button"] {
  background: var(--rojo-syb) !important;
  color: #fff !important;
  font-size: 1em;
}

body input[type="submit"]:hover,
body input[type="button"]:hover {
  background: var(--rojo-syb) !important;
}


body a.button.cancel {
  background: var(--gris-claro-syb);
  color: var(--gris-oscuro-syb) !important;
}

table.mobile_form td.label .form-label {
  margin-left: 1em;
  width: 100%;
}

/** registrar_d_diner **/
body.registrar_d_diner #response {
  backdrop-filter: blur(4px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: var(--radius);
  padding-left: 1em;
  padding-right: 1em;

}

body.registrar_d_diner #logo-header {
  background-image: url(../assets/syb/logo_login.png);
  height: 12%;
}


body.registrar_d_diner form table tr td div.form-label.form-mail {
  font-size: 1.5em;
}

body.registrar_d_diner input[type=submit] {
  margin-top: 0em;
}

/** home **/

body.inside.home #response {
  padding-left: 1em;
  padding-right: 1em;
}

body.home #menuhoy {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
  margin-top: 2em;
  height: auto;
}

body.home #menuhoy:before {
  content: 'Tu vianda de hoy';
  color: black;
  position: relative;
  background: none;
  font-size: 1.25em;
  top: auto;
  left: auto;
  margin-bottom: 0.5em;
  margin-top: -1em;
  font-weight: 500;
}

body.home .seleccion {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

body.home .seleccion .fecha {
  width: 50%;
  margin-right: 1em;
  background: var(--rojo-syb);
  color: white;
  padding: 0.5em;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

body.home .seleccion .fecha .dow,
body.home .seleccion .fecha .month {
  font-size: 1.5em;
}

body.home .seleccion .fecha .daynumber {
  font-size: 3em;
}

body.home .seleccion .servicio {
  width: 50%;
  margin-left: 1em;
  background: var(--azul-syb);
  color: white;
  padding: 0.5em;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
  text-align: left;
  padding-left: 1em;
  font-size: 0.8em;
}

body.home .seleccion .servicio .servicio-nombre {
  display: none;
}


body.home #toolbar a {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
  color: var(--color-texto);
  width: 46%;
  min-height: 100px;
}

body.home #toolbar a .fa {
  font-size: 3em;
}

body.home #toolbar a .label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

body.home #toolbar a .label .title {
  min-height: 3em;
  display: block;
}

body.home #toolbar a.fullwidth {
  width: 100%;
}

body.home #toolbar a.section-title {
  border-radius: none;
  border: none;
  box-shadow: none;
  font-weight: 500;
  color: black;
  text-align: left;
  font-size: 1.5em;
  padding: 0;
  margin-top: 1em;
}


body.home #toolbar a.newRequest {
  background: var(--primary);
}

body.home #toolbar a.newRequest .title {
  color: white;
}

body.home #toolbar a.newRequest .fa {
  color: white;
}

body.home #toolbar a.menuDelDia {
  background: var(--primary);
}

body.home #toolbar a.menuDelDia .fa {
  color: white;
}

body.home #toolbar a.menuDelDia .title {
  color: white;
}


/*body.home #toolbar a.thisWeek, body.home #toolbar a.menuDelDia, body.home #toolbar a.currentRequests {
}

body.home #toolbar a.nextWeek, body.home #toolbar a.newRequest, body.home #toolbar a.repeatRequest,
body.home #toolbar a.dinerAdmin {
}*/

body.home #toolbar a.dinerAdmin {
  width: 100%;
}


body.home #toolbar a.currentRequests,
body.home #toolbar a.repeatRequest,
body.home #toolbar a.qrEntregaPedidos {
  min-height: 100px;
}

a.currentRequests .label,
a.repeatRequest .label {}

a.currentRequests .label .title,
a.repeatRequest .label .title {
  font-size: 0.9em;
}

body.home #toolbar a.currentRequests .label i.currentRequests {
  height: 2em;
  width: 2em;
  display: block;
}

body.home #toolbar a.repeatRequest .label i.repeatRequest {
  height: 2em;
  width: 2em;
  display: block;
}

body.home #toolbar a.newRequest.toolbar-break {
  /*width: 100%;*/
}

body.home #toolbar a.currentRequests .label i,
body.home #toolbar a.repeatRequest .label i,
body.home #toolbar a.qrEntregaPedidos .label i {
  font-size: 3em;
  color: var(--primary);
  margin-bottom: 0.5em;
}


body.home #toolbar a.currentRequests .label i {}


body.home #toolbar a.smallbutton {
  height: 3em;
  font-size: 1.4em;
  font-weight: 600;
  display: flex;
  align-content: center;
  flex-direction: column;
  justify-content: center;
  min-height: 3em;
}

body.home #toolbar a.smallbutton .title {
  font-size: 0.9em;
  min-height: auto;
}

body.home #toolbar a.sugerencias {
  background-image: url(../assets/syb/icons/opinion.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.home #toolbar a.conozcanos {
  background-image: url(../assets/syb/icons/redes.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.home #toolbar a.conozcanos .label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 1em;
  box-sizing: border-box;
  background-color: var(--gris-claro-syb);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: normal;
}

body.home #toolbar a.sugerencias .label {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 1em;
  box-sizing: border-box;
  background-color: var(--gris-claro-syb);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: normal;
}

body.home #pl_request_kpi {
  background-color: var(--azul-syb);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body.home #pl_request_kpi .legend {
  font-size: 1em;
}

body.new_request_planificacion #response,
body.new_request #response,
body.current_requests #response,
body.diner_nutritional_info #response,
body.changepassword.inside #response,
body.mis_datos.inside #response {
  background: var(--fondo-gris-claro);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

body.new_request_planificacion #response h1,
body.new_request #response h1,
body.current_requests #response h1,
body.diner_nutritional_info #response h1 {
  text-align: center;
  font-size: 1.25em;
  font-weight: 600;
  margin-bottom: 1em;
  margin-top: 0.5em;
}


.indicator.blue {
  background-color: var(--azul-syb);
}


.indicator.blue .label,
.indicator.blue .value {
  color: white;
}


body.home.inside #pl_request_kpi .count {
  color: white;
  text-shadow: none;
  font-weight: 500;
}

body.home .swiper .slide {
  background-color: transparent;
  color: white;
  border-radius: var(--radius);
}

body.home .swiper .slide .slide-label {
  max-width: 80%;
  text-align: center;
  font-size: 1.5em;
  font-weight: 600;
  text-shadow: 0px 0px 10px #222;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body.home .swiper .slide .slide-label::after {
  display: block;
  content: 'Ver mas';
  background-color: var(--rojo-syb);
  color: white;
  width: 6em;
  font-size: 0.6em;
  text-align: center;
  text-shadow: none;
  margin-top: 1em;
  border-radius: var(--radius);
  padding: 0.5em;
}

body.home .slider .slide-background {
  border-radius: var(--radius);
}


body.new_request_registered .topnav,
body.pago_pendiente .topnav,
body.pago_no_aprobado .topnav {
  display: none;
}

body.new_request_registered #response {
  padding: 0;
  background: var(--verde-syb);
  color: white;
}

body.pago_pendiente #response {
  padding: 0;
  background: var(--amarillo-syb);
}

body.pago_no_aprobado #response {
  padding: 0;
  background: var(--naranja-syb);
}

body.new_request_registered .fullscreen_message,
body.pago_no_aprobado .fullscreen_message {
  margin-top: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;
  height: 100%;
}

body.new_request_registered .fullscreen_message>*,
body.pago_no_aprobado .fullscreen_message>* {
  /*height: 50%;*/
  width: 100%;
}

body.new_request_registered .fullscreen_message .icon,
body.pago_pendiente .fullscreen_message .icon,
body.pago_no_aprobado .fullscreen_message .icon {
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /*background-image: url(../assets/syb/icons/food_delivery.png);*/
  background-position: center;
  background-repeat: no-repeat;
  animation-name: tada;
  animation-delay: 500ms;
}

body.pago_no_aprobado .fullscreen_message .icon {
  /*background-image: url(../assets/syb/icons/pago_no_aprobado.png);*/
}

body.new_request_registered .fullscreen_message .icon::before,
body.pago_no_aprobado .fullscreen_message .icon::before {}

body.new_request_registered .fullscreen_message .message,
body.pago_pendiente .fullscreen_message .message,
body.pago_no_aprobado .fullscreen_message .message {
  border-radius: var(--radius);
  background: none;
  animation-name: slideInUp;
  animation-delay: 500ms;
  font-size: 1.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  box-sizing: border-box;
  color: white;
}

body.pago_pendiente .fullscreen_message .message {
  color: var(--gris-oscuro-syb);
}

body.new_request_registered .fullscreen_message .fa-check-circle:before,
body.pago_pendiente .fullscreen_message .fa-check-circle:before,
body.pago_no_aprobado .fullscreen_message .fa-frown:before {
  font-size: 2em;
}

.topnav {
  margin-bottom: 2em;
}


button.yes {
  background: var(--verde-syb) !important;
}

button.no {
  background: var(--rojo-syb) !important;
}

.diner_request .row.total {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font-weight: bold;
  font-size: 1.2em;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  right: 1em;
}

.diner_request {
  position: relative;
  border: 1px solid #ccc !important;
  padding: 1em;
  background-color: white;
  border-radius: var(--radius);
  margin-bottom: 1em !important;
}

.diner_request .row.total .label::before {
  content: '' !important;
}


body.home #calendar .calendar_header span.previous_month::before,
body.home #calendar .calendar_header span.next_month::before {
  color: var(--primary);
}


body.vista_servicio .service_item .receta {
  font-size: 1em;
}


body.vista_servicio .etiqueta_post.etiqueta {
  color: #BBB;
  font-size: 0.7em;
  letter-spacing: 1;
  width: 100%;
  display: none;
}

body.vista_servicio .grupos_de_pertenencia {
  display: none;
}

body.vista_servicio .recipe_information_more_info {
  display: inline-block;
  font-size: 0.7em;
  font-weight: bold;
  text-transform: uppercase;
  color: #A88;
  padding: 0.5em;
  margin-top: 1em;
  border-radius: 4px;
  background: #fdd;
}

input[type='button'],
input[type='submit'],
a.button {
  animation: none;
}
