/* 
Theme Name: Directions for Women
Theme URL: http://webinmotion.ca/
Description: Custom theme for directions for women
Author: Adam Bartholomew
Author URI: adambartholomew@gmail.com
Version: 1
*/

/*  The following CSS Reset was written by Dejan Cancarevic
http://stylizedweb.com/2008/02/14/10-best-css-hacks/         */

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, del, dfn, em, font, img, ins, kbd, q, s, samp, acronym, address, big, cite, code,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-size:100%;font-family:inherit;vertical-align:baseline;margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;}caption, th, td {text-align:left;font-weight:normal;}table {border-collapse:separate;border-spacing:0;}blockquote:before,blockquote:after,q:before,q:after {content: "";}blockquote, q {quotes: "" "";}
{margin:0;padding:0;}

/* General Styles */

body {
	background: #cc0000;
	text-align: center;
	margin: 0;
	padding: 0;
	color: #333333;
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 12px;
}

h2,
h2 a {
	color: #CC0000;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	margin: 0 0 1em 0;
}

h3,
h3 a {
	color: #CC0000;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	margin: 0 0 1em 0;
}

p {
	line-height: 1.7em;
	margin: 0 0 0.75em 0;
}

ol, ul {
	margin: 0 0 15px 15px;
	padding: 0;
}

ol li,
ul li {
	margin: 0 0 10px 15px;
	padding: 0 0 0 0;
	line-height: 1.5em;
}

a, a:active, a:visited, a:link {
	color: #cc0000;
}

a:hover {
	color: #FF0000;
}

strong, b {
	font-weight: bold;
}

/* Layout */

#container {
	width: 980px;
	text-align: left;
	margin: 0 auto;
}

#content {
	background: #fff;
	padding: 32px 0;
	position: relative;
}

#content .primary-content {
	float: left;
	width: 600px;
}

#content .secondary-content {
	width: 335px;
	margin-right: 20px;
	float: left;
}

.secondary-content .inner {
	padding: 10px 15px;
}

.secondary-content h2 {
	font-size: 16px;
}

#content-nw,
#content-ne,
#content-se,
#content-sw {
	position: absolute;
	width: 32px;
	height: 32px;
}

#content-nw {
	top: 0;
	left: 0;
	background: url('images/corners.jpg') top left no-repeat;
}

#content-ne {
	top: 0;
	right: 0;
	background: url('images/corners.jpg') top right no-repeat;
}

#content-sw {
	bottom: 0;
	left: 0;
	background: url('images/corners.jpg') bottom left no-repeat;
}

#content-se {
	bottom: 0;
	right: 0;
	background: url('images/corners.jpg') bottom right no-repeat;
}

#header {
	position: relative;
	height: 97px;
}

#header #logo {
	position: absolute;
	top: 30px;
	left: 0;
	display: block;
	width: 294px;
	height: 59px;
	text-indent: -4000px;
	background: url('images/logo.jpg') top left no-repeat;
}

/* Top navigation */

#topnav {
	position: absolute;
	top: 15px;
	right: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

#topnav li {
	display: inline;
	padding: 0 5px;
	margin: 0;
	border-right: 1px solid #fff;
}

#topnav li.page-item-7 { /** last item - remove border **/
	border-right: 0;
}

#topnav li a {
	color: #fff;
	text-decoration: none;
}

/* Main Navigation */

#mainnav {
	position: absolute;
	right: 9px;
	bottom: 0;
}

#mainnav ul {
	float: left;
	padding: 0;
	margin: 0;
	list-style: none;
}

#mainnav ul li {
	display: inline;
	margin: 0;
	padding: 0 15px 0 0;
  float: left;
  background: transparent url("images/mainnav.jpg") no-repeat right top;
}

#mainnav ul li a {
	position: relative;
	display: block;
	height: 40px;
	line-height: 47px;
	color: #cc0000;
	font-size: 16px;
	float: left;
	text-decoration: none;
	padding: 0 5px 0 20px;
	margin: 0;
	background: url('images/mainnav.jpg') top left no-repeat;
}

#mainnav ul li a span {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	background: url('images/mainnav.jpg') top right no-repeat;
	width: 20px;
	height: 40px;
}

#mainnav ul li.current_page_item, #mainnav ul li:hover  {
  background: transparent url("images/mainnav.jpg") no-repeat right bottom;
}

