 /*---------------------------------------CIVIL DEFENCE STYLES----------------------------------------*/

/**Used to format CD Status box - Emergency Undeclared or Declared Emergency status**/
.emergency 
{	background-color: red;}

/**Used to format CD Status box - normal status**/
.noemergency 
{	background-color: lemonchiffon;}

/**Used to display the status of Rural Fire**/
.fire-status {
	font-weight: bold;
	color: #000;
	font-size: 1.4em;
}

/**Used to place an outline around each news type on CD News page (controltype=2)**/
.box 
{	border:#cccccc 1px solid;}

/**Use to place spaces between lines etc**/
.space-1
{	display:block;
	height:100%;
	margin:1em;
	padding:1em;}
	
.space-2
{	display:block;
	height:100%;
	margin:0.5em;
	padding:0.5em;
	width:85%;}

.CDpadding
{	padding:5px;}

.item
{	position:relative;
	display:block;
	padding-top:1em;
	margin:1em;
	padding-bottom:1em;
}

/**Set margin and padding to 0**/	
.mp0
{	margin:0;
	padding:0;}

/**Set margin and padding to 1**/	
.mp1
{	margin:1;
	padding:1;}

/**Used to set width to 100%**/	
.w100
{	width:100%;
	clear:both;}
	
/**Used to set bottom border**/	
.bdrbot
{	border-bottom:solid #cccccc 2px;}

/**Set panel width**/
.panel{width:75%;}


/**Two column format - used on CD Default Page**/

/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
.thrColEls #container { 
	width: 100%;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 0px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 

.thrColEls #sidebar1 {
	float: left; 
	width: 190px; /* since this element is floated, a width must be given */
	background: aliceblue; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 5px 10px 10px; /* top and bottom padding create visual space within this div */
}
.thrColEls #sidebar2 {
	float: right; 
	width: 18em; /* since this element is floated, a width must be given */
	background: #ffffff; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 0 15px 0; /* top and bottom padding create visual space within this div */
	vertical-align:top;
}
.thrColEls #sidebar1 h3, .thrColEls #sidebar1 p, .thrColEls #sidebar2 p, .thrColEls #sidebar2 h3 {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
}
.thrColEls #mainContent {
  margin: 0 18em 0 225px; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
} 

.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: 20px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 20px;
}
.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;
}

/**End two column format**/


.lefttable{width:90%;}
.righttable{width:100%;}

/**Used to place background on 'Other Status' rows on CD main page**/
.CDNormal  {
	background-color:lemonchiffon;
}

/**Used to format large CD Status text on CD main page**/
.CDStatusText  {
	font-size:large;
	color:black;
	font-weight:bold;
}

/** ----------------------------- ROUNDED CORNER BOX -----------------------------**/
/** Used to place a rounded corner box around divs - see roundedbox.txt for HTML code 
to use in association with these styles **/

.CDbox-holder {
	margin-right:2em;
	height:auto;
	width:45%;
	float:left;
}

.CDRoundedBox h1 {
margin:0; 
font-size:1.2em; 
padding:0 10px 5px 10px; 
border-bottom:1px solid #444;
}
.CDRoundedBox p{
margin:0; 
padding:5px 5px ;
padding-top:5px;
}

.CDRoundedBox ul{width:70%;}

.CDRoundedBox {
background: transparent; 
float:left; 
width:100%;
min-width:100%;
margin-bottom:2em;
}

.CDRoundedBoxTop, .CDRoundedBoxBottom {
display:block; 
background:transparent; 
font-size:1px;
}
.CDrb1, .CDrb2, .CDrb3, .CDrb4 {
display:block; 
overflow:hidden;
}
.CDrb1, .CDrb2, .CDrb3 {
height:1px;
}
.CDrb2, .CDrb3, .CDrb4 {
background:#fff; 
border-left:1px solid #444;
border-right:1px solid #444;
}
.CDrb1 {
margin:0 5px; 
background:#444;
}
.CDrb2 {
margin:0 3px;
border-width:0 2px;
}
.CDrb3 {
margin:0 2px;
}
.CDrb4 {
height:2px; 
margin:0 1px;
}

.CDRoundedBoxContent {
display:block; 
border:0 solid #444; 
border-width:0 1px; 
height:auto;
}

/** Used to add colour to background of heading**/
/** Civil Defence News Boxes on CD Pages**/
.color_CD {
background:#d4d8bd; /**#9fc6e7**/
color:#000;
}


