.sbox { float:left; }
.sbinner { float:left; width:100%; padding:0 0 0 5px; }
.sbinp { padding:0; }
.sbinp1 { padding:0 5px 0 0; }
.sbinp2 { padding:0 5px 0 0; }

.sb5 { width:5%; }
.sbad { width:6%; }
.sb10 { width:10%; }
.sb15 { width:15%; }
.sb45 { width:45%; }

.sbfr { float:right; }

.mobilebuttons { display:none; }

#searchbox2 .sbinner { border:1px solid #EDEDED; overflow:auto; background:#fff; }

#searchbox2 .placeholder {
    position: absolute;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.04rem;
    font-weight: 300;
    width: 100%;
    height: 43px;
    line-height: 4.3rem;
    font-size: 1.5rem;
    padding: 0 20px;
    top: 1px;
    text-align: left;
    left: 0px;
    color: #666;
    z-index: 1;
}

#searchbox2 .placeholder .fa {
    margin: 0 5px 0 0;
    color: #25408f;
}

#demo-input-facebook-theme {
    border: none;
    float: left;
    padding: 5px;
    width: 100%;
    height: 38px;
}

ul.token-input-list-facebook {
    /*overflow-x: scroll;
    overflow-y: hidden;*/
    white-space: nowrap;
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    display: inline-flex;
    width: 100%;
    height: 44px;
    cursor: text;
    font-size: 14px;
    min-height: 1px;
    margin: 0;
    padding: 5px;
    background-color: none;
    list-style-type: none;
    vertical-align: middle;
    position: relative;
    z-index: 900;
    text-align: left;
}

