@import url(https://fonts.googleapis.com/css?family=Raleway:400,400i,700,700,900i&display=swap);@import url(https://fonts.googleapis.com/css?family=Open+Sans:700i&display=swap);@charset "UTF-8";
/*!
 * Datepicker v1.0.3
 * https://fengyuanchen.github.io/datepicker
 *
 * Copyright 2014-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2018-12-20T12:51:39.076Z
 */
.datepicker-container {
  background-color: #fff;
  direction: ltr;
  font-size: 12px;
  left: 0;
  line-height: 30px;
  position: fixed;
  -webkit-tap-highlight-color: transparent;
  top: 0;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 210px;
  z-index: -1;
}

.datepicker-container:after, .datepicker-container:before {
  border: 5px solid rgba(0, 0, 0, 0);
  content: " ";
  display: block;
  height: 0;
  position: absolute;
  width: 0;
}

.datepicker-dropdown {
  border: 1px solid #ccc;
  box-shadow: 0 3px 6px #ccc;
  box-sizing: content-box;
  position: absolute;
  z-index: 1;
}

.datepicker-inline {
  position: static;
}

.datepicker-top-left, .datepicker-top-right {
  border-top-color: #39f;
}

.datepicker-top-left:after, .datepicker-top-left:before, .datepicker-top-right:after, .datepicker-top-right:before {
  border-top: 0;
  left: 10px;
  top: -5px;
}

.datepicker-top-left:before, .datepicker-top-right:before {
  border-bottom-color: #39f;
}

.datepicker-top-left:after, .datepicker-top-right:after {
  border-bottom-color: #fff;
  top: -4px;
}

.datepicker-bottom-left, .datepicker-bottom-right {
  border-bottom-color: #39f;
}

.datepicker-bottom-left:after, .datepicker-bottom-left:before, .datepicker-bottom-right:after, .datepicker-bottom-right:before {
  border-bottom: 0;
  bottom: -5px;
  left: 10px;
}

.datepicker-bottom-left:before, .datepicker-bottom-right:before {
  border-top-color: #39f;
}

.datepicker-bottom-left:after, .datepicker-bottom-right:after {
  border-top-color: #fff;
  bottom: -4px;
}

.datepicker-bottom-right:after, .datepicker-bottom-right:before, .datepicker-top-right:after, .datepicker-top-right:before {
  left: auto;
  right: 10px;
}

.datepicker-panel > ul {
  margin: 0;
  padding: 0;
  width: 102%;
}

.datepicker-panel > ul:after, .datepicker-panel > ul:before {
  content: " ";
  display: table;
}

.datepicker-panel > ul:after {
  clear: both;
}

.datepicker-panel > ul > li {
  background-color: #fff;
  cursor: pointer;
  float: left;
  height: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 30px;
}

.datepicker-panel > ul > li:hover {
  background-color: #e5f2ff;
}

.datepicker-panel > ul > li.muted, .datepicker-panel > ul > li.muted:hover {
  color: #999;
}

.datepicker-panel > ul > li.highlighted {
  background-color: #e5f2ff;
}

.datepicker-panel > ul > li.highlighted:hover {
  background-color: #cce5ff;
}

.datepicker-panel > ul > li.picked, .datepicker-panel > ul > li.picked:hover {
  color: #39f;
}

.datepicker-panel > ul > li.disabled, .datepicker-panel > ul > li.disabled:hover {
  background-color: #fff;
  color: #ccc;
  cursor: default;
}

.datepicker-panel > ul > li.disabled.highlighted, .datepicker-panel > ul > li.disabled:hover.highlighted {
  background-color: #e5f2ff;
}

.datepicker-panel > ul > li[data-view="month next"], .datepicker-panel > ul > li[data-view="month prev"], .datepicker-panel > ul > li[data-view="year next"], .datepicker-panel > ul > li[data-view="year prev"], .datepicker-panel > ul > li[data-view="years next"], .datepicker-panel > ul > li[data-view="years prev"], .datepicker-panel > ul > li[data-view=next] {
  font-size: 18px;
}

.datepicker-panel > ul > li[data-view="month current"], .datepicker-panel > ul > li[data-view="year current"], .datepicker-panel > ul > li[data-view="years current"] {
  width: 150px;
}

.datepicker-panel > ul[data-view=months] > li, .datepicker-panel > ul[data-view=years] > li {
  height: 52.5px;
  line-height: 52.5px;
  width: 52.5px;
}

.datepicker-panel > ul[data-view=week] > li, .datepicker-panel > ul[data-view=week] > li:hover {
  background-color: #fff;
  cursor: default;
}

.datepicker-hide {
  display: none;
}

/* Reset */
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td {
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}

ol, ul, dl {
  list-style: none;
}

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, mark, time {
  display: block;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

input, select, textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*, *:before, *:after {
  box-sizing: border-box;
}

/* Fonts */
/* Global */
body, html {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Raleway", sans-serif;
  color: #3a4054;
  font-weight: 400;
}

body {
  padding: 3rem;
  background: #83c0f1;
  background: linear-gradient(90deg, #83c0f1 0%, #65cbfa 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#83c0f1",endColorstr="#65cbfa",GradientType=1);
}

#app {
  height: 100%;
  box-shadow: 0 0 1rem rgba(12, 40, 50, 0.1);
  border-radius: 1rem;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.125rem;
  margin-bottom: 1em;
}

p {
  font-size: 1rem;
  line-height: 1.75rem;
  margin-bottom: 1.75rem;
}

hr {
  display: block;
  border: none;
  width: 100%;
  height: 1px;
  background-color: #d0d4de;
  margin: 1.25rem 0;
}

.icon {
  padding-left: 2.875rem;
  background-repeat: no-repeat;
  background-position: left center;
  height: 32px;
}

.icon.summary {
  background-image: url(/images/summary.svg);
}

.icon.teams {
  background-image: url(/images/teams.svg);
}

.icon.points {
  background-image: url(/images/points.svg);
}

.icon.tasks {
  background-image: url(/images/tasks.svg);
}

.icon.events {
  background-image: url(/images/event.svg);
}

.icon.information {
  background-image: url(/images/information.svg);
}

.icon.create {
  background-image: url(/images/create.svg);
}

.icon.settings {
  background-image: url(/images/settings.svg);
}

table {
  width: 100%;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 2rem;
  table-layout: auto;
}

table th {
  padding: 1.25rem 1.25rem;
}

table td {
  padding: 1rem 1.25rem;
}

table thead th {
  font-size: 1rem;
  color: #aab1c5;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  outline: none;
  cursor: default;
}

table tbody td {
  border-top: solid 1px #e6e2ed;
  outline: none;
}

table tbody td.nowrap {
  white-space: nowrap;
}

table tbody td.strong {
  font-weight: 700;
}

table tbody td.gray {
  color: #aab1c5;
}

table thead th.wrap-content, table tbody td.wrap-content {
  width: 1px;
  white-space: nowrap;
}

table thead th.center, table tbody td.center {
  text-align: center;
}

.table-buttons {
  display: inline-block;
  white-space: nowrap;
}

.table-buttons *:last-child {
  margin-right: 0;
}

.table-buttons input[type=submit] {
  padding: 0.25rem 0.75rem;
}

.table-buttons .show-password {
  margin-left: 1rem;
}

.button {
  display: inline-block;
  background: #d2d5df;
  color: #7c8297;
  border-radius: 2px;
  padding: 0.25rem 0.75rem;
  text-decoration: none;
  margin-right: 0.75rem;
  cursor: pointer;
  transition-duration: 0.2s;
  outline: none;
}

.button:hover {
  background: #e4e2ed;
}

.button:focus {
  background: #30c5ff !important;
  color: #fff;
}

.button.primary {
  background: #20b5fa;
  color: #fff;
}

.button.primary:hover {
  background: #30c5ff;
}

/* Header */
header {
  position: fixed;
  width: 320px;
  height: calc(100% - 6rem);
  background: #e4e2ed;
  padding: 3.5rem 2.5rem;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  z-index: 200;
}

#app-logo {
  display: block;
  padding-top: 110px;
  background: url(/images/logo.svg) no-repeat;
  background-position: center top;
  background-size: 80px 80px;
  text-align: center;
  font-weight: 900;
  font-size: 1.75rem;
  margin-bottom: 3rem;
  color: inherit;
  text-decoration: none;
}

#event-information {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem 3rem 1rem;
  border-bottom: 1px dashed #aab1c5;
}

