.button-location{
  text-align: left;
  font-size: 14px;
  font-family: "Montserrat";
  padding: 12px 20px 12px;
  display: block;
  width: 100%;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: 0.3s;
}
.button-location:hover{
  background-color: #f3f3f3;
}

.modal-box {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
}
.search-popups.active .overlay {
  opacity: 1;
  pointer-events: auto;
  z-index: 998;
}
.modal-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 75%;
  width: 80%;
  height: 95%;
  padding: 30px 50px;
  border-radius: 8px;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%) scale(1.2);
}
.search-popups.active .modal-box {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -43%) scale(1);
  z-index: 999;
}
.modal-box i {
  font-size: 20px;
  margin-left: 5px;
  color: var(--theme-default3);
}

.modal-box .buttons {
  margin-top: 25px;
}
.modal-box button {
    color: #ffffff;
    background: var(--theme-gradient10);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    border: none;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 18px;
}

.popup-container{
  width: 100%;
}
.popup-sub-container{
  margin-bottom:20px;
}
.popup-top-heading{
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  border-bottom: 1px solid;
}
.flex-center{
  display:flex; 
  align-items:center; 
  justify-content: center;
}
.flex-end{
  display:flex; 
  align-items:center;
  justify-content: flex-end;
}
.modal-box-button2{
  -webkit-background-clip:border-box !important;
  -webkit-text-fill-color:#fff !important;
}


/* Font of the placeholder text*/
.mainLoginInput::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 1; /* Firefox */
}

.mainLoginInput:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.mainLoginInput::-ms-input-placeholder { /* Microsoft Edge */
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}


/* Search filters Popup*/
.overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
}
.search-filters.active .overlay2 {
  opacity: 1;
  pointer-events: auto;
  z-index: 998;
}
.modal-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 75%;
  width: 100%;
  height: 85%;
  padding: 30px 50px;
  border-radius: 8px;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%) scale(1.2);
  overflow-y: scroll;
}
.search-filters.active .modal-box {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -43%) scale(1);
  z-index: 999;
}

.filter-section {
  margin-bottom: 30px;
  margin-top: 30px;
}
.filter-section h3 {
  margin-bottom: 1rem;
  text-align: left;
}

