/*
Theme Name: European Affairs Society
Theme URI: http://oueas.org.uk
Description: A heavily modified default theme, for OUEAS
Version: 0.1
Author: Alex Chadwick
Author URI: http://ch424.net/
Tags: custom header, fixed width, two columns, european affairs society

*/

/* General layout and structure */

html,body {
	min-height:100%;
	padding:0;
	margin:0;
	font-family:'Garamond','Georgia',serif;
	font-size:1em;
}

body {
	background:white bottom center url('images/skyline.gif') repeat-x;
}

a {
	color:black;
}

a:hover {
	background:black;
	color:white;
	text-decoration:none;
}

h1,h2 {
	font-weight:normal;
}

#page {
	margin:0 auto 100px auto;
	width:55em;
	padding:0.5em;
	background:transparent;
}

#header {
	text-align:center;
	background:white;
	margin:0 0 0.5em 0;
	padding:0;
}

#header img {
	max-width:100%;
}

#header p {
	font-size:2.5em;
	font-family:'Trajan Pro';
	font-weight:bold;
	font-variant:small-caps;
}

#nav {
	list-style-type:none;
	padding:0;
	margin:0 0 0.5em 0;
	background:white;
	border-top:3px double black;
	border-bottom:3px double black;
}

#nav li {
	display:inline;
	line-height:2em;
	padding:0;margin:0;
}

#nav li a {
	display:inline-block;
	color:black;
	background:white;
	text-decoration:none;
	padding:0 0.5em;
	margin:0;
	font-size:1.1em;
}

#nav li a:hover {
	background:black;
	color:white;
}

#nav li ul {
	display:none;
}

/* disgusting nav hack to satisfy rasheed */
.page-item-17 a:hover {background:#032247 !important;}
.page-item-15 a:hover {background:#0066ff !important;}
.page-item-19 a:hover {background:#ff0000 !important;}
.page-item-74 a:hover {background:#cc0099 !important;}
.page-item-7  a:hover {background:#33cc00 !important;}
.page-item-97 a:hover {background:#032247 !important;}
.page-item-31 a:hover {background:#0066ff !important;}
.page-item-46 a:hover {background:#ff0000 !important;}
.page-item-30 a:hover {background:#cc0099 !important;}

/* news/RSS link colour hack */
#rss-3 a:hover {background:#9A0000;}
#rss-4 a:hover {background:#4C96AD;}
#rss-5 a:hover {background:#FCC601;}

#content {
	width:36.75em;
	background:white;
	padding:0;
	margin:0 0 0.5em 0;
	position:relative;
	float:left;
}

#content .post {
	/* make posteditlink appear top right of the post */
	position:relative;
}

#content .posteditlink {
	position:absolute;
	top:0;right:0;
}

#content .postdatetime {
	margin:-1em 0 0.5em 0;
	padding:0;
}

#post-112 .postdatetime {
	/* hide date on speakers announcement */
	display:none;
}

div p {
	margin:0;
}

#sidebar {
	float:right;
	width:17.5em;
	padding:0;margin:0;
	border-left:1px dotted black;
}

#sidebar ul {
	list-style-type:none;
	padding:0;margin:0;
}

#sidebar li {
	padding:0 0 0 0;margin:0 0 0.5em 0.75em;
	border-bottom:1px solid black;
}

#sidebar h2 {
	font-size:1em;
	padding:0;margin:0;
	border-bottom:1px solid black;
}

#sidebar form {
	display:block;
	padding:0;margin:0;
}

#sidebar form div {
	display:block;
	padding:0;margin:0;
	position:relative;
	line-height:2em;
}

#sidebar form label {
	padding:0;margin:0;
	height:100%;
	padding:0;margin:0;
	display:inline-block;
}

#sidebar form input {
	font-size:1em;
	height:100%;
	border:none;
	max-width:50%;
	padding:0;margin:0;
	font-family:'Garamond','Georgia',serif;
}

#sidebar li li {
	margin:0 0 0.25em 0.5em;padding:0;
	border:none;
}

#sidebar input[type=text] {
	border:solid black 1px;
}

#sidebar input[type=submit] {
	color:black;background:white;
	cursor:pointer;
}

#sidebar input[type=submit]:hover {
	color:white;background:black;
}

#sidebar h2 {
	margin-bottom:0.25em;
	font-weight:normal;
}

#sidebar h2 a {
	text-decoration:none;
}

#sidebar h2 img { /* hide RSS image */
	display:none;
}

#sidebar ul li ul li {
	font-size:0.9em;
}

.widget_rss a {
	text-decoration:none;
}


#footer {
	border-top:3px double black;
	clear:both;
	background:transparent;
	margin:0;
	color:black;
}

#footer p {
	padding-top:0.5em;
	text-align:center;
	font-size:0.9em;
}

#footer a {
	color:black;background:transparent;
	text-decoration:underline;
}

#footer a:hover {
	color:white;background:black;
	text-decoration:none;
}

/* content formatting */

#content p {
	font-size:1em;
	padding-bottom:0.5em;
	line-height:1.25em;
}

#content h1,#content h2 {
	color:black;
	margin-top:0;padding-top:0;
}

#content h1 a, #content h2 a {
	color:black;
	text-decoration:none;
}

#content h1 a:hover, #content h2 a:hover {
	color:black;
	background:transparent;
	text-decoration:none;
}

#content h2 {
	border-bottom:1px solid black;
}

#content img {
	max-width:100%;
}

#content a:hover {
	border:none;padding:0;margin:0;
}

.alignright {
	float:right;
	clear:right;
	padding:0 0 0.5em 0.5em;
}

.alignleft {
	float:left;
	clear:left;
	padding:0 0.5em 0.5em 
}


table {
	table-layout:fixed;
	
}
