#orders-acceptation-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
}
#orders-acceptation-wrapper body, #orders-acceptation-wrapper table, #orders-acceptation-wrapper td, #orders-acceptation-wrapper th, #orders-acceptation-wrapper legend, #orders-acceptation-wrapper dt, #orders-acceptation-wrapper dd, #orders-acceptation-wrapper strong, #orders-acceptation-wrapper p, #orders-acceptation-wrapper div, #orders-acceptation-wrapper span, #orders-acceptation-wrapper textarea, #orders-acceptation-wrapper input, #orders-acceptation-wrapper a, #orders-acceptation-wrapper label, #orders-acceptation-wrapper h1, #orders-acceptation-wrapper h2, #orders-acceptation-wrapper h3, #orders-acceptation-wrapper h4, #orders-acceptation-wrapper h5, #orders-acceptation-wrapper h6, #orders-acceptation-wrapper input[type=submit] {
  font-family: "Roboto", "Arial", sans-serif !important;
}

#new-orders,
#finished-orders,
#cancelled-orders,
#orders-for-acceptation {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

#new-orders,
#finished-orders,
#cancelled-orders {
  position: relative;
}

.empty-space-helper {
  display: none;
  width: 10%;
  height: 100vh;
}

#orders-for-acceptation {
  height: 100%;
  overflow: hidden;
}
#orders-for-acceptation:after {
  content: "";
  display: table;
  clear: both;
}
#orders-for-acceptation .phone-order,
#orders-for-acceptation .phone-order-btn {
  position: absolute;
  top: 110px;
  right: 0;
  background: #EEE;
  border-radius: 5px 0 0 5px;
  padding: 0.5em 1em;
  font-size: 1.2em;
}
#orders-for-acceptation .phone-order {
  top: 80px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
#orders-for-acceptation .phone-order__header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-direction: normal;
  -webkit-box-orient: horizontal;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  margin-bottom: 1em;
}
#orders-for-acceptation .phone-order__header:after {
  content: "";
  display: table;
  clear: both;
}
#orders-for-acceptation .phone-order__customer {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  align-items: center;
  margin-left: 1em;
  font-weight: bold;
  font-size: 1.5em;
}
#orders-for-acceptation .phone-order__buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
#orders-for-acceptation .phone-order__buttons .btn {
  margin: 0.2em;
}

.gastro-delivery-times-asap {
  float: right;
  padding: 10px;
  position: relative;
  margin-right: 4em;
}
.gastro-delivery-times-asap span {
  padding: 10px;
}
.gastro-delivery-times-asap strong {
  font-size: 20px;
}
.gastro-delivery-times-asap__options {
  display: none;
  position: absolute;
  z-index: 5000;
  width: 100%;
  left: 0;
  background: #ECECEC;
  line-height: 2.2;
  padding-top: 1em;
}
.gastro-delivery-times-asap__options .fa-stack {
  margin-bottom: 20%;
}
.gastro-delivery-times-asap__options a {
  font-size: 130%;
  margin-bottom: 5px;
  font-weight: normal !important;
  display: block;
}
.gastro-delivery-times-asap__option-wrapper {
  padding: 0 7px !important;
}

#logo-wrapper {
  display: inline-block;
}

#header {
  height: 50px;
  border-bottom: 0.1em solid #B1B1B1;
}
#header:after {
  content: "";
  display: table;
  clear: both;
}

#top {
  background: #ECECEC;
  border-bottom: 0.1em solid #B1B1B1;
  padding: 2px 1% 2px 2em;
  height: 100%;
}
#top:after {
  content: "";
  display: table;
  clear: both;
}
#top .right {
  padding-top: 12px;
}
#top .logo-img {
  display: inline-block;
}

#closing-date {
  padding: 0.6em 1.2em;
  background: #4C9BED;
  color: #FFFFFF;
  border-radius: 2px;
  margin-left: 1em;
}
#closing-date:hover {
  background: #3B8ADC;
  text-decoration: none;
}

