/* CSS */

body {
	background-attachment: fixed;
	background-color: #5A00CC;
	color: #ffffff;
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	line-height: 26px;
	margin: 0;
	padding: 0;
}

* { 
  margin: 0; 
  padding: 0;
}


/* Standard HTML tags */
/* ------------------------------------------------- */

p {	
	color: #fff;
	margin: 0 0 12px 0;
	white-space: normal;
}

p.small {
	color: #ffffff;
	font-size: 12px;
	line-height: 18px;
	margin: 0 0 12px 0;
	padding: 0;
}

p.date {
	color: #ffffff;
	font-size: 12px;
	line-height: 18px;
	margin: 0 0 12px 0;
	padding: 0;
}

p.footer {
	color: #ffffff;
	font-size: 12px;
	line-height: 18px;
	margin: 40px 0 12px 0;
	padding: 6px 0 0 0;
}

h1.header {
	border-top: 1px solid #ffffff;
	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
	line-height: 26px;
	margin: 0 0 20px 0;
	padding: 4px 0 0 0;
}

h1.header2 {
	border-top: 1px solid #ffffff;
	color: #ffffff;
	font-size: 18px;	
	font-weight: bold;
	line-height: 26px;
	margin: 40px 0 12px 0;
	padding: 4px 0 0 0;
}

h1 {
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	margin: 0;
	padding: 4px 0 0 0;
}

h1.pullquote {
	color: #ffffff;
	font-size: 22px;	
	line-height: 26px;
	margin: 0 0 20px 0;
	padding: 4px 0 0 0;
	font-weight: 600;
}

h2 {
	color: #ffffff;
	font-size: 18px;
	line-height: 26px;
	margin: 16px 0 3px 0;
	font-weight: bold;
}

h3 {
	font-size: 18px;	
	line-height: 26px;
	margin: 16px 0 3px 16px;
	font-weight: normal;
	color: #ffffff;
}

h4 {
	font-size: 18px;	
	line-height: 26px;
	margin: 0 0 20px 0;
	padding: 4px 0 0 0;
	border-top: 1px solid #ffffff;
	font-weight: bold;
	color: #ffffff;
}

ul {	
	list-style-position: outside;
	margin: 0 20px 0 15px;
	/* list-style-image: url(bullet.gif); */
	list-style: square;
}

li.space {
	padding: 0 0 8px 0;
}

ul.ruled {
	border-bottom: 1px solid #eeeeee;
	font-weight: normal;
	font-size: 18px;
	line-height: 24px;
	list-style-type: none;
	color: #eeeeee;
	margin: 0;
	display: block;
}

li.ruled {
	border-top: 1px solid #eeeeee;
	padding: 8px 0 8px 0;
	color: #eeeeee;
	display: block;
}

li.ruled a {
	color: #eeeeee !important;
}

li.ruled a:hover {
	color: #5a00cc !important;
}


/* Regular hyperlinks */
/* ------------------------------------------------- */

a {
	text-decoration: none;
	color: yellow;
	border-bottom: 1px dotted yellow;
	padding-bottom: 1px;
}

a:hover {
	border-bottom: 1px dotted yellow;
	padding-bottom: 1px;
	color: #5a00cc !important;
	background-color: yellow;
}

a:visited {
	text-decoration: none;
	color: yellow;
	border-bottom: 1px dotted yellow;
	padding-bottom: 1px;
}

h1 a {
	border: none;
	text-decoration: none;
	color: #000000;
	background: none;
}

h1 a:hover {
	border: none;
	text-decoration: none;
	color: #333333;
	background: yellow;
}

h1 a:visited {
	border: none;
	text-decoration: none;
	color: #000000;
}

h2 a, h3 a {
	border: none;
	text-decoration: none;
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
	padding-bottom: 2px;
	background: none;
}

h2 a:hover, h3 a:hover {
	border: none;
	text-decoration: none;
	color: #333333;
	background: yellow;
	border-bottom: 1px solid #333333;
	padding-bottom: 2px;
}

h2 a:visited, h3 a:visited {
	border: none;
	text-decoration: none;
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
	padding-bottom: 2px;
}

h1.header a {
	border: none;
	text-decoration: none;
	color: #ffffff;
}

