/*--------------------------------
# General Styling
--------------------------------*/

* {
	box-sizing: border-box
}

/* Text alingment */

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

/* Style the headings */

h1 {
	font-size: 40px;
	margin-top: 40px;
}

/* Extra small devices */
@media screen and (max-width: 600px) {
	h1 {
		font-size: 28px;
	}
}

/* Small devices */
@media screen and (min-width: 600px) and (max-width: 768px) {
	h1 {
		font-size: 32px;
	}
}

/* Medium devices */
@media screen and (min-width: 768px) and (max-width: 992px) {
	h1 {
		font-size: 36px;
	}
}

/* Large devices */
@media screen and (min-width: 992px) and (max-width: 1200px) {
	h1 {
		font-size: 40px;
	}
}

h2 {
	font-size: 24px;
	padding: 40px 0px;
	color: #1E383B;
}

h2.mainsection {
	font-size: 24px;
	padding: 0;
	line-height: 20%;
	color: #1E383B;
}

h3 {
	font-size: 18px;
}

div.mainsection {
	background-color: #FFFAFA;
	width: 100%;
}

/* Style paragraph */

p {
	font-size: 16px;
}

p.subtitle {
	font-size: 18px;
	padding: 0;
	font-variant: small-caps;
	line-height: 20%;
	margin-top: 20px;
	color: #1E383B;
}

p.small {
	font-size: 16px;
	padding: 0;
	color: #254448;
}

a {
	text-decoration: none;
	color: #000000;
}

a.cards {
	text-decoration: none;
	color: #1E383B;
}

/* Style the footer content */

.footer {
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	background-color: #262626;
}

.footer div {
	width: 60%;
	padding: 20px;
	color: #FFFFFF;
	margin: auto;
	text-align: center;
}

.footer h2 {
	font-size: 20px;
	color: #F5F5F5;
	padding: 10px;
}

.footer p {
	font-size: 14px;
}

/* Style the header content */

.header {
	background-color: #468189;
	color: #000000;
	padding: 30px;
	text-align: center;
	padding-bottom: 80px;
}

span {
	font-size: 20px;
	color: #000000;
}

/* Extra small devices */
@media screen and (max-width: 600px) {
	span {
		font-size: 16px;
	}
}

/* Navigation bar */

.navbar {
	width: 100%;
	background-color: #E7E5DA;
	overflow: auto;
}

.navbar a {
	float: left;
	padding: 12px;
	color: #1E383B;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	width: 25%; /* Four links of equal widths */
	text-align: center;
	cursor: pointer;
}

.navbar a:hover {
	background-color: #C1C3B6;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	.navbar a {
		font-size: 16px;
	}
}

/* Style a card */

.cardscontainer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-items: stretch;
	margin-top: 120px;
	background-color: #468189;
	padding-top: 60px;
	padding-bottom: 60px;
}

.cardscontainer div {
	background-color: #E7E5DA;
	width: 180px;
	margin: 10px;
	padding: 50px 30px;
	text-align: center;
	font-size: 15px;
	border-radius: 10px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
	transition: 0.3s;
	cursor: pointer;
	color: #1E383B;
}

.cardscontainer div:hover {
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.5);

}

/* Extra small devices */
@media only screen and (max-width: 600px) {
	.cardscontainer div {
		width: 170px;
		font-size: 15px;
		margin: 5px;
	}
}

/* Small devices */
@media only screen and (min-width: 600px) {
	.cardscontainer div {
		width: 170px;
		font-size: 15px;
	}
}

/* Medium devices */
@media only screen and (min-width: 768px) {
	.cardscontainer div {
		width: 175px;
		font-size: 15px;
	}
}

/* Large devices */
@media only screen and (min-width: 992px) {
	.cardscontainer div {
		width: 180px;
		font-size: 15px;
	}
}

/*--------------------------------
# Full Page Tabs
--------------------------------*/

/* Set height of body and the document to 100% */

body, html {
	height: 100%;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	background-color: #FFFAFA;
}

/* Style the tab content (and add height:100% for full page content) */

.tabcontent {
	color: black;
	display: none;
	height: 100%;
}

#Open_1 {background-color: #FFFAFA;}
#Open_2 {background-color: #FFFAFA;}
#Open_3 {background-color: #FFFAFA;}
#Open_4 {background-color: #FFFAFA;}

/*--------------------------------
# Scores table
--------------------------------*/

table.scorestable {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	border-collapse: collapse;
	width: auto;
	margin: auto;
	color: #1E383B;
}

table.scorestable th {
	padding: 5px 20px 5px 20px;
	border-bottom: 1px solid #1E383B;
}

table.scorestable td {
	padding: 5px 20px 5px 20px;
	border-bottom: 1px solid #1E383B;
}

