body {
  margin: 0;
  font-family: stolzl, sans-serif;
  background-color: #F8F8F8;
}
body * {
  box-sizing: border-box;
}
.loader {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  opacity: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.loader.visible {
  opacity: 1;
  z-index: 10;
}
.report {
  display: block;
  width: 200px;
  border-radius: 20px;
  text-decoration: none;
  padding: 10px 20px;
  margin: -10px auto 30px;
  color:#ffc401;
  border: 1px solid;
  text-align: center;
}
header {
  height: 60px;
  text-align: center;
  background-image: linear-gradient(to right, #000000, #191919, #2b2b2b, #3f3f3f, #535353);
}
header img {
  height: 40px;
  margin-top: 10px;
  margin-left: 10px;
  position: absolute;
  left: 0;
}
header h1 {
  color: white;
  text-transform: uppercase;
  margin: 0 auto;
  line-height: 60px;
  font-size: 1.4em;
}

.container {
  display: grid;
  grid-template-columns: 300px 5vw calc(100vw - 10vw - 300px) 5vw;
  grid-template-rows: auto;
  grid-template-areas: 
    "sidebar . content ."
}
.sidebar {
  grid-area: sidebar;
  background-image: linear-gradient(to bottom, #000000, #191919, #2b2b2b, #3f3f3f, #535353);
  height: 100%;
  min-height: 100vh;
  text-align: center;
}
.sidebar .logo {
  margin: 40px auto 20px;
  height: 60px;
}
.sidebar .title {
  color:white;
  font-size: 20pt;
  font-weight: bold;
  margin: 10px auto 20px;
}
.sidebar .menu {
  list-style-type: none;
  padding: 0;
}
.sidebar .menu li {
  padding-left: 30px;
  margin-bottom: 5px;
}
.sidebar .menu li a {
  display: flex;
  text-decoration: none;
}

.sidebar .menu li a img {
  width: 30px;
}
.sidebar .menu li a p {
  color: white;
  margin-left: 15px;
  text-align: left;
}
.sidebar .menu li.selected {
  background-color: #FFC401;
}
.sidebar button {
  position: fixed;
  bottom: 20px;
  left: 20px;
}
.out_of_stock {
  justify-self: end;
  align-self: center;
}

.content {
  grid-area: content;
  padding-bottom: 60px;
}
.content h1 {
  margin-top: 1.5em;
  margin-bottom: 1em;
}

.uploaded-img {
  display: none;
  width: 100%;
  position: relative;
}
.uploaded-img img {
  max-width: 100%;
  border-radius: 20px;
  border: 1px solid grey;
  max-height: 300px;
}
.uploaded-img button {
  display: block;
  margin: 10px auto;
}

.order-item-container {
  display: flex;
  margin-bottom: 70px;
  text-align: left;
}
.order-item-container .order-item {
  background-color: white;
  border-radius: 18px;
  box-shadow: 4px 4px 15px rgba(0,0,0,.16);
  padding: 20px;
  flex-grow: 1;
  transition: all .2s ease;
}
.order-item-container .order-item h3 {
  font-weight: 100;
  margin: 10px auto;
}
.order-item-container .order-item > p {
  margin: 0;
  color: #707070;
}
.menu-items-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.menu-items-container .item {
  display: flex;
  width: 100%;
  align-items: center;
  margin: 15px 0;
}
.menu-items-container .item .quantity {
  background-color: #CFCFCF;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 1.5em;
}
.menu-items-container .item .detail {
  flex-grow: 1;
  padding: 10px 15px;
}
.menu-items-container .item .detail h4 {
  margin: 0 0 10px;
}
.menu-items-container .item .detail p {
  font-size: .8em;
}
.menu-items-container button {
  opacity: 1;
  transition: all .2s ease;
}
.menu-items-container .total {
  margin-left: auto;
}
.operation-hours {
  padding: 20px;
  background-color: white;
}
.operation-hours label {
  margin-right: 5px;
  width: 65px;
  display: inline-block;
  margin-bottom: 10px;
}
.operation-hours select {
  width: calc(100% - 70px);
}
.operation-hours button {
  position: relative;
  bottom: auto;
  left: auto;
  border: 1px solid !important;
  margin: 0 auto;
}


form {
  display: none;
  background-color: #fff;
  border-radius: 52px;
  box-shadow: 4px 4px 15px rgba(0,0,0,.16);
}
.form {
  display: none;
  opacity: 0;
  transition: opacity .2s ease;
  padding: 70px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.form.visible {
  display: flex;
  opacity: 1;
}

.input-container {
  width: 100%;
  min-height: 60px;
  margin-bottom: 20px;
}
.input-container.hidden {
  display: none;
}
.input-container label {
  font-weight: 100;
  display: block; 
}
.input-container.spaced label{
  margin-bottom: 10px;
}
.input-container input {
  width: 100%;
  border: none;
  border-bottom: 1px solid;
  height: 40px;
  padding: 5px 10px;
  font-size: 1em;
  outline: none;
}
.input-container input[type="number"] {
  width: 20%;
  min-width: 100px;
}
.input-container textarea {
  width: 100%;
  max-width: 100%;
  min-height: 10vh;
  border: 1px solid;
  padding: 10px;
  font-size: 1em;
}
.input-container select {
  height: 50px;
  min-width: 50%;
  background: none;
  border: 1px solid;
}
.input-container.checkbox {
  display: flex;
  align-items: center;
  min-height: 40px;
}
.input-container.checkbox label {
  flex-grow: 1;
}
.input-container.checkbox input {
  width: auto;
}

.file-drop {
  height: 200px;
  width: 100%;
  border: 2px dashed;
  border-radius: 4px;
  position: relative;
  transition: all .5s ease-in;
}
.file-drop .loading {
  display: none;
  position: absolute;
  left: 5px;
  top: 5px;
}
.file-drop .progress {
  position: absolute;
  top: 5px;
  z-index: 1;
  width: calc(100% - 10px);
  margin: 0 auto;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 5px;
}
.file-drop .progress div {
  background-color: #FFC401;
  border-radius: 5px;
  height: 100%;
  position: absolute;
  left: 0;
  transition: all .3s ease;
}
.file-drop .center {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translate(0,-50%);
  text-align: center;
}
.file-drop .center p {
  font-size: 1.1em;
  margin: 0 auto;
}
.file-drop .center span {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
}
.file-drop.dragging {
  background-color: #00b09b;
  color: white;
}
.file-drop .file-upload {
  width: 50%;
  margin: 0 auto;
}
.file-drop .file-upload::after {
  content: 'Choose from device';
  width: 50%;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 50px;
  line-height: 50px;
  border: 1px solid;
  border-radius: 35px;
  z-index: -1;
}
.file-drop .file-upload input {
  opacity: 0;
}


.list-loading {
  text-align: center;
}
.list {
  text-align: center;
}
.list.hidden {
  display: none;
}
.list-item-container {
  display: flex;
  margin-bottom: 70px;
  text-align: left;
}
.list-item-container .list-item {
  background-color: white;
  border-radius: 18px;
  box-shadow: 4px 4px 15px rgba(0,0,0,.16);
  display: grid;
  grid-template-columns: 30% auto;
  grid-template-rows: auto;
  grid-row-gap: 20px;
  padding: 20px;
  grid-template-areas: 
    "image content"
    "detail detail";
  flex-grow: 1;
  transition: all .2s ease;
}
.list-item-container .list-item .list-item-image {
  grid-area: image;
  transform: translate(-40px, -40px);
  border-radius: 18px;
  width: 6vw;
  height: 6vw;
  transition: transform .5s ease;
}
.list-item-container .list-item .list-item-image.normal {
  transform: translate(0);
}
.list-item-container .list-item .list-item-image div {
  background-repeat: no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  border-radius: 18px;
}
.list-item-container .list-item .list-item-content {
  grid-area: content;
}

.list-item-container .actions {
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.list-item-container .actions div {
  width: 100%;
  height: 4vw;
  text-align: center;
}

.conversations {
  display: grid;
  grid-template-columns: calc(50% - 10px) calc(50% - 10px);
  grid-template-rows: calc(100vh - 200px);
  column-gap: 20px;
}

.chats {
  display: flex;
  background-color: white;
  padding: 20px 0;
  flex-wrap: wrap;
  align-content: flex-start;
  overflow: auto;
  border-radius: 27px;
  box-shadow: 4px 4px 15px #D4D4D4;
}
.chat-item-container { width: 100%; }
.chat-item {
  border-bottom: 1px solid rgba(134, 134, 134,.1);
  width: 90%;
  margin: 20px auto 0;
  padding: 10px 20px;
  display: flex;
  align-items: center;  
  transition: all .2s ease;
}
.chat-item.selected {
  background-color: #707070;
  color: white;
  width: 100%;
  padding-left: calc(20px + 5%);
  padding-right: calc(20px + 5%);
}
.chat-item.selected span {
  color:white;
}
.chat-item-image {
  width: 50px;
  height: 50px;
  position: relative;
}
.chat-item-image.updated::after {
  content: '';
  background-color: #FFC401;
  border-radius: 50%;
  height: 10px;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
.chat-item-image div {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.chat-item-content {
  flex-grow: 1;
  margin-left: 10px;
}
.chat-item-content h2 {
  font-weight: 100;
  margin: 0;
  font-size: 1.1em;
}
.chat-item-content span {
  font-weight: 100;
  margin-top: 10px;
  font-size: .8em;
  color: #6C7B8A;
}

.chat-container {
  position: relative;
  overflow: auto;
  background-color: white;
  border-radius: 27px;
  box-shadow: 4px 4px 15px #D4D4D4;
}
.chat-action {
  background-color: black;
  border-radius: 27px;
  display: flex;
  width: 100%;
  min-height: 48px;
  position: absolute;
  bottom: 0;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
}

.chat-action .profile {
  width: 30px;
  border-radius: 50%;
  height: 30px;
}
.chat-action .textarea {
  width: calc(100% - 80px);
  padding: 10px;
  font-size: .9em;
  min-height: 35px;
  max-height: 150px;
  overflow-x: hidden;
  overflow-y: auto;
  color: white;
  outline: none;
  border-radius: 25px;
  background-color: rgba(255,255,255,.1);
}
.chat-action .textarea .inline-image {
  position: relative;
}
.chat-action .textarea .inline-image button {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: black;
  padding: 0;
}
.chat-action .textarea .inline-image button img {
  height: 60%;
}
.chat-action .textarea .inline-image .thumbnail {
  max-width: 90%;
  border-radius: 10px;
  max-height: 120px;
}
.chat-action .actions {
  width: 30px;
  display: flex;
  flex-wrap: wrap;
  align-content: space-evenly;
  align-self: stretch;
}
.chat-action .actions .image {
  position: relative;
  width: 30px;
  height: 30px;
}
.chat-action .actions .image input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.chat-action .actions .image img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0,-50%); 
}
.chat-action .actions button {
  display: none;
  width: 30px;
  height: 30px;
}

.message-container {
  background-color: white;
  border-radius: 27px;
  padding: 10px;
  overflow: auto;
  height: 100%;
  padding-bottom: 48px;
}
.messages {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}
.messages.user {
  align-items: flex-start;
}
.messages.admin {
  align-items: flex-end;
}

.messages.admin .message {
  background-image: linear-gradient(to right bottom, #ffc401, #ffe07b);
  color: white;
  border-bottom-right-radius: 0;
}
.messages.admin .message img {
  border-bottom-right-radius: 0;
}

.messages.user .message {
  background-color: #707070;
  color: white;
  border-bottom-left-radius: 0;
}
.messages.user .message img {
  border-bottom-left-radius: 0;
}

.message {
  padding: 6px 12px;
  border-radius: 20px;
  max-width: 70%;
  margin-bottom: 5px;
  width: fit-content;
}
.message img {
  width: 100%;
  border-radius: 10px;
  margin: 5px auto;
  display: block;
}
.message p {
  margin: 0;
  text-align: left;
  line-height: 1;
  width: fit-content;
}

.list-item-attendees {
  grid-area: detail;
  max-height: 0;
  text-align: center;
  border-top: 1px solid #707070;
  opacity: 0;
  transition: max-height .5s ease-in-out;
}
.list-item-attendees.reveal {
  max-height: 100vh;
  margin-bottom: 40px;
}
.list-item-attendees h2 {
  text-align: left;
}
.list-item-attendees button.round {
  position: absolute;
  bottom: calc(-4vw + -40px);
  left: 0;
  right: 0;
  margin: auto;
}
.attendee {
  display: grid;
  grid-template-columns: 100px auto 140px;
  grid-template-areas: "image content action";
  grid-column-gap: 20px;
  border: 3px solid #707070;
  border-radius: 38px;
  align-items: center;
}
.attendee-image {
  grid-area: image;
  width: 100%;
  border-radius: 50%;
  padding: 10px;
}
.attendee-detail {
  grid-area: content;
  text-align: left;
}
.attendee-detail p {
  color: #707070;
}
.attendee-detail p:first-of-type {
  font-size: 1.2em;
}
.attendee-action {
  grid-area: action;
  display: flex;
  align-items: center;
}

button {
  outline: none;
  text-transform: uppercase;
}
button.standard {
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 35px;
  border: none;
}
button.standard.delete {
  color: #DB4D4D; 
  border: 3px solid #DB4D4D;
}
button.standard.primary {
  background-image: linear-gradient(to right top, #ffc401, #ffc401, #ffecab);
  color: #707070;
  font-size: 1em;
  padding: 10px 30px;
}
button.standard.secondary {
  border: 1px solid;
}
button.round {
  position: relative;
  border-radius: 50%;
  height: 4vw;
  width: 4vw; 
  border: none;
  box-shadow: 0 3px 6px rgba(0,0,0,.16);
}
button.round img {
  width: 30%;
  position: absolute;
  top: 50%;
  transform: translate(0,-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
}
button.round.text {
  margin-top: -20px;
}
button.round.delete {
  background-color: #DB4D4D;
}
button.round.rotate-270 {
  transform: rotate(270deg);
}
button.round span {
  position: absolute;
  bottom: -20px;
  width: 140%;
  left: -20%;
  font-weight: 100;
}


.container-column {
  display: grid;
  grid-template-columns: 47.5% 47.5%;
  grid-template-rows: auto;
  column-gap: 5%;
}

.login-form {
  display: block;
  position: absolute;
  max-width: 400px;
  width: 100%;
  padding: 50px 50px 75px;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 25px;
}
.login-form h2 {
  color: #707070;
  font-weight: 300;
  text-align: center;
  margin: 0 auto 40px;
}
.login-form input[type="submit"] {
  position: absolute;
  bottom: -60px;
  padding: 10px 40px;
  -webkit-appearance: none;
  background-image: linear-gradient(to right top, #ffc401, #ffc401, #ffecab);
  color: #707070;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 35px;
  font-size: 1em;
  height: 40px;
  right: 0;
}
.bg {
  height: 110vh;
  position: fixed;
  top: -5vh;
  left: -5vw;
  width: 110vw;
  filter: blur(15px) opacity(0.6);
  background-image: url(images/login-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 60%;
  z-index: -1;
}

.departments-container {
  width: 100%;
  margin-bottom: 20px;
  display: none;
}
.departments-container button {
  position: relative;
  background-color:white;
  border: none;
  padding: 10px 20px;
  left: auto;
  bottom: auto;
  border-radius: 20px;
}
.departments-container .departments {
  display: none;
  opacity: 0;
  transition: opacity .2s ease;
  background-color: #f8f8f8;
  border: 10px solid black;
  border-radius: 20px;
  padding: 10px 20px;
}
.departments-container .departments a {
  display: block;
  text-decoration: none;
  color:black;
  text-align: left;
  margin-bottom: 5px;
  padding: 5px;
  border-bottom: 1px solid#d5d5d5;
}
.departments-container .departments.show {
  display: block;
  opacity: 1;
}
.departments-container.open {
  margin-bottom: 0;
}


.toastify {
  max-width: none;
  width: 280px;
}
.toast-close {
  position: absolute;
  right: 5px;
}

/*Animations*/

@keyframes sink {
  0%{
      transform: scale(1);
      opacity: 1;
      }
  100%{
      transform: scale(0);
      opacity: 0;
      width: 0;
  }
}
@keyframes rise {
  0%{
    transform: scale(0);
    opacity: 0;
    width: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes reveal {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes hide {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.sink {
  animation: sink .5s ease-in-out forwards;
}
.rise {
  animation: rise .5s ease-in-out forwards;
}
.reveal {
  animation: reveal .5s ease-in-out .25s forwards;
}
.hide {
  animation: hide .5s ease-in-out forwards;
}

