html {
	height: auto;
/* ie hack, intended for IE7. No negativ effect on previous IE versions */
/*	*height:99%;  */
	background-color: #0D54A2;
	background-image: linear-gradient( to Bottom, #253563, #0d54a2);
	background-repeat: repeat-x;
	background-position: left top;
	background-size: 100% 998px;

	padding: 0px;
	margin: 0px; 
}
body {
	height: auto;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #FFF;
	padding: 0px;
	margin: 0px;
}

a { text-decoration: none; }
/*img { max-width: 100%;
	  height: auto; } */
	  

.mainBack {
/*	background-color: #155CAA;
	background-image: linear-gradient( to bottom, #86aac6, #7ea4c0 223px, #538abf 499px, #155caa ); 
	background-size: 100% 998px; */
	background-color: #155CAA;
	background-image: linear-gradient( to bottom, #86aac6, #7ea4c0 223px, #538abf 599px, #155caa );
	background-size: 100% 1198px;
	background-repeat: repeat-x;
	background-position: right top;
	vertical-align: top;
	
	width: 96%; 
	display: block; 
	position: relative;
	margin: 0 auto; 
	min-width: 320px; 
	max-width:1118px; 
	box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5); 
	padding-bottom: 10px; 
	min-height: 100vh;
}

#main {
	background-image: url(Images/Header3.jpg);
	background-repeat: no-repeat;
	background-position: 88% top;
	display: block;
	width: auto;
	position: relative;
	min-width: 320px;
	padding-top: 150px;
	padding-bottom: 30px;
/*	font-size: 0px; */

}

#logo {
	display: block;
	position: absolute;
	left: 28px;
	top: 8px;
	text-align: left;
/*	transition: all .1s ease-out; */
}
#logo a { text-decoration: none; }

#logoImg {	height: 76px; 
}
#logo:hover { transform: scale(1.01,1.01); } 

#logoText {
	display: none;
}

#grid {
	display: -webkit-flex;
	display: flex;
	flex-flow: row nowrap;
	align-content: start;
	min-width: 320px;
	position: relative;
}
#menuWrapper {
	min-width: 180px;
	max-width: 190px; 
	flex: 1 18%;
	display: block;
}
#content {
	flex: 3 82%;
	position: relative;
	margin: 0 auto;
	padding-right: 2%;
	overflow: hidden;
	padding-bottom: 5px;
}

#main {
	display: block;
	position: relative;
	min-width: 320px;
	width: 100%;
}

#mainContent {
	display: block;
	width: 100%;
	position: relative;
/*	background: #CC3; */
	top: 0px;
	left: 0px;
	border-radius: 15px;
	box-shadow: 2px 2px 4px 0px rgba(0,0,10,0.30);
	background: rgba(255,255,255,0.5);
	min-height: 460px;
	padding: 20px;
		
	color: #003366;
	
}
/*
#innerMainContent {
	display: block;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
	
}
*/

.formBox {
	padding: 10px;
	border-radius: 10px;
	background: rgba(255,255,255,0.20);
	text-align: left;
}
.formBox.bright {
	background: rgba(255,255,255,0.50);
}
.formBox.center {
	text-align: center;
}
.formBox.centerBox {
	margin-left: auto;
	margin-right: auto;
}
.formBox.p0 { padding: 0px !important; }
.formBox.p5 { padding: 5px !important; }
.formBox.w180 {	max-width: 180px; }
.formBox.w300 {	max-width: 300px; }
.formBox.w400 {	max-width: 400px; }
.formBox.w500 {	max-width: 500px; }
.formBox.w550 {	max-width: 550px; }
.formBox.w600 {	max-width: 600px; }
.formBox.w620 { max-width: 620px; }
.formBox.w700 { max-width: 700px; }
.formBox.w100p { max-width: 100%; }


.content {
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
/*	max-width: 600px; */
}
.content h1 {
	font-size: 24px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	color: #355CB9;
	font-size: 24px;
	margin-top: 0px;
}
.content h2 {
	font-size: 18px;
	color: #355CB9;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 10px;
	padding-bottom: 0px;
}
.content .blue {
	color: #355CB9;
}
.content .green {
	color: rgba(0,153,102,1);
}
.content p {
	padding-left: 10px;
	padding-right: 10px;
	margin: 0px 0px 10px;
}
.content li {
	list-style-position: outside;
	padding-left: 5px;
	margin-left: 25px;
	margin-bottom: 3px;
}
.content ol li {
	list-style: outside decimal;
	list-style-position: outside;
	padding-left: 5px;
	margin-left: -10px; 
}
.content .text ol {
	padding-left: 30px;
}
.content .text ol li {
	padding-left: 5px;
	margin-left: 10px;
	margin-right: 30px;
	margin-bottom: 8px;
}
.content .apList {
	margin-left: 10px; 
/*	line-height: 18px; */
	margin-bottom: 10px;
}
.content .apList td {
	vertical-align: top;
	padding-bottom: 2px;
}



