    
.header{
	text-align:center;
	margin-top:6px;
	margin-bottom:6px;
	background: url('images/bg24.webp');
    background-size: cover;
    background-position-y: -250px;
    margin: 0px;
}
.header img {
  max-width: 515px;
    padding-bottom: 20px;
    filter: hue-rotate(55deg);
    filter: brightness(10000%);
    padding-top: 30px;
}
.header img:hover{
	background:rgba(60,120,210,0.25);
	padding:15px;
	border-radius:5px;
}
.subhead{
    display: block;
    padding: 5px;
    width: fit-content;
    margin-left: auto; margin-right: auto;
    margin-top: 10px;
    border-radius: 5px;
	color:#fff;
	padding-bottom: 24px;
    font-style: italic;
    font-size: 19px;
}
.subhead .i{
	color: red;
    font-weight: bold;
    font-size: 125%;
    margin: 0.5px;
}
#showinfo{
    width: 60%;
    max-height: 350px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.92);
    font-size: 46px;
    padding: 10px;
	padding-top:25px;
	padding-bottom:25px;
    opacity: 1;
	color:#337ab7;
    position: fixed;
    z-index: 99;
    border: solid 5px #337ab7;
    left: 20%;
    top: 25%;
	text-align:center;
}
body{
	/*font-family: 'Open Sans', sans-serif !important;*/
	font-family: 'Poppins', sans-serif !important;
	font-size:18px;
	/*background: url('rebg.jpg') no-repeat center center fixed;
    background-size: cover;
    background-repeat: no-repeat;*/
}
h1,h2,h3,h4,.theaddress{
	font-family: 'Poppins', sans-serif !important;
}
.h1, h1 {
    font-size: 43px;
}
.h3{
	font-size:32px;
}
.allcharts{
	margin-left:auto;
	margin-right:auto;
	display:block;
	text-align:center;
	max-width: 98%;
    overflow-x: auto;
	overflow-y:hidden;
}
.achart{
	display: inline-block !important;
    margin: 10px;
    padding: 5px;
    width: 620px!important;
    height: 350px!important;
    background: #fff;
    box-shadow: 0px 0px 10px 1px lightgrey;
    padding: 25px;
    /*margin-top: 35px;*/
}

li a{
	cursor:pointer;
}
div#changeview {
    max-height: 550px;
    overflow-y: auto;
}
.divblock{
	max-height: 550px;
    overflow-y: auto;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
#overallchange, #overallchange2{
	display:inline-block;
	width: 702px !important;
	box-shadow: 0px 0px 10px 1px lightgrey;
}
#avstat, #upstat,#downstat,.ovstat,.avgstat{
	background: lightgreen;
    display: inline-block;
    width: 300px;
    height: 200px;
    font-size: 30px;
    border-radius: 4px;
    padding: 25px;
	vertical-align:top;
	margin-bottom:35px;
}
.ovstat{
	background:orange;
	width:510px;
}
.avgstat{
	background:#dd81dd;
	width:480px;
}
#avstat{
	background:lightblue;
	font-size: 28px;
}
#downstat{
	background:pink;
}
.ovstat strong, .avgstat strong{
    display: block;
    font-size: 50px;
    padding-top: 12px;
}
#upstat strong, #downstat strong, #avstat strong {
    display: block;
    font-size: 72px;
}
tspan {
    font-size: 22px;
    line-height: 25px;
}
body #marketometer{
	display:inline-block;
}
.main{
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #eee;
}
.navbar{
	margin: 0px !important;
}
#overallchange2 g g:nth-child(2n) text{
	margin-left:50px !important;
}
.newsitem{
    background: #fff;
    padding: 20px;
    text-align: left;
    border-radius: 3px;
    width: 365px;
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0px 0px 10px 1px lightgrey;
    height: 440px;
    overflow-y: auto;
	padding-top: 0px;
	overflow-x: hidden;
	margin-bottom: 12px;
}
div#searchresults {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    background: #f4f8ff;
    width: min(760px, 95vw);
    max-height: 82vh;
    overflow-y: auto;
    overflow-x: hidden;
    top: 4%;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,80,180,0.22), 0 2px 8px rgba(0,0,0,0.12);
    padding: 0;
    border: 1.5px solid #1b96fe;
}
.newsitem .newsimgholder {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 140px;
    width: 113%;
    left: -7%;
    position: relative;
	    overflow: hidden;
}
.newsimgholder img{
	width: 100%;
}
#map {
	height: 55%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
	
}
.newsitem h5 {
    text-decoration: none !important;
    color: grey;
	margin-bottom: 16px!important;
}
#news {
    width: auto;
    display: block;
}
.gm-style-iw div{
	display:block !important;
}
p,div,img,.header,a,h3,h4,h2,h1,input,form,body,head{
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#headerboxright{
	float: right;
    border: solid 2px #1b96fe;
    border-right: 0px;
    padding: 5px;
    position: absolute;
    right: 0px;
    height: auto;
    top: 10%;
    z-index: 99;
	max-width: 25%;
}

