/****************************************************************************************
																   >> General Selectors << 
*****************************************************************************************/
html, body {margin: 0; padding: 0;}
body {
	color: #000;
	font: 12pt Georgia, "Times New Roman", Times, serif;
	margin-bottom: 5px;
	background: white;
}
table, td {font: 12pt Georgia, "Times New Roman", Times, serif;}
a:link, a:visited {
   	text-decoration: none; 
	color: #000;
}
a img {border: 0;}
p {
	margin: 1.5em 0 0;
	line-height: 1.333;
}
ul li, ol li {margin-bottom: 0.30em;}
ul ul, ol ol {
	margin-top: 0.40em;
	margin-bottom: 0.80em;
	padding-top: 0;
	padding-bottom: 0;
}
hr {
	color: #ccc; 
	background: #ccc; 
	height: 1px; 
	border: 0;
	margin-top: 1.7em;
}

h1 {
	font: bold 23pt "Times New Roman", Times, serif;
	color: #000;
	margin: 0 0 0.80em;
}

h2,h3,h4,h5,h6 {
	font: bold 19pt "Times New Roman", Times, serif;
	color: #333; 
	margin: 1.5em 0 0;
}
h3,h4,h5,h6 {font: bold 16pt Verdana, Arial, Helvetica, sans-serif;}
h4,h5,h6 {font: bold 15pt Arial, Helvetica, sans-serif;}

/*---Control Margins on textual elements in tables---*/
table td p {margin: 0 0 1.1em;}
table td h1, table td h2, 
table td h3, table td h4, 
table td h5, table td h6 {margin: 0 0 0.50em;}
/*---Turn off Margins on textual elements in nested tables---*/
table td table td p, table td table td h1
table td table td h2, table td table td h3, 
table td table td h4, table td table td h5, 
table td table td h6 {margin: 0;}

/*---Adjecent Sibling Selectors---*/
h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {margin-top: 0.60em;}

/****************************************************************************************
																		  >> Structure << 
*****************************************************************************************/

/*-------------------------------------------Hide Elements---*/
.hide,
#imenus0,
#banner,
#footer span,
#featureBoxes,
#slogan,
#mainContent table.layout1 td.feature-boxes table,
#mainContent table.layout2 td.feature-boxes table,
#mainContent table.layout3 td.feature-boxes table,
#mainContent table.layout4 td.feature-boxes table,
#mainContent table.layout5 td.feature-boxes table,
#mainContent table.layout6 td.feature-boxes table,
#mainContent table.layout3 td.button,
#mainContent table.layout5 td.large-img,
.print-hide,
form fieldset legend,
form div.form-btn,
form div.form-btn-large,
* input.Login,
#nav {display: none;}

/*-------------------------------------------Show Elements---*/
h1.hide {display: block;}
#wrapper {width: 100%;}

#branding {
	border-bottom: 2px solid #000;
	padding-bottom: 8px;
}
	#branding h1 {
		margin: 0;
		font-size: 28pt;
	}
	#branding h1 a {
		color: #000; 
		text-decoration: none;
	}
	
#mainContent,
#mainContentKids {margin: 30px 0 45px 0;}

/* Custom Table Layouts */
#mainContent table.layout1 td.title,
#mainContent table.layout6 td.title {vertical-align: top;}
#mainContent table.layout6 td.right-col {
	vertical-align: top;
	padding-left: 10px;
}
#mainContent table.layout6 td.title,
#mainContent table.layout1 td.title {padding-bottom: 10px;}
#mainContent table td.desc-form {padding-top: 10px;}

#welcomeText {margin-bottom: 25px;}
	
#footer {
	border-top: 1px solid #666;
	padding-top: 5px;
}
	#footer p {
		margin: 0;
		font: normal 10pt Arial, Helvetica, sans-serif;
		color: #666;
		line-height: normal;
	}

/****************************************************************************************
																		  	 >> Tables << 
*****************************************************************************************/
	
/****************************************************************************************
																		  	   >> Forms << 
*****************************************************************************************/

form {
	margin: 0;
    padding: 0; 
}

/* Start of Jason's edits */
form div.formBox {
	margin: 1.5em auto; 
    padding: 5px;
	border: 1px solid #666;
    width: 90%;
	font: 12px Arial, Helvetica, sans-serif;
}
form div.formBox table td {font: 12px Arial, Helvetica, sans-serif !important;}
form div.wider {width: 95%;}	

