@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1200px !important;
  }
}

/* tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
  div.container {
    margin: 10px auto;
    max-width: 100% !important;
    width: 95%;
  }
}

/* mobitel */
@media (max-width: 575.98px) {
  div.container {
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
}

/* header mobile margin edit */

.header-mobile {
  margin-left: calc(var(--bs-gutter-x) * .5 * -1) !important;
  margin-right: calc(var(--bs-gutter-x) * .5 * -1) !important;
}

.theme-blue {
  color: #4285F4;
}

.theme-black {
  color: #444654;
}

.text-blue-underline {
  text-decoration: underline !important;
  color: #4285F4 !important;
  font-weight: normal !important;
}

.font-size-p {
  font-size: 1.3em !important
}

@media (max-width: 768px) {
  .font-size-p {
    font-size: 1.1em !important
  }
}

/* search.php */
#searchSection .row.g-0 {
  --bs-gutter-x: 0;
}

#searchSection .search-group {
  width: 100%;
  margin-right: 0 !important;
}

#searchSection .search-input {
  box-sizing: border-box;
  padding-right: .75rem !important;
  margin-right: 0 !important;
  height: 30px;
}

.search-button {
  font-size: 15px;
  font-weight: bold;
}

.filter-button {
  font-size: 15px;
}

.filter-icon {
  height: 30px;
  width: 14px;
}

.search-bar-button1,
.search-bar-button2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: auto;
  font-size: 15px;
  font-weight: bold;
  border-radius: 5px;
  padding: 8px 16px;
}

.suggestion-item {
  cursor: pointer;
  font-size: 15px !important;
}

/* filters gumb*/
.search-bar-button1 {
  background-color: #fff;
  border: 1px solid #444655;
  color: #444655;
}

.search-bar-button1:hover {
  background-color: #4284F4 !important;
  color: #fff;
}

/* search button */
.search-bar-button2 {
  background-color: #4284F4 !important;
  color: #fff !important;
}

.search-bar-button2:hover {
  background-color: #334D98 !important;
}

/* filtermodal.php */

@media (max-width: 768px) {
  .modal-text {
    font-size: 1em;
  }
}

/* home.php cards mobile */

.mobile-tag-pill {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  background-color: #4284F4;
  left: 0;
  bottom: 0;
  width: 60%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .text-card-home {
    font-size: 1.2em;
  }
}

/* cards top-offer text NEW */

.new-section-title {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.new-card-title {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #444654;
}

.new-card-text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 100;
  line-height: 20px;
  color: #444654;
}

.new-card-more-button {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #4285F4;
}

@media (min-width: 767px) {
  .new-card-title {
    font-size: 20px;
  }

  .new-section-title {
    font-size: 20px;
  }
}

/* LIST cards text NEW + agency card text*/


.new-list-title {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #444654;
  line-height: 24px !important;
}

.card-agency .new-list-title {
  font-size: 20px !important;
}

.new-list-price {
  font-family: "Manrope", sans-serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: rgba(66, 133, 244);
}

section.items-list .new-list-text {
  font-family: "Manrope", sans-serif;
  font-size: 16px !important;
  font-weight: 100 !important;
  line-height: 24px !important;
  color: #444654;
}

section.items-list .new-list-img-text p {
  font-size: 16px !important;
}

.items-list .new-list-img-text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 100 !important;
  line-height: 20px;
  color: #444654;
}

.items-list .new-list-img-text .card-ultimi-agency {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 100;
  line-height: 20px;
  color: #4285F4;
}

.new-list-more-button {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #4285F4;
  text-decoration: underline;
}

.new-list-more-button:active {
  background-color: #4285F4 !important;
  color: white !important;
  opacity: 0.9 !important;
}

@media (min-width: 767px) {

  section.items-list .new-list-title {
    font-size: 20px;
  }

  .new-list-price {
    font-size: 20px !important;
  }

  .items-list .new-list-img-text {
    line-height: 24px;
    font-weight: 100 !important;
  }

  .new-list-more-button {
    font-size: 14px !important;
    background-color: #4285F4;
    color: white;
    line-height: 20px !important;
    text-decoration: none !important;
    padding: 5px;
  }

  .new-list-more-button:active {
    opacity: 0.5 !important;
    text-decoration: none !important;
  }

  .new-list-more-button:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none !important;
  }
}


