/*
 * =======================================================
 * TABLE OF CONTENTS
 * =======================================================
 * 1. Root
 * 2. Typography
 * 3. Web Page Progress Bar
 * 4. Navbar: Logo & Flag Icon
 * 5. Hero & Parallax Effect
 * 6. Price Tag
 * 7. Customize Default Values
 * 8. Utilities
 * 9. Pagination Bar
 * 10. Reset Content from WYSIWYG
 * =======================================================
 */

/* ======================================================= */
/* Root
/* ======================================================= */
html {
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-overflow-style: scrollbar;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-size: .9rem;
	font-weight: normal;
	height: 100%;
}

header .navbar {
	min-height: 65px;
	z-index: 1030; /* inspired by: .fixed-top */
}

main {
	/* https://getbootstrap.com/docs/5.3/components/navbar/#placement */
	/* padding-top: 65px; */
}

/* ======================================================= */
/* Typography
/* ======================================================= */
h1, h2, h3, h4, h5, h6 {
	font-family: "Roboto Condensed", sans-serif;
	font-optical-sizing: auto;
}

.ff-roboto {
	font-family: "Roboto", sans-serif;
}

.ff-roboto-condensed {
	font-family: "Roboto Condensed", sans-serif;
}

.ff-inter {
	font-family: "Inter", sans-serif;
}

.ff-lexend {
	font-family: "Lexend", sans-serif;
}

.ff-manrope {
	font-family: "Manrope", sans-serif;
}

.ff-montserrat {
	font-family: "Montserrat", sans-serif;
}

.ff-open-sans {
	font-family: "Open Sans", sans-serif;
}

.ff-quicksand {
	font-family: "Quicksand", sans-serif;
}

.ff-raleway {
	font-family: "Raleway", sans-serif;
}

.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6,
.modal-header h1, .modal-header h2, .modal-header h3, .modal-header h4, .modal-header h5, .modal-header h6,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
	font-family: "Roboto Condensed", sans-serif;
}

.text-shadow {
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
}

a {
	text-decoration: none;
}

hr {
	height: 1px;
	background-color: var(--bs-border-color);
	opacity: .5;
	border: none;
}

/* ======================================================= */
/* Navbar: Logo & Flag Icon
/* ======================================================= */
html[data-bs-theme="dark"] .navbar .logo img.light-logo,
header[data-bs-theme="dark"] .navbar .logo img.light-logo {
	display: block;
}

html[data-bs-theme="dark"] .navbar .logo img.dark-logo,
header[data-bs-theme="dark"] .navbar .logo img.dark-logo {
	display: none;
}

html:not([data-bs-theme="dark"]) .navbar .logo img.light-logo,
header:not([data-bs-theme="dark"]) .navbar .logo img.light-logo {
	display: none;
}

html:not([data-bs-theme="dark"]) .navbar .logo img.dark-logo,
header:not([data-bs-theme="dark"]) .navbar .logo img.dark-logo {
	display: block;
}

.logo, .logo-title {
	font-family: "Open Sans Condensed", Helvetica, Arial, sans-serif;
}

.flag-menu .flag-icon {
	width: 24px;
	height: auto;
}

/* ======================================================= */
/* Hero & Parallax Effect
/* ======================================================= */
.hero-wrap {
	min-height: 450px;
	height: 450px;
}

