/*
Theme Name: Care Alive
Theme URI: http://wordpress.org/
Description: Custom Theme for CareAlive - Caroline Cunningham Foundation for Epilepsy
Version: 1.0
Author: Salt & Pepper Design
Author URI: http://addsaltandpepper.com
Tags: custom, colourful

	Based on Kubrick v1.5
	 http://binarybonsai.com/kubrick/
	The Kubrick theme was designed and built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/
	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
*/

/* make footer stick to bottom */
html, body, #wrapper {height: 100%;}

body > #wrapper {height: auto; min-height: 100%;}

#footer {
	margin:-85px auto 0 auto; 
	clear:both;
	float:none;
	text-align:center; 
	width: 100%;
	background: #cbd52a url('images/footer-tile.png') repeat-x scroll top left;
	position: relative;
	height: 100px;	
}

.ie7 #footer {
	text-align:left;
}

.ie7 #footer #ribbon {
	position:absolute;
	top: 0;
	left: 50%;
	text-align:center;
}

#stick-footer-wrapper {padding-bottom: 100px;}  /* must be same height as the footer */

.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* - BASIC STUFF - */
body {background:#FFF;font: 13px/1.3em Helvetica, Arial, sans-serif;color:#58595b;margin:0 auto;}
a {text-decoration:none;outline:none;}
a:hover {text-decoration:underline;}
.additional-meta {font-size: xx-small}
blockquote {font-style:oblique}
img{
border: 0 none;
text-decoration: none;
}

img:hover{
 border: 0 none;
 text-decoration: none;
 }

/* -- LISTS -- */
ul {margin:0;padding:0;}
ul li {	margin-left:5px;padding:0;}
li {list-style-type:none;}
.disc {list-style-type:disc}
/* lists inside posts */
.entry-content ul ol {margin-left:0;}
.entry-content ul li {margin-left:10px; list-style:disc; list-style-position:inside; margin-bottom: .5em;}
.entry-content ul li ol {margin-left:10px;}
.entry-content ol li {margin-left:5px; list-style: decimal; list-style-position:inside}
.entry-content ol li li {margin-left:5px;}
.entry-content p{
	margin: 0 0 20px 0;
}
/* -- HEADINGS -- */
h1,h2,h3,h4,h5,h6 {margin:0;padding:0;font-family:Helvetica, Arial, sans-serif;line-height: 1em}
address {
	font-style: normal;
}
h1,h2,
h1 a, h2 a {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 24px;
	color: #7fc2d1;
	margin: 0 0 20px 0;
	text-transform: uppercase;
}

h2.event-date {
	color: inherit;
	margin-top: -20px;
}

h2.category, h2.category a {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 24px;
	color: #454546;
	text-transform: uppercase;
}

h3 {
	font-weight: bold;
	font-size: 15px;
	line-height: 15px;
	padding: 20px 0 12px 0;
}
h4 {
	font-weight: normal;
	font-size: 13px;
	line-height: 18px;
	padding: 0 0 20px 0;
}
h3.category, h3.category a {
	font-family: Helvetica, Arial, sans-serif !important;
	font-size: 24px;
	color: #7fc2d1;
	margin: 0 0 15 0;
	font-weight: bold;
	text-transform: uppercase;
}



/* -- MAIN DIV'S -- */
#wrapper {float:none;clear:both;margin:0 auto;padding:0;width:960px;}
div.inner-wrapper {
	width: 920px;
	margin: 0 auto;
	padding: 0;
	position: relative;
}
#header {
	height:128px;
	margin:0 auto 40px auto;
	padding:0;
	font: 13px  Helvetica, Arial, sans-serif; 
	position: relative;
	border-bottom: 1px solid #b6d3dd;
}
/* -- POSTS -- */
.post-index {margin:0 0 10px;}
#post-single {margin:0 0 20px;}
.posts-wrap {float:left; clear:none;}

/* -- SIDEBARS --*/
.block-1 {float:left;}

#header #logo a {
  background: url(images/logo.png);
	display: inline;
	float: left;
	/*margin-top:15px;*/
	width: 313px;
	height: 116px;
	text-indent: -999em;
	margin-left: 20px;
}
#header .pagenav,
.menu-top-menu-container {
	/*position: absolute;*/
	/*top: 139px;*/
	/*left:385px;*/
	float: right;
	margin-top: 95px;
	margin-right: 20px;
}
#header ul.pagenav li,
.menu li {
	display: inline;
	padding: 5px 6px;
	margin-left: 0;
	text-transform: uppercase;
	font-weight: bold;
	border-right: 1px solid #e1dfda;
}
#header ul.pagenav li:last-child,
.menu li:last-child {
	border: none;
}


#header ul.pagenav li a,
#header ul.pagenav li a:visited,
.menu li a,
.menu li a:visited {
	color: #cbd52a;
}

