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

/*GLOBAL STYLES*/

body {
	font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
	color: #666;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 15px;
	line-height: 20px;
	padding-bottom: 1.5em;
}
img {
	vertical-align: bottom;
}
.masthead {
	text-align: center;
	background: #000;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ffbd24;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #ffbd24; 
	position: relative;
	display: block;
	z-index: 10;
	/*box-shadow: 0px 0px 30px #000;*/
}
.masthead_smartphone {
	text-align: center;
	background: #000;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ffbd24;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #ffbd24; 
	position: relative;
	display: none;
	z-index: 10;
}

.content-wrapper {
	margin: 0.5em 1.25em 0em 1.25em;
	overflow: hidden;
}
.columns-wrapper {
	z-index: 10;
	overflow: hidden;
	background-color: #FFF;
	position: relative;
}
.columns-wrapper, .menu-top-wrapper {
	max-width: 1366px;
	margin: 0 auto;
}
.main-content .content{
	padding: 0;
	font-size: 1em;
}
.storytext {
	text-align: center;
	font-size: 1.45em;
	line-height: 1.55em;
	font-family: "Times New Roman", "serif";
}
.dropcap {
	line-height: 30%;
	width: .7em;
	font-size: 410%;
	color: #F4580D;
}
.dropcaptight {
	line-height: 30%;
	width: .7em;
	margin-right: -4px;
	font-size: 410%;
	color: #F4580D;
}
.dropcaptight2 {
	line-height: 30%;
	width: .7em;
	margin-right: -15px;
	font-size: 410%;
	color: #F4580D;
}
.boldyellow {
	color: #F90;
	font-weight: bold;
}
.bluetext {
	font-weight: normal; 
	color: #143A72;
}
.pagehdr {
	color: #143A72;
	font-weight: bold;
}
ol li {
    list-style-type: none;
    counter-increment: list;
    position: relative;
	left: -0.5em;
}

ol li:before {
    content: counter(list) ".";
    position: absolute;
    left: -2.5em;
    width: 2em;
    text-align: right;
    color: #143A72;
	font-weight: bold;
}

/*HOME PAGE STYLES*/
.main-content, .welcome_content {
	float: right;
	width: 50%;
	margin-right: 9.5%;
	display: block;
}
.sidebar, .welcome_sidebar {
	width: 36%;
	float: left;
	display: block;
}
.smartphone_welcome {
	display: none;
	text-align: center;
}
.smartphone-sidebar {
	display: none;
}

.sidebar .content, .welcome_sidebar .welcomehdr {
	padding: 0;
	text-align: right;
}
.welcome_content .welcome_text {
	margin: 0;
}

/*INSIDE PAGE STYLES GLOBAL*/
.inside-content-wrapper {
	margin: 0 12px;
	overflow: hidden;
}
.inside-main-content {
	float: left;
	margin: 12px;
	width: 55%;
	/*display: block;*/
}
.inside-sidebar {
	float: left;
	width: 10%;
	padding-top: 8%;
	text-align: right;
	/*display: block;*/
}

/*MY SERVICES STYLES*/
.services-main-content {
	float: left;
	margin: 4em 6% 0 0;
	width: 55%;
}
.services-sidebar {
	float: left;
	width: 24%;
	padding: 1em 4%;
	text-align: left;
}
.services-pagehdr {
	text-align: left;
}
.web-main-content, .print-main-content {
	float: left;
	margin: 0;
	width: 54%;
}
.web-main-content .opm-panel-content img {
	border: 1px solid #000;
	box-shadow: 7px 7px 8px rgba(0,0,0,0.5);
}
.web-sidebar, .logo-sidebar, .print-sidebar {
	float: left;
	width: 34%;
	padding: 1em 4%;
	text-align: left;
}
.logo-main-content {
	float: left;
	margin: 0;
	width: 54%;
}
.monster-sidebar {
	float: left;
	width: 22%;
	padding: 1em 4%;
	text-align: left;
}
.monster-main-content {
	float: left;
	margin: 0;
	width: 70%;
}
.pagephoto-mobile {
	display: none;
}
.pagephoto {
	float: left;
	margin: 2% 1.5% 0 3%;
	width: auto;
	display: block;
}
.flushleft {
	text-align: left;
}
.footnote {
	font-size: 0.85em;
	font-style: italic;
	color: #888;
}

