/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: .67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font: 1em monospace,monospace;
}

a {
  background: 0 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font: 1em monospace,monospace;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font: 100%/1.15 inherit;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

[type=button],
[type=reset],
[type=submit],
button {
  -webkit-appearance: button;
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

*,
::after,
::before {
  box-sizing: border-box;
}

a {
  display: block;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
}

a:focus {
  outline: 0;
}

a:focus-visible {
  outline: 2px solid #5356ff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}

select {
  appearance: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

select:focus {
  outline: 0;
}

select:focus-within {
  border-color: #5356ff;
}

input,
textarea {
  font: inherit;
  color: #000;
  border: none;
  background: 0 0;
  outline: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=button] {
  padding: 0;
  cursor: pointer;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: rgba(0,0,0,.6);
}

button {
  display: inline-block;
  font: inherit;
  color: inherit;
  padding: 0;
  margin: 0;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  border: none;
  background: 0 0;
}

button:focus {
  outline: 0;
}

button:focus-visible {
  outline: 2px solid #5356ff;
}

main {
  flex: 1 1 auto;
}

html {
  scroll-behavior: smooth;
}

body {
  font: 1rem Rubik,sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #000;
}

body,
html {
  height: 100%;
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(120deg,#fdfbfb 0,#ebedee 100%);
}

.container {
  max-width: 1920px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 50px;
}

.container--md {
  max-width: 1200px;
}

.scroll-hidden {
  overflow: hidden;
}

.list-reset {
  list-style: none;
  padding: 0;
  margin: 0;
}

.logo {
  transition: opacity .2s ease;
  font-size: 1.625rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.logo:hover {
  opacity: .8;
}

.header {
  background: #5356ff;
  margin-bottom: 6.25rem;
}

.header.open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: 5;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.header.open .header__mobile {
  margin-bottom: 3.125rem;
}

.header.open .header__left {
  display: flex;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.header__logo {
  margin-right: 3.75rem;
}

.header__logo.mobile {
  display: none;
}

.header__mobile {
  display: none;
  width: 100%;
}

.header__left {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
}

.header__right {
  display: flex;
  align-items: center;
}

.header__nav-item:not(:last-child) {
  margin-right: 1.25rem;
}

.header__nav-link {
  color: #fff;
  font-size: 1.125rem;
  border-bottom: 1px solid transparent;
  transition: color .2s linear,border-color .2s linear;
}

.header__nav-link.active,
.header__nav-link:hover {
  color: #dff5ff;
  border-color: #dff5ff;
}

.header__username {
  color: #fff;
  font-size: 1.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid currentColor;
  max-width: 9.375rem;
  margin-right: .9375rem;
  transition: color .2s linear,border-color .2s linear;
}

.header__username:hover {
  color: #dff5ff;
  border-color: transparent;
}

.header__admin-link {
  color: #fff;
  border-bottom: 1px solid currentColor;
  margin-right: .9375rem;
  transition: color .2s linear,border-color .2s linear;
}

.header__admin-link:hover {
  color: #dff5ff;
  border-color: transparent;
}

.footer {
  background: #378ce7;
  padding: 1.25rem;
  margin-top: 6.25rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer__logo {
  font-size: 1.125rem;
  margin-right: 2.5rem;
}

.footer__nav-list {
  display: flex;
  align-items: center;
}

.footer__nav-item:not(:last-child) {
  margin-right: 1.25rem;
}

.footer__nav-link {
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  border-bottom: 1px solid transparent;
  transition: color .2s,border-color .2s;
}

.footer__nav-link:hover {
  color: #dff5ff;
  border-color: currentColor;
}

.footer__copyright {
  color: #fff;
  text-align: center;
}

.title {
  display: block;
  font-weight: 700;
  font-size: 3rem;
}

.title--md {
  font-size: 1.875rem;
  margin-bottom: 1.875rem;
}

.title--sm {
  font-size: 1.25rem;
}

.burger-button {
  display: none;
  align-items: center;
  justify-content: flex-end;
  z-index: 10;
  width: 20px;
  height: 30px;
}

.burger-button span {
  background: #fff;
  position: relative;
  width: 18px;
  height: 2px;
}

.burger-button span::after,
.burger-button span::before {
  background: inherit;
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: inherit;
}

.burger-button span::after,
.burger-button span::before {
  display: block;
  content: '';
  transition: transform .15s;
}

.burger-button span::before {
  transform: translateY(-7px);
}

.burger-button span::after {
  transform: translateY(7px);
}

.burger-button.active span {
  background: #fff;
  height: 0;
}

.burger-button.active span::before {
  transform: rotate(-45deg);
}

.burger-button.active span::after {
  transform: rotate(45deg);
  width: 100%;
}

.button {
  background: #fff;
  transition: opacity .2s ease;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .625rem 1.875rem;
  border-radius: .3125rem;
}

.button:hover {
  opacity: .8;
}

.button--primary {
  background: #5356ff;
  color: #fff;
}

.button--alert {
  background: #e75263;
}

.button-text {
  transition: opacity .2s ease;
  border-bottom: 1px solid currentColor;
  max-width: -moz-fit-content;
  max-width: fit-content;
  color: #5356ff;
}

.button-text:hover {
  opacity: .8;
}

.button-remove {
  transition: opacity .2s ease;
  display: block;
  color: #e75263;
}

.button-remove:hover {
  opacity: .8;
}

.form__control {
  width: 100%;
  flex: unset;
}

.form__control:not(:last-child) {
  margin-bottom: 1.25rem;
}

.form__control .input-group-text {
  min-width: 10.5rem;
}

.form__row {
  display: flex;
}

.form__row:not(:last-child) {
  margin-bottom: 1.25rem;
}

.form__row .form__control {
  margin-bottom: 0;
}

.form__row .form__control:not(:last-child) {
  margin-right: .625rem;
}

.form__inputs {
  margin-bottom: 2.5rem;
}

.form__submit {
  width: 100%;
}

.form__label {
  margin-bottom: .625rem;
}

.form__title {
  margin-bottom: .625rem;
}

.form__checkbox {
  display: flex;
  align-items: center;
  max-width: -moz-fit-content;
  max-width: fit-content;
  cursor: pointer;
}

.form__checkbox .form-check-label {
  margin-left: .3125rem;
  margin-top: .125rem;
  -webkit-user-select: none;
  user-select: none;
}

.form-select option {
  background: url(../img/png/flags/RU.png);
}

.invalid-feedback {
  display: block;
}

.text {
  line-height: 1.4;
  color: #202020;
}

.content {
  font-size: 1.125rem;
  padding-bottom: 6.25rem;
}

.content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.content h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: .625rem;
}

.content p {
  line-height: 1.5;
  color: #202020;
  margin-bottom: .625rem;
}

.content ol p {
  margin-bottom: 0;
}

.content ol ol {
  list-style: none;
}

.table {
  border-spacing: 0;
}

.table div {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.table--sm {
  max-width: 50%;
}

.table th {
  background: #378ce7;
  position: sticky;
  top: 0;
  text-align: center;
  font-size: .875rem;
  font-weight: 400;
  color: #fff;
  vertical-align: top;
}

.table td {
  text-align: center;
  transition: background-color .1s,box-shadow .1s;
}

.table td a {
  display: block;
  color: #5356ff;
  text-align: center;
  transition: color .2s ease;
}

.table td a:hover {
  color: #378ce7;
  text-decoration: underline;
}

.table tbody tr:hover td {
  background: #dff5ff;
  box-shadow: none;
}

.table td.scroll-shadow::before,
.table th.scroll-shadow::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  box-shadow: rgba(0,0,0,.15) 1.95px 1.95px 2.6px;
}

.fixed-column {
  position: sticky;
  z-index: 3;
  border: 0;
}

.fixed-column:first-of-type::before {
  background: #dee2e6;
  content: '';
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
}

.fixed-column::after {
  background: #fff;
  content: '';
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
}

.fixed-column+td,
.fixed-column+th {
  border-left: 0;
}

td.fixed-column::after {
  background: #dee2e6;
}

.table__sort-icon {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  fill-opacity: .7;
  fill: #fff;
}

.table__sort {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto;
  -webkit-user-select: none;
  user-select: none;
}

.table__sort.asc .table__sort-icon path:nth-child(1) {
  fill-opacity: 1;
}

.table__sort.asc .table__sort-icon path:nth-child(2) {
  fill-opacity: .4;
}

.table__sort.desc .table__sort-icon path:nth-child(1) {
  fill-opacity: .4;
}

.table__sort.desc .table__sort-icon path:nth-child(2) {
  fill-opacity: 1;
}

.section-title {
  margin-bottom: 2.5rem;
}

.tabs__nav {
  margin-bottom: 2.1875rem;
}

.tabs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.tabs__item {
  margin-bottom: .625rem;
}

.tabs__item.active .tabs__link {
  color: #202020;
  border-color: currentColor;
}

.tabs__item:not(:last-child) {
  margin-right: 2.5rem;
}

.tabs__link {
  color: #378ce7;
  border-bottom: 1px solid transparent;
  -webkit-user-select: none;
  user-select: none;
  transition: color .2s,border-color .2s;
}

.tabs__link:hover {
  border-color: currentColor;
}

.tabs__content.active {
  display: block;
}

.modal-footer {
  border-top: 0;
}

.flag {
  display: inline-block;
  vertical-align: middle;
  width: 1rem;
  height: 1.0625rem;
  margin-right: .3125rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.auth__form {
  margin-bottom: 2.5rem;
}

.auth__title {
  margin-bottom: 2.5rem;
}

.auth__inner {
  max-width: 26.25rem;
  width: 100%;
  margin: 0 auto;
}

.auth__forgot-password {
  margin-left: auto;
}

.auth__footer {
  display: flex;
  align-items: center;
}

.auth__footer-text {
  margin-right: .3125rem;
}

.main {
  padding: 0 0 6.25rem;
}

.main__title {
  margin-bottom: 2.5rem;
}

.main__links-link {
  font-size: 1.5rem;
}

.main__links-item:not(:last-child) {
  margin-bottom: .9375rem;
}

.matches__info:not(:last-child) {
  margin-bottom: 3.125rem;
}

.winner__disclaimer {
  margin-bottom: 1.25rem;
}

.winner__form {
  max-width: 18.75rem;
}

.bet__form {
  max-width: 18.75rem;
}

.bet__info {
  margin-bottom: 1.25rem;
}

.bet__label {
  margin-right: .625rem;
}

.bet__input {
  display: flex;
  align-items: center;
}

.bet__input:not(:last-child)::after {
  content: ':';
  margin: 0 .3125rem;
}

.bet__input .form-control {
  max-width: 3.125rem;
  text-align: center;
}

.bet__input:nth-child(2) {
  flex-direction: row-reverse;
}

.bet__input:nth-child(2) .bet__label {
  margin-right: 0;
  margin-left: .625rem;
}

.bet__inputs {
  display: flex;
  align-items: center;
  margin-bottom: .9375rem;
}

.bet__delimeter {
  margin: 0 .625rem;
}

.bet__info-text {
  color: #5356ff;
}

.bet__info-text:not(:last-child) {
  margin-bottom: .3125rem;
}

.bet__submit {
  width: 100%;
}

.bet__controls {
  margin-bottom: 1.875rem;
}

.admin__btn {
  margin-bottom: 1.875rem;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.admin__btn--recalculate {
  background: #202020;
  font-size: .75rem;
  margin-bottom: 0;
}

.admin__form {
  max-width: 25rem;
  width: 100%;
}

.admin__recalculate-form {
  margin-top: -1.25rem;
  margin-bottom: 2.5rem;
}

@media only screen and (max-width:1365.98px) {
  .header {
    margin-bottom: 3.75rem;
  }

  .header__logo {
    margin-right: 2.5rem;
    font-size: 1.25rem;
  }

  .header__nav-link {
    font-size: 1rem;
  }

  .header__username {
    font-size: 1rem;
  }

  .header__admin-link {
    font-size: .875rem;
  }
}

@media only screen and (max-width:1199.98px) {
  .container {
    padding: 0 30px;
  }

  .header.open .header__right {
    display: flex;
  }

  .header__inner {
    flex-direction: column;
    padding: .9375rem 0;
  }

  .header__logo {
    display: none;
  }

  .header__logo.mobile {
    display: block;
  }

  .header__mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header__left {
    display: none;
    margin-bottom: 5rem;
  }

  .header__nav-list {
    flex-direction: column;
  }

  .header__right {
    display: none;
    flex-direction: column;
  }

  .header__nav-item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 1.25rem;
  }

  .header__nav-link {
    font-size: 1.375rem;
  }

  .header__username {
    margin-right: 0;
    margin-bottom: .9375rem;
    font-size: 1.125rem;
  }

  .header__admin-link {
    margin-right: 0;
    margin-bottom: .9375rem;
    font-size: 1rem;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__logo {
    margin-bottom: 1.25rem;
    margin-right: 0;
  }

  .burger-button {
    display: flex;
  }
}

@media only screen and (max-width:1023.98px) {
  .tabs__nav {
    margin: 0 -1.75rem 2.1875rem;
  }

  .tabs__list {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1.75rem;
    justify-content: unset;
    scrollbar-width: none;
    width: unset;
  }

  .tabs__item:not(:last-child) {
    margin-right: 1.25rem;
  }
}

@media only screen and (max-width:767.98px) {
  .container {
    padding: 0 15px;
  }

  .header {
    margin-bottom: 2.5rem;
  }

  .footer {
    margin-top: 3.75rem;
  }

  .footer__nav-list {
    flex-direction: column;
  }

  .footer__nav-item:not(:last-child) {
    margin-right: 0;
    margin-bottom: .3125rem;
  }

  .title {
    font-size: 2.1875rem;
  }

  .title--md {
    font-size: 1.5rem;
  }

  .title--sm {
    font-size: 1.125rem;
  }

  .burger-button.active {
    right: 15px;
  }

  .content h1 {
    font-size: 1.875rem;
  }

  .table td {
    font-size: .875rem;
  }

  .section-title {
    margin-bottom: 1.5625rem;
  }

  .tabs__nav {
    margin-bottom: 1.25rem;
  }

  .auth__form .form__control {
    flex-direction: column;
  }

  .auth__form .form__control .form-control {
    width: 100%;
    border-radius: .3125rem!important;
  }

  .auth__form .input-group-text {
    background: 0 0;
    min-width: unset;
    border: 0;
    padding: 0 0 .3125rem;
  }

  .auth__title {
    margin-bottom: 1.5625rem;
  }

  .auth__forgot-password {
    margin-top: .625rem;
  }

  .main__title {
    margin-bottom: 1.5625rem;
  }

  .main__links-link {
    font-size: 1.25rem;
  }

  .matches__info:not(:last-child) {
    margin-bottom: 1.875rem;
  }

  .admin__recalculate-form {
    margin-top: 0;
  }
}

@media only screen and (max-width:479.98px) {
  .form__row {
    flex-direction: column;
  }

  .form__row:not(:last-child) {
    margin-bottom: 1.25rem;
  }

  .form__row .form__control:not(:last-child) {
    margin-right: 0;
    margin-bottom: 1.25rem;
  }

  .auth__footer {
    flex-direction: column;
  }

  .auth__footer-text {
    margin-right: 0;
    margin-bottom: .3125rem;
  }
}