#header ul.pagenav li a:hover,
#header ul.pagenav li a:focus,
#header ul.pagenav li.current_page_item a,
#header ul.pagenav li.current_page_ancestor a,
.menu li a:hover,
.menu li a:focus,
.menu li.current_page_item a,
.menu li.current_page_ancestor a {
	color: #7fc2d1 !important;
	text-decoration: none;
}

#header #header_social {
	position: absolute;
	top: 35px;
	right: 20px;
	width: 230px;
}

#header #header_social ul li {
	float:left;
	margin:0;
}

ul.social a {
	background: url('images/spr-top.png') no-repeat 0 0;
	width: 25px;
	height: 25px;
	display: block;
	text-indent: -9999px;
	float: left;
	margin: 6px;
}

a.social_fb {
	background-position: 0 -36px !important;
}

a.social_fl {
	background-position: 0 -73px !important;
}

#header #header_social ul a#social_donate {
	background-position: 0 -114px; 
	width: 143px; 
	height: 38px;
	margin-top: 0;
	margin-right: 0;
}





#header .top-tab-button {	
	background: url('images/top-tab-button.png') no-repeat scroll top left;
	width: 147px;
	height: 77px;
	position: absolute;
	top: 0;
	right: 20px;
}
#header .top-tab-button a {
	display: block;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	color: #f7ff73;
	font-size: 24px;
	padding-top: 43px;
}
#header .top-tab-button a:hover {
	text-decoration: none;
}

/* -- sub nav on left -- */
.sub-nav {
	display: inline;
	float: left;
	width: 293px;
	margin-right: 10px;
}
.sub-nav ul li {
	margin: 0 0 1em 0;
	font-size: 18px;
	line-height: 18px;
	font-family:Helvetica, Arial, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
}
.sub-nav ul li a {
	color: #cbd52a;
}
.sub-nav ul li li {
	font-size: 14px;
}

.sub-nav ul li a:hover,
.sub-nav ul li.current_page_item a {
	text-decoration: none;
	color: #454546;
}
/* -- general content right -- */
.right-content {
	display: inline;
	float: left;
	color: #4B4B4B;
	margin-left: 10px;
}
.right-content p {
	margin: 0 0 20px 0;
}
.lower-nav {
	display: inline;
	float: left;
	margin: 0 auto;
	text-align: center;
}
.lower-nav ul {
	display: inline;
	float: left;
}
.lower-nav ul li {
	display: inline;
	margin-right: 33px;
}
.right-content a {
	font-style: normal;
	color: #7fc2d1;
	text-decoration: none;
	font-weight: bold;
}
.right-content a:hover {
	text-decoration: none;
}
.lower-nav ul li.current_page_item a {
	font-style: normal !important;
	color: #999;
	text-decoration: none;
}

/* -- home page -- */
#homepage-wrapper {
	margin: 0 0 0 20px;
	width: 626px  !important;
	display: inline;
	float: left;
}
div.category,
.news-1,
.news-2,
.newsletter {
	margin-top: 13px;
	width: 293px;
	display: inline;
	float: left;
	position: relative;
}
div.category,
.news-1,
.news-2 {
	margin-right: 20px;
}
.news-1 {
	clear: both;
}
#homepage-wrapper h2 {
	margin-top: 20px;
}
#homepage-wrapper h2 a {
/*	color: #454546 !important;*/
}

.newsletter .bubble {
	background: url('images/index-speech-bubble.png') no-repeat scroll top left;
	width: 293px;
	height: 145px;
}
.newsletter .bubble p {
	padding: 15px;
	color: white;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
}

.newsletter .mans {
	background: url('images/mans.png') no-repeat scroll top left;
	width: 180px;
	height: 219px;
	position: absolute;
	right: -20px;
	top: 100px;
}
.newsletter .mans-push {
	display: block;
	height: 190px;
}
.newsletter h2 {
	margin-bottom: 10px;
	line-height: 1em;
}
.newsletter p {
	margin-top: 0;
}
.social_site_links {
	width: 294px;
	float: left;
	background: url('images/connect.jpg') no-repeat 0 0;
	height: 207px;
	position: relative;
}
.social_site_links div {
	position: absolute;
	bottom: 0;
	background: #7abbca;
	color: #fff;
	height: 36px;
	line-height: 36px;
	width: 100%;
}
.social_site_links div h2 {
	color: #fff;
	font-size: 22px;
	float: left;
	line-height: 40px;
	margin-left: 10px;
	margin-right: 5px;
}

.social_site_links .social a {
	margin-right: 0px;
}

.social_site_links .social li {
	margin:0;
	float:left;
}

