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

body {
	font-family: "Droid Sans", Optima, "Segoe UI", Arial, sans-serif;
	margin: 0px 0px 30px 0px;
}


/*Drop Menu Magic Adjustments*/
.p7DMM03 {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 0.8em;
}
.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: 10px 20px;
	position: relative;
	z-index: 10;
	background-color: #FFFFFF;
	box-shadow: 0px 0px 30px;
	-webkit-box-shadow: 0px 0px 30px;
}
#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: #FFFFFF;
	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;
}

/*Strctural wrapper for 3-column row*/
.affinity-row .column-third {
	width: 65%;
	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;
}

/*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*/
h1, h2, h3, h4 {
	font-family: Cuprum, 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.8em;
	border-radius: 0px 0px 5px 5px;
	border-top: 1px solid;
	border-color: #726561;
	background-color: #857671 !important;
	background-image: -webkit-linear-gradient(#857671, #5F5450) !important;
	background-image: linear-gradient(#857671, #5F5450) !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.85em;
	text-transform: uppercase;
	clear: both;
	padding: 5px 10px 15px 20px;
	text-align: center;
}


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