  .partners__img {
      filter: grayscale(100%);
      transition: all 0.3s ease-in-out;
  }

  .partners__img:hover {
      filter: grayscale(0%);
      cursor: pointer;
  }

  .swiper-partners-button-next,
  .swiper-partners-button-prev {
      display: block;
      width: 2.25rem;
      height: 2.25rem;
      transition: all 0.3s ease-in-out;
      border-radius: 50%;
      background-color: #fff;
      color: #454056;
      font-size: 0.75rem;
      line-height: 2.25rem;
      text-align: center;
      z-index: 10;
      border: 0;
      box-shadow: 0 0.125rem 0.125rem -0.125rem rgba(31, 27, 45, 0.08), 0 0.25rem 0.75rem rgba(31, 27, 45, 0.08);
  }

  .swiper-partners-button-next:hover,
  .swiper-partners-button-prev:hover {
      color: var(--fi-primary);
      box-shadow: 0 .125rem .5rem -0.25rem rgba(31, 27, 45, .12), 0 .25rem 1rem rgba(31, 27, 45, .12);
  }

  .gallery-item img {
      transition: transform 0.4s ease-in-out;
  }

  .gallery-item:hover img {
      transform: scale(1.1);
  }

  @media (min-width: 992px) {
    /* .navbar-expand-lg .dropdown:hover > .dropdown-menu {
        display: inline-table;
        animation: slide-up 0.25s ease-in-out;
    } */
    
      table {
          width: 100%;
          border-collapse: collapse;
      }

      th,
      td {
          padding: 8px;
          border: 1px solid #ddd;
          text-align: left;
          font-size: 0.9rem;
      }

      thead th {
          background-color: #249fe3;
          color: white;
      }

      tbody tr:hover {
          background-color: #f5f5f5;
          cursor: pointer;
      }
      .table > :not(caption) > * > * {
        padding: 0.75rem 0.35rem!important;
        
    }
  }

  @media (max-width: 991px) {
      /* .table {
          border: 1px solid #ddd;
      } */

      .table-striped tr {
        border-radius: 10px;
        border: 1px solid #ccc;
        box-shadow: 0px 4px 4px 0px #f1f1f1;
    }
    .table-striped tr .krow_title {
      background: #f5f5f5;
      border-radius: 10px 10px 0px 0px;
      border-bottom: 34px solid #141414;
    }
    .table-bordered > :not(caption) > * > * {
        border-width: 0!important;
    }

      thead {
          display: none;
      }

      tbody tr {
          display: block;
          margin-bottom: 1rem;
          border-bottom: 1px solid #ddd;
      }

      td {
          display: block;
          text-align: right;
          font-size: 0.8rem;
          border-bottom: 1px solid #ddd;
          padding: 0.5rem;
      }

      td::before {
          content: attr(data-label);
          float: left;
          font-weight: bold;
          text-transform: uppercase;
      }

      td:last-child {
          border-bottom: 0;
      }

      .clickable-row {
          cursor: pointer;
      }
  }

  .broker-sidebar-name:hover {
      color: var(--fi-primary) !important;
  }

  .broker-sidebar-img {
      width: 200px;
      height: 200px !important;
      object-fit: cover;
      object-position: center;
      border: 2px solid transparent;
      transition: all 0.25s ease-in-out;
  }

  .broker-sidebar-name {
      transition: all 0.25s ease-in-out;
  }

  .broker-sidebar-name:hover {
      color: var(--fi-primary) !important;
  }

  .broker-sidebar-img:hover,
  .broker-sidebar-img:active {
      border: 2px solid var(--fi-primary);
  }

  .flag{
    width: 30px;
    border: 1px solid #ccc;
  }
  .flagHolder{
    padding: 2px !important;
  }
  
  .flags .flagHolder img {
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--fi-primary);
  }
  
  .flags .flagHolder:hover img {
    box-shadow: 0px 4px 10px var(--fi-shadow-dark);
  }
  
  #SliderV1 swiper-container {
    --swiper-theme-color: var(--fi-primary);
    --swiper-pagination-bullet-width: 15px;
    --swiper-pagination-bullet-height: 15px;
  }

  .slider-img{
    object-fit: cover; 
    filter: brightness(75%);
  }

  .hover-primary:hover {
      color: var(--fi-nav-link-hover-color);
  }

  .text-hover-primary:hover {
    color: var(--fi-link-hover-color) !important;
  }

  .hover-underline:hover{
    transition: text 0.33s ease-in-out;
    text-decoration: underline !important;
  }

  .text-break-all{
    word-break: break-all;
  }

