/* -----------------------------------
Site: DASSH UK      
CSS author: Pete Heller & Pui-Ling Lau
Updated: 29 Mar 2011	
Updated by: PH
----------------------------------- */

/* -----------------------------------
simple reset
----------------------------------- */

* {
	margin: 0;
	padding: 0;
	}

html, body, ul, ol, li, form, fieldset, legend, #container, 
				#header, #content, #main, #main p, #navigation, #addinfo, #footer
	{
	margin: 0;
	padding: 0;
	}

h1, h2, h3, h4, h5, h6, p { margin-top: 0; }

fieldset, img { border: 0; }

legend { color: #000; }


li { 
	list-style:none;
	}
	
/* -----------------------------------
elements
----------------------------------- */

body {
	font-family: verdana, "Helvetica Neue", helvetica, arial, sans-serif;
	font-style: normal;
	background: #000;
	color: #fff;
	}


h1 {	
	font:300%/1.7 Georgia, "Times New Roman", serif;
	}
	
h2 {
	font-family: Avenir, Futura, verdana, helvetica, arial, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 1.0em; 
	text-transform: lowercase;
	}

h3, h4, h5 { 
	font-family:Palatino, Georgia, "Times New Roman", serif;
	font-weight: normal; 
	}
	
h3 {
	font-size:140%;
	line-height: 2; 
	}
		
h4 { font-size: 120%; }
h5 { font-size: 100%; }
h6 { font-size: 100%; }

a {
	color: #808286;
	text-decoration: none;
}
a:hover {
	color: #F4E6A5;
}


/* -----------------------------------
layout
----------------------------------- */	

#container{
	width: 940px;
	margin: 30px auto;
	}
	
/* -----------------------------------
header
----------------------------------- */

#header {
	position: relative;
	height: 96px;
	background: #343c4e;
	}

h1	{
	background: url(../images/h1-img2.png) no-repeat 935px 21px;
	margin: 0 0 0 40px;
	padding-top: 8px;
	}
	
h1 span {
	letter-spacing: -0.05em;
	}

h2	{
	margin: -20px 0 0 124px;
	word-spacing: 1.1em;
	}
	
h2 span {
	word-spacing: 0.15em;
	}	
	
#search-form {
	position: absolute;
	bottom:-31px;
	right:30px;
	}
	
#search-form #search {
	width: 180px;
	padding: 2px;
	color: #808286;
	-moz-border-radius: 5px;
	border-radius: 5px;
	}
	
.login {
	position: absolute;
	top:18px;
	right: 30px;
	font-size: .7em;
	color: #808286;	
	}

.login a, .login a:visited {
	text-decoration:none;
	color: #808286;
	}
	
.login a:hover {
	color: #fff;
	}

/* -----------------------------------
navigation
----------------------------------- */

#navigation {
	background: #475d6e;
	border-top: 1px solid #272727;
	border-bottom: 1px solid #272727;
	}

#navigation ul {		
	margin-left: 35px;
		padding: 8px 0 9px 0;
	}

#navigation li {
	list-style:none;
	display: inline;
	padding-right: 40px;
	}

#navigation li a {
	font-size: .9em;
	text-decoration:none;
	color: #fff;
	}	

#navigation li a:visited {
	color: #fff;
	}

#navigation li.current a {
	color: #f4e6a5;
	}

	#navigation li a:hover {
	color: #ffee18;
	}

#navigation li a:active {
	color: #fff; 
	outline: none;
	}
		
/* -----------------------------------
main
----------------------------------- */

#main {
	line-height: 1.5;
	background: #343c4e;

	border-bottom: 1px solid #475d6e;
	}

#main h3 {
	margin-top: 30px;
	color: #eee;
	}
	
#main p {
	font-size:11px;
	padding-bottom: 12px;
	color: #d2d3d3;
	}
	
#img-wrapper {
	position: relative;
	line-height: 0;
	border-bottom: 5px solid #475d6e;
	}
	
