/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  04: 3 Col Flex Sidebar Right and Left
  ------------------------------------------------
*/

body {
font-family: "DejaVu Sans", "URW Gothic L", "Helvetica Neue", Helvetica, Arial, "Microsoft Sans Serif", sans-serif;
/***color: #000;**/
margin: 0px;
padding: 0px;
font-size: 1em;
padding-bottom: 4em;
background-image: url(../images/background.jpg);
}
img {
	vertical-align: bottom;
}
#social
{
text-align: right;
margin: 10px;
clear:both;
}
#social img
{
margin: 0 14px;
}
.masthead {
padding: 10px 10px;
text-align: center;
position: relative;
z-index: 10;
background-image: url(../images/banner.png);
background-position: center;
background-repeat:no-repeat;}

.content-wrapper {
	/***was
	margin: 4em 1.25em 0em 1.25em;*/
	/***margin: .75em 1.25em 0em 1.25em;*/
	margin:0; padding:0;/***081418*/
	overflow: hidden;
}
.columns-wrapper {
	overflow: hidden;
	position: relative;
}
.columns-wrapper, .menu-top-wrapper {
	max-width: 1260px;
	margin: auto;
}
/*** 091418 took all margin/padding out to see what is going on, then added 60px to top on sides*/
.main-content {
	float: left;
	width: 33%;
	position: relative;
	left: 33%;
	margin: 0 ; padding:0;
	}

.sidebar {
	width: 33%;
	float: left;
	position: relative;
	left: -33%;
	margin: 60px 0 0 0; padding:0;
	}

.sidebar-right {
	width: 33%;
	float: right;
	margin: 60px 0 0 0; padding:0;

	}

.main-content, .sidebar, .sidebar-right {
	-webkit-transition: all linear .35s .1s;
	transition: all linear .35s .1s;
}
.main-content .content, .sidebar .content,
.sidebar-right .content {
	/***was padding:50px;***/
	/***padding: 0 50px;***081418*/
	font-size: .9em;
	line-height: 1.5em;
	text-align: center;
	margin:0; padding:0;
}

/*Heading styles*/
h1, h2, h3, h4 {
margin: 30px 0px 0px 0px;
font-family: "DejaVu Sans", "URW Gothic L", "Helvetica Neue", Helvetica, Arial, "Microsoft Sans Serif", sans-serif;
font-weight: bold;
font-color: #306;
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.35em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }

/*A utility rule assigned to the first heading to remove top margins.*/
.content h1:first-child,
.content h2:first-child,
.content h3:first-child,
.content h4:first-child {
	margin-top: 0px;
}


/*Make Image Scalable - Assign this class to any image to make it scale with the browser window size*/
img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	border-radius: 5px;
}
.fancy {
	border: 1px solid rgba(255,255,255,.2);
	box-shadow: 0px 0px 30px rgba(0,0,0,.65);
}
.sidebar ul, .sidebar ol, .sidebar-right ul, .sidebar-right ol {
	margin: 0 0 0 .5em;
	padding: 0 0 0 .5em;
	line-height: normal;
}
.sidebar li, .sidebar-right li { 
	margin-bottom: 4px; 
}

/*Ordinary Link Styles*/
.content a {
	color: #306;
	text-decoration: none;
}
.content a:hover, .content a:focus {
	color: #606;
}
.footer a {
	color: #e0d5e8;
	text-decoration: none;
}
.footer a:hover, .footer a:focus { color: #fff; text-decoration: none; }


/*The DIVs that contains the horizontal menu bar at the top of your page.*/
.menu-top-wrapper .p7DMM01 {
	background-color: transparent;
	border: none;
	box-shadow: none;
}
.top-navigation {

	position: relative;
	z-index: 9;
}
.top-navigation:after {
	content: "\0020";
	font-size: 0px;
	display: inline;
	overflow: hidden;
	line-height: 0;
	clear: both;
}

/*The Footer*/
.footer {
	background-color: #306;
	padding: 15px 15px;
	font-size: 0.7em;
	color: #e0d5e8;
	text-align: center;
	clear: both;
	position: fixed;
	z-index: 999;
	top: auto;
	bottom: 0px;
	width: 100%;
}
.footer p.copyright {
	margin: 0px;
}


/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 700px) {
body {
	padding-bottom: 0px;
}
#social img
{
	margin: 0 2px;
}
.footer {
	position: static;
	width: auto;
}
.content-wrapper, .columns-wrapper {margin: 0px; border: none;}
.sidebar, .sidebar-right, .main-content {
	width: auto !important;
	float: none !important;
	position: static !important;
	top-margin: 0px !important;
}
/***081418 split to adjust margins/paddings on center vs. sides*/
.main-content .content {
	margin: 0; !important;
	padding: 0 15px;
	border: none;
	height: auto !important;
	max-height: 888678px;
}
.sidebar .content, .sidebar-right .content {
	margin: 0 !important;
	padding: 0 15px;
	border: none;
	height: auto !important;
	max-height: 888678px;
}
.p7DMM01 ul a, .p7DMM01 ul a:hover, .p7DMM01 ul a:focus, .p7DMM01 ul a.open {
	border-bottom: 1px solid !important;
	border-color: #89AEC9 !important;
}
.p7DMM01 ul li:last-child a {
	border-bottom: none !important;
}
}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 1280px) {
.main-content .content {margin: 0;padding: 0 15px;}/***was {padding: 20px 15px;}***/
#social img {margin: 0 5px;}
.sidebar .content, .sidebar-right .content {margin: 60px 0 0 0;padding: 0 15px;}/***was {padding: 20px 15px;}***/
.top-navigation {padding: 0px 10px;}
.content-wrapper {margin-left: 10px; margin-right: 10px;}
.main-content {width: 33%;left: 33%;}
.sidebar {width: 33%;left: -33%; margin-top: 0;}
.sidebar-right {width: 33%; margin-top: 0;}
}