#event-information .current-event {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

#event-information .change-event {
  display: inline-block;
  color: #8891ad;
  background-color: #efeef5;
  text-decoration: none;
  padding: 0.25em 0.75em;
  font-size: 1rem;
  border-radius: 0.25em;
  transition-duration: 0.2s;
}

#event-information .change-event:hover {
  color: #3a4054;
}

/* Menus */
nav#main-menu ul li {
  margin-bottom: 2.25rem;
}

nav#main-menu ul li a {
  display: block;
  padding-left: 3rem;
  color: #aab1c5;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition-duration: 0.1s;
  padding-top: 2px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: left center;
}

nav#main-menu ul li.event a {
  background-image: url(/images/event-gray.svg);
}

nav#main-menu ul li.event.current a, nav#main-menu ul li.event:hover a {
  background-image: url(/images/event.svg);
}

nav#main-menu ul li.points a {
  background-image: url(/images/points-gray.svg);
}

nav#main-menu ul li.points.current a, nav#main-menu ul li.points:hover a {
  background-image: url(/images/points.svg);
}

nav#main-menu ul li.tasks a {
  background-image: url(/images/tasks-gray.svg);
}

nav#main-menu ul li.tasks.current a, nav#main-menu ul li.tasks:hover a {
  background-image: url(/images/tasks.svg);
}

nav#main-menu ul li.teams a {
  background-image: url(/images/teams-gray.svg);
}

nav#main-menu ul li.teams.current a, nav#main-menu ul li.teams:hover a {
  background-image: url(/images/teams.svg);
}

nav#main-menu ul li.current a,
nav#main-menu ul li:hover a {
  color: #3a4054;
}

nav#bottom-menu {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
}

nav#bottom-menu ul li {
  margin-top: 2.25rem;
}

nav#bottom-menu ul li a {
  color: #aab1c5;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition-duration: 0.1s;
}

