/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  02: 2 Col Flex Sidebar Right
  ------------------------------------------------
*/

body {
	font-family:  Arial, Helvetica, sans-serif;
	color: #000;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 0.9em;
	padding-bottom: 4em;
}
img {
	vertical-align: top;
}
.masthead {
	width: 100%;
	margin: 0 auto;
	padding: 0px 0px;
	text-align: center;
	background-color: #ffffff;
	position: relative;
	z-index: 10;
/*	border-bottom: 1px solid #8ed8f7;
	box-shadow: 0px 0px 30px #000;  */
}
.content-wrapper {
	margin: 1em 1.25em 0em 1.25em;
	overflow: hidden;
}
.columns-wrapper {
	overflow: hidden;
	background-color: #FFF;
	position: relative;
}
.columns-wrapper, .menu-top-wrapper {
	max-width: 1000px;
	margin: auto;
}

.main-content {
	float: left;
	width: 70%;
	margin-right: 1%;
}
.sidebar {
	width: 29%;
	float: left;
}
.sidebar img {
    display: block;
    margin-bottom: 6px;
}

.sidebar .content {
	padding: 20px 20px;
	font-size: .9em;
	line-height: 1.5em;
	background-color: #f6e797;
	border: 3px solid #f6e797;
	border-radius: 5px;
}

.main-content .content {
	padding: 10px 50px;
	font-size: 1em;
	line-height: 1.5em;
	background-color: #fff;
	border: 3px solid #f6e797;
	border-radius: 5px;
/*	border-color: #999; */
}

/*Heading styles*/
h1, h2, h3, h4 {
	margin: 25px 0px 10px 0px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	line-height: 120%;
	color: #975085;
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.2em; line-height: 130%;  }
h3 { font-size: 1.1em; line-height: 110%; margin-top: 20px; margin-bottom: -8px; padding-bottom: 0px; }
h4 { font-size: 1.1em; margin-top: 20px; margin-bottom: 0px; font-weight: normal;}

.sidebar h1, .sidebar h3, .sidebar h4, .sidebar p {
	margin: 20px 0px 0px 0px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	font-weight: normal;
	font-size: 18px;
	line-height: 140%;
	color: #99618b;
}
.sidebar h2 {
	margin: 20px 0px 0px 0px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:normal;
	font-weight: bold;
	font-size: 14px;
	line-height: 140%;
	color: #99618b;
}
.sidebar p {
	margin: 12px 0px 10px 0px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: normal;
	font-size: 14px;
	line-height: 140%;
	
}

.sup {
	position: relative;
	bottom: 0.5em;
	font-size: 0.8em;
}
.footnote {
	font-size: 0.8em;
	line-height: 90%;
}

/*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;
} */

.main-content .content table {
	border-collapse: collapse;
	border: 0;
	width: 90%;
}
.main-content .content td {
	padding: 2px;
	margin: 0px;
	border-bottom: 1px solid #eaeaea;
}
.main-content .content td p {
	padding: 2px;
	margin: 0px;
}
.main-content .content .table-calendar th {
	text-align: left;
	font-weight: normal;
	font-size: 13pt;
	padding: 3px 6px 3px 6px;
	margin: 0px;
	background-color: #cbe5c5;
	border-bottom: 1px solid #eaeaea;
	border-top: 1px solid #eaeaea;
}
.main-content .content .table-calendar p {
	font-size: 90%;
	padding: 5px 6px 5px 6px;
	line-height: 145%;
	margin: 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 .content li { 
	margin-bottom: 8px; 
}
.main-content .content li li { 
	margin-top: 5px;
	margin-bottom: 5px; 
}
.sidebar li, .sidebar2 li { 
	margin-bottom: 4px; 
}

/*Ordinary Link Styles*/

.content a {
	color: #1e87bd;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
}
.content a:hover, .content a:focus {
	color: #75c2ea;
	border-bottom-style: solid;
}
.footer p {
	margin-top: 15px;
}
.footer img {
	margin-top: -10px;
	margin-bottom: 10px;
}
.footer a {
	color: #fff;
	text-decoration: none;

}
.footercontent a {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
}
.footer a:hover, .footer a:focus {
	color: #f6e797;
}
.footercontent a:hover, .footer a:focus {
	border-bottom-style: none;
}
a img {
 border: none;
}

/*The DIVs that contains the horizontal menu bar at the top of your page.*/
.top-navigation {
	background-color: #67c1ce;
	border-top: 1px solid #84c0c9;
	border-bottom: 1px solid #84c0c9;
/*	box-shadow: 0px 0px 10px #e0dddd;*/
	position: relative;
	z-index: 9;
}
.top-navigation:after {
	content: "\0020";
	font-size: 0px;
	display: inline;
	overflow: hidden;
	line-height: 0;
	clear: both;
}
.menu-top-wrapper .p7DMM01 {
	background-color: transparent;
	border: none;
	box-shadow: none;
}

/*The Footer*/
.footer {
	background-color: #b884ab;
/* 	box-shadow: inset 0px 16px 2px rgba(255,255,255,.025); */
	margin-top: 10px;
	padding: 10px 15px 15px 15px;
	font-size: 0.9em;
	color: #974d85;
	text-align: center;
	clear: both;
	position: static;
	bottom: 0px;
	width: 100%;
}

.footercontent {
	width: 960px;
	margin: 0 auto;
	text-align: left;
}
.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;
	float: none;
	position: static;
}
.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;
	border-color: #89AEC9;
}
.p7DMM01 ul li:last-child a {
	border-bottom: none;
}
}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 1020px) {
.main-content .content, .sidebar .content {padding: 20px 15px;}
.top-navigation {padding: 0px 10px;}
.content-wrapper {margin-left: 10px; margin-right: 10px;}
}
