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

body {
	font-family: "Roboto", Arial, sans-serif;
	margin: 0px 0px 30px 0px;
	color:#333333;
	background:#CBCDE2;
}


/*Drop Menu Magic Adjustments*/
.p7DMM03 {
	font-family:"Roboto", Arial, sans-serif;
	font-size: 1.2em;
}
.p7DMM03.p7DMM.p7dmm-left {
	padding-left: 20px;
}
.p7DMM03.p7DMM.p7dmm-right {
	padding-right: 20px;
	float:right;
	margin-top:47px;
}


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


/*Logo and Banner*/
#logo {
	padding:0px 20px 10px;
	position: relative;
	z-index: 10;
	background-color:#5159A1;
	border-bottom:5px solid #FFFFFF;
	/*overflow:hidden;*/
	/*text-align:center;*/
}
#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;
	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:#F5F5F9;
	background-image: none;
	background-image: none;
	/*border-radius:5px;*/
}

/*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: 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: "Roboto", Arial, sans-serif;
	line-height: normal;
	margin: 20px 0px 20px 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:#FFFFFF;
	font-size: 0.8em;
	border-radius: 0px 0px 5px 5px;
	border-top: 1px solid;
	border-color: #5159A1;
	background-color:#5159A1 !important;
	
}
.footer h3, .footer h4 {
	font-family:"Roboto", 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: #FFFFFF;
	text-decoration:none;
}
.footer a:hover, .footer a:focus {
	color:#CBCDE2;
}
.copyright {
	font-size: 0.8em;
	/*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: 1em;
  line-height: 1.45em;
	font-family:"Roboto", Arial, sans-serif;
}
/*Use this class to asign a black accent box around your content*/
.affinity-row .blast {
	font-family:"Roboto", Arial, 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(#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;
}
/* New Css */
#masthead {
	
	/*background:#34AADF;
	border-top:5px solid #FFFFFF;*/
}
p {
	margin-top:10px;
	margin-bottom:10px;}
