/*
Theme Name:     cdrf
Theme URI:      http://cdrf.org/
Description:    Child theme for the Twenty Eleven theme
Author:         David Kerr and Michael Hauser
Author URI:     http://www.davidkerrdesign.com
Template:       twentyeleven
Version:        0.1.0
*/

@import url("../twentyeleven/style.css");
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);


body {
	background: url('images/background.jpg') repeat-x left top;
	background-color: #518D43;
    color: #535353;
    font: 13px Verdana, Arial, sans-serif;
    line-height: 18px;
}

body.page-template-form-page-php {
    background: none !important;
}

#page {
margin-top: 0px;
background: transparent;
max-width: 960px;
}

#main {
	background: white;
	padding: .625em 0 0;
}

#primary {
	background: white;
}

#branding {
	border: none;
	background: white;
	height: 161px;
}

#logo {
	float: left;
	height: 138px;
	width: 252px;
	margin-top: 13px;
	margin-left:15px;
	position: absolute;
}
#access {
    background: transparent;
    box-shadow: none;
    margin-bottom: 0;
	border-bottom: 9px solid #74A5C2;
	position: relative;
	top: 131px;
}

#access ul {
    float: right;
    font-size: 15px;
}
#access div {
    margin: 0;
}

#access a {
    font-family: Arial,sans-serif;
    font-weight: bold;
    font-size: 15px;
    line-height: normal;
    color: #74A5C2;
    padding: 4px 0.8em;
}

#access ul ul {
    top: auto;
}

#access .current_page_item > a, #access .current_page_ancestor > a, #access .current_page_parent > a {
	color: #405b7f;
}

#access li:hover > a, #access a:focus {
    color: #405b7f;
	background: #ffffff;
}

#menu-main > li.current_page_item,
#menu-main > li.current_page_ancestor,
#menu-main > li.current_page_parent {
    border-bottom: 8px solid #405b7f;
	margin-bottom: -8px;
}

#access ul ul *:hover > a {
    background: #435B7A;
	color: #ffffff;
}

#access ul ul {
    box-shadow: none;
}

#access ul li ul li {
	border-top: 1px dotted #5F8EAC;
	background-color: #74A5C3;
}

#access ul ul a {
    background: #74a5c2;
    border-bottom: none;
    color: #ffffff;
    font-size: 12px;
    text-transform: none;
    padding: 8px 1.0em;
    font-family: Verdana;
    width: 150px;
}
.entry-title, .entry-title a {
	color: #1982D1;
	font: 18px Verdana, sans-serif;
	padding-top: 0px;
}
.blog footer.entry-meta, .category footer.entry-meta, .archive footer.entry-meta {
	display: none;
}
.blog article {
	margin: 0;
	padding: 0;
}
.blog .comments-link {
	display: none;
}
.entry-summary {
	padding: 0;
}
.page-heading, .single .entry-title, h1.entry-title, h1.entry-title a {
	color:#729965;
	font: 36px Arial, sans-serif;
}
.page-title {
	color:#729965;
	font: 36px Arial, sans-serif;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: inherit;
	margin: 0 0 .6em;
}
.entry-content {
	color: #535353;
	font: 13px Verdana, Arial, sans-serif;
}
.entry-content h2 {
	color: #535353;
	font-weight: normal;
}
.content-box-title {
	color: #ffffff;
	text-transform: uppercase;
	background: #74a5c2;
	padding: 3px 0px 3px 18px;
	font-weight: bold;
	letter-spacing: .09em;
}
.content-box {
	border: 1px solid #74a5c2;
	margin-bottom: 10px;
	overflow: auto;
}
.content-box-content {
	margin: 5px 10px 10px 10px;	
}
div.content-box-content p {
	margin-bottom: 0px;
}
div.content-box-content img[class*="align"], img[class*="wp-image-"] {
border: none;
margin: 0px 0px 0px 15px;
}
#site-generator {
background: transparent;
border-top: 9px solid #74A5C2;
color: white;
font-size: 10px;
padding: 0;
text-align: left;
}
#site-generator a {
color: inherit;
font-weight: inherit;
}
.subhead {
	font: 18px Verdana, serif;
}
.rcmimage {
	float: left;
}
.rcmtext {
	font: 12px Verdana, sans-serif;
	color: #898a8a;
	float: left;
	width: 220px;
	margin-left: 8px;
}
.widget a {
	font: 13px Verdana, sans-serif;
}

