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

:root {
  --primary: #f6a21c;
  --primary-light: #4151e4;
  --naranja-enser: #e65644;
  --verde-enser: #afcb18;
  --amarillo-enser: #fdc318;
  --naranja-claro-enser: #f6a21c;

  
  --shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  --shadow-bottom-toolbar: -4px 0px 10px rgba(0, 0, 0, 0.15);
  --radius: 6px;
  --fondo-gris-claro: #b8b0b0;
  --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: #65676a;
  --calendar-sin-servicio: #d3d0c9;
  --calendar-cerrado: #fdc318;
  --calendar-con-pedido: #ca131f;
  --calendar-today: #afcb18;
  --calendar-pendiente: #199fda;

  --theme-success: #ACBFA4;
  --theme-wrong: #e51a28;

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

  --background-outside-enser: #ffff;
  --color-texto: #e65644;

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

.topnav #logo {
 background-image: url('../assets/enser/logo_login.png');
}


body.login #logo-header, body.forgotpassword #logo-header, body.registrar_d_diner #logo-header {
 background-image: url('../assets/enser/logo.png');
}

/* Generales */
body {
 font-family: Montserrat;
 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(--naranja-enser);
}

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/enser/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/enser/logo.png);
 background-position: right;

}

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

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

input[type="button"],
input[type="submit"],
a.button {
 font-family: Montserrat;
 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(--verde-enser) !important;
}

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


a.button.primary,
input[type="button"].primary {
 background: var(--naranja-enser) !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/dish/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 {
 padding-left: 0.5em;
 padding-right: 0.5em;
 width: 100%;
 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-enser);
 /* background-position-x: -248px; */
 /* background-position-y: -547px; */

 background-image:
   radial-gradient(circle at 70% -40%, white 100%, white 0%, transparent);
 background-size: 200% 200%;
 transition: all .25s ease;
 color: white;
}

body.login #logo_impact {
 background-image: url('../assets/enser/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: Montserrat;
 width: 100%;
}

body input[type="submit"],
body input[type="button"] {
 background: var(--naranja-claro-enser) !important;
 color: #ffff !important;
 font-size: 1em;
}

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


body a.button.cancel {
 background: var(--amarillo-enser);
 color: var(--naranja-enser) !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/enser/logo_login.png);
 
}


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: row;
 justify-content: space-around;
}

body.home .seleccion .fecha {
 width: 50%;
 margin-right: 1em;
 background: var(--verde-enser);
 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(--naranja-enser);
 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: 24vh;
}

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

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

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

body.home #toolbar a.menuDelDia {
 background: #008e93;
}

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

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: #e65644;
 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/enser/icons/opinion.png);
 background-position: center;
 background-repeat: no-repeat;
 background-size: cover;
}

body.home #toolbar a.conozcanos {
 background-image: url(../assets/enser/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(--amarillo-enser);
 border-radius: var(--radius);
 color: var(--naranja-enser);
 font-weight: normal;
}

body.home #toolbar a.sugerencias .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(--amarillo-enser);
  border-radius: var(--radius);
  color: var(--naranja-enser);
  font-weight: normal;
}

body.home #pl_request_kpi {
 background-color: var(--naranja-enser);
 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: white;
 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(--naranja-enser);
}


.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(--verde-enser);
 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-enser);
 color: white;
}

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

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

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/dish/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/dish/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(--naranja-enser);
}

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-enser) !important;
}

button.no {
 background: var(--verde-enser) !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;
}

.service_item div.etiqueta.etiqueta_post {
 display: none;
}
