@charset "utf-8";
/*Southland Newsagency*/
* {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
}

/* --------------------------------------------
	Elements
----------------------------------------------- */
p {
	margin-bottom: 1.28em;
}
img, fieldset {
  border: none;
}
li {
	list-style: inside;
}
a:visited {
}
a img {
	border: none;
}
hr {
	margin: 1.28em 0;
}
br {
	margin: .64em 0;
}
body {
	background: #111 url(../images/bg_body.jpg) repeat-y center top;
	color: #999;
	font: 62.5% Verdana, Arial, Helvetica, sans-serif;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
}
html {
	height: 100.2%;	/* Creates scrollbar in FF */
}
body * {
	font-size: 100%;
}
#container {
	overflow: hidden;
	min-width: 760px; /* using 40px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	max-width: 1020px;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
* html #container {
  width: 760px; 
  width:expression((document.body.clientWidth>1024) ? "1020px" : ((document.body.clientWidth>800) ? "auto" : "760px"));
}

/* --------------------------------------------
	Id's
----------------------------------------------- */
#header {
	background: url(../images/bg_header.jpg) repeat-x;
	padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	height: 180px;
} 
#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
#sidebar {
	display: inline;
	float: left; /* since this element is floated, a width must be given */
	width: 148px;
	margin: 25px auto 25px 25px;
}
#content {
	margin: 0 0 0 180px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	font-size: 130.5%;
} 
#content a {
	color: #019DC5;
	text-decoration: underline;
}
#content a:hover, #content a:focus {
	color: #b3d9ff;
	text-decoration: none;
}
#content h1 {
	font-size: 154%;
	font-weight: normal;
	margin-bottom: 0.8em;
}
#content h2 {
	font-size: 115.5%;
	font-weight: bold;
	margin-bottom: 0.9em;
}
#footer {
	padding: 20px 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	color: #FFFFFF;
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	color: #787878;
}
#footer a {
	color: #a3d0ff;
	text-decoration: underline;
}
#footer a:hover, #footer a:focus {
	color: #b3d9ff;
	text-decoration: none;
}

/* --------------------------------------------
	Generic Classes
----------------------------------------------- */
.clear {
	clear: both;
}
div.clear {  /* Overflow: hidden doesn't work in DW Design View */
	font-size: 0;
	line-height: 0px;
}
.hidden {
	left: -999em;
	overflow: hidden;
	position: absolute;
	width: 0;
}
.invisible {
	visibility: hidden;
} 
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
