/*
 Theme Name:   Storefront for Directories Pro
 Description:  Storefront child theme for Directories Pro powered websites
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  directoriespro-storefront-child
*/

/* Reduce margin under search form content box on homepage */
.home .hentry {
	margin-bottom: 1em;
}

/* Add more bottom margin to featured listings slider on homepage */
.drts-wordpress-homepage-section.drts-wordpress-homepage-directory-featured-listings {
	margin-bottom: calc(3em + 20px);
}

/* Show Contact Form 7 input fields in full width */
.drts .wpcf7 input,
.drts .wpcf7 textarea {
	width: 100%;
}

/* Remove underlines from links */
.hentry .entry-content .drts a:not(.button) {
	text-decoration:none;
}


/* Remove cart from header */
.storefront-primary-navigation .site-header-cart {
	display:none;
}

.storefront-handheld-footer-bar {
	display: none;
}

.entry-header h1 {
	color: #00AAAA !important;
}

.entry-content p {
	color: #00AAAA;
}

.entry-content ol li {
	color: #00AAAA;
}

.primary-color {
	color: #00AAAA !important;
}

.woocommerce-active .site-header .main-navigation {
	width: 100% !important;
}

@media screen and (max-width: 992px) {
  .main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {
    padding-left: 10px !important;
	padding-right: 10px !important;
  }
}

.drts-display-element-labels .drts-bs-badge {
	display: block !important;
	margin-bottom: 5px;
}

.drts-slider-photos-fixed-height .drts-slider-photos-main .slick-slide img {
	object-fit: cover!important;
}

.outline-btn {
	color: #00AAAA !important;
    border-color: #00AAAA !important;
	margin-bottom: 30px;
}

.outline-btn:hover {
	color: #fff !important;
    background-color: #00AAAA !important;
    border-color: #00AAAA !important;
}

.custom-logo-link {
	z-index: 10;
}

@media screen and (max-width: 768px) {

	.main-navigation {
		padding-bottom: 30px;
	}
	.site-branding {
		width: calc(100% - 150px) !important;
		height: 43px !important;
		display: flex !important;
		align-items: center;
		float: left !important;
	}
	
	.site-branding .custom-logo-link {
		width: 100% !important;
	}
	
	.site-branding .custom-logo-link img {
		width: 100% !important;
	}

	.mobile-menu-button-container {
		width: 100%;
		position: relative;		
	}

	.mobile-menu-button-container > .drts {
		position: absolute;
		right: 0;
		top: 50px;
		z-index: 100;
	}
	
	.main-add-button {
		white-space: nowrap !important;
		background-color: #5eba00;
		border-radius: .25rem !important;
		border-color: #5eba00;
		color: #fff;
		font-size: 1rem !important;
		line-height: 1.5 !important;
		font-weight: 400 !important;
		padding: .375rem .5rem !important;
		text-align: center;
		transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
		vertical-align: middle;
	}

	.main-add-button:hover {
		background-color: #4b9400;
		border-color: #448700;
		color: #fff;
	}
}


@media screen and (min-width: 768px) {
	.mobile-menu-button-container > .drts {
		display: none !important;
	}
}

@media screen and (max-width: 768px) {
	.drts-view-entity-container .drts-display-element {
		max-width: 100% !important;
	}

	.drts-view-entity-container .drts-row {
		display: block !important;
	}
}

.drts-display-element-hover-brighten:after {
	opacity: 0 !important;
}

.tawk-toolbar .tawk-route-back {
	display: none !important;
}

.drts-display--detailed > .drts-display-element .drts-view-entities-header {
	display: none !important;
}

.drts-display-element-view_term_entities_directory__listing-1 {
	margin-top: 25px !important;
}

span[data-label-name="directory_open_now"] {
	display: none !important;
}

.grecaptcha-badge {
	display: none!important;
}

.drts-voting-button {
	display: none!important;
}

button[data-button-name="voting_bookmark"] {
	display: none !important;
}

.drts-display-list-badge {
	display: none !important;
}

.drts-view-entity-container .directory-category-child-terms {
	display: none !important;
}

.directory-location-content-count {
	display: none;
}

header .site-search {
	display: block;
}

@media screen and (max-width: 768px) {
  header .site-search {
    display: none;
  }
}

.um-right {
	display: none;
}

.um-form .um-right {
	display: none;
}

.um-logout {
	display: none !important;
}

.entry-content .um-password {
	margin-left: 0 !important;
}

.um-um_password_id.um {
	max-width: 100% !important;
}