table.scorestable tr {
	height: 40px;
}

.scores {
	font-weight: 900;
}

/* Extra small devices */
@media only screen and (max-width: 600px) {
	table.scorestable {
		font-size: 14px;
	}
	table.scorestable th {
		padding: 3px;
	}
	table.scorestable td {
		padding: 3px;
	}
	table.scorestable tr {
		height: 45px;
	}
}

/* Small devices */
@media only screen and (min-width: 600px) {
	table.scorestable {
		font-size: 15px;
	}
	table.scorestable th {
		padding: 5px;
	}
	table.scorestable td {
		padding: 5px;
	}
}

/* Medium devices */
@media only screen and (min-width: 768px) {
	table.scorestable {
		font-size: 16px;
	}
	table.scorestable th {
		padding: 5px 15px 5px 15px;
	}
	table.scorestable td {
		padding: 5px 15px 5px 15px;
	}
}

/* Large devices */
@media only screen and (min-width: 992px) {
	table.scorestable {
		font-size: 16px;
	}
	table.scorestable th {
		padding: 5px 20px 5px 20px;
	}
	table.scorestable td {
		padding: 5px 20px 5px 20px;
	}
}

/*--------------------------------
# scroll to top button
--------------------------------*/

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: #555;
  color: #FFFFFF;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #777;
}

/*--------------------------------
# Marquee style
--------------------------------*/

/* Container styles */
.scrolling-text-container {
	overflow: hidden;
	background-color: #468189;
	width: 100%;
	padding-bottom: 60px;
}

/* Inner container styles */
.scrolling-text-inner {
	display: flex;
	white-space: nowrap;
	font-size: 17px;
	color: #000000;
	padding: 8px 0;
}

/* Text styles */
.scrolling-text {
	display: flex;
}

.scrolling-text-item {
	padding: 0 40px;
	border-right: 1px solid #000000;
}

/* Apply the animation to the text items */
.scrolling-text-inner > div {
	animation: var(--direction) var(--marquee-speed) linear infinite;
}

/* Pause the animation when a user hovers over it */
.scrolling-text-container:hover .scrolling-text-inner > div {
	animation-play-state: paused;
}

/* Setting the Animation using Keyframes */
@keyframes scroll-left {
	0% {
	transform: translateX(0%);
	}
	100% {
	transform: translateX(-100%);
	}
}

@keyframes scroll-right {
	0% {
	transform: translateX(-100%);
	}
	100% {
	transform: translateX(0%);
	}
}

.hiddenheading {
	display: none;
}

/*--------------------------------
# Accordion style
--------------------------------*/
div.matches {
	margin: auto;
	margin-top: 40px;
	width: 50%;
}

/* Extra small devices */
@media screen and (max-width: 600px) {
	div.matches {
		width: 95%;
	}
}

/* Small devices */
@media screen and (min-width: 600px) and (max-width: 768px) {
	div.matches {
		width: 95%;
	}
}

/* Medium devices */
@media screen and (min-width: 768px) and (max-width: 992px) {
	div.matches {
		width: 80%;
	}
}

/* Large devices */
@media screen and (min-width: 992px) and (max-width: 1200px) {
	div.matches {
		width: 60%;
	}
}

.accordion {
  background-color: #E7E5DA;
  color: #1E383B;
  cursor: pointer;
  padding: 20px;
  padding-left: 40px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #C1C3B6;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  width: 100%;
  background-color: #FFFAFA;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

div.flexcontainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-top: -40px;
}

div.contentcontainerleft {
	width: 32%;
	color: #1E383B;
	padding: 20px 20px 20px 60px;
}

div.contentcontainerright {
	width: 32%;
	color: #1E383B;
	padding: 20px 60px 20px 20px;
}

div.scorescontainer {
	width: 12%;
	color: #254448;
}

p.scores {
	font-size: 36px;
	text-align: center;
}

div.field {
	margin-top: -40px;
}

/* Extra small devices */
@media screen and (max-width: 600px) {
	.accordion {
		padding: 15px;
	}
	.panel {
		padding: 0;
	}
	div.contentcontainerleft {
		padding: 5px;
	}
	div.contentcontainerright {
		padding: 5px;
	}
	p.scores {
		font-size: 28px;
	}
	h3 {
		font-size: 16px;
	}
	p.small {
		font-size: 15px;
	}
	div.field {
		margin-top: -30px;
	}
}

/* Small devices */
@media screen and (min-width: 600px) and (max-width: 768px) {
	div.contentcontainerleft {
		padding: 10px;
	}
	div.contentcontainerright {
		padding: 10px;
	}
	p.scores {
		font-size: 30px;
	}
	h3 {
		font-size: 16px;
	}
	p.small {
		font-size: 16px;
	}
	div.field {
		margin-top: -30px;
	}
}

