/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
@font-face {
  font-family: 'LaLiga Text';
  src:  url('../fonts/LALIGAText-Regular.woff');
  src: url('../fonts/LALIGAText-Regular.woff2'), url('../fonts/LALIGAText-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LaLiga Text Bold';
  src:  url('../fonts/LALIGAText-Bold.woff');
  src:  url('../fonts/LALIGAText-Bold.woff2'), url('../fonts/LALIGAText-Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html,
body {
  background: '#E5E5E5';
}
@media screen and (min-width: 600px) {
  html,
  body {
    height: 100%;
  }
}
body {
  font-family: 'LaLiga Text', serif;
  font-size: 16px;
  line-height: 1.2;
  color: #333333;
}
body > main {
  z-index: 1;
}
@media screen and (min-width: 600px) {
  body {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  body > main {
    flex: 1 1 auto;
  }
}
a {
  text-decoration: none;
  opacity: 0.9;
  color: #333333;
}
a:hover {
  opacity: 1;
  cursor: pointer;
}
a.link {
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
.hidden {
  display: none !important;
}
.container {
  margin: 0% auto;
  width: 100%;
  max-width: 1500px;
  padding-left: 10px;
  padding-right: 10px;
}
@media screen and (min-width: 600px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  filter: brightness(0.9);
}
.btn:hover {
  cursor: pointer;
  filter: brightness(1);
}
.btn.btn-block {
  display: flex;
}
.btn.btn-solid {
  color: #333333;
  background: '#E5E5E5';
  padding: 5px 15px;
}
.btn.btn-solid.btn-blue {
  color: #ffffff;
  background: #0077c8;
}
a.btn {
  opacity: 1;
}
footer#footer {
  background: #d5d7d7;
  display: flex;
  flex-direction: column;
}
footer#footer #row-parners {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}
footer#footer #row-parners .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}
footer#footer #row-parners .row .parner {
  opacity: 0.7;
  transition: opacity 0.3s;
}
footer#footer #row-parners .row .parner:hover {
  opacity: 1;
}
footer#footer #row-parners .row.level-1 .parner {
  max-width: 33.33%;
}
footer#footer #row-parners .row.level-1 .parner img {
  width: 323px;
  max-width: 100%;
}
footer#footer #row-parners .row.level-2 .parner {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 85px;
  padding: 4px 8px;
}
footer#footer #row-parners .row.level-2 .parner img {
  max-height: 85px;
}
@media screen and (min-width: 600px) {
  footer#footer #row-parners .row.level-2 .parner {
    width: 16%;
    max-height: 120px;
  }
  footer#footer #row-parners .row.level-2 .parner img {
    max-height: 120px;
  }
}
footer#footer #row-links {
  background: #00001B;
}
footer#footer #row-links > div {
  color: #ffffff;
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  padding: 5px;
}
@media screen and (min-width: 600px) {
  footer#footer #row-links > div {
    flex-direction: row;
  }
}
footer#footer #row-links > div .links {
  display: flex;
}
footer#footer #row-links > div a {
  text-align: center;
  color: #ffffff;
  margin: 5px;
}
body > main {
  display: flex;
  flex-direction: column;
}
header#header {
  background: #00001B;
  padding: 16px 0;
  width: 100%;
}
header#header .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
@media screen and (min-width: 900px) {
  header#header .container {
    align-items: center;
  }
}
header#header .container .title {
  color: #ffffff;
  font-size: 12px;
}
header#header .container .select-lang {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0, -50%);
  color: #ffffff;
}
header#header .container .select-lang .link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.6;
  margin: 0 4px;
}
header#header .container .select-lang .link:hover {
  opacity: 1;
}
header#header .container .select-lang .label {
  margin: 0 4px;
}
.sub-header {
  width: 100%;
  min-height: 50px;
  background-color: #FF4B44;
  background: url('../img/pattern.svg') #FF4B44 no-repeat 87% center;
  background-size: 56px;
  display: flex;
  align-items: center;
}
.sub-header .tabs {
  display: flex;
  width: 100%;
  max-width: 420px;
  background-color: #e0e0e0;
  border-radius: 2px;
}
.sub-header .tabs .tab {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  min-height: 32px;
  font-size: 14px;
}
.sub-header .tabs .tab.active {
  background: #ffffff;
  color: #FF4B44;
  font-weight: bold;
}
.row-teams {
  width: 100%;
  min-height: 60px;
  background: #f2f2f2;
  position: sticky;
  top: 0px;
  z-index: 10;
}
.row-teams .container {
  overflow: auto;
}
.row-teams .teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  min-width: 1024px;
}
.row-teams .teams .team {
  flex: 0 0 40px;
  opacity: 0.8;
  border: 2px solid transparent;
  border-radius: 4px;
}
.row-teams .teams .team:hover {
  opacity: 1;
  cursor: pointer;
}
.row-icalendar {
  padding-top: 16px;
}
.row-icalendar .container {
  display: flex;
  justify-content: flex-end;
}
.row-icalendar .container .ecal-sync-widget-button {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  background: #FF4B44;
  padding: 4px 8px;
  border: none;
  box-shadow: none;
  border-radius: 2px;
}
.row-icalendar .container .ecal-sync-widget-button .icon-reload {
  display: block;
  width: 16px;
  height: 22px;
  background: url('../img/icon-reload.svg');
  margin-right: 4px;
}
.row-icalendar .container .ecal-sync-widget-button:hover {
  opacity: 1;
  background: #FF4B44;
}
@keyframes spinnerSpriteAnimation {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: 0px -1800px;
  }
}
#calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  width: 100%;
  min-height: 250px;
  padding-top: 16px;
  padding-bottom: 8px;
}
@media screen and (min-width: 900px) {
  #calendar {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}
.box-gameweek .head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: #00001B;
  color: white;
}
.box-gameweek .info {
  width: 100%;
  border: 1px solid #D6D6DB;
}
.box-gameweek .info .row {
  display: flex;
  align-items: center;
  background: rgb(244, 244, 244);
  min-height: 52px;
}
.box-gameweek .info .row:nth-child(odd) {
  background: white;
}
.box-gameweek .info .row .cell-team {
  display: flex;
  flex: 1 1 auto;
  color: #00001B;
}
.box-gameweek .info .row .cell-team .team {
  flex: 0 0 50%;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.box-gameweek .info .row .cell-team .team .shield-sprite.s {
  flex: 0 0 30px;
}
.box-gameweek .info .row .cell-team .team .shield-sprite.m {
  display: none;
  flex: 0 0 40px;
}
.box-gameweek .info .row .cell-team .team.home {
  padding: 0 4px 0 8px;
  justify-content: flex-end;
}
.box-gameweek .info .row .cell-team .team.home .nickname {
  text-align: right;
}
.box-gameweek .info .row .cell-team .team.away {
  padding: 0 8px 0 4px;
  justify-content: flex-star;
}
.box-gameweek .info .row .cell-team .team.away .nickname {
  text-align: left;
}
@media screen and (min-width: 600px) {
  .box-gameweek .info .row .cell-team .team .shield-sprite.s {
    display: none;
  }
  .box-gameweek .info .row .cell-team .team .shield-sprite.m {
    display: block;
  }
}
.box-gameweek .info .row .cell-ball {
  flex: 0 0 38px;
  padding: 8px;
}
.box-gameweek .info .row .cell-ball img {
  width: 22px;
  height: 22px;
}
.loading {
  width: 150px;
  height: 150px;
  background-image: url('../../../generic/spinnerBeat.png');
  animation: spinnerSpriteAnimation 1.2s steps(12) infinite;
  filter: invert();
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}
.filtering .row-teams .teams .team {
  opacity: 0.5;
}
.filtering .row-teams .teams .team:hover {
  opacity: 1;
  cursor: pointer;
}
.filtering .row-teams .teams .team.checked {
  border-color: #FF4B44;
  opacity: 1;
}
.filtering .box-gameweek .info .row {
  opacity: 0.5;
}
.filtering .box-gameweek .info .row.active {
  opacity: 1;
}
