/* STEALING GRAPHICS FOR HEADER -- via deploy-time pass of buildutils/python/process_vhosts.py
/* url(/graphics/headers/Virginia-Housing-Search-Homepage-1.jpg); */
/* url(/graphics/images/VASHsearchicon.png); */
/* url(/graphics/images/sponseredbylogo.png); */


body {
	margin: 0;
	font: normal 16px/20px  Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 16px;
	text-align: left;
	color: #000033;
	background-color:#FFF;
	}

a, a:visited, a:active  {
	color: #0a4840;
	text-decoration: underline;
	background-color: inherit;
    }
a:hover, a.listingButton:hover {
    color: #c46e0f !important;
    text-decoration: none;
	background-color: inherit;
    }

#mastertable {
	max-width:1400px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	font: normal 16px/20px  Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 16px;
	text-align: left;
	color: #000033;
	}

#toptable {
	width: 98%;
	margin-top: 5px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	}

#reducetable {
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	}

.languageLinkPadding {
	padding-right: 5px;
	flex-basis:100% !important;
	color:#FFF;
}
.languageLinkPadding a {
	color:#FFF;
}

.welcomeFL {
	text-align:center;
	max-width:1000px;
	margin:auto;
	font-size:115%;
	line-height:140%;
}
.welcomeHead {
	color:#0a4840;
	text-align:center;
	line-height:125%;
	font-size:175%;
	margin:10px auto;
}

@media only screen and (max-width: 500px) {
	.welcomeHead {
		font-size:140%;
	}
	.welcomeWAddy {
		font-size:100% !important;
	}
}

@keyframes hero{
	0%, 17%, 20%    {background-position-x: 0%;}
	20%, 37%, 40%   {background-position-x: 50%;}
	40%, 57%, 60%   {background-position-x: 94%;}
	60%, 77%, 80%   {background-position-x: 50%;}
	80%, 97%, 100%  {background-position-x: 0%;}
}

.VAHeaderBG {
	background:url(/graphics/headers/vahero_topper.jpg) no-repeat;
	background-position-y:top;
	background-position-x:0%;
	background-size: cover;
	animation-name:hero;
	animation-duration:85s;
	animation-iteration-count: infinite;
	height: 131px;
}

.block {
	display:block;
}

h1 {
	font-size: 120%;
	color: #0a4840;
	}

#paintTitle {
	color: #c46e0f;
	border-bottom: solid 1px #c46e0f;
	background-color: inherit;
	}

.paintTitle {
	color: #c46e0f;
	border-bottom: solid 1px #c46e0f;
	background-color: inherit;
	}

.paintTitle2 {
	color: #c46e0f;
	border-bottom: solid 1px #c46e0f;
	background-color: inherit;
	}

.paintTitleH2 {
	color: #c46e0f;
	border-bottom: solid 1px #c46e0f;
	font-size: 16px;
	background-color: inherit;
	}

.footerstrip
{
	background-color: inherit;
}

.VAFooterTop {
	background-image: url(/graphics/images/Virginia-Housing-Search-footer-lines.png);
	background-repeat: repeat;
	height: 40px;
	margin-top: 100px;
	width: 100%;
}
.VAFooter {
	background-color:#003435;
	color:#000;
	padding-bottom:40px;
	border: 10px solid transparent;

}
.VAFooter > div:first-child {
	display:flex;
	flex-wrap:wrap-reverse;
	max-width:1125px;
	margin: 0 auto;
	}
.VAFooter > div:first-child > div {
	flex:1 1 400px;
	}
.VAFooter a {
	color:#fff;
	text-decoration: none;
	}
.VAFooter a:hover {
	color: #c46e0f;
}
.footerNav {
	display:flex;
	flex-wrap:wrap;
	align-content: flex-start;
	line-height:175%;
	font-size:90%;
	}
.footerNav > div {
	flex:1 1 13%;
    padding: 20px 0 10px 20px;
	}
.footerNav > div:last-child {
	}
.footerNav ul {
    margin: 0;
    padding: 0;
	}
.footerNav li {
    white-space: nowrap;
    list-style-type: none;
	}
.footNavHead {
	color:#ff6727;
	font-weight:700;
	}

.standardFooter {
	font-size:75%;
	background-color: #003435;
	color:#FFF;
	}
.standardFooter a {
	color:#FFF;
}
.standardFooter img {
	background-color:#FFF;
}

.headerImg{
}