#orders-list {
  height: 100%;
  width: 60%;
  min-width: 600px;
  float: left;
  overflow: hidden;
  position: relative;
}

#last-actualization-info {
  position: absolute;
  bottom: 2em;
  width: 100%;
  font-size: 1.9em;
  color: #D5D5D5;
  text-align: center;
}

#buttons {
  border-bottom: 0.1em solid #B1B1B1;
  padding: 0.1em 1% 0;
  font-size: 1.1em;
  position: relative;
}
#buttons .orders-link {
  position: relative;
  display: inline-block;
  padding: 0.9em 1em;
  background: #F5F5F5;
  margin-right: 1em;
  bottom: 1px;
}
#buttons .orders-link.active {
  background: #FFF;
  color: #222222;
  font-weight: bold;
  bottom: -0.1em;
  border: 0.1em solid #B1B1B1;
  border-bottom: 0;
}
#buttons .slider {
  position: relative;
  display: inline-block;
  padding: 0.9em 1em;
}
#buttons .slider .fa,
#buttons .slider span {
  font-size: 2em;
  padding: 0 0.3em;
}
#buttons .notification-circle {
  display: inline-block;
  background: #D5092A;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  height: 10px;
  width: 10px;
  margin: 0.6em 0.4em 0 0;
  position: relative;
  left: 0;
  -webkit-animation: pulsate 1.3s ease-out;
  -webkit-animation-iteration-count: infinite;
  opacity: 0;
}
@-webkit-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.1, 0.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.2, 1.2);
    opacity: 0;
  }
}

#orders {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}
#orders:after {
  content: "";
  display: table;
  clear: both;
}
#orders .box-for-display {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5% 1%;
  width: 100%;
}
#orders .box-for-display:after {
  content: "";
  display: table;
  clear: both;
}
#orders .box-for-display.hidden {
  display: none;
}
#orders .column {
  margin-right: 1.25%;
  width: 48.75%;
}
#orders .column:nth-of-type(3n + 0) {
  margin-right: 0;
}
#orders .order {
  cursor: pointer;
  padding: 0.7em;
  width: 100%;
  min-height: 8em;
  position: relative;
  background: #DADADA;
  color: #6D6D6D;
  border-radius: 8px;
  margin: 0.2em 0 1em 0;
  border: 3px solid transparent !important;
}
#orders .order:after {
  content: "";
  display: table;
  clear: both;
}
#orders .order.active {
  border: 3px solid #858585 !important;
}
#orders .order.shop-approved {
  background: #D9534F;
  color: #FFFFFF;
}
#orders .order.shop-approved.active {
  border-color: #444 !important;
}
#orders .order.shop-approved.payment-cancelled {
  background: #D9534F;
}
#orders .order.shop-approved.payment-cancelled.active {
  border-color: #222 !important;
}
#orders .order.shop-approved.payment-paid {
  background: #5CB85C;
}
#orders .order.shop-approved.payment-paid.active {
  border-color: #777 !important;
}
#orders .order.shop-new_transportation_confirm {
  background: #D9534F;
  color: #FFFFFF;
}
#orders .order.shop-new_transportation_confirm.active {
  border-color: #444 !important;
}
#orders .order.shop-new_transportation_confirm.customer-new_transportation_confirmed {
  background: #5CB85C;
}
#orders .order.shop-new_transportation_confirm.customer-new_transportation_confirmed.active {
  border-color: #777 !important;
}
#orders .order.shop-new_transportation_confirm.customer-new_transportation_confirmed.payment-none, #orders .order.shop-new_transportation_confirm.customer-new_transportation_confirmed.payment-cancelled {
  background: #D9534F;
}
#orders .order.shop-new_transportation_confirm.customer-new_transportation_confirmed.payment-none.active, #orders .order.shop-new_transportation_confirm.customer-new_transportation_confirmed.payment-cancelled.active {
  border-color: #222 !important;
}
#orders .order .general-info {
  padding: auto 0;
  position: relative;
}
#orders .order .general-info .time, #orders .order .general-info .name {
  font-size: 1.2em;
  margin-bottom: 0.2em;
  line-height: 130%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