/*Heading styles*/
.hdr2 {
	margin: 20px 0px -8px 0px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
	color: #1F4DA2
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.35em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }

.bold-blue-text {
	color: #1F4DA2;
	font-weight: bold;
}

/*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;
}
.sidebar li, .sidebar2 li { 
	margin-bottom: 4px; 
}

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


/*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: #FFF;
	/*border-bottom: 1px solid #FFF;
	box-shadow: 0px 0px 30px #999;*/
	position: relative;
	z-index: 99;
	display: block;
}
.top-navigation2 {
	background-color: #FFF;
	/*border-bottom: 1px solid #FFF;
	box-shadow: 0px 0px 30px #999;*/
	position: relative;
	z-index: 99;
	display: none;
}
.top-navigation:after, top-navigation2:after {
	content: "\0020";
	font-size: 0px;
	display: inline;
	overflow: hidden;
	line-height: 0;
	clear: both;
}

/*The Footer*/
.footer {
	background-color: #FFF;
	padding: 0px 15px 15px 15px;
	font-size: 0.8em;
	color: #666;
	text-align: center;
	clear: both;
	position: relative;
	z-index: 999;
	/*top: auto;
	bottom: 0px;*/
	width: 100%;
}
.footer p.copyright {
	text-transform: uppercase;
	margin: 8px 0px 0px 0px;
}


/*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;
}
.masthead {
	display: none;
}
.masthead_smartphone {
	display: block;
}
.welcome_content {
	display: none;
}
.sidebar, .main-content {
	display: none;
}
.welcome_sidebar {
	display: none;
}
.smartphone-sidebar {
	display: block;
	width: auto;
}
.welcomehdr {
	text-align: center;
}
.smartphone-content {
	padding: 0px 14px;
}
.footer {
	position: static;
	width: auto;
}
.content-wrapper, .columns-wrapper {
	margin: 0px;
	border: none;
}
.inside-content-wrapper {
	margin: 0 12px;
	overflow: hidden;
}
/* ABOUT page styles*/
.inside-main-content {
	float: none;
	margin: 0 12px;
	width: 95%;
	/*display: block;*/
}
.inside-sidebar {
	float: none;
	width: auto;
	padding-top: 0;
	text-align: center;
	/*display: block;*/
}
.pagephoto {
	float: left;
	margin: 2% 1.5% 0 3%;
	width: 16%;
	display: none;
}
.pagephoto-mobile {
	text-align: center;
	float: none;
	margin: 0;
	width: 100%;
	display: block;
}
.services-sidebar, .logo-sidebar, .web-sidebar, .print-sidebar {
	float: none;
	width: 94%;
	padding: 1% 3% 0 3%;
	text-align: left;
	font-size: 0.9em;
	line-height: 1.3em;
}
.services-main-content {
	float: none;
	margin: 0.5em 0 0 0;
	width: 100%;
}
.services-pagehdr {
	text-align: center;
}
.logo-main-content, .web-main-content, .print-main-content {
	float: none;
	margin: 0 12px;
	width: 92%;
}

/*.main-content .content {
	padding: 10px 10px;
	border-radius: 0px;
	border: none;
	height: auto !important;
	max-height: 888678px;
}*/

/*.sidebar .content {
	display: none;
	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;
}
.footer {
	padding: 0px 10px 10px 10px;
	font-size: 0.7em;
}
}

/*Portrait orientation on ipad*/
@media only screen and (min-width: 701px) and (max-width: 960px) {
.main-content {
	float: none;
	width: 94%;
	margin: 2% 0 0 4%;
	padding-top: 2%;
	/*display: block;*/
}
.welcome_content {
	float: right;
	width: 60%;
	margin: 0;
	display: block;
}
.sidebar {
	width: 30%;
	float: left;
	display: none;
}
.welcome_sidebar {
	width: 36%;
	float: left;
	display: block;
}
.inside-main-content {
	float: left;
	margin: 12px;
	width: 45%;
	/*display: block;*/
}
.services-main-content {
	width: 60%;
}
.services-sidebar {
	width: 30%;
}

}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 961px) and (max-width: 1280px) {
.columns-wrapper {
	margin-bottom: 20px;
}
.main-content .content, .sidebar .content {
	padding: 10px 20px;
}
.top-navigation {
	padding: 0px 10px;
}
.services-main-content {
	width: 62%;
	/*display: block;*/
}
.services-sidebar {
	width: 28%;
}
}