#mainnav ul li.current_page_item a,
#mainnav ul li:hover a {
	background: url('images/mainnav.jpg') bottom left no-repeat;
}

#mainnav ul li.current_page_item a span,
#mainnav ul li a:hover span {
	background: url('images/mainnav.jpg') bottom right no-repeat;
}

#mainnav .mainnav-left {
	display: block;
	float: left;
	width: 20px;
	height: 40px;
	background: url('images/mainout.jpg') top left no-repeat;
}

#mainnav .mainnav-right {
	display: block;
	float: left;
	width: 20px;
	height: 40px;
	background: url('images/mainout.jpg') top right no-repeat;
}

#footer {
	color: #fff;
	padding: 10px;
	margin: 0 0 40px 0;
}

#footernav {
	margin: 0 0 0 25px;
	padding: 0;
	list-style: none;
	display: inline;
}

#footernav li {
	display: inline;
	padding: 0 5px;
	margin: 0;
	border-right: 1px solid #fff;
}

#footernav li.page-item-18 { /** last item - remove border **/
	border-right: 0;
}

#footernav li a {
	color: #fff;
	text-decoration: none;
}

/* Exception overrides for homepage layout */

#content-homepage {
	background: #fff;
	padding: 32px 0;
	position: relative;
	padding: 0;
	background: url('images/homebg.jpg') top left repeat-y;
}

#content-homepage .clear {
	border-bottom: 5px solid #fff;
}

#content-homepage #content-se {
	background: url('images/corner-alt.jpg') top left no-repeat;
}

#content-homepage #content-ne {
	display: none;
}

#content-homepage .primary-content {
	float: left;
	width: 620px;
}

#content-homepage .secondary-content {
	width: 295px;
	margin-right: 20px;
	margin-left: 20px;
	padding: 32px 0;
	float: left;
}

#content-homepage .primary-content .inner {
	padding: 20px;
}

/* clearfix */

.clear {
	overflow: hidden;
	clear: both;
	width: 100%;
}

/* Single column content layout */

.single-content {
	padding: 0 20px;
	width: 55em;
}

/* Full column content layout */

.full-content {
	padding: 0 20px;
}

/* Styles for blog(posts) */

.post-title {
	margin: 0 0 0 0;
}

.post-written {
	color: #666;
	margin: 0 0 0.75em 0;
}

.postmeta {
	margin: 0 0 15px 0;
	background: #fbfbfb;
	padding: 10px 15px;
	border: 1px solid #f0f0f0;
	color: #666;
}

.postmeta p {
	margin: 0 0 0 0;
}

small {
	color: #666;
	font-size: 10px;
}

/* Blog Sidebar */

.blog-content {
	float: right;
	width: 643px;
	margin-left: 23px;
	margin-right: 32px;
}

.blog-sidebar {
	float: right;
	width: 250px;
}

.blog-sidebar h1 {
	padding-bottom: 5px;
	margin-bottom: 15px;
	font-size: 18px;
	border-bottom-width: 2px;
	border-bottom-style: none;
	border-bottom-color: #ccc;
	color: #FF0000;
}
.blog-sidebar h2 {
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: bold;
	color: #666666;
	margin-top: 10px;
}

.blog-sidebar ul {
	margin: 0 0 15px 0;
	padding: 0;
	list-style: none;
}

.blog-sidebar ul li {
	margin: 0 0 15px 0;
}

.blog-sidebar ul li ul {
	margin: 0 0 15px 15px;
}

.blog-sidebar ul li ul li {
	margin: 0 0 2px 0;
}

/*  Sean Rasmussen added these for images         */
mg.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}

em, i {
	font-style: italic;
}

u {
	text-decoration: underline;
}
.citation {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: bold;
	text-align: right;
	line-height: normal;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 25px;
	margin-left: 0px;
}
.button {
	padding:2px;
	background-color: #FF0000;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: inset;
	border-bottom-style: inset;
	border-left-style: none;
	border-top-color: #000000;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #000000;
}

/* Popups */

#popup {
	margin: 15px;
}

#popup #content {
	background: #fff;
	text-align: left;
	padding: 20px;
}

/* Popup form */

div.input {
	margin: 0 0 3px 0;
	padding: 0;
}

div.input label {
	width: 120px;
	float: left;
}

div.checkbox {
	margin: 10px 0;
}

div.checkbox label {
	float: none;
	width: auto;
}

div.input label {

}