/*

Theme Name: Change Agent
Description: Child theme based on Twenty Eleven, for Change Agent
Author: John Snow, Inc.
Version: 0.0.1
Template: twentyeleven

*/

@import url('../twentyeleven/style.css');

/* 'Open Sans' */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700);

/* 'Open Sans Condensed' */
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700);

/* FontAwesome font for social icons. Full source at http://fortawesome.github.com/Font-Awesome/ */
@import url(font-awesome/css/font-awesome.min.css);

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	font-family: 'Open Sans', sans-serif;
}

body {
	background: #8f9d98;
}

h3 {
	font-size: 22px;
	margin-bottom: 10px;
}

h5 {
	font-size: 12px;
}

h6 {
	font-size: 10px;
}

a {
	color: #4AA6AF;
}

#page {
	margin-top: 0;
}

/* HEADER */
#branding {
	border-top: none;
}
/*

#branding hgroup {
	margin: 0;
	padding: 15px 0 20px;
}

#branding img {
    float: left;
	margin-left: 10px;
    width: 96px;
	height: 114px;
}
*/
#title-subtitle {
	float: left;
}

#site-title, #site-description {
	margin: 0;
	padding: 0;
	color: #ffffff;
}

#site-title {
	margin-top: 50px;
}

#site-description {
	font-size: 21px;
}

#site-title a {
	font-family: 'Open Sans Condensed', sans-serif;
	text-transform: uppercase;
	font-size: 60px;
}

/*
#login-form-wrapper {
	width: 1000px;
//	height: 45px;
	margin: 0 auto;
}
*/
#loginform {
	float: right;
	margin: 25px 25px 0 0;
}

p.login-username, p.login-password, p.login-submit {
	float: left;
	color: #ffffff;
	margin: 0;
	padding: 0;
	line-height: 13px;
}

p.login-username, p.login-password {
	margin-right: 5px;
}

p.login-username input#user_login, p.login-password input#user_pass {
	position: relative;
	display: inline-block;
	margin: 0;
	width: 90px;
	border-radius: 15px;
	height: 22px;
	padding: 3px 10px;
	font-size: 13px;
	z-index: 1;
	border: none;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
}

p.login-username input#user_login {
	margin-right: 5px;
}

p.login-submit input#wp-submit {
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	display: inline-block;
	position: relative;
	background-color: #DC2625;
	font-size: 13px;
	color: #ffffff;
	width: 60px;
	height: 22px;
	border: none;
	z-index: 0;
	margin: 0px 0 0 -15px;
	border-radius: 0 15px 15px 0;
}

#changeagent-logout {
	color: white;
	float: right;
	text-transform: uppercase;
	font-size: 10px;
	margin: 20px 25px 20px 0;
}

#access #changeagent-logout a {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 10px;
	border-top: none;
	line-height: 12px;
}
/* END HEADER */

/* MENU */
#access {
    background: #4c3245;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    clear: both;
    display: block;
    float: left;
    margin: 0 auto;
    width: 100%;
	border-top: 7px solid #42a0a9;
}

@media screen and (max-width: 780px) {
	#access li {
		float: none;
	}
}

#access a {
    text-transform: uppercase;
	/*font-family: 'Open Sans Condensed', sans-serif;*/
	font-size: 13px;
	line-height: 26px;
	padding: 8px 0 0 0;
	margin: 15px 15px 10px 15px;
}

#access li:hover > a, #access ul ul *:hover > a, #access a:focus {
    background: none repeat scroll 0 0 #DC2625;
}

#access li:hover > a, #access a:focus {
    background: #4c3245;
	color: #45a2ab;
	border-top: 1px solid #45a2ab;
	line-height: 24px;
}

#access .current-menu-item > a, #access .current-menu-ancestor > a, #access .current_page_item > a, #access .current_page_ancestor > a {
    font-weight: normal;
	color: #45a2ab;
	line-height: 24px;
	border-top: 1px solid #45a2ab;

}

#access a#forgot-password {
	/*clear: both;*/
	float: right;
	margin: 0 27px 0 0;
	padding: 7px 0;
	font-size: 10px;
	border-top: none;
	line-height: 12px;
	
}
#access a#forgot-password:hover {
	color: #45a2ab;
}
/* END MENU */

.flexslider {
	border-bottom: 10px solid #dc2625 !important;
	border-radius: 0 !important;
}

/* CONTENT */
#main {
    clear: both;
    padding: 0;
}

.archive #main {
	padding: 35px 0 0 0;
}

.archive #secondary {
	padding: 0px 0 0 0;

}

.page-title {
    letter-spacing: 0.1em;
    margin: 0 0 0.6em;
    text-transform: uppercase;
	color: #000000;
	    font-size: 36px;
	    font-weight: bold;
	    line-height: 48px;
}

.entry-content h1, .comment-content h1 {
	font-size: 36px;
}

.entry-content h2, .comment-content h2 {
	font-size: 27px;
}

.singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
    margin: 0;
    width: 100%;
}

.singular .entry-meta .edit-link a {
    bottom: auto;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
}

