/* set some colors */

.mapsearchpage div.listing a.moreinfomapbelow, 
.mapsearchpage div.thesummary a.moreinfomapright,
.mapsearchpage #savemap input.detailsbutton, 
.mapsearchpage #savemap a.detailsbutton {
color: #2970b0;
border:1px solid #2970b0;

background: #e3f1fe; /* Old browsers */
background: -moz-linear-gradient(top,  #e3f1fe 0%, #f9fcff 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3f1fe), color-stop(100%,#f9fcff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #e3f1fe 0%,#f9fcff 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #e3f1fe 0%,#f9fcff 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #e3f1fe 0%,#f9fcff 100%); /* IE10+ */
background: linear-gradient(to bottom,  #e3f1fe 0%,#f9fcff 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3f1fe', endColorstr='#f9fcff',GradientType=0 ); /* IE6-9 */
}

.mapsearchpage div.listing a.moreinfomapbelow:hover,
.mapsearchpage div.thesummary a.moreinfomapright:hover,
.mapsearchpage #savemap input.detailsbutton:hover, 
.mapsearchpage #savemap a.detailsbutton:hover {
background: #f9fcff; /* Old browsers */
background: -moz-linear-gradient(top,  #f9fcff 0%, #e3f1fe 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9fcff), color-stop(100%,#e3f1fe)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #f9fcff 0%,#e3f1fe 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #f9fcff 0%,#e3f1fe 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #f9fcff 0%,#e3f1fe 100%); /* IE10+ */
background: linear-gradient(to bottom,  #f9fcff 0%,#e3f1fe 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9fcff', endColorstr='#e3f1fe',GradientType=0 ); /* IE6-9 */
}



/* end colors */




/* BEGIN map search styles */
.mapsearchpage h3.filter_heading {
font-size:1.3em;
/*font-weight:bold;*/
margin:0 0 2px 0;
padding:1px;
}
.mapsearchpage .loading {
  opacity: 0.6;
}
.mapsearchpage .filters {
width:100%;	
}
.mapsearchpage #mapfilterstoprow {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;

-webkit-box-pack: space-between;
-moz-box-pack: space-between;
-ms-flex-pack: space-between;
-webkit-justify-content: space-between;
justify-content: space-between;

/*-webkit-box-pack: flex-end;
-moz-box-pack: flex-end;
-ms-flex-pack: flex-end;
-webkit-justify-content: flex-end;
justify-content: flex-end;*/

-webkit-box-pack: space-between;
-moz-box-pack: space-between;
-ms-flex-pack: space-between;
-moz-justify-content: space-between;
-webkit-justify-content: space-between;
justify-content: space-between;

flex-wrap:wrap;
min-height:2.5em;
width:100%;
/*border:1px solid red;*/

position:relative;
}
.mapsearchpage #mapfilterstoprow > div {
width:49%;
max-width:49%;
margin-left:1%;
}
.mapsearchpage #mapfilterstoprow > div:nth-child(1) {
margin-left:0;	
}
.mapsearchpage #mapfilterstoprow > div * {
max-width:99%;	
}
.mapsearchpage #mapfilterstoprow a.detailsbutton,
.mapsearchpage #mapfilterstoprow a.detailsbutton:link,
.mapsearchpage #mapfilterstoprow a.detailsbutton:visited,
.mapsearchpage #mapfilterstoprow a.detailsbutton:hover,
.mapsearchpage #mapfilterstoprow a.detailsbutton:active {
width:auto;	
}
.mapsearchpage #mapfilterstoprow div#savemap {
float:right;
width:49%;
max-width:49%;	
padding-top:2px;
width:12em;
display:block;
position:absolute;
right:1em;
top:3em;
height:2.6em;
}
.mapsearchpage .filtersdiv {
padding: 6px 6px;	
width: 100%;
max-width:100%;
background: #f7f7f7;
border-radius:6px;
font-size:12px;
}
.mapsearchpage .filtersdiv:after {
content: " ";
display: table;
clear: both;
}
.mapsearchpage div.usefiltersdiv {
clear:both;
display:block;
width:100%;
min-height:1em;
font-weight:bold;	
}
.mapsearchpage #mapfilterstoprow:after,
.mapsearchpage .usefiltersdiv:before {
display:table;
content: " ";
clear:both;	
}
.mapsearchpage #mapwrap {
margin: 6px auto 6px auto;
float:none;
width:auto;
width:100%;
max-width:100%;
height:500px;
border-radius:6px;
display:block;

}

.mapsearchpage .map {
float:left;
width: 77%;
max-width:77%;
}
.mapsearchpage .rightofmap {
min-width:21%;
width:21%;
max-width:21%;

float:right;
margin-left:1%;
line-height:1.2;
height:auto;
overflow:visible;
}

