/************************************************************************

	GLOBAL CSS
	==========

	Provides all global styles for the site which more specific sections 
	can be built on using the layered css technique

	Author:		Tom Harman
				Nick Watson
				Tom Fletcher
				[www.optixsolutions.co.uk]

	Listing Order:
	==============

	Universal
	Forms
	General Structure / Layout
	Navigation Elements
	Header Elements
	Body Elements
	Footer Elements
	Messages

************************************************************************/

/***********************************************************************
	UNIVERSAL STYLES
************************************************************************/

body {
	font-size: .7em;
	background-color: #fcf3d6;
}

html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address, abbr, input, select, textarea, table, td, th {
	font-family:  Arial, Verdana, Helvetica, sans-serif;
}

/***********************************************************************
	IF YOU GET RANDOM SPACING AND OTHER ANNOYING WIERDNESS LOOK BELOW FIRST
************************************************************************/

div#content p, div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, 
div#content h6, div#content table, div#content ul, div#content ol, div#content form {
	margin: 1em 0;
}

/***********************************************************************
	FORMS
************************************************************************/

fieldset, legend {
	border: none;
}

legend {
	background: transparent;
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0;
	padding: 0 .5em;
}

label {
	float: left;
	padding: 0 1em 0 0;
	text-align: right;
}

form fieldset div {
	clear: both;
	display: block;
	margin-bottom: .5em;
	padding: 0;
}

div.submit {
	clear: both;
	text-align: center;
	width: auto;
}

div.multi input {
	border: 0;
	width: auto;
}
 
form 									{ width: 100%; }

label		 							{ float: left;	height: 22px; width: 45%; }

fieldset div input,
fieldset div select,
fieldset div textarea  			{ width: 45%; }

fieldset div input.small,
fieldset div select.small,
fieldset div textarea.small 	{ width: 25%; }

div.req label, div.req p		{ font-weight: bold; }

div.multi label 					{ height: 22px; }

div.req label:before, 
div.req p:before {
	content: "* ";
}

input:focus, textarea:focus {
	background: #fafafa;
	color: #000;
}

fieldset div input, 
fieldset div select, 
fieldset div textarea  {
	border: 1px solid #aaa;
	color: #333;
	font-weight: normal;
	padding: 1px;
}

div.submit input {
	background: #777;
	border: 1px solid #333;
	color: #fff;
	font-weight: bold;
	padding: 1px .7em;
	width: auto;
}

/***********************************************************************
	GENERAL STRUCTURE/LAYOUT
************************************************************************/
div#container{
	width: 774px;
	margin: 0 auto;
}
div#header{
	width: 774px;
	height: 168px;
	float: left;
	background-image: url(../i/layout/header.jpg)
}
div#main{
	width: 774px;
	float: left;
	background-image: url(../i/layout/body-repeat.jpg);
	background-repeat: repeat-y;
}
div#content{
	float: left;
	width: 350px;

	border-right: 1px #dbb198 solid;
	margin-right: 5px;
	margin-left: 40px;
}
div#gallery{
	float: left;
	width: 350px;
	margin-top: 50px;

}
div#footer{
	width: 774px;
	height: 45px;
	background-image: url(../i/layout/footer.jpg);
	float: left;
}

/***********************************************************************
	HEADER ELEMENTS
************************************************************************/
div#header ul{
	float: left;
	margin-left: 86px;
	height: 40px;
	background-color: #587282;	
	margin-top: 100px
}
div#header ul li{
	float: left;

}
div#header ul li a{
float: left;
	padding: 10px;
	padding-left: 20px;
	padding-right: 20px;
	color: #fff;
	padding-bottom: 8px;	
}
div#header ul li a:hover{
	background-color: #86adc5;
	padding-bottom: 20px;
}
/***********************************************************************
	BODY ELEMENTS
************************************************************************/
div#content p{
	text-align: justify;
	font-size: 1.2em;
	padding-right: 15px;
	padding-left: 10px;
	color: #8f1c09;
}
div#content h1{
	font-size: 1.8em;
	padding-left: 10px;
	color: #8f1c09
}
div#gallery a{
	float: left;
	margin: 18px;
	width: 67px;
	height: 67px;
	text-indent: -999em;
}

div#content div.ddfmwrap form.ddfm fieldset p.fieldwrap label{
	padding:0px;
	margin:0px;	
	padding-left:0px;
	padding-right: 5px;
	margin-top: 10px;
	width: 100px;
	
}
div#content div.ddfmwrap form.ddfm fieldset p.fieldwrap input{
	padding:0px;
	margin:0px;	
	margin-top: 10px;
}
div#content div.ddfmwrap form.ddfm fieldset p.fieldwrap img{
	padding:0px;
	margin:0px;	
	margin-top: 8px;
	margin-left: 10px;
}
div#content div.ddfmwrap form.ddfm fieldset p.fieldwrap textarea{
	padding:0px;
	margin:0px;	
	margin-top: 10px;
}
div#content div.ddfmwrap form.ddfm fieldset div.submit input{
	padding:0px;
	margin:0px;	
	width: 100px;
	float: left;
	margin-left: 120px;
	margin-top: 10px;
}
/***********************************************************************
	NAVIGATION
************************************************************************/

/***********************************************************************
	FOOTER ELEMENTS
************************************************************************/

/***********************************************************************
	MESSAGES
************************************************************************/

.error, .notice, .message { 
	color: #b22;
	font-weight: bold;
}

.error ol li {
	font-weight: normal;
	list-style-type: lower-roman;
	list-style-position: inside;
	margin-left: 0;
	padding-left: 1em;
	text-indent: 1em;
}
/***********************************************************************
	SOCIAL BOOKMARK LINKS LIST
************************************************************************/
div#social-bookmark-links{
	float: left;
	clear: both;
	border: 1px solid #cccccc;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
}
div#social-bookmark-links ul{
	
}
div#social-bookmark-links ul li{
	float: left;
}
div#social-bookmark-links ul li a{
	float: left;
	height: 20px;
	padding-left: 22px;
	padding-top: 2px;
	background-repeat: no-repeat;
	margin-right: 5px;
}
div#social-bookmark-links ul li a:hover{
	float: left;
	color: Maroon;
}

/**icon setting**/
div#social-bookmark-links ul li a#delicious{
	background-image: url(../i/icons/delicious.jpg);
/*	width: 60px;*/
}
div#social-bookmark-links ul li a#digg{
	background-image: url(../i/icons/digg.jpg);
/*	width: 35px;*/
}
div#social-bookmark-links ul li a#stumble{
	background-image: url(../i/icons/stumble.jpg);
/*	width: 85px;*/
}
div#social-bookmark-links ul li a#facebook{
	background-image: url(../i/icons/facebook.jpg);
/*	width: */
}
div#social-bookmark-links ul li a#reddit{
	background-image: url(../i/icons/reddit.jpg);
}
/*****************/