nav#bottom-menu ul li.current a,
nav#bottom-menu ul li a:hover {
  color: #3a4054;
}

nav#mobile-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

nav#mobile-menu #mobile-menu-toggle {
  position: absolute;
  top: 18px;
  right: 2rem;
  width: 40px;
  height: 32px;
  background: url(/images/hamburger-nega.svg) no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  z-index: 100;
}

nav#mobile-menu #mobile-menu-toggle.open {
  background-image: url(/images/hamburger.svg);
}

nav#mobile-menu #mobile-menu-content {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background: #e4e2ed;
  width: 100%;
  height: 100vh;
  padding: 2rem;
}

nav#mobile-menu #mobile-menu-content ul:first-of-type {
  margin-bottom: 3rem;
}

nav#mobile-menu #mobile-menu-content ul li {
  margin-bottom: 1rem;
}

nav#mobile-menu #mobile-menu-content ul li a {
  font-weight: 700;
  text-decoration: none;
  color: #aab1c5;
  background-repeat: no-repeat;
  padding-left: 36px;
  font-size: 1.125rem;
}

nav#mobile-menu #mobile-menu-content ul:last-of-type li a {
  padding-left: 0;
}

nav#mobile-menu #mobile-menu-content ul li.current a,
nav#mobile-menu #mobile-menu-content ul li:hover a {
  color: #3a4054;
}

nav#mobile-menu #mobile-menu-content ul li.event a {
  background-image: url(/images/event-gray.svg);
}

nav#mobile-menu #mobile-menu-content ul li.event.current a, nav#mobile-menu #mobile-menu-content ul li.event:hover a {
  background-image: url(/images/event.svg);
}

nav#mobile-menu #mobile-menu-content ul li.points a {
  background-image: url(/images/points-gray.svg);
}

nav#mobile-menu #mobile-menu-content ul li.points.current a, nav#mobile-menu #mobile-menu-content ul li.points:hover a {
  background-image: url(/images/points.svg);
}

nav#mobile-menu #mobile-menu-content ul li.tasks a {
  background-image: url(/images/tasks-gray.svg);
}

nav#mobile-menu #mobile-menu-content ul li.tasks.current a, nav#mobile-menu #mobile-menu-content ul li.tasks:hover a {
  background-image: url(/images/tasks.svg);
}

nav#mobile-menu #mobile-menu-content ul li.teams a {
  background-image: url(/images/teams-gray.svg);
}

nav#mobile-menu #mobile-menu-content ul li.teams.current a, nav#mobile-menu #mobile-menu-content ul li.teams:hover a {
  background-image: url(/images/teams.svg);
}

nav#mobile-menu #mobile-menu-content #mobile-current-event {
  border-top: solid 1px #aab1c5;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

nav#mobile-menu #mobile-menu-content #mobile-current-event .current-event {
  margin-bottom: 0.75rem;
}

nav#mobile-menu #mobile-menu-content #mobile-current-event .change-event {
  margin: 0;
}

/* Content */
section#content {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 100%;
  background: #f9f9fa;
  background: linear-gradient(90deg, #f9f9fa 0%, #f2f4f8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f9f9fa",endColorstr="#f2f4f8",GradientType=1);
  padding-left: 320px;
  border-radius: 1rem;
}

section#content .scrollbar-inner {
  height: calc(100% - 1px);
}

section#content .content-inner {
  display: table;
  width: 100%;
}

.box {
  background: #fff;
  border-radius: 4px;
}

#page-content {
  display: table-cell;
  vertical-align: top;
  width: 66.66%;
  padding: 4rem;
}

#page-content > *:last-child {
  margin-bottom: 0;
}

#page-top {
  position: relative;
  width: 100%;
}

#page-top .event-title {
  font-size: 2.25rem;
  margin-bottom: 3rem;
  padding-right: 60px;
}

nav#page-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  border: solid 2px;
  border-radius: 24px;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
}

nav#page-menu #toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
}

nav#page-menu #toggle .dot {
  position: absolute;
  top: 20px;
  right: 20px;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: #3a4054;
  transition-duration: 0.2s;
}

nav#page-menu #toggle .dot:nth-of-type(2) {
  right: 10px;
}

nav#page-menu #toggle .dot:nth-of-type(3) {
  right: 30px;
}

nav#page-menu:hover {
  padding-left: 1.5rem;
  padding-right: 5rem;
  width: auto;
  height: auto;
}

nav#page-menu:hover {
  background: #3a4054;
}

nav#page-menu:hover #toggle .dot {
  background: #fff;
  top: 23px;
  right: 25px;
}

nav#page-menu:hover #toggle .dot:nth-of-type(2) {
  right: 15px;
}

nav#page-menu:hover #toggle .dot:nth-of-type(3) {
  right: 35px;
}

nav#page-menu ul {
  display: none;
  position: relative;
  margin: 0.5rem 0;
}

nav#page-menu ul li {
  padding: 0.5rem 0;
}

nav#page-menu ul li a {
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}

nav#page-menu ul li a:hover {
  text-decoration: underline;
}

nav#page-menu:hover ul {
  display: block;
}