.mapsearchpage div.filtersdiv:after,
.mapsearchpage #mapwrap:after,
.mapsearchpage .rightofmap:after,
.mapsearchpage #listingsummarydiv:after,
.mapsearchpage #listingsummarydiv > div:after,
.mapsearchpage div.thesummary:after
 {
clear:both;
content: " ";
display:table;
float:none;
height:1px;
width:100%;	
/*border:1px solid orange;*/
}
.mapsearchpage p.saveit:after {
	
}
.mapsearchpage #mappagingdiv {
background-color: #d8d8d8;
background-color: #e3e3e3;
border-radius: 5px;
padding: 3px 4px;
height:auto;
min-height:6em;
}

.mapsearchpage .map {
height:100%;
max-height:100%;
padding:0.5em;
background-color: #ffffff;
border-radius:6px;
}
.mapsearchpage #map-canvas {
float:none;	
width:100%;
max-width:100%;
border-radius:6px;
}
.mapsearchpage .ms-map {
	height:100%;
	height:100%;
	max-height:100%;
}
.mapsearchpage .ms-results.loading:after{
  content: ' ';
  background: url("/flaidx/wpincs2018/searchbymap/img/1.gif") no-repeat;
  position: absolute;
  width: 44px;
  height: 44px;
  left: 50%;
  top: 150px;
  margin: -6px 0 0 -22px;
}
.mapsearchpage .ms-map.loading:after {
  content: ' ';
  background: url("/flaidx/wpincs2018/searchbymap/img/1.gif") no-repeat;
  position: absolute;
  width: 44px;
  height: 44px;
  left: 50%;
  top: 50%;
  margin: -6px 0 0 -22px;
}
.mapsearchpage div.belowmap {
padding:0 6px 8px 0;	
}

.mapsearchpage div#ms-listings {
width:100%;
max-width:100%;
padding:0;	
}
.mapsearchpage div#ms-listings:after {
display:table;
content: " ";
height:1px;
clear:both;
width:100%;	
}
.mapsearchpage div.ms-listing {
width:100%;
max-width:100%;
margin:4px 0;	
}

.mapsearchpage div.filtersdiv div.ms-listing p {
line-height:1.4;	
}

/* listings below map */
.mapsearchpage div.listing a.moreinfomapbelow:before {
display:table;
content: " ";
clear:both;
height:2px;	
}


.mapsearchpage div.thesummary a.moreinfomapright {
float:left;
clear:both;
text-align:center;
}

.mapsearchpage div.listing a.moreinfomapbelow, 
.mapsearchpage div.thesummary a.moreinfomapright {
font-weight:bold;
/*display:block;	*/
padding:0.5em 1.5em;

width:auto;
margin:4px auto 4px 0;
/*min-width:7em;*/
/*max-width:100%;*/
/*border-radius:3px;*/

/*-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);*/
/*box-shadow:inset 0 2px 2px rgba(0,0,0,.05);*/
/*box-shadow: 1px 1px 4px #aaaaaa;*/

font-family: 'Trebuchet MS', Tahoma, 'MS Sans Serif',Geneva, Verdana, sans-serif;
text-transform:initial;


border: 1px solid #2970b0;
/*border-radius: 4px;*/
/*box-shadow: 1px 1px 4px #aaaaaa;*/
}
.mapsearchpage div.listing a.moreinfomapbelow:hover,
.mapsearchpage div.thesummary a.moreinfomapright:hover {
}
.mapsearchpage div.thesummary a.moreinfomapright {
/*width:100%;*/
/*min-width:100%;	*/
/*max-width:100%;*/
}
.mapsearchpage div.listing a.moreinfomapbelow {
padding:0.5em 0.6em;
/*min-width:5em;*/
/*min-width:7em;*/
}
img.heart {
vertical-align:center;
float:left;
display:inline;
margin:0 0 0 0;
padding:0;	
/*display:none;*/
}
.mapsearchpage .thumbdivmap p.saveit {
display:none;
}
.mapsearchpage .narrative p.saveit {
/*border:1px solid orange;*/
width:100%;
max-width:100%;
display: block;
float:left;
min-height:2em;
clear:both;

display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;

-webkit-box-pack: space-between;
-moz-box-pack: space-between;
-ms-flex-pack: space-between;
-webkit-justify-content: space-between;
justify-content: space-between;

-moz-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;

/*-moz-justify-content: center;
-webkit-justify-content: center;
justify-content: center;*/


/*-moz-justify-content: start;
-webkit-justify-content: start;
justify-content: start;*/

/*display:none;*/
}
.mapsearchpage .listing p.saveit:after {
display:table;
clear:both;
float:none;
height:1px;	
}
.mapsearchpage .listing p.saveit a {
text-align:center;
width:auto;
float:none;
white-space:nowrap;
/*float:left;*/
/*clear:none;	*/
/*margin-right:1%;*/

-webkit-flex: 1 0 30%; /* shorthand grow shrink basis */
-moz-flex: 1 0 30%;
flex: 1 0 30%;
}
.mapsearchpage .listing p.saveit a:nth-child(2) {
/*float:left;*/
/*margin-right:3px;*/
/*margin-left:1%;*/
/*margin-right:1%;*/
}
.mapsearchpage .listing p.saveit a:nth-child(3) {
/*float:right;*/
/*margin-right:0;*/
/*margin-left:4px;*/
}