.entry-content h3 {
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 1.45em;
	margin-top: 20px;
    text-transform: uppercase;
}

.home #content {
	padding-bottom: 30px;
}

.singular.home .hentry {
    padding: 0;
	margin: 0;
}

.issue {
	margin: 40px 0 20px 0;
}

.wp-post-image {
	float: left;
	margin-right: 15px;
}

#current-issue {
	float: left;
	width: 450px;
	margin-top: 20px;
	padding-right: 45px;
}

#current-issue h3 {
	margin-top: 0;
}

#current-issue p {
	font-size: 14px;
	margin-bottom: 5px;
}

@media screen and (max-width: 1000px) {
	#current-issue {
		width: 100%;
	}
}

#announcements-tour-mailing {
	float: left;
	width: 305px;
	margin-top: 20px;
	padding-left: 45px;
	border-left: 1px solid #cccccc;
}

@media screen and (max-width: 1000px) {
	#announcements-tour-mailing {
		width: 100%;
		margin-top: 20px;
		padding-left: 0;
		border-left: none;
	}
}

#announcements h3 {
	margin-top: 0;
}

.singular .hentry {
    padding: 0 0 30px 0;
}

img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img {
    border: none;
}

/* MP3 PLAYER CONTROLS */
.mejs-container {
	width: 18px !important;
	height: 18px !important;
	margin: 4px 5px 0 0;
	display: inline-block;
}

h1 .mejs-container {
	margin: 21px 10px 0 0;
    //vertical-align: middle;
}

.mejs-container .mejs-controls {
    background: linear-gradient(rgba(50, 50, 50, 0.7), rgba(0, 0, 0, 0.7)) repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 0;
    height: 18px !important;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.mejs-controls .mejs-button button {
    background: url("controls.svg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    cursor: pointer;
    display: block;
    font-size: 0;
    height: 16px;
    line-height: 0;
    margin: 1px 1px !important;
    padding: 0;
    position: absolute;
    text-decoration: none;
    width: 16px;
}

.mejs-controls a.mejs-horizontal-volume-slider, .mejs-controls div.mejs-time-rail, .mejs-container .mejs-controls .mejs-time, .mejs-controls .mejs-mute button, .mejs-controls div.mejs-horizontal-volume-slider {
	display: none !important;
}
/* END MP3 PLAYER CONTROLS */


/* END CONTENT */

/* FOOTER */
#colophon {
	/**border-top: 10px solid #dc2625;**/
}

#site-generator {
    background: none repeat scroll 0 0 #CFDDD7;
    /*border-top: none;*/
    color: #ffffff;
    padding: 2.2em 1.8em;
    text-align: left;
}

#site-generator a {
    color: #DC2625;
	text-decoration: none;
}

#logos {
	float: right;
}

@media screen and (max-width: 500px) {
	#logos {
		margin-top: 20px;
		float: left;
	}
}

#logos img:first-of-type {
	margin-right: 25px;
}

/* END FOOTER */

/* MISCELLANEOUS */
.clear {
	clear: both;
}

/*** SUBSCRIBE FOOTER  ***/

#subscribe_footer {
	background: #42a0a9;
    color: #ffffff;
    padding: 2.2em 60px;
    text-align: left;
	overflow: hidden;
}

#subscribe_footer p {
	font-weight: 600;
	margin-bottom: 0px;
}

.left_text {
	width: 70%;
	margin-right: 5%;
	float: left;
}

.right_button {
	width: 25%;
	float: left;
}

a.subscribe_button {
	width: 100%;
	background: #fff;
	color: #dc2625;
	padding: 10px 0;
	position:relative;
	display: inline-block;
	border-radius: 5px;
	text-align:center;
}

a.subscribe_button:hover {
	background: #dc2625;
	color: #fff;
	text-decoration: none;
}


@media screen and (max-width: 780px) {
	
	#subscribe_footer {
		padding: 20px;
	}
	
	.left_text,
	.right_button {
		float: none;
		width: 100%;
		text-align:center;
	}
	
	.right_button {
		width: 50%;
		margin: 20px auto 0px auto;
	}
}


/*** END SUBSCRIBE FOOTER  ***/

.post_content {
	position: relative;
	margin-bottom: 30px;
}

.post_thumb {
	width: 100%;
	overflow: hidden;
	position: relative;
	margin-bottom: 10px;
}

.post_thumb img {
	width: 100%;
	height: auto;
}

.post_meta {
	font-size: 12px;
	margin-top: -5px;
	margin-bottom: 10px;
}

h2.post_title {
	font-size: 24px;
}

.category-blog-post #content {
    margin: 0 7.6%;
    position: relative;
    width: 65%;
}

.category-blog-post  .post_content {
	/*width: 75%;*/
}

.widget-title {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    text-transform: uppercase;
}

ul.postsbycategory {
	list-style-type: none;
	margin-left: 0;
}
 
.postsbycategory img {
float:left; 
padding:3px;
margin:3px;
border: 3px solid #EEE;
}

ul.postsbycategory li {
	overflow: hidden;
}

.widget-content h3 {
    overflow-wrap: break-word !important;
}
