/*
 * Fonts
 */
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Thin.ttf') format('truetype');
  font-weight: 100;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Light.ttf') format('truetype');
  font-weight: 200;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-LightItalic.ttf') format('truetype');
  font-weight: lighter;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Bold.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
}
html {
  font-size: 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  background: linear-gradient(#f0f0ff, #fafaff);
}
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', sans-serif;
  height: 100vh;
  width: 100%;
  max-width: 512px;
  padding: 0;
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 0%, #fafdff 40%, #fafdff 100%);
  background: -webkit-linear-gradient(top, #ffffff 0%, #fafdff 40%, #fafdff 100%);
  background: linear-gradient(to bottom, #ffffff 0%, #fafdff 40%, #fafdff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='@white', GradientType=0);
}
a {
  text-decoration: none;
  color: inherit;
}
input {
  -webkit-appearance: none;
  outline: none;
  font-size: 1em;
}
input[type="checkbox"] {
  -webkit-appearance: checkbox;
}
input[type="radio"] {
  -webkit-appearance: radio;
}
input[type=number] {
  -moz-appearance: textfield;
}
.clickable {
  cursor: pointer;
}
/* Title, subtitle, fonts */
.primary-title {
  font-weight: bold;
  font-size: 1.15em;
}
.font-style-italic {
  font-style: italic;
}
.font-style-normal {
  font-style: normal !important;
}
.font-weight-500 {
  font-weight: 500;
}
.color-blue {
  color: #008cff;
}
/* Parenthesis */
.lazr-parenthesis::before {
  content: "(";
}
.lazr-parenthesis::after {
  content: ")";
}
/* Backdrop filter */
.backdrop-confirmation {
  width: 100vw;
  height: 100vh;
  background-color: rgba(160, 160, 160, 0.43);
  position: absolute;
  z-index: 10;
  max-width: 512px;
  top: 0;
  display: none;
}
/* Header */
.header-dev {
  display: block;
  height: 2px;
  background-color: #ffffff;
}
/* Top bar */
.top-bar-profile-picture {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background-color: #fafdff;
  box-shadow: -5px -5px 5px #D9E3F3, 5px 5px 5px #ffffff;
}
.top-bar-label {
  font-weight: bold;
  color: #001C33;
  font-size: 1.0625rem;
  text-align: center;
}
/* Section title, subtitle */
.title-subtitle-section {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
/* Common gamelist styles*/
.booking-player-booker {
  border: 2px solid orange !important;
}
/* Buttons */
.lazr-button,
.lazr-naked-button,
.lazr-more-button,
.lazr-button-disabled {
  text-align: center;
  font-weight: bold;
}
.lazr-button,
.lazr-naked-button,
.lazr-more-button {
  cursor: pointer;
}
.lazr-button,
.lazr-button-disabled {
  padding: 15px 25px;
  border-radius: 12px;
  font-family: "roboto", sans-serif;
}
.lazr-button {
  background-color: #008cff;
  color: white;
}
.lazr-button-disabled {
  background-color: #dddddd;
  color: #001c33;
  box-shadow: 2px 4px 15px #dddddd;
}
div.lazr-grey-button {
  background-color: #bbbaba;
}
/* Inputs */
.lazr-input-error {
  background-color: #fff0f0 !important;
}
.lazr-input-notification {
  display: block;
  color: red;
  font-size: 0.8em;
  font-style: italic;
  text-align: right;
}
.lazr-input-container {
  position: relative;
  display: block;
  width: 80%;
  margin: 16px auto;
  box-sizing: border-box;
}
.lazr-line-input-label {
  display: block;
  padding: 12px;
  text-align: center;
  vertical-align: top;
  font-size: 1.0625rem;
  font-weight: bold;
}
.lazr-input,
.lazr-line-input {
  padding: 18px 16px 18px 16px;
  box-sizing: border-box;
  border-radius: 12px;
  border-style: none;
  background: #FFFFFF;
  box-shadow: -5px -5px 5px #D9E3F3, 5px 5px 5px #ffffff;
  color: #7D8C99;
}
.lazr-input {
  width: 100%;
  display: inline-block;
}
.lazr-line-input {
  display: block;
  margin: auto;
}
.lazr-scroll-input {
  display: block;
}
.lazr-input-label {
  display: inline-block;
  text-align: left;
  font-size: 1.0625rem;
}
.lazr-input-small-label {
  display: inline-block;
  text-align: left;
  font-size: 12px;
  color: #001C33;
}
.lazr-password-show {
  position: absolute;
  right: 20px;
  padding: 16px 0 0 0;
  cursor: pointer;
  color: #7D8C99;
  opacity: 0.4;
}
/* Lists */
.list-with-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.list-item,
.clickable-list-item {
  flex-grow: 1;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  padding: 15px;
  background-color: #fafdff;
  border-radius: 10px;
  box-shadow: 5px 5px 5px #d9e3f3, -5px -5px 5px #ffffff;
}
.clickable-list-item {
  cursor: pointer;
}
.lazr-list-item-button {
  align-self: flex-start;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  padding: 15px;
  background-color: #fafdff;
  border-radius: 12px;
  box-shadow: 5px 5px 5px #d9e3f3, -5px -5px 5px #ffffff;
  font-style: italic;
  cursor: pointer;
}
.list-select {
  color: #008cff;
}
/* Messages */
#lazr-message {
  position: fixed;
  bottom: 70px;
  max-width: 512px;
  text-align: center;
  box-sizing: border-box;
  margin: 0 10%;
  opacity: 0.6;
  border-radius: 12px;
  z-index: 9;
}
.lazr-message,
.lazr-message-error {
  margin: 4px 10%;
  padding: 4px 16px;
  border-style: solid;
  border-width: 2px;
}
.lazr-message {
  border-color: green;
}
.lazr-message-error {
  border-color: red;
}
/* Top of screen */
#all-but-footer {
  overflow-y: auto;
  height: calc(100% - 75px);
}
#top-bar {
  position: sticky;
  width: 100%;
  box-sizing: border-box;
  padding: 30px 10% 40px 10%;
  padding-bottom: 33px;
  text-align: left;
  background-color: #ffffff;
  color: #7C8B98;
  z-index: 9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#top-bar-menu {
  text-align: left;
  position: absolute;
  z-index: 100;
}
.top-bar-menu-item-list {
  min-height: 600px;
  width: 200px;
  background-color: #f6f8f9;
  padding: 15px;
  box-shadow: 5px 5px 6px #ddd;
  opacity: 0.95;
  z-index: 99;
}
.top-bar-menu-item {
  font-family: "roboto", sans-serif;
  font-size: 0.6em;
  font-weight: normal;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #000;
  text-align: left;
  cursor: pointer;
}
.top-menu-item {
  display: inline-block;
  cursor: pointer;
}
.top-menu-item-selected {
  font-weight: bold;
}
.top-bar-menu {
  text-align: left;
  position: relative;
  top: 10;
  left: 20;
}
.top-bar-menu-items {
  font-family: "roboto", sans-serif;
  font-size: 0.6em;
  font-weight: normal;
  padding: 5px 0;
  color: #000;
  text-align: left;
}
.back-button {
  position: absolute;
  left: 15px;
  top: 45px;
  color: #008cff;
  cursor: pointer;
}
.coin-sold-block {
  flex-direction: row;
  color: #fafdff;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.coin-logo {
  background: orange;
  padding: 5px;
  border-radius: 50%;
  height: 15px;
  width: 17px;
}
#coin-logo {
  transform: translateX(40%);
}
.coin-sold {
  background: orange;
  padding: 10px;
  border-radius: 10px;
  font-weight: 500;
}
.qr-picture-block img {
  max-height: 48px;
  max-width: 48px;
}
.qr-picture-block {
  cursor: pointer;
}
.qr-picture-block-wide {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  padding: 50px 0 0 0;
  background-color: #fafdff;
  text-align: center;
  z-index: 99;
  cursor: pointer;
}
/* Bottom of screen */
#bottom-bar {
  display: block;
  position: fixed;
  width: 100%;
  max-width: 512px;
  box-sizing: border-box;
  bottom: 0px;
  padding: 0.7px;
  padding-top: 20px;
  text-align: center;
  background: -moz-linear-gradient(top, rgba(250, 253, 255, 0) 0%, rgba(250, 253, 255, 0.75) 18%, rgba(250, 253, 255, 0.9) 29%, #fafdff 39%, #fafdff 100%);
  background: -webkit-linear-gradient(top, rgba(250, 253, 255, 0) 0%, rgba(250, 253, 255, 0.75) 18%, rgba(250, 253, 255, 0.9) 29%, #fafdff 39%, #fafdff 100%);
  background: linear-gradient(to bottom, rgba(250, 253, 255, 0) 0%, rgba(250, 253, 255, 0.75) 18%, rgba(250, 253, 255, 0.9) 29%, #fafdff 39%, #fafdff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00fafdff', endColorstr='@white', GradientType=0);
}
#bottom-menu {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding-bottom: 10px;
  font-size: 1rem;
  color: #7C8B98;
}
.bottom-menu-item {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #FAFDFF;
  box-shadow: 5px 8px 10px #D9E3F3, -5px -8px 10px #ffffff;
}
.bottom-menu-item:first-child {
  margin-left: 0;
}
.bottom-menu-item:last-child {
  margin-right: 0;
}
.bottom-menu-item-selected {
  background: #FAFDFF;
  box-shadow: -5px -5px 5px #D9E3F3, 5px 5px 5px #ffffff;
}
.bottom-menu-item-selected {
  font-weight: bold;
}
.icon-r {
  width: 22px;
  height: 22px;
  background-image: url(../resources/pictures/icon-r.svg);
  background-repeat: no-repeat;
  color: transparent;
}
/*other*/
.text-white {
  font-family: "roboto", sans-serif;
  color: #fafdff;
  font-size: 0.6em;
  text-align: right;
}
/*
 * Page
 */
.page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 10%;
  text-align: left;
  margin-bottom: 20px;
}
/*
 * Sections
 */
