/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  Boardroom Theme
  ------------------------------------------------
*/

body {
	background-color: #ECECEC;
	background-image: url(../_p7affinity/img/boardroom-bg.png);
	font-family: "Open Sans", Arial, sans-serif;
	margin: 0px 0px 30px 0px;
}
/* Glyphs */
@font-face {
    font-family: 'heydings_controlsregular';
    src: url('heydings_controls.eot');
    src: url('heydings_controls.eot?#iefix') format('embedded-opentype'),
         url('heydings_controls.woff') format('woff'),
         url('heydings_controls.ttf') format('truetype'),
         url('heydings_controls.svg#heydings_controlsregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
.glyphs {
	font-family: 'heydings_controlsregular';
}
/* end of glyphs */

/*Drop Menu Magic Adjustments*/
.p7DMM03 {
	font-family: Verdana, "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 1.1em;
}
.p7DMM03.p7DMM.p7dmm-left {
	padding-left: 20px;
}
.p7DMM03.p7DMM.p7dmm-right {
	padding-right: 20px;
}


/*Baseline Adjustment for images needed with strict DOCTYPE*/
img {vertical-align: bottom;}


/*Logo and Banner*/
#logo {
	padding: 5px 20px;
	position: relative;
	z-index: 10;
	background-color: #ecf5fd;
	box-shadow: 0px 0px 30px #000;
}
#banner {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}
#masthead {
	padding-top:20px;
	border-bottom: 1px solid #ddd;
	background-color: #eee;
}

/*Utility Rules for images. Scalable class makes images scale with window size.*/
img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	vertical-align: bottom;
}
/* 
Add the fancy class to the scalable class to add a drop shadow
<img class="scalable fancy"...>
*/
.fancy {
	border: 1px solid rgba(255,255,255,.5);
	box-shadow: 0px 0px 20px rgba(0,0,0,.5);
}
/* 
Add the accented class to the scalable class to add eounded corners and a border.
<img class="scalable accented"...>
*/
.accented {
	border-radius: 5px;
	border: 1px solid #222;
}


/*Layout Wrapper*/
#layout {
	max-width: 960px;
	margin: 0px auto;
	background-color: #FFF;
	box-shadow: 0px 0px 20px rgba(0,0,0,.5);
	border-radius: 0px 0px 7px 7px;
}

/*Default Row Structures*/
.affinity-row {
	padding: 0px;
}
/*This rule assigns a gray gradient background to every other row*/
.affinity-row:nth-child(even) {
	/*background-color: #EEE;*/
	/*background-image: -webkit-linear-gradient(#EEE, #CCC);
	background-image: linear-gradient(#EEE, #CCC);*/
}
/*Turns off the Background for Nested Rows*/
.affinity-row .affinity-row:nth-child(even) {
	background-color: transparent;
	background-image: none;
	background-image: none;
}

/*Clear Fix to Clear Floats*/
.affinity-row:after {
	visibility: hidden;
	display: block;
	content: "\0020";
	clear: both;
	height: 0;
}

/*Strctural wrapper for 2-column row*/
.affinity-row .column-half {
	width: 50%;
	float: left;
}
.halves {
	border-bottom: 1px solid #ccc;
}
/*Strctural wrapper for 3-column row*/
.affinity-row .column-third {
	width: 33.3333333%;
	float: left;
}
/*Strctural wrapper for 4-column row*/
.affinity-row .column-fourth {
	width: 25%;
	float: left;
}
/*Strctural wrapper for 5-column row*/
.affinity-row .column-fifth {
	width: 20%;
	float: left;
}

/*Strctural wrapper for 2-column sidebar-left row*/
.affinity-row.sidebar-left .column-1 {
	width: 76%;
	float: left;
}
.affinity-row.sidebar-left .column-2 {
	width: 24%;
	float: left;
}
.affinity-row.sidebar-left .column-content {
	line-height: 1.5;
}
.affinity-row.sidebar-left .column-2 .column-content {
	font-size: .9em;
}

/*Strctural wrapper for 2-column sidebar-right row*/
.affinity-row.sidebar-right .column-1 {
	width: 76%;
	float: left;
}
.affinity-row.sidebar-right .column-2 {
	width: 24%;
	float: left;
}
.affinity-row.sidebar-right .column-content {
	line-height: 1.5;
}
.affinity-row.sidebar-right .column-2 .column-content {
	font-size: .9em;
}
.left-border {
	border-left: 1px solid #ddd;
}
.right-border {
	border-right: 1px solid #ddd;
}
.left-right-border {
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}

/*Column Content*/
.column-content {
	line-height: 1.35;
	padding: 15px 10px;
}
.column-content p, li {
	font-size:0.8em;
}

.column-content li li {
	font-size:1em;
}
.forms li {
	padding-bottom: 5px;
	font-size:12px;
	
}
.column-content ul {
	padding-top: 5px;
}
.column-content a, a:visited {
	text-decoration: none;
	color: #428bca;
}
.column-content a:hover, a:focus {
	color: #666;
	text-decoration:underline;
}
.affinity-row.sidebar-right .column-content,
.affinity-row.sidebar-left .column-content,
.affinity-row.thirds.full-height .column-content {
	padding: 15px;
}
/*Padding Management for Nested Rows*/
.no-pad-left-top-bottom {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	padding-left: 0px !important;
}
.no-pad-right-top-bottom {
	padding-top: 0px !important;
	padding-right: 0px !important;
	padding-bottom: 0px !important;
}
.no-pad-top-bottom {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}
.column-2 {
	/*background-color: #ecf5fd;*/
}

