/* Ensure images stay in their containers */
img {
	max-width: 100%;
	max-height: 100%;
}

/* container for the CALM logo */
#head1 {
	float: left;
  	width: 12%;
 	padding-left: 2%;
	min-height: 10em;
 	background-color: #8b68f4;
  	color: #400bcc;
	vertical-align: middle;
}

/* container for the CALM header */
#head2 {
 	float: left;
  	width: 86%;
	min-height: 10em;
  	background-color: #8b68f4;
  	color: #b1d6fe;
  	text-align: center;
}

/* container for the banner text */
#subhead {
  	background-color: #400bcc;
	clear: both;
	padding-left: 14%;
	width: 86%;
	color: #b1d6fe;
	text-align: center;
	font-family: "Arial Narrow";
}

/* container for the navigation buttons */
#flashcontent {
  	float: left;
  	width: 14%;
	min-height: 45em;
  	background-color: #8b68f4;
  	color: #b1d6fe;
  	text-align: center;
}

/* container for in-page navigation links */
#pagenav {
	padding-left: 14%;
	height: 3em;
	width: 86%;
	background-color: #b1d6fe;
	color: #ffffff;
	text-align: center;
}

/* individual link entry */
#naventry {
	margin: 5px;
}

/* main body of each page */
#body {
	overflow: auto;
   	float: left;
	height: 42em;
  	width: 56%;
	padding-left: 15%;
	padding-right: 15%;
	min-height: 42em;
  	background-color: #b1d6fe;
	color: #000000;
	text-align: left;
}

/* a bit of spacing */
#pad {
	padding-top: 2em;
}

/* next two sections to make news items stand out */
#newshead {
	font-style: italic;
	font-weight: bold;
	text-decoration: underline;
}

#news {
	color: blue;
}

/* general table formatting */
table {
	border-style: solid;
	border-width: 1px;
	border-collapse: collapse;
	width: 100%;
}

td {
	border-style: solid;
	border-width: 1px;
}

th {
	border-style: solid;
	border-width: 1px;
}

/* a way of squeezing a table into the middle of the layout */
#squashtable {
	padding-left: 10em;
	padding-right: 10em;
	text-align: center;
}

/* remaining entries are simple formatting cues */

#nobullet {
	list-style-type: none;
}

#centre {
	text-align: center;
}

#bold {
	font-weight: bold;
}

#italic {
	font-style: italic;
}

#double {
	padding-top: 1em;
}

#right {
	text-align: right;
}

#margin10em {
	margin-left: 10em;
}

#small {
	font-size: small;
}

