/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  02: 2 Col Flex Sidebar Right
  ------------------------------------------------
*/

body {
	font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
	color: #000;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: .90em;
}
img {
	vertical-align: bottom;
}
	p {
	margin-top: 0;
	margin-bottom: 0.3em;
	text-align: justify;
}
.masthead {
	padding:0;
	text-align: left;
	background-color: #FFF;
	position: relative;
	z-index: 10;
	box-shadow: 1;
}

.content-wrapper {
	margin: 2em 1.25em 0em 1.25em;
	overflow: hidden;
}
.columns-wrapper {
	overflow: hidden;
	background-color: #FFF;
	position: relative;
}
.columns-wrapper, .menu-top-wrapper {
	max-width: 1260px;
	margin: auto;
}

.main-content {
	float: left;
	width: 78%;
	margin-right: 2%;
}
.sidebar {
	width: 20%;
	float: left;
}

.sidebar .content {
	padding: 20px 20px;
	font-size: .9em;
	line-height: 1.5em;
	background-color: #FFF;
	
}

.main-content .content{
	padding: 20px 30px;
	font-size: 1em;
	line-height: 1.5em;
	
}

/*Heading styles*/
h1 {
	  font-family: 'Arsenal', Helvetica, Arial, sans-serif;
	color: #1C4E76;
	line-height: 1.4em;
  letter-spacing: 0.08em;
 margin-bottom: 2px;
}

h2, h3, h4 {
	margin: 10px 0px 0px 0px;
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	color: #1C4E76;
	padding-bottom: 0;
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1em; color:#9F9A9A}
h4 { font-size: 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;
}

img.scalableright {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	border-radius: 5px;
	float: right;
	margin-top:0;
	margin-left: 20px;
	margin-bottom: 10px;
}
img.scalableleft {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	border-radius: 5px;
	float: left;
	margin-top:0;
	margin-right: 20px;
	margin-bottom: 10px;
	border: 1px solid rgba(255,255,255,.2);
	box-shadow: 0px 0px 30px rgba(0,0,0,.65);
	
}
.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;
}
.sidebar li, .sidebar2 li { 
	margin-bottom: 4px; 
}

/*Ordinary Link Styles*/
.content a {
	color: #8fBA3F !important;
	text-decoration: none;
	font-weight: bold;
}
.content a:hover, .content a:focus {
	color: #000;
	text-decoration: underline;
	font-weight: bold;
}
.footer a {
	color: #FFF;
	text-decoration: none;
	border-bottom-width: none;
	border-bottom-style: none;
}

.footer a:hover, .footer a:focus { color: #FFF; border-bottom-width: 1px;
	border-bottom-style: solid;}
	
	/*Pull quote.*/
	
	.quotebox {
    float: right;
    width: 200px;
    color: #1C4E76;
    font-size: 14px;
    line-height: 1.2;
    padding: 10px;
    margin: 12px;
}

.quotebox p {
    margin: 0;
}

.quotebox blockquote {
    font-weight: bold !important;
	font-style: italic;
    padding: 6px;
    margin: 0;
}

.quotebox .by {
    padding: 6px;
}


/*The DIVs that contains the horizontal menu bar at the top of your page.*/
.top-navigation {
	background-color: #1C4E76;
	border-bottom: 1px solid #1C4E76;
	box-shadow: 0px 0px 30px #999;
	position: ;
    z-index: 10;
}
.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: #666;
	box-shadow: inset 0px 16px 2px rgba(255,255,255,.025);
	margin-top: 10px;
	padding: 5px 5px 5px 10px;
	font-size: 0.8em;
	color: #FFF;
	text-align: left;
	clear: both;
	z-index: 999;
	top: auto;
	bottom: 0px;
	width: 100%;
}
.footer p.copyright {
	text-transform: uppercase;
	margin: 0px;
}
.calendar-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}
.calendar-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*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;
}
.footer {
	position: static;
	width: auto;
}
.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: 1280px) {
.main-content .content, .sidebar .content {padding: 20px 15px;}
.top-navigation {padding: 0px 10px;}
.content-wrapper {margin-left: 10px; margin-right: 10px;}
}
