/*
Theme Name: Frontline Appeal 2009
Theme URI: http://frontlineappeal.org.au
Description: Frontline Appeal 2009 custom theme
Version: 1.0
Author: James Angus
Author URI: http://www.suqld.org.au
*/


/**
	CSS Reset provided by Yahoo!
**/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img { border:0; }
caption,th { text-align:left; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }



/**
	Basic page setup, HTML elements and typography
**/
body {
	color: #707073;
	background: #000000;
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	font-size: small;
	line-height: 135%;
}

h1 {
	margin: 1em 0;
	color: #FFFFFF;
	font-size: x-large;
	font-weight: bold;
	line-height: 135%;
	text-align: left;
}

body.home h1 {
	margin: .5em 0;
	font-size: 34px;
}

h2 {
	margin: 1em 0;
	color: #CCC;
	font-size: large;
	font-weight: bold;
	line-height: 135%;
	text-align: left;	
}

h3 {
	color: #999;
	margin: 1em 0;
	font-size: medium;
	font-weight: bold;
	line-height: 135%;
	text-align: left;	
}

h4 {
	margin: 1em 0;
	font-size: small;
	font-weight: bold;
	line-height: 135%;
	text-align: left;
}

h5,
h6 {
	margin: 1em 0;
	font-size: x-small;
	font-weight: bold;
	line-height: 135%;
}

blockquote {
	margin: 2em 0;
	padding: 5px 15px;
	color: #FFF;
	background: #353535;
	font-style: italic;
}

q {
	color: #FFF;
}

p,
ul,
ol {
	margin: 1em 0;
	font-weight: normal;
	line-height: 135%;
}

	ul li {
		margin-left: 2em;
		padding-left: .3em;
		list-style-position: outside;
		list-style: disc;
	}
	
	ol li {
		margin-left: 2.3em;
		list-style-position: outside;
		list-style: decimal;
	}
	
hr {
	clear: both;
	border: 0;
	border-top: 1px solid #222222;
}

a:link,
a:visited {
	color: #c41f3a;
	text-decoration: none;
}

a:hover,
a:active {
	color: #FFFFFF;
	text-decoration: underline;
}
	
	a img {
		border: 0;
	}
	
table {
	margin: 1em 0;
}

table,
th,
td {
	text-align: left;
	vertical-align: center;
	border-collapse: collapse;
}

	th {
		font-size: medium;
	}
	
	th,
	td {
		padding: 5px;
	}

dt,
th {
	font-weight: bold;
}

dt {
	margin-top: 1em;
}

dd {
	margin-bottom: 1em;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

q {
	font-style: italic;
}

img.left,
.alignleft {
	float: left;
	margin: 0 15px 10px 0;
}

img.right,
.alignright {
	float: right;
	margin: 0 0 10px 15px;
}

p.right {
	text-align: right;
}

p.center {
	text-align: center;
}

.clear {
	clear: both;
}



/**
	Page styling
**/
#page {
	position: relative;
}

	#page .container {
		position: relative;
		width: 960px;
		margin: 0 auto;
	}
	
/**
	Masthead
**/
#masthead {
	padding: 10px 0;
}

#masthead .container:after {
	display: block;
	clear: both;
	content: ".";
	height: 0;
	visibility: hidden;
}

	#title {
		float: left;
		margin: 23px 0 0 15px;
	}
	
	#donate {
		clear: right;
		float: right;
		margin: -10px 34px 10px 0;
	}
	
	#description {
		clear: right;
		float: right;
		margin: 16px 14px 10px 15px;
	}

	#mainmenu {
		clear: both;
		margin: 25px 0 0 0;
		background: #c41f3a;
	}
	
	#mainmenu:after {
		display: block;
		clear: both;
		content: ".";
		height: 0;
		visibility: hidden;
	}
	
		#mainmenu ul {
			display: block;
			margin: 0 10px 0 0;
			padding: 0;
		}
		
			#mainmenu ul li {
				display: block;
				float: left;
				margin: 0;
				padding: 0;
				list-style: none;
			}
			
				#mainmenu ul li a {
					position: relative;
					display: block;
					padding: 11px 15px 9px 15px;
					color: #FFF;
					text-decoration: none;
					text-transform: uppercase;
					font-weight: bold;
				}
				
				#mainmenu ul li:first-child a {
					background-image: none;
				}
				
				#mainmenu ul li a:hover {
					color: #000;
				}
				
				#mainmenu ul li.current_page_item a {
					color: #C41F3A;
					background: #000;
				}
				
			#mainmenu ul li.page-item-75 {
				display: block;
				float: right;
				width: 190px;
				margin: -4px 0 0 0;
			}
			
				#mainmenu ul li.page-item-75 a {
					padding-top: 13px;
					padding-bottom: 11px;
					background: url(images/btn.table.hosts.gif);
					font-size: 0;
					text-indent: -9999px;
				}
				