.mapsearchpage div#ms-listings div.listing {
border: 1px solid #cdcdcd;
padding: 6px;
margin: 6px 0;
overflow:auto;
font-size:14px;	
display:table;
content:" ";
clear:both;
width:100%;
float:left;
border-radius:3px;
-webkit-box-shadow: 0 12px 8px -8px rgba(0,0,0,0.63);
-moz-box-shadow: 0 12px 8px -8px rgba(0,0,0,0.63);
box-shadow: 0 12px 8px -8px rgba(0,0,0,0.63);

display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;

justify-content: flex-start;
}
.mapsearchpage div#ms-listings div.listing div.narrative {
flex-grow: 3;
position:relative;
}
.mapsearchpage div#ms-listings div.listing div.thumbdivmap {
display:block;
width:230px;
max-width:230px;
min-width:230px;
margin:0 1em 0 0;
position:relative;
}
.mapsearchpage div#ms-listings div.listing div.thumbdivmap a {
display:block;
margin-bottom:4em;	
/*border:1px solid orange;*/
}
.mapsearchpage div#ms-listings div.listing img.thumbimg {
display:block;
float:none;
clear:both;
width:100%;
max-width:100%;
}
.mapsearchpage div#ms-listings .thumbdivmap p.listoffice {
font-style:oblique;
line-height:1.1;
color: #525252;
position:absolute;
bottom:0.5em;
}
.mapsearchpage div#ms-listings .narrative p.listoffice {
display:none;
font-style:oblique;
line-height:1.1;
color: #525252;
margin-top:0.5em;
}

.mapsearchpage div#ms-listings h3 {
margin-top:0;
margin-bottom:0;	
padding-bottom:2px;	
padding-top:0;
/*float:left;*/
/*width:100%;*/
width:auto;
font-size:1.7em;
line-height:1.3;
line-height:1;
font-weight:bold;
}

.mapsearchpage div.listing p {
margin: 2px auto;
padding:0;
}
.mapsearchpage div#ms-listings div.listing p.propstyle {
line-height:1.2;
}
.mapsearchpage div.listing p.desc {
line-height:1.3;
margin-top:0.5em;
}
.mapsearchpage div#ms-listings p.mlnum {
float:left;	
}
.mapsearchpage div#ms-listings div.listing a {
line-height:1.2;	
}

.mapsearchpage div.listing div.specs {
display:table-cell;
float:right;
width:auto;
min-width:13em;
max-width:40%;
/*max-height:40%;*/
height:auto;
height:4.8em;
margin:0;
padding:0;
/*border:1px solid orange;	*/
}
.mapsearchpage div.pricespecs {
display: -webkit-box;/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;/* TWEENER - IE 10 */
display: -webkit-flex;/* NEW - Chrome */
display: flex;

clear:both;
width:100%;
}

.mapsearchpage div.listing div.specs p.price {
font-size:18px;
font-size:1.7em;
font-weight:bold;
width:100%;
display:block;
text-align:center;
margin:0;
margin-top:0;
padding:0;
padding-top:0;
line-height:1;
}
.mapsearchpage div.listing p.price:after {
clear:both;
height:1px;
display:table;	
}
.mapsearchpage div.listing div.pricespecs {
clear:both;
float:none;
margin-top:4px;
width:100%;	
/*justify-content: center;	*/

display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;

justify-content: space-between;
letter-spacing:-1px;
}
.mapsearchpage div.listing div.pricespecs p {
text-align:center;
background-color: #f7f7f7;	
border-radius:6px;
font-weight:bold;
line-height:1;
padding:3px 4px;
height:2.5em;
font-size:1.2em;
/*max-height:2em;*/
}
.mapsearchpage div.listing div.pricespecs p.itsland {
font-size:0.9em;
}

.mapsearchpage div.listing div.pricespecs p span span {
font-weight:normal;
font-size:0.7em;
letter-spacing:initial;	
}
.mapsearchpage div.listing div.pricespecs p.itsland span span {
font-size:1em;
}
/*div#ms-listings p.addy {
	
}
*/
.mapsearchpage div#ms-pagination {
padding:0;
margin:0;
}
.mapsearchpage div#ms-pagination ul {
margin-top:2px;	
padding-top:0;
margin-bottom:2px;
padding-bottom:0;
}
.mapsearchpage div#ms-pagination ul {
    margin-left: 0;
}
.mapsearchpage div#ms-pagination ul {
width:100%;	
}
.mapsearchpage div#ms-pagination ul li a.pushnext {
margin-left: 6em;
}	


.mapsearchpage div#btmmappag {
width:100%;
display:block;
height:3em;
margin:6px auto;	
}
.mapsearchpage div#btmmappag > div {
float:left;
width:auto;
display:inline-block;
max-width:40%;	
}