#main .mission-text {
	position: absolute;
	bottom: 0;
	right: 40px;
	width: 420px;
	font: 130%/1.35 Palatino, Georgia, "Times New Roman", serif;
	color: #c4c7cd;
	letter-spacing:0.08em;
	text-align: right;
	}

#primary-content {
	float: left;
	width: 280px;
	margin-left: 35px;
	}
	


#secondary-content {
	float: left;
	width: 280px;
	margin-left: 60px;
	}

#tirtiary-content {
	float: left;
	width: 180px;
	margin-left: 65px;
	}
	


/* -----------------------------------
News
----------------------------------- */
#primary-content.news {
	float: left;
	width: 719px;
	margin: 0;
	line-height: 1.6;
	border-left: 1px solid #475d6e;
	}

#primary-content.news h3, #primary-content.news h4, #primary-content.news h5, #primary-content.news ul, #primary-content.news a {
	padding: 0 30px;
	}

#primary-content.news p {
	padding: 10px 30px 0;
	font-size:.75em;
	}

#primary-content.news li {
	margin-left: 20px;
	list-style-type: lower-alpha;
	font-size: .75em;
	color: #d2d3d3;
	}

#primary-content.news img {
	border-bottom: 5px solid #475d6e;
	}

#primary-content.news a, #primary-content.news a:visited {
	text-decoration: none;
	color:#d2d3d3;
	}

#post-link {
	float: left;
	width: 739px;
	margin: 30px 0;
	}

#primary-content.news #post-link a, #primary-content.news #post-link a:visited {
	font: 100%/1.35 Palatino, Georgia, "Times New Roman", serif;
	color: #f4e6a5;
	}

#primary-content.news #post-link a:hover {
	color: #ffee18;
	}

.previous-news {
	float: left;
	}	

.next-post {
	float:right;
	margin-right: 23px;
	}

#sub-menu {
	float: left;
	width: 220px;
	min-height:255px;
	background: url(../images/library3-left.png) no-repeat 0 0;
	}

#sub-menu h3 {padding: 0 20px 0 40px;}

#sub-menu ul {
	padding: 0 20px 0 40px;
	list-style-type: square;
	color:#f4e6a5;
	}

.post-date {
	font-size: .9em;
	color:#f4e6a5;
	}


#main p.event-date, #main p.news-date {
	color:#f4e6a5;
	}


/* -----------------------------------
Events
----------------------------------- */	

#main.events {
	background: url(../images/main-bg1.png) repeat-y;
	}

#primary-content.events {
	float: left;
	position: relative;
	width: 615px;
	}
	
#primary-content.events h4 {
	font-size: 110%;
	color: #F4E6A5;
	padding: 12px 0 10px;
	}
		
#primary-content.events h5, #programme h5 {
	font-size: 100%;
	color: #9eb3b3;
	}
	
#primary-content.events p + h5 {
	padding-top: 20px;
}
		
#secondary-content.events {
	float: left;
	width: 205px;
	margin-top: 100px;
	}

#secondary-content.events h4 {
	margin: 80px 0 12px 0;
	font-size: 110%;
	color: #c5b29a;
	}
	
#secondary-content.events div + h4 {
	margin-top: 50px;
}

#event-details {
	float: left;
	width: 275px;
	}

#event-details a, #event-details a:visited {
	text-decoration: none;
	color: #f4e6a5;
	}
	
#event-details a:hover {
	color: #2bc1e1;
	}
	
#event-venue {
	float: left;
	width: 275px;
	margin: 35px 0 26px 30px;
	padding-left: 30px;
	border-left: 1px dotted #475d6e;
	}
#primary-content .print {
	font-size: .65em;
	color: #f4e6a5;
	position: relative;
	top:-44px;
	left: 476px;
	}
	
#primary-content .print img {
	padding: 2px 0 0 8px;
}