.propertylisting{
	display: inline-block;
    width: 352px;
    height: auto;
    background: #006ac5;
    color: #fff;
    margin: 8px;
    padding-top: 10px;
    vertical-align: top;
    overflow-y: auto;
    max-height: 300px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 1px lightgrey;
    overflow-x: hidden;
	
	font-size: 18px;
    line-height: 25px;
}
.inserted {
    padding: 15px;
    display: inline-block;
    width: 300px;
    margin: 15px;
    background: #bcf1af;
}
.pricechange {
    padding: 2px;
    text-align: right;
    padding-top: 5px;
    padding-bottom: 5px;
}
.change{
	margin-top: 12px !important;
    display: block;
}
.theaddress{
	font-size: 22px;
    margin-bottom: 8px;
    display: block;
    font-weight: normal;
	
	/* text-shadow: 1px 1px 2px purple; */
    
}
button.btn.btn-primary {
    font-size: 18px;
}
/*
.positive{
	background: rgba(50,220,70,0.35);
}
.negative{
	background: rgba(220, 50, 96, 0.35);
}*/
.mapholder, #marketometer, .ovstat,.avgstat{
	max-width: 95%;
}
.arrow{
    width: 35px;
    margin-top: 5px;
    margin-left: 15px;
    float: left;
}
.searchform{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    padding: 8px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 99999;
    background: rgba(0, 50, 120, 0.92);
    backdrop-filter: blur(6px);
    border-radius: 0 0 0 10px;
    box-shadow: -2px 2px 12px rgba(0,80,200,0.25);
    min-width: 220px;
}

/* Search bar row: input + icon buttons */
.search-bar-row {
    display: flex;
    align-items: center;
    gap: 4px;
}
.search-bar-row .form-control {
    flex: 1;
    background: rgba(255,255,255,0.92);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    font-size: 14px;
    height: 34px;
    padding: 4px 10px;
    min-width: 140px;
}
.search-go-btn, .search-filter-btn {
    height: 34px;
    padding: 0 10px;
    font-size: 15px;
    border-radius: 6px !important;
    border: none;
    flex-shrink: 0;
}
.search-go-btn {
    background: #1b96fe;
    color: #fff;
}
.search-go-btn:hover {
    background: #006ac5;
}
.search-filter-btn {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.search-filter-btn:hover {
    background: rgba(255,255,255,0.32);
}

/* Filter panel — slides down below the bar */
#search-filters {
    display: none;
    background: rgba(255,255,255,0.97);
    border-radius: 0 0 8px 8px;
    padding: 10px 8px 12px;
    margin-top: 6px;
    border-top: 1px solid rgba(27,150,254,0.3);
}
#search-filters.sf-open {
    display: block;
}
.sf-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 6px;
}
.sf-row label {
    font-size: 12px;
    color: #444;
    width: 44px;
    flex-shrink: 0;
    font-weight: 600;
    margin: 0;
}
.sf-input {
    flex: 1;
    height: 30px !important;
    font-size: 13px !important;
    padding: 2px 8px !important;
    border-radius: 5px !important;
}
.sf-apply-btn {
    width: 100%;
    margin-top: 4px;
    font-size: 13px !important;
    padding: 5px 0 !important;
    background: #006ac5;
    border-color: #006ac5;
}

.today{
    background: rgba(0, 100, 0, 0.46);
    padding: 3px;
    border: lightgreen 2px solid;
}

