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

/* Use the following rule to remove Safari mobile’s default tap–highlightcolour */
html {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	background-color: #bdb594;
	/* [disabled]background-image: url(img/boardroom-bg.png); */
	font-family: "Droid Sans", Optima, "Segoe UI", Arial, sans-serif;
	margin: 0px 0px 30px 0px;
	font-size: 0.9em;
	line-height: 1.5em;
}

a, 
a:visited {
	color: #000;
	text-decoration: underline;
	}
a:active,
a:hover {
	color: #7F6D3C;
	text-decoration: none;
	}

/*Drop Menu Magic Adjustments*/
.p7DMM03 {
	font-family: Cuprum, CuprumFFU, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
}
.p7DMM03.p7DMM.p7dmm-left {
	padding-left: 5px;
}
.p7DMM03.p7DMM.p7dmm-right {
	padding-right: 5px;
}
.p7DMM03 ul ul a {
	font-size: 1em!important;
}

/*Baseline Adjustment for images needed with strict DOCTYPE*/
img {vertical-align: bottom;}


/*Logo and Banner*/
#logo {
	padding: 10px 20px;
	position: relative;
	z-index: 10;
	background-color: #000;
	box-shadow: 0px 0px 30px #000;
}
#banner {
	border-top: 1px solid #000;
	background-color: #BDB594;
}


/*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: 10px;*/
	border: 1px solid #222;
}


/*Layout Wrapper*/
#layout {
	max-width: 1360px;
	margin: 0px auto;
	background-color: #FFFFFF;
	box-shadow: 0px 0px 20px rgba(0,0,0,.5);
	border-radius: 0px 0px 7px 7px;
}

