/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  Boardroom Theme
  ------------------------------------------------
*/

body {
	background-color: #D6BA94;
	font-family: 'Lora', serif;
	font-size: 1.1em;
	color: #F0E4D4;
	margin: 0px 0px 30px 0px;
}


/*Drop Menu Magic Adjustments*/
.p7DMM03 {
	font-family: Cuprum, Optima, Arial, Helvetica, sans-serif;
	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 {
	padding: 0px 00px;
	position: relative;
	z-index: 10;
 	/*background-image: -webkit-linear-gradient(#333, #111);
	background-image: linear-gradient(#333, #111);
	background-color: #151515;
	box-shadow: 0px 0px 30px #000;*/

#top {
	max-width: 1350px;
	height: 125px;
	margin: auto;
	background: #b94418 url(../images/KarenGSilverman_A1a.jpg) no-repeat right;
 }
 
 #logo {
	width: 160px;
	height: 125px;
	float: left;
	border-right: solid #000000 5px;
	background:#EDE1D0;
	background-image: url(../images/KGS_Logo.jpg);
 }

.logo a {
	text-indent:-9999em;
	width: 160px;
	height: 125px;
	display:block;
	 
	background-repeat: no-repeat;
  }
 

.clearfloatleft{ clear: left;}
a {color: #EDE1D0; text-decoration:none;}
a:hover {text-decoration: underline;}

#banner {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	background-color: #54360e;
}
.wrapper {max-width:1200px; margin: 0 auto;}

/*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: #C99B5F;
	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-image: -webkit-linear-gradient(#EDE1D0, #CCC);
	background-image: linear-gradient(#EDE1D0, #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;	 

}
/* B*/
.affinity-row.sidebar-left .column-1b {
	width: 75.6%;
	float: right;
	background-color: #851801;
 		border-top: 3px solid #000000;



}

.affinity-row.sidebar-left .column-2b {
	width: 24%;
	float: right;
	background-color: #C99B5F;
	border-top: 3px solid #000000;
	border-right: 3px solid #000000;
	background-image: url(../images/fadedlogo.jpg);
	background-repeat: no-repeat;
 }

.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: right;
	background-color: #54360E;
}
.affinity-row.sidebar-right .column-2 {
	width: 24%;
	float: right;
	background-color: #865616;
}
.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 14px;
}
.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: ;
	line-height: normal;
	margin: 30px 0px 0px 0px;
	font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif;
}
.column-content h1:first-child,
.column-content h2:first-child,
.column-content h3:first-child,
.column-content h4:first-child {
	margin-top: 10px;
}

 h2 {
	font-weight: normal;
	font-size: 25px;
	color: #f3bf69;
	padding-left:20px;
	margin-bottom: 0px;
	padding-bottom: 0px;
 }
 
 h3 {
	font-weight: bold;
	font-size: 14px;
	padding: 0px;
	margin: 0px;
 }


/*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: #2A1902;
	text-align: center;
	padding: 10px 0;
	font-size: 0.8em;
	border-radius: 0px 0px 5px 5px;
	border-top: 1px solid;
	border-color: #726561;
	background-color: #885817 !important;
	background-image: -webkit-linear-gradient(90deg,rgba(136,88,23,1.00) 3.11%,rgba(181,133,67,1.00) 100%,rgba(99,88,84,1.00) 100%) !important;
	background-image: -moz-linear-gradient(90deg,rgba(136,88,23,1.00) 3.11%,rgba(181,133,67,1.00) 100%,rgba(99,88,84,1.00) 100%);
	background-image: -o-linear-gradient(90deg,rgba(136,88,23,1.00) 3.11%,rgba(181,133,67,1.00) 100%,rgba(99,88,84,1.00) 100%);
	background-image: linear-gradient(0deg,rgba(136,88,23,1.00) 3.11%,rgba(181,133,67,1.00) 100%,rgba(99,88,84,1.00) 100%) !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;
}

 
 .contact{
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 15px;
	color: #FFEDDD;
	line-height:1.5;
	padding-left:20px;
	padding-right: 25px;
	font-weight: normal;

	}
 
.imgRight {
	float: right;
	padding-right: 0px;
	padding-left: 15px;
}



/*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: 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: #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(#ede1d0, #AAA);
	background: linear-gradient(#EDE1D0, #AAA);
	background-color: #EDE1D0;
	color: #000;
}
.affinity-row.sidebar-left .column-content .blast,
.affinity-row.sidebar-right .column-content .blast,
.full-round {
	border-radius: 6px !important;
}
.column-content.p7ehc-sbr .nav ul {
}
.column-content.p7ehc-sbr .nav ul {
}
.column-content.p7ehc-sbr .nav ul {
	list-style-type: none;
}



/*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-2b, .column-1b,
.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;
}
.google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }
.google-maps {
        position: relative;
        padding-bottom: 75%; // This is the aspect ratio
        height: 0;
        overflow: hidden;
    }

.imgRight {
	float: none !important;
	padding: 0px !important;
}
 
}

@media only screen and (min-width: 0px) and (max-width: 845px) {

#top {
	background: #b94418 url(../images/KarenGSilverman_A1b.jpg) no-repeat right;
 }

}
@media only screen and (min-width: 0px) and (max-width: 845px) {

#top {
	background: #b94418 url(../images/KarenGSilverman_iphone.jpg) no-repeat right;
 }

}

/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 1380px) {
#layout {max-width: none;}
}

/* Clear Fix Code */
.ClearFix:after{
      content:".";
      display:block;
      height:0;
      clear:both;
      visibility:hidden;
}

/* WinIE7 only */
*:first-child+html .ClearFix{
      height:1%;
 }

/* WinIE6 and below */
* html .ClearFix{
      height:1%;
}