.mapsearchpage div.filters:after, .mapsearchpage div.controlcontainer:after {
content: " ";
display: table;
overflow:hidden;	
width:100%;
}
.mapsearchpage form#filters {
width:100%;	
}
.mapsearchpage div.controlcontainer {
height:100%;
overflow:hidden;
width:100%;
/*margin-bottom:-10px;	*/

display: -webkit-box;/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;/* TWEENER - IE 10 */
display: -webkit-flex;/* NEW - Chrome */
display: flex;

-webkit-flex-wrap: wrap;
-moz-flex-wrap: wrap;
flex-wrap: wrap;


-webkit-justify-content: start;
-moz-justify-content: start;
justify-content: start;


}
.mapsearchpage div.controlcontainer {
-webkit-justify-content: space-between;
-moz-justify-content: space-between;
justify-content: space-between;
}
.mapsearchpage div.mapsearchcol {
line-height:1.5;
margin-right:1%;
margin-bottom:0.2em;
font-size:0.9em;
position:relative;
/*border:1px solid yellow;*/

-webkit-flex: 1 1 22%; /* shorthand grow shrink basis */
-moz-flex: 1 1 22%;
flex: 1 1 22%;
}
.mapsearchpage div.mapsearchcol:nth-child(1) {
-webkit-flex: 1 0 25%; /* shorthand grow shrink basis */
-moz-flex: 1 0 25%;
flex: 1 0 25%;
}
.mapsearchpage div.mapsearchcol:nth-child(2) {
-webkit-flex: 0 1 17%; /* shorthand grow shrink basis */
-moz-flex: 0 1 17%;
flex: 0 1 17%;
}
.mapsearchpage div.mapsearchcol:nth-child(3) {
-webkit-flex: 0 4 12%; /* shorthand grow shrink basis */
-moz-flex: 0 4 12%;
flex: 0 4 12%;
}

.mapsearchpage div.mapsearchcol:nth-child(4) {
margin-right:0;	
}
.mapsearchpage div.mapsearchcol > *:after {
display: table;
content: " ";
float:none;
height:1px;
width:100%;
}

.mapsearchpage div.mapsearchcol:after {
/*content: " ";*/
/*display: table;*/
}


.mapsearchpage div.mapsearchcol label {
display:block;	
float:none;
width:100%;
margin-top:2px;
margin-bottom:1px;
max-width:100%;
font-weight:700;
}
.mapsearchpage output {
display:block;
padding-top:7px;
line-height:1.42857143;
color:#555;
}

.mapsearchpage div.mapsearchcol label.inlineit {
display:inline-block;
width:4em;
min-width:4em;
max-width:4em;
text-align:right;
line-height:2;
}

.mapsearchpage #filters div.mapsearchcol input[type=text], 
.mapsearchpage #filters div.mapsearchcol select,
.mapsearchpage #filters div.form-group-top select {
display:block;	
float:left;
width:100%;
margin-bottom:1px;
height:2.1em;	
width:100%;
padding:2px 3px;
line-height:1.42857143;
color:#555;
font-size:12px;

background-color:#fff;
background-image:none;
border:1px solid #ccc;
border-radius:3px;
-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
box-shadow:inset 0 2px 2px rgba(0,0,0,.05);
-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;
transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
#.mapsearchpage filters div.form-group-top select {
display:inline-block;
float:none;
max-width:20em;	
}
.mapsearchpage #filters div.form-group select:before, 
.mapsearchpage #filters div.form-group select:after {
display:table;
content: " ";
clear:both;	
}
.mapsearchpage #filters div.form-group:before, 
.mapsearchpage #filters div.form-group:after,
.mapsearchpage #filters div.mapsearchcol div.radios:before, 
.mapsearchpage #filters div.mapsearchcol div.radios:after {
display:table;
content: " ";	
clear:both;
float:none;
width:100%;
height:1px;
}
.mapsearchpage #filters div.mapsearchcol div.radios {
width:auto;
min-width:190%;
display:visible;
min-height:4em;	
/*text-indent:-1em;*/
}
.mapsearchpage #filters div.mapsearchcol div.radios div {
display:block;
float:left;
clear:left;
margin-left:2em;
text-indent:-2em;
}
.mapsearchpage #filters div.mapsearchcol div.radios input[type="radio"] {
display:inline !important;
/*float:left !important;*/
margin-left:0;
}
.mapsearchpage #filters div.mapsearchcol div.radios label {
display:inline !important;
float:none !important;
padding-left:0.5em;
/*max-width:50em;*/
}

.mapsearchpage div.mapsearchcol div.textinline {
margin-top:0.4em;
margin-top:.2em;
margin-bottom:0.4em;
min-height:3.9em;
}

.mapsearchpage div.maptextinputs {
white-space:nowrap;	
}
.mapsearchpage #filters div.mapsearchcol div.radios {

white-space:normal;
}
.mapsearchpage div.mapsearchcol div.textinline:after {
display:table;
content: " ";
clear:both;
height:2px;	
}
.mapsearchpage div.mapsearchcol div.textinline:nth-child(1) {
margin-top:0;	
}

