/*
 ------------------------------------------------
 PVII Affinity
 Copyright (c) 2013 Project Seven Development
http://www.projectseven.com
 Boardroom Theme
 ------------------------------------------------
 */

body {
 background-color: #ECECEC;
 background-image: url(img/boardroom-bg.png);
 margin: 0px 0px 30px 0px;
 font: 1em "Droid Sans", Optima, "Segoe UI", Arial, sans-serif;
 }

/*Drop Menu Magic Adjustments*/
 .p7DMM03 {
 font-family: Cuprum, Optima, Arial, Helvetica, sans-serif;
 font-size: 1.2em;
 }
 .p7DMM03.p7DMM.p7dmm-left {
 padding-left: 20px;
 font-size: 1em;
 }
 .p7DMM03.p7DMM.p7dmm-right {
 padding-right: 20px;
 }

/*Ordinary Link Styles*/
 .column-content a {
 color:#165493;
 text-decoration: underline;

}
 .column-content a:hover, .column-content a:focus {
 color: #A0837A;
 text-decoration: none;
 }

/*Baseline Adjustment for images needed with strict DOCTYPE*/
 img {
 vertical-align: bottom;
 text-decoration: none;
 }
 /*revised by sinclair*/
 .centerDiv {
 text-align: center;
 color: #FFF;
 font: 1em Arial, Helvetica, sans-serif;
 padding: 20px 0; /*edit to suit*/
 clear:both;
 }
 .centerDivFooter {
 text-align: center;
 color: #FFF;
 font: 1em Arial, Helvetica, sans-serif;
 padding: 20px 0; /*edit to suit*/
 clear:both;
 width: 70%;
 margin-right: auto;
 margin-left: auto;
 }

.float-right {
 float: right;
 margin-left: 3px;
 border-top-style: none;
 border-right-style: none;
 border-bottom-style: none;
 border-left-style: none;
 }

.largered-bold {
 color: #FF0000;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 16px;
 font-weight: bold;
 }

/*Logo and Banner*/
 #logo {
 padding: 10px 20px;
 position: relative;
 z-index: 10;
 box-shadow: 0px 0px 30px #000;
 text-align: center;
 border-color: #726561;
 background-color: #185797 !important;
 background-image: -webkit-linear-gradient(#003366, #5F5450) !important;
 background-image: linear-gradient(#003366, #185797) !important;
 }
 #banner {
 border-top: 1px solid #000;
 border-bottom: 1px solid #000;
 }

/*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: 1360px;
 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;
 }

.float-right {
 float: right;
 margin-left: 3px;
 border-top-style: none;
 border-right-style: none;
 border-bottom-style: none;
 border-left-style: none;
 }

.largered-bold {
 color: #FF0000;
 font: bold 1.5em Arial, Helvetica, sans-serif;
 }
 .dollarSign {
 font-family: Georgia, "Times New Roman", Times, serif;
 font-size: 1.5em;
 font-weight: 800;
 color: #1A698A;
 line-height: 1.3em;
 }

.largered-bold2 {
 color: #FF0000;
 font-family: Arial, Helvetica, sans-serif;
 font-size: medium;
 font-weight: bold;
 }
 .veryLargeText {
 font-family: Georgia, "Times New Roman", Times, serif;
 font-size: 2em;
 font-weight: bold;
 color: #F00;
 }

/*Clear Fix to Clear Floats*/
 .affinity-row:after {
 visibility: hidden;
 display: block;
 content: "020";
 clear: both;
 height: 0;
 }

/*Strctural wrapper for 2-column row*/
 .affinity-row .column-half {
 width: 50%;
 float: left;
 font-size: 1px;
 }

/*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: right;
 }
 .affinity-row.sidebar-left .column-2 {
 width: 24%;
 float: right;
 font-size: 1.1em;
 }
 .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 #000;
 }
 .right-border {
 border-right: 1px solid #000;
 }
 .left-right-border {
 border-left: 1px solid #000;
 border-right: 1px solid #000;
 }

/*Column Content*/
 .column-content {
 line-height: 1.35;
 padding: 15px 24px;
 }
 .affinity-row.sidebar-right .column-content,
 .affinity-row.sidebar-left .column-content,
 .affinity-row.thirds.full-height .column-content {
 padding: 30px;
 }
 /*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;
 }

/*Headings*/

h3 {
 font: 1.1em Tahoma, Geneva, sans-serif;
 }

h4 {
 letter-spacing: 0.1em;
 font: 1.2em Arial, Helvetica, sans-serif;
 }
 h1, h2 {
 font-family: Cuprum, Optima, Arial, Helvetica, sans-serif;
 line-height: normal;
 margin: 30px 0px 12px;
 }
 .column-content h1:first-child,
 .column-content h2:first-child,
 /*.column-content h3:first-child, - commented out to avoid conflict with APM4*/
 .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: #000;
 font-size: .9em;
 border-radius: 0px 0px 5px 5px;
 border-top: 1px solid;
 border-color: #726561;
 background-color: #185797 !important;
 background-image: -webkit-linear-gradient(#003366, #5F5450) !important;
 background-image: linear-gradient(#003366, #185797) !important;
 letter-spacing: .1em;
 }
 .footer h3, .footer h4 {
 font-family: "Droid Sans", Optima, "Segoe UI", Arial, sans-serif;
 font-weight: normal;
 text-transform: uppercase;
 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: 1em;
 }
 .footer a {
 color: #FFF;
 text-decoration: underline;
 }
 .footer a:hover, .footer a:focus {
 color: #CFC9C7;
 }
 .copyright {
 font-size: 0.7em;
 text-transform: uppercase;
 clear: both;
 padding: 5px 10px 15px 20px;
 color: #FFF;
 }

/*Assign this class to set large text and the stylish Cuprum font*/
 .column-content.largesse, .largesse {
 font: 1.25em/1.75em Arial, Helvetica, sans-serif;
 }
 /*Use this class to asign a black accent box around your content*/
 .affinity-row .blast {
 color: #FFF;
 border-radius: 0px 0px 10px 10px;
 padding: 28px 36px;
 background-color: #185797 !important;
 background-image: -webkit-linear-gradient(#003366, #5F5450) !important;
 background-image: linear-gradient(#003366, #185797) !important;
 letter-spacing: .1em;
 }

/*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;
 font-size: 1.3em;
 }
 /*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;
 }
 }
 /*Medium windows - reduce padding content padding*/
 @media only screen and (min-width: 700px) and (max-width: 1380px) {
 #layout {max-width: none;}
 }
