:root {
  --f7-theme-color: #357C5C;
  --f7-theme-color-rgb: 53, 124, 92;
  --f7-theme-color-shade: #295f47;
  --f7-theme-color-tint: #419971;
  --f7-chip-height: 32px;
}

@font-face {
  font-family: 'Framework7 Icons';
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Framework7Icons-Regular.eot");
  src: local('Framework7 Icons'),
    local('Framework7Icons-Regular'),
    url("fonts/Framework7Icons-Regular.woff2") format("woff2"),
    url("fonts/Framework7Icons-Regular.woff") format("woff"),
    url("fonts/Framework7Icons-Regular.ttf") format("truetype");
}

.f7-icons, .framework7-icons {
  font-family: 'Framework7 Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  font-feature-settings: "liga";
}

@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Material-Icons-Outlined.woff2") format('woff2');
}

.material-icons {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  color: var(--f7-theme-color);
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.md-light {
  color: rgba(255, 255, 255, 1);
}

#splash-screen {
  z-index: 10000;
  background-color: white;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.block-card {
  margin: 16px;
  padding: 16px;
  background-color: white;
  border-radius: 4px;
}

.side-panel {
  background-color: lightgray;
}

.pool-card {
  min-width: 400px;
  border: 2px solid rgba(0, 0, 0, 0);
  box-shadow: none;
  transition: .1s;
}

.panel-open {
  background: rgba(var(--f7-theme-color-rgb), .3);
  position: fixed;
  padding: 8px 10px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

@media only screen and (min-width: 700px) {
  .panel-open {
    display: none;
  }
}

.featured-pool {
  border-color: orange;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, .1);
}

.featured-pool::after {
  content: "Featured Pool";
  background-color: orange;
  position: absolute;
  right: 16px;
  top: 16px;
  height: 1.5em;
  padding: 4px;
  width: 120px;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  text-align: center;
}

.pool-card:hover {
  border-color: var(--f7-theme-color);
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, .05);
}

.pool-card .card-header {
  height: 20vh;
  background-size: cover;
  background-position: center;
  background-color: var(--f7-theme-color);
  color: #fff;
}

.pool-card-header-pic .card-content-padding .date {
  color: #8e8e93;
}

.date {
  color: var(--f7-theme-color)
}

.pool-popup {
  overflow-y: scroll;
}

.question {
  margin: 32px 0;
  padding: 8px;
  border: 1px solid var(--f7-list-item-border-color);
  border-radius: 4px;
}

.question .item-inner {
  flex-direction: row;
  align-items: center;
}

.question .item-input {
  border-radius: 4px;
  margin: 8px;
  background-color: var(--f7-page-bg-color);
}

.question .item-input button {
  text-overflow: inherit;
  width: auto;
}

.correct-answer {
  background-color: rgba(var(--f7-theme-color-rgb), .2);
}

.seporator {
  margin: 16px 0;
  height: 1px;
  background-color: var(--f7-list-item-border-color);
}

.tab-link {
  margin: 2px auto;
  padding: 4px 8px;
  border-radius: 4px;
  transition: .1s;
}

.tab-link:hover {
  background-color: rgba(var(--f7-theme-color-rgb), .1);
}

.tab-link-active {
  font-weight: bold;
}

.tab {
  animation: fadeIn .2s;
}

.pic-upload {
  margin: 16px;
  padding-top: 20%;
  padding-bottom: 20%;
  background-color: var(--f7-theme-color);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.pic-upload i {
  color: white;
}

.pic-upload input[type=file] {
  display: none;
}

.accordion-item {
  margin: 8px 0;
}

.accordion-item .item-link {
  background-color: rgba(var(--f7-theme-color-rgb), 1);
  color: white;
  border-radius: 4px;
  transition: background-color .1s !important;
}

.accordion-item .item-link:hover {
  background-color: rgba(var(--f7-theme-color-rgb), .7) !important;
}

.accordion-item .item-inner::before {
  color: white !important;
}

.accordion-item .item-inner::after {
  height: 0;
}

.tag-chip {
  display: inline-block;
  margin: 8px;
  padding: 8px 16px;
  background-color: white;
  font-weight: bold;
  color: var(--f7-theme-color);
  border: 2px solid var(--f7-theme-color);
  border-radius: 4px;
  transition: .1s;
}

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tag-chip:hover {
  color: var(--f7-theme-color);
  background-color: rgba(var(--f7-theme-color-rgb), .2);
}

.tag-chip-selected {
  color: white;
  background-color: var(--f7-theme-color);
}

.tag {
  margin: 16px;
  width: 200px;
  background-color: var(--f7-card-bg-color);
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 0 16px 2px rgba(0, 0, 0, .1);
}

.tag .media {
  background-color: var(--f7-theme-color);
  background-position: center;
  background-size: cover;
  height: 125px;
  border-radius: 4px 4px 0 0;
}

.tag input[type=text] {
  font-weight: bold;
  font-size: .9rem;
}

.chip {
  margin: 4px;
  padding: 4px;
}

.chip-media {
  background-position: center;
  background-size: cover;
}

#chips-div {
  padding: 16px;
  height: 0px;
  transition: height .2s;
}

.animate {
  -webkit-animation-duration: .2s;
  animation-duration: .2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

.picture {
  width: 32px;
  height: 32px;
  background-position: center;
  background-size: cover;
  background-color: var(--f7-theme-color);
  border-radius: 50%;
}

.hairline {
  background-color: var(--f7-list-item-border-color);
  height: 1px;
  margin: 16px 0;
}

.popup .body {
  height: calc(100% - 128px);
  padding: 16px;
  overflow: auto;
  margin: 0;
}