.hidden {
  display: none !important;
}
.disabled {
  pointer-events: none;
  opacity: 0.8;
  cursor: default;
}
/** loader */
.loader {
  position: absolute;
  z-index: 9;
  background: rgba(255, 255, 255, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
}
.loader img {
  width: 50px;
}
.sab-form.validate-form input {
  width: calc(100% - 8px);
  margin: 0;
  font-size: 24px;
  letter-spacing: 10px;
  text-align: center;
}
.sab-form,
.sab-form-fake,
.sab-form.unlimited .sab-form-container,
.sab-form.unlimited button,
.general-button {
  max-width: 350px;
  margin: 0 auto;
  box-sizing: border-box;
  display: block;
  user-select: none;
}
.sab-form.unlimited {
  max-width: none;
}
.external-form,
.sab-form-fake {
  margin-top: 10%;
}
.internal-form {
  margin-top: 24px;
}
.sab-form .hidden-field {
  opacity: 0;
  height: 8px;
}
.sab-form .preview-image {
  cursor: pointer;
  display: block;
  margin: 0 auto 24px;
  text-align: center;
}
.sab-form .preview-image img {
  display: block;
  margin: 0 auto;
}
.image-uploader {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
  color: #ffffff;
  line-height: 35px;
}
.image-uploader .arrow {
  display: inline-block;
  background: #1768B6;
  width: 35px;
  border-radius: 6px 0 0 6px;
}
.image-uploader .text {
  padding: 0 24px;
  display: inline-block;
  font-weight: 500;
  background: #105A9E;
  border-radius: 0 6px 6px 0;
}
.sab-form .field {
  position: relative;
}
.form-logo {
  margin: auto;
  width: 65px;
  height: 65px;
  border-radius: 100px;
  background: #1E81A1;
  position: relative;
  bottom: -15px;
  z-index: 2;
}
.form-logo img {
  width: 55px;
  height: 55px;
  border-radius: 100px;
  margin: auto;
  border: 3px solid #fff;
  display: block;
}
.sab-form .sab-form-container,
.sab-form-fake-container {
  background: #fff;
  border-radius: 6px;
  padding: 8px 8px 0;
  position: relative;
}
.sab-form.internal-form .sab-form-container {
  padding: 0 8px;
}
.sab-form .sab-form-separator {
  background: #d1d1d1;
  height: 1px;
  margin: 0 4px;
}
.sab-form input,
.sab-form select {
  border: none;
  font-weight: 700;
  display: block;
  height: 40px;
  outline: none;
  width: calc(100% - 8px);
  padding: 8px 4px;
  font-family: 'Lato', sans-serif;
}
.sab-form input[type=checkbox] {
  height: 30px;
  width: 30px;
  margin: 12px auto;
}
.sab-form input[type=checkbox] + label {
  text-align: center;
  display: block;
  padding-bottom: 12px;
}
.sab-form .limited-input {
  width: calc(100% - 54px);
}
.sab-form select {
  height: 56px;
}
.select-place {
  line-height: 35px;
  padding: 10px 6px;
  font-weight: 700;
  font-size: 13px;
}
.places-list {
  position: relative;
}
.general-button,
.sab-form button {
  width: 100%;
  border-radius: 8px;
  background: #b6ee65;
  border: none;
  color: #51771a;
  padding-top: 14px;
  padding-bottom: 14px;
  outline: none;
  border-bottom: 3px solid #307d63;
  cursor: pointer;
  margin-top: 13px;
  font-weight: 700;
}
.sab-form-link {
  text-align: center;
  color: #fff;
  display: block;
  margin: 16px 0 0;
  text-decoration: none;
}
.send-beer {
  width: 60px;
  display: block;
  margin: 0 auto;
}
/** badges */
.badge {
  position: absolute;
  cursor: pointer;
  user-select: none;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
}
.badge::before {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10000px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 30px;
}
.badge[data-badge-message]:hover::after,
.badge[data-badge-message]:active::after {
  position: absolute;
  content: attr(data-badge-message);
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px;
  font-size: 13px;
  font-weight: normal;
  border-radius: 6px;
  white-space: pre;
}
/** error badge */
.badge.error-toggler {
  font-weight: 700;
  color: #ffffff;
  right: -50px;
}
.badge.error-toggler::before {
  background: #D3284A;
  content: '?';
}
.badge.error-toggler:hover,
.badge.error-toggler:active {
  z-index: 1;
}
.badge.error-toggler:hover::after,
.badge.error-toggler:active::after {
  background: #D3284A;
}
/** pagination / close badges */
.badge.close,
.badge.pagination-prev,
.badge.pagination-next {
  font-weight: 700;
  color: #51771a;
}
.badge.pagination-prev {
  left: -40px;
}
.badge.pagination-next {
  right: -40px;
}
.badge.close::before,
.badge.pagination-prev::before,
.badge.pagination-next::before {
  background: #b6ee65;
}
.badge.close::before {
  content: '✖';
}
.badge.pagination-prev::before {
  content: '🠜';
}
.badge.pagination-next::before {
  content: '🠞';
}
/** info badge */
.badge.info {
  font-weight: 700;
  color: #000000;
  right: -50px;
}
.badge.info::before {
  background: #E9D360;
  content: '?';
}
.badge.info:hover::after,
.badge.info:active::after {
  background: #E9D360;
}
.badge.view {
  font-weight: 700;
  color: #51771a;
  top: 67px;
  right: -40px;
}
/** badge view **/
.badge.view::before {
  background: #b6ee65;
  content: '👁';
}
.svg-box {
  display: block;
  position: relative;
  width: 150px;
  margin: 0 auto;
}
.svg-box svg {
  max-width: 150px;
}
.green-stroke {
  stroke: #7CB342;
}
.red-stroke {
  stroke: #FF6245;
}
.white-stroke {
  stroke: #ffffff;
}
.yellow-stroke {
  stroke: #FFC107;
}
.circular circle.path {
  stroke-dasharray: 330;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  opacity: 0.4;
  animation: 0.7s draw-circle ease-out;
}
/*------- Checkmark ---------*/
.checkmark {
  stroke-width: 6.25;
  stroke-linecap: round;
  position: absolute;
  top: 56px;
  left: 49px;
  width: 52px;
  height: 40px;
}
.checkmark path {
  animation: 1s draw-check ease-out;
}
@keyframes draw-circle {
  0% {
    stroke-dasharray: 0,330;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  80% {
    stroke-dasharray: 330,330;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}
@keyframes draw-check {
  0% {
    stroke-dasharray: 49,80;
    stroke-dashoffset: 48;
    opacity: 0;
  }
  50% {
    stroke-dasharray: 49,80;
    stroke-dashoffset: 48;
    opacity: 1;
  }
  100% {
    stroke-dasharray: 130,80;
    stroke-dashoffset: 48;
  }
}
/*---------- Cross ----------*/
.cross {
  stroke-width: 6.25;
  stroke-linecap: round;
  position: absolute;
  top: 54px;
  left: 54px;
  width: 40px;
  height: 40px;
}
.cross .first-line {
  animation: 0.7s draw-first-line ease-out;
}
.cross .second-line {
  animation: 0.7s draw-second-line ease-out;
}
@keyframes draw-first-line {
  0% {
    stroke-dasharray: 0,56;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 0,56;
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 56,330;
    stroke-dashoffset: 0;
  }
}
@keyframes draw-second-line {
  0% {
    stroke-dasharray: 0,55;
    stroke-dashoffset: 1;
  }
  50% {
    stroke-dasharray: 0,55;
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dasharray: 55,0;
    stroke-dashoffset: 70;
  }
}
.alert-sign {
  stroke-width: 6.25;
  stroke-linecap: round;
  position: absolute;
  top: 40px;
  left: 68px;
  width: 15px;
  height: 70px;
  animation: 0.5s alert-sign-bounce cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.alert-sign .dot {
  stroke: none;
  fill: #FFC107;
}
@keyframes alert-sign-bounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.validation-form .form-logo img,
.validation-form .sab-form-fake-container {
  cursor: pointer;
}
@media only screen and (max-width: 600px) {
  .badge.error-toggler,
  .badge.info {
    right: 0;
  }
  .badge.pagination-prev,
  .badge.pagination-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .badge.pagination-prev {
    left: -10px;
  }
  .badge.pagination-next {
    right: -10px;
  }
  .badge[data-badge-message]:hover::after,
  .badge[data-badge-message]:active::after {
    right: 0;
    left: auto;
    transform: none;
  }
}
body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
  background: #229FC6;
}
header h2 {
  text-align: center;
}
header h2 a {
  text-decoration: none;
  color: #000000;
}
.environment {
  text-align: center;
}
.code {
  display: none;
}
.code img {
  margin: 0 auto;
}
/** QR message **/
.message {
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 24px;
  width: 260px;
  text-align: center;
  background: #ffffff;
  position: fixed;
  z-index: 5;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  cursor: pointer;
}
.message-overlay {
  position: fixed;
  z-index: 3;
  background: #000;
  opacity: 0.3;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  cursor: pointer;
}
.message h3 {
  margin-top: 0;
}
.message img {
  display: block;
  width: 160px;
  margin: 0 auto 24px;
}
.message .reciever {
  font-size: 11px;
  padding-top: 12px;
}
section.validator {
  text-align: center;
}
.sign-in-link {
  margin-top: 12px;
}
.add-new-place-link {
  cursor: pointer;
}
.fake-link {
  cursor: pointer;
}
/** error */
.general-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 6;
}
.general-popup-container {
  position: absolute;
  width: 100%;
  max-width: 450px;
  display: flex;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 6px;
  z-index: 3;
  flex-direction: column;
}
.error-header {
  background: #E4747E;
  border-radius: 6px 6px 0 0;
  padding: 24px;
}
.error-header .circular {
  width: 150px;
}
.error-body {
  background: #ffffff;
  border-radius: 0 0 6px 6px;
  padding: 24px;
  text-align: center;
  word-break: break-word;
}
.error-body .close-error {
  padding: 8px 24px;
  border-radius: 19px;
  background: #E4747E;
  color: #ffffff;
  display: inline-block;
  margin: 24px 0 12px;
  cursor: pointer;
}
.general-close,
.error-close {
  position: absolute;
  right: 0;
  top: -30px;
  border: 2px solid #BBC5DB;
  color: #BBC5DB;
  border-radius: 10000px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 20px;
  font-size: 10px;
  cursor: pointer;
}
.popup-confirmation {
  background: #fff;
  text-align: center;
  padding: 24px 0;
}
.popup-buttons .general-button {
  width: 50%;
}
.popup-buttons .button-negative {
  background: #E7E7E7;
}
/** menu **/
.main-menu {
  margin: 12px 0;
  text-align: center;
}
.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  background: #E7E7E7;
}
.main-menu ul li {
  flex-grow: 1;
  width: 25%;
}
.main-menu ul li a {
  display: block;
  line-height: 46px;
  text-decoration: none;
  color: #585656;
  border-left: 1px solid #E7E7E7;
}
.main-menu ul li.active a,
.main-menu ul li a:hover {
  background: #ffffff;
  font-weight: 700;
  color: #000000;
}
.sub-menu {
  text-align: right;
}
.sub-menu a,
.sub-menu div {
  cursor: pointer;
  background: #539f48;
  border-radius: 20px;
  display: inline-block;
  padding: 0 12px;
  line-height: 40px;
  color: #ffffff;
}
.sub-menu a {
  color: #ffffff;
  text-decoration: none;
}
.sub-menu span {
  background: #E7E7E7;
  display: inline-block;
  line-height: 24px;
  width: 24px;
  text-align: center;
  border-radius: 12px;
  color: #000000;
  font-weight: 700;
  margin-right: 8px;
}
/** my places */
.my-places {
  list-style: none;
  margin: 4px -8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.my-places li {
  text-align: center;
  flex: 1 0 calc(25% - 16px);
  max-width: calc(25% - 16px);
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
  box-sizing: border-box;
  margin: 8px;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.my-places li a {
  display: block;
  text-decoration: none;
  color: #000000;
}
.my-places li.single {
  max-width: 100%;
}
.my-places li.selected:after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  left: 3px;
  border: 3px solid #b6ee65;
  border-radius: 6px;
}
.my-places li .image {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  background: #cccccc;
  border-radius: 10000px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.my-places li > div {
  pointer-events: none;
}
.my-place-stats {
  position: relative;
}
.my-place-stats h2 {
  background: #E7E7E7;
  text-align: center;
  padding: 8px 0;
  font-size: 16px;
  margin: 24px 0 0;
}
.my-place-stats .badge.close {
  top: 17px;
  right: -40px;
}
.stats-table {
  background: #ffffff;
  padding: 24px;
  display: flex;
}
.stats-table > div {
  flex-grow: 1;
}
.stats-table > div:last-of-type {
  text-align: right;
  cursor: pointer;
}
.stats-list {
  background: #ffffff;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cccccc;
  display: flex;
  flex-wrap: wrap;
}
.stats-list > li {
  flex: 0 1 33.3%;
  padding: 8px;
  box-sizing: border-box;
}
.stats-list > li:nth-child(1),
.stats-list > li:nth-child(2),
.stats-list > li:nth-child(3) {
  background: #E7E7E7;
}
.stats-list > li.invalid {
  background: #f5f5f5;
}
.stats-list-pagination {
  position: relative;
}
@media only screen and (max-width: 600px) {
  .main-menu ul {
    flex-wrap: wrap;
  }
  .main-menu ul li {
    flex: 1 0 50%;
  }
  .my-places li {
    flex: 1 0 calc(50% - 16px);
    max-width: calc(50% - 16px);
  }
  .sab-form,
  .sab-form-fake,
  .sab-form.unlimited .sab-form-container,
  .sab-form.unlimited button {
    max-width: none;
  }
  .places-list .pagination.prev {
    left: -10px;
  }
  .places-list .pagination.next {
    right: -10px;
  }
  .field input {
    width: calc(100% - 38px);
  }
  .sab-form .field .limited-input {
    width: calc(100% - 84px);
  }
  .my-place-stats .badge.close {
    right: 2px;
    color: #ffffff;
  }
  .my-place-stats .badge.close::before {
    background: #229FC6;
  }
}
