/*
Theme Name: 	Manchester Bidwell Corporation
Theme URI: 		
Description: 	Custom theme based on Starkers 4.0
Version: 		1.0
Author: 		Andrew Twigg
Author URI: 	http://www.andrewtwigg.com
Tags: 			custom, starkers
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@import "css/reset.css";

div,
article,
section,
header,
footer,
nav,
li					{ position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body 				{ background:#fff; /* Don't forget to style your body to avoid user overrides */ }
::-moz-selection 	{ background:#ff0; color:#333; }
::selection 		{ background:#ff0; color:#333; }

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

body,
input,
textarea 			{ /* We strongly recommend you declare font-weight using numerical values, but check to see which weights you're exporting first */ }

h1, 
h2, 
h3, 
h4, 
h5, 
h6 					{ font-weight:bold; /* This helps to identify headings at the initial build stage, but you should write something more precise later on */ }

/* ---------------------------------------------------------------------------------------------------------- 
03 Media queries (using a mobile-first approach) ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */


/**** WORDPRESS CORE ****/



.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/**** END WORDPRESS CORE ****/



body {
	background: #e5e6e7;
	font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 1em;
	line-height: 1.8em;
	color: #6d6e70;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

div.clear {
	clear: both;
}

div#container {
	background: #fff;
	max-width: 960px;
	margin: 0 auto;
	-webkit-box-shadow:  0px 0px 14px 0px rgba(0, 0, 0, .8);        
	box-shadow:  0px 0px 14px 0px rgba(0, 0, 0, .8);
}

header {
	background: url(images/header_bg.png) no-repeat center bottom;
	background-size: 90%;
	padding-bottom:  57px;
	padding: 2.6% 4% 50px 5%;
	
}

header h1 {
	display: inline-block;
}

header img#logo {
	border: none;
}

header div.metanav {
	position: absolute;
	top:8%;
	right: 5%;
}

header div.metanav a {
	color: #4d9c2d;
	text-decoration: none;
	display: inline-block;
	vertical-align: bottom;
	padding: 0 0 0 20px;
	margin: 0;
}

header div.metanav a:hover {
	text-decoration: underline;
}

header div.metanav img {
	width: 20px;
	height: auto;
	border: none;
	padding: 0;
	margin: 0;
	vertical-align: baseline;
}

header div.menu-main-menu-container {
	position: absolute;
	bottom: 70px;
	right: 5%;
}

header ul#menu-main-menu {
	font-family: 'Roboto Condensed', 'Arial Narrow', Helvetica, Arial, sans-serif;
	font-size: 1em;
	font-weight: normal;
	font-weight: 400;
}

header ul#menu-main-menu li {
	display: inline-block;
	vertical-align: top;
	position: relative;
}

header ul#menu-main-menu li a {
	color: #58595b;
	text-decoration: none;
	display: block;
	padding: 5px;
}

header ul#menu-main-menu li a:hover {
	color: #004a97;
	text-decoration: underline;
}

header ul#menu-main-menu li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0px;
	width: 150%;
	font-size: 0.8em;
	z-index: 600;	
}

header ul#menu-main-menu li:hover ul {
	display: block;
}

header ul#menu-main-menu li:hover ul li {
	display: block;
}

header ul#menu-main-menu li ul a {
	background: #fff;
	background: rgba(255,255,255,0.8);
	border-bottom: 1px solid #ccc;
	color: #004a97;
	padding: 10px;
	width: 100%;
	transition: 0.5s linear all;
}

header ul#menu-main-menu li ul a:hover {
	background: #004a97;
	color: #fff;
	
}

header ul#menu-main-menu li ul li ul{
	display: none !important;
	position: absolute;
	top: 0;
	left: auto;
	right: -99.9%; 
	width: 100%;
	font-size: 0.9em;
	}

header ul#menu-main-menu li ul li:hover ul {
	display: block !important;
}


/*** HOME PAGE STUFF ***/