.filters-in-row{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
button {
  display: block;
  margin-top: 10px;
}

.button-section {
  text-align: center;
  display: flex;
  gap: 10px;
}

.filter-button {
  margin: 0 !important;
  padding: 10px 20px !important;
  border: 1px solid var(--theme-default3) !important;
  background: none !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: var(--theme-default3) !important;
  font-size: 16px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background-color 0.2s, color 0.2s, border 0.2s !important;

  -webkit-background-clip:unset !important; 
  -webkit-text-fill-color:unset !important;
    
  width: 50%;
}

.filter-button:hover {
  background: var(--theme-default4) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
}

.filter-button.active {
  background: var(--theme-gradient5) !important;
  background-size: 200% auto !important;
  color: #fff !important;
  border: 1px solid transparent !important;
}


/* Checkbox design */
.input-label-box{
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 1em;
}

.label-box-flex-wrap .check-box{
  width: 25%;
}

.label-box-flex-wrap{
  flex-direction: column;
  flex-wrap: wrap;
  height: 220px;
  justify-content: flex-start;
}

.check-box{
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
}

.check-box label{
  margin-bottom: 0;
  position: relative;
  width: 30px;
  height: 30px;
}

.check-box label input{
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
}

.check-box span{
  font-size: 18px;
}

.check-box label span{
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  border: 1px solid var(--theme-default3);
  border-radius: 8px;
  cursor: pointer;
}

.check-box label span::after{
  content: '';
  position: absolute;
  left: 10px;
  bottom: 5px;
  width: 0px;
  height: 0px;
  border: solid var(--theme-default3);
  border-width: 0 4px 4px 0;
  border-radius: 4px;
  transform: rotate(45deg);
  opacity: 0;
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.check-box label input:checked ~ span::after{
  width: 15px;
  height: 32px;
  opacity: 1;
}

/* Input-text design */
.text-box{
  position: relative;
  width: 50%;
  height: 3rem;
}
.form__input{
  position: absolute;
  /*top: 0;
  left: 0;
  width: 100%;
  height: 100%;*/
  border: 1px solid var(--theme-default3);
  border-radius: 8px;
  color: var(--theme-default3);
  outline: none;
  padding: 1.25rem;
  background: none;
  height: 30px;
  width: 100%;
}

.form__input:hover{
  border-color: var(--theme-default4);
}

.form__input:focus{
  border-color: var(--theme-default4);
}

.form__label{
  position: absolute;
  left: 1rem;
  top: 0.45rem;
  padding: 0 0.5em;
  color: var(--theme-default3);
  font-size: 18px;
  cursor: text;
  transition: top 200ms ease-in, left 200ms ease-in, font-size 200ms ease-in;
  background-color: #fff;
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown).form__input:not(:focus) ~ .form__label{
  top: -0.7rem;
  font-size: 16px;
  left: 0.8rem;
}

/* Select dropdown */
.select-box {
  position: relative;
  display: flex;
  width: 50%;
  flex-direction: column;
}

.select-box .options-container {
  background: #fff;
  color: var(--theme-default3);
  border: 1px solid var(--theme-default3);
  max-height: 0;
  width: 100%;
  opacity: 0;
  transition: all 0.4s;
  border-radius: 0px 0px 8px 8px;
  overflow: hidden;

  order: 1;
}

.selected {
  background: var(--theme-gradient5);
  background-size: 200% auto !important;
  border-radius: 8px;
  margin-bottom: 8px;
  color: #f5f6fa;
  position: relative;

  order: 0;
}

.selected::after {
  content: "";
  background: url("../images/arrow-down.svg");
  background-size: contain;
  background-repeat: no-repeat;

  position: absolute;
  height: 100%;
  width: 32px;
  right: 10px;
  top: 5px;

  transition: all 0.4s;
}
.show-modal, .show-modal2{
  margin-top: 0;
}
.select-box .options-container.active {
  max-height: 240px;
  opacity: 1;
  overflow-y: scroll;
  margin-top: 43px;
}

.select-box .options-container.active + .selected::after {
  transform: rotateX(180deg);
  top: -6px;
}

.select-box .options-container::-webkit-scrollbar {
  width: 8px;
  background: var(--theme-default4);
  border-radius: 0 8px 8px 0;
}

.select-box .options-container::-webkit-scrollbar-thumb {
  background: var(--theme-default3);
  border-radius: 0 8px 8px 0;
}

.select-box .option,
.selected {
  padding: 12px 24px;
  cursor: pointer;
}

.select-box .option:hover {
  background: var(--theme-gradient5);
  background-size: 200% auto !important;
  color: #fff;
}

.select-box label {
  cursor: pointer;
}

.select-box .option .radio {
  display: none;
}

/* Searchbox */

.search-box-dropdown input {
  width: 100%;
  padding: 12px 16px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  position: absolute;
  border-radius: 8px 8px 0 0;
  z-index: 100;
  border: 1px solid var(--theme-default3);

  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
}

.search-box-dropdown input:focus {
  outline: none;
}

.select-box .options-container.active ~ .search-box-dropdown input {
  opacity: 1;
  pointer-events: auto;
}

/*map*/
.administrative-area {
  fill: #609c7b; /* default fill color */
  stroke: white; /* default border color */
  stroke-width: 3;
}
.administrative-area:hover{
  fill: #314f40;; /* hover and selected fill color*/ 
  cursor: pointer;
}
.administrative-area.active, .shadow-pins.active{
  fill: var(--theme-default3) !important;
}

/*Location-search bar*/
/* .location-search-bar{
  gap: 10px;
}
.location-search-bar-button{
  gap: 10px;
} */
.button
.location-filters{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.search-map{
  width:100%;
}
.search-areas{
  width: 35%;
}


/*Location dropdown checkboxes*/
.dropdown-location-checkboxes {
  position: relative;
  display: inline-block;
  margin-left: 30px;
}

.dropdown-loc-arrow {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.dropdown-loc-arrow::before {
  content: "\f0da"; /* Unicode for the arrow icon */
  margin-right: 5px;
  transition: transform 0.3s ease;
}
.dropdown-location-checkboxes.open .dropdown-loc-arrow::before {
  content: "\f0d7"; /* Unicode for the arrow icon */
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.dropdown-location-checkboxes-button {
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  text-transform: unset !important;
  font-size: 20px !important;
  color: #1c2d3a !important;
  background: 0 !important;
  -webkit-background-clip: unset !important; 
  -webkit-text-fill-color: unset !important;
  background-size: unset !important;
  text-align: left !important;

}

.dropdown-location-checkboxes-content {
  display: none;
  position: unset;

  min-width: 200px;

  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-location-checkboxes.open .dropdown-location-checkboxes-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-location-checkboxes-content label {
  display: block;
  margin-bottom: 8px;
}

.dropdown-location-checkboxes-content .check-box label{
  width: 25px;
  height: 25px;
}

/*Currency dropdown*/
.currency-dropdown{
  /*;
  border-radius: 8px;
  height: 41px;*/
}
/*the container must be positioned relative:*/
.currency-dropdown {
  position: relative;
}

.currency-dropdown select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  background: var(--theme-gradient5);
  background-size: 200% auto;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  height: 41px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

.select-selected{
  color: #fff;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background: none;
  border-radius: 8px;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}



.shadow-pins {
  -webkit-filter: drop-shadow( 1px 1px 5px rgba(0, 0, 0, .5));
  filter: drop-shadow( 1px 1px 3px rgba(0, 0, 0, .4));
}
.shadow-pins:hover {
  fill: #314f40; /* default fill color */
  cursor: pointer;
}



/*City boxes*/
.city-boxes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.row-city-boxes {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.city-box {
  position: relative;
  width: 250px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

   
.image-city-box {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease-in-out;
  z-index: -1;
}

.sofia-city-box{
  background-image: url('../images/offers-sofia-hero.jpg');
  background-position: top;
}

.plovdiv-city-box{
  background-image: url('../images/offers-plovdiv-hero.jpg');
}

.varna-city-box{
  background-image: url('../images/offers-varna-hero.jpg');
}

.burgas-city-box{
  background-image: url('../images/offers-burgas-hero.jpg');
}

.staraZagora-city-box{
  background-image: url('../images/offers-StZ-hero.jpg');
  background-position: top;
}

.city-box:hover .image-city-box {
  transform: scale(1.1); 
}

.overlay-city-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); 
  transition: opacity 0.5s ease-in-out;
}

.city-box:hover .overlay-city-box {
  opacity: 0;
}

.text-city-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 28px; 
  text-align: center;
  pointer-events: none;
  text-shadow: none; 
  transition: text-shadow 0.5s ease-in-out; 
}

.city-box:hover .text-city-box {
  text-shadow: -4px 3px 0px rgba(0, 0, 0, 0.9); 
}


/*Neighborhood boxes*/
.neighborhood-boxes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.row-neighborhood-boxes {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.neighborhood-box {
  position: relative;
  width: 150px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

   
.image-neighborhood-box {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease-in-out;
  z-index: -1;
}

.neighborhood-box:hover .image-neighborhood-box {
  transform: scale(1.1); 
}

.overlay-neighborhood-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  transition: opacity 0.5s ease-in-out;
}

.neighborhood-box:hover .overlay-neighborhood-box {
  opacity: 0.1;
}

.text-neighborhood-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px; 
  text-align: center;
  pointer-events: none;
  text-shadow: none; 
  transition: text-shadow 0.5s ease-in-out; 
}

.neighborhood-box:hover .text-neighborhood-box {
  text-shadow: -3px 2px 0px rgba(0, 0, 0, 1); 
}

.showMoreBtn-container{
  width: 100%;
  display: flex;
  justify-content: center;
}

#showMoreBtn{

}
.search-box{
  margin-top: 100px;
}

/*Responsive design*/
@media (max-width: 1450px){
  .filter-section h3{
    font-size: 18px;
  }
}
@media (min-width: 1400px){
  .modal-box{
    max-width: 65%;
  }
  .city-box {
    position: relative;
    width: 300px;
    height: 100px;
  }
}
@media (max-width: 1200px){
  .check-box label{
    width: 25px;
    height: 25px;
  }
  .input-label-box{
    gap: 10px;
  }
  .check-box label input:checked ~ span::after{
    width: 13px;
    height: 28px;
  }
  .check-box label span::after{
    bottom: 3px;
  }
  .price-range-block{
    display: block;
  }
  .currency-button-section{
    width: unset;
  }
  .price-range-block label{
    width:unset;
  }

  .price-range-block input{ 
    width: unset; 
    margin-bottom: 16px;
  }
  .label-box-flex-wrap{
    height: unset;
  }
  .label-box-flex-wrap .check-box {
    width: 45%;
  }
  .label-box-flex-wrap{
    flex-direction: row;
  }
  
}
@media (max-width: 1060px){
  .check-box span{
    font-size: 16px;
  }
}
@media (max-width:1000px){
  .slider-subtitle {
    font-size: 2.5em;
  }
  .home-section.layout-6 .home-main .container > .row {
    padding-top: 30px;
  }
  .search-button-1-width{
    width: 65% !important;
  }
  .search-button-2-width{
    width: 35% !important;
  }
  .flex-wrap-center{
    flex-wrap: wrap;
    justify-content: center;
  }
  .width-100p{
    width: unset;
  }
  .flex-direction-column{
    flex-direction: column;
    gap: 10px !important;
}
.search-with-tab .tab-content{
padding: 20px;
}
  
.filter-section{
  width: 100% !important;
}
.search-with-tab-width{
  width: 100% !important; 
  margin-bottom: -65px;
}
}
@media (max-width:768px){
  .button-location{
    padding: 12px 20px 12px;
  }
  .modal-box{
    max-width: 85% !important;
    padding: 20px 30px;
  }
  .home-section.layout-6 .home-main .container > .row {
    padding-top: 20px;
  }
  .slider-subtitle{
    font-size: 2em;
  }

  .city-box{
    width: 250px;
    height: 90px;
  }
  .row-city-boxes{
    flex-wrap: wrap;
  }


}

@media (max-width:767px){
  .row-city-boxes .title-1 h2 i{
    transform: rotate(90deg);
  }
}

@media (max-width: 575px) {
  .search-with-tab .tab-content{
    padding: 20px;
    }
    .search-with-tab ~ .breadcrumb-content div {
      margin: unset;
      padding: 30px 0px;
    }
    .search-with-tab ~ .breadcrumb-content{
      justify-content: flex-start;
    }
  .modal-box{
    max-width: 85% !important;
    padding: 20px 30px;
  }
  .popup-sub-container h3,
  .popup-sub-container button{
    margin: 0;
  }
  .close-btn-text{
    display: none;
  }

  .width-100p{
    width: 100%;
  }
  .label-box-flex-wrap .check-box {
    width: 100%;
  }
  .label-box-flex-wrap{
    flex-wrap: wrap;
    height: auto !important;
  }
  .form__label{
    font-size: 16px;
  }
  .filter-section{
    margin-bottom: 0;
    width: 100% !important;
  }
  .button-location{
    padding: 12px 5px 12px;
  }
  .select-box {
    width: 100%;
  }
  .select-box .options-container.active {
    max-height: 150px;
  }
  .location-search-bar-input{
    width: 100%;
  }
  .location-search-bar-input input{
    line-height: 1;
  }
  .location-search-bar-button{
    width: 100%;
    margin-top: 10px;
  }
  .location-search-bar-button button{
    font-size: 14px;
  }
  .location-search-bar-button button i{
    font-size: 14px;
  }
  .location-filters{
    flex-direction: column;
  }
  .search-map{
    width:100%;
  }
  .search-areas{
    width:100%;
    margin-top: 20px;
  }
  .city-box{
    width: 180px;
    height: 70px;
  }
  .text-city-box{
    font-size: 22px;
  }
  .popup-top-heading{
    grid-template-columns: 1fr 4fr 1fr;
  }
}

@media (max-width: 394px) {
  .city-box{
    width: 300px;
    height: 75px;
  }
}


@media (max-width: 377px) {
  .search-with-tab .tab-content{
    padding: 20px 10px;
  }
  .search-button-1-width{
    padding-right: 5px !important;
  }
  .slider-subtitle{
    font-size: 1.4em !important;
  }
  .search-box{
    margin-bottom: 20px !important;
  }
}
.page-item , .page-link{
  cursor: pointer;
}