#orders .order .general-info .items {
  margin-top: 0.8em;
  font-size: 0.9em;
  max-width: 100%;
}
#orders .order .tags {
  margin-top: 0.8em;
  position: relative;
}
#orders .order .tags .tag {
  float: left;
  border-radius: 3px;
  color: #FFF;
  text-align: center;
  min-width: 4.5em;
  max-width: 10em;
  padding: 0.15em 0.25em;
  margin-bottom: 0.3em;
  margin-right: 1%;
  font-size: 0.9em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#orders .order .tags .tag:nth-of-type(3n) {
  margin-right: 0;
}
#orders .order .tags .tag--note {
  background: #FF9248;
}
#orders .order .tags .tag--voucher {
  background: #72BB48;
}
#orders .order .tags .tag--paid, #orders .order .tags .tag--non-paid {
  background: #4C9BED;
}
#orders .order .tags .tag--date {
  background: #C16EA8;
}
#orders .order .tags .tag--time-suggestion {
  background: #C84745;
}
#orders .order .order-id {
  line-height: 100%;
  position: absolute;
  bottom: 0.3em;
  right: 1em;
}

#order-detail-wrapper {
  position: relative;
  overflow: hidden;
  width: 40%;
  height: calc(100% - 50px);
  min-width: 300px;
  float: left;
  border-right: 0.1em solid #B1B1B1;
  background: #FFFFFF;
}
#order-detail-wrapper #modal {
  position: fixed;
}
#order-detail-wrapper #top-scrollable {
  position: relative;
  overflow: auto;
  height: 351px;
}
#order-detail-wrapper .bottom-fixed {
  width: 96%;
  bottom: 0;
  position: absolute;
}
#order-detail-wrapper #order-detail-header:after {
  content: "";
  display: table;
  clear: both;
}
#order-detail-wrapper #order-detail {
  width: 100%;
  padding: 10px;
  -webkit-box-sizing: "border-box";
  -moz-box-sizing: "border-box";
  box-sizing: "border-box";
}
#order-detail-wrapper #order-detail .hint {
  margin-top: 100px;
  text-align: center;
  font-size: 1.6em;
  color: #CCC;
}
#order-detail-wrapper #order-detail h2 {
  margin-top: 0;
  font-size: 1.5em;
}
#order-detail-wrapper #order-detail .address {
  font-size: 1.2em;
  line-height: 130% !important;
  padding: 0 2% 0 0;
}
#order-detail-wrapper #order-detail .address div {
  line-height: 130% !important;
}
#order-detail-wrapper #order-detail .address .name {
  font-size: 1.4em;
}
#order-detail-wrapper #order-detail .address a {
  text-decoration: none;
  color: #333;
}
#order-detail-wrapper #order-detail .order-info {
  padding: 0 !important;
  text-align: right;
}
#order-detail-wrapper #order-detail .order-info .delivery-time {
  font-size: 1.2em;
  font-weight: bold;
}
#order-detail-wrapper #order-detail .products {
  font-size: 1.3em;
  margin: 2em 0;
  width: 100%;
}
#order-detail-wrapper #order-detail .products tr {
  border-bottom: 0.1em solid #B1B1B1;
}
#order-detail-wrapper #order-detail .products tr.total-price {
  border-bottom: none;
  border-top: 0.1em solid #B1B1B1;
}
#order-detail-wrapper #order-detail .products tr td {
  padding: 0.4em 0 0.4em;
}
#order-detail-wrapper #order-detail .products tr td.space {
  padding: 0.1em 0;
}
#order-detail-wrapper #order-detail .products .name {
  width: 60%;
}
#order-detail-wrapper #order-detail .products .name .ingredients {
  font-size: 0.8em;
}
#order-detail-wrapper #order-detail .products .quantity, #order-detail-wrapper #order-detail .products .price {
  text-align: center;
  width: 20%;
  vertical-align: top;
}
#order-detail-wrapper #order-detail .products .price {
  text-align: right;
}
#order-detail-wrapper #order-detail .times {
  margin-top: 2em;
}
#order-detail-wrapper #order-detail .times:after {
  content: "";
  display: table;
  clear: both;
}
#order-detail-wrapper #order-detail .times .time {
  width: 30%;
  min-width: 5em;
  text-align: center;
  border-radius: 4px;
  background: #DADADA;
  margin: 0 5% 3% 0;
  padding: 0.8em 0;
  font-size: 1.2em;
  float: left;
  cursor: pointer;
}
#order-detail-wrapper #order-detail .times .time:nth-of-type(3n + 0) {
  margin-right: 0;
}
#order-detail-wrapper #order-detail .times .time:hover, #order-detail-wrapper #order-detail .times .time.active {
  background: #616161;
  color: #FFF;
}
#order-detail-wrapper #order-detail .order-id {
  font-size: 1.2em;
  color: #999;
}

