/*
Theme Name: Choice and medication
Theme URI: http://choiceandmedication.org.uk/cms/wp-content/themes/cm/style.css
Description: Choice and medication is adapted from “Baughxie” WordPress theme by http://www.switchroyale.com/
Version: 1.0
Author: Rowan Purdy, Surepoint, Dan Donald, Here in the Hive
Author URI: http://www.surepoint.co.uk
Tags: purple, green, grey, two-columns, three columns, fixed-width, right-sidebar, left-sidebar
*/

/* Main Choice and medication colour palette
Dark blue #421C65
Med blue #0099cc
Light blue #6699cc
Dark grey #666666
Med grey #999999
Light grey #CCCCCC
Dark green #009999
Med green #66cccc
Light green #99cccc
Dark purple #996699
Med purple #cc99cc
Light purple #ffccff

*/

/* global whitespace reset - saves a lot of time and bother with box-model hacks by setting margin and padding to 0 for EVERYTHING. See explanation here: http://leftjustified.net/journal/2004/10/19/global-ws-reset/ */

* { 
	margin: 0;
	padding: 0;
	}
	
body {
	text-align: left;
	font: 1em/1.6em Arial, "Verdana", Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	background:#FFF url(images/background.jpg) repeat-x 50% 0;
}

p {
	margin: 10px 0 20px;
}

a {
	color: #0074F7;
	text-decoration: underline;
}

a:hover {
	color: #333333;
	text-decoration: underline;
}

#topbar {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0 auto;
	z-index: 0;
	width: 100%;
	height: 30px;
	background-color:#D5FFB5;
	border-bottom: 2px solid #411B64;
}

#container {
	width: 960px;
	margin: 0 auto;

}


div#header {
	font-size:10px !important;
	height:209px;
	margin:0;
	padding:0;
	}

div#header h1#choice-logo {
	background:url(images/logo.png) no-repeat 0 35px;
	border:none;
	float:left;
	font-size:10px !important;
	height:53px;
	margin: 30px 0 0;
	padding-top:35px;
	text-indent:-5000px;
	width:600px; 
		}
		
div#header p#choice-tagline {
	background:url(images/tagline.png) no-repeat;
	float:left;
	font-size:10px;
	height:28px;
	margin:0;
	margin-top:15px;
	padding:0;
	text-indent:-2000px;
	width:600px; 
	}


#content-wrapper {
	background-color: #EEEAF8;
}

.subscribers {
	text-align: left;
	font-size: 0.8em;
	font-family: Arial, "Verdana", Helvetica, sans-serif;
	padding:1px;
	border: 1px solid #421C65;
}

.subscribers th {
	background-color: #EEEAF8;
	padding:1px;
}

.subscribers td {
	background-color: #EEEEEE;
	padding:1px;
}

/* @group Toolbars */



/* @group accessibility toolbar */


div#accessibility_bar {
	margin: 0 auto;
	width: 960px;
	font-size: 80%;
}

div#accessibility_bar ul {
	float:left;
	list-style:none;
	margin:0;	
	padding: .2em 0;
}

div#accessibility_bar ul li {
	display:inline;
	padding-right:5px;
}

div#accessibility_bar ul li a.rss {
	background: url(images/icons/rss.gif) no-repeat 0 50%; 
	padding-left: 15px;
	margin-left: 5px;
	}
	
div#accessibility_bar ul li a.medium{
	font-size: 125%;
	font-weight: bold;
	padding-left: 5px;
	text-decoration: none;
				}
				
div#accessibility_bar ul li a.large{
	font-size: 160%;
	font-weight: bold;
	padding-left: 5px;
	text-decoration: none;
	}
				
div#accessibility_bar ul li a.x-large{
	font-size: 210%;
	font-weight: bold;
	padding-left: 5px;
	text-decoration: none;
				}
	
#search {
    float: right;
    margin: 2px auto 0;
}
/* @end */

/* @group horizontal */

/* Toolbar Styles */



#navbar {
	margin: 0 0 20px 0;
	height: 25px;
	border-bottom: 1px solid #421C65;
	color: #FFFFFF;
}

#navbar ul {
	margin: 0;
	padding: 0;
	/*float: right;  activate to align centre */
	position: relative;
	right: 50%;
}

#navbar li {
	display: inline;
	float: left;
	position: relative;
	left: 50%;
	border: solid #421C65;
	border-width: 0 1px 0 0;
	margin: 0;
}