/*.mapsearchpage div.mapsearchcol .textinline *,*/
.mapsearchpage div.mapsearchcol .textinline input {
display:inline;
clear:none;
}
.mapsearchpage #filters div.mapsearchcol .textinline input[type=text] {
/*width:60px;*/
width:6em;
min-width:5.8em;
max-width:42%;
display:inline;
display:inline-block;
margin-left:0;
float:none;
text-align:right;
}
.mapsearchpage #filters div.mapsearchcol .textinline.long input[type=text] {
width:100%;
max-width:100%;
text-align:left;
}
.mapsearchpage #updatebtndiv {
display:block;
clear:both;
overflow:visible;
height:50px;
padding-top:17px;
border:1px solid green;
}
.mapsearchpage input#updatebtn {
display:block;
clear:both;
font-size:13px;
padding:0.2em;
-webkit-appearance: none;
}
.mapsearchpage input#updatebtn:after {
content: " ";
clear:both;
display: table;
}

.mapsearchpage .form-group {
margin-bottom:8px;
height:3.4em;
min-height:3.4em;
}


.mapsearchpage .form-group input:focus, 
.mapsearchpage .form-group select:focus  {
outline:0;
-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
.mapsearchpage .form-group input::-moz-placeholder, 
.mapsearchpage .form-group select::-moz-placeholder {
color:#999;
opacity:1;
}
.mapsearchpage .form-group input:-ms-input-placeholder, 
.mapsearchpage .form-group select:-ms-input-placeholder {
color:#999;
}
.mapsearchpage .form-group input::-webkit-input-placeholder, 
.mapsearchpage .form-group select::-webkit-input-placeholder {
color:#999;
}
.mapsearchpage .form-group textarea {
height:auto;
}

.mapsearchpage .pagination {
display:inline-block;
padding-left:0;
margin:20px 0;
border-radius:4px;
}
.mapsearchpage .pagination>li {
display:inline;
}
.mapsearchpage .pagination>li>a, 
.mapsearchpage .pagination>li>span {
position:relative;
float:left;
padding:6px 8px;
margin-left:-1px;
line-height:1.42857143;
color:#337ab7;
text-decoration:none;
background-color:#fff;
border:1px solid #ddd;
}
.mapsearchpage .pagination>li:first-child>a,
.mapsearchpage .pagination>li:first-child>span {
margin-left:0;
border-top-left-radius:4px;
border-bottom-left-radius:4px;
}
.mapsearchpage .pagination>li:last-child>a, 
.mapsearchpage .pagination>li:last-child>span {
border-top-right-radius:4px;
border-bottom-right-radius:4px;
}
.mapsearchpage .pagination>li>a:hover, 
.mapsearchpage .pagination>li>span:hover, 
.mapsearchpage .pagination>li>a:focus, 
.mapsearchpage .pagination>li>span:focus {
color:#23527c;
background-color:#eee;
border-color:#ddd;
}
.mapsearchpage .pagination>.active>a, 
.mapsearchpage .pagination>.active>span, 
.mapsearchpage .pagination>.active>a:hover, 
.mapsearchpage .pagination>.active>span:hover, 
.mapsearchpage .pagination>.active>a:focus, 
.mapsearchpage .pagination>.active>span:focus {
z-index:2;
color:#fff;
cursor:default;
background-color:#337ab7;
border-color:#337ab7;
}
.mapsearchpage .pagination>.disabled>span, 
.mapsearchpage .pagination>.disabled>span:hover, 
.mapsearchpage .pagination>.disabled>span:focus, 
.mapsearchpage .pagination>.disabled>a, 
.mapsearchpage .pagination>.disabled>a:hover, 
.mapsearchpage .pagination>.disabled>a:focus {
color:#777;
cursor:not-allowed;
background-color:#fff;
border-color:#ddd;
}
.mapsearchpage .pagination-lg>li>a, 
.mapsearchpage .pagination-lg>li>span {
padding:10px 16px;
}
.mapsearchpage .pagination-lg>li:first-child>a, 
.mapsearchpage .pagination-lg>li:first-child>span {
border-top-left-radius:6px;
border-bottom-left-radius:6px;
}
.mapsearchpage .pagination-lg>li:last-child>a, 
.mapsearchpage .pagination-lg>li:last-child>span {
border-top-right-radius:6px;
border-bottom-right-radius:6px;
}
.mapsearchpage .pagination-sm>li>a, 
.mapsearchpage .pagination-sm>li>span {
padding:5px 10px;
}
.mapsearchpage .pagination-sm>li:first-child>a, 
.mapsearchpage .pagination-sm>li:first-child>span {
border-top-left-radius:3px;
border-bottom-left-radius:3px;
}
.mapsearchpage .pagination-sm>li:last-child>a, 
.mapsearchpage .pagination-sm>li:last-child>span {
border-top-right-radius:3px;
border-bottom-right-radius:3px;
}

.mapsearchpage img.markerthumb {
float:left;
clear:left;
max-width:100px;
border:1px solid #cdcdcd;
margin: 0 6px 6px 0;	
}
.mapsearchpage div#listingsummarydiv img.markerthumb {
width:180px;
max-width:100%;
}