/*Headings*/
h1, h2, h3, h4, h5 {
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	line-height: normal;
	margin: 10px 0px 0px 0px;
}
.column-content h3 {
	padding-bottom: 10px;
	margin-bottom: 15px;
	border-bottom: 1px solid #8F9DB8;
}
.column-content h4 {
	display:block;
	background-color:#ddeeff;
	padding:2px 5px;
	border:1px solid #333333;
}
.column-content h5 {
	display:block;
	font-size:0.9em;
	background-color:#eeeeee;
	padding:1px 0px 1px 15px;
	/*border-bottom:1px solid #333333;*/
}
.column-half h3 {
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 1em;
	font-weight: bold;
	/*font-style:italic;*/
	letter-spacing: 1px;
	line-height: 1.75;
	color: #fff;
	border-radius: 0px 0px 10px 10px;
	padding: 5px 10px;
	/*background: -webkit-linear-gradient(#333, #111);
	background: linear-gradient(#333, #111);*/
	background-color: #0f68a0;
	margin-bottom: 10px;
}
.column-2 h4 {
	font-size:0.9em;
	/*background-color: #ecf5fd;*/
}
.column-content h1:first-child,
.column-content h2:first-child,
.column-content h3:first-child,
.column-content h4:first-child {
	margin-top: 10px;
}
/*Use this class when you add a heading inside a row that contains multiple columns.*/
.inner-row-heading {
	position: relative;
	top: 20px;
	margin: 0px 0px 0px 24px;
}

/*Footer and Copyright*/
.footer {
	color: #666;
	border-radius: 0px 0px 5px 5px;
	border-top: 1px solid #ddd;
	background-color: #eee !important;
}
.footer h3 {
	font-family: "Open Sans", Arial, sans-serif;
	font-size:1.2em;
	font-weight: normal;
	margin: 10px 0px 0px 0px;
}
.footer h4 {
	font-family: "Open Sans", Arial, sans-serif;
	font-size:1em;
	font-weight: normal;
	margin: 10px 0px 0px 0px;
	border:none;
	background-color:transparent;
}
.footer h5 {
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: normal;
	font-size: 0.8em;
	margin: 10px 0px 0px 0px;
}
.footer ul {
	margin: 0px;
	padding: 0px;
	margin-top: 10px;
}
.footer li {
	list-style-type: none;
	/*line-height: 1.75;*/
	font-size:0.7em;
}
.footer p {
	font-size:0.7em;
}
.footer a {
  color: #428bca;
  text-decoration: none;
}
.footer a:hover, .footer a:focus {
	color: #666;
	text-decoration:underline;
}
.copyright {
	font-size: 0.85em;
	text-transform: uppercase;
	clear: both;
	padding: 5px 10px 15px 20px;
}


/*Assign this class to set large text and the stylish Cuprum font*/
.column-content.largesse, .largesse {
	font-size: 1.25em;
	line-height: 1.75em;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
/*Use this class to asign a black accent box around your content*/
.affinity-row .blast {
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 1em;
	/*font-weight:500;*/
	/*font-style:italic;*/
	letter-spacing: 1px;
	line-height: 1.75;
	/*color: #fff;*/
	color: #0f68a0;
	border-radius: 0px 0px 10px 10px;
	padding: 10px 20px;
	/*background: -webkit-linear-gradient(#333, #111);
	background: linear-gradient(#333, #111);*/
	/*background-color: #0f68a0;*/
	background-color: #ecf5fd;
	margin-bottom: 20px;
}
/*Add the gray class to the blast class to make your accent box gray*/
.affinity-row .blast.gray {
	background: -webkit-linear-gradient(#EEE, #AAA);
	background: linear-gradient(#EEE, #AAA);
	background-color: #DDD;
	color: #000;
}
.affinity-row.sidebar-left .column-content .blast,
.affinity-row.sidebar-right .column-content .blast,
.full-round {
	border-radius: 6px !important;
}

/* SPECIAL MODS */
.smalltabletext {
	/*margin: 0px 20px;*/
}
.smalltabletext td {
	border-bottom: 1px solid #ccc;
	font-size: 0.8em;
}
.smalltabletext th {
	background-color:#000;
	color:#fff;
	font-size: 0.8em;
	font-weight:bold;
	text-align:left;
}
.nbstable {
	border-collapse:collapse;
	width: 100%;
}
.nbstable td {
	border: 1px solid #deeefe;
	padding: 2px;
	vertical-align:top;
	font-size: 0.9em;
}
.faq {
	border-bottom:1px solid #000000;
	margin-bottom:10px;
}

/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 700px) {
body {
	margin: 0px;
}
.p7DMM03.p7DMM.p7dmm-left, .p7DMM03.p7DMM.p7dmm-right {
	padding: 0px !important;
}
#layout {
	max-width: none;
	padding: 0px;
}
.column, .column-1, .column-2, .column-3,
.column-half, .column-third, .column-fourth,
.column-fifth {
	float: none !important;
	width: auto !important;
}

.column-content {
	height: auto !important;
	max-height: 888678px;
	border: none !important;
}
.column-content h3 {
	font-size: 1.0em;
}

/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 960px) {
#layout {max-width: none;}
}