div#imageblock {
	background: url(images/sample_home_image.jpg) no-repeat #cfd1d2; 
	width: 100%;
	margin: 20px 0;
}




#page.home div#main {
	padding: 0 4% 0 5%;	
}

#page.home div#main p {
	color: #4d9c2d;
	font-size: 0.96em;
	line-height: 1.8em;
}

#page.home div#main a {
	color: #4d9c2d;
}

#page.home #features {
	border-top: 1px solid #004a97;
	padding: 20px 0 0px 1%;
	margin: 2.6% 4% 0 5%;
}

#page.home #features > div {
	width: 22%;
	padding-right: 2%;
	display: inline-block;
	vertical-align: top;
}

#page.home #features h5 {
	color: #004a97;
	font-weight: bold;
	font-weight: 500;
	text-transform: uppercase;
}


#page.home #features h6, #page.home #features p, #page.home #features li {
	font-size: 0.8em;
	line-height: 1.6em;
	padding-bottom: 0.6em;
	font-weight: 300;
}

#page.home #features a {
	color: #4d9c2d;
}

#page.home #features div p:last-child {
	padding-top: 0.4em;
}


#page.home div.donate-widget {
	background: #004a97;
	border-radius: 10px;
	color: #fff;
	padding: 20px;
}

#page.home div.donate-widget h5 {
	font-family: 'Nothing You Could Do', cursive;
	color: #fff !important;
	text-transform: none !important;
	font-weight: normal;
	font-weight: 400;
	font-size: 1.6em;
}

#page.home div.donate-widget p {
	font-size: 1em;
	color: #fff !important;
	font-size: 1.4em;
	font-weight: 500;
}

#page.home div.donate-widget a {
	color: #fff !important;
	text-decoration: underline;
}


/*** END HOME PAGE STUFF ***/


/*** START INTERIOR PAGE STUFF ***/

#page.interior div#main {
	padding: 0 3.5% 5% 5%;	
	width: 62%;
	float: left;
}

#page.standard a {
	color: #4d9c2d;
}

#page.calendar div#main a {
	/** DO NOT DEFINE so calendar category colors work **/
}

#page.calendar div.my-calendar-nav {
	z-index: 20;
}

#page.calendar div#main ul li {
	padding:  0 !important;
	margin-left: 1em;
	list-style: none !important;
}
 

#page.calendar abbr[title~=Applicable]
{
	display: none;
}

#page.interior div#main img.masthead {
	width: 100%;
	height: auto;
}

#page.interior div#main h2 {
	color: #004a97;
	font-size: 1.4em;
	padding: 1em 0;
	font-weight: bold;
	font-weight: 500;
}

#page.interior div#main h3 {
	color: #4d9c2d;
	font-size: 1em;
	line-height: 1.8em;
	padding: 0 0 1em 0;
	font-weight: normal;
	font-weight: 300;
}

#page.interior div#main p {
	font-weight: 300;
	font-size: 0.8em;
	line-height: 1.8em;
	padding:  0 0 1em 0;
}

#page.interior div#main ul li {
	font-weight: 300;
	font-size: 0.8em;
	line-height: 1.8em;
	padding:  0 0 1em 0;
	margin-left: 1em;
	list-style: disc;
}

#page.interior div#main a {
	font-weight: normal;
	font-weight: 400;
}

#page.interior div#main a:hover {
	text-decoration: underline;
}

#page.interior div#features {
	padding: 0 2% 5% 3%;	
	width: 23%;
	border-left: 1px solid #d0d2d3;	
	float: left;
	font-size: 0.9em;
}


#page.interior div#features > div {
	margin-bottom: 20px;
}

#page.interior #features h5 {
	color: #004a97;
	line-height: 1.4em;
	font-weight: bold;
	font-weight: 500;
	text-transform: uppercase;
}

#page.interior #features h6, #page.interior #features p, #page.interior #features li {
	font-size: 0.8em;
	line-height: 1.6em;
	padding-bottom: 0.6em;
	font-weight: 300;
}