.mapsearchpage div#listingsummarydiv {
display:block;
float:left;
float:none;	
clear:both;
min-height:100px;
max-width:100%;
margin:6px auto 0 0;	
height:auto;
}
.mapsearchpage div#listingsummarydiv * {
max-width:100%;	
}
.mapsearchpage .thesummary {
clear:both;
}
.mapsearchpage .thesummary p {
margin-bottom:0.1em;
line-height:1.2;
}
.mapsearchpage div#listingoverlay {
font-size:0.9em;	
}
.mapsearchpage div#listingoverlay form p {
margin-bottom:0.1em;	
}
.mapsearchpage div#listingoverlay form input {
padding:0.1em;	
}
.mapsearchpage div#listingoverlay > div {
position:relative;
width:100%;
display:block;	
}
.mapsearchpage div#listingoverlay > div:after {
display:table;
content: " ";
clear:both;
height:1px;	
}
.mapsearchpage div#listingoverlay .overlaythumblink {
float:right;
display:block;
width:auto;
max-width:45%;
margin-left:0.2em;
}
.mapsearchpage div#listingoverlay .overlaythumblink img {
width:100%;
max-width:100%;	
}
.mapsearchpage div#listingoverlay .thesummary {
float:left;	
clear:none;
display:inline;
width:100%;
}
.mapsearchpage div#listingsummarydiv .boldit, 
.mapsearchpage div#listingoverlay .boldit {
display:block;
float:left;
clear:left;
font-weight:bold;	
}
.mapsearchpage div#listingsummarydiv .propstyle, 
.mapsearchpage div#listingoverlay .propstyle {
display:block;
float:none;
width:100%;
clear:left;
font-weight:bold;	
}
.mapsearchpage div#listingsummarydiv .propstyle:after {
display:table;
content: " ";
clear:both;
float:none;
height:1px;
width:100%;
}
.mapsearchpage div#listingoverlay .propstyle::after {
    clear: none;
    content: none;
    display: hidden;
    height: 0;
    width: 0;
}

.mapsearchpage #metastuff {
display:none;	
clear:both;
margin-top:8px;
}
.mapsearchpage #savemap {
padding:0;
}

.mapsearchpage #savemap form {
margin:0;
padding:0;	
width:100%;
height:100%;
min-height:2em;
display:block;
float:right;
}
.mapsearchpage #savemap input.detailsbutton, 
.mapsearchpage #savemap a.detailsbutton {

display:block;
float:right;
margin:0;
padding:5px 4px 4px 4px;
width:12em;
max-width:100% !important;
text-align:center;
font-size:14px;
line-height:1.3;
border-radius:4px;
text-decoration:none;
font-weight:normal;
font-family: 'Trebuchet MS', Tahoma, 'MS Sans Serif',Geneva, Verdana, sans-serif;
text-transform:initial;
box-shadow: 1px 1px 4px #aaaaaa;

}


.mapsearchpage div.map-search {
display:block;
clear:both;	
float:none;
width:100%;
min-width:100%;
max-width:100%;
}


.mapsearchpage  #sortitdiv {
float:left;
clear:left;	
}
/* END map search styles */

