/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  05: 3 Col Flex Portal
  ------------------------------------------------
*/

body {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 1em;
	padding-bottom: 4em;
	background-image: url(../Images/page-elements/masthead-gradient.jpg);
	background-repeat: repeat-x;
}
img {
	vertical-align: bottom;
}
.masthead {
	text-align: center;
	background-color: #FFF;
	position: relative;
	z-index: 10;
	background-image: url(../Images/page-elements/masthead-gradient.jpg);
	background-repeat: repeat-x;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
}

.content-wrapper {
	overflow: hidden;
	margin-top: 0em;
	margin-right: 1.25em;
	margin-bottom: 0em;
	margin-left: 1.25em;
}
.columns-wrapper {
	overflow: hidden;
	position: relative;
}
.columns-wrapper, .menu-top-wrapper {
	max-width: 1260px;
	margin: auto;
}

/*Columns Structure*/
.column-1, .column-2, .column-3 {
	float: left;
	width: 32.5%;
}
.column-4, .column-5, .column-6 {
	float: left;
	width: 32.5%;
}
.column-1  {
	background-color: #F5F7EC;
	background-image: url(../Images/page-elements/left-gradient.jpg);
	background-repeat: repeat-y;
	background-position: center top;
}
.column-2 {
	margin-left: 1.25%;
	margin-right: 1.25%;
}
.column-3 {
	background-color: #F5F7EC;
	background-image: url(../Images/page-elements/right-gradient.jpg);
	background-repeat: repeat-y;
	background-position: center top;
}
.column-1 .content, .column-3 .content   {
	border: 1px solid #541;
	border-radius: 5px;
	box-shadow: inset 0px 0px 5px #541F1D;
	padding: 20px;
}
.column-2 .content     {
	border-radius: 5px;
	padding-top: 20px;
	padding-right: 12px;
	padding-bottom: 20px;
	padding-left: 12px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.column-4 .content, .column-5 .content, .column-6 .content {
	border-radius: 5px;
	padding-top: 20px;
	padding-right: 12px;
	padding-bottom: 20px;
	padding-left: 12px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.content p {
	line-height: 1.6;
	font-size: 1em;
}

/*Heading styles*/
h1, h2, h3, h4 {
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-weight: normal;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
}
h1 {
	font-size: 1.5em;
	color: #D41209;
}
h2 { font-size: 1.35em; }
h3 {
	font-size: 1.25em;
	line-height: 1.4em;
	text-align: center;
}
h4 {
	font-size: 1.1em;
	line-height: 1.6em;
}
ul li {
	line-height: 1.4em;
}
.column-1 ul , .column-3 ul{
	margin-left: 20px;
}

/*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;
	border: 1px solid #666;
}
img.scalable-header {
	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);
}
.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: #0066CC;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
}
.content a:hover, .content a:focus {
	color: #D41209;
	border-bottom-style: solid;
}
.footer a {
	color: #0066CC;
}
.footer a:hover, .footer a:focus {
	color: #CB4B45;
}


/*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 {
	box-shadow: inset 0px 16px 2px rgba(153,153,153,0.0);
	font-size: 0.8em;
	color: #000000;
	text-align: center;
	clear: both;
	position: fixed;
	z-index: 999;
	top: auto;
	bottom: 0px;
	width: 100%;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.footer p.copyright {
	text-transform: none;
	margin: 0px;
}


/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 700px) {
.footer p {
	padding: 5px;
	margin: 0px;
}
body {
	padding-bottom: 0px;
}
.footer {
	position: static;
	width: auto;
}
.content-wrapper, .columns-wrapper {margin: 0px; border: none;}
.column-1, .column-2, .column-3 {
	width: auto !important;
	float: none !important;
	margin: 0px !important;
}
.column-4, .column-5, .column-6 {
	width: auto !important;
	float: none !important;
	margin: 0px !important;
}

.column-1 .content, .column-2 .content, .column-3 .content {
	padding: 15px;
	border: none;
	height: auto !important;
	max-height: 888678px;
}
.column-4 .content, .column-5 .content, .column-6 .content {
	padding: 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) {
.column-1 .content, .column-2 .content, .column-3 .content {
	padding: 16px;
}
.column-4 .content, .column-5 .content, .column-6 .content {
	padding: 16px;
}
.top-navigation {padding: 0px 10px;}
.content-wrapper {margin-left: 10px; margin-right: 10px;}

}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.text-maroon {
	margin-bottom: 4px;
	font-style: italic;
	text-align: center;
	font-weight: bold;
	color: rgba(0,153,0,1);
}
.text-small-italic {
	font-weight: normal;
	font-style: italic;
	font-size: 0.8em;
	text-align: center;
	margin-top: -10px;
	margin-bottom: 0px;
	padding: 0px;
}