/* -- who we are layout -- */
#who_we_are-content {
	margin-top: 40px;
}
#who_we_are-content .sub-nav h1 {
	color:#454546;
	margin:0;
}
#who_we_are-content .sub-nav h4 {
	color:#454546;
	margin:0;
	font-weight: normal;
}
#who_we_are-content .right-content {
	width: 440px;
	margin-right: 20px;
}
#photo-strip {
	width:147px;
	/*display: inline;*/
	float: left;
	
}
#photo-strip ul li{
	margin: 0 0 20px 0;
}

body.page-template-whoweare-php #who_we_are-header {
	display: none;
}

body.page-id-7 #who_we_are-header {
	display: block;
 }

body.page-id-1450 #photo-strip {
	display: none;
}

body.page-id-1450 #photo-strip {
	display: none;
}

body.page-id-829 #photo-strip{
	display: none;
}

body.page-id-281 #photo-strip{
	display: none;
}

body.page-id-1458 #photo-strip {
	display: none;
}

body.page-id-584 #photo-strip{
	display: none;
}

body.page-id-499 #photo-strip{
	display: none;
}

body.page-id-279 #photo-strip {
	display: none;
}

body.page-id-283 #photo-strip {
	display: none;
}

body.page-id-369 #photo-strip {
	display: none;
}
/* -- perspectives layout -- */
#perspectives-content {
	margin-top: 40px;
}
#perspectives-content .right-content {
	width: 607px;
}
#perspectives-content .post {
	width: 607px;
	display: block;
}

/* -- resources layout -- */
#resources-content {
	margin-top: 40px;
}
#resources-content .right-content {
	width: 607px;
}
#resources-content .post {
	width: 607px;
	display: block;
}

body.page-template-resources-php #resources-header {
	display: none;
}

body.page-id-636 #resources-content{
	margin:0;
}

body.page-id-16 #resources-header {
	display: block;
}

/* -- events -- */

body.page-template-events-php #events-header {
	display: none;
}

body.page-id-5 #events-header {
	display: block;
}

.events-listing {
	position: relative;
}
/* -- Causes layout -- */
body.page-template-causes-php #causes-header {
	display: none;
}
body.page-id-1458 #causes-header {
	display: block;
}
/* -- links list -- */
#links-list .category {
	display: inline;
	float: left;
	width: 560px;
}
#links-list h2 {
	color: #454546;
}
#links-list ul li {
	margin-left: 0;
	margin-bottom: 10px;
}
#links-list a {
	font-style: normal;
	color: #7fc2d1;
	text-decoration: underline;
	font-weight: bold;
}
#links-list a:hover {
	text-decoration: none;
}
#links-list a:visited {
	color: #999;
}

/* -- newsletter sign up*/
.newsletter {
	margin-top: 30px;
	
}
.newsletter .plugin-support { display: none;}
.newsletter label { display: none;}
.newsletter .gsom-optin-form div {
/*
	display: inline;
*/	float: left;

}
.newsletter input {
	font-size: 13px;
	height: 20px;
}
.newsletter input[type="submit"]{
	background: url('images/bgButtonBlue.png') repeat-x 0 50%;
	border: none;
	color: #fff;
	text-transform: uppercase;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	float: right;
	position: relative;
	top: -9px;
}

/* -- twitter*/
.widget{
	width: 300px;
	margin-top:-10px;
	font-style:normal;
}

.widget h3.widgettitle{
	display:none;
	
}

.widget ul li {
	margin-bottom: 15px;
	font-style:normal;
}

.widget ul li a {
	color:#7FC2D1;
	text-decoration:underline;
}

/* -- contact -- */
#contacts {
	margin-top: 35px;
}

#contacts h1 { 
	margin-bottom: 0;
}

#contacts h2 {
	color: #999;
	font-size: 18px;
	font-weight: normal;
}
#contacts a,
#entry-content-single a {
	font-style: normal;
	color: #7fc2d1;
	text-decoration: underline;
	font-weight: bold;
}
#contacts a:hover,
#entry-content-single a:hover {
	text-decoration: none;
}
#contacts a:visited,
#entry-content-single a:visited {
	color: #999;
}

#contacts .col-1,
#contacts .col-2 {
  float: left;
  margin-right: 20px;
  width: 359px;
  margin-left: 25px;
}

.btn {
  display: block;
  float: right;
  text-indent: -999em;
}

#btn-donate {
  background: url(images/btn_donate.png);
  height: 61px;
  margin-bottom: 5px;
  width: 231px;
}

#btn-shop {
  background: url(images/btn_shop.png);
  height: 61px;
  margin-bottom: 30px;
  width: 231px;
}

#btn-awards {
  background: url(images/btn_awards.png);
  height: 143px;
  margin-bottom: 30px;
  width: 231px;
}

#page-content {
  text-align: left;
}

a {
/*   color: #7FC2D1; */
	color: #58595b;
	
}
a:hover {

}
#page-content p a,
.news-1 p a,
.news-2 p a,
.right-content a {
	color: #58595b;
	font-weight: normal;
	text-decoration:underline;
}