ul.token-input-list-facebook.showback { background: #fff; }

ul.token-input-list-facebook li input {
    border: 0;
    width: 200px;
    font-size: 1.2em;
    padding: 3px 8px;
    letter-spacing: 0.4px;
    float: right;
    height: 30px;
    background: none;
}

li.token-input-token-facebook {
    height: 100%;
    margin: 0 5px 0 0;
    padding: 0 8px;
    background-color: #25408f;
    color: #fff;
    line-height: 3.4rem;
    cursor: default;
    font-size: 1.4rem;
    letter-spacing: 0.04rem;
    font-weight: 300;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    float: left;
}

li.token-input-token-facebook p {
    display: inline;
    padding: 0;
    margin: 0;
}

li.token-input-token-facebook span {
    margin-left: 5px;
    font-weight: 600;
    cursor: pointer;
}

li.token-input-selected-token-facebook {
    background-color: #0092d0;
    border: 1px solid #0092d0;
    color: #fff;
}

li.token-input-input-token-facebook {
    float: left;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

div.token-input-dropdown-facebook {
    position: absolute;
    width: 100%;
    background-color: #fff;
    border-left: 1px solid #EDEDED;
    border-right: 1px solid #EDEDED;
    border-bottom: 1px solid #EDEDED;
    cursor: default;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    letter-spacing: 0.04rem;
    z-index: 9993;
    max-height: 310px;
    overflow-x: auto;
    top:40px!important;
    left:0px!important;
    text-align:left;
}

div.token-input-dropdown-facebook b {
    font-weight:600!important;
}

div.token-input-dropdown-facebook p {
    margin: 0;
    padding: 5px;
    font-weight: 300;
    font-size: 1.4rem;
    letter-spacing: 0.04rem;
    color: #777;
}

div.token-input-dropdown-facebook ul {
    margin: 0;
    padding: 0;
}

div.token-input-dropdown-facebook ul li {
    background-color: #fff;
    padding: 8px;
    margin: 0;
    list-style-type: none;
    font-size: 14px;
    border-bottom: 1px solid #ccc;


}

div.token-input-dropdown-facebook ul li.token-input-dropdown-item-facebook {
    background-color: #fff;
}

div.token-input-dropdown-facebook ul li.token-input-dropdown-item2-facebook {
    background-color: #fff;
}

div.token-input-dropdown-facebook ul li em {

    font-style: normal;
}

div.token-input-dropdown-facebook ul li.token-input-selected-dropdown-item-facebook {
    background-color: #25408f;
    color: #fff;
    letter-spacing: 0.04rem;
}

div.token-input-dropdown-facebook ul li.fet-prop { float: left; width: 100%;  }
div.token-input-dropdown-facebook ul li.fet-prop a { float: left; width: 100%; text-decoration: none; color: #000; z-index: 9999; }
div.token-input-dropdown-facebook ul li.fet-prop a span.img { float: left; width: 15%; max-height: 70px; overflow: hidden; }
div.token-input-dropdown-facebook ul li.fet-prop a span.img img { width: 100%; }
div.token-input-dropdown-facebook ul li.fet-prop a .details { float: left; width: 85%; padding-left: 10px; }
div.token-input-dropdown-facebook ul li.fet-prop a .details span.dis-name { float: left; width: 100%; padding-bottom: 10px; }
div.token-input-dropdown-facebook ul li.fet-prop a .details span.dis-price { float: left; width: 100%; padding-bottom: 5px; font-size: 12px; color:#D92028; font-style: italic; }

div.token-input-dropdown-facebook ul li.fet-prop.token-input-selected-dropdown-item-facebook a .details span.dis-name { color: #fff; }
div.token-input-dropdown-facebook ul li.fet-prop.token-input-selected-dropdown-item-facebook a .details span.dis-price { color: #fff; }

.searchbox{
    width: 100%;
    float: left;
    height: auto;
    display: block;
    text-align: center;
    margin:10px 0 0;
    position:relative;
}

#searchbox2 {
    position: relative;
}

.resultsDisplay{
    max-width: 960px;
    height: auto;
    margin: 0 auto;
    padding: 20px 10px;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.result{
    font-family: 'Open Sans', sans-serif;
    padding-left: 10px;
    font-size: 14px;
    letter-spacing: 0.04rem;
    line-height: 2;
    font-weight: 300;
}

.styled-select {
    border: 1px solid #EDEDED;
    float: left;
    position: relative;
    width: 100%;
    height: 46px;
    overflow:hidden;
    background:#fff;
}

.styled-select .fa {
    position: absolute;
    right: 10px;
    top: 50%;
    color: #666666;
    font-size: 1.5rem;
    margin: -6px 0 0;
    z-index:0;
}

.styled-select:hover .fa {
    color:#25408f;
}

select:focus {
    outline: none;
}

.styled-select select {
  padding: 5px 32px 5px 10px;
  background: transparent;
  border: none;
  -webkit-appearance: none; -moz-appearance:none; appearance:none;
  cursor: pointer;
  float:left; width:100%; height:44px;
  font-size: 1.5rem;
  color: #666;
  letter-spacing: 0.04rem;
  font-weight: 300;
  font-family: 'Open Sans', sans-serif;
  position:relative;
  z-index:1;
}

.styled-select:hover select { color: #333; }

@media screen and (-webkit-min-device-pixel-ratio:0) {
    select {
        padding-right:18px;
    }
}

.styled-select label {
    position:relative;
}

.styled-select label:after {
    content:"\f078";
    font-family: "FontAwesome";
    font-size: 11px;
    color:#aaa;
    right:8px; top:4px;
    padding:0 0 2px;
    position:absolute;
    pointer-events:none;
}

.styled-select label:before {
    content:'';
    right:4px; top:0px;
    width:23px; height:18px;
    background:#fff;
    position:absolute;
    pointer-events:none;
    display:block;
}

.fa-sort-desc {
  position: absolute;
  top: 0;
  right: 12px;
  font-size: 24px;
}

 select::-ms-expand { display: none; } /* hide default down arrow in IE10*/

.btnsearch {
    font-family: 'Open Sans', sans-serif;
    border: 0;
    width: 100%;
    height: 46px;
    background: #25408f;
    letter-spacing: 0.04rem;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    padding: 0 12px;
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    position: relative;
}
.btnsearch:hover { background: #0091D3; }
.btnsearch .fa { float:right; position:relative; right:0; margin:2px 0 0 5px; }
.btnsearch:hover .fa { right:-5px; }

a.buyrent{
    width: 100%;
    text-align: center;
    border: 0;
    line-height:4.0rem;
    color: #aaa;
    float: left;
    font-size: 1.4rem;
    background-color: #d6d6d6;
    color: #333;
    cursor: pointer;
    letter-spacing: 0.6px;
}

a.buyrent:hover{
    background-color: #01613d;
    color: #fff;
}

.selectedbuyrent {
     background-color: #01613d !important;
     color: #fff !important;
}

.advancedsearch { transition:all .1s ease; -webkit-transition:all .1s ease; -moz-transition:all .1s ease; -o-transition:all .1s ease; position:absolute; top:55px; background:#fff; left:0; width:100%; padding:0; height:0; overflow:hidden; box-shadow:0px 21px 100px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 21px 100px rgba(0, 0, 0, 0.4); -webkit-box-shadow:0px 21px 100px rgba(0, 0, 0, 0.4); }
.advancedsearch.show { height:auto; padding:20px 0; -webkit-transition:all .4s ease; -moz-transition:all .4s ease; -o-transition:all .4s ease; }
.advancedsearch:after { content:""; position:absolute; width:100%; height:5px; top:0; left:0; background:#01613d; }
.advancedrow { float:left; width:100%; border-bottom:1px solid #f2f3f2; padding:15px 60px 15px; }
.advancedrow:last-child { border:none; }
.advancedtitle { float: left; width:100%; text-align:left; font-size:2rem; color:#666; letter-spacing:0.4px; font-weight:600; }
.advancedrow ul { text-align:left; float:left; width:100%; margin:10px 0 0; }
.advancedrow li { margin:15px 0 0; vertical-align:top; display:inline-block; width:25%; }
.advancedrow li input { float:left; margin:0 10px 4px 0; cursor:pointer; }
.advancedrow label { font-size:1.4rem; font-weight:600; color:#666; cursor:pointer; }
.advancedrow label:hover { color:#DA2129; }

#topsearch .advancedsearch .adclose { font-size:1.4rem; color:#666; position:absolute; top:48px; right:60px; cursor:pointer; }
#topsearch .advancedsearch .adclose:hover { color:#DA2129; }

#topsearch.homesearch .advancedsearch { top:65px; }

.advancedbutton{
    width: 100%;
    height: 40px;
    cursor: pointer;
    text-align: center;
    font-size: 1.0rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    float: left;
    vertical-align: middle;
    position: relative;
    padding: 6px 0;
    line-height: 1.4rem;
    background:#01613d;
}

.advancedbutton .fa {
    color: #01613d;
    font-size: 1.4rem;
    position: absolute;
    left: 5px;
    top: 50%;
    margin: -5px 0 0;
}

.advancedbutton:hover { color:#fff; background:#01613d; border-color:#01613d; }

.propertytypegrid ul{
    display: inline-block;
}

.propertytypegrid li {
    display: inline-block;
    width: 30%;
    padding: 5px;
    font-size: 0.8em;
    text-align: left;
}
}

.propertytypegrid input{
    margin-right: 10px;
}



@media (max-width: 1280px) {
.sb5.sbad { width:8%; }
.sb10 { width:10%; }
.sb55 { width:52%; }
}

@media (max-width: 1180px) {
.sb5.sbbtn { width:6%; }
.sb10.sbdrop { width:12%; }
.sb10.sbsea { width:12%; }
.sb55 { width:44%; }
}

@media (max-width: 1180px) {
.sb10.sbdrop { width:14%; }
.sb10.sbsea { width:10%; }
.sb55 { width:38%; }

.advancedrow li { width:33.33%; }
}

@media (max-width: 980px) {
.sbinp1 { padding:0 2px 0 0; }
.sbinp2 { padding:0 0 0 3px; }
.sb5.sbbtn { width:10%; }
.sb10.sbdrop { width:25%; }
.sb5.sbad { width:16%; }
.sb55 { width:100%; margin:5px 0 0; }
}

@media (max-width: 800px) {
.sbsea, .sbad { display:none; }
.mobilebuttons { display:block; float:left; margin:5px 0 0; width:100%; }
.sb10.sbdrop { width:38%; }
.sb5.sbbtn { width:12%; }
.sb5.sbad2 { width:60%; }
.sb10.sbsea2 { width:40%; }

.styled-select select, #searchbox2 .placeholder { font-size: 1.3rem; }
}

@media (max-width: 500px) {
.sb10.sbdrop { width:50%; margin:5px 0 0; }
.sbdrop1 .sbinner { padding:0 0 0 3px; }
.sbdrop2 .sbinner { padding:0 2px 0 0; }
.sb5.sbbtn { width:50%; }
.sb5.sbad2 { width:50%; }
.sb10.sbsea2 { width:50%; }
#topsearch .sb45, .sbinner { padding: 0px; }
.styled-select select, #searchbox2 .placeholder { font-size: 1.1rem;

div.token-input-dropdown-facebook ul li.fet-prop a span.img { width: 20%;  }
div.token-input-dropdown-facebook ul li.fet-prop a .details { width: 80%;  }
}