@media only screen and (max-width: 760px) {

	.mapsearchpage div.mapsearchcol:nth-child(1) {
	-webkit-flex: 1 0 22%; /* shorthand grow shrink basis */
	-moz-flex: 1 0 22%;
	flex: 1 0 22%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(2) {
	-webkit-flex: 1 0 22%; /* shorthand grow shrink basis */
	-moz-flex: 1 0 22%;
	flex: 1 0 22%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(3) {
	-webkit-flex: 0 4 15%; /* shorthand grow shrink basis */
	-moz-flex: 0 4 15%;
	flex: 0 4 15%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(4) {
	-webkit-flex: 0 4 22%; /* shorthand grow shrink basis */
	-moz-flex: 0 4 22%;
	flex: 0 4 22%;
	}
	.mapsearchpage div.listing div.specs {
	    display: block;
	    float: none;
	    height: 2.5em;
	    max-width: 100%;
	    min-width: 100%;
	}
	.mapsearchpage div.listing div.specs p.price {
    display: block;
	float:left;
    text-align: center;
    width:auto;
	max-width: 40%;
	}
	.mapsearchpage div.listing div.pricespecs {
	clear: none;
	float: right;
	width:auto;
	max-width: 50%;
	}
	.mapsearchpage div.listing div.pricespecs p {
	border-left:3px solid #ffffff;
	border-right:3px solid #ffffff;
	}




}
@media only screen and (max-width: 610px) {

	.mapsearchpage #mapwrap {
	position:relative;
	height:350px;	
	}
	.mapsearchpage .map {
	    max-width:100%;
	    width: 100%;
	}
	.mapsearchpage div.rightofmap {
	position:absolute;	
	top:-78px;
	right:0;
	width:20em;
	max-width:20em;
	min-height:6em;
	}
	.mapsearchpage div.controlcontainer {
	/*-webkit-justify-content: space-between;*/
	/*-moz-justify-content: space-between;*/
	/*justify-content: space-between;*/
	}
	.mapsearchpage div.mapsearchcol {
	margin-right:1%;
	-webkit-flex: 0 0 35%; /* shorthand grow shrink basis */
	-moz-flex: 0 0 35%;
	flex: 0 0 35%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(1) {
	-webkit-flex: 0 0 37%; /* shorthand grow shrink basis */
	-moz-flex: 0 0 37%;
	flex: 0 0 37%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(2) {
	-webkit-flex: 1 1 25%; /* shorthand grow shrink basis */
	-moz-flex: 1 1 25%;
	flex: 1 1 25%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(3) {
	margin-right:0;
	-webkit-flex: 0 3 15%; /* shorthand grow shrink basis */
	-moz-flex: 0 3 15%;
	flex: 0 3 15%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(4) {
	clear:left;
	width:37%;
	max-width:37%;
	-webkit-flex: 0 0 37%; /* shorthand grow shrink basis */
	-moz-flex: 0 0 37%;
	flex: 0 0 37%;
	}
	.mapsearchpage #filters div.mapsearchcol div.radios {
	min-width:150%;
	}

	.mapsearchpage div.listing div.specs {
	 display: flex;
	 flex-wrap: wrap;
	 float: none;
	 height: auto;
	 justify-content: space-between;
	 max-width: 100%;
	 width: 100%;
	-moz-flex-direction:column;
	-webkit-flex-direction:column;
	flex-direction:column;


	}
	.mapsearchpage div.listing div.specs p.price {
	max-width: 100%;
	width: 100%;
	text-align:center;
	}
	.mapsearchpage div.listing div.pricespecs {
	 clear: both;
	 float: none;
	 max-width: 100%;
	 width: auto;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	justify-content: center;
	}
	.mapsearchpage .narrative p.saveit {
	display: none;
	}
	.mapsearchpage .thumbdivmap p.saveit {
	display: block;
	float: none;
	margin-bottom: 1em;
	}
	.mapsearchpage div#ms-listings div.listing div.thumbdivmap a {
	float:none;
	margin-bottom: 0.5em;
	}
	.mapsearchpage div#ms-listings .thumbdivmap p.listoffice {
	position: relative;
	margin-top:0.8em;
	}

}


@media only screen and (max-width: 530px) {
	.mapsearchpage div#ms-listings div.listing {
	-moz-flex-direction:column;
	-webkit-flex-direction:column;
	flex-direction:column;
	}
	.mapsearchpage div#ms-listings div.listing div.thumbdivmap,
	.mapsearchpage div#ms-listings div.listing div.narrative {
	display:block;
	clear:both;
	float:none;
	width:100%;
	max-width: 100%;
	min-width: 100%;
	position: relative;
	}
	.mapsearchpage div#ms-listings div.listing div.thumbdivmap img.thumbimg {
	width:80%;
	max-width:300px;
	display:block;
	clear:both;
	float:none;
	margin: 1px auto;	
	}

	.mapsearchpage div#ms-listings .thumbdivmap p.saveit {
	display:none;	
	}
	.mapsearchpage div#ms-listings .narrative p.saveit {
	display:block;	
	display: -webkit-box;   
	display: -moz-box;      
	display: -ms-flexbox;   
	display: -webkit-flex;  
	display: flex;          
	-webkit-box-pack: space-between; 
	-moz-box-pack: space-between;
	-ms-flex-pack: space-between;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	
	-moz-align-items: space-between;
	-webkit-align-items: space-between;
	align-items: space-between;

	flex-wrap:wrap;

	}
	.mapsearchpage div#ms-listings .narrative p.saveit a {
	width:32%;
	min-width:32%;
	max-width:32%;
	width:auto;
	min-width:none;
	max-width:100%;
	padding-left:0.1em;
	padding-right:0.1em;
	text-align:center;	
	display:table-cell;
	vertical-align:middle;
	-webkit-flex: 1 1 32%; /* grow shrink basis */
	-moz-flex: 1 1 32%;
	flex: 1 1 32%;
	
	-moz-display:flex;
	-webkit-display:flex;
	display:flex;
	
	-moz-justify-content:center;
	-webkit-justify-content:center;
	justify-content:center;

	-moz-align-items:center;
	-webkit-align-items:center;
	align-items:center;
	}
	.mapsearchpage div#ms-listings .narrative p.saveit a:nth-child(1),
	.mapsearchpage div#ms-listings .narrative p.saveit a:nth-child(2),
	.mapsearchpage div#ms-listings .narrative p.saveit a:nth-child(3) {
	margin-right:0.2em;	
	margin-left:0.2em;
	}
	.mapsearchpage div#ms-listings .thumbdivmap p.listoffice {
	display:none;
	}	
	.mapsearchpage div#ms-listings .narrative p.listoffice {
	display:block;
	}	







}

