/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/* Fonts
----------------------------------------------------------------------------------------------------*/

@font-face {
    font-family: "Gotham";
	src: url("../fonts/GothamLight.ttf") format("truetype");
	font-weight: 300;
	font-style: normal;
}

@font-face {
    font-family: "Gotham";
	src: url("../fonts/GothamLightItalic.ttf") format("truetype");
	font-weight: 300;
	font-style: italic;
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/GothamBook.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/GothamBookItalic.ttf") format("truetype");
	font-weight: 400;
	font-style: italic;
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/GothamMedium.ttf") format("truetype");
	src: url("../fonts/GothamMedium.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/GothamMediumItalic.ttf") format("truetype");
	font-weight: 500;
	font-style: italic;
}

@font-face {
    font-family: "Gotham";
	src: url("../fonts/GothamBold.ttf") format("truetype");
	src: url("../fonts/Gotham-Bold.otf") format("opentype");
	font-weight: 600;
	font-style: normal;
}

@font-face {
    font-family: "Gotham";
	src: url("../fonts/GothamBoldItalic.ttf") format("truetype");
	font-weight: 600;
	font-style: italic;
}


/* UIkit
----------------------------------------------------------------------------------------------------*/

/* Navbar */

.uk-navbar-nav > li > a {
    margin-top: 0px !important;
}

.uk-icon.uk-navbar-parent-icon {
    margin-top: -3px !important;
}


/* Theme
----------------------------------------------------------------------------------------------------*/

.curved-top {
    border-radius: 100px 100px 0px 0px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .curved-top {
        border-radius: 50px 50px 0px 0px;
    }
}

/* Buttons */

.uk-button {
    padding-top: 15px;
    padding-bottom: 15px;
}


/* Widgets
----------------------------------------------------------------------------------------------------*/


/* Forms
----------------------------------------------------------------------------------------------------*/


/* Plugins
----------------------------------------------------------------------------------------------------*/


/* Google Maps */

.gm-style .gm-style-iw-d {
    margin-top: -35px;
    margin-right: -6px;
}


/* FacetWP */

/* Hide Map Filter Button */

.facetwp-map-filtering {
    display: none;
}

/* Listing grid */

.tpm-listing-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 640px) { .tpm-listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tpm-listing-grid { grid-template-columns: repeat(3, 1fr); } }

/* Equal-height cards per row */

.tpm-listing-grid .fwpl-item { display: flex; }
.tpm-listing-grid .fwpl-item > a { width: 100%; }

.tpm-listing-grid .uk-card-body { padding-bottom: 20px; }
.tpm-cta { margin-top: auto; }

/* Feature list — 2 columns, icon + label, more space between rows */

.tpm-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.tpm-feature { display: flex; align-items: center; gap: 8px; }
.tpm-feat-icon { flex: 0 0 20px; display: inline-flex; justify-content: center; }
.tpm-feat-icon svg, .tpm-feat-icon img { display: block; }
.tpm-feat-label { font-size: 16px; line-height: 1.2; }

/* Price */

.fs-price { display: flex; align-items: baseline; gap: 8px; }
.fs-price-cost, .fs-price-freq { margin: 0; }
.fs-price-freq { font-weight: 400; }

/* Image overlay badges */

.tpm-media { position: relative; }
.tpm-badge { position: absolute; bottom: 10px; display: inline-flex; align-items: center; }
.tpm-badge-region { left: 10px; }
.tpm-badge-avail { right: 10px; }
.tpm-badge img { width: 14px; height: auto; }

/* Filter bar */

.tpm-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin: 0 0 30px;
}

.tpm-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 4px 12px;
  flex: 1 1 180px;
  min-width: 160px;
}

.tpm-filter:hover {
    border-color: #36706D;
}

.tpm-filter-icon {
    flex: 0 0 20px; display: inline-flex; align-items: center; justify-content: center;
}

.tpm-filter-icon svg {
    display: block;
}

/* The FacetWP dropdown */

.tpm-filter .facetwp-facet {
    margin: 0; flex: 1;
}

.tpm-filter select {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: .95rem;
  color: #333;
  padding: 8px 18px 8px 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* custom teal caret */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2336706D' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.tpm-filter select:focus {
    outline: none;
}

/* Clear Filters button */

.tpm-filter-reset {
  flex: 0 0 auto;
  background: #36706D;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: .95rem;
  cursor: pointer;
}

.tpm-filter-reset:hover {
    background: #2c5b58;
}

/* Mobile: filters go full width */

@media (max-width: 640px) {
  .tpm-filter { flex: 1 1 100%; }
}

/* Card badges */

.tpm-badge-promo {
  top: 10px;
  right: 10px;
  bottom: auto;
  background: #f26c4f;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.uk-badge.availability {
    text-transform: uppercase;
}

.uk-badge.availability.available {
    background: #15B194 !important;
}

.uk-badge.availability.rented {
    background: #f87245 !important;
}

.uk-badge.availability.pending {
    background: #CDE7EC !important;
    color: #000 !important;
}


/* Custom Pages
----------------------------------------------------------------------------------------------------*/


/* Custom Content
----------------------------------------------------------------------------------------------------*/

/* Listings */

span.uk-badge[data-status="available"] {
    background: #15B194 !important;
    text-transform: uppercase;
}

span.uk-badge[data-status="new-listing"] {
    background: #15B194 !important;
     text-transform: uppercase;
}

span.uk-badge[data-status="sold"] {
    background: #F87245 !important;
    text-transform: uppercase;
}

span.uk-badge[data-status="rented"] {
    background: #F87245 !important;
     text-transform: uppercase;
}

span.uk-badge[data-status="pending"] {
    background: #CDE7EC !important;
     text-transform: uppercase;
}


/* Responsive
----------------------------------------------------------------------------------------------------*/

/* Desktop up to 1600px */
@media (max-width: 1599px) {

}


/* Desktop up to 1300px */
@media (max-width: 1299px) {

    .tpm-badge-avail {
        right: auto;
        left: 10px;
        bottom: 50px;
    }

}


/* Desktop up to 1200px */
@media (max-width: 1199px) {

}


/* Tablet up to 960px */
@media (max-width: 959px) {

}


/* Tablet up to 640px */
@media (max-width: 639px) {

	.grecaptcha-badge {
		visibility: collapse !important;
	}

}


/* Print Styles
----------------------------------------------------------------------------------------------------*/

@media print {
    /* Hide common non-printable elements */
    body * {
        visibility: hidden;
    }

    /* Show only the printable content */
    #divToExport,
    #divToExport * {
        visibility: visible;
    }

    /* Position the printable content */
    #divToExport {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    /* Hide elements you don't want to print */
    nav,
    header,
    footer,
    .uk-navbar,
    .uk-button,
    .no-print {
        display: none !important;
    }

    /* Ensure good print layout */
    body {
        margin: 0;
        padding: 0;
    }

    /* Fix for maps and images */
    img {
        max-width: 100%;
        height: auto;
    }
}
