:root {
	--team-image-height: 24px;
	--team-image-width: 36px;
	--border-radius: 3px;
	--color-light: #eeeeee;
	--color-primary: green;
	--color-secondary: #EE2222;
	--color-dark: #333333;
	--switch-height: 21px;
}

html {
	background-color: var(--color-light);
	color: var(--color-dark);
}

body {
	margin: 0px;
	padding: 0px;
	position: relative;
}

#header {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: 50px;
	font-family: 'Arvo', serif;
	margin-bottom: 30px;
	padding: 20px 0px;
	width: 100%;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, .47);
	background-color: var(--color-primary);
}

#header h1 {
	font-size: 2em;
	color: var(--color-light);
}

#scoragamiLogo {
	height: 40px;
	margin-right: 15px;
}

h3 {
	margin-bottom: 10px;
	margin-top: 0px;
}

#container {
	min-height: 100%;
	max-width: 1140px;
	padding: 0px 10px;
	margin: 0px auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

a {
	color: var(--color-primary);
}

.sectionContent {
	box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, .16);
	background-color: white;
	border-radius: var(--border-radius);
	min-width: 280px;
}

#liveGamesHeader {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
}

#liveGamesHeader h2 {
	min-width: 300px;
}

#liveGamesButtons {
	margin: 10px 0px;
}

#liveGamesContainer {
	width: 100%;
	margin: 10px auto;
}

#liveGamesContainer h2 {
	float: left;
}

#liveGamesContainer button {
	margin: 5px;
	padding: 10px;
	color: var(--color-light);
	background-color: var(--color-primary);
	border: 1px solid var(--color-primary);
	border-radius: var(--border-radius);
	cursor: pointer;
	transition: all .25s ease;
}

#liveGamesContainer button:hover {
	background-color: var(--color-light);
	border: 1px solid var(--color-secondary);
	color: var(--color-secondary);
}

#liveGamesContainer button:active {
	transition: all 0s ease;
	color: var(--color-light);
	background-color: var(--color-secondary);
	border: 1px solid var(--color-secondary);
}

.liveGameSeparator {
	width: 0px;
	height: 115px;
}

#liveGamesContent {
	padding: 0px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	flex-direction: row;
	align-items: center;
}

.liveGameContainer {
	width: 279px;
	margin: auto;
}

.liveGame {
	font-size: 10px;
	border-radius: var(--border-radius);
	width: 250px;
	margin: 5px auto;
	padding: 10px;
	font-size: 15px;
	border: 1px solid white;
	cursor: pointer;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.liveGame.selected {
	background-color: var(--color-light);
}

.liveGame.newUpdate {
	border: 1px solid var(--color-secondary);
	box-shadow: 0 0 0 4px inset var(--color-secondary);
}

.liveGame .img {
	width: var(--team-image-width);
	height: var(--team-image-height);
	vertical-align: middle;
	margin: 5px 5px 0px 0px;
	float: left;
	background-size: contain;
}

.liveGameContent {
	height: 73px;
}

.teams {
	width: 70%;
	float: left;
}

.teamInfo {
	line-height: 32px;
	margin: 3px;
}

.teamScore {
	float: right;
}

.gameInfoWrapper {
	float: right;
	width: 30%;
	height: 65px;
}

.gameInfo {
	margin: 3px;
	text-align: center;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.liveGameFooter {
	margin: 3px;
	text-align: center;
}

.newScorigami {
	font-weight: bold;
	color: var(--color-secondary);
}

#faqContainer {
	width: 100%;
	margin: 10px auto;
}

#faqContent {
	padding: 20px 20px 20px 20px;
}

.qna {
	margin-bottom: 30px;
}

p {
	margin-top: 2px;
}

footer {
	text-align: center;
	font-size: 12px;
	padding: 20px 0px;
	color: var(--color-light);
	background-color: var(--color-dark);
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, .47);
	margin-top: 60px;
	width: 100%;
	z-index: 0;
}

footer a {
	color: white;
}

#helper {
	background-color: #ffff99;
	position: absolute;
	font-size: 18px;
	padding: 10px;
	border-radius: var(--border-radius);
	text-align: center;
	border: 1px solid black;
	cursor: pointer;

	transition: opacity 1s ease-in-out;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-ms-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	opacity: 0.9;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#helper.hide-opacity {
	opacity: 0;
}

.hidden {
	display: none;
}

.invisible {
	visibility: hidden;
}

#bmac {
	position: fixed;
	right: 5;
	bottom: 5;
	z-index: 1;
}