/* Create the parallax scrolling effect */
.parallax {
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* ======================================================= */
/* Animations
/* ======================================================= */
/* Navbar smooth apparition */
.navbar-sticky {
	transform: translateY(-100%);
	opacity: 0;
	transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.navbar-stuck {
	transform: translateY(0);
	opacity: 1;
}

/* Favourite & Premium Badge Animation */
.item-list .make-favorite span {
	width: 0;
	font-size: 0;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.item-list:hover .make-favorite span {
	width: auto;
	font-size: var(--bs-btn-font-size);
}

/* ======================================================= */
/* Price Tag
/* ======================================================= */
.p-price-tag {
	background: rgba(var(--bs-primary-rgb), .75);
	border-radius: 3px 0 0 3px;
	color: #fff;
	font-size: 20px;
	min-width: 100px;
	padding: 5px 15px;
	position: absolute;
	right: -10px;
	text-align: center;
	font-weight: bold;
	top: 10%;
	z-index: 90;
}

.p-price-tag:before {
	content: '';
	position: absolute;
	height: 0;
	width: 0;
	top: 100%;
	right: 0;
	border-top: 10px solid var(--bs-primary);
	border-right: 10px solid transparent;
}

@media (max-width: 479px) {
	.p-price-tag {
		font-size: 18px;
		line-height: 28px;
		min-width: 90px;
		top: 10%;
	}
}

h1.p-price-tag span {
	float: right;
}

/* ======================================================= */
/* Customize Default Values
/* ======================================================= */
label {
	font-weight: 500;
}

/* https://getbootstrap.com/docs/5.3/components/buttons/#sizes */
.btn-xs {
	--bs-btn-padding-y: .25rem;
	--bs-btn-padding-x: .5rem;
	--bs-btn-font-size: .75rem;
}

/* .table-responsive uses overflow-x: auto, which also clips overflow-y, hiding
   any open .dropdown-menu inside the table. Allow overflow only while a
   dropdown is actually open so horizontal scrolling still works otherwise. */
.table-responsive:has(.dropdown-menu.show) {
	overflow: visible;
}

/* ======================================================= */
/* Utilities
/* ======================================================= */
.hover-bg-tertiary:hover {
	background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
}

.hover-shadow:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ======================================================= */
/* Carousel
/* ======================================================= */
.featured-list-slider .item {
	width: 236px; /* 236 */
	height: 340px; /* 340|356 */
}

/* Bound the thumbnail height so tall pictures don't push the title/price text out of the fixed-height item. */
.featured-list-slider .item-carousel-thumb {
	height: 300px;
	overflow: hidden;
}

.featured-list-slider .item-carousel-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* picture fills the area edge-to-edge, overflow cropped centered */
}

/* ======================================================= */
/* Reset Content from WYSIWYG
/* ======================================================= */
.from-wysiwyg table {
	width: 100%;
	border: 1px solid #d4d4d4;
}

.from-wysiwyg th, .from-wysiwyg td {
	padding: 5px;
	border-right: 1px solid #d4d4d4;
}

.from-wysiwyg th {
	background-color: #f5f5f5;
}

.from-wysiwyg tr {
	border-bottom: 1px solid #d4d4d4;
}

/* ======================================================= */
/* Fix for Google Adsense Responsive Ads
/* ======================================================= */
.ads-parent-responsive {
	width: 100%;
	display: inline-block;
}

.ads-slot-responsive {
	width: 728px;
	height: 90px;
}

@media (min-width: 240px) {
	.ads-slot-responsive {
		width: 100%;
		height: 90px;
	}
}

@media (min-width: 320px) {
	.ads-slot-responsive {
		width: 100%;
		height: 90px;
	}
}

@media (max-width: 766px) {
	.ads-slot-responsive {
		width: 100%;
		height: 90px;
	}
}

@media (min-width: 767px) {
	.ads-slot-responsive {
		width: 100%;
		height: 90px;
	}
}

.container.ads-parent-responsive {
	padding-right: 0;
	padding-left: 0;
}

/* ======================================================= */
/* Cookie Consent
/* ======================================================= */
.cookie-consent {
	font-size: 14px;
	padding: 16px;
	background: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity));
	text-align: center;
	position: fixed;
	width: 100%;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 1000;
}

.cookie-consent__message {
	display: inline-block;
	color: var(--bs-dark-text-emphasis);
}

.cookie-consent__message p {
	margin: 0;
}

.cookie-consent-btn {
	font-weight: bold;
	margin: 0 5px;
	padding: 8px 16px;
	color: #fff2e0;
	background-color: var(--bs-secondary);
	border: 0;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(var(--bs-secondary-rgb), 0.15);
}

.cookie-consent__agree {
	background-color: var(--bs-primary);
	box-shadow: 0 2px 5px rgba(var(--bs-primary-rgb), 0.15);
}

.cookie-consent__agree:hover {
	background-color: rgba(var(--bs-primary-rgb), .75);
}

.cookie-consent__disagree {
	background-color: var(--bs-danger);
	box-shadow: 0 2px 5px rgba(var(--bs-danger-rgb), 0.15);
}

.cookie-consent__disagree:hover {
	background-color: rgba(var(--bs-danger-rgb), .75);
}

.cookie-consent__agree:active, .cookie-consent__disagree:active {
	top: 1px;
}

/* ======================================================= */
/* Fix for Facebook Comments
/* ======================================================= */
.fb-comments, .fb-comments iframe[style],
.fb-like-box, .fb-like-box iframe[style] {
	width: 100% !important;
}

.fb-comments span, .fb-comments iframe span[style],
.fb-like-box span, .fb-like-box iframe span[style] {
	width: 100% !important;
}

/* ======================================================= */
/* intl-tel-input
/* ======================================================= */
.iti {
	width: 100%;
}

.input-group .iti .form-control {
	border-radius: 6px 0 0 6px;
}

.input-group .iti {
	width: 75%;
}

.input-group .iti-group-text {
	width: 25%;
}

.input-group .iti .form-control.is-invalid,
.was-validated .input-group .iti .form-control:invalid {
	z-index: 0;
}

/* ======================================================= */
/* Swal Alert
/* ======================================================= */
.swal2-container {
	z-index: 20000 !important;
}

/* ======================================================= */
/* Temporary CSS
/* ======================================================= */
/* fileinput JS error in <ul> */
#uploadError.alert-danger ul {
	margin-bottom: 0;
}

/* =======================================================
   BUNJOO GREEN HEADER V1
   Independent Bunjoo theme styling
   ======================================================= */

