/*
Theme Name: Unterdorf Studen
Author: eloq GmbH
Author URI: https://eloq.swiss/
Description: Die eloq GmbH macht nicht einfach Internetseiten. Wir bieten Ihnen durchdachte Konzepte, mischen Designkompetenz mit technischem Können und streben so nach der perfekten Internet-Präsenz unseres Kunden. Das vorliegende Theme wurde von uns mit Passion und Freude handgefertigt. Wir hoffen, Ihnen gefällt unsere Arbeit!
Version: 1.5.7
*/

/* Imports */

@import url("css/typo.css");
@import url("css/utilities.css");
@import url("css/header.css");
@import url("css/footer.css");
/*
COLOR DEFINITIONS - GOES BELOW:
*/


:root {
    --blau-1: #F8F8F8;
    --blau-2: #DCE5EC;
    --blau-3: #8FADD1;
    --blau-4: #6E737F;
    --beige-2: #DCD9D4;
    --rot-1: #F4F1EE;
    --rot-2: #CEB0A9;
    --rot-3: #928986;
    --rot-4: #5F4248;
    --grun-1: #A7BC6F;
    --grun-2: #6A8B2C;
    --grun-3: #2E532D;
    --grun-4: #34563E;
    --grau: #BCBAAB;
    --grau-2: #EBF3EC;
    --schwarz: #000;
    --weiss: #fff;
}

.bg_white {
    background: var(--weiss);
}

.bg_gradient {
    background: linear-gradient(180deg, #F8F8F8 0%, #F4F1EE 48.56%);
}

/* === Theme Specific === */

/* ----- GENERAL ----- */

body {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    min-height: 100vh;
}

body>main {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

section,
a {
    position: relative;
}

/* END GENERAL */

/* ----- WP ADMIN BAR ----- */

/*#wpadminbar {
    display: none;
  }*/

/* END WP ADMIN BAR */

/* ----- BUTTONS ----- */

/* Button classes:
        - btn_xyz_primary
        - btn_xyz_secondary 
*/

/* Button Reset */

button {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    /* inherit font & color from ancestor */
    color: inherit;
    font: inherit;
    /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
    line-height: normal;
    /* Corrects font smoothing for webkit */
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    /* Corrects inability to style clickable `input` types in iOS */
    -webkit-appearance: none;
}

.btn {
    display: flex;
    flex-direction: row;
    padding: 8px 11px 7px 15px;
    align-items: center;
    border-radius: 30px;
    gap: 6px;
    text-transform: uppercase;
    font-family: area-normal, sans-serif;
    letter-spacing: 1.14px;
    font-weight: 500;
    width: max-content;
    transition: background 250ms ease-in-out, color 250ms ease-in-out, border-color 250ms ease-in-out;
}

.btn svg {
    transition: transform 250ms ease-in-out;
}

.btn:hover svg:not(.anchor) {
    transform: translateX(3px);
}

.btn:hover svg.anchor,
.btn:hover svg.download {
    transform: translateY(3px) translateX(0);
}

.btn-primary {
    position: relative;
    border: none;
    background: var(--rot-1);
    color: var(--grun-2);
    font-size: 19px;
    isolation: isolate;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    border: 2px solid var(--rot-1);
    pointer-events: none;
    opacity: 1;
    transition: opacity 250ms ease-in-out, border-color 250ms ease-in-out;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
    background: var(--rot-1) !important;
    background-color: var(--rot-1) !important;
    border-color: var(--rot-1) !important; 
    background-color: var(--rot-1) !important;
    color: var(--grun-2) !important;
    text-decoration: none !important;
    box-shadow: none;
}

.btn-primary:hover::after {
    opacity: 0;
}

section.bg_gradient .btn-primary {
    background: var(--weiss);
    border-color: var(--weiss);
}

section.bg_gradient .btn-primary:hover {
    background: var(--weiss) !important;
}

section.bg_white .btn-primary::after {
    border-color: var(--rot-1);
}

section.bg_gradient .btn-primary::after {
    border-color: var(--weiss);
}

.btn-primary.dark {
    background: var(--rot-2);
    border-color: var(--rot-2);
    color: var(--rot-1);
}

.btn-primary.dark::after {
    border-color: var(--rot-2);
}

.btn-secondary {
    letter-spacing: 0.72px;
    font-weight: 500;
    font-size: 12px;
    background: transparent;
    color: var(--grun-2);
    border-color: transparent;
    padding: 4px 6px 3px 12px;
    transform: translateX(-12px);
    transition: transform 250ms ease-in-out, background 250ms ease-in-out, color 250ms ease-in-out;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:focus-visible,
.btn-secondary:active {
    background: var(--rot-1) !important;
    background-color: var(--rot-1) !important; 
    color: var(--grun-2) !important;
    transform: translateX(0px) !important;
    border-color: transparent !important;
    text-decoration: none !important;
    box-shadow: none;
}

section.bg_gradient .btn-secondary {
    background: transparent;
}

section.bg_gradient .btn-secondary:hover {
    background: var(--weiss)
}

section.bg_white .btn-secondary {
    background: transparent;
    border-color: transparent;
}

section.bg_white .btn-secondary:hover {
    background: var(--rot-1);
    border-color: var(--rot-1);
}

.btn-secondary.dark {
    background: transparent;
    border-color: transparent;
    color: var(--rot-1);
}

.btn-secondary.dark:hover {
    background: var(--rot-3);
    border-color: var(--rot-3);
    color: var(--rot-1);
}


/* END BUTTONS */

.single-wohnung .hero_wohnung {
    overflow: hidden;
    background: linear-gradient(180deg, #FAF6F2 36.54%, #FAF6F2 39.33%, #F3F6F8 100%);
}


.single-wohnung .hero_wohnung .svg_wrapper {
    margin-top: 85px;
}

.single-wohnung .hero_wohnung .svg_wrapper svg {
    height: 150px;
    width: 150px;
    margin-bottom: 30px;
}

.single-wohnung .hero_wohnung .availability.label span {
    text-align: center;
    font-family: "Albert Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.28px;
    padding: 4px 10px;
    border-radius: 30px;
}

.single-wohnung .hero_wohnung .availability.label span#forSale {
    background: #EBF3EC;
    color: var(--grun-3);
}

.single-wohnung .hero_wohnung .availability.label span#sold {
    background: var(--rot-1);
    color: var(--rot-3);
}


.single-wohnung .hero_wohnung .swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    left: 0;
}


.single-wohnung .hero_wohnung .row#info {
    align-items: stretch;
    overflow: visible;
}


