#tsimmo-searchmenu {
  width: 100%;
  background: #ffffff4a;
  padding: 30px;
  position: relative;
  border-width: 3px;
  border-color: #eff5f7;
  box-shadow: 0px 20px 18px -6px rgba(0, 0, 0, 0.03);
}

.ts-immo-btn{
  border:1px solid #fff;
  border-radius: 7px;
}

.select2-container--default .select2-search--inline .select2-search__field{
  line-height: 34px;
}

.ts-column{
  z-index:1;
}

.ts-column .ts_dropdown {
z-index:2;
position:relative;
}
.ts-column .ts_dropdown.ts_dropdown_displayed{
  z-index:100;
  position:relative;
}
.ts-column .ts_dropdown>span{
z-index:3;
position:relative;
}

/*
.ts-column .ts_dropdown>.ts_dropdown_chevron{
  position: absolute;
      right: 10px;
      bottom: 20%;
      font-size: 12px;
      font-weight: 700;
}
*/

.ts-column .ts_dropdown .ts_dropdown_select{
  z-index:4;
  position:relative;
  overflow-y: auto;
  max-height:200px;
}
.ts-column .ts_dropdown .ts_dropdown_select .ts_dropdown_element{
  z-index:5;
  position:relative;
}
.ts-column .ts_dropdown.ts_dropdown_displayed .ts_dropdown_select .ts_dropdown_element{
  z-index:1000;
  position:relative;
}

#tsimmo-searchmenu.advanced {
background: #454545;
color:#fff;
padding: 20px 10px;
border:none;
}

#tsimmo-searchmenu #tsimmo-rooms-label{
  text-align:center;
}

#tsimmo-searchmenu .ts-column {
  display: inline-block;
  vertical-align: middle;
  padding: 0 5px;
}

#tsimmo-searchmenu #tsimmo-state {
  width: 20%;
}

#tsimmo-searchmenu #tsimmo-type {
  width: 20%;
}

#tsimmo-searchmenu #tsimmo-a {
  width: 5%;
  text-align: center;
}

#tsimmo-searchmenu #tsimmo-a>span {
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
}

#tsimmo-searchmenu #tsimmo-city {
  width: 25%;
}

#tsimmo-searchmenu #tsimmo-city-select {
  width: 80%;
}

#tsimmo-searchmenu #tsimmo-search {
  width: 28%;
  text-align: center;
}

#tsimmo-searchmenu #tsimmo-search>a {
  font-size: 1.2em;
  padding: 12px 20%;
}

.ts_dropdown:hover{
  height: 40px;
}
.ts_dropdown,.select2-container--default .select2-selection--multiple, #ts-immo-property-ref-col {
  cursor: pointer;
  background: #fff;
  min-height: 40px;
  padding-bottom: 0;
  width: 100%;
  position: relative;
  border: 1px solid #243a6c;
  border-radius: 5px;
  color: #243a6c;
  font-weight: 700;
}
#ts-immo-property-ref{
  border:none;
}
input.select2-search__field::placeholder, #ts-immo-property-ref::placeholder {
  color: #243a6c85!important;
  font-weight: 600;
  line-height: 38px;
  font-size:12px;
}

.ts_dropdown>span {
  line-height: 38px;
  display: inline-block;
  margin-left: 8px;
  /* z-index:100; */
}

.ts_dropdown_label[data-selection='']{
  color:#243a6c85;
}

.ts_dropdown>i {
  float: right;
  margin-top: 9px;
  margin-right: 8px;
}

.ts_dropdown_select {
  display: none;
  padding: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #243a6c;
  border-radius: 0 0 5px 5px;
  margin: -5px 0px -1px -1px;
}

.ts_dropdown.ts_dropdown_displayed>.ts_dropdown_select {
  border-top: none;
  display: block;
  /* z-index: 99999; */
  background: #fff;
}

.ts_dropdown_select>.ts_dropdown_element {
  padding: 5px;
  width: 100%;
}

.ts_dropdown_select>.ts_dropdown_element:hover {
  background: #243a6c;
  color: #fff;
  font-weight: 800;
}

#tsimmo-city_dropdown {
  width: 82%;
}

/* Advanced */
.dropdown-multiple{
  width:100%;

}
#tsimmo-searchmenu.advanced .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search__field::placeholder{
  color:#243a6c;
}
#tsimmo-searchmenu.advanced .select2-container--default .select2-selection--multiple .select2-selection__rendered li:not(:last-child){
  background-color:#243a6c;
  color:#fff;
}
#tsimmo-searchmenu.advanced input[type=range] {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}
#tsimmo-searchmenu.advanced input[type=range]:focus {
  outline: none;
}
#tsimmo-searchmenu.advanced input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #243a6c;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
#tsimmo-searchmenu.advanced input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
}
#tsimmo-searchmenu.advanced input[type=range]:focus::-webkit-slider-runnable-track {
  background: #243a6c;
}
#tsimmo-searchmenu.advanced input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #243a6c;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
#tsimmo-searchmenu.advanced input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
#tsimmo-searchmenu.advanced input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
#tsimmo-searchmenu.advanced input[type=range]::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
#tsimmo-searchmenu.advanced input[type=range]::-ms-fill-upper {
  background: #243a6c;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
