@font-face {
    font-family: 'QuinqueFive';
    src: url('../QuinqueFive.woff2?v=2') format('woff2'),
         url('../QuinqueFive.woff?v=2') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* latin-ext */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/worksans/v17/QGYsz_wNahGAdqQ43Rh_cqDpp_k.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/worksans/v17/QGYsz_wNahGAdqQ43Rh_fKDp.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/worksans/v17/QGYsz_wNahGAdqQ43Rh_cqDpp_k.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/worksans/v17/QGYsz_wNahGAdqQ43Rh_fKDp.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
	padding: 0;
	margin: 0;
	border: none;
}

body {
	font-family: "Work Sans",sans-serif;
	font-weight:  400;
	line-height: 1.42857143;
	color: #222222;
	text-align:  center;
	background-color: white;
}

div.topbar {
	width:  100%;
	color:  white;
	padding: 4px 0;
	background-color: black;
	font-size: 0.8em;
	line-height: 25px;
}

div.topbar > span {
	color: yellow;
}

div.title {
	padding: 12px;
	font-size:  20px;
  margin-right: auto;
  margin-left: auto;
  max-width: 960px;
	position:  relative;
	text-transform: uppercase;
  background-image: url('../img/sensi.png');
  background-position: 0px 0px;
  background-repeat: repeat-y;
  background-size: cover;
  animation: animatedBackground 30s linear infinite;
  color:  white;
}

@keyframes animatedBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 100%;
  }
}

div.language {
	color: white;
	text-align:  center;
	font-weight:  400;
	font-size: 1em;
	position:  absolute;
	right:  10px;
	top:  -30px;
}

h1 {
	font-family: quinquefive;
	font-weight: normal;
	font-size:  24px;
	line-height:  50px;
}

/* En subpages (landing, privacy) el nombre del site va arriba como link
   estilizado igual que el h1 del home, y el titulo de la subpage va debajo
   como h1 mas pequeno (mantiene valor SEO). */
.site-name {
	font-family: quinquefive;
	font-size: 24px;
	line-height: 36px;
	color: white;
	text-decoration: none;
	display: block;
}
.site-name:hover { text-decoration: none; }
.title.has-subpage h1.page-subtitle {
	font-family: quinquefive;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.8;
	margin: 6px 0 0 0;
}

nav {
	padding: 12px;
  margin-right: auto;
  margin-left: auto;
  max-width: 960px;
	display:  flex;
	gap:  10px;
	justify-content:  space-between;
}

h2 {
	font-weight:  inherit;
	font-size:  inherit;
}

.filter {
	padding:  6px 30px;
	text-align:  center;
	text-shadow: 2px 2px #000000;
	position:  relative;
	flex-grow: 1;
	border:  2px solid white;
	color: white;
	text-decoration: none;
	font-family: QuinqueFive;
	font-size: 14px;
	font-weight: 400;
}

.filter > a {
	color:  white !important;
}

.filter:hover {
	border:  2px solid black;
}

.nomatch {
	text-align:  center;
	padding-top: 40px;
	height: calc(50vh - 80px);
}

.filter:visited {
	text-decoration: none;
}

.filter-channel {
	background-color:  #0313e4;
}

.filter-competition {
	background-color:  #e40303;
}

.filter-replays {
	background-color: #8aaaef;
}

div.container {
	margin-right: auto;
  margin-left: auto;
  max-width: 960px;
	min-height: calc(100vh - 420px);
}

a.button {
	text-decoration: none;
	cursor: pointer;
	color:  white;
}

button {
	font-size: 1em;
}

h3 {
	font-weight: 400;
	font-size:  1.1em;
}

a {
	color: black;
	text-decoration: none;
}

.match-channel > span {
	display:  block;
	font-size: 0.85em;
	line-height: 1.2;
	padding: 1px 0;
}

a.underline:hover {
	text-decoration: underline;
}

footer > a{
	color:  #ffe100;
	text-decoration: underline;
}

a.logo {
	text-decoration: none;
	cursor: pointer;
}

img.icon_close {
	width:  8px;
	height:  8px;
	position: absolute;
	top: 6px;
	right: 6px;
}

img.channel_logo {
	margin: 0px 30px 0 0;
	width: 80px;
	height:  auto;
	float:  left;
}

.match-list {
	width: 100%;
}

.match-header {
	display: flex;
	align-items: center;
	background-color: #eee;
	font-size: 0.9em;
	padding: 3px 0;
}

.day-header {
	background-color: #555555;
	color: #ffe100;
	width:  100%;
	text-align:  center;
	padding:  4px 0;
}

.separator {
	width:  100%;
	text-align:  center;
	padding:  5px 0;
}

.separator-small {
	width:  100%;
	text-align:  center;
	line-height:  5px;
	padding:  5px 0;
}

.match {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #d0d0d0;
	padding: 8px 0;
	width: 100%;
}

.match-flag {
	flex: 0 0 5%;
	text-align: left;
}