/* mobile carousel */
#propertyCarousel .carousel-indicators {
  position: static;
  margin-top: .75rem;
}

#propertyCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #292929;
  opacity: .35;
}

#propertyCarousel .carousel-indicators .active {
  opacity: 1;
}

.carousel-item {
  aspect-ratio: 1.5 !important;
  overflow: hidden;
  background-color: white;
}

#propertyCarousel .carousel-item img {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
}

/* desktop gallery modal*/
#propertyCarouselDesktop .carousel-item {
  aspect-ratio: unset !important;
  min-height: 50vh;
  text-align: center;
  background-color: rgba(51, 77, 152, 0.8);
  position: relative;
}

#propertyCarouselDesktop .carousel-item img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* desktop gallery */
@media (min-width: 992px) {

  .detailed-view-gallery {
    display: flex;
  }

  .detailed-view-gallery img {
    border-radius: 0 !important;
  }

  .detailed-view-gallery .left-main {
    flex: 0 0 75%;
    aspect-ratio: 1/1;
    overflow: hidden;
  }

  .detailed-view-gallery .right-img {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
  }

  .detailed-view-gallery .right-img img {
    flex: 1 1 0;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
  }

  .detailed-view-gallery .left-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 0.5rem !important;
    border-bottom-left-radius: 0.5rem !important;
  }

  .detailed-view-gallery .right-img img:first-child {
    border-top-right-radius: 0.5rem !important;
  }

  .detailed-view-gallery .right-img img:last-child {
    border-bottom-right-radius: 0.5rem !important;
  }

  /* aside */
  aside nav h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  aside nav ul.subMenu li a,
  aside nav a {
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  /* desktop navigation */
  #mainNav ul.main-nav-list,
  #mainNav ul.main-nav-list a {
    font-size: 16px !important;
  }

  /* abeceda */
  .abcd_holder .abeceda .abcd,
  .abcd_holder ul.abeceda a {
    font-size: 16px !important;
  }
}

.feature-bullet {
  color: #4285F4;
  font-size: 2.5rem;
  line-height: 1;
  display: inline-block;
}

.section-heading {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: #3f4254;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 70px;
  height: 3px;
  background: #4285F4;
  border-radius: 2px;
}

/* agency card */

@media (min-width: 768px) {

  section.items-list .card-ultimi {
    height: 370px;
  }

  .card-agency {
    height: 290px !important;
  }

  .card-agency .content-container-agency {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .card-agency .content-container-agency>div:last-child {
    padding-right: 0;
  }

  .card-agency .new-list-more-button {
    margin-right: 2em !important;
  }
}

/* contact card */

.detailed-agency-card {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 1px 6px 0px;
}

.detailed-phone-num {
  text-decoration: none !important;
  color: #3f4254;
}

.detailed-submit-form-btn {
  background-color: #4285F4 !important;
  color: white;
  font-size: 1.4em;
  padding: 10px 20px;
}

/* custom form control underline */

.detailed-form-control {
  border: 0 !important;
  border-bottom: 1px solid #4285F4 !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  resize: none;
}

.detailed-form-control:focus {
  outline: 0 !important;
  box-shadow: none !important;
  border-bottom-color: #305ec6 !important;
}

/* agencies */
.agency-type-city {
  cursor: pointer;
}

.phone-icon-agency {
  margin-top: 2px;
}

/* search section */

#searchSection .search-input-text::placeholder {
  font-size: 13px !important;
}

#searchSection .form-control.search-input-text {
  font-size: 13px !important;
}

#searchSection .form-control.search-input-text::placeholder {
  font-size: 13px !important;
}

#searchSection .form-control.search-input-text::-webkit-input-placeholder {
  font-size: 13px !important;
}