#page-content-buttons {
  float: left;
  margin-bottom: 1.5rem;
}

#page-content-buttons .button {
  padding: 0.375rem 1.25rem;
}

#datatable_filter {
  float: right;
  font-size: 0;
}

#datatable_filter label {
  display: inline-block;
  margin: 0;
}

#datatable_filter input {
  background: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.333rem 0.5rem;
  font-size: 1rem;
  outline: none;
  margin-right: 0;
}

#datatable_filter input::-webkit-search-cancel-button {
  cursor: pointer;
}

#datatable_filter .button {
  margin-right: 0;
  font-size: 1rem;
  padding: 0.333rem 2rem;
}

/* Sidebar */
aside {
  display: table-cell;
  vertical-align: top;
  width: 33.33%;
  height: 100%;
  padding: 4rem;
  background: #f9f9fa;
  background: linear-gradient(90deg, #f9f9fa 0%, #f2f4f8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f9f9fa",endColorstr="#f2f4f8",GradientType=1);
}

aside p {
  color: #7c8297;
}

aside p + ul {
  margin-top: -1rem;
}

aside ul,
aside ol {
  color: #7c8297;
  margin-left: 1.5rem;
  line-height: 1.5em;
}

aside ul li {
  list-style-type: disc;
}

aside ol li {
  list-style-type: decimal;
}

/* Event page */
#summary-boxes {
  margin-bottom: 1.5rem;
}

#summary-boxes .summary-box {
  padding: 1.5rem;
  margin-bottom: 2rem;
}

#summary-boxes .summary-box .icon {
  display: inline-block;
  vertical-align: middle;
  height: 48px;
  margin-right: 1.5rem;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

#summary-boxes .summary-box .icon.points {
  width: 55px;
  background-image: url(/images/points.svg);
}

#summary-boxes .summary-box .icon.tasks {
  width: 48px;
  background-image: url(/images/tasks.svg);
}

#summary-boxes .summary-box .icon.teams {
  width: 48px;
  background-image: url(/images/teams.svg);
}

#summary-boxes .summary-box .text {
  display: inline-block;
  vertical-align: top;
}

#summary-boxes .summary-box .text .title {
  text-transform: uppercase;
  font-weight: 700;
  color: #aab1c5;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

#summary-boxes .summary-box .text .content {
  font-size: 1.25rem;
  font-weight: 700;
}

#top-teams tbody tr:nth-child(-n+3) td {
  font-weight: 700;
}

#top-teams tbody tr td:nth-child(5) {
  color: #aab1c5 !important;
  font-weight: 400;
}

#top-teams tbody tr:nth-child(1) td {
  color: #20b5fa;
}

/* Notice */
.notice {
  position: relative;
  display: flex;
  align-items: center;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  background-color: #10a5ea;
  padding: 0.75em 1.25em;
  border-radius: 0.25rem;
  white-space: nowrap;
  margin-bottom: 0.5em;
}
.notice::before {
  content: "i";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 1rem;
  margin-right: 1em;
  background-color: #fff;
  color: #10a5ea;
  font-size: 0.875rem;
  font-weight: 700;
}
.notice.warning {
  background-color: #f28d0a;
}
.notice.warning::before {
  content: "!";
  color: #f28d0a;
}
.notice.error {
  background-color: #fa204e;
}
.notice.error::before {
  content: "!";
  color: #fa204e;
}

/* Pagination */
.dataTables_paginate {
  font-size: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.paginate_button {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 0.333rem;
  font-size: 1.125rem;
  color: #3a4054;
  cursor: pointer;
  outline: none;
  border: solid 1px #eee;
}

.paginate_button:hover {
  background-color: #63c3f0;
  border-color: #63c3f0;
  color: #fff;
}

.paginate_button:active {
  background-color: #20b5fa;
  color: #fff;
}

.paginate_button.current {
  border-color: #20b5fa;
  background: #20b5fa;
  color: #fff;
  cursor: default;
}

.ellipsis {
  position: relative;
  top: -4px;
  font-size: 1.125rem;
  padding: 0 0.5rem;
  cursor: default;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

fieldset {
  border: none;
  margin: 0;
  margin-top: 3rem;
}

fieldset legend {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-top: solid 1px #d0d4de;
  padding-top: 2rem;
  padding-left: 0;
}

label {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5em;
}

label .hint {
  display: block;
  font-size: 1rem;
  color: #7c8297;
  font-style: italic;
  font-weight: 400;
  margin-top: 0.25em;
  margin-bottom: 1em;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=number],
input[type=password],
select,
textarea {
  background: #fff;
  border: none;
  border-radius: 4px;
  display: block;
  padding: 1rem 1.5rem;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  color: #3a4054;
  width: 100%;
  outline: none;
  margin-top: 1rem;
}

textarea {
  height: 15rem;
}

select {
  cursor: pointer;
}

input[type=submit],
input[type=button],
input[type=reset],
button {
  display: inline-block;
  font-size: 1rem;
  text-align: center;
  padding: 1rem 2rem;
  color: #fff;
  background: #20b5fa;
  border: none;
  border-radius: 4px;
  outline: none;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition-duration: 0.2s;
}

input[type=submit]:hover,
input[type=button]:hover,
button:hover,
input[type=submit]:focus,
input[type=button]:focus,
button:focus {
  background: #30c5ff;
}

input[type=reset] {
  background: #d0d4de;
}

input[type=reset]:hover {
  background: #aab1c5;
}

input[type=submit]:disabled,
input[type=button]:disabled,
input[type=reset]:disabled,
button:disabled {
  background: #d0d4de;
  font-weight: 400 !important;
  text-transform: none !important;
  font-style: italic;
  cursor: default;
}

#login-form input[type=submit] {
  margin-top: 2rem;
  text-transform: uppercase;
  display: block;
  width: 100%;
}

.button-group {
  position: relative;
  width: 100%;
  font-size: 0;
}

.button-group .button-group-item {
  position: relative;
  margin: 0;
  display: inline-block;
}

.button-group .button-group-item label {
  display: inline-block;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  color: #98a0b7;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: #fff;
  border: solid 1px #eaedf4;
  border-right: none;
  margin: 0;
  transition-duration: 0.2s;
}

.button-group .button-group-item input {
  margin: 0;
}

.button-group .button-group-item label:hover {
  background: #f8f8f8;
}

.button-group .button-group-item:first-child label {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.button-group .button-group-item:last-child label {
  border-right: solid 1px #eaedf4;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.button-group .button-group-item input:checked + label {
  background: #20b5fa;
  color: #fff;
  border-color: #20b5fa;
}

#team-points .button-group .button-group-item {
  width: calc(100%/17);
}

#team-points .button-group .button-group-item label {
  padding-left: 0;
  padding-right: 0;
}