.content a {
	color: #355CB9;
	font-weight: bold;
	text-decoration: none;
	text-wrap:unrestricted;

}
.content a:hover {
	text-decoration: none;
	color: #CC0033;
}
.content .small {
	font-size: 11px;
}
/*.content table {
	border: solid 1px #800000;
}
.content td {
	border: solid 1px #f08000;
}*/

.news {
	font-size: 18px;
	padding-top: 6px;
}

#copyright {
	font-size: 10px;
	color: #000000;
	text-align: right;
	display: block;
	padding-bottom: 8px;
	position: relative;
	float: right;
	margin-top: 5px;
	margin-right: 4%;
	top: auto;
}
#copyright a {
	color: #000000;
	font-weight: bold;
}

#IHALink {
	font-size: 10px;
	color: #000000;
	text-align: left;
	display: block;
	margin-top: 155px;
	padding-bottom: 8px;
	position: absolute;
	left: 220px;
}
#IHALink a {
	color: #000000;
	font-weight: normal;
}

.flexBox180 {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
}
.flexBox180 > * {
	display: inline-block;
	text-align: center;
	margin: 5px;
	flex: 1 1 150px;
}
.flexBox180 > .vi {
	flex: 1 1 80px;
}
.flexBox180 img {
	max-width: 100%;
	height: auto;
}
	
.flexGallery {
	min-width: 280px;
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
	align-items: center;
	margin: -5px;
	padding: 5px;
	margin-top: 0;
	width: 100%;
}
.flexGallery>* {
	flex: 1 1 220px;
	display: block;
	margin: 5px;
	max-width: 262px; 
	min-width: 182px;
	text-align: center;
}
.flexGallery img {
	max-width: 100%;
}
.flexGallery.w550 {
	max-width: 550px;
}
.flexGallery.w800 {
	max-width: 800px;
}

.wrapper {
	display: block;
	width: 100%;
}
.dotLayer, .dotLayerS{
	position: absolute;
	display: block;
	background: #f00;
	z-index:2; 
	font-size:1px;
	margin-top: 1px;
	margin-left: 1px;
}
.dotLayer {
	height: 1.33%;
	width: 1.33%;
	border-radius: 4px;
	box-shadow: 0 0 4px 2px #f00;
}
.dotLayerS {
	height: 2px;
	width: 2px;
	border-radius: 1px;
	box-shadow: 0 0 1px 1px #f00;
}
	
	
.apImage {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=95)";
	filter:alpha(opacity=95);
	-moz-opacity:0.95;
	-khtml-opacity: 0.95;
	opacity: 0.95;
	
	max-width: 100%;
	height: auto;

	margin-left: 10px;
	float: right;
	margin-top: -60px;
}
.apImage.old {
	margin-top: 0px;
	float: none;
	margin-left: 8px;
}
.apGrid {
	display: flex; 
	flex-flow: wrap;
	align-items: stretch;
	justify-content: center;
	margin: -5px;
}
.apColumn {
	flex: 1 1 50%;
}
.apCell {
	display: inline-block;
	text-align: center;
	border: 1px solid #DBE4EC;
	padding: 10px 10px;
	margin: 5px;
	flex: 1 1 110px;
}
.apGrid.w80 .apCell {
	flex: 1 1 80px;
}

a.apLink img {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	filter:alpha(opacity=60);
	-moz-opacity:0.60;
	-khtml-opacity: 0.60;
	opacity: 0.60;
	padding-bottom: 6px;
	
	max-width: 100%;
	height: auto;

	-moz-transition: opacity 0.2s ease-out;  /* FF4+ */
    -o-transition: opacity 0.2s ease-out;  /* Opera 10.5+ */
	-webkit-transition: opacity 0.2s ease-out;  /* Saf3.2+, Chrome */
    -ms-transition: opacity 0.2s ease-out;  /* IE10? */
    transition: opacity 0.2s ease-out;  	
	
}
a.apLink:hover img {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter:alpha(opacity=100);
	-moz-opacity:1.00;
	-khtml-opacity: 1.00;
	opacity: 1.00;

}
@media (hover:none) {
	a.apLink img {
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		filter:alpha(opacity=100);
		-moz-opacity:1;
		-khtml-opacity: 1;
		opacity: 1;
	}
}
a.apLink {
	display: block;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #355CB9;
	font-weight: bold;
	text-decoration: none;
}
a.apLink span {
	font-size: 11px;
}
a.apLink:hover {
	display: block;
	color: #CC0033;	
}

