/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  Modified by Pinsonnault Creative
  March 2013
  03: 2 Col Flex Sidebar Left
  ------------------------------------------------
*/

body {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	color: #333;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 1em;
	padding-bottom: 2em;
}
img {
	vertical-align: bottom;
}
.masthead {
	/* [disabled]padding: 10px 10px; */
	text-align: left;
	background-color: #FFFFFF;
	position: relative;
	z-index: 10;
	box-shadow: 0px 0px 30px #000;
}
.masthead .content {
	font-size: 2.5em;
	color: #660000;
	font-style: italic;
	font-weight: bold;
	padding: 10px 10px 0px;
	font-family: Tahoma, Verdana, Geneva, sans-serif;
}
.masthead .bar {
	font-size: 1.1em;
	font-weight: bold;
	color: #FFFFFF;
	background-color: #000000;
	padding: 5px 10px 8px;
	margin-top: 4px;
}

.content-wrapper {
	margin: 2em 2em 0em 2em;
	overflow: hidden;
}
.columns-wrapper {
	overflow: hidden;
	background-color: #FFF;
	position: relative;
}
.columns-wrapper  {
	max-width: 1260px;
	margin: auto;
}
.main-content {
	float: left;
	width: 48%;
	position: relative;
	left: 21%;
}
.sidebar {
	width: 20%;
	float: left;
	position: relative;
	left: -48%;
}
.sidebar-right {
	width: 30%;
	float: right;
}
.sidebar-right .leftimage {
	float: left;
	width: 49%;
	padding-top: 6px;
	padding-bottom: 3px;
}
.sidebar-right .rightimage {
	float: right;
	width: 49%;
	padding-top: 6px;
	padding-bottom: 3px;
}
.main-content, .sidebar, .sidebar-right {
	-webkit-transition: all linear .35s .1s;
	transition: all linear .35s .1s;
}
.sidebar-right .content {
	padding: 0;
/*	padding: 30px 20px;  */
	font-size: .8em;
	line-height: 1.5em;
/*	border: 1px solid;
	border-color: #333;
	border-radius: 5px; */
}
.sidebar .content {
	padding: 5px;
	font-size: 0.9em;
	line-height: 1.5em;
	background-color: #660000;
	background-image: -ms-linear-gradient(top, #660000, #333);
	background-image: -moz-linear-gradient(top, #660000, #333);
	background-image: -webkit-linear-gradient(top, #660000, #333);
	background-image: linear-gradient(top, #660000, #333);
	border: 1px solid;
	border-color: #333;
	border-radius: 5px;
}
/* 
.sidebar-right .content {
	background-color: #7BA4C1;
	background-image: -ms-linear-gradient(top, #7BA4C1, #FFF);
	background-image: -moz-linear-gradient(top, #7BA4C1, #FFF);
	background-image: -webkit-linear-gradient(top, #7BA4C1, #FFF);
	background-image: linear-gradient(top, #7BA4C1, #FFF);
}
*/

.main-content .content{
	padding: 30px;
	font-size: 1em;
	line-height: 1.5em;
	border: 1px solid;
	border-radius: 5px;
	border-color: #666;
}
.main-content p {
	margin-top: 6px;
	margin-bottom: 10px;
}
/*Heading styles*/
h1, h2, h3  , h4{
	margin: 26px 0px 0px 0px;
	font-weight: 600;
}
h1 {
	font-size: 1.5em;
	color: #660000;
}
h2 {
	font-size: 1.3em;
}
h3 {
	font-size: 1.15em;
}
h4 {
	font-size: 1.05em;
	margin-top: 6px;
}

/*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, .sidebar2 ul, .sidebar2 ol {
	margin: 0 0 0 .5em;
	padding: 0 0 0 .5em;
	line-height: normal;
}
.main-content ul, .main-content ol {
	margin: 0 0 0 0.5em;
	padding: 0 0 0 0.5em;
	line-height: normal;
	font-size: 0.9em;
}
.main-content li {
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	margin: 0 0 .5em .5em;
}
.sidebar li, .sidebar2 li, .sidebar-right { 
	margin-bottom: 4px; 
}

/*Ordinary Link Styles*/
.content a {
	color: #000000;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
}
.content a:hover, .content a:focus {
	color: #600;
	border-bottom-style: solid;
}
.footer a {
	color: #8C8C8C;
}
.footer a:hover, .footer a:focus { color: #FFF; }

/*The Footer*/
.footer {
	background-color: #FFF;
	font-size: 0.7em;
	color: #8C8C8C;
	text-align: center;
	clear: both;
	position: relative;
	bottom: 0px;
	width: 100%;
	padding-top: 1em;
}
.footer .content {
	background-color: #000000;
	margin-right: auto;
	margin-left: auto;
	padding: 10px;
	max-width: 1245px;
	border-radius: 5px;
}
.footer p.copyright {
	text-transform: uppercase;
	margin: 0px;
}


/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 700px) {
.content-wrapper, .columns-wrapper {margin: 0px; border: none;}
.sidebar, .main-content {
	width: auto !important;
	float: none !important;
	position: static !important;
}
.main-content .content, .sidebar .content {
	padding: 20px 10px;
	border-radius: 0px;
	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, .sidebar .content {padding: 10px 20px;}
.top-navigation {padding: 0px 10px;}
.content-wrapper {margin-left: 10px; margin-right: 10px;}
}
.photocredit {
	font-size: 0.9em;
	font-style: italic;
	line-height: 1.2em;
	color: #660000;
	padding-top: 12px;
	font-weight: 600;
}
.main-content .small {
	font-size: .7em;
	text-align: right !important;
}
