/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  03: 2 Col Flex Sidebar Left
  Modified by: Pat Geary
  ------------------------------------------------
*/
body {
	font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	color: #000;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 1em;
	padding-bottom: 5.2em;
}
img {
	vertical-align: bottom;
}

body img {
	border: 0px;
	text-decoration: none;
}

/*===============================
Masthead 
================================*/
.masthead {
	padding: 10px 10px;
	text-align: center;
	background-color: #222;
	position: relative;
	z-index: 10;
	box-shadow: 0px 0px 30px #000;
}

/*============================
 main layout container - Everything below the log and main menu is inside this element. 
==============================*/
.content-wrapper {
	margin: 4em 1.25em 0em 1.25em;
	overflow: hidden;
}

/*================================
 containing element for the the main content columns
==================================*/
.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 {
	padding: 30px;
	font-size: .9em;
	line-height: 1.5em;
	background-color: #7BA4C1;
	background-image: -webkit-linear-gradient(#7BA4C1, #FFF);
	background-image: linear-gradient(#7BA4C1, #FFF);
	border: 1px solid;
	border-color: #333;
	border-radius: 5px;
}

/*============================
This is the rule to use to set text attributes for the main content and border effects.
===============================*/
.main-content .content {
	padding: 30px;
	font-size: 1em;
	line-height: 1.5em;
	border: 1px solid;
	border-radius: 5px;
	border-color: #666;
}
/*=======================
Heading styles
========================*/
h1, h2, h3, h4 {
	margin: 30px 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;
}
/*==================================
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);
}


/*==========================
reduce normal indentation for ordered and unordered lists in your sidebars. Then we set a small bottom margin on all sidebar list items
============================*/
.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: #336699;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
}
.content a:hover, .content a:focus {
	color: #CC0000;
	border-bottom-style: solid;
}
.footer a {
	color: #FFFFFF;
}
.footer a:hover, .footer a:focus {
	color: #7BA4C1;
}

/*==================================
template galleries
====================================*/
.thumbs img {
	background-color: #FFFFFF;
	border-radius: 5px;
	padding: 6px;
/*	box-shadow: 0px 0px 20px #aaa;
*/border: 1px solid #999;
}
.thumbs img:hover, .thumbs .current {
	background-color: #222222;
	-webkit-box-shadow: 0px 0px 20px #666;
	box-shadow: 0px 0px 30px #999;
	border-color: transparent;
}
.thumbs p {
	display: inline-block;
	padding: 0 6px;
	text-align: center;
	font-size: x-small;
	text-transform: uppercase;
}


/*===============================
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: #7BA4C1;
	border-bottom: 1px solid #FFF;
	box-shadow: 0px 0px 30px #999;
	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 {
	background-color: #222;
	box-shadow: inset 0px 16px 2px rgba(255,255,255,.025);
	border-top: 1px solid #000;
	padding: 15px 15px;
	font-size: 0.7em;
	color: #ffffff;
	text-align: center;
	clear: both;
	position: fixed;
	z-index: 999;
	top: auto;
	bottom: 0px;
	width: 100%;
}
.footer p {
	margin: 0px;
}
/* ============================
image floats
========================== */
.imglft {
	padding: 5px 10px 5px 0px;
	float: left;
}
.imgrgt {
	padding: 5px 0px 5px 10px;
	float: right;
}
.imgctr {
	display: block;
	margin: 0px auto;
}
/* =====================
misc topographic styles
======================= */
.smltxt {
	font-size: small;
}

.center {
	text-align: center;
}

.highlight {
	padding: 5px;
	background-color: #FFFFCC;
}

.clearFloat {
  display: block;
  clear: left;
}

.ad {
	margin: 10px auto;
	width: 99%;
	padding-left: 10px;
}
.adsm {
	margin: 10px auto;
	width: 99%;
	padding-left: 40px;
}
.code {
	font-family: "Courier New", Courier, monospace;
	padding: 4px;
	background-color: #E6E6E6
}

.phase {
	font-size: 1.1em;
	background-image: url('../images/h3.jpg');
	background-repeat: no-repeat;
	padding: 3px;
}
.nopadding {
	margin-top: 0px;
	margin-bottom: 0px;
}

/* ============ 
form styles 
==============*/
form fieldset {
	padding: 1em;
	font: 80%/1 sans-serif;
	border: 1px solid #353c48;
}
form fieldset label {
	width: 15%;
	margin-right: 0.5em;
	padding-top: 0.2em;
	text-align: right;
	font-weight: bold;
}
form fieldset legend {
	padding: 0.2em 0.5em;
	border: 1px solid #353c48;
	color: #ffffff;
	font-size: 90%;
	text-align: right;
	font-variant: small-caps;
	background-color: #353c48;
}
.cf {
	border: 1px #353c48 solid;
	background-image: url('../images/form-bg.jpg');
	background-repeat: repeat;
}
.button {
	font: normal 90% Verdana, serif;
	height: 22px;
	border: 1px solid #353c48;
	background-color: #353c48;
	color: white;
}
/*============ 
Zoom search box 
==============*/
#search {
	text-align: center;
	margin: 3px auto 8px auto;
	font-size: .8em;
}
#search p {
	margin-bottom: 0px;
}
#myform {
	margin: 0;
	padding: 0;
}
#myform .textinput {
	width: 100px;
	border: 1px solid gray;
}
#searchbutton {
	border: 2px solid #353c48;
	font: bold 1em Verdana, serif !important;
	height: 22px;
	background-color: #353c48;
	color: white;
}
input:focus {
	border: 1px solid #003366;
}