#acceptation-form {
  background: #FFF;
  padding: 0.5em 0 0;
  text-align: center;
}
#acceptation-form .btn {
  display: block;
  width: 100%;
  padding: 0.8em 0;
  font-size: 1.2em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
#acceptation-form #time-suggestion {
  width: 100%;
  padding: 0.8em 0;
  margin-bottom: 0.5em;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  border: 0;
  color: #FFF;
  text-align-last: center;
  text-transform: uppercase;
}
#acceptation-form #time-suggestion option, #acceptation-form #time-suggestion optgroup {
  text-align: center;
  background: #FFF;
  color: #555;
}

#login-form {
  border: 1px solid #B1B1B1;
  background: #ECECEC;
  margin: 70px auto;
  width: 400px;
  padding: 10px 10px 0;
}
#login-form:after {
  content: "";
  display: table;
  clear: both;
}
#login-form input#password {
  float: left;
}
#login-form input#submit {
  float: right;
}

#time-shifting {
  padding: 2em;
}

.times-for-shift-wrapper {
  padding-bottom: 0.5em;
}
.times-for-shift-wrapper:after {
  content: "";
  display: table;
  clear: both;
}
.times-for-shift-wrapper .confirm,
.times-for-shift-wrapper .suggestion {
  display: block;
  float: left;
  width: 23.5%;
  margin: 0 2% 5% 0;
  text-align: center;
  border-radius: 3px;
}
.times-for-shift-wrapper .confirm:nth-of-type(4n + 0),
.times-for-shift-wrapper .suggestion:nth-of-type(4n + 0) {
  margin-right: 0;
}
.times-for-shift-wrapper .confirm:nth-of-type(4n + 0):after,
.times-for-shift-wrapper .suggestion:nth-of-type(4n + 0):after {
  content: "";
  display: table;
  clear: both;
}
.times-for-shift-wrapper .confirm a,
.times-for-shift-wrapper .suggestion a {
  font-size: 2em;
  font-weight: bold;
  padding: 1em 0;
  color: #FFF;
  display: block;
  width: 100%;
  height: 100%;
}
.times-for-shift-wrapper .confirm.confirm,
.times-for-shift-wrapper .suggestion.confirm {
  background: #449D44;
}
.times-for-shift-wrapper .confirm.suggestion,
.times-for-shift-wrapper .suggestion.suggestion {
  background: #EC971F;
}

#modal .modal-dialog,
#map-modal .modal-dialog {
  width: 90%;
  height: 90%;
}
#modal .modal-dialog .modal-content,
#map-modal .modal-dialog .modal-content {
  width: 100%;
  height: 100%;
}