#navbar a {
	display: block;
	float: left;
	height: 25px;
	padding: 0 16px;
	font-size: 1.2em;
	line-height: 1.5em;
	color: #421C65;
	text-decoration: none;
	font-weight: bold;
}

#navbar a:hover,
#navbar .current_page_item a {
	color: #FFFFFF;
	background-color: #421C65;
}


/* @end */

/* @group vertical */

/* Toolbar Styles */

#side-navcontainer {
	font-size: 100%;
	border-top: 1px solid;
	margin-bottom: 10px;
	border-top-color: #421C65;
	width: 160px;
	float: left;
	color: #421C65;
}

#side-navcontainer .current_page_item {
	background: #421C65;
	}

#side-navcontainer .current_page_item:hover {
	background: #421C65;
	color: #ffffff;
}

/* Parent - Level 0 */

#side-navcontainer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#side-navcontainer li {
	position: relative;
	display: inline;
	height: 0px;
}

#side-navcontainer ul li.current_page_item a {
	background: #421C65;
	color: #ffffff;
}

#side-navcontainer a {
	display: block; /* If using css to hide top level navigation from vertical menu then set diplay: none; keep to diplay: block; if using Wordpress wp_list_pages to show only top level page children */
	padding-left: 5px;
	height: 25px;
	font-size: 0.9em;
	line-height: 1.6em;
	color: #421C65;
	text-decoration: none;
	border-bottom: 1px solid;
	background: #ffffff;
	border-bottom-color: #421C65;
}

#side-navcontainer a:hover {
	background: #421C65;
	color: #ffffff;
}

#side-navcontainer a:active {
	
}



/* Child - Level 1 */

#side-navcontainer ul ul {

}

#side-navcontainer ul ul li {

}

#side-navcontainer ul ul li.current_page_parent a {
	background: #421C65;
	color: #ffffff;
}

#side-navcontainer ul ul a {
	display: block;
	padding-left: 20px;
	background: #ffffff url(images/nav-arrow-level1.gif) no-repeat 10px 10px;
}

#side-navcontainer ul ul a:hover {
	
}

#side-navcontainer ul ul .currentAncestor {
	background: #ffffff;
}

/* Child - Level 2 */

#side-navcontainer ul ul ul {
	
}

#side-navcontainer ul ul ul li {
	
}

#side-navcontainer ul ul ul a {
	padding-left: 35px;
	font-size: 95%;
	background: #ffffff url(images/nav-arrow-level2.gif) no-repeat 20px 10px;
}

#side-navcontainer ul ul ul a:hover {
	
}

#side-navcontainer ul ul ul .current {
	background: #ffffff;
	color: #ffffff;
}

#side-navcontainer ul ul ul .currentAncestor {
	
}

/* Child Level 3 */

#side-navcontainer ul ul ul {
	
}

#side-navcontainer ul ul ul ul li {
	
}

#side-navcontainer ul ul ul ul a {
	padding-left: 40px;
	font-size: 90%;
}

#side-navcontainer ul ul ul ul a:hover {
	
}

/* Child Level 4 */

#side-navcontainer ul ul ul ul {
	
}

#side-navcontainer ul ul ul ul ul li {
	
}

#side-navcontainer ul ul ul ul ul a {
	padding-left: 50px;
	font-size: 85%;
}

#side-navcontainer ul ul ul ul ul a:hover {
	
}

/* Child Level 5 */

#side-navcontainer ul ul ul ul ul {
	
}

#side-navcontainer ul ul ul ul ul ul li {
	
}

#side-navcontainer ul ul ul ul ul ul a {
	 padding-left: 60px;
	 font-size: 80%;
}

#side-navcontainer ul ul ul ul ul ul a:hover {
	
}

/* @end */

/* @end */

/* @group breadcrumb*/

#breadcrumb {
	text-align: left;
	font-size: 0.8em;
	color: #333333;
	margin: -10px 20px 10px;
}

#breadcrumb.home {
	display: none;
}

#breadcrumb ul {
	list-style: none;
	margin: 0;
	padding: 0;
	color: #333333;
}

#breadcrumb li {
	display: inline;
}

/* @end */




/* @group columns */

#columns-container {    
	width: 99%;
}

#columns-left {    
	float: left;
	width: 48%;
	margin-left: 0;
	margin-right: 1%;
	} 
	
#columns-right {    
	float: right;
	width: 48%;
	margin-right: 0;
	margin-left: 1%;
	}   	
	
#columns-1 {    
	float: left;
	width: 210px;
	margin-right: 15px;
	}  
	
#columns-2 {
	float: left;
	width: 210px;
	margin-right: 15px;
	}  
	