.um-center {
	text-align: left !important;
}

.drts-display-element-entity_field_field_website-1 > a {
	border: 1px solid transparent;
    border-radius: 0.25rem;
	font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
	text-decoration: none !important;
	background-color: #5eba00;
	color: #fff;
}

.drts-display-element-entity_field_field_website-1 > a:hover {
	background-color: #4b9400;
    border-color: #448700;
    color: #fff;
}

.drts-entity-field-label-type-icon:has(+ .drts-entity-field-value > .drts-display-element-entity_field_field_website-1) {
	display: none;
}

@media screen and (min-width: 768px) {
	.drts-wordpress-homepage-directory-categories .drts-gutter-md .drts-col-xl-3 {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
	}
	.drts-wordpress-homepage-directory-categories .drts-gutter-md .drts-col-xl-3 .drts-display-element {
		display: flex;
		justify-content: center;
	}
	
}

footer {
	padding: 0 !important;
}

.footer-widgets {
	padding-top: 30px !important;
}

footer .widget_custom_html {
	margin-bottom: 30px !important;
}

@media (max-width: 1024px) {
    footer .widget_custom_html {
        margin-bottom: 0 !important;
    }
}

footer .site-info {
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}

.directory-category-child-terms .drts-bs-row {
  display: block !important;
}

.directory-category-child-terms .drts-bs-col-sm-6 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

.directory-category-child-terms .drts-display-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 32px 0 40px !important;
  padding: 0 !important;
  list-style: none !important;
}

.directory-category-child-terms .drts-display-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.directory-category-child-terms .drts-display-list li a {
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  min-height: 220px !important;
  padding: 20px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  color: #fff !important;
  background-color: #cfcfcf !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  font-size: 26px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
  text-shadow: 0 3px 12px rgba(0,0,0,0.55) !important;
  transition: transform .25s ease !important;
}

.directory-category-child-terms .drts-display-list li a:hover {
  transform: scale(1.03);
}

.directory-category-child-terms .drts-display-list-badge {
  display: none !important;
}

@media (max-width: 991px) {
  .directory-category-child-terms .drts-display-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .directory-category-child-terms .drts-display-list {
    grid-template-columns: 1fr !important;
  }

  .directory-category-child-terms .drts-display-list li a {
    min-height: 180px !important;
    font-size: 24px !important;
  }
}

.lf-back-link-wrap {
	display: flex;
  justify-content: end;
}

.lf-back-link {
    font-size: 20px;
}

.home .lf-back-link-wrap {
	display: none;
}

.directory-category-child-terms .drts-icon {
	display: none !important;
}

.drts-search-form-submit:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.lf-home-images {
  display: flex;
  gap: 24px;
  max-width: 1400px;
  margin: 40px auto 40px;
}

.lf-home-images img {
  width: 25%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 14px !important;
}

@media (max-width: 1024px) {
  .lf-home-images {
    display: none !important;
  }
}


@media (max-width: 768px) {
  .main-navigation li > a[href="#pll_switcher"] {
    display: inline-block;
    width: calc(100% - 44px);
    vertical-align: middle;
  }

  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    vertical-align: middle;
    float: right;
    position: relative;
  }

  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle::before {
    content: none !important;
  }

  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .main-navigation li.is-open > a[href="#pll_switcher"] + .dropdown-toggle::after,
  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle[aria-expanded="true"]::after,
  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle.toggled-on::after {
    transform: rotate(-135deg);
  }

  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle .screen-reader-text {
    display: none !important;
  }

  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle + .sub-menu {
    display: none !important;
    padding-left: 16px;
    margin-top: 8px;
  }

  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle + .sub-menu.toggled-on,
  .main-navigation li.is-open > a[href="#pll_switcher"] + .dropdown-toggle + .sub-menu {
    display: block !important;
  }

  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle + .sub-menu li {
    margin: 0 0 10px 0;
  }

  .main-navigation li > a[href="#pll_switcher"] + .dropdown-toggle + .sub-menu a {
    display: block;
  }
}

.lf-home-hero {
    background-image: url("https://newyork.lets-find.com/wp-content/uploads/2026/02/Hintergrundbild-scaled.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 525px;
    display: flex;
    align-items: center;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
}

.lf-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

.lf-home-hero .col-full {
    width: 100%;
}

.lf-home-hero__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 95px 20px;
    position: relative;
    z-index: 2;
}

.lf-home-hero__back-wrap {
    position: absolute;
    right: 20px;
    top: 20px;
}

