/* Drafts CSS - Modern replacement for FrontPage JavaScript */

body {
	background-image: url('/images/relief.jpg');
	font-family: Arial, Helvetica, sans-serif;
}

/* Navigation button with CSS hover effect - replaces FrontPage fpAnimswapImgFP3 */
a.nav-button {
	display: inline-block;
	text-decoration: none;
	line-height: 0;
}

a.nav-button img {
	display: block;
	border: 0;
	transition: opacity 0.15s ease-in-out;
}

a.nav-button:hover img {
	opacity: 0;
}

/* CSS-based image swap using background */
a.nav-button {
	position: relative;
	width: 120px;
	height: 25px;
}

a.nav-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
	height: 25px;
	opacity: 0;
	transition: opacity 0.15s ease-in-out;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

a.nav-button:hover::before {
	opacity: 1;
}

/* RSBL Home button hover state */
a.nav-button-rsbl::before {
	background-image: url('../images/navbar/rsbl_b3_over.gif');
}

/* Page title styling - replaces redbar.gif horizontal line */
.page-title {
	font-size: 2.2em;
	font-weight: 600;
	color: #1a1a2e;
	margin: 0 0 10px 0;
	padding-bottom: 8px;
	border-bottom: 3px solid #4a4a8a;
	display: inline-block;
}

/* Table styling */
table {
	display: inline-block;
	vertical-align: top;
	border-collapse: collapse;
}

table td, table th {
	padding: 2px 4px;
}

/* Remove deprecated HTML styling with CSS */
table[align="left"] {
	float: left;
	margin-right: 10px;
}