form span.noStyle {
    color: #666;
    border: none !important;
}
form span.noStyle input {
	width: auto !important;
    color: #666;
    border: none !important;
}
form div.confirm {
	padding: 5px;
	border: solid 1px #E4D5BA;
	background: #2b4037;
	color: #fff;
}
form div.confirm label {
	width: auto;
	float: none;
	color: #fff;
	cursor: pointer;
}
/* No formatting */
table.noFormat {
	background: transparent;
	border: 0;
}
	table.noFormat tr td {
		color: #000;
		border: 0;
		padding: 3px 5px;
		background: transparent;
	}
	table.noFormat tr td.table-header {
		color: #000;
		font-weight: bold;
	}
	table.noFormat tr td table {
		background: transparent;
		border: 0;
		width: 40em;
	}
    table tr th a:link,
    table tr th a:visited {
        font-weight: bold;
        color: #000 !important;
    }
    form span.noFormat input {
		width: auto;
	    border: none;
	    padding: 1px;        
    }
    form span.noFormat label {
		width: auto;
		float: none;
		padding: 0;
		color: #000;
		cursor: pointer;
    }
/* End of Jason's edits */

	form fieldset {border: 0;}
	form div.form-row,
	form div.form-row-nofloat,
	form div.checkbox-radio-list,
	form div.form-btn,
	form div.form-table {
		margin-top: 10px;
		padding: 2px 0;
		clear: both;
        width: 100%;
	}
	form div.form-table {margin-top: 0;}
	form div.form-table table td,
	form div.form-table table th {
		text-align: left !important;
		font: 12px Arial, Helvetica, sans-serif;
	}
	form div.lessgap {margin-top: 0;}
	form label {
		width: 200px;
		float: left;
		padding: 2px 0 3px 0;
		color: #000;
		margin: 0 4px 0 3px;
		font: 12px Arial, Helvetica, sans-serif;
	}
	form input, 
	form textarea,
	form select {
		width: 210px;
        color: #000;
	    border: 1px solid #333;
	    padding: 1px;
	}
	form select {
         width: auto; 
         padding: 0;
    }
	form textarea {
		width: 300px; 
		height: 100px; 
		overflow: auto;
		font: 12px Arial, Helvetica, sans-serif;
	}

	/*---Validation & Misc Styles---*/
	form div.validation {margin-left: 187px;}
	form p.form-text {
		margin: 1.5em 0;
		color: #888;
        width: 100%;
	}
	form p.form-hint,
	form h5.form-hint { 
		margin: 1.5em 0 1em 0;
		padding: 5px;
		font: bold 12pt Georgia, "Times New Roman", Times, serif;
        color: #000;
		border-bottom: 1px solid #000;
	}
	form h5.form-hint {
		margin: 0 0 1.1em;
		color: #000;
		font: bold 13pt Georgia, "Times New Roman", Times, serif;
	}
	form div.formBox h6 {
		font-size: 12pt;
		color: #000;
		margin-bottom: 1em;
	}
	form p.input-label {
		margin: 0 0 0 204px;
		font-size: 10pt;
		color: #888;
	}
	* html form p.input-label {margin-left: 207px;} /* For IE 6 and below */

	form input.txtfield-med {width: 102px;}
	form input.txtfield-sml {width: 60px;}
	form input.txtfield-upload {width: auto;}
	form input.checkbox-radiobtn {width: auto;}
	form textarea.txtfield-sml {width: 210px;}
	form input.txtfield-lrg {width: 275px;}

	form div.form-row-nofloat label {
		float: none;
		width: auto;
		display: block;
		margin: 0 0 0 3px;
	}
	form div.form-row-nofloat textarea,
	form div.form-row-nofloat input.txtfield-wide,
    form div.form-row-nofloat input {
		width: 96%;
		max-width: 500px;
        margin-left: 3px;
	}
	form div.form-row-nofloat textarea {height: 150px;}

	form div.checkbox-radio-list {
		float: left; 
		margin-top: 10px;
	}
    * html form div.checkbox-radio-list label {width: 183px;} /* For IE 6 and below */
	form div.checkbox-radio-list div {
		float: left;  
		clear: none;
		width: 235px;
		position: relative;
	}
	form div.checkbox-radio-list div div {
		float: left;
		margin-bottom: 2px;
	}
    
    div.error {
        background: url('http://www.armyrtf.com.au/_templateFiles/error.gif') no-repeat 0 10px;
        padding: 0 10px 0 64px;
        margin: 0 0 0 10px;
    }
	div.formBox div.error {margin-left: 5px;}
    div.error * {
        margin: 0;
        padding: 0;
    }
    div.error h4 {
        color: maroon;
		margin-top: 15px;
        margin-bottom: 10px;
		padding-top: 10px;
        font-size: 13pt;
    }
    div.error ul {margin: 0 0 0 25px;}
    div.error ul li {margin-bottom: 3px;}
	div.error div {padding-bottom: 10px;}
    div.error p {
        color: #666;
		padding-bottom: 20px;
    }
	
/****************************************************************************************
												  						>> Misc Classes << 
*****************************************************************************************/

/*-------------------------------------------Clear Floats---*/
div.clear {
	clear: both;
	height: 1px;
	width: 770px;
}
.clearfloat {
	height: 1px;
	clear: both;
	width: 100%;
	background: #fff;
	font-size: 1px;
}
form .clearfloat {background: transparent;}


