/*   
Theme Name: CCWA
Description: A custom theme for End of Life Washington
Author: Mark Root-Wiley (ccweb)
Author URI: http: //ccweb.com
Version: 1.0
*/

/*
	HTML5 Reset Wordpress Theme : : style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from: 
	
	Eric Meyer					: : http: //ericmeyer.com
	HTML5 Doctor				: : http: //html5doctor.com
	and the HTML5 Boilerplate	: : http: //html5boilerplate.com
	
	Special thanks: The Wordpress theme owes its start to an empty theme authored 
		by Chris Coyier & Jeff Starr: http: //digwp.com
	
-------------------------------------------------------------------------------*/

/* Font Import, Commence */
@import url(http: //fonts.googleapis.com/css?family=Open+Sans: 400,400italic,600,600italic,700,700italic);


/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers. 
   There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue. */
img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; clear: both; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

small { font-size: 85%; }

strong, b, th {font-weight: 700;}

td, td img { vertical-align: top; } 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.cc-clearfix:before, .cc-clearfix:after { content: " "; display: table; }  
.cc-clearfix:after { clear: both; }  
.cc-clearfix { *zoom: 1; }  


/* WordPress & a couple extra reset styles
-------------------------------------------------------------------------------*/
.screen-reader-text { position: absolute; left: -9999px; top: -9999px; }
	.skip-to-content:focus { top: 0; left: 0; }
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; clear: left; }
.alignright { float: right; clear: right; }
.alignmiddle td { vertical-align: middle; }
table td img.alignleft { margin: 0; }
.wp-caption { max-width:100%; background-color: #DDD; margin: 10px 15px; text-align: center; padding-top: 4px; }
.alignright.wp-caption { margin-right: 0; clear:right; }
.alignleft.wp-caption { margin-left: 0; clear:left; }
img.alignleft { margin: 0 15px 10px 0; }
img.alignright { margin: 0 0 10px 15px; }
.wp-caption img { 	border: 0 none; margin: 0; padding: 0; }
.wp-caption p.wp-caption-text { margin: 0; padding: 3px 8px 5px; font-style: italic; font-size: .8em; line-height: 1.4em; text-align: left; }
.wp-caption p.wp-caption-text em { font-style: normal; }
table td { padding: 5px; }

/*	j.mp/webkit-tap-highlight-color */
a: link {-webkit-tap-highlight-color: #fcd700;}

/* Mark's custom external link class */
.external:after,.menu-item.external a:after {
	display: inline-block; content: ''; width: 10px; height: 10px; margin-left: 4px;
	background: url(img/external_link.png) center center no-repeat;
	vertical-align: middle;
}
.menu-item.external:after { display: none; }

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}


/* "Grid"
-------------------------------------------------------------------------------*/
/* base styles */
.col,
.article-wrapper { margin-left: 15px; float: left; }

/* shortcode is a little different */
.shortcode.col { margin: 0 15px 0 0; }

/* column widths */
.one-col { width: 277px !important; margin-left: 0px; }
.two-col,
.article-wrapper { width: 570px !important; margin-left: 0; }

/* first column on new row */
.col.first,.
.two-col,
.article-wrapper { clear: left; }

/* last column has no margin */
.shortcode.last,
.col.last { margin: 0; }

/* Colors */
.cc-dark-blue { background: #6A2446 !important; }
.cc-flat-blue { background: #6A2446 !important; }
.cc-light-blue { background: #6A2446 !important; }
.cc-green { background: #6A2446 !important; }
.cc-green2 { background: #6A2446 !important; }
.cc-dark-green { background: #6A2446 !important; }
.cc-orange { background: #6A2446 !important; }
.cc-dark-gray { background: #6A2446 !important; }


/* Structure
-------------------------------------------------------------------------------*/
html {
	background: #fff;
}

body {
	width: 821px; margin: 10px auto;
	background: #fff url(img/sidebar_bg.gif) right top repeat-y scroll;
	box-shadow: 0 0 20px #aaa;
}

.header {
	background: #fff;
}

.article-wrapper {
	background: #fff;
}

.sidebar {
	float: right; width: 220px;
	background: #D5D58D;
}

.footer {
	float: left;
	width: 791px; padding: 5px 15px;
	background: #D5D58D; border-top: 1px solid #999; border-bottom: 0 !important;
}

/* Consistent padding */
.header,
.cc-page-banner,
.article-wrapper,
.cc-sidebar-nav-wrapper,
.cc-sidebar-widgets,
.cc-page-banner,
.cc-docs-box {
	padding: 15px;
}

/* some bottom borders */
.header,
.cc-page-banner,
.cc-sidebar-nav-wrapper,
.footer {
	border-bottom: 1px solid #999;
}

/* For things that need to stretch across the full width without padding */
.cc-full-width {
	position:relative; left:-15px;
	width:100%; padding:10px 15px;
}


/* Header
-------------------------------------------------------------------------------*/
/* Site title */
.site-title {
	float: left; margin: 0;
}
.site-title a {
	display: block; width: 330px; height: 130px;
	border: 0; background: url(img/eol-logo.png) top left no-repeat;
	text-indent: -9999px;
}
.home .site-title a {
	width: 220px;
}

.cc-text-sizer,
.cc-national {
	float: right; clear:right;
	text-align: right;
}

.cc-text-sizer {
	position: relative;
	margin-bottom: 10px;
	line-height: 23px;
}

#jfontsize-minus,
#jfontsize-default,
#jfontsize-plus { font-weight:800; }
#jfontsize-default { font-size: 1.1666em; }
#jfontsize-plus { font-size: 1.3333em; }

#cc-fontsize-help {
	display: inline-block; width: 20px; height: 21px;
	background: url(img/icon_help.png) left top no-repeat;
	border-bottom: 0;
	cursor: help;
	text-align: left; text-indent: -9999px;
	color:#555; font-weight:800; /* fallbacks */
	opacity: .5;
}
#cc-fontsize-help:hover {
	opacity: 1;
}

#cc-fontsize-tooltip {
	display: none; /* for jquery */
	position: absolute; top: 25px; right: 0px; z-index: 100;
	width: 200px; padding: 10px;
	background: #fff; border: 1px solid #999;
	text-align: left;
	color:#333; font-size: 1.25em; line-height: 1.4em;
	border-radius: 5px;
	box-shadow: 2px 2px 3px rgba(0,0,0,.4);
}
#cc-fontsize-tooltip ul {
	padding-left: 20px;
	list-style: square;
}

.cc-national {
	margin: 10px 0 0;
	font-size:.8333em; line-height:1em;
}
.cc-national img {
	margin-bottom: 5px;
}

/* Search */
.searchform {
	position: relative;
}
.sidebar .searchform { margin-bottom:15px; }
.s {
	width: 100%; padding: 3px;
	border: 1px solid #ccc;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.s:not(:focus) { 
	font-style: italic;
}
.searchsubmit {
	position: absolute; top: 1px; bottom: 1px; right: 1px; width: 25px;
	background: #9C0B4E url(img/icon_search.png) center center no-repeat;
	border: 0;
	text-indent: -9999px;
}
.searchsubmit:hover {
	background-color: #6A2446; cursor: pointer;
}

/* "Page Banner" */
.cc-page-banner {
	top:-15px; position: relative;
	height: 138px; padding:15px;
	background: #6A2446; color: #fff;
	overflow: hidden;
}
.cc-page-banner a {
	color: #fff;
}
.cc-page-banner .wp-post-image {
	position: absolute; top:0; left:0;
}
.cc-page-banner .entry-summary {
	display: table; position: absolute; top: 0; right: 15px;
	width: 330px; padding: 10px 0; height:148px;
	font-size: 1.14285714em; line-height: 1.375em;
}
.cc-page-banner .entry-summary p {
	display: table-cell;
	vertical-align: middle;
}

.home .cc-page-banner .entry-summary {
	text-align: center;
	font-size: 1.71428571em;
}

/* Menus
-------------------------------------------------------------------------------*/
/* General Menu */
.cc-menu li {
	display: inline;
}
.cc-menu a {
	text-decoration: none;
}
.cc-main-menu a {
	/*text-transform: uppercase;*/
}

/* Main Menu */
.cc-main-menu {
	background: #9C0B4E;
	font-size: 1.1429em;
	border-bottom: 1px solid #999;
}

.cc-main-menu a {
	display: inline-block;
	line-height: 24px;
	padding: 5px 8px;
	border: 0;
	color: #fff;
}

.cc-main-menu .sub-menu li,
.cc-main-menu .sub-menu a {
	display: block;
}

.cc-main-menu .sub-menu {
	background: #9C0B4E;
	box-shadow: 2px 2px 4px rgba(0,0,0,.3);
	border: 1px solid #fff;
	margin-left: -1px;
}

.cc-main-menu-top .current_page_item > a,
.cc-main-menu-top .current_page_ancestor > a {
	background: #6A2446;
	border-left: 1px solid #999; border-right: 1px solid #999;
}

.cc-main-menu a:hover {
	background: #6A2446;
	color: #fff;
}

.cc-main-menu-top .current_page_item > a:hover,
.cc-main-menu-top .current_page_ancestor > a:hover {
	background: #6A2446;
}

.cc-main-menu .menu-item-has-children > a::after {
	display: inline-block;
	content: '';
	margin-left: 5px;
	width: 0;
	height: 0;
	/* CSS triangle! */
	border: 4px solid;
	border-color: rgba(255,255,255,.5) transparent transparent;
}
.cc-main-menu .sfHover > a {
	background-color: #6A2446;
	border: 1px solid;
	border-color: #fff #fff #6A2446;
	margin: -1px;
	z-index: 100;
}
.cc-main-menu .sfHover > a::after {
	border-top-color: rgba(255,255,255,.8);
}

/* Shared sidebar nav styles */
.cc-sidebar-nav-wrapper {
	background: #fff;
}
.cc-sidebar-nav-wrapper h3 {
	margin-bottom: 0;
}

.cc-sidebar-nav a {
	display: block;
	width: 100%; padding: 3px 15px; margin-left: -15px;
	border: 0;
	color: #253d67;
}
.cc-sidebar-nav a:hover {
	background: #eee;
}

/* Roles Menu */
.cc-roles-menu {
	
}

/* Quick Links Menu */
.cc-links-menu {
	margin-bottom: 15px;
}

.cc-highlighted-item a {
	background: #b8bf0d;
	color:#fff;
	border-bottom: 1px solid #fff;
}
.cc-highlighted-item a:hover {
	background: #b88400;
	color: #fff;
}

/* Volunteers Menu */
.cc-volunteer-menu-wrapper {
	position: relative;
	top:-15px; left: -15px;
	width:100%;
	padding: 15px;
	background-color: #a93338;
}

.cc-volunteer-menu,
.sidebar .cc-volunteer-menu-wrapper h3,
.cc-volunteer-menu a {
	color: #fff;
}


/* Footer
-------------------------------------------------------------------------------*/

/* Footer menu */
.cc-footer-menu { text-transform: none; }
.cc-footer-menu li {
	display:inline;
}
.cc-footer-menu li:not(:last-child)::after { content: "\0020|\0020"; }

.spot-footer-contact-information {
	margin-top: 15px;
}


/* Front Page
-------------------------------------------------------------------------------*/
.cc-front-news {
	margin-top: 15px;
}

.cc-front-news-title {
	background:#6A2446; border-top: 1px solid #999; border-bottom: 1px solid #999;
	color:#fff; font-size:1em; font-weight: 700;
}

.cc-featured-story {
	float: left; width: 340px; margin-right: 15px; padding: 0;
	background: transparent;
}

.cc-more-news {
	float: left; width: 205px; margin-top: 10px;
}


/* Blog
-------------------------------------------------------------------------------*/
.article-wrapper article {
	padding: 10px 0;
	clear: both;
}

.article-wrapper .sticky {
	background: #fef7cc;
	position:relative; left:-15px;
	width:100%; padding:10px 15px;
}
.article-wrapper .sticky:first-child {
	margin-top: -15px;
}
.bypostauthor {}

/* Page Navigation */
.navigation {
	margin-top: 10px;
	text-align: center;
}
.prev-posts,
.next-posts {
	display:inline; padding: 0 10px;
}


/* Asides & Widgets
-------------------------------------------------------------------------------*/
.widget { margin-bottom: 15px; }
.widget-title {}


/* Document Shortcode
-------------------------------------------------------------------------------*/
.cc-docs-container {
	padding: 15px; margin-bottom: 15px;
	background: #f7e3ec; border: 1px solid #9C0B4E;
}

.cc-docs-title {
	position: relative; top: -15px; left: -15px;
	width: 100%; padding: 5px 15px; margin-bottom: 0;
	background: #9C0B4E;
	color: #fff; text-transform: none; font-size: 1.125em;
}

.cc-docs-container .cc-doc {
	padding: 0; margin-bottom: 15px;
}

.cc-doc:last-child { margin-bottom: 0; }

.cc-doc-title {
	margin-bottom: 5px;
	font-size: 1.1429em; line-height: 1.375em; font-weight: 600;
}

.cc-doc-desc { margin-left: 20px; }


/* Typography & Links
-------------------------------------------------------------------------------*/
html {
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
	font-size: 62.5%;
}

body { font-size: 1.4em; line-height: 1.4286em; }

.header,
.footer {
	font-size: .8571em;
}

.cc-menu {
	font-size: 1.1429em; line-height: 1.5em;
}

/* Headings */
h2,h3,h4,h5,h6 { color:#6A2446;}
h1 { 
	font-size: 1.7143em; line-height: 1.25em; font-weight: 400;
}
h2 { 
	margin-bottom: 10px;
	font-size: 1.4286em; line-height: 1.3em; font-weight: 600; text-transform: uppercase;
}
h3 {
	margin-bottom: 10px;
	font-size: 1.1429em; line-height: 1.375em; font-weight: 700; text-transform: uppercase;
}
.cc-sidebar-nav-wrapper h3 {
	color: #555; font-size: 1em; text-transform: none;
}
h4,h5,h6 { font-size: 1em; }

/* Lists */
article ul,aside ul {
	list-style: disc; padding-left: 25px; margin-bottom: 16px;
}
article ol,aside ol {
	list-style: decimal; padding-left: 25px; margin-bottom: 16px;
}

/* Block level element spacing */
p,
h1,
.widget-title,
cite,
blockquote,
q,
article ul,
article ol,
aside ul,
aside ol,
.cc-document-container,
section { margin-bottom: 15px; }
/* except the last one */
article p:last-child,
article ul:last-child,
article ol:last-child,
aside ul:last-child,
aside ol:last-child,
section:last-child { margin-bottom: 0; }

/* Links */
a {
	border-bottom: 1px dotted #5D87A1;
	color: #253d67;
	text-decoration: none;
}
a:hover,
.meta a:hover {
	color: #5d87a1;
}
a:active,
.meta a:active {
	color: #70a607;
}

/* Meta */
h1 + .meta { margin-top:-10px; }
.meta { color: #666; }
.meta a { color: #666; }

/* Misc. */
blockquote {
	padding: 0 25px;
	color: #666; font-weight:700;
}

/* Site by... Link */
.mrw {
	float:left; clear:both; position:relative; left:-1px;
	width:100%; margin: 0; padding:10px 1px 0;
	background: #D5D58D;
	font-size:.7142em; text-align: right;
}
.mrw a {
	padding: 3px;
	border: 0;
	text-decoration: none; color: #444;
}
.mrw a:hover {
	padding-bottom: 2px;
	border-bottom: 1px solid #ccc; color: #444;
}

/* Buttons */
.cc-leaves-button {
	background-image: url(img/cc-leaves-overlay.png);
	background-position: center right;
	background-repeat: no-repeat;
}

.cc-button {
	display: inline-block; padding: 5px 15px; line-height: 30px;
	border:0;
	font-size: 1.4286em;  font-weight: 700; color: #fff;
}
.cc-button:hover {
	color: #fff;
}

/* Donate button */
.cc-donate {
	display: inline-block; padding: 0px 20px;
	border: 0;
	background-color:#6A2446;
	color: #fff;
	line-height: 2;
	font-weight: bold;
	font-size: 1.5em;
	border-radius: 7px;
	background-image: -webkit-linear-gradient(rgba(156, 11, 78,.5), rgba(0,0,0,.2));
	background-image: -o-linear-gradient(rgba(156, 11, 78,.5), rgba(0,0,0,.2));
	background-image: linear-gradient(rgba(156, 11, 78,.5), rgba(0,0,0,.2));
	box-shadow: 1px 1px 2px rgba(0,0,0,.7);
}
.cc-donate:hover {
	color: #fff;
	background-color: #9C0B4E;
	background-image: -webkit-linear-gradient(rgba(0,0,0,.2), transparent);
	background-image: -o-linear-gradient(rgba(0,0,0,.2), transparent);
	background-image: linear-gradient(rgba(0,0,0,.2), transparent);
	box-shadow: 1px 1px 4px rgba(0,0,0,.7) inset;
}
.cc-n4g {
	display: block; width: 190px; margin-top: 5px;
	color:#555; font-size:.7143em;
	text-align: right;
}

/* Newsletter Signup button */
.cc-email-button {
	display: block; width: 160px; padding: 10px 15px;
	background: #6A2446;
	font-size: 1em;
}
.cc-email-button:hover {
	background: #9C0B4E;
}
.cc-email-button-title {
	padding-right: 30px;
	background: url(img/icon_email.png) center right no-repeat;
	font-size: 1.4286em; line-height: 1; font-weight: 700;
}
.cc-email-button-desc {
	display: block; margin-top: 5px;
	font-size: .8571em; line-height: 1.25em;
}

/* Advance Directive button */
.cc-directive {
	background-color: #6A2446;
}
.cc-directive:hover {
	background-color: #9C0B4E;
}

/* DWDA button */
.cc-dwda {
	background-color: #70a607;
}

.cc-dwda:hover {
	background-color: #639206;
}

/* Plugin Styles
-------------------------------------------------------------------------------*/
.mtli_attachment { height: auto; }

#gforms_confirmation_message {
	background: #E06000;
	font-weight: 800;
	color: #fff;
}