@charset "utf-8";
/* CSS Document
:root {
	--bbc: #b80000;
}
*/


body {
  margin: 0;
  font-family: 'Arial', sans-serif;
}

nav {
	width: 100%;
	background-color: #fff;
	user-select: none;
}

#navbar {
	width: 95%;
	max-width: 1248px;
	margin: auto;
	padding: 6px;
}

#navbar img {
	width: 100%;
}

header {
	width: 100%;
	min-height: 10px;
	background-color: var(--bbc);
	color: white;
	user-select: none;
}

#masthead {
	min-height: 40px;
	width: 95%;
	max-width: 1248px;
	margin: auto;
	padding: 6px 0;
}

h1 {
	display: inline-block;
	margin: 0;
	padding: 3px 0;
	font-size: 2.4em;
	text-transform: uppercase;
	font-weight: bold;
}

#menu {
	width: 100%;
	height: inherit;
	border-top: solid 1px rgba(255,255,255,0.5);
}

#menu div {
	width: 95%;
	max-width: 1248px;
	margin: auto;
	display: flex;
}

ul {
	list-style-type: none;
	padding: 0;
	display: flex;
	margin: 0;
	user-select: none;
}

li {
	display: list-item;
	font-size: 16px;
	padding: 10px 0px;
	cursor: pointer;
}

ul li span {
	padding: 0 7px;
	border-right: thin solid rgba(255,255,255,0.5);
}

ul li:last-child span {
	border-right: none;
}

#menu ul li:hover {
	box-shadow:inset 0px -4px 0px 0px #fff;
}

#more-right:hover {
	box-shadow:inset 0px -4px 0px 0px #fff;
}

#more-right {
	width: inherit;
	padding: 10px 7px;
	border-left: solid 1px rgba(255,255,255,0.5);
	cursor: pointer;
	flex-basis: 0px;
	font-size: 16px;
	margin: 0;
}

#mini-menu {
	width: 95%;
	max-width: 1248px;
	margin: auto;
}
#mini-menu ul li:hover {
	box-shadow:inset 0px -4px 0px 0px var(--bbc);
}
#mini-menu ul li span {
	border-right-color: #888;
}

.mini_opt {
	display: none;
}
.a_sel {
	box-shadow:inset 0px -4px 0px 0px #fff;
}
.b_sel {
	box-shadow:inset 0px -4px 0px 0px var(--bbc);
}

section {
	width: 95%;
	max-width: 1248px;
	margin: 16px auto;
	display: none;
}

.grid {
	display: grid;
	flex-wrap: wrap;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: 270px 290px;
	column-gap: 16px;
	grid-row-gap: 16px;
	user-select: auto;
}

.grid li {
	padding: 0;
	position: relative;
	transition: transform 0.1s;
}

.grid li:hover, .foot_grid li:hover {
	color: var(--bbc);
	text-decoration: underline;
	transform: scale(1.01);
}

.grid li:first-child {
	grid-column-end: span 2;
	grid-row-end: span 2;
}

.grid li img {
	width: 100%;
}

.grid li div {
	padding: 12px 0;
	width: 100%;
}

h2, h3 {
	margin: 0;
	font-family: ReithSans, Helvetica, Arial, freesans, sans-serif;
	font-size: 28px;
}

h3 {
	font-size: 18px;
}

h2 span, h3 span {
	border: none !important;
	margin: none;
	color: rgb(0, 102, 102);
	display: inline-block;
	text-decoration: none !important;
}

.grid p, .foot_grid p {
	margin: 10px 0 0;
	font-size: 14px;
	color: #444;
	display: inline-block;
	text-decoration: none;
}

p.tail {
	display: inline-block;
	position: absolute;
	bottom: 0px;
	margin-bottom: 10px;
	color: var(--bbc);
}

p.tail span {
	border-right: none;
	border-left: solid 1px #888;
	color: #888;
	margin-left: 4px;
	padding-left: 6px;
	padding-right: 2px;
}

.foot_grid {
	width: 95%;
	max-width: 1248px;
	margin: 16px auto;
	display: block;
	transition: transition 0.1s;
}

.foot_grid ul {
	display: grid;
	flex-wrap: wrap;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: 120px;
	column-gap: 16px;
}

.foot_grid ul li {
	border-top: solid 1px #888;
	position: relative;
	padding-top: 16px;
}

footer {
	width: 100%;
	background-color: #111;
	color: white;
}

.f_grid {
	display: flex;
	padding: 16px 0;
	border-bottom: solid 1px #aaa;
	margin-bottom: 10px;
}
footer div {
	width: 95%;
	max-width: 1248px;
	margin: auto;
}
.f_grid div {
	min-height: 40px;
	flex: auto;
	width: auto;
	border-right: solid 1px #aaa;
}

.f_grid div:last-child {
	border: none;
}


#modal {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.1);
	backdrop-filter: blur(5px);
}

article {
	display: none;
	width: 95%;
	max-width: 720px;
	margin: 20px auto;
	background-color: white;
	padding: 32px;
	max-height: calc(100vh - 104px);
	overflow-y: auto;
}

article a {
	color: var(--bbc);
	font-weight: bold;
	text-decoration: underline;
	cursor: pointer;
}

article img {
	width: 100%;
}

.split {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	margin: 16px 0;
}

.split div, .split img {
	display: block;
	width: 50%;
}

.split img {
	height: 50%;
}

.split div {
	padding-right: 5px;
}

menu h3 {
	cursor: auto;
}

menu {
	list-style-type: disc;
}

.list li {
	cursor: auto;
}

ul.more-grid {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
}

.more-grid li {
	cursor: auto;
}

.more-grid li:first-child {
	grid-column-end: span 1;
	grid-row-end: span 1;
}

.more-grid li:hover {
	color: black;
	text-decoration: none;
	transform: none;
}



#close-container {
	width: calc(95% + 64px);
	max-width: 784px;
	margin: 20px auto;
	position: relative
}

#close {
	padding: 5px 10px;
	font-size: 20px;
	position: absolute;
	right: 0;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
	z-index: 2;
}

#close:hover {
	background-color: var(--bbc);
	color: white;
}