h1.header a:hover {
	border: none;
	text-decoration: none;
	color: #333333;
	background: yellow;
}

h1.header a:visited {
	border: none;
	text-decoration: none;
	color: #ffffff;
}

ul.ruled a {
	border: none;
	text-decoration: none;
	color: #666666;
}

ul.ruled a:hover {
	border: none;
	text-decoration: none;
	color: #ffffff;
	background: yellow;
}

ul.ruled a:visited {
	border: none;
	text-decoration: none;
	color: #666666;
}

/* Modifiers */

.plain {
	font-weight: normal;
}

.image {
	margin: 20px 0 20px 0;
}

/* Nav bar tags */
/* ------------------------------------------------- */

#navbar ul {
	border-bottom: 1px solid #ffffff;
	font-weight: normal;
	font-size: 18px;
	line-height: 26px;
	list-style-type: none;
	color: #ffffff;
	margin: 0;
	display: block;
}

#navbar li {
	border-top: 1px solid #ffffff;
	padding: 4px 0 0 0;
	margin: 0 0 2px 0;
	display: block;
}

#navbar a {
	text-decoration: none;
	color: #ffffff;
	border: none;
	display: block;
}

#navbar a:hover {
	background: yellow;
	border: none;
	color: #5a00cc;
	display: block;
}

#navbar a:active {
	background: #5A00CC;
	border: none;
	color: #ffffff;
	display: block;
}

#navbar a:visited {
	text-decoration: none;
	border: none;
	color: #ffffff;
	display: block;
}
	

/* Main page layout */
/* ------------------------------------------------- */

#wrapper {
	margin-left: auto;
	margin-right: auto;
	width: 840px;
}

#topleft {
	background: #5A00CC;
	float: left;
	height: 90px;
	margin: 0;
	position: fixed;
	padding: 20px 10px 10px 20px;
	width: 200px;
}

#topmiddle {
	background: #5A00CC;
	float: left;
	height: 90px;
	margin: 0 0 0 230px;
	padding: 20px 20px 10px 10px;
	position: inherit;
	width: 580px;
}

#navbar {
	width: 200px;
	height: 100%;
	position: fixed;
	background: #5A00CC;
	margin: 120px 0 0 0;
	padding: 10px 10px 20px 20px;
}

#contentarea {
	width: 580px;
	height: 100%;
	padding: 10px 20px 20px 10px;
	float: left;
	background: #5A00CC;
	margin: 0 0 0 230px;
}

#hshot {
	float: left; 
	max-width: 25%; 
	margin: 0 1rem 1rem 0; 
	border-radius: 6px;
}

/* Appended responsive rules */


/* ---------- Responsive tweaks (only for narrow screens) ---------- */
@media (max-width: 1023px) {
	#wrapper {
		width: auto !important;
	}

	#topleft {
		float: none !important;
		position: relative !important;
		height: auto !important;
		width: auto;
		padding-bottom: 0;
		padding-left: 10px !important;
	}

	#topleft h1.header {
		margin-bottom: 0 !important;
	}

	#topmiddle {
		float: none !important;
		position: relative !important;
		margin-left: 0 !important;
		height: auto !important;
		width: auto !important;
	}

	#topmiddle h1.header {
		margin-bottom: 0 !important;
	}

	#navbar {
		float: none !important;
		position: relative !important;
		margin-top: 0 !important;
		padding-left: 10px !important;
		width: auto !important;
		padding-bottom: 0 !important;
	}

	#navbar ul {
		display: flex;
		gap: 12px;          /* space between items */
		list-style: none;  /* remove bullets */
		padding: 0;
		margin: 0;
		border: 0;
	}

	#contentarea {
		margin-left: 0 !important;
		width: auto !important;
	}

	/* #hshot {
		float: none !important;
		max-width: 40%;
		display: block;
  		margin: 0 auto;
		margin-bottom: 20px;
	} */
}

/* Additional small-screen fine-tuning */
@media (max-width: 480px) {
  body, #contentarea, #sidebar {
    font-size: 15px !important;
  }
  #navbar ul { gap:6px; font-size: 15px; }
  #header h1 { font-size: 1.4em; }
}