.widget ul li {
list-style: none;
}

.widget-title {
	color: #ffffff;
	text-transform: uppercase;
	background: #74a5c2;
	padding: 3px 0px 3px 18px;
	font: bold 14px Arial, sans-serif;
	letter-spacing: .09em;
}
.widget-title a {
	color: #ffffff;
	font: bold 14px Arial, sans-serif;
}

#text-2 li, #text-7 li, .navigation-widget li {
background: #e3e3e3;
margin-top: 1px;
padding: 3px 4px 3px 20px;
}

.widget {
    opacity: .99;  /* work around chrome bug? */
}

.navigation-widget li.nav-subpage {
	padding-left: 30px;
}

#text-2 .widget-title, #text-7 .widget-title, .navigation-widget .widget-title, .navigation-widget .widget-title a {
	background: #729965;
}

#text-3, #query-posts-2, #query-posts-3, #query-posts-5, #query-posts-6, #query-posts-7, #text-12  {
	border: 1px solid #74a5c2;
}

#text-3 li, #query-posts-2 .entry-title, #query-posts-3 .entry-title, #query-posts-5 .entry-title, #query-posts-6 .entry-title, #query-posts-7 .entry-title {
	margin-top: 10px;
	padding: 0px 4px 3px 26px;
	list-style: none;
	background: url('images/blue-arrow.png') no-repeat 10px 6px;
}
	
#text-3 li a, #query-posts-2 .post a, #query-posts-3 .post a, #query-posts-5 .post a, #query-posts-6 .post a, #query-posts-7 .post a {
	margin-top: -5px;
	color: #1982D1;
}

#query-posts-2 .entry-title, #query-posts-3 .entry-title, #query-posts-5 .entry-title, #query-posts-6 .entry-title, #query-posts-7 .entry-title {
	font: 13px Verdana, Arial, sans-serif;	
	padding-right: 1px;
}

#query-posts-2 .hentry, #query-posts-3 .hentry, #query-posts-5 .hentry, #query-posts-6 .hentry, #query-posts-7 .hentry {
	margin: 0;
	padding: 0;
}

#text-4 {
	border: 1px solid #729965;
}

#text-4 .widget-title {
	color: #ffffff;
	text-transform: uppercase;
	background: #729965;
	padding: 3px 0px 3px 18px;
	font: bold 14px Arial, sans-serif;
	letter-spacing: .09em;
	margin-bottom: 10px;
}

#text-4 li {
	padding: 0px 4px 10px 26px;
	list-style: none;
	background: url('images/blue-arrow.png') no-repeat 10px 6px;
}

#text-5 {
	margin: 0 0 8px;
}

#text-12 form {
	margin: 10px;
}

a:focus,
a:active,
a:hover {
	text-decoration: none;
}

#primary {
	margin: 0 -24% 0 0;
}

#secondary {
	margin-right: 1.5%;
	margin-top: 0px;
	width: 22.3%;
}

#content {
	margin: 20px 27.5% 0 1.5%;
	width: 71%;
}

.home #primary {
	margin: 0 -40% 0 0;
}

.home #secondary {
	margin-right: 1.5%;
	margin-top: 5px;
	width: 36.3%;
}

.home #content {
	margin: 0 24% 100px 1.5%;
	width: 56%;
}