header .navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #dcebe1 !important;
    box-shadow: 0 3px 14px rgba(16, 77, 52, 0.06);
}

header .navbar .navbar-brand {
    color: #104d34;
}

header .navbar .navbar-nav .nav-link:not(.btn) {
    color: #176b45;
    font-weight: 600;
    transition: color .2s ease, background-color .2s ease;
    border-radius: 7px;
}

header .navbar .navbar-nav .nav-link:not(.btn):hover,
header .navbar .navbar-nav .nav-link:not(.btn):focus {
    color: #104d34;
    background-color: #eaf5ee;
}

header .navbar .dropdown-menu {
    border: 1px solid #dcebe1;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16, 77, 52, 0.10);
}

header .navbar .dropdown-menu a {
    color: #285b40;
}

header .navbar .dropdown-menu a:hover,
header .navbar .dropdown-menu a:focus {
    color: #104d34;
    background-color: #eaf5ee;
}

header .navbar .navbar-toggler {
    border-color: #b8d8c4;
}

header .navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(46, 157, 98, .20);
}


/* =======================================================
   BUNJOO GREEN HOMEPAGE V1
   ======================================================= */

.page-section--search-form .hero-wrap.bg-secondary {
    background: linear-gradient(120deg, #104d34 0%, #197849 55%, #65a978 100%) !important;
    min-height: 385px;
    padding: 55px 0;
    position: relative;
}

.page-section--search-form .hero-wrap h1 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: .3px;
}

.page-section--search-form .hero-wrap h5 {
    color: #edf8f0 !important;
}

.home-search-form {
    max-width: 900px;
    margin: 0 auto;
}

.home-search-form .btn-primary {
    background: #176b45 !important;
    border-color: #176b45 !important;
    color: #fff !important;
    font-weight: 700;
}

.home-search-form .btn-primary:hover {
    background: #104d34 !important;
    border-color: #104d34 !important;
}

.page-section--categories .card,
.location-card .card {
    border: 1px solid #dcebe1;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(16, 77, 52, .06);
}

.page-section--categories .card-header {
    background: #f1f8f3;
    border-bottom: 1px solid #dcebe1;
}

.location-card .card-body {
    background: #f5faf6;
    border-radius: 12px;
}

.location-card a {
    color: #176b45;
    font-weight: 500;
}

.location-card a:hover {
    color: #104d34;
    text-decoration: underline !important;
}


/* BUNJOO APPROVED HOMEPAGE HERO V2 */
.page-section--search-form .hero-wrap.bg-secondary {
    background: linear-gradient(110deg,#073b20 0%,#07592c 48%,#23844a 100%) !important;
    min-height: 430px;
    padding: 75px 0 80px;
}
.page-section--search-form .hero-wrap .container {
    max-width: 1320px;
}
.page-section--search-form .hero-wrap h1 {
    text-align: left;
    text-transform: none !important;
    font-size: clamp(34px,4vw,55px);
    font-weight: 800 !important;
    line-height: 1.12;
    max-width: 950px;
    margin-bottom: 14px;
}
.page-section--search-form .hero-wrap h5 {
    text-align: left;
    font-size: clamp(16px,1.6vw,22px) !important;
    margin-bottom: 30px !important;
}
.bunjoo-hero-accent {
    display: block;
    color: #8df45a;
}
.page-section--search-form .hero-wrap .home-search-form {
    max-width: 1160px;
    margin: 0 auto;
    padding: 12px;
    background: #fff;
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.page-section--search-form .hero-wrap .row:has(> .col-9) > .col-9 {
    width: 100%;
}
@media(max-width:767px) {
    .page-section--search-form .hero-wrap.bg-secondary {
        min-height: 0;
        padding: 50px 0;
    }
    .page-section--search-form .hero-wrap h1,
    .page-section--search-form .hero-wrap h5 {
        text-align: center;
    }
}

/* BUNJOO COMPACT HOMEPAGE HERO V3 */
@media (min-width: 768px) {
    .page-section--search-form .hero-wrap.bg-secondary {
        min-height: 250px !important;
        height: auto !important;
        padding: 32px 0 !important;
    }
    .page-section--search-form .hero-wrap h1 {
        font-size: clamp(26px, 3vw, 38px);
        margin-bottom: 10px;
    }
    .page-section--search-form .hero-wrap h5 {
        margin-bottom: 16px !important;
    }
}

/* BUNJOO HERO TEXT CENTRE ALIGNMENT */
.page-section--search-form .hero-wrap h1,
.page-section--search-form .hero-wrap h5 {
    text-align: center !important;
    width: 100% !important;
}

.page-section--search-form .hero-wrap .container {
    text-align: center !important;
}

/* BUNJOO HERO FINAL CENTRE ALIGNMENT */
.page-section--search-form .hero-wrap h1,
.page-section--search-form .hero-wrap h5 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