/*Default Row Structures*/
.affinity-row {
	padding: 0px;
	background-color: #F4EED5;
}
/*This rule assigns a gray gradient background to every other row*/
.affinity-row:nth-child(even) {
	/*background-color: #C1B891;*/
	background-color: #bdb594;
	background-image: -webkit-linear-gradient(#bdb594, #f4eed5);
	background-image: linear-gradient(#bdb594, #f4eed5);
}
/*Turns off the Background for Nested Rows*/
.affinity-row .affinity-row:nth-child(even) {
	background-color: transparent!important;
	background-image: none;
	background-image: none;
}

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

.headline {
	text-align: left;
	font-family: Cuprum,CuprumFFU,Optima,Arial,Helvetica,sans-serif;
	font-size: 30px;
	font-weight: bold;
	padding-left: 15px;
	padding-top: 8px;
	padding-bottom: 8px;
	/*float: left;*/
	background-color: #a2986d;
}

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

/*Strctural wrapper for 3-column row*/
.affinity-row .column-third {
	width: 33.3333333%;
	float: left;
}

/*Strctural wrapper for 3-column row*/
.affinity-row .column-two-third {
	width: 66.666666%;
	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;
}
.affinity-row.sidebar-left .column-content {
	line-height: 1.5;
}
.affinity-row.sidebar-left .column-2 .column-content {
	font-size: .9em;
}

/*Structural wrapper for 25-50-25 album row*/

.affinity-row .col-25 {
	width: 25%;
	float: right;
}
.affinity-row .col-75 {
	width: 75%;
	float: left;
}


/*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.6;
	padding: 15px 15px;	/*padding: 15px 24px;*/
}
.affinity-row.sidebar-right .column-content,
.affinity-row.sidebar-left .column-content,
.affinity-row.thirds.full-height .column-content {
	padding: 15px;  /*was 30*/
}
/*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*/
h1, h2, h3, h4 {
	font-family: Cuprum, CuprumFFU, Optima, Arial, Helvetica, sans-serif;
	line-height: normal;
	margin: 30px 0px 0px 0px;
}
.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: #000;
	font-size: 0.9em;
	border-radius: 0px 0px 5px 5px;
	border-top: 1px solid;
	border-color: #726561;
	background-color: #BDB594 !important;
	background-image: -webkit-linear-gradient(#968d63, #BDB594) !important;
	background-image: linear-gradient(#968d63, #BDB594) !important;
}
.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;
}
.footer a {
	color: #000;
}
.footer a:hover, .footer a:focus {
	color: #CFC9C7;
}
.copyright {
	font-size: 0.8em;
	text-transform: uppercase;
	clear: both;
	padding: 5px 10px 15px 15px;
}

.faux-list {
	text-indent: -8px;
	margin: 0, 0, 0, 8px;
}

.rateTable {
	font-size: .8em;
	line-height: 1.3em;
	font-stretch: condensed;
}
.rateTable td {
	padding: 2px .4em;
}
.rateTable p {
	margin: 0 0 0 10px;
	text-indent: -10px;
}
.rateTable hr {
	margin: 0;
}
.heavyrule hr {
	border-top: solid 2px #FFF;
	margin: 10px 0;
}


/*Assign this class to set large text and the stylish Cuprum font*/
.column-content.largesse, .largesse {
	font-size: 1.3em;
	line-height: 1.5em;
	font-family: Cuprum, CuprumFFU,Optima, Arial, Helvetica, sans-serif;
}
/*Use this class to asign a black accent box around your content*/
.affinity-row .blast {
	font-family: Cuprum, CuprumFFU, Optima, Arial, Helvetica, sans-serif;
	font-size: 1.25em;
	line-height: 1.75;
	color: #BBB;
	border-radius: 0px 0px 10px 10px;
	padding: 28px 36px;
	background: -webkit-linear-gradient(#333, #111);
	background: linear-gradient(#333, #111);
	background-color: #333;
	margin-bottom: 0px;
}
/*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;
}

/*Added styles*/

/*Form security measure*/
.cloak {
visibility: hidden;
}

.caption {
	font-size: .9em;
	margin-top: .2em;
	font-style: italic;
}
.centered-type {
	text-align: center;
}
.column-2 .column-content {
	padding-bottom: 30px!important;
	padding-left: 40px!important;
	padding-right: 40px!important;
	padding-top: 30px!important;
}
.imgCaption {	font-size: 10px;
	color: #222;
	text-align: left;
	line-height: 13px;
	padding-bottom: 4px;
	padding-right: 30px;
	font-style: italic;
	margin-top: 6px;
}

.button a,
.button a:visited {
	border-top: 1px solid #d6c270;
	background: #94854d;
	background: -webkit-gradient(linear, left top, left bottom, from(#6d5f29), to(#94854d));
	background: -moz-linear-gradient(top, #6d5f29, #94854d);
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
	-moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
	box-shadow: rgba(0,0,0,1) 0 1px 0;
	text-shadow: rgba(0,0,0,.4) 0 1px 0;
	color: white!important;
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serifserif;
	text-decoration: none!important;
	vertical-align: middle;
	text-align: center;
	display: block;
	margin-top: 6px;
	margin-bottom: 6px;
	padding-top: 8.5px;
	padding-right: 17px;
	padding-bottom: 8.5px;
	padding-left: 17px;
	font-weight: bold;
	max-width: 250px;
}
.button a:active,
.button a:hover {
	border-top-color: #6d5f29;
	background: #6d5f29;
	color: #ccc;
	}
.button a:active {
	border-top-color: #6d5f29;
	background: #6d5f29;
	}
.testamonial {	font-family: Georgia, "Times New Roman", Times, serif!important;
	font-size: 1em;
	line-height: 1.5;
	font-weight: bold;
	color: #655829 !important;
	margin-top: 8px;
	margin-bottom: 8px;
	padding-right: 30px;
	padding-left: 30px;
}
.testamonialByline {	
	font-size: .9em;
	line-height: 1.5em;
	color: #655829 !important;
	margin-top: 8px;
	text-align: right;
	padding-right: 30px;
}
.max-580 {
	max-width: 580px;	
}
.max-600 {
	max-width: 600px:
}

.video-wrapper { 
	position: relative; 
	padding-bottom: 56.25%; 
	padding-top: 30px; 
	height: 0px; 
	overflow: hidden; 
}
.video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: -380px;
}
.hide-desktop {
	display:none;
}
.show-desktop {
	display:block;	
}

/*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-two-third, .column-fourth, .column-fifth, .col-25, .col-75 {
	float: none !important;
	width: auto !important;
}
.column-content {
	height: auto !important;
	max-height: 888678px;
	border: none !important;
}
.hide-mobile {
	display:none;
}
.show-mobile {
	display:block;	
}

}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 1380px) {
#layout {max-width: none;}
}
.col-75 .column-two-third {
	float: right;
}