.match-flag img {
	display: block;
}

img.flag {
	height:  32px;
	width:  32px;
}

.match-comp {
	flex: 0 0 22%;
	text-align: left;
}

span.match-round {
	color:  #707070;
	font-size:  0.9em;
}

.match-home {
	flex: 0 0 19%;
	text-align: right;
	font-weight: 600;
	color: #2c44bc;
}

.match-time {
	flex: 0 0 8%;
	text-align: center;
}

.match-away {
	flex: 0 0 19%;
	text-align: left;
	font-weight: 600;
	color: #2c44bc;
}

.match-channel {
	flex: 0 0 18%;
	text-align: right;
}

.match-live {
	flex: 0 0 9%;
	text-align: right;
	font-size: 0.9em;
}

footer {
	line-height: 32px;
	color: #bbbbbb;
	background-color: black;
	padding: 16px 0;
	font-size: 0.8em;
	box-shadow: 0 50vh 0 50vh #000;
}

div.c {
	clear: both;
	line-height:  0px;
}

.mobile {
	display: none;
}

.altcolor {
	background-color: #dddddd;
}

.twoline {
	 line-height: 16px;
	 padding-top: 4px;
}

.about {
  background-color: #ddd;
  color: #444;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  position: relative;
  text-indent:  10px;
  padding:  10px 0;
}

.panel {
  padding: 0px 18px;
  margin: 8px 0 40px 0;
  background-color: white;
  text-align: left;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 4px;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

img.lang_flag {
	vertical-align: middle;
	width:  17px;
	height:  17px;
}

@media only screen and (max-width: 760px) {

	div.topbar {
		font-size:  0.7em;
		text-align:  left;
	}

	h1 {
		line-height:  40px;
	}

	.mobile {
		display: initial;
	}

	.twoline {
		line-height: 24px;
	}

	div.title {
		padding: 10px 0;
	}

	nav {
		padding: 0px;
		gap:  0px;
	}

	.filter {
		padding: 10px 4px;
		font-size:  8px;
		border:  0;
	}

	.desktop {
		display: none !important;
	}

	div.separator {
		padding:  0;
		line-height:  0;
	}
	div.separator-small {
		padding:  0;
		line-height:  0;
	}

	.day-header {
		padding:  3px 0;
	}

	.channel_logo {
		margin: 0px 15px 0 0;
		width: 50px;
	}

	.match {
		flex-wrap: wrap;
	}

	.match-comp {
		flex: 0 0 100%;
		text-align: center;
		color: #3254FF;
		font-size: 0.8em;
	}

	.match-home {
		flex: 0 0 43%;
		text-align: right;
		font-size: 0.95em;
	}

	.match-time {
		flex: 0 0 14%;
		text-align: center;
	}

	.match-away {
		flex: 0 0 43%;
		text-align: left;
		font-size: 0.95em;
	}

	.match-live {
		flex: 0 0 100%;
		text-align: center;
	}

	img.flag {
		width:  16px;
		height:  16px;
		vertical-align: text-bottom;
		margin-right: 4px;
	}

}

#privacy_consent
{
	position: fixed;
	display: none;
	justify-content: center;
	align-content: center;
	align-items: center;
	height:auto;
	background:black;
	border: 1px solid #8aaaef;
	left: 50%;
	transform: translateX(-50%);
	bottom:1.5em;
	z-index:999;
	width:40vw;
	padding:10px;
	color:#bbbbbb;
}

.center_block
{
	margin-top:5px;
	display: block;
	width: 100%;
	height: auto;
	min-height: 20px;
}

.privacy_btn
{
	margin-left:10px;
	margin-right:10px;
	width: 25%;
}

.privacy_btn.accept
{
	background: #ffe100;
	color:black;
}
.privacy_btn.deny
{
	background: #ddd;
	color:#444;
}
.privacy_btn:hover
{
	cursor: pointer;
}

@media only screen and (max-width: 960px) {
	#privacy_consent
	{
		width:100%;
	}
}

/* Internal links block — visible al final del listado de partidos, antes del about/intro.
   Da a Google enlaces internos hacia todas las landings y al usuario una navegación
   complementaria. */
.internal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 32px 0 16px 0;
	padding: 20px;
	background: #f7f7f7;
	border-radius: 6px;
}
.internal-links .links-group {
	flex: 1 1 280px;
	min-width: 0;
}
.internal-links h2 {
	font-family: 'Work Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 10px 0;
	color: #555;
}
.internal-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}
.internal-links li {
	margin: 0;
}
.internal-links a {
	display: inline-block;
	padding: 4px 10px;
	font-size: 14px;
	color: #1a1a1a;
	background: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
}
.internal-links a:hover {
	background: #ffe100;
	border-color: #ffe100;
}
@media only screen and (max-width: 600px) {
	.internal-links {
		padding: 14px;
		gap: 14px;
	}
	.internal-links a {
		font-size: 13px;
		padding: 3px 8px;
	}
}
