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

body {
	margin: 0px 0px 30px 0px;
	font-family: Roboto!important;
    font-size: 12px;
    background-repeat: repeat-x;
    background-image: url(../art1/bg.jpg);
    background-color: #66240E;
	color:#595959;
}


/*Drop Menu Magic Adjustments*/
.p7DMM03 {
	font-family: Roboto;
	font-size: 1.2em;
}
.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 {
	position: relative;
	z-index: 10;
	background-repeat: repeat-x;
    background-image: url(../art1/header.jpg);
	/*min-height:126px;*/

}
#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: 1200px;
	margin: 0px auto;
	background-color: #FFF;
	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;
}

/*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;
}
.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: 73%;
	float: left;
}
.affinity-row.sidebar-right .column-2 {
	width: 300px;
	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: Roboto;
	line-height: normal;
	/*margin: 30px 0px 0px 0px;*/
	color: #DE4B19;
    font-weight: 100;
	margin: 10px 0;
}
.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: #FFF;
	font-size: 1.5em;
	border-radius: 0px 0px 5px 5px;
	border-top: none;
	border-color: #9D3817;
 background-repeat: repeat-x;
    background-image: url(../art1/bott.jpg);
	padding-left:15px;
}
.footer h3, .footer h4 {
	font-family: Roboto;
	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;*/
	text-align:center;
	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: Roboto;
}
/*Use this class to asign a black accent box around your content*/
.affinity-row .blast {
	font-family: Roboto;
	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: 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;
}
/* JJS New COde */
#masthead { background-color: #EDEBDE;  }
#logo h1 {margin-top:0px; font-weight:100;font-size:3em;padding:0 20px;color:#FFFFFF;}
#logo h2 {margin-top:0px; font-weight:100;font-size:2em;padding:0 20px;color:#FFFFFF;margin:0px;}
.footertext {text-align: center;color: #FFF;letter-spacing:1px;}
.footertext a {color:#FFF; text-decoration:none;}
img.scalableR {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	vertical-align: bottom;
	float:right;
}
.box1R {
    background-image: url(../art1/qualify-bg2.jpg);
    background-repeat: no-repeat;
    height: 304px;
    width: 292px;
    float: right;
}
.box2 {
    margin-top: 65px;
    padding-left: 10px;
}
.boxwrap {
    width: 270px;
    font-family: Roboto;
    margin-top: 15px;
    margin-right: auto;
    margin-bottom: 15px;
    margin-left: 12px;
    font-size: 14px;
}
form.box {
    text-align: left;
    padding: 2px;
    width: 280px;
}
form.box fieldset {
    display: block;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 13px;
    margin-left: 10;
    padding-top: 0;
    padding-right: 8px;
    padding-bottom: 2px;
    padding-left: 8px;
    width: 224px;
}
form.box .submit {
    text-align: right;
    clear: both;
    width: 88%;
}
form.box label {
    display: block;
    float: left;
    width: 26%;
    text-align: right;
    margin: 0 10px 0 0;
    padding-bottom: 15px;
    clear: left;
}
.BoxInput {
    color: #595959;
    border: 1px solid #cacaca;
    font-family: Roboto;
    font-size: 12px;
    font-weight: normal;
    background-color: #FFFFFF;
    padding: 2px;
    width: 140px;
}
.boxwrap p.fieldwrap {
    padding: 1px;
    margin: 1px;
    clear: left;
}
.picR { clear:both; padding-right: 25px;
    margin-right: 5px;
    padding-top: 45px;
	margin-left:11px;
	color: #000;
    font-size: 12px;
	}
	.lasttext {text-align:right;padding-right:15px;}
.mobimage {display:none;}
a {color: #595959;}
a:hover{text-decoration:none;}
.dots {
    color: #595959;
    list-style-image: url(../art1/tic30x30.png);
    list-style-position: outside;
    font-weight: normal;
}
/* End here */
/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 420px) {
	.box1R{
float:none;	
	margin-left:-20px;
}
	
}
@media only screen and (min-width: 0px) and (max-width: 768px) {
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;
}
img.scalableR {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	vertical-align: bottom;
	float:none;
}
.box1R{float:none;	}
.lasttext {text-align:left;padding:0px;}
.footer {font-size:12px;   }
.mobimage {display:block;}
.p7IGMroot-wrapper {display:none;}
#logo h1 , #logo h2{font-size:24px;}
#logo h1 {padding-top:18px;}

}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 1024px) and (max-width: 1177px) {
.affinity-row.sidebar-right .column-1 {
    width: 68.7%;}
}
@media only screen and (min-width: 960px) and (max-width: 1023px) {
.affinity-row.sidebar-right .column-1 {
    width: 66%;}
}
@media only screen and (min-width: 840px) and (max-width: 959px) {
.affinity-row.sidebar-right .column-1 {
    width: 61%;}
}
@media only screen and (min-width: 769px) and (max-width: 839px) {
.affinity-row.sidebar-right .column-1 {
    width: 57%;}

}
@media only screen and (min-width: 769px) and (max-width: 1380px) {
#layout {max-width:1200px;}
}