#event-venue h5 {
	margin-top: -35px;
	color: #9eb3b3;
}	
#programme {
	float: left;
	width: 644px;
	padding: 20px 0 0 0;
	border-top: 1px dotted #475d6e;
	border-bottom: 5px solid #475d6e;
	margin-bottom: 20px;
	}

#programme h4 {
	font-size: 107%;
	color: #9eb3b3;
	}

.event-programme  {
	margin-bottom: 30px;	
	}

.event-programme td {
	font-size: .75em;
	vertical-align: top;
	padding-top: 5px;
	}

.event-programme td.time {
	padding-right: 35px;
	color: #d2d3d3;
	}
.event-programme td.session {
	padding: 14px 0 0 73px;
	font-weight: bold;
	color: #d2d3d3;
	}

h4 + table {
	margin-top: 20px;
	}
	
/* -----------------------------------
members
----------------------------------- */

#primary-content.members {
	float: left;
	width: 550px;
	padding-left: 15px;
	padding-right: 60px;
	margin-left: 48px;
	line-height: 1.6;


	}

#secondary-content.members {
	float: left;
	width: 180px;
	margin-left: 20px;
	margin-top: 5px;
}	

#tirtiary-content.members {
	float: left;
	width: 850px;
	margin-left: 50px;
	padding-bottom: 30px;
}	

#primary-content.login-members {
	color:#f4e6a5;
	font-size: .7em;
	color: #808286;	
	}

#tirtiary-content.members h3, #tirtiary-content.members p {
	padding: 0px 18px 0 12px;
	}

#member-logos {
	padding-top: 20px;
}

#member-logos ul{
	list-style-type: none;
}

#member-logos li {
	float: left;
	margin-left: 13px;
	margin-bottom: 10px;
}

.login-members a, .login-members a:visited {
	text-decoration:none;
	color: #808286;
	}

.login-members a:hover {
	color:#f4e6a5;
	}

#main p.professor-name {
	color:#f4e6a5;
}

/* -----------------------------------
Contact
----------------------------------- */

#primary-content.contact {
	float: left;
	width: 550px;
	padding-left: 15px;
	padding-right: 60px;
	padding-bottom: 30px;
	line-height: 1.6;
	}

#secondary-content.contact {
	float: left;
	width: 180px;
	margin-left:70px;
}	

#contact-form {
	float: left;
	font-size: 0.7em;
	width: 407px;
	}
	
#contact-form #name, #contact-form #e-mail, #contact-form #message {
	display: block;
	width: 180px;
	padding: 2px;
	margin: 15px 0;
	color: #808286;
	-moz-border-radius: 5px;
	border-radius: 5px;
	}
	
#contact-form #message {
	width: 400px;
	height: 100px;
}

#submit {
	float: right;
	padding: 2px 5px;
	color: #464646;
	background-color: #fff;
}

#submit:hover {
	background-color: #d7d7d7;
}

input:focus, textarea:focus {
	border: 2px solid #fdb832;
}


/* -----------------------------------
footer
----------------------------------- */

#footer {
	width: 940px;
	background: #24252a;
	}

#footer-nav {	
	float: left;
	width: 290px;
	margin: 21px 0 0 35px;
	padding-bottom: 11px;
	}

#footer-nav ul{
	}

#footer-nav li {
	list-style:none;
	padding-bottom: 7px;
	}

#footer-nav li a {
	font-size: .75em;
	text-decoration:none;
	color:#ccc;
	}
		
	#footer-nav li a:visited {
	color: #ccc;
	}

#footer-nav li.current a {
	color: #ffee18;
	}
		
#footer-nav li a:hover {
	color: #2bc1e1;
	}

#footer-nav li a:active {
	color: #ccc; 
	outline: none;
	}
	
#footer-dasshinfo {
	float: left;
	width: 625px;
	margin: 21px 0 10px 35px;
	font-size: .6em;
	line-height: 1.6;
	color: #888;
}

#footer-dasshinfo p {
	padding-bottom: 10px;
	}
	