.button-group label input {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.form-buttons {
  border-top: solid 1px #d0d4de;
  margin-top: 3rem;
  padding-top: 2rem;
}

.form-buttons.hidden {
  display: none;
}

.form-buttons input[type=submit] {
  font-weight: 700;
  text-transform: uppercase;
}

.form-buttons input[type=reset] {
  float: right;
}

/* Checkbox */
.checkbox {
  position: relative;
  width: 80px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.checkbox input[type=checkbox] {
  display: none;
}

.checkbox .label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border-radius: 20px;
  margin-bottom: 0;
}

.checkbox .label .inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  transition: margin 0.3s ease-in 0s;
}

.checkbox .label .inner:before, .checkbox .label .inner:after {
  display: block;
  float: left;
  width: 50%;
  height: 30px;
  padding: 0;
  line-height: 30px;
  font-size: 14px;
  color: white;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  box-sizing: border-box;
}

.checkbox .label .inner:before {
  content: "Kyll\E4";
  padding-left: 12px;
  background-color: #20b5fa;
  color: #fff;
}

.checkbox .label .inner:after {
  content: "Ei";
  padding-right: 14px;
  background-color: #f0f0f0;
  color: #bbb;
  text-align: right;
}

.checkbox .switch {
  display: block;
  width: 18px;
  height: 18px;
  margin: 6px;
  background: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 48px;
  border: none;
  border-radius: 18px;
  transition: all 0.3s ease-in 0s;
  padding: 0;
}

.checkbox input[type=checkbox]:checked + .label .inner {
  margin-left: 0;
}

.checkbox input[type=checkbox]:checked + .label .switch {
  right: 2px;
}

/* Misc */
div.clear {
  clear: both;
  height: 0px;
}

.tox-tinymce {
  border: none !important;
  border-radius: 4px !important;
  margin-top: 1rem !important;
}

.tox .tox-edit-area {
  border-top-color: #e6e2ed !important;
}

.points-color {
  font-weight: 700;
}

.password.visible {
  display: none;
}

.scroll-element.scroll-x {
  display: none !important;
}

.scroll-element.scroll-y {
  top: 2rem !important;
  right: 2rem !important;
  height: calc(100% - 4rem) !important;
}

::-webkit-input-placeholder {
  color: #98a0b7;
}

::-moz-placeholder {
  color: #98a0b7;
}

:-ms-input-placeholder {
  color: #98a0b7;
}

:-moz-placeholder {
  color: #98a0b7;
}

.select-container {
  position: relative;
}
.select-container::after {
  content: "";
  position: absolute;
  top: 21px;
  right: 21px;
  width: 0;
  height: 0;
  border-top: solid 5px #3a4054;
  border-left: solid 5px transparent;
  border-right: solid 5px transparent;
}

/* Alerts */
.alert {
  display: block;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  color: #fff;
  font-size: 1.125rem;
}

.alert.success {
  background-color: #30c549;
}

.alert.danger {
  background-color: #c54130;
}

/* Pisteiden syöttö */
#team-search {
  font-size: 0;
}

#team-search input[type=text] {
  display: inline-block;
  width: calc(90% - 1.25rem);
  margin-right: 1.25rem;
}

#team-search input[type=button] {
  width: 10%;
  padding-left: 0;
  padding-right: 0;
}

#team-details,
#team-points,
#team-points-change-reason {
  display: none;
}

#team-details .form-group {
  position: relative;
  background: #fff;
  border-radius: 4px;
  padding: 12px 12px 12px 70px;
  border: solid 1px #f8f8f8;
}