.headFlex {
	display:flex;
	flex-wrap:wrap;
	align-items:stretch;
	height: 131px;
	background-color: rgba(0,0,0,.7);
}
.headFlex > div {
	flex: 1 1 auto;
}
.headFlex > div:nth-child(2) {
	padding:10px;
}

.headFlexBG {
	max-height: 217px;
}
.headProper{
	float: left;
	margin-left: 20px;
}

.headProper a{
	font-size: 35px;
	color: #fff;
	text-decoration: none;
}
.headProper img {
	max-width:637px;
}

/*Text Search Styling*/

.VATextSearchContainer form > div {
	display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
}

.VATextSearchContainer .tsTextboxClass {
	border:none;
	height:36px;
	width: calc(100% - 44px);
}

.VATextSearchContainer .tsSubmitClass {
	height:40px;
	width:initial;
	background:#fff;
	border:none;
	padding:0;
}
.tsSuggest {
	flex-basis: 100%;
	background: white;
	color: #111;
	padding: 3px;
	margin-top: 3px;
	margin-bottom: -25px;
	z-index:99;
}
.tsSuggest > ul {
	margin: 2px;
	padding: 0px;
	list-style-type: none;
	-webkit-columns: 4 150px;
	-moz-columns: 4 150px;
	columns: 4 150px;
}
.tsMessage {
	margin-bottom:-10px;
}

.textContainer {
	width:88%;
	padding: 10% 6%;
	background:url(/graphics/headers/vahero.jpg) no-repeat;
	background-position-y:top;
	background-position-x:0%;
	animation-name:hero;
	animation-duration:85s;
	animation-iteration-count: infinite;
}
.textFlex {
	display:flex;
	flex-direction:column;
	color:white;
	background-color: #0a4840;
	padding:2%;
	max-width: 750px;
	margin: 0 auto;
}
.textTitle {
	font-size: 40px;
	font-weight:700;
	line-height: 40px;
	padding-bottom: 4px;
	margin-left: -3px;
	line-height: 120%;
}
.textAdvanced {
	padding-top:4px;
	text-align:right;
	font-weight: bold;
	font-size: 125%;
}
.textAdvanced a {
	color:white;
	text-decoration:none;
}

@media all and (max-width: 600px) {
	.textContainer .textTitle {
		display:none;
	}
	.VATextSearchContainer .tsTextboxClass {
		width:80%
	}
	.VATextSearchContainer .tsLabel {
		width:100%;
	}
}

/*CMS Styling*/
.CMSContainer{
	width: calc(102% - 9px);
	margin: -1%;
	padding: 5px;
}

.cmsArray {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-evenly;
	max-width:1080px;
	margin:auto;
	margin-top:30px;
}

hr {
	max-width: 1200px;
	color: #0a4840;
}

.cmsTile {
	flex:1 1 320px;
	margin:7px 10px;
	background-color:white;
	position:relative;
	max-width:385px;
}
.cmsTileTop {
	text-align:center;
	height:240px;
	max-height: 240px;
	border: 1px solid gray;
	background:#333;
}
.cmsTileMid {
	margin-left: 8px;
}
.cmsTileTop img {
	max-width: 380px;
	height: 240px;
	object-fit: cover;
    object-position: top;
}
.cmsTileTitle {
	font-size:120%;
	font-weight:bold;
	margin-top: 20px;
	color: #0a4840;
}
.cmsTileTitle > div {
	font-size:0.8em;
	font-weight:normal;
	color:#006;
	margin-top:5px;
}
.cmsTileBottom {
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.cmsTileBottom a {
	width:100px;
	padding:3px 15px;
	text-align:center;
	font-weight:bold;
	text-decoration:none;
	color:#0a4840;
	border:1px solid #ff6727;
	border-radius:5px;
	margin-left:8px;

	font-weight: normal;
}

.cmsTileBottom  a:hover {
	font-weight: bold;
	/*background-color:rgba(29, 98, 155, 0.75);*/
}
.cmsTiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
	max-width: 1200px;
}
.cmsTiles > div {
	flex: 1 1 390px;
    min-height: 340px;
    max-width: 320px;
    margin: 10px;
	background-position: top !important;
}
.cmsTileInner {
	display:flex;
	flex-direction:column;
	height:100%;
}
.cmsTileInner > div {
	flex: 1 1 auto;
}
.plate {
	color:#FFF;
	overflow: hidden;
	height:100%;
	max-height:40ch;
}
.plateContent {
	display: flex !important;
    flex-wrap: wrap;
    height: 80%;
    align-items: flex-end;
    padding-top: 10%;
}
.plateContent > span {
	flex:1 1 100%;
}
.plateTitle {
	font-weight:bold;
	font-size:160%;
	line-height:115%;
	padding-bottom:5px;
	margin-bottom:130px;
}
.plateIntro {
	font-size:90%;
	padding-bottom:5px;
}
.cmsTiles a span {
	display:block;
}
.cmsTiles .cmsArticles a {
	text-decoration:none;
	background: linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,.6));
	background-position: center top;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: calc(100% - 40px);
	padding:20px;
}