#page.interior #features a {
	color: #4d9c2d;
}






/*** END INTERIOR PAGE STUFF ***/


/**** BREADCRUMBS ****/

div.breadcrumbs {
	font-size: 0.6em;
	padding: 20px 4% 20px 5%;
	color: #666;
}

div.breadcrumbs a {
	color: #666;
}

div.breadcrumbs a:hover {
	text-decoration: underline;
}

/**** BREADCRUMBS ****/


footer {
	padding: 2.6% 4% 50px 5%;
	margin: 0 0 70px 0;
}


footer div.affiliates-widget {
	border-top: 1px solid #004a97;
	border-bottom: 1px solid #004a97;
	padding: 20px 0 20px 1%;
	font-weight: bold;
	font-weight: 700;
	font-size: 1em;
	margin-bottom:  20px;	
}

footer div.affiliates-widget a {
	color: #4d9c2d;	
	display: inline-block;
	vertical-align: top;
	width: 15.56%;
	padding-right: 3%;
}

footer div.moreinfo {
	border-top: 1px solid #004a97;
	padding: 20px 0 20px 1%;
}

footer div.moreinfo h5 {
	color: #004a97;
	font-weight: bold;
	font-weight: 500;
	text-transform: uppercase;
}

footer div.moreinfo p {
	font-size: 0.8em;
	line-height: 1.4em;
	font-weight: normal;
	font-weight: 300;
	color: #6d6e70;
}

footer div.moreinfo a {
	color: #6d6e70;
} 

footer div.moreinfo div {
	width: 16%;
	padding-right: 3%;
	display: inline-block;
	vertical-align: top;
}

footer div.moreinfo div div {
	width: 100% !important;
}


footer div.copyright {
	font-size: 0.8em;
}

footer div.copyright a {
	color: #333;
	text-decoration: underline;
}


footer img.rad_logo {
	float:right;
}

footer ul#menu-main-menu-1 {
	font-family: 'Roboto Condensed', 'Arial Narrow', Helvetica, Arial, sans-serif;
	font-size: 1em;
	font-weight: normal;
	font-weight: 400;
	font-size: 0.8em;
}

footer ul#menu-main-menu-1 li {
	display: inline-block;
	vertical-align: top;
	position: relative;
}

footer ul#menu-main-menu-1 li a {
	color: #58595b;
	text-decoration: none;
	display: block;
	padding: 5px 0;
	margin-right: 10px;
}

footer ul#menu-main-menu-1 li a:hover {
	color: #004a97;
	text-decoration: underline;
}

footer ul#menu-main-menu-1 li ul {
	display: none !important;
}




div.ufo-form {
	font-size: 0.8em;
}

div.ufo-form label {
	padding-right: 10px;
}

div.ufo-form legend {
	font-weight: 700;
}

/**

div.ufo-form fieldset legend{
	font-weight: bold;
	font-weight: 700;
	color: #333;
}

div.ufo-form div div div > span {
	padding: 0;
	display: block !important;
}

span.ufo-cell-left, span.ufo-cell-center{
	padding: 0;
	display: block !important;
}


div.ufo-customfields-field-description {
	font-weight: normal;
	font-weight: 400;
	font-style: italic;
}


div.ufo-form label {
	padding: 0;
	display: block;
}

div.ufo-form input {
	display: block;
	border: 1px solid #555;
	margin-bottom: 2em;
	}



div.ufo-form [type=button] {
	display: block;
	width: auto;
	margin: 0 0 0 auto;
	background: #000;
	color: #fff;
	text-transform: uppercase;
	border-radius: 0;
	border: none;
	padding: 0.2em 0.4em;
	font-family: 'Roboto';
}



div.ufo-form input[type=checkbox], div.ufo-form input[type=radio] {
	margin-bottom: 0 !important;
	margin-top: 1em !important;
}


fieldset.interestareas div.ufo-customfields-field-description {
	width: 96% !important;
	display: block !important;
}


**/

