/* Note: Be aware width/height declarations here may be duplicated by, or conflict with, dimensions specified in HTML markup */

/* structural styles */

html {
	margin: 0;
	padding: 0;
	padding-bottom: 25px; /* bit of space at page bottom */
	}

body {
	font: 12px Georgia, Times, Times New Roman, serif;
	margin: 0; 
	padding: 0;
	background-color: rgb(70%, 70%, 70%);
	color: rgb(20, 45, 85);
	}

table {
	position: relative;
	width: 900px;
	margin: 0;
	padding: 0;
	border: 1px solid black;
	background-color: rgb(60%, 60%, 60%);
	}

table td {
	padding: 0;
	border-width: 0;
	margin: 0;
	vertical-align: top;
	}

table#container {
	margin: auto;
	margin-top: 20px;
	}

td#header {
	height: 114px;
	overflow: hidden;
	background-image: url(../imgs-core/header.jpg);
	background-repeat: no-repeat;
	border-bottom: 1px solid black;
	}

div#weatherbutton {
	margin: 30px 0 0 705px; /* careful that the last value doesn't force apart containing table */
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	overflow: hidden;
	}

td#sitenav {
	width: 182px; /* adjust as required */
	border: 0;
	vertical-align: top;
	background-color: rgb(50%, 50%, 50%);
	}

td#main {
	position: relative;
	width: 523px; /* value must correspond to imageblock, below */
	padding: 0;
	margin: 0;
	background-color: rgb(90%, 90%, 90%);
	}

td#sidebar {
	width: 192px; /* snugs up sidebar against imageblock */
	height: 100%;
	padding: 3px 0 0 0;
	margin: 0;
	background-color: rgb(50%, 50%, 50%);
	border-left: 1px solid rgb(30%, 30%, 30%); /* subtract from sidebar width */
	overflow: hidden;
	}

#sidebar img, img a {
	width: 192px;
	margin: 0;
	padding: 0;
	border: 0;
	}

#sidebar img.divider {
	height: 40px;
	width: 192px;
	padding: 0px;
	margin: 0;
	}

td#imageblock {
	height: auto;
	width: 523px; /* value MUST correspond to combined image and border widths to avoid wrapping nastiness */
	overflow: hidden;
	border: 0;
	padding: 0;
	background-color: silver;
	}

td#imageblock img {
	float: left;
	width: 523px;
	}

td#footer {
	height: 90px;
	overflow: hidden;
	background-image: url(../imgs-core/footer.jpg);
	background-repeat: no-repeat;
	border-top: 1px solid black;
	}

td#footer p.copyright {
	position: relative;
	top: 69px;
	left: 180px;
	margin: 0px;
	padding: 0px;
	color: rgb(50%, 50%, 50%);
	font-size: 85%;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	}

td#footer p.copyright a, a:visited {
	color: rgb(50%, 50%, 50%);
	}

td#footer p.copyright a:hover {
	color: rgb(41, 66, 133);
	}

td#footer p.copyright img {
	margin-right: 10px;
	}

/* text styles */

h1, h2, h3 { 
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-weight: bold;
	padding: 0;
	margin: 10px;
	}

h1 { 
	font-size: 150%;
	}

h2 { 
	font-size: 110%;
	margin-top: 18px;
	}

h3 { 
	font-family: Georgia, Times, Times New Roman, serif;
	font-size: 100%;
	padding: 0 0 0 10px;
	}

p { 
	line-height: 130%;
	padding: 0;
	margin: 10px;
	}

p.note { 
	font-size: 90%;
	font-style: italic;
	margin-top: 24px;
	}

td#main p {
	line-height: 140%;
	padding: 0 0 0 10px;
	font-family: Georgia, Times, Times New Roman, serif;
	}

.inset {
	margin-left: 24px;
	}

.callout {
	font-size: 200%;
	font-style: italic;
	}

td#sidebar p.callout {
	font-size: 190%;
	font-style: italic;
	color: #666600;
	text-indent: -10px;
	padding-left: 20px;
	}

.spaced li {
	margin-bottom: 12px;
	}

td#sidebar div.sidecontent { 
	background-color: rgb(41, 66, 133);
	padding-top: 4px;
	}

td#sidebar div.sideitem { 
	padding-bottom: 4px;
	}

td#sidebar h1 { 
	font-size: 11px;
	letter-spacing: 1px;
	margin: 0;
	padding: 0 0 1px 5px;
	color: white;
	}

td#sidebar p { 
	padding: 5px 5px 5px 10px;
	letter-spacing: 0px;
	margin: 0;
	font-size: 95%;
	font-family: Georgia, Times, Times New Roman, serif;
	color: rgb(20%, 20%, 20%);
	background-color: rgb(80%, 80%, 80%);
	}

#sidebar p.caption {
	font-weight: lighter; 
	font-size: 85%; 
	line-height: 120%;
	margin: 0 3px 12px 3px; /* polite inset from img edges */
	padding: 0;
	}

#sidebar ul {
	list-style-type: none;
	line-height: 160%;
	font-size: 95%;
	margin: 0;
	padding: 5px 0 5px 10px;
	background-color: rgb(80%, 80%, 80%);
	}

td#sidebar a { 
	color: rgb(41, 66, 133); 
	}

a { 
	text-decoration: none;
	color: rgb(80, 164, 52); 
	}

a:active { 
	color: rgb(166, 65, 0);
	text-decoration: none;
	background-color: rgb(166, 65, 0);
	}

a:visited { 
	color: rgb(90, 55, 27);
	text-decoration: none;
	background-color: transparent;
	}

a:hover { 
	color: rgb(90, 55, 27);
	text-decoration: none;
	background-color: rgb(254, 255, 166);
	}

ul.plain {
	list-style-type: none;
	line-height: 130%;
	}

.alttext {
	visibility: hidden; /* hides substitute text for images */
	}

/* menu styles -general functionality and appearance only */

ul.menu {
	padding: 0;
	margin: 0;
	width: 182px;
	text-indent: 5px;
	line-height: 160%; /* menu item spacing */
	font-family: Arial, Helvetica, Verdana, sans-serif;
	}
	
ul.menu li {
	list-style-type: none;
	position: relative;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgb(60%, 60%, 60%);
	}

ul.menu ul {
	line-height: 150%; /* submenu item spacing */
	font-size: 90%;
	margin: 0;
	padding: 0;
	padding-bottom: 5px;
	border: 0;
	}

ul.menu ul li {
	border: 0;
	padding-left: 10px;
	}

ul.menu a { 
	font-weight: normal; 
	color: white;
	margin: 0; 
	width: 100%; 
	display: block; 
	}

ul.menu a:visited { 
	color: white;
	}

ul.menu ul {
	display: none;
	}

ul.expanded {
	display: block;
	}

li.kcountry img {
	margin: 5px 0 5px -1px;
	border: 0;
	}

li.selected { 
	color: white;
	text-decoration: none;
	background-color: rgb(14, 64, 128);
	}

ul.menu li a:hover { 
	color: rgb(14, 64, 128);
	text-decoration: none;
	background-color: rgb(254, 255, 166);
	}