#rightSpacer {
	display: block;
	height: 8px;
	width: 8px;
}
.border, .imgRight, .imgLeft, .imgCenter {
	border: 1px solid #000000;
	border-radius: 6px;

	-moz-transition: box-shadow 0.2s ease-out;  /* FF4+ */
    -o-transition: box-shadow 0.2s ease-out;  /* Opera 10.5+ */
	-webkit-transition: box-shadow 0.2s ease-out;  /* Saf3.2+, Chrome */
    -ms-transition: box-shadow 0.2s ease-out;  /* IE10? */
    transition: box-shadow 0.2s ease-out;  	
}
a .border:hover, a .imgRight:hover, a .imgLeft:hover, a .imgCenter:hover {
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
}
img.border, .imgRight, .imgLeft, .imgCenter {
	max-width: 100%;
	height: auto;
}

.imgRight {
	float: right;
	margin-bottom: 8px;
	margin-left: 8px;
}
.imgLeft {
	float: left;
	margin-bottom: 8px;
	margin-right: 8px;
}
.imgCenter {
	margin: 0px auto 16px;
}

.imgText {
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	color: #355CB9;
	
}

.salesFB1 {
	display: flex;
	flex-flow: row wrap;
	margin-left:-14px;
}
.salesFB2 {
	display: flex;
	flex-flow: row wrap-reverse;
/*	align-items: flex-end; */
    align-items: stretch;
	margin-left:-14px;
}

.salesFB1 div,
.salesFB2 div { 
	border-radius: 10px;
	margin: 0 10px;
	background: rgba(255,255,255,0.20);
	background: linear-gradient(to bottom, #cddce7 0px, #cddce7 210px, #a8c3df 920px, #a8c3df 1200px);
	background-size: 100% 1200px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	background-attachment: fixed;
/*	background: #c9d9e6; */
	padding: 10px;
	position: relative;
}
	
.salesFB1 div { 
	margin: -14px 0px 0px 14px; 
	/*transform: rotate(0.1deg);*/
	z-index: 1;
}
	
.salesFB2 div { 
	margin: -14px 0px 30px 14px; 
	z-index: 2;
	opacity: 0.99;
}
.salesFB1 h2 {
	margin-top: 0px;
}
.nList { padding-left: 14px; }
.nList span { margin-left: -14px; width: 14px; display: inline-block;}

.salesFB3 {
	display: flex; 
	flex-flow: row wrap;  
	align-items: center;
	justify-content: center;
	margin-left: -5px;
	margin-right: -5px;
}
.salesFB3 a {
	display: block;
	margin-left: 10px;
	margin-right: 10px;
}
.salesFB3 a img {
	max-width: 100%;
}
.centerText {
	text-align: center;
}
.centerDiv {
	margin-left: auto;
	margin-right: auto;
}




/* required for chome bug, max-width on table not working... */
.salesTableWrapper { 
	width: 460px;
	max-width: 97%;
}

	
.salesTable {
	position: relative;
	display: table;
	width: 100%;
	margin-bottom: 4px;
	border-collapse: separate;
	border-spacing: 0 6px;
	margin-left: 10px;
}
.salesTable a {
	display: table-row;
	cursor: pointer;
	border: solid 2px #c2d4e2;
}
.salesTable a:hover {
	color: #355CB9; 
	background-color: rgba(255,255,255,0.3);
	
}
.salesTable div {
	display: table-cell;
	padding-left: 5px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 4px;
	vertical-align: top;
	border-top: 1px solid rgba(255,255,255,0.3);
	border-bottom: 1px solid rgba(255,255,255,0.3);
	border-color: rgba(255,255,255,0.4);
}
.salesTable div:first-child {
	max-width: 180px;
	width: 40%;
	border-left: 1px solid rgba(255,255,255,0.3);
}
.salesTable div:nth-child(2) {
/*	max-width: 170px; 
	min-width: 75px; */
}
.salesTable div span {
	display: inline-block;
	white-space: nowrap;
	min-width: 65px;
	position: relative;
	float: left;
}
.salesTable div:last-child {
/*	flex: 0 0 110px;		*/
	max-width: 120px;
	text-align: right;
	white-space: nowrap;
	border-right: 1px solid rgba(255,255,255,0.3);
}

.salesTable.houses div:first-child {
	max-width: 380px;
	width: 75%;
}

.saleBack {
	display: block;
	margin-bottom: 15px;
}


#debug {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #990000;
	background-color: #FFFFFF;
	position: absolute;
	left: 10px;
	bottom: 50px;
	border: 1px solid #000000;
	display: none;
	text-align: center;
	height: 50px;
	width: 300px;
}