#template {
	border: 1px solid #C0C0C0;
	border-collapse: collapse;
	empty-cells: show;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}
#template th {
	border: 1px solid #C0C0C0;
	text-align: center;
}
#template td {
	vertical-align: top;
	border: 1px solid #C0C0C0;
	font-size: .85em;
	padding: 10px;
}
#template td p {
	margin-top: 5px;
	margin-bottom: 5px;
}

/*=============error page formatting contact page script=============*/
.error-page-heading1 {
	font-family: "Times New Roman";
	color: #564c66;
	font-size: 1.5em;
	font-weight: bold;
}
.error-page-heading2 {
	font-family: "Times New Roman";
	color: #564c66;
	font-size: 1.2em;
	font-weight: bold;
}
.error-page-line-closing {
	font-family: "Times New Roman";
	color: #0066CC;
	font-size: .9em;
	font-weight: bold;
}
.error-page-line-opening {
	font-family: "Times New Roman";
	color: #0066CC;
	font-size: .9em;
	font-weight: bold;
}
.error-msg {
	font-family: "Times New Roman";
	color: #CC3300;
	font-size: 1em;
	font-weight: bold;
}
.error-page-footer {
	font-family: "Times New Roman";
	color: #000000;
	font-size: .8em;
	font-weight: bold;
}


/* ==============================
Zoom search results page styles
================================ */
.highlight {
	background: #FFFF99;
}
.searchheading {
	font-size: 130%;
	font-weight: bold;
}
.summary {
	font-size: 80%;
	font-style: italic;
}
.suggestion {
	font-size: 100%;
}
.results {
	font-size: 100%;
}
.category {
	color: #999999;
}
.sorting {
	text-align: right;
}
.result_title {
	font-size: 100%;
}
.description {
	font-size: 100%;
	color: #008000;
}
.context {
	font-size: 100%;
}
.infoline {
	font-size: 80%;
	font-style: normal;
	color: #808080;
}
.zoom_searchform {
	font-size: 100%;
}
.zoom_results_per_page {
	font-size: 80%;
	margin-left: 10px;
}
.zoom_match {
	font-size: 80%;
	margin-left: 10px;
}
.zoom_categories {
	font-size: 80%;
}
.zoom_categories ul {
	display: inline;
	margin: 0px;
	padding: 0px;
}
.zoom_categories li {
	display: inline;
	margin-left: 15px;
	list-style-type: none;
}
.cat_summary ul {
	margin: 0px;
	padding: 0px;
	display: inline;
}
.cat_summary li {
	display: inline;
	margin-left: 15px;
	list-style-type: none;
}
input.zoom_button {
}
input.zoom_searchbox {
}
.result_image {
	float: left;
	display: block;
}
.result_image img {
	margin: 10px;
	width: 80px;
	border: 0px;
}
.result_block {
	margin-top: 15px;
	margin-bottom: 15px;
}
.result_altblock {
	margin-top: 15px;
	margin-bottom: 15px;
}
.result_pages {
	font-size: 100%;
}
.result_pagescount {
	font-size: 100%;
}
.searchtime {
	font-size: 80%;
}
.recommended {
	background: #E9EAED;
	border-top: 1px dotted #808080;
	border-bottom: 1px dotted #808080;
	margin-top: 15px;
	margin-bottom: 15px;
}
.recommended_heading {
	float: right;
	font-weight: bold;
	margin-right: 25px;
}
.recommend_block {
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 15px;
}
.recommend_title {
	font-size: 100%;
}
.recommend_description {
	font-size: 100%;
	color: #008000;
}
.recommend_infoline {
	font-size: 80%;
	font-style: normal;
	color: #808080;
}
.recommend_image {
	float: left;
	display: block;
}
.recommend_image img {
	margin: 10px;
	width: 80px;
	border: 0px;
}
.strikeout {
	text-decoration: line-through;
}


/*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;
}
input[type=text], select, textarea {
	width: 100%;
}

#template {
	width: 100%;
}
}
/*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;
}
}
