.fillParent{
  display:block;
  width:100%;
}
/*I set z-index in live. This worked fine without it though and 4% 0 margin */
#propertySearchInput{
  box-sizing:border-box;
  height:35px;
  line-height:120%;
  padding: 3px 6px;
  margin:2% 0;
  border-radius:3px;
  background-color: #FFF;
}

#propertySearchInput:focus{
  border-color:#639;
}

.margin-bottom-2-percent{
  margin-bottom:2%;
}

.halfParent{
  width:49%;
}

#propertySelectType{
  margin-bottom:2%;
}

/*, select[name=min_price]*/
div.morePropertyOptions{
  display:none;
}

#searchButtonDiv{
  position: relative;
}

#searchButtonDiv button{
  margin-bottom: 5px;
  border-radius: 3px;
  background-color: #FFF;
  cursor: pointer;
  border: none;
  color: #639;
}

#searchButtonDiv button:hover{
  background-color: #e8e8e8;
}

#searchButtonDiv span{
  position: absolute;
  right: 5px;
  cursor:pointer;
  text-decoration:underline;
  font-size:13px;
  vertical-align:middle;
}

#property-search-container{
  font-family: Lato, 'Palatino Linotype', sans-serif;
  font-weight: 300;
  padding: 15px 8px;
  border-radius: 3px;
  background-color: #639;
  color: #FFF;
}

#property-search-container h3 {
  font-weight: 300;
  font-size: 20px;
  margin-bottom: 0;
  text-align: center;
}

#property-search-container h3>span {
  font-weight: 800;
}

.ourcontainer {
  margin: 10px 0;
}

.ourcontainer label {
  position: relative;
}

.ourcontainer span.checkbox {
   padding-left: 12px;
   font-weight: 700;
   color: #FFF;
}

.ourcontainer span.checkbox:hover {
  cursor: pointer;
  color: #AAA;
}

.ourcontainer span::before,
.ourcontainer span::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

.ourcontainer span.checkbox::before {
  width: 27px;
  height: 27px;
  background-color: #FFF;
  left: -22px;
  box-sizing: border-box;
  border: 1px solid #639;
  transition: border-color .2s;
  margin-left: 4px;
}

.ourcontainer span.checkbox:hover::before {
  border: 3px solid #AAA;
  border-radius: 3px;
}

.ourcontainer span.checkbox::after {
  content: '\f00c';
  font-family: 'FontAwesome';
  font-size: 18px;
  left: -14px;
  top: -2px;
  color: transparent;
  transition: color .2s;
}

.ourcontainer>input[type="checkbox"]:checked + label span.checkbox::after {
  color: #639;
}

#property-search-container ul{
  list-style: none;
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
}

#property-search-container ul li{
  display: inline-block;
  position: relative;
  float: left;
  width: 50%;
  height: 70px;
}

.ourclearfix:before, .ourclearfix:after { content: ""; display: table; }
.ourclearfix:after { clear: both; }
.ourclearfix { *zoom: 1; }

#property-search-container ul li input[type=radio]{
  position: absolute;
  visibility: hidden;
}

#property-search-container input[type=checkbox]{
   visibility: hidden;
}

#property-search-container ul li label{
  display: block;
  position: relative;
  font-weight: 300;
  font-size: 1.2em;
  padding: 25px 25px 0px 65px;
  margin: 10px auto;
  height: auto;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: all 0.25s linear;
}

#property-search-container ul li .check{
  display: block;
  position: absolute;
  border: 5px solid #FFF;
  border-radius: 100%;
  height: 35px;
  width: 35px;
  top: 30px;
  left: 20px;
  z-index: 5;
  transition: border .25s linear;
  -webkit-transition: border .25s linear;
}

#property-search-container ul li .check::before {
  display: block;
  position: absolute;
  content: '';
  border-radius: 100%;
  height: 15px;
  width: 15px;
  top: 5px;
  left: 5px;
  margin: auto;
  transition: background 0.25s linear;
  -webkit-transition: background 0.25s linear;
}

.flexbox-container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;

  align-items: center;
}

#property-search-container input[type=radio]:checked ~ .check::before{
  background: #FFF;
}

@supports (pointer-events: none) and
    ((-webkit-appearance: none) or
    (-moz-appearance: none) or
    (appearance: none)) {

  span.custom-select{
    position: relative;
        display: inline-block;
        background-color: #FFF;
  }

  .custom-select select {
        display: inline-block;
        border: 2px solid #FFF;
        padding: 4px 3px 3px 5px;
        margin: 0;
        font: inherit;
        outline:none; /* remove focus ring from Webkit */
        line-height: 1.2;
        background: #f8f8f8;
        width:100%;

        -webkit-appearance:none; /* remove the strong OSX influence from Webkit */
        
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    /* for Webkit's CSS-only solution */
    @media screen and (-webkit-min-device-pixel-ratio:0) { 
        .custom-select select {
            padding-right:30px;    
        }
    }
    
    /* Since we removed the default focus styles, we have to add our own */
    .custom-select select:focus {
        -webkit-box-shadow: 0 0 3px 1px #c00;
        -moz-box-shadow: 0 0 3px 1px #c00;
        box-shadow: 0 0 3px 1px #c00;
    }
    
    /* Select arrow styling */
    .custom-select:after {
        content: '\f107';
        font-family: 'FontAwesome';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        font-size: 1.5em;
        line-height: 30px;
        padding: 0 7px;
        background: #FFF;
        color: #639;

        pointer-events:none;
        
        -webkit-border-radius: 0 6px 6px 0;
        -moz-border-radius: 0 6px 6px 0;
        border-radius: 0 6px 6px 0;
    }
    
    .no-pointer-events .custom-select:after {
        content: none;
    }

}