.flexslider {
    border: none !important;
    border-radius: 0;
}
#content .slides {
    margin-bottom: 0px;
}
.flex-caption {
background: rgba(0, 0, 0, .6) !important;
padding: 3% 0% 3% 4% !important;
font: 13px Verdana, sans-serif !important;
color: #e1f1ff !important;
}
.flex-caption p {
	margin-bottom: 16px !important;
	margin-right: 12px !important;
}

div.flex-caption strong {
font-weight: bold;
color: white;
}

.flexslider a:focus,
.flexslider a:active,
.flexslider a:hover,
.flexslider a {
text-decoration: none;
}

.flex-container {
  margin-bottom: 35px;
}

.login-text {
	position: absolute;
	top: 2.8em;
	right: 2%;
	font: 10px Verdana, Sans-serif;
	color: #898a8a;
	text-transform: uppercase;
}

.terms-of-use-link {
	position: absolute;
	top: 0.5em;
	right: 2%;
	font: 9px Verdana, Sans-serif;
	text-transform: uppercase;
}
.terms-of-use-link a {
	color: #729965;
}
#branding #searchform {
top: 1.3em;
right: 12%;
}

.flex-control-nav {
/* bottom: 4px !important; */
/* text-align: left !important; */
/* margin-left: 25px !important; */
}

.flex-control-nav li a {
	
}

.clear {
	clear:both;
}

.hentry, .no-results {
border-bottom: none;
}

.sharing-buttons {
 padding-top: 25px;
}

/* CDQAP Home Page */

.page-template-cdqap-home-page-php #page { max-width: 1000px;}

.page-template-cdqap-home-page-php #primary {
	float: left;
	margin: 0 -26.4% 0 0;
	width: 100%;
}

.page-template-cdqap-home-page-php #content {
	margin: 0 34% 0 1.5%;
	width: 31%;
}
.page-template-cdqap-home-page-php #secondary {
    float: right;
    margin-right: 1.5%;
	margin-top: 10px;
    width: 20.8%;
}
.page-template-cdqap-home-page-php #inner-sidebar{
	position:relative;
    float: left;
    width: 34.5%;
    margin-left: -34.5%;
	margin-top: 94px;
}
.page-template-cdqap-home-page-php .hentry {
    padding: 0 !important;
}
.page-template-cdqap-home-page-php .entry-meta .edit-link a {
    top: 0 !important;
}
.page-template-cdqap-home-page-php .entry-header .entry-title {
    display: none;
}

/* Default right sidebar (Twenty Elevens) with extra sidebar alignment fix*/
#inner-sidebar{
	position:relative;
	float: right;
	margin-right: 1.5%;
	width: 36.5%;
}

/* Extra sidebar fix for narrow browsers/media devices */
@media (max-width: 800px) {
#main #inner-sidebar{
		float: none;
		margin: 0 7.6%;
		width: auto;
	}
#inner-sidebar {
    float: left;
    margin-left: 7.6%;
    position: relative;
    width: 18.8%;
	}
}

.resource-binder {
	background-color: #feeeb3;
	border: 1px solid #77a4c1;
	padding: 10px 8px;
	color: #535353;
}

.resource-binder h2 {
	font: bold 20px Verdana, serif;
}

h2 {
	font: 20px Verdana, serif;
}

.resource-binder-row {
	text-align: center;
	padding: 8px 0px;
	float: left;
	margin-right: 0px;
}

.resource-binder-row dl {
	float: left;
	margin: 0 1px;
}

.resource-binder-row dt {
	font-weight: normal;
}

.resource-binder-row dt img {
	width: 107px;
	height:137px;
	-moz-box-shadow: 3px 3px 3px #ccc;
	-webkit-box-shadow: 3px 3px 3px #ccc;
	box-shadow: 3px 3px 3px #ccc;
	}
}

.resource-binder-row a {
	text-decoration: none;
}

.project-logo {
	height: 120px;
}