#team-details .number {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 39px;
  height: 39px;
  line-height: 38px;
  font-size: 1.125rem;
  text-align: center;
  border-radius: 20px;
  background: #20b5fa;
  color: #fff;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}

#team-details .name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

#team-details .members {
  color: #98a0b7;
  font-style: italic;
}

/* Datetimepicker */
.ui-widget {
  font-family: "Raleway", sans-serif;
}

.ui_tpicker_time_label,
.ui_tpicker_time {
  display: none;
}

.ui-timepicker-select {
  padding: 0.25rem;
}

.ui-datepicker th {
  text-transform: none;
  font-size: 0.875rem;
  color: #3a4054;
}

.ui-state-highlight {
  background: #f6f6f6 !important;
  border: 1px solid #c5c5c5 !important;
  color: #454545 !important;
}

.ui-state-active {
  background: #20b5fa !important;
  border-color: #10a5ea !important;
  color: #fff !important;
}

.ui_tpicker_hour_label,
.ui_tpicker_minute_label {
  line-height: 28px;
}

/* Datatables */
#datatable {
  width: 100% !important;
}

.dataTables_wrapper {
  position: relative;
}

.dataTables_processing {
  position: absolute;
  top: 60px;
  width: 100%;
  height: 80px;
  background: #fff;
  border-top: solid 1px #eee;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  text-align: center;
  font-size: 0;
  background-image: url(/images/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;
  opacity: 0.8;
}

.dataTables_length,
.dataTables_info,
.dataTables_paginate .previous,
.dataTables_paginate .next {
  display: none !important;
}

.dataTables_wrapper .dataTables_paginate {
  float: none;
  text-align: left;
}

table thead th.sorting,
table thead th.sorting_asc,
table thead th.sorting_desc {
  cursor: pointer;
}

table thead th.sorting .sort_icon,
table thead th.sorting_asc .sort_icon,
table thead th.sorting_desc .sort_icon {
  position: relative;
  top: 3px;
  display: inline-block;
  width: 10px;
  height: 16px;
  margin-left: 12px;
}

table thead th.sorting .sort_icon:before,
table thead th.sorting_asc .sort_icon:before,
table thead th.sorting_desc .sort_icon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-bottom: solid 5px #d0d4de;
  border-left: solid 5px transparent;
  border-right: solid 5px transparent;
}

table thead th.sorting .sort_icon:after,
table thead th.sorting_asc .sort_icon:after,
table thead th.sorting_desc .sort_icon:after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 0;
  height: 0;
  border-top: solid 5px #d0d4de;
  border-left: solid 5px transparent;
  border-right: solid 5px transparent;
}

table thead th.sorting_asc .sort_icon:before {
  border-bottom-color: #20b5fa;
}

table thead th.sorting_desc .sort_icon:after {
  border-top-color: #20b5fa;
}

.give-event-pass-container {
  display: inline-block;
}

.give-event-pass-container button.hide {
  display: none;
}

.give-event-pass-container .pass-given-message {
  display: none;
  font-size: 0.875rem;
  color: #20b5fa;
}

.give-event-pass-container .pass-given-message.show {
  display: block;
  -webkit-animation: showPassGivenMessage 500ms ease-in-out forwards;
          animation: showPassGivenMessage 500ms ease-in-out forwards;
}

@-webkit-keyframes showPassGivenMessage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes showPassGivenMessage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* Teams import */
.csv-delimiter-container {
  display: none;
}

.csv-delimiter-container.show {
  display: block;
}

#teams-import-table {
  position: relative;
}
#teams-import-table.atleast-10::before {
  content: "Yhteens\E4   " attr(data-count) " rivi\E4";
  display: block;
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  text-align: center;
  color: #20b5fa;
  font-size: 1.125rem;
  font-weight: 400;
  z-index: 2;
}
#teams-import-table.atleast-10::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: linear-gradient(0deg, white 20%, rgba(255, 255, 255, 0) 100%);
}
#teams-import-table .select-container {
  position: relative;
}
#teams-import-table .select-container::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 0;
  height: 0;
  border-top: solid 5px #98a0b7;
  border-left: solid 5px transparent;
  border-right: solid 5px transparent;
}
#teams-import-table select {
  margin-top: 0;
  border: solid 1px #d2d5df;
  cursor: pointer;
  padding: 0.5em 2em 0.5em 1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#teams-import-table select option {
  background: #fff;
}
#teams-import-table tbody tr:first-child.hidden {
  display: none;
}

