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

body {
	font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	color: #000;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 1em;
	padding-bottom: 4em;
}
img {
	vertical-align: bottom;
}
.masthead {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #b4ced8;
    position: relative;
    z-index: 10;
    box-shadow: 0px 0px 10px #000;
}
.masthead p {
	margin: 0px;
	padding: 0px;
}

.content-wrapper {
	margin: .5em 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: right;
	width: 76%;
}
.sidebar {
	width: 23%;
	float: left;
}

.sidebar .content {
	font-size: 1em;
	line-height: 1.5em;
	border: 1px solid;
	border-color: #333;
	border-radius: 5px;
	background-image: url(../Images/page-elements/sidebar-background.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	background-color: #f0f2e5;
}

.main-content .content{
	font-size: 1em;
	line-height: 1.5em;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}

/*Heading styles*/
h1, h2, h3, h4 {
	margin: 20px 0px 0px 0px;
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-weight: normal;
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.35em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }
ul li {
	padding-top: 5px;
	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;
}
.fancy {
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0px 0px 10px rgba(0,0,0,.65);
    -webkit-box-shadow: 0px 0px 10px 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; 
}
.sidebar .content h3 {
	margin-top: 0px;
}

/*Ordinary Link Styles*/
.content a {
	color: #006699;
	text-decoration: none;
	border-bottom-width: 1px;
}
.content a:hover, .content a:focus {
	color: #C00;
	border-bottom-style: solid;
}
.footer a {
    color: #FFF;
    font-weight: bold;
}
.footer a:hover, .footer a:focus {
    color: #D7A1A1;
}


/*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 {
    background-color: #66818C;
    box-shadow: 0px 0px 10px #999;
    position: relative;
    z-index: 9;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #666;
}
.top-navigation:after {
	content: "\0020";
	font-size: 0px;
	display: inline;
	overflow: hidden;
	line-height: 0;
	clear: both;
}

/*The Footer*/
.footer {
    background-color: #66818C;
    box-shadow: inset 0px 16px 2px rgba(255,255,255,.025);
    border-top: 1px solid #000;
    padding: 15px 15px;
    font-size: 0.8em;
    color: #FFF;
    text-align: center;
    clear: both;
    position: fixed;
    z-index: 999;
    top: auto;
    bottom: 0px;
    width: 100%;
    letter-spacing: 0.16em;
}
.footer p.copyright {
	text-transform: none;
	margin: 0px;
}
.signature {
	font-style: italic;
	font-weight: bold;
	margin-left: 100px;
}
.maroon-text {
	color: #C00;
}
#map-container {
	margin-right: auto;
	margin-left: auto;
}
.img-right {
	float: right;
	border-radius: 10px;
	margin-left: 20px;
}
.inline-list {
	display: inline;
	text-indent: 15px;
	line-height: 1.5em;
	padding-right: 20px;
	font-weight: normal;
	font-size: 1em;
	background-image: url(../Images/page-elements/Inline%20Star.jpg);
	background-repeat: no-repeat;
	background-position: left center;
	white-space: nowrap;
	padding-left: 16px;
}
.text-large-bold {
	font-size: 2em;
	font-weight: bold;
	color: #C00;
}
.no-dots {
	list-style-type: none;
}
.img-left {
	float: left;
	margin-right: 30px;
	border-radius: 10px;
	border: 2px solid #666;
	margin-top: 30px;
}
.img-right {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
	margin-top: 0px;
}
.img-left-no-border {
	float: left;
	margin-right: 20px;
}
.img-border {
	border: 2px solid #666;
	border-radius: 10px;
	overflow: hidden;
}
.text-spaced {
	padding-right: 10px;
	padding-left: 10px;
}
.text-indented {
	text-align: center;
	padding-right: 20%;
	padding-left: 20%;
}
.text-link {
	color: #36C;
}
.text-superscript {
	color: #C00;
	font-size: 0.9em;
}
.text-small {
	color: #C00;
	font-size: 0.7em;
}
 .google-maps {
    position: relative;
    padding-bottom: 75%;
// This is the aspect ratio
   height: 0;
    overflow: hidden;
    border: 1px solid #000000;
    border-radius: 5px;
    box-shadow: 0px 0px 10px #B8B8B8;
    margin-top: 10px;
    -webkit-box-shadow: 0px 0px 10px #B8B8B8;
    text-shadow: 0px 0px 10px #AEAEAE;
 }
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 10px;
    box-shadow: 0px 0px 10px;
}

/*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 !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;}
}
.text-up {
	margin-top: 5px;
}