/* Medium devices */
@media screen and (min-width: 768px) and (max-width: 992px) {
	div.contentcontainerleft {
		padding: 40px;
	}
	div.contentcontainerright {
		padding: 40px;
	}
	p.scores {
		font-size: 32px;
	}
	h3 {
		font-size: 18px;
	}
	p.small {
		font-size: 16px;
	}
	div.field {
		margin-top: -40px;
	}
}

/* Large devices */
@media screen and (min-width: 992px) and (max-width: 1200px) {
	div.contentcontainerleft {
		padding: 50px;
	}
	div.contentcontainerright {
		padding: 50px;
	}
	p.scores {
		font-size: 36px;
	}
	h3 {
		font-size: 18px;
	}
	p.small {
		font-size: 16px;
	}
	div.field {
		margin-top: -40px;
	}
}

div.simpleflex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-top: -30px;
}

div.simpleflexcontentleft {
	width: 40%;
	color: #1E383B;
	padding: 30px;
}

div.simpleflexcontentright {
	width: 60%;
	color: #1E383B;
	padding: 30px;
	text-align: right;
}

/* Extra small devices */
@media screen and (max-width: 600px) {
	div.simpleflexcontentleft {
		padding: 30px 10px;
	}
	div.simpleflexcontentright {
		padding: 30px 10px;
	}
}

/* Small devices */
@media screen and (min-width: 600px) and (max-width: 768px) {
	div.div.simpleflexcontentleft {
		padding: 10px;
	}
	div.simpleflexcontentright {
		padding: 10px;
	}
}

/* Medium devices */
@media screen and (min-width: 768px) and (max-width: 992px) {
	div.div.simpleflexcontentleft {
		padding: 20px;
	}
	div.simpleflexcontentright {
		padding: 20px;
	}
}

/* Large devices */
@media screen and (min-width: 992px) and (max-width: 1200px) {
	div.div.simpleflexcontentleft {
		padding: 30px;
	}
	div.simpleflexcontentright {
		padding: 30px;
	}
}

img.iconstyle {
	padding-left: 5px;
	width: 18px;
}

/*--------------------------------
# all Matches card style
--------------------------------*/

div.allmatches {
	margin: auto;
	margin-top: 40px;
	width: 50%;
	border-radius: 10px;
	background-color: #E7E5DA;
	padding: 5px;
}

/* Extra small devices */
@media screen and (max-width: 600px) {
	div.allmatches {
		width: 95%;
	}
}

/* Small devices */
@media screen and (min-width: 600px) and (max-width: 768px) {
	div.allmatches {
		width: 95%;
	}
}

/* Medium devices */
@media screen and (min-width: 768px) and (max-width: 992px) {
	div.allmatches {
		width: 80%;
	}
}

/* Large devices */
@media screen and (min-width: 992px) and (max-width: 1200px) {
	div.allmatches {
		width: 70%;
	}
}

/* Large devices */
@media screen and (min-width: 1200px) and (max-width: 1400px) {
	div.allmatches {
		width: 60%;
	}
}

div.allflex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-top: -40px;
}

div.allleft {
	width: 32%;
	color: #1E383B;
	padding: 20px 20px 20px 60px;
}

div.allright {
	width: 32%;
	color: #1E383B;
	padding: 20px 60px 20px 20px;
}

div.allscores {
	width: 12%;
	color: #254448;
}

/* Extra small devices */
@media screen and (max-width: 600px) {
	div.allleft {
		padding: 10px;
	}
	div.allright {
		padding: 10px;
	}
}

/* Small devices */
@media screen and (min-width: 600px) and (max-width: 768px) {
	div.allleft {
		padding: 10px 10px 10px 20px;
	}
	div.allright {
		padding: 10px 20px 10px 10px;
	}
}

/* Medium devices */
@media screen and (min-width: 768px) and (max-width: 992px) {
	div.allleft {
		padding: 10px 10px 10px 20px;
	}
	div.allright {
		padding: 10px 20px 10px 10px;
	}
}

/* Large devices */
@media screen and (min-width: 992px) and (max-width: 1200px) {
	div.allleft {
		padding: 20px 20px 20px 30px;
	}
	div.allright {
		padding: 20px 30px 20px 20px;
	}
}

/*--------------------------------
# Pagination style
--------------------------------*/

.pagination {
	display: flex;
	justify-content: center;
	list-style: none; /* remove list bullets */
	padding: 0px;
	margin-top: 20px;
}

.pagination li a {
	display: block; /* let links fill the list item */
	padding: 8px 12px;
	text-decoration: none;
	border: 1px solid gray;
	color: black;
	margin: 0px 4px;
	border-radius: 5px; /* add rounded borders */
}