.lf-home-hero__back {
    color: #2f2f2f;
    text-decoration: none;
    font-size: 15px;
}

.lf-home-hero__title {
    color: #fff;
    font-size: 50px;
    line-height: 60px;
    font-weight: 400;
    margin: 0 0 26px;
    letter-spacing: -0.02em;
}

.lf-home-hero__subtitle {
    color: #fff;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 30px;
}

.lf-custom-hero-form {
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 50;
}

.lf-custom-hero-form__inner {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 20;
}

/* Original select bleibt technisch vorhanden, wird aber von Select2 ersetzt */
.lf-custom-hero-form__select {
    width: calc(100% - 205px) !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    pointer-events: none;
}

/* Select2 */
.lf-custom-hero-form .select2-container {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100% - 205px) !important;
    z-index: 30;
}

.lf-custom-hero-form .select2-container .select2-selection--single {
    height: 48px;
    border: none;
    border-radius: 4px 0 0 4px;
    background: #fff;
    outline: none;
    box-shadow: none;
}

.lf-custom-hero-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 48px;
    line-height: 48px;
    padding-left: 16px;
    padding-right: 42px;
    font-size: 16px;
    color: #000000;
    text-align: left;
}

.lf-custom-hero-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #8e8e8e;
}

.lf-custom-hero-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    width: 30px;
    right: 10px;
}

.lf-custom-hero-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #8e8e8e transparent transparent transparent;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    margin-left: -5px;
    margin-top: -3px;
}

.select2-container--open {
    z-index: 99999;
}

.select2-dropdown {
    border: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 99999;
    overflow: hidden;
}

.select2-results__options {
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
}

.select2-results__option {
    font-size: 16px;
    padding: 2px 16px;
    text-align: left;
    color: #222;
}

.select2-container--default {
    color: #222;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f2f2f2;
    color: #222;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f7f7f7;
    color: #222;
}

.lf-custom-hero-form__button {
    width: 205px;
    height: 48px;
    border: none;
    border-radius: 0 4px 4px 0;
    background: #66707d;
    color: #d9dde2;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lf-custom-hero-form__button:not(:disabled) {
    background: #444444;
    color: white !important;
}

.lf-custom-hero-form__button:hover:not(:disabled) {
    background: #000000;
    color: white !important;
}

.lf-custom-hero-form__button:hover:disabled {
    background-color: #66707d !important;
    color: white !important;
    cursor-pointer: not-allowed;
}


.lf-custom-hero-form__button:disabled {
    opacity: 1 !important;
    cursor: not-allowed;
}

.lf-home-images {
    max-width: 980px;
    margin: 35px auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lf-home-images img {
    width: 100%;
    aspect-ratio: 1 / 0.72;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

#page:has(.lf-home-hero) .entry-header {
    display: none !important;
}

#page:has(.lf-home-hero) header {
    margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
    .lf-home-hero__title {
        font-size: 50px;
    }

    .lf-home-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .lf-home-hero {
        min-height: 525px;
    }

    .lf-home-hero__inner {
        padding: 80px 20px 70px;
    }

    .lf-home-hero__back-wrap {
        position: static;
        text-align: right;
        margin-bottom: 20px;
    }

    .lf-home-hero__title {
        font-size: 34px;
        line-height: 1.05;
    }

    .lf-home-hero__subtitle {
        font-size: 16px;
    }

    .lf-custom-hero-form__inner {
        flex-direction: column;
    }

    .lf-custom-hero-form .select2-container {
        width: 100% !important;
    }

    .lf-custom-hero-form .select2-container .select2-selection--single {
        border-radius: 4px 4px 0 0;
    }

    .lf-custom-hero-form__button {
        width: 100%;
        border-radius: 0 0 4px 4px;
        margin-top: 10px;
    }

    .lf-home-images {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

#page:has(.lf-home-hero) .entry-header {
	display: none !important;
}

#page:has(.lf-home-hero) header {
	margin-bottom: 0 !important;
}

@media (max-width: 767px) {

    .no-wc-breadcrumb .site-header {
        margin-bottom: 0 !important;
    }
}

.lf-hotel-collection .drts-display-list li a {
  cursor: default !important;
}


.lf-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
}

.lf-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.lf-loading-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid #e5e5e5;
    border-top-color: #1fc8c8;
    border-radius: 50%;
    animation: lf-spin 0.8s linear infinite;
}

@keyframes lf-spin {
    to {
        transform: rotate(360deg);
    }
}