/*  
Theme Name: CVS Hounslow
Theme URI: http://www.cvshounslow.org.uk/
Description: A custom-made theme for CVS Hounslow's website.
Version: 1.0
Author: Jason King
Author URI: http://www.kingjason.co.uk/

*/

/* Resets 
----------------------------------*/

* {
	margin: 0;
	padding: 0;
}

/* Structure
----------------------------------*/

body {
	background-image: url(images/container-bg.jpg);
	background-repeat:repeat-y;
	background-position: center;
	font-family: Gill Sans MT, Trebuchet, Calibri, sans-serif;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	font-size: 62.5%;
	background-color: #F4F4F4;
}

#container {
	background-color: #ffffff;	
	text-align: left;
	font-size: 1.4em;
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}	

#header {
	background-color: ffffff;
	background-image: url(images/header_bg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	height: 120px;
	
}

#description {
	font-weight: normal;
	font-size: 1.2em;
	background-color:#013a69;
	color: #ffffff;
	padding: 5px 10px;
	margin-bottom: 20px;
}

#content {
	background-color: #ffffff;
	float: right;
	width: 780px;
	margin: 0 0 60px 0;
}

#home #content {
	width: 400px;
	float: right;
	margin-right: 20px;
}

#home #thirdcolumn {
	width: 360px;
	float: right;
}

#footer {
	background-color: #FFFFFF;
	margin: 0 0 10px 0;
	text-align: right;
}

#footer img {
	padding-right: 11px;
	border: none;
}

#nonprofit-web-design {
	clear: both;
	padding: 10px 0 10px 225px;
	text-align: left;
}	

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

#headerlinks {
	height: 23px;
	background-color: #6bb2b2; /* dark green */
	clear: both;
	background-image: url(images/footer_bg.jpg);
	background-repeat: repeat-y;
	background-position: left top;
}

#headerlinks ul {
	width: 1000px;
}

#headerlinks ul li {
	float: right;
	list-style-image: none;
	list-style-type: none;
}

#headerlinks ul li a {
	padding-right: 10px;
	font-weight: bold;
	margin-left: 20px;
	color: #ffffff;
	text-decoration: none;
}

#headerlinks ul li a:hover {
	color: #d1ecec; /* light green */
}

/* Typography
---------------------------- */

#content p {
	color: #333333;
	margin-bottom: 10px;
	line-height: 1.5em;
	font-size: 1.1em;
}

#home #thirdcolumn p {
	margin-bottom: 10px;
	line-height: 1.4em;
}

h1 {
	text-indent: -5000px;
}

h2, h3, #news h3 a, #news small, .ampersand, #description, #headerlinks ul li a {
	font-family: Gill Sans MT, Trebuchet, Calibri, sans-serif;
}

h2 {
	color: #ffffff;
	font-size: 1.3em;
	font-weight: normal;
	padding: 0 10px;
	text-transform:uppercase;	
}

#content h2, #news h2 {
	background-color:#013a69; /* dark blue */
	padding-left: 10px;
}

#content h2 {
	margin-bottom: 10px;
}

#content h3 {
	font-size: 1.4em;
	font-weight: normal;
	margin: 15px 0 5px 0;
	color:#013a69; /* dark blue */
}

#sidebar {
	float: left;
	width: 200px;
}

/* Navigation menu
------------------------------------ */

body {
	behavior:url(behaviours/csshover.htc);
}

#nav {
	font-family: Tahoma, Arial;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #009999; /* dark green */
}

#nav h2 {
	background-color: #009999; /* dark green */
}

#nav ul {
	text-transform: capitalize;
	clear: both;
	list-style: none;
	padding: 0;
	margin: 0;
	background-color: #958cc3;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
}

#nav ul li {
	background-color: #d1ecec; /* light green */
	position: relative;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
}

#nav ul li a {
	font-size: 1.2em;
	width: 184px;
	padding: 6px 8px;
	display: block;
	color: #009999; /* dark green */
	text-decoration: none;
}

#nav ul li ul {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	margin-left:-1px;
}

#nav ul li>ul {
	top: 0;
	left: 200px;
	margin-left: 1px;
}	

#nav ul li:hover ul, li.over ul {
	display: block;
	list-style: none;
}

#nav ul li ul li {
	border-right: none;
	text-align: left;
}

#nav ul li.current_page_item {
	background-color: #b2e0e0; /* med green */
	font-weight: bold;
}

#nav ul li a:hover {
	background-color: #b2e0e0; /* med green */
}

/* News
-------------------------------- m*/

#news {
	background: url('images/footer_bg.jpg') repeat-y top center;
}

#news .post {
	color: #ffffff;
	padding: 8px 10px 5px 10px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #b2e0e0; /* med green */
}

#news h2 + .post {
	background: none;
	background-color: #177776; /* darker green */
}

#thirdcolumn img {
	margin-bottom: 15px;
}

#news h2 {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #b2e0e0; /* med green */
}

#news h3 {
	line-height: 1.2em;
}

#news h3 a {
	color: #ffffff;
	font-weight: normal;
	font-size: 1.1em;
}

#news small {
	margin: 0 0 10px 0;
}

#features {
	float: right;
	margin-top: 24px;
}

small {
	font-size: .8em;
}

/* Lists
--------------------------------- */

#content ul, #content ol  {
	margin: 10px 0 20px 60px;
}

#content ul li, #content ol li {
	margin-bottom: 5px;
	line-height: 1.5em;
}

/* Search form
--------------------------------- */

#search_box {
    width: 210px;
    height: 50px;
    background: url(images/search_bg.gif);
}

#search_box #s {
    float: left;
    padding: 11px 0 0 10px;
    margin: 6px 0 0 0;
    border: 0;
    width: 140px;
    background: none;
	font-weight: bold;
	color: #013a69; /* dark blue */
}

#search_box #go {
    float: right;
    margin: 12px 8px 0 0;
}

/* hyperlinks
------------------ */

#content a, #nonprofit-web-design a {
	color: #013a69; /* dark blue */
}

#content a:hover, #nonprofit-web-design a:hover {
	background-color: #d1ecec; /* light green */
}

#content a:active, #nonprofit-web-design a:active {
	background-color: #013A69; /* dark blue */
	color: #FFFFFF;
}


/* Images
-----------------------------*/

#content img {
	padding-bottom: 10px;
	margin: 0;
	border: none;
}

#sidebar img {
	margin: 20px 0 0 0;
}

blockquote {
	margin: 5px 0 5px 40px;
}

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
	margin: 10px 20px 10px 0;
   float: left;
}

.alignright {
	margin: 10px 0 10px 20px;
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

#resources {
	float: right;
	width: 220px;
	margin-top: 20px;
	padding: 0 5px 20px 40px;
}

#resources ul {
	margin-left: 20px;
	font-size: 1.1em;
}

#resources p {
	font-size: 1.2em;
}