#page-content p a:hover,
.news-1 p a:hover,
.news-2 p a:hover,
.right-content a:hover {
	border-bottom-style: solid;
}


.items a {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

.group:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.group {
	display: inline-block;
}
 
html[xmlns] .group {
	display: block;
}
 
* html .group {
	height: 1%;
}

/* -- Slider -- */

#slides .slides_control {
	height: 205px !important;
	margin-bottom: 12px;
	overflow: hidden;
}

#slides ul.pagination {
	margin-left: 0px;
}

#slides ul.pagination a,
#slides .prev,
#slides .next {
	text-indent: -9999px;
	height: 7px;
	width: 8px;
	background: url('images/sprSliderNav.png') no-repeat -13px 0;
	display: block;
	float: left;
	margin-right: 5px;
	border: none;
	outline: none;
}

#slides .prev {
	background-position: 0 0;
}

#slides .next {
	background-position: -27px 0;
}

#slides ul.pagination li {
	display:inline;
}

#slides ul.pagination li.current a {
	background-position: -13px -7px;
}

#slides .slide {
	background: url('images/bgSlider.jpg') no-repeat 0 0;
	min-height: 206px;
	padding: 25px 0;
	width: 605px;
	position: relative;
	font-family: Helvetica, Arial, sans-serif;	
}

#slides .slide h2 {
	font-size: 21px;
	color: #fff;
	margin: 0 0 .25em 25px;
	text-transform: none;
}

#slides .slide .text {
	background: #7bbcca;
	max-width: 390px;
	color: #fff;
	padding: 8px 10px 8px 25px;
	line-height: 1.3em;
}

.slider-button {
	display: inline-block;
	height: 34px;
	line-height: 34px;
	padding: 0 10px;
	margin-left: 25px;
	border-left: 1px solid #a9b244;
	border-right: 1px solid #a9b244;
	background: url('images/bgButton.png') repeat-x 0 50%;
	color: #fff;
	text-transform: uppercase;
	-webkit-border-radius: 2px 2px 2px 2px;
	-moz-border-radius: 2px 2px 2px 2px;
	border-radius: 3px 3px 3px 3px;
	position: absolute;
	bottom: 75px;
	font-weight: bold;
}
/* -- NEWS --*/
#news-header {
	margin-bottom: 35px;
}


/* -- 404-PAGE --*/
.error404 {margin:0;width:100%;}
.error404 h1,.error404 h2 {margin: 10px auto;}

/* -- COMMENTS -- */
div.comments-wrap {margin:15px auto; padding:0;}
li.comment,li.trackback, li.pingback {margin: 10px auto;}
ul.children {margin-left:10px;margin-top:.5em}
ul.commentlist, ul.pinglist {margin:10px 0;}
div.reply {}
textarea#comment {overflow:auto}

/* -- ALIGNMENTS --*/
img.alignright {float:right;clear:none;margin:0 0 1em 1em}
img.alignleft {float:left;clear:none;margin:0 1em 1em 0}
img.aligncenter {display: block; margin:1em auto; text-align:center; border-color:#fff;}
img.alignnone {margin:0 0.5em 0 0;}

/* -- NAVIGATION --*/
div.navigation {font-family: Helvetica, Arial, sans-serif;width:100%;height:auto;float:left;clear:both;padding: 10px 0px;}
div.navigation a {color: #454546;}
.navigation-index {}
.nav-next {float:right;clear:none;width:48%; text-align:right;}
.nav-prev {float:left;clear:none;width:48%; text-align:left;}

/* -- Gallery -- */
.ngg-gallery-thumbnail img {
	border: none !important;
}
.ngg-gallery-thumbnail img:hover {
	background-color: #fff !important;
}
div#shDisplay img#shTopImg {
	border:none !important;
}
/* -- footer */
#footer #footer_social {
	position: absolute;
	top: 38px;
	width: 100%;
}

#footer_social .social {
	width: 940px;
	margin: 0 auto;
	
}

.ie7 #footer_social .social {
	margin:0;
}


#footer #footer_social .social {
	margin: 0 auto 0 auto;
}

#footer #footer_social ul li {
	float:left;
	margin:0;
}

#footer .footer-menu {
	position: absolute;
	right: 0;
	top: 45px;
	text-align: right;
	width: 100%;
}

#footer .footer-menu ul {
	width: 940px;
	margin: 0 auto;
}

#footer .footer-menu ul li {
	border: none;
	padding: 0;	
}

#footer .footer-menu ul a {
	color: #fff;
	font-family: Helvetica, Arial,sans-serif;
	margin-left:18px;
}
/* -- Shop Layout */
body.page-template-default #new-carealive-merchandise-header {
	display: none;
}