.icon-link {
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.viber {
    color: #7360F2;
}
.viber:hover {
    color: #5A3EBC;
}

.whatsapp {
    color: #25D366;
}
.whatsapp:hover {
    color: #1EBE53;
}

.telegram {
    color: #0088cc;
}
.telegram:hover {
    color: #006699;
}
  

  .material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
    vertical-align: middle;
}

.material-icons-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
    vertical-align: middle;
}

.header_logo_img {
    width: 200px;
    height: auto;
    /* transition: width 0.5s; */
}

.videoHolder{
    position:relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
    pointer-events: none;
    user-select: none;
}

.responsiveIframe{
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
    width: 100%;
    height: 100%;
    margin-top: -60px;
    border: none;
}

/* search box html css */
/* Ограничаване на дължината на текста в бутона */
.dropdown-label {
    display: inline-block;
    max-width: 201px; /* Можете да коригирате ширината, ако е необходимо */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
[data-simplebar] {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}
/*  */
.form-group .dropdown-menu:not(.my-3) {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
    /* max-width: 162px; */
    overflow: hidden scroll!important;
}

.form-group .dropdown-toggle {
    font-weight: normal;
    text-align: left;
    justify-content: start;
    overflow: hidden;
}

.form-group span.dropdown-label {
    width: 100%;
}

.search_box form {
    padding: 15px;
}

form .sHolderTitle {
    font-weight: bold;
    /* text-transform: uppercase; */
}

.form-check-input {
    width: 1.3em;
    height: 1.3em;
    margin-top: 0.1em;
    margin-right: 2px;
    vertical-align: top;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 0px !important;
    border: 1px solid #bbb7c5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    print-color-adjust: exact;
}

.dyn_search_input{
  margin: 0px 14px;
      box-sizing: border-box;
      padding: 6px;
      width: 88%;
      border: 1px solid #ccc!important;
}

@media only screen and (min-width : 1024px) {
  .search_box{
    width: 940px;
  }
}


.search-container {
    position: relative;
    width: 100%;
}

#clear_search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #ccc;
    display: none; /* Скрива иконата, когато полето е празно */
}

.dyn_search_input:focus + #clear_search,
.dyn_search_input:not(:placeholder-shown) + #clear_search {
    display: block; /* Показва иконата, когато има текст в полето */
}

.clear-search{
    cursor: pointer;
        position: absolute;
        right: 28px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #ccc;
}
/* end search box */

.parsley-errors-list {
    padding: 0px 0px;
    margin: 0px;
}
.parsley-errors-list li {
    list-style-type: none;
    color: #f35427;
    font-size: 14px;
    margin: 0px;
}

.form-group.required .control-label:after,.required .control-label:after {
    content: "*";
    color: red;
    margin-left: 3px;
}

.font-12{
    font-size: 12px;
}
.font-14{
    font-size: 14px;
}
.font-15{
    font-size: 15px;
}
.font-16{
    font-size: 16px;
}
.font-18{
    font-size: 18px;
}
.view_page_img{
    object-fit: cover;
}