/* buttons */
#searchSection .btn.search-input-text,
#searchSection .btn.search-input-text span {
  font-size: 13px !important;
}

.search-card-text {
  font-size: 17px !important;
}


/* list_city.php */

/* section.items-list a {
  color: #444655;
  font-weight: bold;
} */

.links-items-list-a {
  color: #444655;
  font-weight: bold;
  /* line-height: 37px; */
}

section.items-list a.btn-primary {
  color: #fff !important;
}

section.items-list a .ultimi-underline-text {
  color: #fff !important;
}

@media (max-width: 763px) {

  section.items-list a .ultimi-underline-text,
  section.items-list a.btn-primary {
    color: rgba(66, 133, 244) !important;
  }
}

@media (max-width: 991px) {

  /* section.items-list p,
  section.items-list a {
    font-size: 1.1em !important;
    line-height: 20px;
  } */
}

.items-list .letter-row {
  display: flex;
  align-items: flex-end;
  margin: 8px 0 16px;
}

.items-list .letter {
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1;
  color: #3b3f45;
  padding-bottom: 6px;
  border-bottom: 3px solid #4285f4;
}

.items-list .letter-line {
  flex: 1;
  height: 2px;
  background: #D0D0D4;
  margin-right: 10%;
}

/* list.php  */

section.items-list p {
  /* color: #545662; */
  font-weight: 400;
  font-size: 1.3em !important;
}

.card-ultimi-info {
  font-size: 1em !important;
}

@media (min-width: 768px) {
  .card-ultimi-button {
    background-color: rgba(66, 133, 244);
    font-size: 1.2em !important;
    font-weight: 600;
    color: white;
  }
}

@media (max-width: 767px) {
  .image-card-ultimi {
    height: 260px;
    object-fit: cover;
  }
}

/*  location i price input same height */
#autocomplete-list,
#priceFrom,
#priceTo {
  height: 35px;
  box-sizing: border-box;
}

.location-display-wrapper {
  height: 35px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* list_city.php */

.city-link {
  font-size: 1.2em !important;
  text-decoration: underline;
  font-weight: bold;
  color: #444654 !important;
}

.city-area {
  font-size: 1.2em !important;
  color: #444654 !important;
}

/* LANG SELECT */
/* select closed */
.select2-container--default .select2-selection--single.rec-select {
  background: #444654;
  border: 1px solid #444654;
  color: #e5e7eb;
  border-radius: 10px;
  height: 40px;
  transition: border-color .2s, box-shadow .2s;
}

.select2-container--default .select2-selection--single.rec-select .select2-selection__rendered {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 40px;
  height: 40px;
  padding: 0 12px;
  color: #e5e7eb;
}

.select2-container--default .select2-selection--single.rec-select .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
}

.select2-container--default .select2-selection--single.rec-select .select2-selection__arrow b {
  border-color: #e5e7eb transparent transparent transparent;
}

/* hover focus */
.select2-container--default .select2-selection--single.rec-select:hover {
  border-color: #444654;
}

.select2-container--default.select2-container--open .select2-selection--single.rec-select,
.select2-container--default.select2-container--focus .select2-selection--single.rec-select {
  border-color: #444654;
  /* box-shadow: 0 0 0 3px rgba(59, 130, 246, .25); */
}

/* dropdowns select */
.rec-select-dd.select2-dropdown {
  background: #444654;
  border: 1px solid #444654;
  border-radius: 10px;
  overflow: hidden;
  min-width: 70px;
}

.rec-select-dd .select2-results__option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e7eb;
  padding: 8px 12px;
}

.rec-select-dd .select2-results__option--highlighted[aria-selected] {
  background: #4284F4;
  color: #fff;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 18px;
}

.lang-code {
  font-weight: 600;
  font-size: 14px;
}