.cdqap-home-logo {
	height: 165px;
}
#cdqap-home-title {
	color: #729965;
	font: 36px Arial, sans-serif;
	margin-left: 16px;
	margin-top: 40px;
}

.cdqap-image-right-below {
	float: right;
	clear: right;
}

.contact-form {
	clear: both;
}
.contact-form td {
	border-top: none;
	padding: 0px 10px 6px 0;
}
.contact-form table {
	border-bottom: none;
}
.wpcf7 .form-field-label {
	text-align: right;
}
.wpcf7 .form-field-label-required {
	text-align: right;
	font-weight: bold;
}
.wpcf7 .form-field-textarea {
	text-align: right;
	vertical-align: top;
}

.wpcf7 .form-field-textarea-required {
	text-align: right;
	vertical-align: top;
	font-weight: bold;
}

a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
a:hover img {
	border-color: transparent;
	background-color: transparent;
}

.tribe-events-schedule h3 {
  line-height: 1.2em;
}
.events-archive .tribe-events-event-entry p, .venue-events .tribe-events-event-entry p {
	margin:0;
	font-size: 13px !important;
	line-height:inherit !important;
}

.tribe-events-list-widget ol li {
  margin-bottom: 5px !important;
  padding-bottom: 8px;
}

ol.vcalendar {
  margin-left: 1em;
}

.tribe-events-list-widget .duration {
  font-weight: 400 !important;
    margin-left: .2em;
}

.tribe-events-list-widget .entry-title a {
  font-size: 14px;
  line-height: 14px;
}

.tribe-events-list-widget .entry-title {
  padding-right: .6em;
  padding-bottom: 1px;
  font-size: 14px;
}

.tribe-events-list-widget .widget-title {
  margin-bottom: 6px;
}


div.content-box-content img[class*="align"], img[class*="wp-image-"] {
margin: 0px 0px 0px 0px;
}
img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img {
padding-left: 0px;
}

#ninja_form .label-left {
	text-align: right;
	width: 135px;
	margin: 0;
	float: left;
	margin-right: 15px;
}
#ninja_form input, #ninja_form textarea {
	width: 195px;
	display: block;
	float: left;
	margin: 0;	
}
#ninja_form .field-group {
	margin-bottom: 2px;
}
#ninja_form input[type="text"].ninja_req, #ninja_form input[type="password"].ninja_req, #ninja_form textarea.ninja_req {
	border: 1px solid #000;
}
#ninja_form .required-item, #ninja_form .req-item-desc {
	display: none;
}
#ninja_form h3.ninja_form_heading {
	background: #888;
	color: #fff;
	padding-left: 4px;
	text-transform: none;
	font-weight: bold;
	line-height: 18px;
	margin-bottom: 10px;
	margin-top: 10px;
}
#ninja_form h4.ninja_form_heading {
	text-transform: none;
	font-style: italic;
	margin-bottom: 7px;
	margin-top: 7px;
}

blockquote {
	padding: 10px 10px 0px 10px;
	border: 1px solid #D5D5D5;
	background-color: whiteSmoke;
	margin: 20px 0px;
	overflow: hidden;
}

#comments {
display: none;
}


@media (max-width: 875px) {
  #access {
	top: 134px;
  }
  #branding {
	padding-bottom: 35px;
  }
}

@media (max-width: 610px) {
  #branding {
	padding-bottom: 60px;
  }
}

@media (max-width: 491px) {
  #branding #searchform {
	top: 135px !important;
  }

  #access {
	top: 170px;
  }

  #branding {
	padding-bottom: 85px;
  }
}

.with_frm_style .frm_major_section {
  padding-top: 10px;
}

.with_frm_style .frm_major_section h2 {
  color: #ffffff;
  background-color: #888888;
  padding-left: 5px;
  font-size: 1.2em;
}

.with_frm_style .frm_section_label2 label.frm_primary_label {
  font-size: 14px;
}


