﻿/* Main Stylesheet */

/* ================ Reset & Basics ================ */

	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; 
	}
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block;
	}
	body {
		line-height: 1;
	}
	ol, ul {
		list-style: none;
	}
	blockquote, q {
		quotes: none;
	}
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; 
	}
	table {
		border-collapse: collapse;
		border-spacing: 0; 
	}

/* ================ Site Styles ================ */

/* Basic Styles */
	
	body {
		background: #fff;
		background-image: url('../images/body_top_bg.jpg');
		background-repeat: repeat-x;
		font: 13px/18px Verdana, Arial, Helvetica, sans-serif;
		color: #444;
		-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
		-webkit-text-size-adjust: 100%;
	}
 
/* #Typography
================================================== */
	h1, h2, h3, h4, h5, h6 {
		color: #181818;
		font-weight: normal; }
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
	h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
	h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
	h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
	h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
	h5 { font-size: 17px; line-height: 24px; }
	h6 { font-size: 14px; line-height: 21px; }
	.subheader { color: #777; }

	p { margin: 0 0 20px 0; }
	p img { margin: 0; }
	p.lead { font-size: 21px; line-height: 27px; color: #777;  }

	em { font-style: italic; }
	strong { font-weight: bold; }

/* #Links
================================================== */
	a, a:visited { color: #333; text-decoration: underline; outline: 0; }
	a:hover, a:focus { color: #000; }
	p a, p a:visited { line-height: inherit; }

/* #Lists
================================================== */
	ul, ol { margin-bottom: 20px; }
	ul { list-style: none outside; }
	ol { list-style: decimal; }
	ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
	ul.square { list-style: square outside; }
	ul.circle { list-style: circle outside; }
	ul.disc { list-style: disc outside; }
	ul ul, ul ol,
	ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%;  }
	ul ul li, ul ol li,
	ol ol li, ol ul li { margin-bottom: 6px; }
	li { line-height: 18px; margin-bottom: 12px; }
	ul.large li { line-height: 21px; }
	li p { line-height: 21px; }



table td {
	padding: 20px 0px;
}
/* Images */

	img.scale-with-grid {
		max-width: 100%;
		height: auto; }

/* Misc */
	.remove-bottom { margin-bottom: 0 !important; }
	.half-bottom { margin-bottom: 10px !important; }
	.add-bottom { margin-bottom: 20px !important; }
	
/* Header */

header {
	background: url('../images/head_bg.jpg') no-repeat center top;
	height: 145px;
}

/* Search */

.search {
	text-align: right;
	margin-top: 30px;
}

.post-nav {
}

.post-nav ul li {
	display: inline;
	list-style: none !important;
	text-indent: none !important;
	padding-left: 0px !important;
}

.post-nav ul li a {
	background-color: #666666;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
}

.post-nav ul li a:hover, .post-nav ul li.active a {
	background-color: #8967A4;
	
}

.post-nav ul li:before {
	content: " " !important;
}

/* Navigation */

nav {
	background: url('../images/nav_bg.jpg') no-repeat center top;
	height: 50px;
}

nav .container {
	width: 980px;
}


nav .container .columns {
	margin: 0px !important;
}

ul.menu li a {
	color: #fff;
	text-decoration: none;
}

ul.menu {
	margin: 0px;
}

ul.menu li {
	display: inline;
}

ul.menu a {
	margin: 0px;
	height: 41px;
	width: 92px;
	font-size: 11px;
	line-height: 14px;
	border-right: 0px solid #000;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 9px;
	padding-bottom: 0px;
	color: #fff;
	text-decoration: none;
	text-align: center;
	float: left;
	cursor: pointer;
	background-color: #666666;
}

ul.menu li:hover, ul.menu li.current_page_item, ul.menu li.current-page-ancestor { font-weight: bold; }

ul.menu li.menu-item-20 a:hover, ul.menu li.current_page_item.menu-item-20 a, ul.menu li.current-page-ancestor.menu-item-20 a { background-color: #575757; }

ul.menu li.menu-item-26 a:hover, ul.menu li.current_page_item.menu-item-26 a, ul.menu li.current-page-ancestor.menu-item-26 a { background-color: #99CC67; }

ul.menu li.menu-item-27 a:hover, ul.menu li.current_page_item.menu-item-27 a, ul.menu li.current-page-ancestor.menu-item-27 a { background-color: #993366; }

ul.menu li.menu-item-24 a:hover, ul.menu li.current_page_item.menu-item-24 a, ul.menu li.current-page-ancestor.menu-item-24 a { background-color: #9998C7; }

ul.menu li.menu-item-25 a:hover, ul.menu li.current_page_item.menu-item-25 a, ul.menu li.current-page-ancestor.menu-item-25 a { background-color: #66CBFF; }

ul.menu li.menu-item-23 a:hover, ul.menu li.current_page_item.menu-item-23 a, ul.menu li.current-page-ancestor.menu-item-23 a { background-color: #E27EA6; }

ul.menu li.menu-item-21 a:hover, ul.menu li.current_page_item.menu-item-21 a, ul.menu li.current-page-ancestor.menu-item-21 a { background-color: #FF9900; }

ul.menu li.menu-item-286 a:hover, ul.menu li.current-menu-item.menu-item-286 a, ul.menu li.current-category-ancestor.menu-item-286 a, ul.menu li.current-post-ancestor.menu-item-286 a { background-color: #8A68A5; }

ul.menu li.menu-item-286 a { width: 96px; }

/* Section */

section {
	padding: 25px 0px 0px 0px;
	background: url('../images/page_top_bg.jpg') no-repeat center top;
}

section h1 {
	font-size: 24px;
	line-height: 30px;
}

section .sub-section.six.columns {
	margin-bottom: 20px;
}

section .sub-section.six.columns:nth-child(even) {
	margin-right: 0px;	
}

section .sub-section.six.columns:nth-child(odd) {
	margin-left: 0px;
	clear: left;
}

section .sub-section .content {
	padding: 10px;
	color: #fff;
}

section .sub-section .content h2 {
	font-size: 13px;
	line-height: 20px;
	font-weight: bold;
}
section .sub-section .content h2 a {
	color: #fff;
}

section .sub-section .content p {
	margin-bottom: 0px;
}

section .sub-section .thumbnail {
	float: left;
	margin: 0px 10px 100px 0px;
	clear: right;
}

section.publications .sub-section .thumbnail {
	float: left;
	margin: 0px 10px 30px 0px;
	clear: right;
}


section.workforce .sub-section .thumbnail, section.regulation .sub-section .thumbnail, section.patients .sub-section .thumbnail {
	margin: 0px 10px 140px 0px;
}

section .sub-section .thumbnail img {
	border: 3px solid #fff;
}

/* Sidebar Navigation */

.sidebar ul {
	margin-bottom: 0;
	
}

.sidebar ul li {
	border-top: 2px solid #fff;
	margin: 0;
	padding: 10px;
	font-size: 11px;
	line-height: 15px;
}


.sidebar ul li a {
	color: #444444;
	text-decoration: none;	
}

.sidebar ul li.current-menu-item, .sidebar ul li.current-menu-item:hover, .sidebar ul li.current-post-ancestor, .sidebar ul li.current-post-ancestor:hover {
	font-weight: bold;
} 

.sidebar ul li.current-menu-ancestor, .sidebar ul li:hover{
	font-weight: normal;	
}

li.current-menu-item ul.sub-menu li, .sidebar ul li.current-post-ancestor ul.sub-menu li {
	font-weight: normal;
}

li.current-menu-item.menu-item-has-children ul, 
li.current-category-parent.menu-item-has-children ul, 
ul.sub-menu li.current-menu-item.menu-item-has-children ul,
ul.sub-menu li.current-menu-ancestor ul.sub-menu,
li.current-menu-ancestor ul.sub-menu, nav.content ul li.current-post-ancestor ul.sub-menu {
	display:block;
}

ul.sub-menu, ul.sub-menu ul.sub-menu {
	display: none; 
	margin: 10px -10px -10px -10px;
}

.sidebar ul ul li {
	border: none;
	padding: 5px 10px 5px 30px;
	background-color: #E5CCB2;
	border-top: 2px solid #fff;
}

/* Breadcrumbs */
.breadcrumbs {
	font-size: 10px;
	margin-bottom: 5px;
}

.breadcrumbs .current {
	font-weight: bold;
}

/* Content */

.alignleft {
	float: left;
	margin-right: 10px;
}

.alignright {
	float: right;
	margin-right: 10px;
}

.main-content h2, .main-content h3 {
	font-size: 16px;
	line-height: 24px;
	font-weight: bold;
	color: #666666;
	margin-bottom: 6px;
}

.main-content ul {
    list-style: none;
    padding:0;
}

.main-content ul li { 
    padding-left: 2em; 
    text-indent: -2em;
    margin-bottom: 6px;
}

.main-content ul li:before {
    content: "■";
	padding-right: 1.5em;
}

.thumbnail-feature img {
    float: left;
    margin: 0px 20px 20px 0px;
    display: block;
    border: 3px solid #D8D8D7;
}

section.research-inf .main-content ul li:before { color: #99CC67; }
section.workforce .main-content ul li:before { color: #CC9966; }
section.regulation .main-content ul li:before { color: #9998C7; }
section.research-co .main-content ul li:before { color: #66CBFF; }
section.patients .main-content ul li:before { color: #E27EA6; }
section.about .main-content ul li:before { color: #FF9900; }


/* Footer */

footer {
	background: #666  url('../images/footer_container_bg.jpg') repeat-x center top;
}

.ft {
	background: url('../images/footer_bg.jpg') no-repeat center top;
	height: 105px;
}

.ft .content {
	margin-top: 70px;
	color: #fff;
}

footer .copyright, footer .minervation {
	font-size: 11px;
	margin-top: 10px;
}

footer .minervation {
	text-align: right;
}

ul.footer-nav {
	font-size: 12px;
}

ul.footer-nav li {
	display: inline;
	padding-right: 10px;
}

ul.footer-nav li a {
	color: #fff;
}

/* ================ Page Styles ================ */

/* Home */

section.home h1 {
	color: #656565;
}

section.home .slider {
	margin-bottom: 10px;
}

section.home .sidebar .arrow-down, .content-sidebar .arrow-down {
	width: 0; 
	height: 0; 
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;	
	border-top: 8px solid #8C8C8C;
	margin-left: 20px;
	margin-bottom: 5px;
}

section.home .sidebar h3, .content-sidebar h3 {
	font-weight: bold;
	background-color: #8C8C8C;
	font-size: 14px;
	margin-bottom: 0px;
	color: #fff;
	padding: 0px 10px;
}

section.home .sidebar article, .content-sidebar article {
	background-color: #D9D9D9;
	font-size: 12px;
}

section.home .sidebar article h4, .content-sidebar article h4 {
	font-weight: bold;
	background-color: #EAEAEA;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 0px;
}

section.home .sidebar article p, .content-sidebar article p {
	padding: 5px 10px;
	line-height: 18px;
}

section.home .sidebar article span {
	padding: 5px 10px;
	line-height: 24px;
}

section.home .sidebar article .date {
	font-weight: bold;
}

.content-sidebar ul {
    list-style: none;
    padding:10px;
}

.content-sidebar ul li { 
    padding-left: 1em; 
    text-indent: -1em;
    margin-bottom: 6px;
    font-weight: bold;
}

.content-sidebar ul li:before {
    content: "■";
	padding-right: 0.5em;
    color: #666;
}

/* Research Infrastructure */

section.research-inf h1 {
	color: #99CC67;
	font-weight: bold;
}

section.research-inf .sub-section {
	background-color: #99CC67;
}

section.research-inf .sidebar ul li {
	background-color: #CDE5B3;
}

section.research-inf .sidebar ul ul li {
	background-color: #E5F2D9;
}

/* Workforce Training */

section.workforce h1 {
	color: #CC9966;
	font-weight: bold;
}

section.workforce .sub-section {
	background-color: #CC9966;
}

section.workforce .sidebar ul li {
	background-color: #D9B38C;
}

section.workforce .sidebar ul ul li {
	background-color: #E5CCB2;
}

/* Regulation & Governance */

section.regulation h1 {
	color: #9998C7;
	font-weight: bold;
}

section.regulation .sub-section {
	background-color: #9998C7;
}

section.regulation .sidebar ul li {
	background-color: #CCCBE3;
}

section.regulation .sidebar ul ul li {
	background-color: #E5E5F1;
}

/* Research Coordination */

section.research-co h1 {
	color: #66CBFF;
	font-weight: bold;
}

section.research-co .sub-section {
	background-color: #66CBFF;
}

section.research-co .sidebar ul li {
	background-color: #B2E5FF;
}

section.research-co .sidebar ul ul li {
	background-color: #D5F0FE;
}

/* Patients and Public */

section.patients h1 {
	color: #E27EA6;
	font-weight: bold;
}

section.patients .sub-section {
	background-color: #E27EA6;
}

section.patients .sidebar ul li {
	background-color: #F0BED2;
}

section.patients .sidebar ul ul li {
	background-color: #F7DEE8;
}

/* About UKCRC */

section.about h1 {
	color: #FF9900;
	font-weight: bold;
}

section.about .sub-section {
	background-color: #FF9900;
}

section.about .sidebar ul li {
	background-color: #FBCA80;
}

section.about .sidebar ul ul li {
	background-color: #F8E1BF;
}

/* Publications*/

section.publications h1 {
	color: #8A68A5;
	font-weight: bold;
}

section.publications .sub-section {
	background-color: #8A68A5;
}

section.publications .sidebar ul li {
	background-color: #CFBAE1;
}