/* Media queries */
@media only screen and (max-width: 1800px) {
  body, html {
    font-size: 15px;
  }

  body {
    padding: 2rem;
  }

  header {
    height: calc(100% - 4rem);
  }

  #summary-boxes .summary-box .text .title {
    font-size: 0.875rem;
  }

  #team-details .members {
    margin-bottom: 0.25rem;
  }
}
@media only screen and (max-width: 1440px) {
  #page-content,
aside {
    display: block;
    width: 100%;
  }

  aside {
    padding-top: 0;
    max-width: 100vw;
    overflow-x: auto;
  }

  .drop-down-items .drop-down-item .title {
    position: relative;
    background-color: #f0f0f0;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
  }
  .drop-down-items .drop-down-item .title .icon {
    margin-bottom: 0;
    padding-top: 5px;
  }
  .drop-down-items .drop-down-item .title::after {
    content: "";
    width: 0;
    height: 0;
    border-top: solid 8px #3a4054;
    border-left: solid 8px transparent;
    border-right: solid 8px transparent;
    transition-duration: 0.2s;
  }
  .drop-down-items .drop-down-item .content {
    display: none;
    padding: 1em;
    background-color: #f0f0f0;
  }
  .drop-down-items .drop-down-item.open .title {
    background-color: #eaeaea;
  }
  .drop-down-items .drop-down-item.open .title::after {
    transform: rotate(180deg);
  }
  .drop-down-items .drop-down-item.open .content {
    display: block;
  }
}
@media only screen and (max-width: 1200px) {
  body, html {
    font-size: 14px;
  }

  header {
    width: 220px;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  section#content {
    padding-left: 220px;
  }

  nav#main-menu ul li {
    margin-bottom: 1.75rem;
  }

  nav#bottom-menu ul li {
    margin-top: 1.75rem;
  }

  #page-content,
aside {
    padding: 3rem;
  }

  .scroll-element.scroll-y {
    top: 1.5rem !important;
    right: 1rem !important;
    height: calc(100% - 3rem) !important;
    width: 6px !important;
  }

  nav#page-menu:hover #toggle .dot {
    top: 20px;
  }
}
@media only screen and (max-width: 992px) {
  body {
    padding: 0;
    background: #f9f9fa;
    background: linear-gradient(90deg, #f9f9fa 0%, #f2f4f8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f9f9fa",endColorstr="#f2f4f8",GradientType=1);
  }

  header {
    position: relative;
    width: auto;
    height: 70px;
    padding: 0;
    background: #20b5fa;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  #app {
    margin: 0;
    height: auto;
    box-shadow: none;
    border-radius: 0;
  }

  #app-logo {
    position: absolute;
    top: 1rem;
    left: 2rem;
    height: 40px;
    background-size: 40px 40px;
    padding: 7px 0 0 60px;
    font-size: 1.5rem;
    margin: 0;
    background-position: left top;
    background-image: url(/images/logo-nega.svg);
    color: #fff;
  }

  #app-logo.login {
    position: relative;
    display: inline-block;
    top: auto;
    left: auto;
    color: #3a4054;
    background-image: url(/images/logo.svg);
  }

  table tbody td {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }

  #event-information {
    display: none;
  }

  #event-information .current-event {
    margin-bottom: 0.25rem;
  }

  nav#main-menu,
nav#bottom-menu {
    display: none;
  }

  nav#mobile-menu {
    display: block;
  }

  section#content {
    display: block;
    padding: 0;
    height: auto;
    border-radius: 0;
  }

  #page-top .event-title {
    font-size: 2rem;
  }

  #page-content,
aside {
    padding: 2rem;
  }

  #page-content[style] {
    padding-bottom: 2rem !important;
  }

  nav#page-menu {
    width: 39px;
    height: 39px;
  }

  nav#page-menu:hover {
    border-radius: 16px;
  }

  nav#page-menu #toggle .dot {
    top: 15px;
    right: 15px;
    width: 4px;
    height: 4px;
  }

  nav#page-menu #toggle .dot:nth-child(2) {
    right: 7px;
  }

  nav#page-menu #toggle .dot:nth-child(3) {
    right: 23px;
  }

  nav#page-menu:hover #toggle .dot {
    top: 16px;
    right: 17px;
  }

  nav#page-menu:hover #toggle .dot:nth-child(2) {
    right: 10px;
  }

  nav#page-menu:hover #toggle .dot:nth-child(3) {
    right: 24px;
  }

  nav#page-menu ul {
    margin: 0.25rem 3.5rem 0.25rem 0;
  }

  nav#page-menu:hover {
    padding-left: 1.15rem;
    padding-right: 0;
  }

  #summary-boxes .summary-box {
    padding: 1rem;
  }

  #summary-boxes .summary-box .icon {
    height: 36px;
    margin-right: 1rem;
  }

  #summary-boxes .summary-box .text .content {
    font-size: 1.25rem;
  }

  #login-form {
    margin-top: 2rem;
  }

  section#content {
    background: none;
  }

  #page-content {
    background: none;
  }
}
@media only screen and (max-width: 768px) {
  table.responsive-table {
    background: none;
  }

  table.responsive-table,
table.responsive-table thead,
table.responsive-table tbody,
table.responsive-table th,
table.responsive-table td,
table.responsive-table tr {
    display: block;
  }

  table.responsive-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  table.responsive-table tbody tr td:first-child,
table.responsive-table tbody tr td:first-child:before {
    border-top: none;
  }

  table.responsive-table tr {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 4px;
  }

  table.responsive-table tr:last-child {
    border-bottom: none;
  }

  table.responsive-table td {
    border: none;
    position: relative;
    padding-left: 150px;
    margin-left: 135px;
  }

  table.responsive-table td:before {
    position: absolute;
    top: -1px;
    left: 0;
    width: 150px;
    white-space: nowrap;
    margin-left: -135px;
    content: attr(data-title);
    font-weight: 700;
  }

  table.responsive-table.medium td {
    margin-left: 110px;
  }

  table.responsive-table.medium td:before {
    margin-left: -110px;
  }

  table.responsive-table.short td {
    margin-left: 80px;
  }

  table.responsive-table.short td:before {
    margin-left: -80px;
  }

  table.responsive-table td,
table.responsive-table td:before {
    padding: 0.5rem 0.75rem;
    border-top: solid 1px #f0f0f0 !important;
  }

  table.responsive-table td.no-responsivity,
td.dataTables_empty {
    margin-left: 0 !important;
    padding-left: 1rem !important;
  }

  table.responsive-table td.no-responsivity:before,
td.dataTables_empty:before {
    display: none !important;
  }

  table.responsive-table td:first-child,
table.responsive-table td:first-child:before,
table.responsive-table tr:hover td:first-child,
table.responsive-table tr:hover td:first-child:before {
    border-top: none !important;
  }

  table.responsive-table td.center {
    text-align: left;
  }

  table.responsive-table td.wrap-content {
    width: auto;
  }

  #top-teams tbody tr td:nth-child(5),
#top-teams tbody tr:nth-child(-n+3) td {
    font-weight: 400;
    color: inherit !important;
  }

  table#top-teams tr:hover {
    background: #20b5fa;
    color: #fff;
  }

  table.responsive-table#top-teams tr:hover td,
