*,
*::before,
*::after {
	box-sizing: border-box;
	font-family: 'Poppins', Arial, sans-serif;
}

html,
body,
div#__next {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: #3c3c3c;
	background-color: #fbfaf6;
	-webkit-font-smoothing: antialiased;
}

/* div#__next {
	display: flex;
	justify-content: center;
	align-items: center;
} */

h1,
h2,
h3,
h4,
h5,
h6,
th {
	font-weight: 700 !important;
	color: #fc3634;
}

a,
a:visited {
	color: #fc3634;
}
a:hover {
	color: #ff9d1b;
}

a.ascending::after {
	content: '🔼';
	display: inline-block;
	margin-left: 1em;
}
a.descending::after {
	content: '🔽';
	display: inline-block;
	margin-left: 1em;
}

.homepage-greetbox {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	flex-direction: column;
}

.greetbox-first-row {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fc3634;
	font-size: 48px;
	font-weight: 700;
}

.greetbox-first-row img {
	height: 80px;
	margin-right: 32px;
}

.greetbox-second-row {
	margin-top: 64px;
}

.signInButton,
.signOutButton {
	cursor: pointer;
	background-color: #ffffff;
	color: #fc3634;
	font-size: 20px;
	font-weight: 500;
	padding: 4px 18px;
	border-radius: 12px;
	border: 1px solid #fc3634;
	outline: none;
}

.signInButton:hover,
.signOutButton:hover {
	color: #ffffff;
	background-color: #fc3634;
}

.avatar {
	width: 40px;
	height: 40px;
	border-radius: 40px;
	display: inline-block;
	background-size: cover;
	margin-right: 16px;
	flex-shrink: 0;
}

.toolbar {
	margin-top: 68px;
	padding: 12px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #cccccc;
}

.top-bar {
	width: 100%;
	height: 64px;
	padding: 12px 18px;
	background-color: #ffffff;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: 0px 0px 8px #cccccc;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.userInfo {
	display: flex;
	align-items: center;
	margin: 0 16px;
}

.contents {
	margin-top: 16px;
	padding: 0 18px;
}

.locationsTable {
	width: 100%;
	table-layout: fixed;
}

.locationsTable th {
	text-align: left;
	padding: 12px 0;
	background-color: #ffffff;
}

.locationsTable th:first-child {
	padding-left: 8px;
}

.locationsTable td {
	font-size: 15px;
	padding: 4px 0;
	word-wrap: break-word;
}

.locationsTable td:first-child,
.locationsTable td:last-child {
	padding-left: 8px;
}

.locationsTable tr:nth-child(even) {
	background-color: #ffffff;
}

.locationsTable tr:nth-child(odd) {
	background-color: #eeeeee;
}

.appLink,
.appLinkActive {
	display: inline-block;
	cursor: pointer;
	background-color: #ffffff;
	color: #fc3634;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	padding: 2px 10px;
	border-radius: 10px;
	border: 1px solid #fc3634;
	outline: none;
	margin: 4px 0;
	transition: all 0.2s ease-in-out;
}
.appLink:hover,
.appLinkActive {
	color: #ffffff;
	background-color: #fc3634;
}
.appLink:not(:last-of-type),
.appLinkActive:not(:last-of-type) {
	margin-right: 10px;
}

.searchBox {
	background-color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	padding: 2px 10px;
	border-radius: 10px;
	border: 1px solid #3c3c3c;
	outline: none;
	margin: 4px 0;
}
.searchBox:focus {
	border-color: #ff9d1b;
}

@media (max-width: 768px) {
	.avatar {
		margin-right: 8px;
	}
	.signOutButton {
		padding: 2px 14px;
		font-size: 16px;
	}
	.top-bar {
		padding: 8px 12px;
	}
	.toolbar {
		margin-top: 64px;
		padding: 8px 12px;
		flex-direction: column-reverse;
	}
	.searchBox {
		width: 75vw;
	}
	.contents {
		margin-top: 12px;
		padding: 0 12px;
	}
}

@media (max-width: 512px) {
	.greetbox-first-row {
		flex-direction: column;
	}
	.greetbox-first-row img {
		margin: 0 0 16px 0;
	}
	.contents {
		margin-top: 8px;
		padding: 4px;
	}
}