.single-wohnung .hero_wohnung .swiper_nav {
    width: 95%;
    left: 30px;
    margin: 0 auto;
    top: 35%;
    pointer-events: none;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.single-wohnung .hero_wohnung .swiper_nav>* {
    pointer-events: auto;
}

.single-wohnung .hero_wohnung .swiper_nav .swiper_prev {
    left: 0;
    position: relative;
    transition: opacity 300ms ease-in;
}

.single-wohnung .hero_wohnung .swiper_nav .swiper_next {
    right: 0;
    position: relative;
    transition: opacity 100ms ease-in;
}

.single-wohnung .hero_wohnung .swiper_nav .swiper_prev.swiper-button-disabled,
.single-wohnung .hero_wohnung .swiper_nav .swiper_next.swiper-button-disabled {
    opacity: 0;
}


.single-wohnung .hero_wohnung .swiper_nav .swiper_prev svg path,
.single-wohnung .hero_wohnung .swiper_nav .swiper_next svg path {
    transition: fill 0.3s ease-in-out, stroke 0.3s ease-in-out;
}

.single-wohnung .hero_wohnung .swiper_nav .swiper_prev:hover svg path,
.single-wohnung .hero_wohnung .swiper_nav .swiper_next:hover svg path {
    fill: var(--rot-3);
    stroke: var(--rot-3);
}


.single-wohnung .hero_wohnung .gap-62 {
    gap: 62px;
}

.single-wohnung .hero_wohnung .row.details {
    padding-top: 15px;
    padding-bottom: 15px;
}

.single-wohnung .hero_wohnung .row.details hr {

  border-color: var(--blau-2);
    opacity: 1;
    border-width: 2px;
}

.single-wohnung .hero_wohnung .row.details .btn-primary {
    max-width: max-content;
    background: var(--rot-1);
    border-color: var(--rot-1);
}

.single-wohnung .hero_wohnung .row.details .btn-primary::after {
    border-color: var(--rot-1);
}

.single-wohnung .hero_wohnung .info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.single-wohnung .hero_wohnung .info p {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    padding: 15px;
    margin-bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.60) 0%, #F4F1EE 100%);
}

.single-wohnung .hero_wohnung .info p svg {
    width: 24px;
    height: 24px;
}

.single-wohnung .hero_wohnung .info p:first-of-type {
    border-top: 1px solid var(--rot-1);
}


.fancybox__content:has(img[src$=".svg"]) {
    width: 791px !important;
    height: 821px !important;
}


@media (max-width: 992px) {

    .btn-primary {
        font-size: 0.7rem;
    }

    .single-wohnung .row.details {
        gap: 15px;
    }

    .single-wohnung .hero_wohnung .swiper-container {
        position: relative !important;
        width: 100%;
        bottom: 0;
    }

    .single-wohnung .hero_wohnung .swiper_nav {
        width: 100%;
        left: 0;
        margin: 0;
        top: 50%;
    }

    .single-wohnung .hero_wohnung .swiper-container .swiper-slide .open {
        opacity: 1;
        transform: scale(0.8);
    }

    .single-wohnung .hero_wohnung .swiper_nav .swiper_next,
    .single-wohnung .hero_wohnung .swiper_nav .swiper_prev {
        transform: scale(0.8);
    }
}