/* ---- OLD SITE ---- */

/*
#mainBox {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=35)";
	filter:alpha(opacity=35);
	-moz-opacity:0.35;
	-khtml-opacity: 0.35;
	opacity: 0.35;
}
.tlw { background-image: url(Images/TLw.gif); display: block; float: left; height: 10px; width: 10px; font-size: 1px; line-height: 1px; overflow: hidden; position: absolute; left: 0px; top: 0px; }
.tbw { background-color: #FFFFFF; display: block; height: 10px; padding: 0px; font-size: 1px; line-height: 1px; margin-right: 10px; margin-left: 10px; }
.trw { background-image: url(Images/TRw.gif); display: block; height: 10px; width: 10px; font-size: 1px; line-height: 1px; position: absolute; top: 0px; right: 0px; }
#cw { 
	background-color: #FFFFFF; 
    display: block;
	color: #000000;
	padding-right: 20px;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 30px;
	min-height: 380px;
}
.blw { background-image: url(Images/BLw.gif); display: block; height: 10px; width: 10px; font-size: 1px; line-height: 1px; position: absolute; left: 0px; bottom: 0px; }
.bbw { background-color: #FFFFFF; display: block; height: 10px; clear: none; margin-right: 10px; margin-left: 10px; font-size: 1px; }
.brw { background-image: url(Images/BRw.gif); display: block; height: 10px; width: 10px; font-size: 1px; line-height: 1px; position: absolute; right: 0px; bottom: 0px; }

#mainShadow {
	display: block;
	position: relative;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
	filter:alpha(opacity=25);
	-moz-opacity:0.25;
	-khtml-opacity: 0.25;
	opacity: 0.25;
	top: 3px;
	left: 2px;
	width: 100%;
	padding-right: 3px;
	padding-bottom: 3px;
	
}
.tlb { display: block; height: 10px; width: 10px; font-size: 1px; position: absolute; left: 0px; top: 0px; }
.tbb { display: block; height: 10px; margin-right: 10px; margin-left: 10px; font-size: 1px; }
.trb { background-image: url(Images/TRb.gif); display: block; height: 10px; width: 10px; font-size: 1px; position: absolute; top: 0px; right: 3px; }
#cb {
	background-image: url(Images/RBb.gif);
	display: block;
	color: #000000;
	padding-top: 10px;
	padding-bottom: 30px;
	padding-right: 20px;
	padding-left: 20px;
	background-repeat: repeat-y;
	background-position: right top;
	min-height: 380px;
}
.blb { background-image: url(Images/BLb.gif); display: block; height: 10px; width: 10px; font-size: 1px; position: absolute; left: 0px; bottom: 3px; }
.bbb { background-image: url(Images/BBb.gif); display: block; height: 10px; margin-right: 10px; margin-left: 10px; font-size: 1px; background-repeat: repeat-x; background-position: left bottom; }
.brb { background-image: url(Images/BRb.gif); display: block; height: 10px; width: 10px; font-size: 1px; position: absolute; right: 3px; bottom: 3px; }

*/

/*
.table {
	background-image: url(Images/BGextleft.gif);
	background-repeat: repeat-y;
	background-position: left top;
}*/

/*.leftShadow {
	background-image: url(Images/BGshadowleft.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}
#rightShadow {
	background-image: url(Images/BGshadowright.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	display: block;
	height: auto;
}
.rightShadow {
	background-image: url(Images/BGshadowright2.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	height: 100%;
	vertical-align: top;
}

#contentSpacer {
	font-size: 1px;
	display: block;
	height: 1px;
	width: 770px;
	visibility: hidden;
}

#innerSpacer {
	font-size: 1px;
	display: block;
	height: 500px;
	border: 1px solid #FFFF00;
}
#logo img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}


#logoBack {
	display: block;
	position: absolute;
	left: 32px;
	top: 100px;
	
}

#table2 {
	display: block;
	position: relative;
	top: 150px;
}
*/