table.responsive-table#top-teams tr:hover td:before {
    border-top: solid 1px #10a5ea !important;
    font-size: 1.125rem;
    transition: font-size 0.4s;
  }

  table.responsive-table#top-teams tr:hover td:first-child,
table.responsive-table#top-teams tr:hover td:first-child:before {
    border-top: none !important;
  }

  table#top-teams tbody tr td:first-child {
    font-weight: 700;
  }

  #page-top .event-title {
    font-size: 1.75rem;
  }

  #summary-boxes .summary-box {
    margin-bottom: 1rem;
  }

  #summary-boxes .summary-box .icon {
    width: 48px !important;
  }

  #page-content[style] {
    padding-bottom: 1.5rem !important;
  }

  #page-content-buttons {
    float: none;
    margin-bottom: 1rem;
  }

  #page-content-buttons .button {
    display: block;
    margin-bottom: 0.25rem;
    text-align: center;
    margin-right: 0;
  }

  #datatable_filter {
    float: none;
    width: 100%;
  }

  #datatable_filter label input {
    margin-bottom: 2rem;
  }

  #datatable_filter label {
    width: 100%;
  }

  #datatable_filter label input {
    width: 100%;
  }

  #datatable_filter .button {
    width: 33.33%;
    text-align: center;
    margin: 0;
  }

  .button-group .button-group-item {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
  }

  #team-points .button-group .button-group-item {
    width: calc(11.111% - .25rem + (.25rem / 9)) !important;
  }

  .button-group .button-group-item label {
    border: solid 1px #eaedf4;
    border-radius: 4px;
  }

  .button-group .button-group-item:nth-of-type(9n) {
    margin-right: 0;
  }
}
@media only screen and (max-width: 576px) {
  #app-logo {
    left: 1.5rem;
  }

  #page-top .event-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  table {
    margin-bottom: 1.5rem;
  }

  h1.icon {
    height: 22px;
    font-size: 1.25rem;
    line-height: 22px;
  }

  nav#mobile-menu #mobile-menu-toggle {
    right: 1.5rem;
  }

  nav#mobile-menu #mobile-menu-content {
    padding: 2rem 1.5rem;
  }

  nav#page-menu {
    width: 28px;
    height: 28px;
  }

  nav#page-menu:hover {
    border-radius: 10px;
  }

  nav#page-menu #toggle .dot {
    top: 10px;
    right: 10px;
    width: 3px;
    height: 3px;
    border-radius: 3px;
  }

  nav#page-menu #toggle .dot:nth-child(2) {
    right: 4px;
  }

  nav#page-menu #toggle .dot:nth-child(3) {
    right: 16px;
  }

  nav#page-menu:hover #toggle .dot {
    top: 17px;
    right: 17px;
  }

  nav#page-menu:hover #toggle .dot:nth-child(2) {
    right: 10px;
  }

  nav#page-menu:hover #toggle .dot:nth-child(3) {
    right: 24px;
  }

  #page-top .event-title {
    font-size: 1.5rem;
  }

  #page-content,
aside {
    padding: 1.5rem;
  }

  .paginate_button {
    width: 32px;
    height: 32px;
    line-height: 30px;
  }

  #team-search input[type=text] {
    width: calc(80% - 1.25rem);
  }

  #team-search input[type=button] {
    width: 20%;
  }

  .button-group .button-group-item {
    margin-right: 0.125rem;
    margin-bottom: 0.125rem;
  }

  #team-points .button-group .button-group-item {
    width: calc(20% - .125rem + (.125rem / 5)) !important;
  }

  .button-group .button-group-item:nth-of-type(9n) {
    margin-right: 0.125rem;
  }

  .button-group .button-group-item:nth-of-type(5n) {
    margin-right: 0;
  }

  label {
    font-size: 1.125rem;
  }

  .alert {
    margin-bottom: 1.5rem;
  }
}