.grouping1 div, .grouping2 div {
    margin: 2px;
    width: 150px;
    margin-top: 8px;
    height: 80px;
}
.grouping1{
	background: rgba(116, 118, 208, 0.5);
    width: auto !important;
    display: inline-block;
    margin: 8px;
	vertical-align: top;
}
.grouping2{
	background: rgba(150, 165, 210, 0.5);
    width: auto !important;
    display: inline-block;
    margin: 8px;
	vertical-align: top;
}
.mailerdiv{
	float: left;width: 25%; border: solid; padding: 15px;
}
/* Mobile Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 800px)
  and (-webkit-min-device-pixel-ratio: 1)
  and (orientation: portrait) {
	/* Mobile Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 800px)
  and (-webkit-min-device-pixel-ratio: 1)
  and (orientation: portrait) {
	 #marketometer{
		     margin-left: 0px !important;
	 }
	 .header{
		     background-position-y: -50px !important;
    margin: 0px;
    background-position-x: -150px !important;
	 }
	 #news{
		 margin-left: 5px!important;
    margin-right: 5px!important;
	 }
	  .ovstat strong, .avgstat strong{
		  font-size:42px !important;
	  }
	.mailerdiv{
		  float:none;
		  width:90%;
	}
	.subhead{
			max-width:90%;
	}
	.divblock {
		max-width: 95%;
		border: solid 2px #1b96fe;
		padding: 0px;
		border-radius: 5px;
	}
	#headerboxright{
		display:none;
		width:95;
		position:inherit;
	}
	.header img {
		max-width: 90%;
	}
  }
}

/* =============================================
   SEARCH RESULT CARDS
   ============================================= */

/* Sticky top bar inside the results overlay */
.sr-topbar {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #006ac5;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px 10px 0 0;
    z-index: 2;
}
.sr-topbar-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.sr-close-btn {
    background: rgba(255,255,255,0.18);
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}
.sr-close-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* Section heading inside results */
.sr-heading {
    padding: 12px 18px 6px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #006ac5;
    border-bottom: 1px solid #d0e8ff;
    background: #fff;
}

/* Grid of result cards */
.sr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 14px;
    background: #f4f8ff;
}

/* Individual result card */
.sr-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,80,180,0.10);
    border: 1px solid #d5e8ff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.sr-card:hover {
    box-shadow: 0 6px 22px rgba(0,80,180,0.18);
    transform: translateY(-2px);
}

/* Street view image area */
.sr-card-img img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.sr-card-img-placeholder {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #d0e8ff 0%, #1b96fe22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ab8d8;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Card body */
.sr-card-body {
    padding: 12px 14px;
    flex: 1;
}
.sr-card-addr {
    font-size: 14px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 2px;
    line-height: 1.3;
}
.sr-card-city {
    font-size: 11px;
    color: #789;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

/* Price history rows */
.sr-prices {
    border-top: 1px solid #e4eeff;
    padding-top: 8px;
}
.sr-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 3px 0;
    color: #667;
    gap: 4px;
}
.sr-price-latest {
    font-weight: 700;
    color: #1a2a3a;
    border-top: 1px dashed #c8dcf8;
    margin-top: 5px;
    padding-top: 6px;
}
.sr-price-date {
    color: #8899aa;
    flex: 1;
    font-size: 11px;
}
.sr-price-val {
    font-weight: 500;
    font-size: 13px;
}
.sr-price-chg {
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.sr-up   { background: #e6f9e6; color: #1e7a1e; }
.sr-down { background: #fce8e8; color: #c0392b; }
.sr-neutral { background: #f0f0f0; color: #666; }

/* Empty / loading / limit states */
.sr-empty {
    padding: 32px 20px;
    text-align: center;
    color: #778;
    font-size: 15px;
    background: #fff;
}
.sr-loading {
    padding: 32px 20px;
    text-align: center;
    color: #006ac5;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
}
.sr-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid #d0e8ff;
    border-top-color: #1b96fe;
    border-radius: 50%;
    animation: sr-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes sr-spin { to { transform: rotate(360deg); } }

.sr-limit {
    padding: 10px 18px 14px;
    font-size: 12px;
    color: #9ab;
    font-style: italic;
    text-align: center;
    background: #f4f8ff;
}

/* Mobile tweaks for search results */
@media (max-width: 600px) {
    .sr-grid {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 10px;
    }
    div#searchresults {
        width: 98vw;
        top: 1%;
        max-height: 94vh;
    }
    .searchform {
        min-width: 160px;
    }
    .search-bar-row .form-control {
        min-width: 90px;
    }
}