#tsimmo-searchmenu.advanced input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
#tsimmo-searchmenu.advanced input[type=range]:focus::-ms-fill-lower {
  background: #243a6c;
}
#tsimmo-searchmenu.advanced input[type=range]:focus::-ms-fill-upper {
  background: #243a6c;
}

/* Hide the browser's default checkbox */
input.tsimmo-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.tsimmo-checkmark {
  position: absolute;
  top: 0;
  left: 0;

  height: 25px;
  width: 25px;
      border-radius: 5px;
  background-color: #fff;
}
.tsimmo-checkbox-container{
  position:relative;
}
.tsimmo-checkbox-container label{
  padding-left:32px;
}
input.tsimmo-checkbox ~ .tsimmo-checkmark {
  background-color: #fff;
  border: 1px solid #243a6c;
}

input.tsimmo-checkbox:checked ~ .tsimmo-checkmark {
  background-color: #243a6c;
}

.tsimmo-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
input.tsimmo-checkbox:checked ~ .tsimmo-checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.tsimmo-checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#tsimmo-searchmenu.advanced #tsimmo-max-price, #tsimmo-searchmenu.advanced #tsimmo-min-price{
  width: 120px;
}

#tsimmo-searchmenu.advanced #ts-immo-search-button,#tsimmo-searchmenu.advanced #ts-immo-search-button:hover{
  padding: 12px 20px!important;
}

#tsimmo-searchmenu.advanced .ts-column{
    font-size:12px;
}

#tsimmo-searchmenu.advanced #tsimmo-city{
  width:15%;
}
#tsimmo-searchmenu.advanced #tsimmo-type{
  width:14%;
}
#tsimmo-searchmenu.advanced #tsimmo-rooms{
  width:15%;
}
#tsimmo-searchmenu.advanced #tsimmo-sort{
  width:12%;
}
#tsimmo-searchmenu.advanced #tsimmo-byref{
  width:12%;
}
#tsimmo-searchmenu.advanced #tsimmo-byref>input{
  padding: 10px;
  border-radius: 5px;
  font-weight: 600;
  width: 85%;
  font-size: 12px;
}

#tsimmo-sort_label{
  color:#8D98B2;
}
#tsimmo-searchmenu.advanced #tsimmo-furnished{
  min-width:95px;
}
#tsimmo-searchmenu.advanced #tsimmo-a{
  width: 12px;
  margin: 0;
  padding: 0;
}
#tsimmo-searchmenu.advanced #tsimmo-search{
  width:80px;
  text-align: center
}
#tsimmo-searchmenu.advanced #tsimmo-search>a{
  padding: 12px 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  #searchbar-container {
    margin: 0px !important;
  }

  #tsimmo-searchmenu {
    margin: 5px 5px 10px 5px;
  }

  #tsimmo-searchmenu #tsimmo-a {
    display: none !important;
  }

  #tsimmo-searchmenu .ts-column {
    width: 100% !important;
    display: block !important;
    padding: 10px;
  }

  #tsimmo-type_dropdown {
    width: 100% !important;
  }
  #tsimmo-city_dropdown {
    width: 100% !important;
  }
}

/* MOBILE */
@media (min-width: 769px) and (max-width: 1040px) {
  #searchbar-container {
    margin: 0px !important;
  }

  #tsimmo-searchmenu.advanced {
    margin: 5px 5px 70px 5px;
  }

  #tsimmo-searchmenu.advanced #tsimmo-a {
    display: none !important;
  }

  #tsimmo-searchmenu.advanced .ts-column {
    display: inline-block !important;
    padding: 10px;
  }

  #tsimmo-searchmenu.advanced #tsimmo-type {
    width: 48% !important;
  }
  #tsimmo-searchmenu.advanced #tsimmo-city {
    width: 48% !important;
  }
  #tsimmo-searchmenu.advanced #tsimmo-rooms{
    width: 70% !important;
  }
  #tsimmo-searchmenu.advanced #tsimmo-furnished{
    width: 25% !important;
  }

  #tsimmo-searchmenu.advanced #tsimmo-min-price, #tsimmo-searchmenu.advanced #tsimmo-max-price{
    width: 48% !important;
  }
}