.section {
  display: flex;
  flex-direction: column;
}
.section-title {
  font-weight: 500;
}
/*
 * Top section 
 */
.top-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: #fafdff;
  position: relative;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 5px 5px 5px #d9e3f3, -5px -5px 5px #ffffff;
  box-sizing: border-box;
}
/*
 * Center
 */
.center {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
/*
 * Booking
 */
.booking {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.booking-block {
  position: relative;
}
.booking-date-time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.booking-player-count {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
/*
 * Registration
 */
.registration {
  display: flex;
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  gap: 20px;
}
.registration-owner {
  font-size: 1em;
}
.registration-status {
  font-size: 0.8em;
}
/*
 * Game type
 */
.game-type {
  display: flex;
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  gap: 20px;
}
.game-type-name {
  font-size: 1em;
}
.game-type-edit {
  font-size: 0.8em;
  cursor: pointer;
}
/*
 * Player status
 */
.player-status-accepted {
  color: green;
}
.player-status-sent {
  color: orange;
}
.player-status-denied {
  color: red;
}
.player-status-self-invited {
  color: blue;
}
/*
 * Players lists
 */
.player-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.player-list-player-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  justify-content: space-between;
}
.player-list-player {
  font-size: 0.8em;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 10px;
  margin-right: 15px;
}
.player-list-player-button-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}
.player-list-player-disabled-button,
.player-list-player-button {
  font-size: 0.8em;
}
.player-list-player-button {
  color: #008cff;
  cursor: pointer;
}