.cmsTiles .cmsArticles a:hover {
	background: linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,.8));
}

.cmsTiles .cmsArticles a > span {
	flex: 1 1 auto;
}
.cmsTiles .cmsStickies a {
	text-decoration:none;
	color:#FFF;
	text-align:center;
	display:block;
	height: calc(100% - 0px);
	padding:0px;
}
.stickyPlate {
	display:flex !important;
	flex-direction:column;
	justify-content:center;
	height:100%;
}
.stickyPlate > span {
	flex: 1 1 auto;
}
.stickyHeadSpace {
	height:15%;
}
.stickyTitle {
	font-size:140%;
	line-height:140%;
	font-weight:700;
	height:40%;
}
.stickyButtonWrapper {
	height:20%;
}
.stickyButton {
	padding:15px;
	width:50%;
	font-size: 120%;
	font-weight: bold;
	margin:5px auto;
	background-color: #0a4840;
	color: #fff;
}
.cmsStickies a:hover .stickyButton {
	background-color:#FFF;
	color:#c46e0f;
}

.SFnavcontainer {
	font-size:90%;
}
.list-start{
	color:#c46e0f;
	font-weight: bold;
}

.forsaleFlex {
	display: flex;
	flex: 1 1 auto;
	max-width: 1000px;
	margin: 0 auto;
	margin-top:40px;
}
.forsaleFlex > div {
	flex: 1 1 400px;
}

.forsaleRight {
	background: #e8e8e8;
}
.forsaleChild {
	width: 50%;
	height: 100%;
	line-height: 140%;
	padding: 30px;
}
.forsaleHead{
	color: #0a4840;
	font-size: 180%;
	font-weight: bold;
	margin-bottom: 20px;
}

.frontBoxBox {
	width: 96%;
	margin-left: -1%;
	padding: 3%;
}

.frontBoxBox > div:first-child {
	font-size:125%;
	margin-top: -2%;
	line-height: 120%;
}

.frontFlex {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	margin:0 auto;
	max-width:1080px;
}
.frontFlex > div {
	flex: 1 1 250px;
	min-height:250px;
	margin:10px;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
}
.frontFlex > div > div {
	margin-top: 100px;
	text-align: center;
}
.frontFlex a,
.frontFlex span {
    font-size: 100%;
    padding: 10px;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    color: white;
	border: 1px solid #ff6727;
	border-radius: 10px;
    line-height: 120%;
    justify-content: center;
    min-height: 48px;
    align-items: center;
	background-color: rgba(1,1,1,.8);

}
.frontFlex a:hover {
	font-weight: bold;
	/*background-color:rgba(29, 98, 155, 0.75);*/
}
.frontFlex span {
	background:inherit;
	font-size:155%;
	font-size:155%;
}

.frontFlex h3{
	color: white;
	height: 50px;
	text-shadow: 2px 2px #000;
}


.homepageFlex {
	display: flex;
	flex-wrap:wrap-reverse;
	max-width: 1080px;
	margin: 0 auto;
	font-size:120%;
	line-height:140%;
	padding:30px;
	align-items: baseline;
}

.homepageChildNarrow {
	flex: 1 1;
	height: 100%;
	line-height: 140%;
	padding-right:40px;
	min-width:185px;
	max-width: 273px;
}
.homepageChildWide {

	flex: 2 1;
	height: 100%;
	line-height: 140%;
	font-size:110%;
}
.homepageHead{
	color: #57641f;
	font-size: 180%;
	font-weight: bold;
	margin-bottom: 20px;
}

.bigBlue{
	color: #0a4840;
	font-weight: bold;
	font-size: 24px;
}

h3.ui-state-active {
	background: #cb2020 !important;
}


.sponsorBar {
	clear:both;
}
.sponsorBar > div:first-child {
	color:#058e7e;
	width:10%;
	float:left;
	padding-top:40px;
}
.sponsorBar > div:first-child > img {
	width:100%;
	height:auto;
}
.sponsorBar > div:last-child {
	width:90%;
	float:right;
}
.HIBar {
	height:1px;
	margin-left:-15px;
}