/* Animace telefonu */
.ringing-phone {
  position: relative;
  display: block;
  margin: 0;
  width: 1em;
  height: 1em;
  font-size: 8vmin;
  background-color: #5AAC41;
  border-radius: 0.5em;
  box-shadow: 0 0 0 0em rgba(90, 172, 65, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  transform: translate3d(0, 0, 0) scale(1);
}

.ringing-phone::before,
.ringing-phone::after {
  position: absolute;
  content: "";
}

.ringing-phone::before {
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(0);
}

.ringing-phone::after {
  top: 0.25em;
  left: 0.25em;
  width: 0.5em;
  height: 0.5em;
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTYuNiAxMC44YzEuNCAyLjggMy44IDUuMSA2LjYgNi42bDIuMi0yLjJjLjMtLjMuNy0uNCAxLS4yIDEuMS40IDIuMy42IDMuNi42LjUgMCAxIC40IDEgMVYyMGMwIC41LS41IDEtMSAxLTkuNCAwLTE3LTcuNi0xNy0xNyAwLS42LjQtMSAxLTFoMy41Yy41IDAgMSAuNCAxIDEgMCAxLjIuMiAyLjUuNiAzLjYuMS40IDAgLjctLjIgMWwtMi4zIDIuMnoiIGZpbGw9IiNmZmZmZmYiLz48L3N2Zz4=);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(0, 0, 0);
}

.ringing-phone.is-animating {
  animation: phone-outer 2000ms infinite;
}
.ringing-phone.is-animating::before {
  animation: phone-inner 2000ms infinite;
}
.ringing-phone.is-animating::after {
  animation: phone-icon 2000ms infinite;
}

@keyframes phone-outer {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }
  33.3333% {
    transform: translate3d(0, 0, 0) scale(1.1);
    box-shadow: 0 0 0 0em rgba(52, 152, 219, 0.1), 0em 0.05em 0.1em rgba(0, 0, 0, 0.5);
  }
  66.6666% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 0 0 0.5em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }
}
@keyframes phone-inner {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0);
  }
  33.3333% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  66.6666% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0);
  }
}
@keyframes phone-icon {
  0% {
    transform: translate3d(0em, 0, 0);
  }
  2% {
    transform: translate3d(0.01em, 0, 0);
  }
  4% {
    transform: translate3d(-0.01em, 0, 0);
  }
  6% {
    transform: translate3d(0.01em, 0, 0);
  }
  8% {
    transform: translate3d(-0.01em, 0, 0);
  }
  10% {
    transform: translate3d(0.01em, 0, 0);
  }
  12% {
    transform: translate3d(-0.01em, 0, 0);
  }
  14% {
    transform: translate3d(0.01em, 0, 0);
  }
  16% {
    transform: translate3d(-0.01em, 0, 0);
  }
  18% {
    transform: translate3d(0.01em, 0, 0);
  }
  20% {
    transform: translate3d(-0.01em, 0, 0);
  }
  22% {
    transform: translate3d(0.01em, 0, 0);
  }
  24% {
    transform: translate3d(-0.01em, 0, 0);
  }
  26% {
    transform: translate3d(0.01em, 0, 0);
  }
  28% {
    transform: translate3d(-0.01em, 0, 0);
  }
  30% {
    transform: translate3d(0.01em, 0, 0);
  }
  32% {
    transform: translate3d(-0.01em, 0, 0);
  }
  34% {
    transform: translate3d(0.01em, 0, 0);
  }
  36% {
    transform: translate3d(-0.01em, 0, 0);
  }
  38% {
    transform: translate3d(0.01em, 0, 0);
  }
  40% {
    transform: translate3d(-0.01em, 0, 0);
  }
  42% {
    transform: translate3d(0.01em, 0, 0);
  }
  44% {
    transform: translate3d(-0.01em, 0, 0);
  }
  46% {
    transform: translate3d(0em, 0, 0);
  }
}