@media only screen and (max-width: 520px) {
	.mapsearchpage div.mapsearchcol {
    max-width: 48%;
    width: 48%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(1),
	.mapsearchpage div.mapsearchcol:nth-child(2),
	.mapsearchpage div.mapsearchcol:nth-child(3),
	.mapsearchpage div.mapsearchcol:nth-child(4) {
	margin-right:0;
	-webkit-flex: 0 0 48%; /* shorthand grow shrink basis */
	-moz-flex: 0 0 48%;
	flex: 0 0 48%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(4) {
	clear:none;
	width:48%;
	max-width:48%;
	}
	.mapsearchpage div.mapsearchcol:nth-child(3),
	.mapsearchpage div.mapsearchcol:nth-child(4) {
	margin-top:1em;
	}

	.mapsearchpage div.mapsearchcol.lastcol {
	padding-bottom:7.2em;
	padding-bottom: 5.4em;
	}
	.mapsearchpage div.controlcontainer .mapsearchcol:nth-child(3) {
	    margin-left: 0;
	}
	.mapsearchpage #filters div.mapsearchcol div.radios {
	min-width:180%;
	}
	
	.mapsearchpage #mapwrap {
	height:350px;	
	}
	.mapsearchpage div.rightofmap {
	width:100%;
	max-width:100%;	
	top:-56px;
	height:4em;
	min-height:4em;
	height:auto;
	min-height:4em;
	}
	.mapsearchpage #mappagingdiv {
	min-height:4em;
	}
	.mapsearchpage #mappagingdiv > * {
	width:49%;
	max-width:49%;
	}
	.mapsearchpage .rightofmap div#ms-pagination {
	width:49%;
	max-width:49%;
	float:left;	
	display:inline-block;
	}
	.mapsearchpage .rightofmap div#ms-pagination .pagination > li > a, 
	.mapsearchpage .rightofmap div#ms-pagination .pagination > li > span {
	    padding: 4px 7px;
	}
	.mapsearchpage .rightofmap div#ms-pagination .pagination > li > a .pageword {
	/*display:none;*/
	}	
	.mapsearchpage .rightofmap div#metapagination {
	float:right;	
	display:inline-block;
	width:49%;
	max-width:49%;
	}

	div.mlsthumbs div.indivpic {
	max-width:300px;
	}

}


@media only screen and (max-width: 450px) {

	.mapsearchpage #mapwrap {
	height:300px;	
	}
}




/* map search filters get stacked */
@media only screen and (max-width: 380px) {
	.mapsearchpage #mapwrap {
	height:260px;	
	}

	.mapsearchpage .filtersdiv #filters .mapsearchcol {
		display:block;
		clear:both;
		float:none;
		width:100%;
		min-width:100%;
		max-width:100%;
		margin-left:0;
		margin-right:0;

		-moz-flex-direction:column;
		-webkit-flex-direction:column;
		flex-direction:column;


	}
	.mapsearchpage .filtersdiv #filters .mapsearchcol .form-group {
		display:block;
		clear:both;
		float:none;
		width:100%;
		min-width:100%;
		max-width:100%;
		margin-left:0;
		margin-right:0;

    clear: both;
    display: block;
    float: none;
    height: auto;
    margin-bottom: 4px;
	}	
	.mapsearchpage div.mapsearchcol label {
	float: left;
	width:39%;
	min-width:39%;
	max-width:39%;
	text-align:right;
	white-space:nowrap;
	}	
	.mapsearchpage #filters div.mapsearchcol div.radios label {
	white-space:normal;
	}
	.mapsearchpage #filters div.mapsearchcol input[type="text"], 
	.mapsearchpage #filters div.mapsearchcol select, 
	.mapsearchpage #filters div.form-group-top select {
	display: inline-block;
	float: left;
	height: 2em;
	line-height: 1.5;
	margin-bottom: 1px;
	padding: 2px 3px;
	width: 55%;
	min-width:55%;
	max-width:55%;
	margin-left:2%;
	}
	.mapsearchpage #filters div.mapsearchcol .textinline.long input[type="text"] {
    max-width: 55%;
    text-align: left;
    width: 55%;
	margin-left:2%;
	}
	.mapsearchpage div.mapsearchcol div.textinline .maptextinputs {
	min-width:55%;
	max-width:55%;
	margin-left:2%;
	}
	.mapsearchpage #filters div.mapsearchcol .textinline input[type="text"] {
	width: 20%;
	min-width:20%;
	max-width: 20%;
	}
	.mapsearchpage #filters div.mapsearchcol div.radios {
	min-width:100%;
	}

	.mapsearchpage #filters div.mapsearchcol div.radios div {
	    clear: both;
	    float: none;
	}
	.mapsearchpage .form-group,
	.mapsearchpage div.mapsearchcol div.textinline {
    /*margin-bottom: 0.4em;*/
    /*margin-top: 0.2em;*/
    height:auto;
	min-height: 1.2em;
	margin-bottom:4px;
	}
}