#footer p.copy-info {
	color: #f4e6a5;
	padding-top: 15px;
}	
#footer-social {
	float: left;
	width: 190px;
	margin: 21px 0 0 60px;
	font-size: .75em;
	}

#footer-social img {
	margin-left: 42px;
	}
	
#footer-social img.first {
	margin-left: 0;
	}

#footer-social a img{
	display: inline;
	}
	
#footer-social p {
	font-size: 0.9em;
	color: #888;
	margin-top: 40px;
	}



/* -----------------------------------
Additional classes
----------------------------------- */

.structural {
	position: relative;
	margin-left: -900px;
	}
	
/* -----------------------------------
Clear Floated Elements
----------------------------------- */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
	}

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
	}

.clearfix {
	display: inline-block;
	}



/* -----------------------------------
Google Map
----------------------------------- */

#google-map {
	width: 280px; 
	height: 190px;
	color:#000;
	margin: 25px 0 0;
	border: none;
	}

#google-map h1 {
	font: 140%/1 helvetica, sans-serif;
	margin: 0;
	}

.events #google-map p {
	font-size: .85em;
	line-height: 1.1;
	margin: 2px 0 0;
	}

.events #google-map p.lastline {
	margin: 7px 0 0;
	letter-spacing: -1px;
	}

h4.google-map {
	margin-top: 8px;
	}


/* -----------------------------------
Calendar from Andy Budd, CSS Mastery
----------------------------------- */

/* tables may still need 'cellspacing="0"' in the markup */
.calendar {
	font-family: "myriad pro", arial, helvetica, sans-serif;
  	font-size:11px;
  	line-height:.9em; /* Baseline grid of 18px */	
	margin-bottom: 30px;
	}
	
table.cal {
	border-collapse: seperate;
	border-spacing: 0;
	text-align: center;
	color: #333;
}

.cal th, .cal td {
	margin: 0;
	padding: 0;
}

.cal caption {
	font-size: 1.4em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	background-color: #ececef;
}

.cal caption [rel="prev"] {
	float: left;
	margin-left: 0.15em;
}

.cal caption [rel="next"] {
	float: right;
	margin-right: 0.15em;
}


.cal thead th {
	background-color: #ececef;
	border-bottom: 1px solid #a9bacb;
	font-size:0.9em;
}


.cal caption a:link,
.cal caption a:visited {
	text-decoration: none;
	color: #333;
	padding: 0 0.2em;
}

.cal caption a:hover,
.cal caption a:active,
.cal caption a:focus {
	background-color: #6d8ab7;
}



.cal tbody {
	color: #a4a4a4;
	text-shadow: 1px 1px 1px white;
	background-color: #b6b6b6;
}

.cal tbody td,
.cal tbody td.null:hover {
	border-top: 1px solid #e0e0e1;
	border-right: 1px solid #9f9fa1;
	border-bottom: 1px solid #acacad;
	border-left: 1px solid #dfdfe0;
}

.cal tbody tr td:first-child {
	border-left: 1px solid #a9bacb;
}

.cal tbody a {
	display: block;
	text-decoration: none;
	color: #333;
	background-color: #d2d2d2;
	font-weight: bold;
	padding: 0.385em 0.692em 0.308em 0.692em;
}

.cal tbody a:hover,
.cal tbody a:focus,
.cal tbody a:active,
.cal tbody .selected a:link,
.cal tbody .selected a:visited,
.cal tbody .selected a:hover,
.cal tbody .selected a:focus,
.cal tbody .selected a:active {
	background-color: #6d8ab7;
	color: white;
	text-shadow: 1px 1px 2px #22456b;
	-webkit-box-shadow: inset 2px 2px 3px #22456b;
	-moz-box-shadow: inset 2px 2px 3px #22456b;
}


.cal tbody td:hover,
.cal tbody td.selected {
	border-top: 1px solid #2a3647;
	border-right: 1px solid #465977;
	border-bottom: 1px solid #576e92;
	border-left: 1px solid #466080;
}