a.mobilenav {
	display: none;
}

@media screen and (max-width:800px) {

	header div.menu-main-menu-container {
		position: relative;
		bottom: auto;
		right: auto;
		margin: 20px 0 0 0;
	}		



@media screen and (max-width:600px) {

	header h1 {
		display: block;
		margin: 0 auto;
		width: 171px;
	}

	header div.metanav {
		position: relative;
		top: auto;
		right: auto;
		margin: 40px 0 0 0;
	}
		
	header div.metanav div.textwidget p {
		text-align: center;
	}
	
	header div.metanav div.textwidget p a {
		padding: 0 5%;
	}

	#page.home #features > div {
		width: 96%;
		padding: 0 2% 2% 2%;
		display: block;
		vertical-align: top;
	}
	
	footer div.moreinfo > div{
		width: 96%;
		padding: 0 2% 2% 2%;
		display: block;
		vertical-align: top;
	}

	footer div.affiliates-widget a {
		width: 96%;
		padding: 0 2% 0% 2%;
		display: block;
		vertical-align: top;
	}	
	
	#page.interior div#main {
		border-bottom: 1px solid #999;
	}

	#page.interior div#main, #page.interior div#features {
		width: 92%;
		padding: 0 4% 0% 4%;
		display: block;
		vertical-align: top;
		float: none;
	} 
	
	
	
	footer ul#menu-main-menu-1 {
		diplay: block;
		width: 100%;
		font-size: 1em;
	}
	
	footer ul#menu-main-menu-1 li {
		width: 100%;
		display: block;
		border-bottom: 1px solid #fff;
	}
	
	footer ul#menu-main-menu-1 li a {
		width: 94%;
		display: block;
		padding: 1em 3% 1em 3%;
	}
	
	footer ul#menu-main-menu-1 li:hover {

	}
	
	footer ul#menu-main-menu-1 li:hover a {
		border-bottom: 1px solid #aaa;
	}
	
	footer ul#menu-main-menu-1 li ul li:last-child a {
		border-bottom: none !important;
	}
	
	footer ul#menu-main-menu-1 li ul {
		display: none;
	}
	
	footer ul#menu-main-menu-1 li:hover ul {
		display: block !important;
		margin: 0;
	}
	
	footer ul#menu-main-menu-1 li ul li {
		border: none;
	}
	
	footer ul#menu-main-menu-1 li:hover ul li a{
		
		background: #ccc;
		border-bottom: 1px dotted aaa;
		
		width: 94%;
		padding: 1em 3% 1em 3%;
		margin: 0;	
	}
	
	footer ul#menu-main-menu-1 li:hover ul li a:hover {
		
		text-decoration: underline;
		
	}

	footer ul#menu-main-menu-1 li:hover ul li ul li a{	
		width: 90%;
		padding: 1em 3% 1em 7%;
	}
	
	header div.menu-main-menu-container {
		display: none;
	}
	
	a.mobilenav {
		display: block;
		border: 1px solid #ccc;
		padding: 0.8em;
		margin-top: 1em;
		font-size: 1.2em;
		text-decoration: none;
		color: #333;
		text-align: center;
		text-transform: uppercase;
		background: #eaeaea; /* Old browsers */
		background: -moz-linear-gradient(top,  #eaeaea 0%, #ffffff 35%, #ffffff 65%, #eaeaea 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eaeaea), color-stop(35%,#ffffff), color-stop(65%,#ffffff), color-stop(100%,#eaeaea)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #eaeaea 0%,#ffffff 35%,#ffffff 65%,#eaeaea 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #eaeaea 0%,#ffffff 35%,#ffffff 65%,#eaeaea 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #eaeaea 0%,#ffffff 35%,#ffffff 65%,#eaeaea 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #eaeaea 0%,#ffffff 35%,#ffffff 65%,#eaeaea 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#eaeaea',GradientType=0 ); /* IE6-9 */



	}

}