h1 {
   font-size:1.6em;	
   color:#5159A1;
   font-weight:100;
}
h2 {
   font-size:1.4em;	
   color:#5159A1;
   font-weight:100;
}
h3 {
   font-size:1.3em;	
   color:#5159A1;
   font-weight:100;
}
h4 {
   font-size:1.1em;	
   color:#5159A1;
   font-weight:400;
}  
h5 {
   font-size:1em;	
   color:#5159A1;
   font-weight:400;
}    
a {
	color:#5159A1;
	text-decoration:underline;
}
a:hover {
	
	color:#5159A1;
	text-decoration:none;
}
.map-wrapper {
  position: relative;
  padding-bottom: 100%;
  padding-top: 0px;
  height: 0px;
  overflow: hidden;
  margin-bottom: 20px;
  }
  .map-wrapper iframe, .map-wrapper object, .map-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  }
 strong, b  {
	font-weight:500; 
 }
 .sash {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 70px;
  height: 70px;
}
 .read-more {
	 background:#5159A1;
	 color:#FFFFFF;
	 padding:8px;
	 border-radius:5px;
	 text-decoration:none;
	 border:none;
}
.read-more:hover {
	
	color:#FFFFFF;
}
.affinity-row .column-1 {
  width: 65%;
  float: left;
}
.caption {
  position: absolute;
  right: 0;
  bottom: 50px;  
  color: #FFFFFF;
  font-size: 13px;
  padding: 3px 20px;
  background-color:#33B0E2;
  border-top-left-radius: 3px;
  border-bottom-left-radius:3px;
  
}
.captionhome {
  position: absolute;
  right: 0;
  bottom: 125px;  
  color: #FFFFFF;
  font-size: 13px;
  padding: 3px 20px;
  background-color:#33B0E2;
  border-top-left-radius: 3px;
  border-bottom-left-radius:3px;
  
}
.title {
   background:#5159A1;
  color: #FFFFFF;
  overflow: hidden;
  padding: 10px;
  margin-bottom: 0px;
  margin-top:0px!important;
  border-radius: 5px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
.title a {
	color:#FFFFFF;
	text-decoration:none;
	vertical-align: sub;
}
hr {
	border:none;
	padding-bottom:20px;
}
.property-meta {
  	
   float:right;	
}
.search {
  margin-bottom: 20px;
  margin-top: -12px;
  background: #CBCDE2;
  padding: 0px 28px 20px 28px;
  border-radius:5px;
}
.serachhome {
 margin-bottom: 20px;
  margin-top: -30px;	
}
#contact-agent input[type="text"], #email-a-friend input[type="text"]{
	
	width:100%;
	height:30px;
	background: #F5F5F9;
  border: 1px solid #5159A1;
}
#contact-agent textarea ,#email-a-friend textarea{
	width:100%;
	background: #F5F5F9;
  border: 1px solid #5159A1;
}
.featured {
  padding: 2px;
  background: #FFFFFF;
  position: relative;
}
.featured1 {
  background: #FFFFFF;
  position: relative;
}
.homebottom {
  background:#5159A1;
  color: #FFFFFF;
  text-align: left;
  position: absolute;
  bottom: -2px;
  left: 0px;
  width: 98.4%;
  padding-left: 10px;
  padding-top: 4px;
  padding-bottom: 4px;	
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  opacity: 0.8;
}
.homebottom:hover,.homebottom2:hover  {
	
	 background:#5159A1;
	 opacity: 1;
}
.homebottom2 {
  background:#5159A1;
  color: #FFFFFF;
  text-align: left;
  position: absolute;
  bottom: 0px;
  left: 2px;
  width: 98%;
  padding-left: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius:8px;
  opacity: 0.8;
}
#email-details, #extra-details{
display:none;		
}
.search .affinity-row .column-fifth h5 {
	margin-bottom:5px;	
}
.serachhome .affinity-row .column-fifth h5 {
	margin-bottom:5px;	
}
.ptype {
	width:90%;
	height: 30px;
}
#search .affinity-row .column-fifth {
	text-align:center;
}
.serachhome .affinity-row .column-fifth h5 {
	margin-bottom:5px;	
}
.headerlogo {
background:#5159A1;
border-bottom:5px solid #FFF;
min-height:20px;		
}
.headerlogo2{
background:	#33B0E2;
min-height:20px;		
}
img.scalableF {
	height: auto !important;
  width: auto !important;
  max-width: 100%;
  vertical-align: bottom;
  border-radius:8px;
}
img.scalableR {
	height: auto !important;
  width: auto !important;
  max-width: 100%;
  vertical-align: bottom;
  border-bottom-left-radius:5px;
  border-bottom-right-radius:5px;
}
li {
  /* color: #FF2A0B; */
  list-style-image: url('../art1/arrow-right-blue.png');
}
.print {
  background: #33B0E2;
  color: #FFF;
  padding: 7px;
  border-radius: 5px;
  text-decoration: none;	
}
img.scalableR1 {
  margin: 0em 10px 0em 0em;
  border-radius: 5px;
  width: auto !important;
  height: auto !important;
  float: right;
  max-width: 100%;
}
img.scalableN {
  margin: 0em 10px 0em 0em;
  border-radius: 5px;
  width: auto !important;
  height: auto !important;
  float: right;
  max-width: 100%;
  margin-top: -117px;
}
/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width:1000px) and (max-width:1100px) {
.p7DMM03 ul a {
	padding: 10px 0px;
}
.p7DMM03.p7DMM.p7dmm-right {
	padding-right:0px;
}
.p7DMM03 ul li {
	margin-right: 6px;
}
}
@media only screen and (min-width:769px) and (max-width:999px) {
.p7DMM03.p7DMM.p7dmm-right {
	margin-top:0px;
	float:none;
}
#logo {
	padding: 0px 20px 0;
}
.p7DMM03.p7dmm-right {
	text-align:left;
}
.p7DMM03 ul li {
	float: left;
  padding: 6px 0px;
  margin-right:-1px;
}
.p7DMM03 ul a {
  color: #FFFFFF;
  font-size: 0.8em;
  padding: 10px 6px;
}
}
@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;
}
.p7DMM03.p7DMM.p7dmm-left, .p7DMM03.p7DMM.p7dmm-right {
	padding: 0px !important;
  float: none;
  margin-top: 4px;
}
.p7DMM03.p7dmm-right {
	text-align:left;
}
.featured {
	padding:2px 2px 2px 0;
}
.homebottom2  {
left:0px;
border-bottom-right-radius: 11px;	
}
.homebottom {
 border-bottom-right-radius: 11px;
	
}
.ptype {
	width:97%;
	height: 30px;
}
}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 1380px) {
#layout {max-width: none;}
}

@media only screen and (min-width:000px) and (max-width: 600px) {
img.scalableR1 {
  float: none;
}
img.scalableN {
  float: none;
  margin-top: -0px;
}
}
