/* ~~ Main Elements ~~ */
body {
	font: 14px garamond;
	letter-spacing: 0px;
	background: #dfb579;
	background-image: url(images/bg.jpg);
	margin: 0;
	padding: 0;
	color: #cda165;
}

/* ~~ Top repeating background ~~ */
#topbg {
	background-image: url(images/topbg.jpg);
	background-repeat: repeat-x;
}

/* ~~ Bottom Repeating Background ~~ */
#bottombg {
	background:url(images/bottombg.jpg);
	background-position:bottom;
	background-repeat: repeat-x;
}
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 35px;
	padding-left: 35px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */

}

h1, h2, h3, h4, h5, h6 {
	margin-top: 20px;
	margin-bottom: 20px;
	background: #25140c;
	border-bottom: 1px solid #331b11;
	color: #74412b;
	font-size: 20px;
	letter-spacing: 3px;
	text-align: left;
	font-weight: normal; 
}


a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color: #74412b;
	text-decoration: underline;
	letter-spacing: 2px; 
}
a:visited {
	color: #74412b;
	text-decoration: underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	color: #823b0e;
}

b {
	color: #d47b22;
	font-weight: bold;
	letter-spacing: 1px;
}

/* ~~ This is the layout information. ~~ */

/* ~~ this fixed width container surrounds the other divs ~~ */
.container {
	width: 731px;
	background: #130a06;
	border: 1 px solid #421802;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}

/* ~~ the header is not given a width. It will extend the full width of your layout. Contains header image of the Dai Li ~~ */
.header {
	background: #240f04 url(images/the-dai-li_02.jpg) no-repeat;
	height: 390px;
}

/* ~~ the navigation houses the main menu of the topsite: user control panel, join, admin, ect.  ~~ */
.navigation {
	margin-top: 20px;
	margin-bottom: 20px;
	background: #1d0f09;
	height: 85px;
	border-bottom: 1px solid #331b11;
	border-top: 1px solid #331b11;
	
}

.welcome {
	margin-top: 20px;
	margin-bottom: 20px;
	padding-left: 30px;
	padding-right: 30px;
	background: #1d0f09;
	border-bottom: 1px solid #331b11;
	border-top: 1px solid #331b11;
}
	
.content {

	padding: 10px 20px 10px 20px;
}

/* ~~ The footer ~~ */
.footer {
	padding: 0px 0;
	height: 191px;
	background: #240f04 url(images/footer.jpg);
}

/* ~~ miscellaneous float/clear classes ~~ */
.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. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
/*End Content Style*/

/*Start Navigation Button Style*/
.navtoplinks a:link, .navtoplinks a:active, .navtoplinks a:visited  {
	padding: 10px 7px 10px 7px;
	margin-left: 1px;
	margin-right: 1px;
	color: #83442a;
	background: #381d11;
	font: bold 14px garamond;
	text-decoration: none;
	letter-spacing: 4px;
	text-transform: uppercase;
	border: 1px solid #482212;
	
	
}
	
 
.navtoplinks a:hover {
	color: #cfa24d;
	background: #6f3820;
}
	
/* Styles for Miscellaneous*/


textarea, input {
	background: #381d11;
	border: 1px solid #482212;
	color: #83442a;
	font-family: garamond;
	font-size: 12px;
}

form {
	margin-top: 10px;
	margin-bottom: 10px;
	background: #1d0f09;
	border: 1px solid #331b11;
	padding-top: 5px;
	padding-botton: 5px;
}

fieldset {
border: 0px;
}
.join_edit_error {
	background-color: #4e2719;
	border: 1px solid #73300a;
	padding: 2px;
}