/**
	Content
**/
#body {
	padding: 10px 15px;
	text-align: justify;
}

#body:after {
	display: block;
	clear: both;
	content: ".";
	height: 0;
	visibility: hidden;
}

	#block {	
		float: none;
	}

		.twocolumn #block {
			float: left;
			width: 420px;
		}

.readmore {
	display: block;
	padding: 1px 30px 1px 0;
	background: url(images/read.more.btn.gif) no-repeat right center;
	text-align: right;
}

span.youtube {
	display: block;
	margin: 10px 0 30px 0;
	padding: 10px;
	background: #353535;
	text-align: center;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.homemenu {
	margin: 40px 0;
	padding: 0 10px;
	color: #FFF;
	background: #c41f3a;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.homemenu:after {
	display: block;
	clear: both;
	content: ".";
	height: 0;
	visibility: hidden;
}

	.homemenu ul {
		margin: 0;
		padding: 0;
	}
	
		.homemenu ul li {
			display: block;
			float: left;
			margin: 0;
			padding: 0;
		}
		
			.homemenu ul li a {
				display: block;
			}
			
.btnlogin {
	display: block;
	padding: 7px 10px 7px 35px;
	background: #FFF url(images/lock.gif) no-repeat 5px 5px;
	font-size: medium;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

	a.btnlogin:hover,
	a.btnlogin:active {
		color: #c41f3a;
	}
	
.promo {
	margin: 2em 0;
}
	
	.promo a:link,
	.promo a:visited {
		display: block;
		width: 468px;
		border: 6px solid #353535;
	}
	
	.promo a:hover,
	.promo a:active {
		border-color: #C41F3A;
	}
	
.warning {
	padding: 5px 10px;
	background: #161616;
	border: 1px solid #222222;
}

	.warning strong {
		color: #FFF;
	}
			
			
			
/**
	Image styling
**/
.image .entry {
	float: left;
}

.image .navigation {
	float: right;
	width: 320px;
	padding: 10px;
	background: #353535;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

	.image .navigation a:link,
	.image .navigation a:visited {
		display: block;
		border: 3px solid #4F4F4F;
	}

	.image .navigation a:hover,
	.image .navigation a:active {
		border-color: #c41f3a;
	}

	.image .navigation .caption {
		display: block;
		margin: 5px 0 0 0;
	}

	.image .navigation .alignleft {
		float: left;
		margin: 0;
	}

	.image .navigation .alignright {
		float: right;
		margin: 0;
	}

		.image .navigation .alignright .caption {
			text-align: right;
		}
		
	.image .attachment {
		padding: 10px;
		background: #353535;
		text-align: center;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	
		.gallery a:link img,
		.gallery a:visited img,
		.image .attachment a:link img,
		.image .attachment a:visited img {
			border: 3px solid #4F4F4F;
		}
		
		.gallery a:hover img,
		.gallery a:active img,
		.image .attachment a:hover img,
		.image .attachment a:active img {
			border: 3px solid #c41f3a;
		}



/**
	Sidebar
**/
#sidebar {
	float: right;
	width: 500px;
}



/**
	Footer
**/
#footer {
	clear: both;
	margin-top: 20px;
	padding: 20px 15px;
	font-size: x-small;
	background: #161616;
	border-top: 1px solid #222;
}

#footer:after {
	display: block;
	clear: both;
	content: ".";
	height: 0;
	visibility: hidden;
}

	#footer *,
	#footer p {
		margin: 0;
	}
	
	#footer p.pluglogo {
		float: right;
		width: 150px;
	}
	
	#footer p.copyright {
		float: right;
		clear: right;
		width: 250px;
		margin: 5px 0 0 0;
		text-align: right;
	}
	
	#footer td.plug {
		text-align: right;
	}
	
	#footer .sponsors {
		background: #161616;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
		
		#footer .sponsors table {
			margin-bottom: 10px;
		}
		
		#footer .sponsors table,
		#footer .sponsors th,
		#footer .sponsors td {
			border: 0;
			text-align: left;
		}
		
		#footer .sponsors th {
			padding-top: 0;
			padding-bottom: 0;
			color: #FFF;
			background: transparent;
			font-size: x-small;
		}
		
		#footer .sponsors td {
			padding: 5px 8px;
			border-left: 0;
		}
		
		#footer .sponsors td.spacer {
			border-right: 1px solid #222;
		}
	
	



/**
	Safari Hacks
**/
@media screen and (-webkit-min-device-pixel-ratio:0)
{

}



/** 
	Opera Hacks
**/

@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0)
{	
	#mainmenu ul li.page-item-27 {
		width: 162px;
	}
	
	#mainmenu ul li.page-item-27 a {
		width: 92px;
	}
}