.with_frm_style .frm_section_subheading h2 {
  font-size: 17px;
}

.with_frm_style .form-field.frm_fieldgroup {
  margin-bottom: 10px !important;
}

.with_frm_style .frm_fieldgroup h2 {
  font-size: 1em;
  font-style: italic;
}

.with_frm_style .form-field {
    margin-bottom: 2px !important;
}

.with_frm_style td .form-field {
    margin-bottom: 0 !important;
}

.with_frm_style .fieldgroup_switch {
  margin-bottom: 10px !important;
}

.with_frm_style .frm_form_field h2 {
  margin-top: 20px;
  margin-bottom: 5px;
}

.with_frm_style .frm_form_field {
  max-width: 940px;
}

.entry-content td, .comment-content td {
    border-top: 1px solid #DDDDDD;
    padding: 0;
}

.hidden_label label {
  visibility: hidden;
}

.radio_group {
  border: 1px solid #DDDDDD;
  padding: 10px;
  margin: 5px 100px 5px 5px;
}

.with_frm_style .frm_top_container {
  margin-bottom: 10px !important;
}

.with_frm_style input[type="button"], .frm_save_draft, .with_frm_style .view_as_pdf {width:auto;font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;font-size:14px;height:auto;text-align:center;background:#eeeeee url();border-width:1px;border-color:#dddddd;border-style:solid;color:#444444;cursor:pointer;font-weight:normal;-moz-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;text-shadow:none;padding:3px 8px;-moz-box-sizing:content-box;box-sizing:content-box;-ms-box-sizing:content-box;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc');background:-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc));background:-moz-linear-gradient(top, #eeeeee, #cccccc);-moz-box-shadow:1px 2px 3px #999999;-webkit-box-shadow:1px 2px 3px #999999;box-shadow:1px 2px 3px #999999;-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#999999')";filter:progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#999999');}
.with_frm_style input[type="button"]:focus{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#eeeeee');background:-webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#eeeeee));background:-moz-linear-gradient(top, #cccccc, #eeeeee);}


#content.form-content {
margin: 20px 1.5% 0 1.5%;
width: 97%;
}


.left-column {
	float: left;
	width: 47%;
	padding-right: 5%;
}

.right-column {
	padding-right: 3%;
}

.table_y1, .table_y3 {
 background-color: #eeeeff;
}

.error {
  color: red;
  background-color: yellow;
  border:1px solid red;
  font-size:11px;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 5px;
  height: 19px;
}

.entry-content th.subtable {
	background-color: #DDDDDD;
	border-top: 2px solid gray;
	color: white;
	padding-left: 3px;
}

.funding-application-system table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:10pt;
}

.funding-application-system tr th {
  border: 1px solid #E3E3E3;
  font-size:9pt;
  padding: 4px;
}

h2.frm_view_inverted_header {
  color: #ffffff;
  background-color: #888888;
  padding-left: 5px;
  font-size: 1.2em;
}

.all-articles {
    padding-left: 2rem;
}
.all-articles a {
    font-size: 16px;
    font-weight: bold;
}

button.clean-gray, .send-email-button {
  background-color: #eeeeee;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc));
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
  background-image: linear-gradient(top, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font: bold 11px/1 "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
  padding: 4px 0;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  width: 160px; }
  button.clean-gray:hover {
    background-color: #dddddd;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dddddd), color-stop(100%, #bbbbbb));
    background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: linear-gradient(top, #dddddd, #bbbbbb);
    border: 1px solid #bbb;
    border-bottom: 1px solid #999;
    cursor: pointer;
    text-shadow: 0 1px 0 #ddd; }
  button.clean-gray:active {
    border: 1px solid #aaa;
    border-bottom: 1px solid #888;
    -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}

.wpcf7-submit.send-email-button {
	font-size: 14px;
	margin-top: 10px;
}