#columns-3 {
	float: left;
	width: 210px;
	} 
	
#columns-4 {
	float: right;
	width: 210px;
	} 
	
#columns-clearer {
	clear: both;
	}
		
/* @end */

/* @group Lists */

.entry ul,
.entry ol {
	margin-left: 20px;
}

.word {
	list-style-image: url(images/icons/word.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}


.excel {
	list-style-image: url(images/icons/excel.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}

.pdf {
	list-style-image: url(images/icons/pdf.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}

.ppt {
	list-style-image: url(images/icons/ppt.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}

.mp3 {
	list-style-image: url(images/icons/mp3.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;	
}

.movie {
	list-style-image: url(images/icons/mpeg.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
	}

.txt {
	list-style-image: url(images/icons/txt.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}

.zip {
	list-style-image: url(images/icons/zip.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}

.image {
	list-style-image: url(images/icons/gif.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}

.web {
	list-style-image: url(images/icons/web.gif);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}

.event,
#panel li.event {
	list-style-image: url(images/icons/calendar.png);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}

.news,
#panel li.news {
	list-style-image: url(images/icons/newspaper.png);
	margin: 8px 0 8px 25px;
	padding-left: 5px;
}


.grey {
	background:url(images/list_arrow_grey.gif) no-repeat 0 0.6em;
	padding-left: 20px;
	list-style-type: none;
	margin: 5px 0 5px 10px;
		}
.blue {
	background:url(images/list_arrow_blue.gif) no-repeat 0 0.6em;
	padding-left: 20px;
	list-style-type: none;
	margin: 5px 0 5px 10px;
		}
		
.purple {
	background:url(images/list_arrow_purple.gif) no-repeat 0 0.6em;
	padding-left: 20px;
	list-style-type: none;
	margin: 5px 0 5px 10px;
}
		
.searchlistdesc {
	font-size: 90%;
	font-style: italic;
	margin: 3px 0 3px 20px;
}
	

/* @end */

#posts {
	width: 640px;
	padding: 0 0 0 20px;
	margin: 0 0 20px;
	float: left;
}

#posts.page {
	width: 760px;
	padding: 0 0 0 20px;
	margin: 0 20px 20px 0;
	float: right;
}

#posts.homepage {
	width: 920px;
	padding: 0 0 0 20px;
	margin: 0 20px 20px 0;
}

#posts.landingpage {
	width: 920px;
	padding: 0 0 0 20px;
	margin: 0 20px 20px 0;
}

.readmore {
	position: relative;
	top: -25px;
	margin: 0;
}

.commentbubble {
	position: relative;
	left: 530px;
	width: 71px;
}

.commentbubble a {
	display: block;
	background: url(images/commentbubble.gif);
	background-repeat: no-repeat;
	width: 40px;
	height: 75px;
	text-align: center;
	font-size: 12px;
	padding: 5px 31px 0 0;
}

.commentbubble a:hover {
	background: url(images/commentbubblehover.gif);
	background-repeat: no-repeat;
	width: 40px;
	height: 75px;
	text-align: center;
	font-size: 12px;
	padding: 5px 31px 0 0;
}

.date {
	width: 50px;
	height: 60px;
	border: 1px solid #421C65;
	text-align: center;
	margin: 0 0 10px 0;
	float: left;
}

.month {
	font-size: 1.0em;
	background: url(images/navbg.gif) #421C65;
	background-repeat: repeat-x;
	background-position: 0 -5px;
	color: #ffffff;
	height: 20px;
	line-height: 20px;
}

.day {
	font-size: 1.8em;
	height: 25px;
	line-height: 30px;
	font-weight: bold;
	color: #421C65;
}

.year {
	font-size: 0.9em;
	height: 15px;
	line-height: 15px;
	color: #421C65;
}

.post {
	margin: 0 0 20px;
	background: #ffffff;
	padding: 20px;
	border: 1px solid #421C65;
	min-height: 60px;
}

.post-homepage,
.post-landingpage {
	width: 880px;
	margin: 0 0 20px;
	background: #ffffff;
	padding: 20px;
	border: 1px solid #421C65;
	min-height: 60px;
}



.tags {
	font-size: 11px;
	line-height: 1.5em;
	margin: 0 0 0 60px;
}

.entry {
	margin: 0 0 10px;
	clear: both;
	min-height: 150px;
}

.entry-page {
	margin: 0 0 40px;
	clear: both;
	min-height: 250px;
}

.entry p {
	margin: 10px 0 20px;
}

.entry p.highlight,
.entry div.highlight,
div.highlight {
	background: #ebebeb;
	border: 1px solid #421C65;
	padding: 10px;
	margin: 0 0 20px;
}

blockquote {
	margin: 10px 40px 20px;
}

.post h2,
.post-homepage h2,
.post-landingpage h2 {
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 5px 60px;
	border-bottom: 1px solid #421C65;
}

.post h2 a,
.post-homepage h2 a,
.post-landingpage h2 a {
	text-decoration: none;
	color: 421C65;
	}

.post-homepage h2.homepage,
.post h2.notfound,
.post h2.page-news,
.post h2.search,
.post-landingpage h2.landingpage {
	margin: 0 0 5px;
}

.page .post h2 {
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 5px 0;
	border-bottom: 1px solid #421C65;
}

.post h3,
.post-homepage h3,
.post-landingpage h3 {
	font-size: 1.1em;
	line-height: 1.3em;
	color: #421C65;
}

.post h4,
.post-homepage h4,
.post-landingpage h4 {
	font-size: 1em;
	margin: 0 0 3px;
}



.post a img,
.post-homepage a img,
.post-landingpage a img {
	border: none;
}

.postmetadata {
	font-size: 11px;
	line-height: 1.25em;
	margin: 0 0 0 60px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

.aligntopleft {
	float: left;
	margin: 0 10px 20px -5px;
}

.aligntopright {
	float: right;
	margin: 0 -5px 20px 10px;
}

.largeimagealigntopleft {
	float: left;
	margin: 0 10px 0 -5px;
}

.largeimagealigntopright {
	float: right;
	margin: 0 -5px 0 10px;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.aligncenter {
	display: block;
	margin: 0 auto 20px auto;
}

.alignnone {
	margin: 0;
}

.wp-caption.alignleft {
	float: left;
	margin: 5px 20px 20px 0px;
}

.wp-caption.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.wp-caption.aligncenter {
	display: block;
	margin: 0 auto 20px auto;
}

.wp-caption.alignnone {
	margin: 20px 0;
}

.post .wp-caption {
	border: 1px solid #cccccc;
	background: #ebebeb;
	text-align: center;
	padding: 10px 5px 0 5px;
}

.post .wp-caption-text {
	margin: 0;
	font-size: 12px;
}


#commentform #author, #commentform #email, #commentform #url, #commentform #comment {
	background: #ffffff;
	border: 1px solid #421C65;
	color: #666666;
}

.commentlist {
	list-style-type: none;
	background: #ebebeb;
	padding: 20px;
	border: 1px solid #421C65;
	margin: 20px 0;
}

.commentlist ul {

}

.commentlist li {

}

.avatarcontainer {
	float: left;
	margin: 0 5px 0 0;
}

.avatar {
	border: 1px solid #cccccc;
}

.commentdate {
	font-size: 11px;
}

.sidebar-news {
	margin: 0 0 20px 680px;
	width: 220px;
	background: #ffffff;
	padding: 20px;
	border: 1px solid #421C65;
}

.sidebar-news ul {
	list-style-type: none;
	margin: 0 0 30px 0;
	padding: 0;
}

.sidebar-news h2 {
	margin: 0 0 5px 0;
	font-size: 16px;
	color: #421C65;
	width: 220px;
	border-bottom: 1px solid #999999;
}

.sidebar-news a {
	color: #421C65;
	text-decoration: none;
}

.sidebar-news a:hover {
	color: #333333;
}

#footer {
	clear: both;
	height: 29px;	
	border: solid #421C65;
	border-width: 1px 0;
	background: #A097CB;
}

#footer p {
	text-align: center;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0;
	padding: 5px 0 0;
	color: #421C65;
}

#footer p.credit {
	text-align: right;
	font-size: 0.8em;
	line-height: 1.3em;
	margin: 10px 0 0;
	padding: 5px 0 0;
	color: #999;
}

#footer a {
	color: #421C65;
	text-decoration: none;
}

#footer a:hover {
	color: #333333;
}

#wp-calendar {
	width: 220px;
	background: #ebebeb;
	border: 1px solid #421C65;
	margin: 0 0 30px 0;
	font-size: 12px;
	text-align: center;
}

#wp-calendar caption {
	text-align: left;
}

#wp-calendar #today {
	background: #cccccc;
}

#wp-calendar a {
	display: block;
	width: 100%;
	height: 100%;
}

#wp-calendar a:hover {
	background: #cccccc;
}

#form-event-venues {
	position: relative;
	top:  -50px;
	left: 10px;
}