/* cookie box styles */
.cc-window {
    border-radius: var(--fi-border-radius-sm) !important;
    box-shadow: 0 4px 8px var(--fi-shadow-dark) !important;
    font-family: var(--fi-body-font-family) !important;
    border: var(--fi-border-width) var(--fi-border-style) var(--fi-border-color) !important;
  }
  .cc-btn {
    border-radius: var(--fi-border-radius-sm) !important;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    text-decoration: none;
  }
  .cc-btn:hover {
    background: var(--fi-link-hover-color) !important;
  }
  .cc-link {
    color: var(--fi-link-color) !important;
    text-decoration: none;
  }

  /* remove first border-left in navbar */
  .navbar-expand-lg .navbar-nav > li:first-child > .nav-link {
    border-left: none; 
  }
  /* remove border in navbar on mobile*/
  @media (max-width: 991.98px) {
    .nav-link.nav-link-navbar{
      border: 0px !important;
    }
  }

  .width-auto{
    width: auto !important;
  }

  /* search.html */

  .search-border-left{
    border-left: 1px solid #ccc;
  }
  .search-border-right{
    border-right: 1px solid #ccc;
  }

  @media (max-width: 768px) {
    .search-border-left,
    .search-border-right {
      border-left: none !important;
      border-right: none !important;
    }
    #filters-sidebar{
        display: none;
    }
  }
  

/* video slider */
  .videoHolder {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #000;
  }
  
  .responsiveIframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    max-width: none;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  
  .videoOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* прозрачен черен фон */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
  }
  
  .videoContent h1 {
    font-size: 36px;
    margin: 0 0 10px;
    font-weight: bold;
    color:#fffffff5;
}

.videoContent h2 {
    font-size: 20px;
    font-weight: normal;
    opacity: 0.9;
    color:#fffffff5;
  }
  

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .videoContent h1,
  .videoContent h2 {
    opacity: 0; /* <-- много важно за да не се виждат преди анимацията */
  }
  
  .fadeInUp {
    animation: fadeInUp 1s ease forwards;
  }
  
  .delay1 {
    animation-delay: 6s;
  }
  
  .delay2 {
    animation-delay: 8s;
  }
  

  
footer {
    background-image: url('../img/footer/footer_bg_1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
  }

  #image-preview {
    position: absolute;
    display: none;
    z-index: 1000;
    max-width: 200px;
    border: 1px solid #ccc;
    background: #fff;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }
  

  .estate_icons_holder {
    min-height: 56px;
}
/* gallery layout fix */

.gallery-item-link {
  padding-bottom: 75%;
}

.gallery-main-img{
  padding-bottom: 76%; 
}

.gallery-item-link-big{
  padding-bottom: 155.23%;
}

.gallery-item-link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fi-viber {
  color: #7360f2 !important; 
}
.fi-whatsapp {
  color: #25D366 !important; 
}

/* sitemap grid */
.masonry {
  column-count: 3;
  column-gap: 1rem;
}
@media (max-width: 768px) {
  .masonry {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  .masonry {
    column-count: 1;
  }
}
.masonry-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 1rem;
  background: #fff;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
}
.masonry-item h5 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.masonry-item a {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  text-decoration: none;
}
.masonry-item a:hover {
  text-decoration: underline;
}

.dropdown-menu{
  width: 100%;
}

.dropdown-menu.overflow-auto{
   max-height: 200px;
}

@media (max-width: 767px) {
  #navbarNav .navbar-nav .nav-item .dropdown-menu li .dropdown-item {
    color: #fff;
  }
}

.EstatesBoxBig ul.d-flex > li:last-of-type {
  border-right: none !important;
}

.bottom-5{
  bottom: 5%;
}

.object-fit-cover {
  object-fit: cover;
}

@media (min-width: 992px) {
    .col-custom-lg {
        flex: 0 0 auto;
        width: 20%;
    }
}


#gmapDirectionBtn {
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
    cursor: pointer;
    float: right;
    text-align: center;
    clear: both;
    vertical-align: middle;
    z-index: 0;
    position: relative;
    right: 10px;
    font-size: 12px;
    top: -241px;
    width: 66px;
}

#gmapDirectionBtn::before{
    content:url('../img/map/map_direction_pointer.png'); 
    padding-top: 4px;
    display: block;
    
  }
  
.required_field{
  display: none;
}

.flexOnlyOnPrint{
  display: none;
}