/* mobile lang */
@media (max-width: 991px) {

  /* zatvoreni select */
  .select2-container--default .select2-selection--single.rec-select {
    background: #fff;
    border: transparent;
    color: #212529;
    height: 50px;
  }

  .select2-container--default .select2-selection--single.rec-select .select2-selection__rendered {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    line-height: 1;
    padding: 5px 32px 0 12px;
    color: #212529;
  }

  .select2-container--default .select2-selection--single.rec-select .select2-selection__arrow {
    top: 45%;
    transform: translateY(-50%);
    right: 5px;
  }

  .select2-container--default .select2-selection--single.rec-select .select2-selection__arrow b {
    border-color: #212529 transparent transparent transparent;
  }

  /* dropdown */

  .select2-container--open .rec-select-dd.select2-dropdown {
    box-shadow: 6px 10px 18px -8px rgba(0, 0, 0, .18);
  }

  .rec-select-dd.select2-dropdown {
    background: #fff;
    border: transparent;
  }

  .rec-select-dd .select2-results__option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #212529;
  }

  .rec-select-dd .select2-results__option--highlighted[aria-selected] {
    background: #e6f0ff;
    color: #212529;
  }

  .rec-select-dd .select2-results__option[aria-selected=true] {
    background: #f5f5f5;
    color: #212529;
  }

  .lang-flag {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: block;
    border: 0.5px solid black;
  }

  .lang-code {
    line-height: 1;
    font-size: 16px;
  }
}

/* list sort select  */
.form-select.search-bar-button1 {
  border-color: #444655;
  color: #444655;
}

.form-select.search-bar-button1:hover {
  border-color: #4284F4;
  background-color: #4284F4;
  color: #fff;
}

/* mobile filter */
.btn-filter-mobile .btn-icon {
  margin: 0;
}

.btn-filter-mobile span {
  display: none;
}

/* mobile sort */
.sort-mobile-button:hover {
  background-color: #4284F4 !important;
  color: #fff !important;
}

.sort-mobile-button span {
  display: inline-block;
}

@media (max-width: 767px) {

  .btn-filter-mobile,
  .sort-mobile-button {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    padding: 0.6rem 0.8rem !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
}

/*centriranje preloader */
.preloader {
  text-align: center;
  width: 100%;
}

.spinner-border.preloader {
  margin: 0 auto !important;
  margin-top: 20% !important;
  display: inline-block !important;
  width: 2rem !important;
  height: 2rem !important;
  border-width: 0.25em !important;
}

/* problem fix prikazivanje native selecta on load */
.languageSelect:not(.select2-hidden-accessible) {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.languageSelect.select2-hidden-accessible+.select2-container {
  opacity: 1;
  visibility: visible;
}

#sort.form-select.search-bar-button1 {
  width: fit-content;
  min-width: 50px;
  padding-right: 40px;
}

@media (max-width: 991px) {

  /* mobile menu shadow divider */
  .sub-menu-list {
    position: relative;
    padding-bottom: 20px;
  }

  .sub-menu-list::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
    pointer-events: none;
  }

  /* underline na gumbima list/agency cards mobile */
  .new-list-more-button,
  .btn.new-list-more-button {
    text-decoration: none;
  }

  .new-list-more-button>span:first-child,
  .btn.new-list-more-button>span:first-child {
    text-decoration: underline;
  }

  .new-list-more-button>span:last-child,
  .btn.new-list-more-button>span:last-child {
    text-decoration: none !important;
  }
}

/* Location  display list.php */

.location-title {
  border-bottom: 2px solid #4285F4;
  padding-bottom: 4px;
  display: inline-block;
}

.location-blue {
  background-color: #E3F2FD;
  border-radius: 6px;
  padding: 4px 5px;
  height: 25px;
  border: none;
  box-shadow: none;
}

#location-display .location-text {
  color: #424242;
  font-size: 13px !important;
  font-weight: 600;
}

.location-clear-btn {
  background: #4285F4;
  border: none;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.location-clear-btn span {
  color: white;
  font-size: 13px;
  line-height: 1;
}

.location-clear-btn:hover {
  background: #3367D6;
  opacity: 0.9;
}

.location-display-wrapper {
  width: auto;
  padding: 5px;
  border: none;
  height: 35px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

#autocomplete-list,
#priceFrom,
#priceTo {
  height: 35px;
  box-sizing: border-box;
}