/**
 * Theme Name:     Lõvirahu
 * Author:         Novot
 * Template:       hello-elementor
 * Text Domain:	   astlanda
 * Description:    -
 */
/* 

.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

*/
.dm-sans-light {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
.dm-sans-regular {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.dm-sans-bold {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.forum-regular {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}
@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}
:root {
    --must: #000000;
    --taust: #41504B;
    --blue: var(--taust);
    --main-text-color: #B7A997;
    --light-beige: #EFECEA;
    --taust-lighter: red;
    --borderline: #b7a99754;
    --forumfont: "Montserrat", sans-serif;
    --burgundy: #873E1F;
}
html {
    scroll-behavior: smooth;
}
html {
    /* 62.5% of 16px base font size is 10px */
    font-size: 62.5%;
}
body {
    color: var(--main-text-color);
    font-size: 1.4rem;
    line-height: 1.7;
    background-color: var(--taust);
}
body:not(.home) .wrap {
    padding-top: 9.7rem;
}
body.page-template-template-ehitusest .wrap,
body.page-template-template-galerii .wrap,
body.page-template-template-muugiinfo .wrap,
body.page-template-default .wrap {
    padding-top: 0;
}
a,
a:hover {
    text-decoration: none;
    color: var(--main-text-color);
}
p#breadcrumbs a {
    color: var(--orange);
}
/**
   * Restore the focus styles unset by the previous rule.
   */
button,
[type="submit"],
[type="button"] {
    color: var(--orange);
}
button:focus:not(:focus-visible),
[type="submit"]:focus:not(:focus-visible),
[type="button"]:focus:not(:focus-visible) {
    outline: none;
}
button:hover,
button:focus,
[type="submit"]:hover,
[type="submit"]:focus,
[type="button"]:hover,
[type="button"]:focus {
    color: #ffffff;
    background-color: var(--orange);
}
h1,
.h1 {
    font-size: 3.2rem;
    font-weight: 300;
    margin-bottom: 4rem;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .12rem;
}
h2,
.h2 {
    font-size: 2.4rem;
    font-weight: 200;
    font-style: normal;
    margin-bottom: 3rem;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
}
h3,
.h3,
h4,
.h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-style: normal;
}
ul {
    padding: 0;
}
ul li {
    list-style: none;
}
.content p,
.content ul,
.content ol {
    margin-bottom: 2rem;
}
.page-content a,
.comments-area a {
    text-decoration: unset;
    color: var(--oranz);
}
.page-content ul,
.ostuprotsess-main-element ul,
.content-areas ul {
    list-style-type: none;
    /* Remove default bullets */
    padding: 0;
}
.page-content ul li,
.ostuprotsess-main-element ul li,
.content-areas ul li {
    position: relative;
    padding-left: 40px;
    /* Space for the line */
    margin-bottom: 10px;
    /* Space between items */
}
.page-content ul li::before,
.ostuprotsess-main-element ul li::before,
.content-areas ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    /*Lengthoftheline*/
    height: 1px;
    /*Thicknessoftheline*/
    background-color: var(--oranz);
    /*Coloroftheline*/
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
/* header {
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    position: fixed;
    z-index: 20;
    left: 0;
    width: 100%;
    justify-content: space-between;
    background-color: var(--blue);
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
} */
/* header {
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    position: fixed;
    z-index: 20;
    left: 0;
    width: 100%;
    justify-content: space-between;
    background-color: var(--blue);
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    max-width: 192rem;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
} */
header {
    display: grid;
    grid-template-columns: 16.74% auto;
    position: fixed;
    left: 0;
    width: 100%;
    justify-content: space-between;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    top: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    z-index: 1000;
    min-height: 9.8rem;
}

body:not(.logged-in) header {
    z-index: 1111111111;
}

.home header {
    max-width: unset;
}

.header-logo {
        border: 1px solid var(--borderline);
    border-top: unset;
    border-left: unset;

    padding: 1.2rem 3rem;
    padding-left: 6rem;
    background-color: var(--taust);
}
/* .home .header-logo {
    opacity: 0;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition-delay: 0s;
}
.home.scrolled .header-logo {
    opacity: 1;
    transition-delay: 0.5s;
} */
/* .menu li {
    font-size: 1.4rem;
    letter-spacing: .56px;
}
.menu {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    gap: 4rem;
}
.menu li {
    list-style: none;
    position: relative;
}
li.menu-item-has-children  ul.sub-menu {
    position: absolute;
} */
/* Reset default list styles */
.menu,
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
}
/* Main menu styling */
.menu {
    display: flex;
    background-color: ;
    /* Main menu background color */
}
.menu>li {
    position: relative;
    /* Required for submenu positioning */
}
.menu>li>a {
    display: block;
    padding: 1.5rem;
    /* Menu item text color */
    text-decoration: none;
    color: #fff !important;
}
.menu>li>a:hover,
.menu>li.current-menu-item>a {
    background-color: ;
    /* Hover and active menu item background */
}
/* Submenu styling with transitions */
.menu .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* Slightly move the submenu down */
    position: absolute;
    top: 100%;
    /* Position below the parent menu item */
    left: 0;
    background-color: var(--taust);
    /* Submenu background color */
    min-width: 200px;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
/* Submenu links */
.menu .sub-menu li a {
    padding: 10px 20px;
    color: #fff !important;
    display: block;
    text-decoration: none;
}
.menu .sub-menu li a:hover,
.menu .sub-menu li.current-menu-item a {
    background-color: ;
    /* Hover and active submenu item background */
}
/* Show submenu on hover */
.menu>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Move submenu to original position */
}
/* Optional: Add arrow indicator for items with submenu */
.menu>li.menu-item-has-children>a::after {
    content: '';
    margin-left: 5px;
    background: url(images/arrow-down-lighter.svg) no-repeat center / contain;
    width: 1rem;
    height: 1rem;
    /*background: red;
    */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
.current-menu-item > a {
    font-weight: 600;
}
/* Responsive adjustments (optional) */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
    }
    .menu .sub-menu {
        position: static;
        transform: none;
    }
}
/* 
.menu li a {
    padding: 7rem 8.4rem;
    font-size: 2rem;
    text-transform: uppercase;
    display: block;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
.menu li a:hover {
    padding-left: 9.5rem;
}
.menu li a:after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, .4);
    position: absolute;
    bottom: 0;
}
.menu li:hover a:after,
.menu li.current-menu-item a:after {
    width: 100%;
}
.menu li a svg {
    width: 1rem;
    margin-left: 1rem;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
.menu li a:hover svg {
    margin-left: .5rem;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}
.menu-item a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}
.menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    opacity: 1;
}
.menu-item a:hover::after,
.current_page_item a:after {
    opacity: 1;
} */
.menu-wrap {
    grid-column: -2;
    border: 1px solid var(--borderline);
    border-top: unset;
    border-right: unset;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6rem;
    background-color: var(--taust);
    padding-left: 3rem;
}
.menu-wrap g#instagram path#Path_1 {
    fill: var(--light-beige);
}
.home .menu-wrap g#instagram path#Path_1,
.page-template-template-meist .menu-wrap g#instagram path#Path_1 {
  fill: var(--taust);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2rem;
}
.header-contacts a {
    display: flex;
    color: #fff;
}
.header-contacts svg {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
}
.home .header-contacts svg,
.page-template-template-siseviimistlus .header-contacts svg {
    fill: var(--main-text-color);
}
.header-contacts .header-email svg {
    stroke: var(--taust);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}
.home-hero {
    margin: 0 3.6rem;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
.home-hero video,
.home-hero > img {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 5s ease-out;
}
.loaded .home-hero video,
.loaded .home-hero > img {
    transform: scale(1.06);
}
.home-hero-wrap .animated-lines {
    position: absolute;
    z-index: 99;
    opacity: 0.2;
}
.animated-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.animated-lines > span:first-of-type {
    opacity: 0 !important;
}
body:not(.home) .animated-lines {
    z-index: -1;
}
.animated-lines span {
    width: 1px;
    height: 100%;
    background-color: var(--borderline);
    z-index: 1;
}
.animated-lines::before,
.animated-lines::after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: var(--borderline);
}
.animated-lines::before {
    left: 3.6rem;
}
.animated-lines::after {
    right: 3.6rem;
}
.animated-lines span {
    width: 1px;
    background-color: var(--borderline);
}
.coverimg {
    position: relative;
}
.coverimg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.key-elements {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: relative;
    z-index: 1;
}
.key-elements > div:first-child {
    margin-left: 3.6rem;
}

.key-elements > div:last-child {
    margin-right: 3.6rem;
}

.key-elements div {
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60rem;
    border-top: 1px solid var(--borderline);
    gap: 2rem;
    background-color: var(--light-beige);
    color: var(--taust);
    border-right: 1px solid var(--borderline);
    padding-top: 10rem;
}
.key-elements div span {
    padding-top: 0;
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
}
.key-elements div:hover span {
    padding-top: 3rem;
}
.video-wrapper {
    position: relative;
    width: 100%;
    min-height: 61rem;
}
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #41504b94;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    z-index: 2;
    width: 8rem;
    border-radius: 10rem;
    height: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.play-btn.hidden {
    display: none;
}
a#play-btn svg path {
    fill: #fff;
}
.element-group-1 {
    display: grid;
    grid-template-columns: 50% 50%;
    position: relative;
    z-index: 12;
    padding-left: 3.6rem;
    padding-right: 3.6rem;
    padding-bottom: 10rem;
}
.entry_links_wrap {
    display: grid;
    grid-template-columns: 34.33% 65.67%;
    background-color: var(--taust);
    color: #fff;
}
.entry_gallery_sublinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}
.entry-link {
    padding: 4rem;
    height: 100%;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    position: relative;
}
.entry_links_wrap .entry-link {
    background-color: var(--light-beige);
}
.entry-link:before {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    opacity: 0;
}
.entry_links_wrap .entry-link:before {
    background-color: #F8F4EF;
}
.entry-link, .entry-link a {
    font-size: 1.8rem;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    font-weight: 200;
    line-height: 1;
}
.other-entry-links .entry-link a {
    font-weight: 300;
}
.first-entry-link a {
    font-size: 4.8rem;
    text-transform: initial;
}
.entry_links_wrap .entry-link,
.entry_links_wrap .entry-link a {
    color: var(--blue);
}
.entry-link svg {
    width: 1.5rem;
    display: block;
    margin-top: 1rem;
    transform: translateX(0rem);
    -webkit-transform: translateX(0rem);
    -moz-transform: translateX(0rem);
    -ms-transform: translateX(0rem);
    -o-transform: translateX(0rem);
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
}
.entry-link:hover {
    padding-left: 5rem;
}
.entry-link:hover:before {
    width: 100%;
    opacity: 1;
}
.entry_links_wrap .entry-link:hover:before {
    background-color: var(--taust);
}
.entry-link:hover a {
    color: var(--light-beige);
}
.entry-link:hover svg {
    transform: translateX(1rem);
    -webkit-transform: translateX(1rem);
    -moz-transform: translateX(1rem);
    -ms-transform: translateX(1rem);
    -o-transform: translateX(1rem);
}
.entry-link:hover svg path,
.sales-info .entry-link svg path {
    stroke: var(--main-text-color);
}
.sales-info .entry-link:hover svg path {
    stroke: var(--taust) !important;
}

.entry-link:hover a {
    color: var(--main-text-color);
}
.entry-link.forum-regular svg {
    margin-top: 3rem;
}
.entry-link.forum-regular svg g {
    stroke: var(--taust);
}
.entry-link a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.entry_gallery_sublinks>div {
    height: 20rem;
    bottom: 0;
}
body .mfp-close-btn-in .mfp-close {
    font-size: 3rem;
    color: var(--blue);
    opacity: 1;
}
.other-entry-links {
    display: flex;
    flex-direction: column;
    /* height: 100rem; */
    /* border: 1px solid #ccc; */
    box-sizing: border-box;
}
.entry_gallery {
    flex: 1;
}
.entry_gallery_sublinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 20rem;
}
.entry_gallery .swiper {
    height: 100%;
    position: relative;
}
.swiper-nav {
    position: absolute;
    bottom: 3.7rem;
    right: 3.7rem;
    display: flex;
    gap: 3rem;
    z-index: 1;
    line-height: 1;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.swiper-nav>div {

    opacity: 1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 1.6rem;
    height: 5rem;
    /* background-color: rgba(255, 255, 255, .7); */
    background-color: rgba(65, 80, 75, 0.705);
    
        border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.entry_gallery .navbtn svg path,
.entry_gallery .navbtn svg line,
.entry_gallery .zoombtn svg line,
.entry_gallery .zoombtn svg circle,
.center-swiper .navbtn svg path,
.center-swiper .navbtn svg line,
.center-swiper .zoombtn svg line,
.center-swiper .zoombtn svg circle {
    stroke: #fff;
}
.navbtn {
    width: 2rem;
    display: flex;
    height: 2rem;
    align-items: center;
    margin-left: 1rem;
    cursor: pointer;
    justify-content: center;
}
.navbtn svg path,
.navbtn svg line,
.zoombtn svg line,
.zoombtn svg circle {
    stroke: var(--blue);
}
.swiper-nav>div:first-of-type {
    display: flex;
    align-items: center;
    padding: 2rem 4rem;
}
.swiper-nav>div:first-of-type span {
    margin-right: 2rem;
    letter-spacing: 0;
    font-weight: 300;
}
.swiper-nav > div:last-child {
    border-radius: 10rem;
    transition: all .5s;
}
.swiper-nav > div:last-child:hover {
    transform: rotate(-15deg);
}
.gallery-button-next,
.gallery-button-prev {
    transition: all .8s;
    -webkit-transition: all .8s;
    -moz-transition: all .8s;
    -ms-transition: all .8s;
    -o-transition: all .8s;
}
.gallery-button-next:hover {
    transform: translateX(.5rem);
}
.gallery-button-prev:hover {
    transform: translateX(-.5rem);
}
.video-over {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 999;
}
.btn-square {
    background-color: #f2f2ef7d;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-block;
    padding: 2rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .3rem;
    text-transform: uppercase;
    font-size: 1.5rem;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
.btn-square.blue {
    background-color: var(--burgundy);
    color: var(--light-beige);
}
.btn-square.blue:hover {
    border-radius: 3rem;
    -webkit-border-radius: 3rem;
    -moz-border-radius: 3rem;
    -ms-border-radius: 3rem;
    -o-border-radius: 3rem;
}
.btn-square.red {
    padding: 1.4rem 3rem;
    border-radius: .8rem;
    background-color: var(--burgundy);
    color: var(--light-beige) !important;
    font-size: 1.4rem;
    line-height: 1.3;
    letter-spacing: 0;
}
.btn-square.red:hover {
    border-radius: 3rem;
    color: var(--light-beige) !important;
}
.sidebar .btn-square.red:hover {
    background-color: var(--taust);
    color: var(--main-text-color);
}
.page-template-template-siseviimistlus_moodboard .sidebar a.btn-square.red {
    color: #fff !important;
}
.btn-square.dark-green,
.page-template-template-siseviimistlus_moodboard .btn-square.dark-green {
    padding: 1.4rem 3rem;
    border-radius: .8rem;
    background-color: var(--taust);
    color: var(--light-beige) !important;
    font-size: 1.4rem;
    line-height: 1.3;
    letter-spacing: 0;
}
.btn-square.dark-green:hover {
    border-radius: 3rem;
    color: var(--light-beige) !important;
}
.sidebar .btn-square.dark-green:hover {
    color: var(--light-beige) !important;
    background-color: var(--burgundy);
}
.video-over .btn-square {
    background:  #41504bb8 0% 0% no-repeat padding-box;
    border-radius: 8px;
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 15%;
    width: 28rem;
    min-width: 28rem;
    max-width: calc(100% - 4rem);
    box-sizing: border-box;
    transition: all 3s;
    -webkit-transition: all 3s;
    -moz-transition: all 3s;
    -ms-transition: all 3s;
    -o-transition: all 3s;
    letter-spacing: 0;
    color: #fff !important;
}
.loaded .video-over .btn-square {
    margin-top: 4rem;
    width: 74rem;
}
.empty-holder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 3.7rem;
}
.kabid-el {
    position: absolute;
    left: 101%;
    width: calc(48% - 3.6rem);
    bottom: 0;
}

.sales-info {
    color: var(--taust);
    z-index: 1;
}
.sales-info .entry-link,
.sales-info .entry-link a,
.sales-info .sales-person-links a {
    color: var(--taust);
}
.sales-info .entry-link svg path {
    stroke: var(--taust);
}
.sales-info .entry-link:hover svg path {
    stroke: var(--light-beige);
}


.sales-info > div.inner {
    max-width: 66.66%;
        position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-top: 8rem;
        margin: 0 auto;
}
.page-template-template-muugiinfo .sales-info > div.inner {
    max-width: 100%;
}
.sales-info>div>div {
    width: 50%;
    background-color: var(--light-beige);
}
.sales-info>>div>div:first-of-type {
    border-left: 1px solid var(--borderline);
}
.sales-info h3 {
    letter-spacing: -3px;
    margin-bottom: 4rem;
    font-family: 'Montserrat';
    font-weight: 100;
    font-size: 5.6rem;
}
.sales-info>div>div:first-of-type>div:first-of-type {
    padding: 8rem 4rem;
    /* border-bottom: 1px solid var(--borderline); */
}
.sales-info>div>div:first-of-type>div:last-of-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.sales-info>div>div:first-of-type div:last-of-type div {
    padding: 4rem;
}
.sales-info>div>div:last-of-type>div {
    display: grid;
    grid-template-columns: 50% 50%;
    transform: translateY(-5rem);
}
.sales-info>div>div:last-of-type>div>div:first-of-type {
    background-color: var(--light-beige);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 1px solid var(--borderline);
}
.sales-info>div>div:last-of-type>div>div {
    padding: 4rem;
}
.animated-link {
    position: relative;
    display: inline-block;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
}
.animated-link:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--burgundy);
    opacity: .1;
    position: absolute;
    top: 100%;
    left: 0;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
}
.animated-link:after {
    content: "";
    width: 5%;
    height: 1px;
    background-color: var(--burgundy);
    position: absolute;
    top: 100%;
    left: 0;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
}
.animated-link:hover {
    color: var(--burgundy) !important;
}
a.animated-link:hover:after {
    width: 100%;
}
.sales-info .btn-square, .lity .ff-btn {
    padding: 1.6rem 2rem;
    font-size: 1.6rem;
    margin-top: 4rem;
    width: 100%;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.sales-info .btn-square:hover {
    border-radius: 3rem;
    -webkit-border-radius: 3rem;
    -moz-border-radius: 3rem;
    -ms-border-radius: 3rem;
    -o-border-radius: 3rem;
}
.sales-person-links {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sales-person-job {
    margin-top: .6rem;
}
.salesperson-w-form-content {
    padding: 4rem !important;
}
footer {
    border-top: 1px solid var(--borderline);
    min-height: 20rem;
    position: relative;
    z-index: 1;
}
.footer-extra-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    padding: 0rem;
}
.footer-extra-links>a,
.footer-extra-links>span {
    padding: 4rem;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}
.footer-extra-links>a:hover {
    opacity: 1;
}
.footer-extra-links>a:first-of-type {
    padding-left: 8rem;
}
.footer-extra-links a:last-of-type {
    grid-column: 6;
    text-align: right;
    padding-right: 8rem;
}
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}
.fixed-footer div {
    padding: 3rem 8rem 2rem 4rem;
    border: 1px solid var(--borderline);
    background-color: var(--taust);
}
.fixed-footer .footer-logo {
    width: calc(16.66% + 1px);
    background-color: var(--taust);
    padding: 3rem 8rem;
    display: flex;
    border-left: unset;
    border-bottom: unset;
}
body .footer-social {
    display: flex;
    gap: 3rem;
    align-items: center;
    border-bottom: unset;
    border-right: unset;
}
/* 
.footer-social svg rect,
.footer-social svg path,
.footer-social svg line {
    stroke: red;
} 
*/

/* body.page-template-template-siseviimistlus_moodboard .footer-social svg:hover rect,
body.page-template-template-siseviimistlus_moodboard .footer-social svg:hover path,
body.page-template-template-siseviimistlus_moodboard .footer-social svg:hover line,
body.page-template-template-hinnadplaanid .footer-social svg:hover rect,
body.page-template-template-hinnadplaanid .footer-social svg:hover path,
body.page-template-template-hinnadplaanid .footer-social svg:hover line,
body.page-template-template-galerii .footer-social svg:hover rect,
body.page-template-template-galerii .footer-social svg:hover path,
body.page-template-template-galerii .footer-social svg:hover line,
body.page-template-template-muugiinfo .footer-social svg:hover rect,
body.page-template-template-muugiinfo .footer-social svg:hover path,
body.page-template-template-muugiinfo .footer-social svg:hover line,
body.page-template-template-ehitusest .footer-social svg:hover rect,
body.page-template-template-ehitusest .footer-social svg:hover path,
body.page-template-template-ehitusest .footer-social svg:hover line,
body.page-template-template-asukoht .footer-social svg:hover rect,
body.page-template-template-asukoht .footer-social svg:hover path,
body.page-template-template-asukoht .footer-social svg:hover line,
body.single-korter .footer-social svg:hover rect,
body.single-korter .footer-social svg:hover path,
body.single-korter .footer-social svg:hover line {
    fill: #B7A997;
    stroke: #B7A997;
}
.footer-social .ig-link:hover path,
.footer-social .ig-link:hover line {
    fill: var(--light-beige);
    stroke: var(--light-beige);
} */
.page-template-template-siseviimistlus_moodboard .with-sidebar {
    /* background: url(images/sheetbg.png) no-repeat center / cover; */
    background-attachment: fixed;
    border-bottom: 1px solid var(--borderline);
}
.sv-paketid-wrap {
    display: grid;
    grid-template-columns: 16.66% auto 16.66%;
}
.sv-paketid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.sv-pakett {
    border-top: 1px solid var(--borderline);
    padding-bottom: 4rem;
}
.sv-pakett>div {
    padding: 4rem 1.4rem 2.4rem 1.4rem;
    background-color: var(--light-beige);
    border-left: 1px solid var(--borderline);
    border-top: 1px solid var(--bordrline);
    border-bottom: 1px solid var(--borderline);
    ;
}
.sv-pakett .entry-link {
    padding: 0;
    padding-bottom: 4rem;
    display: block;
    height: auto;
}
.sv-pakett .entry-link.h3 {
    font-size: 2.4rem;
    letter-spacing: 0;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
.sv-pakett .entry-link.h3:hover {
    padding-left: 1rem;
}
.sv-pakett img {
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    aspect-ratio: 3/4;
}
.sv-pakett:hover img {
    border-radius: 2rem;
}
.with-sidebar {
    display: grid;
    grid-template-columns: 16.66% auto;
}
.with-sidebar .sidebar,
.sidebar {
    padding-left: 6rem;
    padding-top: 8rem;
    padding-right: 3rem;
}
.with-sidebar .sidebar,
.sidebar {
    padding-top: 10rem;
}
.with-sidebar .sidebar h1,
.sidebar h1 {
    word-break: break-word;
    font-weight: 300;
    letter-spacing: -1px;
}
a.back-top-home {
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: .72px;
}
.center-blocks-wrap>div:first-of-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    position: relative;
}
.top-large-img {
    position: relative;
    min-height: 71rem;
}
.page-template-template-ehitusest .top-large-img,
.page-template-template-galerii .top-large-img {
    min-height: 44rem;
}
.center-block-img.coverimg {
    aspect-ratio: 4/3;
}
.center-blocks-wrap {
    width: 80%;
    padding: 8rem 1rem;
}
.center-block-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 2;
}
.center-block-content>div {
    padding: 2rem;
}
.center-block-content>div:first-of-type {
    background-color: var(--light-beige);
    transform: translateY(-8rem);
    -webkit-transform: translateY(-8rem);
    -moz-transform: translateY(-8rem);
    -ms-transform: translateY(-8rem);
    -o-transform: translateY(-8rem);
}
.page-template-template-siseviimistlus_moodboard .center-block-content>div:first-of-type {
  
}
.center-block-large-banner {
    display: grid;
    aspect-ratio: 16/9;
    z-index: -2;
    position: relative;
}
.large-banner-content {
    position: relative;
    place-self: start end;
    width: 24.59%;
    background: var(--taust);
    padding: 4rem;
}
/* Basic styles for the map and filters */
.poi-map-wrap {
    display: grid;
    grid-template-columns: 20% auto;
    padding: 12rem 0 8rem;
    padding-left: 16.66%;
    background-color: var(--blue);
    color: var(--taust);
    align-items: center;
}
.page-template-template-asukoht .center-content > .poi-map-wrap {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100vw;
    margin-left: calc(100% - 100vw);
}
.poi-map-filter {
    padding: 4rem;
}
.poi-map-filter h2 {
    color: #fff;
    font-size: clamp(2.4rem, 1.6rem + 1vw, 3.2rem);
    overflow-wrap: anywhere;
}
.poi-map {
    min-height: 60rem;
    margin-right: 6rem;
}
.filter-option {
    margin-right: 10px;
}
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
/* Container styling */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}
/* Hide the default checkbox */
.filter-option input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
/* Style the label */
.filter-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}
/* Toggle switch base */
.toggle-switch {
    position: relative;
    width: fit-content;
    min-width: 16rem;
    max-width: 100%;
    height: 3rem;
    padding: 0 3.5rem;
    box-sizing: border-box;
    background-color: var(--blue);
    border-radius: 3rem;
    margin-right: 10px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid white;
}

.toggle-switch::before {
    content: "";
    position: absolute;
    width: 2rem;
    height: 2rem;
    left: 0.5rem;
    top: 4px;
    background-color: white;
    border-radius: 50%;
    transition: left 0.3s;
    z-index: 2;
}

.toggle-label {
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    color: #fff;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    text-transform: uppercase;
}


/* Checked state */
.filter-option input[type="checkbox"]:checked+.toggle-switch {
    background-color: #fff;
    color: var(--blue);
}
.filter-option input[type="checkbox"]:checked+.toggle-switch .toggle-label {
    color: var(--blue);
}
.filter-option input[type="checkbox"]:checked + .toggle-switch::before {
    left: calc(100% - 2.5rem);
    transform: none;
    background-color: var(--blue);
}
.sidebar .btn-square {
    padding: 1.3rem 2rem;
}
.constrction-intro {
    background-color: var(--blue);
    color: var(--taust);
    display: grid;
    grid-template-columns: 60% auto;
    margin-top: 4rem;
}
.constrction-intro>div:first-of-type {
    padding: 4rem;
}
.constrction-intro h2 {
    font-size: 3.2rem;
    color: #fff;
}
.constrction-intro>div:first-of-type>div:first-of-type {
    display: grid;
    grid-template-columns: 70% auto;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid;
}
.constrction-intro>div:first-of-type>div h3 {
    font-size: 2.4rem;
    display: inline-block;
}
.construction-architects {
    display: ;
    font-size: 1.4rem;
}
.construction-content {
    column-count: 2;
    column-gap: 6rem;
}
.center-blocks-wrap.flexible {
    padding-left: 0;
    padding-right: 0;
}
.center-blocks-wrap.flexible>div:first-of-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    position: relative;
    display: block;
}
.center-blocks-wrap.flexible>div.asdasd {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    z-index: -2;
    position: relative;
}
.equal-content-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
.equal-content-areas>div {
    border: 1px solid var(--borderline);
    background-color: var(--light-beige);
    padding: 4rem;
}
.lahendused-wrap {
    margin-top: 4rem;
    background-color: var(--light-beige);
    border-top: 1px solid var(--borderline);
    border-bottom: 1px solid var(--borderline);
    border-left: 1px solid var(--borderline);
    position: relative;
}
.lahendused-wrap>div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.lahendused-wrap>div>div {
    padding: 4rem;
}
.lahendused-wrap h2 {
    position: relative;
    padding: 4rem 4rem 0rem 4rem;
    font-size: 3.2rem;
    max-width: 25%;
    margin-bottom: 0;
}
.lahendused-wrap h4 {
    margin-top: 0;
    margin-bottom: 2rem;
}
.lahendused-wrap div img {
    margin-bottom: 4rem;
}
.lahendused-wrap .animated-lines {
    position: absolute !important;
    z-index: 999 !important;
}
.lahendused-wrap .animated-lines::before, 
.lahendused-wrap .animated-lines::after {
    display: none;
}
.only-logo.coverimg {
    /* padding: 3rem; */
    margin: 4rem 1rem;
}
.page-template-template-ehitusest .sales-info {
    margin-top: 0;
}
/* Container Styling */
.gallery-wrap {
    width: 100%;
    max-width: 80%;
    /* margin: 0 auto; */
    /* padding: 20px; */
}
/* Filter Buttons */
.gallery-filter {
    padding: 4rem;
}
.filter-button {
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 1.4rem;
    cursor: pointer;
    letter-spacing: 0;
    transition: background-color 0.3s, color 0.3s;
    border: 1px solid var(--borderline);
    -webkit-transition: background-color 0.3s, color 0.3s;
    -moz-transition: background-color 0.3s, color 0.3s;
    -ms-transition: background-color 0.3s, color 0.3s;
    -o-transition: background-color 0.3s, color 0.3s;
}
.filter-button:hover,
.filter-button.active,
.filter-button.blue {
    background-color: var(--blue);
    border-color: var(--blue);
}
/* Gallery Images */
.gallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 2rem;
    justify-content: center;
}
.gallery-images .zoombtn,
.main-swiper .zoombtn {
    position: absolute;
    top: 3.6rem;
    right: 3.6rem;
    z-index: 9;
    border-radius: 27px;
    opacity: 1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--blue);
    padding: 1.6rem;
    height: 5rem;
    background-color: rgba(255, 255, 255, .7);
    opacity: 0;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
.main-swiper .zoombtn {
    opacity: 1;
    background: #EBE6DE;
    position: relative;
    top: 0;
    right: 0;
    display: inline-block;
    padding: 1rem;
    height: 4rem;
}
.main-swiper .zoombtn:hover {
    background-color: var(--blue);
}
.main-swiper .zoombtn:hover svg line,
.main-swiper .zoombtn:hover svg circle {
    stroke: var(--taust);
}
.single-apt-gallery-zoom-wrap {
    border: 1px solid var(--borderline);
    padding: 1rem;
    position: absolute;
    top: -1px;
    right: -1px
}
.gallery-item:hover .zoombtn {
    opacity: 1;
}
.gallery-item {
    width: calc(50% - 15px);
    box-sizing: border-box;
    transition: transform 0.3s, opacity 0.3s;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.gallery-item:hover img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}
.gallery-item img {
    display: block;
    transition: all .4s ease-out;
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -ms-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
}
/* Responsive Design */
@media (max-width: 992px) {
    .gallery-item {
        width: calc(33.333% - 15px);
    }
}
@media (max-width: 768px) {
    .gallery-item {
        width: calc(50% - 15px);
    }
}
@media (max-width: 480px) {
    .gallery-item {
        width: 100%;
    }
}
.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}
.page-template-template-muugiinfo .top-large-img {
    background-color: var(--blue);
    min-height: 44rem;
}
.page-template-template-meist .top-large-img {
    z-index: 99;
    overflow: hidden;
}
svg.animated-logo {
    position: absolute;
    top: 0;
    z-index: 1;
    mix-blend-mode: exclusion;
    right: -40%;
    top: 10%;
    transition: right 5s, opacity 1s;
    -webkit-transition: right 5s, opacity 1s;
    -moz-transition: right 5s, opacity 1s;
    -ms-transition: right 5s, opacity 1s;
    -o-transition: right 5s, opacity 1s;
    opacity: 0;
}

.loaded svg.animated-logo {
    right: 3%;
    opacity: 1;
}


.sales-info.withform {
    margin: unset;
    max-width: 80%;
}
.sales-info.withform img {
    width: 100%;
}
.sales-info.withform>div:first-of-type div:last-of-type div {
    padding: 0;
}
.page-template-template-muugiinfo .sales-info.withform {
    transform: translate(-1px,-15rem);
    border-top: unset;
    border-left: 1px solid var(--borderline);
}
.sales-info.withform .btn-square {
    width: auto;
}
.sales-info.withform .btn-square {
    border-radius: 16px;
    padding: 1.5rem 4rem;
}
body .ff-default .ff-el-form-control {
    background-image: none;
    border: unset;
    border-bottom: 1px solid var(--borderline);
    border-radius: unset;
    color: var(--blue);
    background: transparent;
    padding: 1.6rem 3rem;
    font-size: 1.4rem;
}
body .ff-default .ff-el-form-control:focus {
    background-color: transparent;
    border-color: #d7d4d1;
    color: var(--blue);
    outline: none;
}
/* placeholder text style */
.fluentform .frm-fluent-form .ff-el-form-control::placeholder {
    font-size: 1.4rem;
    font-weight: 200;
    color: var(--blue);
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transition: all 0.3s;
}
/* placeholder focus text style */
.fluentform .frm-fluent-form .ff-el-form-control:focus::placeholder {
    opacity: 0;
}
button,
[type=submit],
[type=button] {
    font-weight: 300;
    border: unset;
    padding: 0.5rem 0;
    font-size: 1.5rem;
    border-radius: unset;
    transition: all 0.3s;
    letter-spacing: 3px;
}
.fluentform .frm-fluent-form .ff-el-form-control:hover::placeholder {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}
body .fluentform input[type="checkbox"] {
    -webkit-appearance: none;
}
.ff-el-tc input[type="checkbox"] {
    position: relative;
    cursor: pointer;
    padding: 0;
    margin-right: 1.5rem;
    width: 2.4rem;
    height: 2.4rem;
}
.ff-el-tc input[type="checkbox"]:before {
    content: "";
    margin-right: 1rem;
    display: inline-block;
    margin-top: 0;
    width: 2.4rem;
    height: 2.4rem;
    position: absolute;
    background: transparent;
    border: 1px solid var(--borderline);
    border-radius: 100%;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
}
.ff-el-tc input[type="checkbox"]:hover:before {
    border: 1px solid var(--blue);
}
.ff-el-tc input[type="checkbox"]:checked:before {
    background: transparent;
}
.hiddenform label.ff-el-form-check-label {
    display: flex;
    align-items: center;
}
body .frm-fluent-form .ff-t-container {
    align-items: flex-start;
}
input[type="checkbox"]:disabled {
    color: #b8b8b8;
    cursor: auto;
}
input[type="checkbox"]:disabled:before {
    box-shadow: none;
    background: #455456;
}
input[type="checkbox"]:checked:after,
input[type="checkbox"]:hover:after {
    content: "";
    position: absolute;
    background: var(--blue);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
}
body .fluentform .ff-el-form-check-label .ff-el-form-check-input {
    position: relative;
    top: 0;
    vertical-align: top;
    margin-right: 1.6rem;
    overflow: hidden;
    border-radius: 0.5rem;
    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    -ms-border-radius: 0.5rem;
    -o-border-radius: 0.5rem;
}
body .fluentform .ff-el-tc label.ff_tc_label {
    display: flex;
    align-items: center;
}
body .fluentform .ff-el-tc label.ff_tc_label>span {
    padding-top: 0 !important;
    width: 5rem;
}
body .ff_t_c a {
    color: var(--blue);
}
button.ff_btn_no_style:after {
    background-color: var(--blue);
}
button.ff_btn_no_style:before {
    background-color: var(--blue);
}
.hinnas-sisaldub {
    max-width: 80%;
    z-index: -2;
    position: relative;
    padding-bottom: 20rem;
}
.hinna-img {
    min-height: 70rem;
}
.hinnainfo-seletused {
    display: flex;
    min-height: 35rem;
    align-items: flex-end;
    transform: translateY(-80%);
    -webkit-transform: translateY(-80%);
    -moz-transform: translateY(-80%);
    -ms-transform: translateY(-80%);
    -o-transform: translateY(-80%);
    position: absolute;
    width: 100%;
}
.hinnainfo-seletused div {
    width: calc(25% + 1px);
    background-color: var(--light-beige);
    padding: 4rem 2.4rem;
}
.page-template-template-muugiinfo .hinnainfo-seletused {
    color: var(--blue) !important;
}
.page-template-template-muugiinfo .hinnainfo-seletused li::before {
    background-color: var(--blue) !important;
}
/* .hinnainfo-seletused > div:last-of-type {
    transform: translateY(6rem);
    -webkit-transform: translateY(6rem);
    -moz-transform: translateY(6rem);
    -ms-transform: translateY(6rem);
    -o-transform: translateY(6rem);
} */
.hinnainfo-seletused li {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
}
.hinnainfo-seletused li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 2.3rem;
    height: 1px;
    background: var(--blue);
}
.ostuprotsess {
    background-color: var(--blue);
    display: grid;
    grid-template-columns: 33.32% 16.66% 16.66% auto;
    color: var(--light-beige);
}
.protsessi-etapid {
    position: relative;
    padding: 8rem 2rem;
    color: var(--main-text-color);
}
.protsessi-etapid p {
    color: #fff;
}
.ostuprotsessi_etapp {
    padding-bottom: 8rem;
    position: relative;
}
.number-wrap {
    position: absolute;
    right: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}
.etapp-number {
    font-weight: bold;
    margin-right: 1rem;
    background-color: var(--light-beige);
    width: 5.7rem;
    height: 5.7rem;
    display: flex;
    color: var(--blue);
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    /* position: absolute; */
    /* left: -75%; */
    /* top: 50%; */
    /* transform: translateY(-50%) !important; */
    z-index: 1;
}
.etapp-number h3 {
    margin: 0;
    font-size: 2.4rem;
}
.connector {
    position: absolute;
    width: 1px;
    height: 100%;
    /*Matchthemargin-bottomof.ostuprotsessi_etapp*/
    background-color: var(--light-beige);
    left: calc(50% - 4px);
    transform-origin: top;
    top: 5rem;
    transform: scaleY(0);
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
}
.connector::before {
    content: '';
    position: absolute;
    top: -50%;
    /* Connects to the previous step */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-beige);
    transform: scaleY(0);
    transform-origin: top;
}

.pankade-kontaktid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* Creates 6 columns each 1fr wide */
}
div#pankade-kontaktid .block-title {
    border-bottom: 1px solid var(--borderline);
    background-color: var(--light-beige);
}
.pankade-kontaktid h2 {
    font-size: 3.2rem;
    margin: 3rem 4rem;
}
.pankade-kontaktid>div {
    grid-column: 2 / span 4;
    /* Starts at column 3 and spans 4 columns (columns 3 to 6) */
    margin-top: 10rem;
    border-top: 1px solid var(--borderline);
}
.pankade-kontaktelemendid {
    display: flex;
    flex-wrap: wrap;
    padding-top: 9rem;
    margin-top: 10rem;
}
.panga-element {
    padding: 0 1rem;
    width: 25%;
    padding-bottom: 6rem;
    position: relative;
}
.panga-image {
    position: relative;
}
/* .panga-image:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #41504B 0% 0% no-repeat padding-box;
    mix-blend-mode: color;
    position: absolute;
    top: 0;
    left: 0;
} */
.panga-image:hover:before {
    opacity: 0;
}
.pankade-kontaktelemendid .panga-element:nth-child(4n-1) {
    margin-top: -6rem;
}
.pankade-kontaktelemendid .panga-element:nth-child(4n-2) {
    margin-top: -9rem;
}
.pankade-kontaktelemendid .panga-element:nth-child(4n-3) {
    margin-top: -12rem;
}
.pankade-kontaktelemendid .panga-element:nth-child(4n) {
    margin-top: -3rem;
}
.page-template-template-meist .hero-tekstiala {
    z-index: 1;
    background: var(--taust);
    position: absolute;
    bottom: 0;
    padding: 4rem;
    max-width: 40%;
    background: #313b38a6 0% 0% no-repeat padding-box;
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

.page-template-template-meist .inner-sidebar h2 {
    font-size: 5.6rem;
    letter-spacing: -3px;
    font-weight: 200;
    line-height: 1;
}

.page-template-template-meist .sidebar p {
    color: #fff;
}
.page-template-template-meist .sidebar svg path {
    stroke: var(--main-text-color);
}
.meist-inimesed {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background-color: var(--blue);
    padding-bottom: 5rem;
}
.inner-sidebar {
    padding: 8rem 4rem;
    color: var(--taust);
}
.inner-sidebar h2 {
    font-size: 2.8rem;
    letter-spacing: 1px;
    line-height: 4rem;
}
.meeskonna-elemendid {
    display: flex;
    flex-direction: column;
    padding-top: 8rem;
    padding-bottom: 10rem;
    grid-column: 2 / span 4;
}
.meeskonna-elemendid>div:nth-child(even) {
    display: flex;
    justify-content: flex-end;
}
.meeskonna-elemendid>div:nth-child(even) .meeskonna-content {}
.meeskonna-elemendid>div:last-of-type {
    margin-bottom: 5rem;
}
.element-inner {
    position: relative;
    width: 50%;
    height: 40rem;
    border-left: 1px solid transparent;
}
.element-inner video {
    object-fit: cover;
}
.element-inner img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.meeskonna-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9;
    width: 50%;
    background: var(--blue);
    transform: translateY(-5rem);
    padding: 4rem 1.6rem;
    color: var(--taust);
}
.meeskonna-content .contact-info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
}
.meeskonna-content a {
    margin-top: 1.5rem;
    color: var(--taust);
}

.meeskonna-content a.animated-link:after {
    width: 0;
}
.meeskonna-content a.animated-link:hover:after {
    width: 100%;
}
span.meeskonna-intro-text {
    margin-top: 2rem;
    display: block;
}
.page-template-template-meist .animated-lines.inside-element {
    z-index: 1 !important;
}
.animated-lines.inside-element span {
    background-color: var(--borderline);
    opacity: .4;
}
.page-template-template-hinnadplaanid .sidebar {
    padding-top: 8rem;
}
.objects-table {
    width: 100%;
    box-sizing: border-box;
    max-width: calc(66.66% - 3.5rem);
    margin-left: 3.6rem;
    background: var(--light-beige);
    border: 1px solid var(--borderline);
    border-bottom: unset;
}
.objects-table-content {
    padding: 0rem 7rem 4rem;
    padding-bottom: 0;
}
.objects-table-top {
    gap: 1rem;
    margin-bottom: 20px;
    background-color: var(--burgundy);
    color: var(--light-beige);
    padding: 4rem 7rem;
}
.objects-table-top>div:first-of-type {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}
.filter-elements {
    display: grid;
    grid-template-columns: 20% 20% auto auto;
    grid-gap: 5%;
}

#price-slider,
#size-slider {
    margin-top: 3.5rem;
}
.apartments-table {
    position: relative;
}
.apartments-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.apartments-table th,
.apartments-table td {
    border: 1px solid #ccc;
    padding: 8px;
}
.apartments-table th {
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.share-download button {
    padding: 8px 16px;
    margin-right: 10px;
    cursor: pointer;
}
/* Responsive */
@media (max-width: 768px) {
    .objects-table-top {
        flex-direction: column;
    }
    .filter-elements {
        flex-direction: column;
    }
}
/* =========================
   1) Location Radio Styling
   ========================= */
.object-location-filter {
    margin-top: 1rem;
    font-size: 1.6rem;
    text-transform: uppercase;
    cursor: pointer;
}
div#location-filter-wrapper {
    border-bottom: 1px solid var(--borderline);
    cursor: pointer;
}
.objects-table-content>div:first-of-type {
    display: flex;
    justify-content: space-between;
}
div#location-filter-wrapper label {
    position: relative;
    padding: 2rem 2rem;
    cursor: pointer;
}
div#location-filter-wrapper label.active:before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #aeaeae;
    top: calc(100% - .5px);
    left: 0;
    position: absolute;
}
.object-location-filter .location-radio-group label {
    position: relative;
    padding: 0.25rem 0.5rem;
    margin-right: 1rem;
    cursor: pointer;
    /* Hide actual radio circle */
}
/* Hide the actual radio input */
.object-location-filter input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}
/* When the radio is checked, style the label (border-bottom) */
.object-location-filter input[type="radio"]:checked+label {
    border-bottom: 2px solid #333;
}
/* For a nicer hover effect (optional) */
.object-location-filter .location-radio-group label:hover {
    background-color: #f0f0f0;
}
/* =========================
     2) Rooms Checkboxes Styling
     ========================= */
.filter-elements .rooms-count label {
    position: relative;
    margin-right: 0.5rem;
    cursor: pointer;
}
.rooms-count label.active,
.rooms-count label:hover {
    background-color: var(--taust);
    color: var(--blue);
}
/* Hide actual checkbox */
.rooms-count input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}
/* Circle container for the number */
.rooms-count .circle {
    display: inline-block;
    border: 2px solid #aaa;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 27px;
    text-align: center;
    margin-left: 0.25rem;
    font-size: 0.9rem;
    color: #333;
    user-select: none;
    /* prevent text selection */
    transition: 0.2s;
}
/* When checkbox is checked, highlight circle */
.rooms-count input[type="checkbox"]:checked+.circle {
    background-color: #333;
    color: #fff;
    border-color: #333;
}
/* Hover effect for the circle (optional) */
.rooms-count .circle:hover {
    background-color: #eee;
}
/* =========================
     3) "Free Only" Toggle Switch
     ========================= */
.free-objects {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    position: relative;
    gap: 1rem;
}
/* Container */
.toggle-switch-filter {
    display: inline-block;
    width: 7.3rem;
    height: 2.6rem;
    position: relative;
}
/* Hide real checkbox */
.toggle-switch-filter input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
/* The slider background */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 34px;
    transition: 0.4s;
    border: 1px solid var(--borderline);
}
/* The knob/circle */
.slider:before {
    position: absolute;
    content: "";
    height: 1.8rem;
    width: 1.8rem;
    left: .3rem;
    bottom: .3rem;
    background-color: var(--blue);
    border-radius: 50%;
    transition: 0.4s;
}
/* When checked, move the knob to the right */
.toggle-switch-filter input[type="checkbox"]:checked+.slider {}
.toggle-switch-filter input[type="checkbox"]:checked+.slider:before {
    transform: translateX(4.4rem);
    -webkit-transform: translateX(4.4rem);
    -moz-transform: translateX(4.4rem);
    -ms-transform: translateX(4.4rem);
    -o-transform: translateX(4.4rem);
}
/* Optional: round the slider edges */
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
/* =========================
     4) Table Sort Indicators
     ========================= */
.sortable {
    cursor: pointer;
    user-select: none;
}
.sortable:hover {}
/* Optional: highlight sorted column - not implemented here, but you could add styles. */
/* Basic table styling (optional) */
#apartments-table {
    width: 100%;
    border-collapse: collapse;
}
#apartments-table th,
#apartments-table td {
    border: unset;
    border-bottom: 1px solid #ccc;
    padding: 1.5rem 2rem;
    padding-right: 0;
    text-align: left;
    position: relative;
}
#apartments-table tr {
    position: relative;
    cursor: pointer;
}
a.apt-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -999px;
    overflow: hidden;
}
tr:hover, tr.highlight{
    background-color: rgba(0, 0, 0, 0.03);
}
.d-none {
    display: none;
}
.ui-slider-horizontal {
    height: .1rem;
}
.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: .8rem;
    height: .8rem;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
    border-radius: 3rem;
    border: unset !important;
}
.ui-slider-horizontal .ui-slider-handle {
    top: -.3em;
    margin-left: -.1rem;
}
span.ui-slider-handle.ui-corner-all.ui-state-default:focus-visible {
    outline: unset;
}
.rooms-count-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem;
}
.filter-elements .rooms-count label {
    position: relative;
    margin-right: 0.5rem;
    cursor: pointer;
    border: 1px solid white;
    width: 3rem;
    height: 3rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: 10rem;
    -webkit-border-radius: 10rem;
    -moz-border-radius: 10rem;
    -ms-border-radius: 10rem;
    -o-border-radius: 10rem;
}
.filtri-title {
    text-transform: uppercase;
    display: block;
    margin-bottom: 2rem;
}
label.filtri-title.forum-regular {
    padding-bottom: .5rem;
}
.page-template-template-hinnadplaanid .asendiplaan {
    background: var(--light-beige);
    border: 1px solid var(--borderline);
    border-right: unset;
    overflow: hidden;
}
.asendiplaan-inner {
    width: 100%;
}
.asendi_bloki_pealkiri {
    text-transform: uppercase;
    margin-bottom: 0;
}
.asendi-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.4rem;
}
.btn-square.btn-square-blue {
    background-color: var(--blue);
    color: var(--taust);
}
.asendi-top .btn-square.btn-square-blue {
    padding: 1.6rem 4rem;
}
button#filter-btn svg {
    width: 1.7rem;
    margin-right: 1rem;
}
button#filter-btn {
    letter-spacing: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}
button.reset-btn svg {
    width: .8rem;
    margin-left: 1rem;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
button.reset-btn {
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 1rem;
}
button.reset-btn:hover svg {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
}
span#price-range-display,
span#size-range-display {
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
}
.filter-elements label {
    display: block;
}
table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th {
    background-color: unset;
}
table tbody tr:hover>td,
table tbody tr:hover>th {
    background-color: unset;
}
table {
    font-size: 1.4rem;
    margin-bottom: 0;
}
table span.form-special {
    background: var(--blue);
    border-radius: 2rem;
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    -ms-border-radius: 2rem;
    -o-border-radius: 2rem;
    padding: .5rem 2rem;
    color: var(--taust);
}
body .nice-select {
    background: var(--blue) !important;
    color: var(--taust);
    width: 100%;
}
body .nice-select .list {
    background-color: var(--blue);
    color: var(--taust);
    margin-top: 4px;
    width: 100%;
}
/* Container Styles */
.additional-amenities {
    position: relative;
    width: 300px;
    /* Adjust as needed */
    font-family: Arial, sans-serif;
}
.additional-amendeties {
    min-width: 21rem !important;
}
/* Custom Dropdown Trigger */
.custom-dropdown {
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    position: relative;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--blue);
}
.custom-dropdown:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}
/* Dropdown Arrow */
.dropdown-arrow {
    margin-left: 10px;
    font-size: 12px;
}
/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    background-color: var(--blue);
    max-height: 200px;
    /* For scroll */
    overflow-y: auto;
    z-index: 1000;
    display: none;
    /* Initially hidden */
}
/* Dropdown Item */
.dropdown-item {
    padding: 8px 10px;
    display: flex;
    align-items: center;
}
.dropdown-item:hover {
    /* background-color: #f1f1f1; */
}
/* Checkbox Styles */
.dropdown-item input[type="checkbox"] {
    margin-right: 10px;
}
/* Option Icon */
.option-icon {
    width: 20px;
    height: 20px;
    margin-left: auto;
    /* Push to the right */
    border-radius: 3px;
}
/* Selected Options Display */
.selected-options {
    flex-grow: 1;
}
/* Scrollbar Styling (Optional) */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.page-content {
    max-width: 65%;
    margin: auto;
    margin-bottom: 10rem;
    z-index: 1;
    position: relative;
}
.page-title-wrap {
    background: var(--taust);
    padding: 4rem;
    margin-top: -10rem;
    border: 1px solid var(--borderline);
    margin-bottom: 4rem;
}
.page-content-inner {
    padding: 4rem;
    border: 1px solid var(--borderline);
    z-index: 1;
    position: relative;
    background: var(--taust);
    ;
}
h1.page-title {
    margin-top: 1.6rem;
    margin-bottom: 0;
}
.page-template-default .content-areas>section {
    margin: 0;
    margin-top: 0;
    margin-bottom: 4rem;
    background-color: var(--taust);
}
.page-template-default .content-areas {
    margin-top: 4rem;
}
.page-template-default .content-areas section.layout-image-text .container {
    padding: 0;
    margin: 0;
}
.layout-50-50>div {
    position: relative;
}
section.layout-image-text {
    padding: 0;
    margin: 0;
}
.content-areas section.layout-image-text .container {
    padding: 0;
    margin: 0 10rem;
}
section.layout-image-text .text-column {
    padding: 8rem;
    border-left: 1px solid var(--borderline);
}
.content-areas h2 {
    margin-bottom: 4rem;
}
.content-areas h3 {
    font-weight: 400;
    margin-bottom: 4rem;
}
.single:not(.single-projektid) .content video {
    z-index: 1;
}
section.layout-gallery>div {
    padding: 0 !important;
}
/* Clearfix (Not essential with CSS Grid) */
section::after {
    content: "";
    display: table;
    clear: both;
}
/* 2. 50:50 Content Areas */
.layout-50-50 .grid-2-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.layout-50-50 .grid-2-columns>div {
    border: 1px solid var(--borderline);
    padding: 4rem;
    background-color: var(--taust);
}
section.layout-50-50 {
    background: transparent !important;
}
/* Responsive for 50:50 */
@media (max-width: 768px) {
    .layout-50-50 .grid-2-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* 3. Image and Text Side by Side */
.layout-image-text .grid-2-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.layout-image-text .image-column {
    position: relative;
    border-right: 1rem solid var(--taust);
}
.layout-image-text .image-column img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Responsive for Image and Text */
@media (max-width: 768px) {
    .layout-image-text .grid-2-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* 4. Image Gallery */
.layout-gallery {
    padding: 4rem 0;
    position: relative;
}
.layout-gallery .swiper-container {
    width: 100%;
    height: 100%;
}
.layout-gallery .swiper-slide {
    background: #fff;
    /* Center slide content vertically and horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
}
.layout-gallery .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.page-header {
    min-height: 43.5rem;
    background-size: 100%;
    background-position: center center;
    transition: all 2s;
    -webkit-transition: all 2s;
    -moz-transition: all 2s;
    -ms-transition: all 2s;
    -o-transition: all 2s;
    background-repeat: no-repeat;
}
section.layout-wide-content {
    border: 1px solid var(--borderline);
    padding: 4rem;
}
.page-content ul,
.ostuprotsess-main-element ul,
.content-areas ul {
    list-style-type: none;
    padding: 0;
}
.page-content ul li,
.ostuprotsess-main-element ul li,
.content-areas ul li {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 1rem;
}
.page-content ul li::before,
.ostuprotsess-main-element ul li::before,
.content-areas ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.3rem;
    width: 25px;
    height: 1px;
    background-color: #325767;
}
nav.breadcrumbs {
    text-transform: uppercase;
    font-size: 1.2rem;
}
.page-title-wrap h1.page-title {
    margin-top: 1.6rem;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 3.2rem;
    letter-spacing: 1.2px;
    margin-bottom: 3rem;
}
ol {
    counter-reset: item;
    padding-left: 3rem;
}
ol ol {
    padding-left: 0;
}
ol li {
    display: block;
    position: relative;
    margin-bottom: 3rem;
}
ol>li:before {
    content: counters(item, ".")".";
    counter-increment: item;
    position: absolute;
    margin-right: 100%;
    font-size: 2.4rem;
    right: 1rem;
    width: 2rem;
}
ol>li>ol>li:before {
    font-size: 1.4rem;
}
.single-korter .with-sidebar .sidebar {
    background: var(--blue);
    color: var(--taust);
    padding-top: 8rem;
    padding-bottom: 8rem;
}
.single-korter .with-sidebar .sidebar a {
    color: var(--taust);
}
.single-korter .with-sidebar .sidebar path#arrow-back {
    stroke: var(--taust);
}
.single-korter .with-sidebar .sidebar h1 {
    margin-bottom: 1rem;
}
.single-korter a.back-top-home svg {
    margin-right: .5rem;
}
.single-apt-details>span {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    justify-content: space-between;
    padding: .8rem 0;
}
.single-apt-details {
    margin-top: 3rem;
    margin-bottom: 5rem;
}
.single-apt-price-block {
    display: flex;
    flex-direction: column;
    overflow-wrap: anywhere;
}
span.single-apt-price {
    font-size: clamp(2rem, 1.4rem + 1.5vw, 2.6rem);
    margin-bottom: 1rem;
}
.single-apt-price-block span:first-of-type {
    font-size: 1.4rem;
}
span.single-apt-sale-price.h3 {
    font-size: clamp(2rem, 1.4rem + 1.5vw, 2.6rem);
    margin-bottom: .8rem;
}
span.single-apt-price.withsale {
    font-size: 1.4rem;
    color: #A9A8A0;
    text-decoration: line-through;
}
.single-korter .center-content {
    display: grid;
    grid-template-columns: 60% 20% 20%;
    padding-top: 8rem;
}
.apt-gallery {
    position: relative;
    overflow: hidden;
    display: flex;
    margin-bottom: 8rem;
}
.thumbnail-swiper {
    width: 33.33%;
}
.main-swiper {
    width: 66.66%;
    height: 70rem;
    background-color: var(--taust);
    border-top: 1px solid var(--borderline);
    border-left: 1px solid var(--borderline);
    border-bottom: 1px solid var(--borderline);
}
.main-swiper .swiper-slide {
    padding: 0;
}
.thumbnail-swiper {
    height: 70rem;
    overflow-y: auto;
}
.thumbnail-swiper .inner {
    padding: 8rem 0px;
}
.thumbnail-swiper .swiper {
    height: 100%;
}
.thumbnail-swiper .swiper img {
    max-height: 100%;
    max-width: 100%;
}
.thumbnail-swiper .swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumbnail-swiper>div {
    width: 50%;
    margin-left: 50%;
}
.main-swiper .swiper {
    height: 100%;
}
.main-swiper .swiper-slide {
    display: flex;
    align-items: center;
    align-content: center;
    height: 100%;
    justify-content: center;
}
.main-swiper img {
    max-height: 100%;
    width: auto;
}
.page-template-template-siseviimistlus_moodboard .with-sidebar .sidebar {
    padding-top: 16rem;
}
.page-template-template-hinnadplaanid .with-sidebar {
    padding-bottom: 8rem;
}
.center-swiper {
    position: relative;
    overflow: hidden;
}
.center-swiper:nth-child(2n-1) {
    margin-top: 0rem;
}
.center-swiper:nth-child(2n) {
    margin-top: 8rem;
}
.page-template-template-siseviimistlus_moodboard .center-blocks-wrap>div:first-of-type {
    z-index: 1;
}
.page-template-template-siseviimistlus_moodboard .swiper-nav {
    bottom: unset;
    top: 3.7rem;
}
.page-template-template-siseviimistlus_moodboard .swiper-nav>div:first-of-type {
    padding: 2rem 1rem;
}
.page-template-template-siseviimistlus_moodboard .navbtn {
    margin-left: 1rem;
    margin-right: 1rem;
}
.aspectratio43 {
    aspect-ratio: 4/3;
}
.d-none {
    display: none;
}
.sisekujundaja span.sales-person-name.h2 {
    display: block;
    margin-bottom: 1rem;
}
.sisekujundaja .sales-person-job {
    margin-bottom: 4rem;
    display: block;
}
.sisekujundaja.sales-info .btn-square {
    min-width: 25rem;
    width: auto;
}
.page-template-template-asukoht .with-sidebar .sidebar,
.page-template-template-meist .with-sidebar .sidebar {
    padding-top: 8rem;
}
/* General Projekt Styles */
.projekt-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Ensure items start from the left */
}
.projekt-container .projekt-item {
    flex: 0 1 calc(50%);
    /* Two items per row by default */
    max-width: calc(50%);
    margin: 0;
    box-sizing: border-box;
    padding-right: 1rem;
}
/* Alternating margin-top for items */
.projekt-container .projekt-item:nth-child(2n) {
    margin-top: 12rem;
}
.projekt-container .projekt-item:nth-child(2n-1) {
    margin-top: 6rem;
}
/* Transform on items except the first two */
.projekt-container .projekt-item:nth-child(n+3) {
    transform: translateY(-3rem);
    transition: transform 0.6s;
    /* Simplified transition syntax */
}
/* Projekt Cover and Desc styles */
.projekt-cover {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.projekt-cover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 0%);
    backdrop-filter: blur(10px);
    z-index: 99;
    opacity: 0;
    transition: all 0.6s;
}
.projekt-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s;
}
.projekt-desc {
    padding: 3.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;
    position: relative;
    z-index: 99;
    transition: all 1s;
}
.projekt-desc p {
    color: #fff;
}
/* Blog-specific overrides for projekt-desc */
.blog .projekt-desc {
    grid-template-columns: 1fr;
    grid-gap: 0;
}
.projekt-desc>div:last-of-type {
    padding-top: 3.5rem;
}
.blog .projekt-desc>div:last-of-type {
    padding-top: 0;
    position: relative;
}
/* Projekt Silts and Titles */
.projekt-silt {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    background: var(--blue);
    color: var(--taust);
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    padding: 4rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.5rem;
    transition: all 0.5s;
}
h4.projekt-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 0;
    color: var(--must);
    transition: all 0.5s;
    z-index: 99;
    position: relative;
    margin-top: 0;
    padding-top: 0;
}
/* Special Offer styles */
.special-offer {
    color: var(--oranz);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
}
.special-offer svg {
    padding-right: 1rem;
    width: 3rem;
    transition: all 0.5s;
}
.projekt-item:hover .special-offer svg {
    transform: rotate(-20deg);
}
.projekt-item .special-offer svg path {
    transition: all 0.5s;
}
.projekt-item:hover .special-offer svg path {
    stroke-width: 2px;
}
.special-extra-text {
    opacity: 0;
    transition: all 0.5s;
    font-size: 1.2rem;
    color: var(--oranz);
    margin-top: 1rem;
    display: block;
}
.projekt-item:hover .special-extra-text {
    opacity: 1;
}
/* Overlay link to cover image */
.projekt-item .projekt-cover .overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    text-indent: -9999px;
    overflow: hidden;
}
/* Other Elements */
.projektid-filter>div:first-of-type:before {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    left: 3.4rem;
    background-color: #e3e3e3;
    top: 0;
}
div#projektid-list {
    margin-top: 20rem;
}
.objektid {
    display: grid;
    grid-template-columns: 20% auto;
    margin: 10rem 0;
}
.objektid h2 {
    font-size: 3.2rem;
    letter-spacing: -1px;
    color: var(--main-text-color);
}
.objektid>div:first-of-type {
    padding: 4rem;
    padding-top: 6rem;
    z-index: 10;
    color: #fff;
}
/* Hover Effects for non-touch devices */
@media (-moz-touch-enabled: 0),
(pointer: fine) {
    .projekt-item:hover .projekt-desc {
        transform: translateY(-5rem);
    }
    .projekt-item:hover h4.projekt-title {
        transform: translateY(-3rem);
        color: #fff;
    }
    .projekt-item:hover .projekt-cover:before {
        opacity: 1;
    }
}
/* Media Queries */
@media screen and (max-width: 1100px) {
    .projekt-container .projekt-item {
        flex: 0 1 calc(50%);
        max-width: calc(50%);
    }
    /* Preserve alternating margins on resize */
    .projekt-container .projekt-item:nth-child(2n) {
        margin-top: 12rem;
    }
    .projekt-container .projekt-item:nth-child(2n-1) {
        margin-top: 6rem;
    }
    .projekt-container .projekt-item:nth-child(n+3) {
        transform: translateY(-3rem);
    }
    div#projektid-list {
        margin-top: 7rem;
    }
}
@media screen and (max-width: 768px) {
    .projekt-container .projekt-item {
        flex: 0 1 calc(100%);
        max-width: calc(100%);
    }
}
.teised-objektid {
    background-color: var(--blue);
    color: var(--taust);
}
.teised-objektid>div {
    max-width: 66.66%;
    margin-left: 16.66%;
    display: grid;
    grid-template-columns: 25% auto;
}
.teised-objektid>div>div:first-of-type {
    padding: 4rem;
    min-height: 53rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.teised-objektid .btn-square.blue {
    background-color: var(--taust);
    color: var(--blue);
    padding: 1.6rem 2rem;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
.teised-objektid .btn-square.blue:hover {
    background-color: var(--taust);
    color: var(--blue);
    border-radius: 5rem;
    -webkit-border-radius: 5rem;
    -moz-border-radius: 5rem;
    -ms-border-radius: 5rem;
    -o-border-radius: 5rem;
}
.teised-objektid h2 {
    font-size: 3.2rem;
    color: var(--main-text-color);
}
.mfp-img {
    min-height: 50vh;
}
/* .mfp-figure {
    background: var(--taust);
} */
.hidden-term {
    display: none;
}
.view-more-btn {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5em;
}
.view-more-btn .caret {
    transition: transform 0.3s ease;
}
/* Optional: Rotate caret when active */
.view-more-btn.active .caret {
    transform: rotate(180deg);
}
.apt-extra-comfy {
    padding: 0 4rem;
    padding-top: 7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
li.term-item {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}
li.term-item span {
    line-height: 1;
}
li.term-item img {
    margin-right: 2rem;
    max-width: 3.2rem;
}
.apt-sale-info {
    padding-right: 3.6rem;
    position: relative;
}
.apt-sale-kabi {
    position: absolute;
    right: 3.6rem;
    bottom: 3.6rem;
    width: 12rem;
    z-index: 1;
}
.apt-sale-kabi svg {
    display: block;
    width: 100%;
    height: auto;
}
.apt-sale-info .inner {
    margin: 1rem;
    margin-top: 8rem;
}
.apt-sale-img {
    aspect-ratio: 4/3;
}
.apt-sale-content {
    padding: 2.4rem;
}
span.specialoffer-tag {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: var(--burgundy);
    padding: .5rem 2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
}
span.specialoffer-tag svg {
    margin-right: 1rem;
}
span.specialoffer-tag svg path {
    fill: #fff;
}
.vertical-swiper-btns :is(.swiper-button-next, .swiper-button-prev) {
    left: 50%;
    transform: rotate(90deg);
    transform-origin: left center;
    -webkit-transform: ;
    -moz-transform: ;
    -ms-transform: ;
    -o-transform: ;
}
.vertical-swiper-btns .swiper-button-prev {
    top: calc(var(--swiper-navigation-size) / 2);
}
.vertical-swiper-btns .swiper-button-next {
    top: auto;
    bottom: calc(var(--swiper-navigation-size) / 2);
}
.thumbnail-swiper .inner {
    height: 100%;
    position: relative;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
    color: var(--blue);
    background-color: #EBE6DE;
    border-radius: 5rem;
    padding: 0.7rem;
    -webkit-border-radius: 5rem;
    -moz-border-radius: 5rem;
    -ms-border-radius: 5rem;
    -o-border-radius: 5rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}
.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #EBE6DE;
    background-color: var(--blue);
}
.swiper-button-next,
.swiper-button-prev {
    width: 4rem;
}
.marker-information h3 {
    color: var(--blue);
}
.objects-table {
    float: left;
    border-top: unset;
}
.korruseplaan {
    width: calc(33.33% - 3.5rem);
    overflow: hidden;
    float: left;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30rem;
    background-color: var(--light-beige);
}
.floorplan-image {
    display: block;
    width: 90%;
    height: auto;
}
.house-plan {
    margin-top: 2rem;
}
svg.imp-object-poly.imp-object polygon {
    fill: transparent;
    transition: fill .2s ease;
    -webkit-transition: fill .2s ease;
    -moz-transition: fill .2s ease;
    -ms-transition: fill .2s ease;
    -o-transition: fill .2s ease;
}
svg.imp-object-poly.imp-object:hover polygon,
svg.imp-object-poly.imp-object.imp-object-highlighted polygon {
    fill: #ffffffb7;
}
body .imp-tooltip-content > div:nth-of-type(2) {
    padding-top: 0 !important;
}
.ssafd {
    display: flex;
}
body .imp-ui-top-right {
    right: unset;
    top: unset;
}
body .imp-ui-light .imp-ui-layers-select {
    color: var(--blue);
    background: transparent;
    box-shadow: unset;
    border: unset;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}
body .imp-ui-light .imp-ui-layers-select::-ms-expand {
    display: none !important;
}
body .imp-ui-light .imp-ui-layers-select {
    /* Remove native OS appearance */
    appearance: none;
    -webkit-appearance: none;
    /* for Safari and Chrome */
    -moz-appearance: none;
    /* for Firefox */
}
select::-ms-expand {
    display: none;
}
.imp-ui-light .imp-ui-layers-menu-wrap .imp-icon {
    display: none;
}
/* Target the select by its classes */
.imp-ui-element.imp-ui-layers-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
}
/* Style for disabled state */
.imp-ui-element.imp-ui-layers-select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
/* IE/Edge specific removal of dropdown arrow */
.imp-ui-element.imp-ui-layers-select::-ms-expand {
    display: none;
}
.korruseplaan h3 {
    text-transform: uppercase;
    display: block;
    padding: 0 1.9rem;
    font-size: 2.4rem;
}
.korruseplaan .inner {
    text-align: left;
}
.shareplan {
    padding: 1rem 7rem;
    text-align: right;
}
.shareplan {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 7rem;
}


.shareplan > div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 4rem;
}
.shareplan div svg {
    background: #EBE6DE;
    width: 4rem;
    height: 4rem;
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 0rem;
    border-radius: 3rem;
    margin-right: 1rem;
}
.single-korter .shareplan {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10rem;
    background: transparent;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0;
}
.single-korter .shareplan > div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 0;
    margin-top: 2rem;
}
.mob-toggle {
    position: relative;
    width: 4rem;
    margin-left: auto;
    padding: 2rem 0;
    cursor: pointer;
}
.mob-toggle span {
    display: block;
    background-color: var(--taust);
    height: .1rem;
    width: 100%;
    margin: .7rem 0;
}
body:not(
    .page-template-template-siseviimistlus_moodboard,
    .page-template-template-hinnadplaanid,
    .single-korter,
    .page-template-template-asukoht,
    .page-template-template-ehitusest,
    .page-template-template-galerii,
    .page-template-template-muugiinfo,
    .page-template-default
) .mob-toggle span {
    background-color: var(--main-text-color);
}
.mob-toggle span:last-of-type {
    width: 50%;
    margin-left: 50%;
}
.visible-mobile {
    display: none !important;
}








.mfp-figure:after {
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
    background: var(--taust);
}



.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: var(--lightbrown);
}
.mfp-arrow-left:after {
    border-right: 17px solid var(--lightbrown);
    display: none;
}
.mfp-arrow-left:before {
    border-right: 27px solid var(--lightbrown);
}
.mfp-arrow-right:before {
    border-left: 27px solid var(--lightbrown);
}
.mfp-arrow-right:after {
    border-left: 17px solid var(--lightbrown);
    display: none
}
.mfp-arrow svg {
    width: 2rem;
}
.mfp-arrow-right svg {
    transform: rotate(180deg);
}
body .noUi-target {
    background: unset;
    border-radius: unset;
    border: unset;
    box-shadow: unset;
}
body .noUi-base,
body .noUi-connects {
    height: .2rem;
}
body .noUi-base,
body .noUi-connects,
body .noUi-connect {
    background-color: var(--taust)
}

body .noUi-handle:after, 
body .noUi-handle:before {
    content: "";
    display: block;
    position: absolute;
    height: .8rem;
    width: .8rem;
    background: var(--taust);
    border-radius: 1rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
}
body .noUi-horizontal .noUi-handle {

    top: -13px;

}
body .noUi-handle {
    border: unset;
    border-radius: unset;
    background: transparent;
    cursor: default;
    box-shadow: unset;
}
#printBtn, .sharethis {
    cursor: pointer;
}


body .imp-tooltip-content h3 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 400  !important;
    font-style: normal  !important;
}






svg.imp-object-poly.imp-object.active polygon {
    fill: #8fa3ac88;
}

.single-korter .swiper-slide a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    overflow: hidden;
    z-index: 999;
}
label.filter-option.v6 {
    display: none;
}
.c-swipe-indicator {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(90deg,hsla(0,0%,100%,0),var(--light-beige) 52.6%);
    opacity: 1;
    pointer-events: none;
    transition: opacity .2s ease-in-out;
    z-index: 9;
    padding-top: 3.5rem;
}
@keyframes e {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(16px)
    }
}
.c-swipe-indicator svg {
    animation: e 1s cubic-bezier(.455,.03,.515,.955) infinite alternate-reverse both;
}














.page-template-template-asukoht .top-large-img,
.page-template-template-galerii .top-large-img,
.page-template-template-ehitusest .top-large-img {
    z-index: -2;
}

.content > .animated-lines::before, 
.content > .animated-lines::after,
.content > .animated-lines span {
    top: 100%;
    transition: all 5s;
    -webkit-transition: all 5s;
    -moz-transition: all 5s;
    -ms-transition: all 5s;
    -o-transition: all 5s;
}
.loaded .content > .animated-lines::before, 
.loaded .content > .animated-lines::after,
.loaded .content > .animated-lines span {
    top: 0;
}


.animated-lines .line {
    position: relative;
}

.content > .animated-lines .line:nth-child(2),
.content > .animated-lines .line:nth-child(4),
.content > .animated-lines .line:nth-child(6) {
    /* background-color: red;
    width: 5px; */
    top: -100%;
}

.loaded .content > .animated-lines .line:nth-child(2),
.loaded .content > .animated-lines .line:nth-child(4),
.loaded .content > .animated-lines .line:nth-child(6) {
    top: 0%;
}
.content > .animated-lines::before, 
.content > .animated-lines::after,

.content > .animated-lines .line:nth-child(3),
.content > .animated-lines .line:nth-child(5) {
    bottom: 100%;
    /* background-color: blue;
    width: 5px; */
}
.loaded .content >  .animated-lines::before, 
.loaded .content > .animated-lines::after,
.loaded .content > .animated-lines .line:nth-child(3),
.loaded .content > .animated-lines .line:nth-child(4) {
    bottom: 0;
}



/* home-hero-wrap */



.home-hero-wrap > .animated-lines::before, 
.home-hero-wrap > .animated-lines::after,
.home-hero-wrap > .animated-lines span {
    top: 100%;
    transition: all 5s;
    -webkit-transition: all 5s;
    -moz-transition: all 5s;
    -ms-transition: all 5s;
    -o-transition: all 5s;
}
.loaded .home-hero-wrap > .animated-lines::before, 
.loaded .home-hero-wrap > .animated-lines::after,
.loaded .home-hero-wrap > .animated-lines span {
    top: 0;
}


.animated-lines .line {
    position: relative;
}

.home-hero-wrap > .animated-lines .line:nth-child(2),
.home-hero-wrap > .animated-lines .line:nth-child(4),
.home-hero-wrap > .animated-lines .line:nth-child(6) {
    /* background-color: red;
    width: 5px; */
    top: -100%;
}

.loaded .home-hero-wrap > .animated-lines .line:nth-child(2),
.loaded .home-hero-wrap > .animated-lines .line:nth-child(4),
.loaded .home-hero-wrap > .animated-lines .line:nth-child(6) {
    top: 0%;
}
.home-hero-wrap > .animated-lines::before, 
.home-hero-wrap > .animated-lines::after,

.home-hero-wrap > .animated-lines .line:nth-child(3),
.home-hero-wrap > .animated-lines .line:nth-child(5) {
    bottom: 100%;
    /* background-color: blue;
    width: 5px; */
}
.loaded .home-hero-wrap >  .animated-lines::before, 
.loaded .home-hero-wrap > .animated-lines::after,
.loaded .home-hero-wrap > .animated-lines .line:nth-child(3),
.loaded .home-hero-wrap > .animated-lines .line:nth-child(4) {
    bottom: 0;
}

body .fluentform .ff-message-success {
    border: unset;
    box-shadow: unset;
    margin-top: 0;
    padding: 0 !important;
    position: relative;
    text-align: center;
}


.kabi-el-single svg {
    max-width: 12rem;
    height: auto;
    width: 100%;
}
.single-korter .with-sidebar .sidebar {
    position: relative;
}
.single-korter .with-sidebar .sidebar .kabi-el-single {
    position: absolute;
    bottom: 0;
    left: 3.7rem;
}

.sv-sidebar.sidebar .kabi-el {
    position: absolute;
    bottom: 0;
    left: 3.7rem;
}
.sv-sidebar.sidebar {
    position: relative;
}
.sv-sidebar.sidebar .kabi-el svg {
    width: 100%;
    height: auto;
}

body.page-template-template-siseviimistlus_moodboard {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-siseviimistlus_moodboard .moodboard-image {
    display: block;
    width: 100%;
    height: auto;
}
body.page-template-template-siseviimistlus_moodboard .wrap {
    padding-top: 0;
}

.page-template-template-siseviimistlus_moodboard .header-logo,
.page-template-template-siseviimistlus_moodboard .menu-wrap,
.page-template-template-siseviimistlus_moodboard .menu-wrap > div:first-of-type,
.page-template-template-siseviimistlus_moodboard .menu .sub-menu,

.page-template-template-siseviimistlus_moodboard .fixed-footer .footer-logo,
.page-template-template-siseviimistlus_moodboard .footer-social {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-siseviimistlus_moodboard .header-logo a,
.page-template-template-siseviimistlus_moodboard .menu-wrap a,
.page-template-template-siseviimistlus_moodboard .sidebar a {
    color: var(--main-text-color) !important;
}

.page-template-template-siseviimistlus_moodboard .menu li a,
.page-template-template-siseviimistlus_moodboard .menu li a > * {
    color: var(--taust) !important;
}

.page-template-template-siseviimistlus_moodboard .menu > li.menu-item-has-children > a::after {
    background-image: url(images/arrow-down.svg);
}

.page-template-template-siseviimistlus_moodboard .sidebar path,
.page-template-template-siseviimistlus_moodboard .kabi-el path {
    stroke: var(--main-text-color);
}

.page-template-template-siseviimistlus .sv-pakett,
.page-template-template-siseviimistlus .sv-pakett a {
    color: var(--taust) !important;
}

/* Asukoht light theme. */
body.page-id-597,
.page-id-597 .page-title-wrap,
.page-id-597 .content-areas > section {
    background-color: var(--light-beige);
    color: var(--taust);
}
.page-id-597 .page-title-wrap a,
.page-id-597 .content-areas a,
.page-id-597 .footer-extra-links a {
    color: var(--taust) !important;
}
.page-id-597 .layout-50-50 .grid-2-columns > div {
    background-color: var(--light-beige);
    color: var(--taust);
}
.page-id-597 .header-logo a,
.page-id-597 .menu-wrap a,
.page-id-597 .menu li a,
.page-id-597 .menu li a > *,
.page-id-597 .header-contacts a {
    color: var(--taust) !important;
}
.page-id-597 .menu > li.menu-item-has-children > a::after {
    background-image: url(images/arrow-down.svg);
}
.page-id-597 .header-contacts svg {
    color: var(--taust);
}
.page-id-597 .header-email svg {
    stroke: var(--light-beige);
}
.page-id-597 header,
.page-id-597 .header-logo,
.page-id-597 .menu-wrap,
.page-id-597 .menu-wrap > div:first-of-type,
.page-id-597 .menu .sub-menu,
.page-id-597 .fixed-footer .footer-logo,
.page-id-597 .footer-social {
    background-color: var(--light-beige);
    color: var(--taust);
}
.page-id-597 .ig-link:not(:hover) rect {
    fill: #B7A997;
    stroke: #B7A997;
}
.page-id-597 .ig-link:not(:hover) path {
    fill: var(--light-beige);
    stroke: var(--light-beige);
}
.page-id-597 .ig-link:not(:hover) line {
    fill: var(--light-beige);
    stroke: var(--light-beige);
}

body.page-template-template-asukoht,
.page-template-template-asukoht .center-blocks-wrap {
    background-color: var(--light-beige);
    color: var(--taust);
}
.page-template-template-asukoht .top-large-img {
    z-index: 0;
}
.page-template-template-asukoht .center-block-large-banner {
    z-index: 0;
}
.page-template-template-asukoht .large-banner-content,
.page-template-template-asukoht .large-banner-content a {
    color: var(--blue);
}
.page-template-template-asukoht .large-banner-content {
    background: var(--light-beige);
    opacity: 1;
}
.page-template-template-asukoht .poi-map-wrap,
.page-template-template-asukoht .poi-map-wrap h2,
.page-template-template-asukoht .poi-map-wrap .filter-option,
.page-template-template-asukoht .poi-map-wrap .toggle-switch,
.page-template-template-asukoht .poi-map-wrap .toggle-label {
    color: #B7A997 !important;
}
.page-template-template-asukoht .poi-map-wrap .toggle-switch {
    border-color: #B7A997;
}
.page-template-template-asukoht .poi-map-wrap .toggle-switch::before,
.page-template-template-asukoht .poi-map-wrap .filter-option input[type="checkbox"]:checked + .toggle-switch::before {
    background-color: #B7A997;
}
.page-template-template-asukoht .poi-map-wrap .filter-option input[type="checkbox"]:checked + .toggle-switch,
.page-template-template-asukoht .poi-map-wrap .filter-option input[type="checkbox"]:checked + .toggle-switch .toggle-label {
    color: var(--taust) !important;
}
.page-template-template-asukoht .poi-map-wrap .filter-option input[type="checkbox"]:checked + .toggle-switch::before {
    background-color: var(--taust);
}
.page-template-template-asukoht .ig-link:not(:hover) rect {
    fill: #B7A997;
    stroke: #B7A997;
}
.page-template-template-asukoht .ig-link:not(:hover) path,
.page-template-template-asukoht .ig-link:not(:hover) line {
    fill: var(--light-beige);
    stroke: var(--light-beige);
}
.page-template-template-asukoht .ig-link:hover rect {
    fill: var(--taust);
    stroke: var(--taust);
}
.page-template-template-asukoht .ig-link:hover path,
.page-template-template-asukoht .ig-link:hover line {
    fill: var(--light-beige);
    stroke: var(--light-beige);
}

.page-template-template-asukoht header,
.page-template-template-asukoht .header-logo,
.page-template-template-asukoht .menu-wrap,
.page-template-template-asukoht .menu-wrap > div:first-of-type,
.page-template-template-asukoht .menu .sub-menu,
.page-template-template-asukoht .sidebar,
.page-template-template-asukoht .fixed-footer .footer-logo,
.page-template-template-asukoht .footer-social {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-asukoht .header-logo a,
.page-template-template-asukoht .menu-wrap a,
.page-template-template-asukoht .menu li a,
.page-template-template-asukoht .menu li a > *,
.page-template-template-asukoht .center-block-content,
.page-template-template-asukoht .center-block-content a,
.page-template-template-asukoht .footer-extra-links a {
    color: var(--taust) !important;
}

.page-template-template-asukoht .menu > li.menu-item-has-children > a::after {
    background-image: url(images/arrow-down.svg);
}

.page-template-template-asukoht .sidebar path,
.page-template-template-asukoht .kabi-el path {
    stroke: var(--main-text-color);
}
.page-template-template-asukoht .with-sidebar .sidebar {
    position: relative;
}
.page-template-template-asukoht .sidebar .kabi-el {
    position: absolute;
    bottom: 0;
    left: 3.7rem;
    width: calc(100% - 7.4rem);
    max-width: 20rem;
}
.sidebar .kabi-el {
    max-width: 20rem;
}
.page-template-template-asukoht .sidebar .kabi-el svg {
    display: block;
    width: 100%;
    height: auto;
}

.page-template-template-asukoht .header-email svg {
    stroke: var(--light-beige);
}

body.page-template-template-hinnadplaanid {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-hinnadplaanid header,
.page-template-template-hinnadplaanid .header-logo,
.page-template-template-hinnadplaanid .menu-wrap,
.page-template-template-hinnadplaanid .menu-wrap > div:first-of-type,
.page-template-template-hinnadplaanid .menu .sub-menu,
.page-template-template-hinnadplaanid .sidebar,
.page-template-template-hinnadplaanid .fixed-footer .footer-logo,
.page-template-template-hinnadplaanid .footer-social {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-hinnadplaanid .header-logo a,
.page-template-template-hinnadplaanid .menu-wrap a {
    color: var(--taust) !important;
}

.page-template-template-hinnadplaanid .menu li a,
.page-template-template-hinnadplaanid .menu li a > * {
    color: var(--taust) !important;
}

.page-template-template-hinnadplaanid .menu > li.menu-item-has-children > a::after {
    background-image: url(images/arrow-down.svg);
}

.page-template-template-hinnadplaanid .sidebar path {
    stroke: var(--main-text-color);
}

.page-template-template-siseviimistlus_moodboard .header-email svg,
.page-template-template-hinnadplaanid .header-email svg {
    stroke: var(--light-beige);
}

.page-template-template-siseviimistlus_moodboard .ig-link:not(:hover) rect,
.page-template-template-hinnadplaanid .ig-link:not(:hover) rect {
    fill: var(--taust);
    stroke: var(--taust);
}

.page-template-template-siseviimistlus_moodboard .ig-link:not(:hover) path,
.page-template-template-hinnadplaanid .ig-link:not(:hover) path {
    fill: var(--light-beige);
    stroke: var(--taust);
}

.page-template-template-siseviimistlus_moodboard .ig-link:not(:hover) line,
.page-template-template-hinnadplaanid .ig-link:not(:hover) line {
    fill: var(--light-beige);
    stroke: var(--light-beige);
}

.page-template-template-hinnadplaanid #hinnadplaanid .filter-elements,
.page-template-template-hinnadplaanid #hinnadplaanid .custom-select-display,
.page-template-template-hinnadplaanid #hinnadplaanid .custom-select-overlay {
    background-color: var(--burgundy);
    color: var(--light-beige);
}

.page-template-template-hinnadplaanid #hinnadplaanid .custom-select-display,
.page-template-template-hinnadplaanid #hinnadplaanid .custom-select-overlay,
.page-template-template-hinnadplaanid #hinnadplaanid .rooms-count label {
    border-color: var(--light-beige);
}

.page-template-template-hinnadplaanid #hinnadplaanid .noUi-base,
.page-template-template-hinnadplaanid #hinnadplaanid .noUi-connects,
.page-template-template-hinnadplaanid #hinnadplaanid .noUi-connect,
.page-template-template-hinnadplaanid #hinnadplaanid .noUi-handle::before,
.page-template-template-hinnadplaanid #hinnadplaanid .noUi-handle::after {
    background-color: var(--light-beige);
}

.page-template-template-hinnadplaanid #hinnadplaanid .rooms-count label.active,
.page-template-template-hinnadplaanid #hinnadplaanid .rooms-count label:hover {
    background-color: var(--light-beige);
    color: var(--burgundy);
}

body.single-korter,
.single-korter .center-content,
.single-korter .main-swiper,
.single-korter .apt-extra-comfy {
    background-color: var(--light-beige);
    color: var(--taust);
}

.single-korter header,
.single-korter .header-logo,
.single-korter .menu-wrap,
.single-korter .menu-wrap > div:first-of-type,
.single-korter .menu .sub-menu,
.single-korter .fixed-footer .footer-logo,
.single-korter .footer-social {
    background-color: var(--light-beige);
    color: var(--taust);
}

.single-korter .menu li a,
.single-korter .menu li a > *,
.single-korter .header-contacts a {
    color: var(--taust) !important;
}

.single-korter .menu > li.menu-item-has-children > a::after {
    background-image: url(images/arrow-down.svg);
}

.single-korter .header-email svg {
    stroke: var(--light-beige);
}

.single-korter .with-sidebar .sidebar,
.single-korter .with-sidebar .sidebar a {
    color: var(--light-beige);
}

.single-korter .with-sidebar .sidebar path#arrow-back {
    stroke: #B7A997;
}

.single-korter .ig-link:not(:hover) rect {
    fill: var(--taust);
    stroke: var(--taust);
}

.single-korter .ig-link:not(:hover) path {
    fill: var(--light-beige);
    stroke: var(--taust);
}

.single-korter .ig-link:not(:hover) line {
    fill: var(--light-beige);
    stroke: var(--light-beige);
}

.single-korter .center-content {
    grid-template-columns: 20% 60% 20%;
    align-items: start;
}

.single-korter .apt-gallery {
    grid-column: 2;
    display: block;
    width: 100%;
    margin-bottom: 8rem;
}

.single-korter .apt-extra-comfy {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    min-width: 0;
    border-right: 1px solid var(--borderline);
    border-top: 1px solid var(--borderline);
    justify-content: flex-start;
}

.single-korter .apt-sale-info {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    min-height: 100%;
}

.apt-gallery-toolbar {
    position: relative;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border: 1px solid var(--borderline);
    border-bottom: 0;
    border-left: 0;
}

.apt-gallery-tabs,
.apt-gallery-controls {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.apt-gallery-tab {
    padding: .5rem 2rem;
    border: 1px solid var(--borderline);
    border-radius: .8rem;
    color: var(--taust);
    background: transparent;
    font: inherit;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0;
}

.apt-gallery-tab.is-active,
.apt-gallery-tab:hover {
    color: var(--light-beige);
    background: var(--taust);
}

.apt-gallery-panel[hidden] {
    display: none !important;
}

.apt-plan-panel,
.single-korter .main-swiper {
    display: flex;
    width: 100%;
    height: 70rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--borderline);
    background: #fff;
}

.apt-plan-panel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.apt-plan-panel > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.single-korter .main-swiper .swiper {
    width: 100%;
}

.single-korter .main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-korter .main-swiper-btns .swiper-button-prev,
.single-korter .main-swiper-btns .swiper-button-next,
.single-korter .apt-gallery-zoom {
    position: static;
    width: 4rem;
    height: 4rem;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--borderline);
    border-radius: 50%;
    color: var(--blue);
    background: #EBE6DE;
    cursor: pointer;
}

.single-korter .main-swiper-btns {
    position: static;
    display: none;
    align-items: center;
    gap: .8rem;
}

.single-korter .apt-gallery-toolbar.is-photos .main-swiper-btns {
    display: flex;
}

.single-korter .main-swiper-btns .swiper-button-prev::after,
.single-korter .main-swiper-btns .swiper-button-next::after {
    font-size: 1.2rem;
}

.single-korter .apt-gallery .shareplan {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 3rem;
    margin: 0;
    padding: 2rem 0;
}

.single-korter .apt-gallery .shareplan > div {
    margin: 0;
}

.single-korter .term-list .hidden-term {
    display: none;
}

.single-korter .term-list.is-expanded .hidden-term {
    display: flex;
}

.single-korter .view-more-btn {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--taust);
    text-transform: uppercase;
}

@media all and (max-width: 900px) {
    .single-korter .center-content {
        grid-template-columns: 1fr;
    }
    .single-korter .apt-extra-comfy,
    .single-korter .apt-gallery,
    .single-korter .apt-sale-info {
        grid-column: 1;
    }
    .single-korter .apt-extra-comfy {
        grid-row: 1;
        display: flex !important;
        padding: 3rem 2rem;
        border: 1px solid var(--borderline);
    }
    .single-korter .apt-gallery {
        grid-row: 2;
    }
    .single-korter .apt-sale-info {
        grid-row: 3;
        padding: 0;
    }
    .apt-plan-panel,
    .single-korter .main-swiper {
        height: auto;
        aspect-ratio: 3 / 2;
    }
    .apt-gallery-tab {
        padding: 1.4rem .5rem;
        font-size: 1rem;
    }
    .apt-gallery-toolbar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .apt-gallery-controls {
        margin-left: auto;
    }
}

/* Meist team section. */
.page-template-template-meist .meist-inimesed,
.page-template-template-meist .meeskonna-content {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-meist .meist-inimesed .inner-sidebar,
.page-template-template-meist .meeskonna-content a {
    color: var(--taust) !important;
}

.page-template-template-meist .meeskonna-content .animated-link::before,
.page-template-template-meist .meeskonna-content .animated-link::after {
    background-color: var(--taust);
}

.page-template-template-meist .objektid,
.page-template-template-meist h4.projekt-title {
    color: var(--main-text-color);
}

.page-template-template-meist .projekt-silt {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-meist .meist-inimesed.no-sidebar .meeskonna-elemendid,
.page-template-template-meist .meist-inimesed.no-team .inner-sidebar,
.page-template-template-meist .objektid > div:only-child {
    grid-column: 1 / -1;
}

/* Ehitusest light theme. */
body.page-template-template-ehitusest,
.page-template-template-ehitusest footer {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-ehitusest header,
.page-template-template-ehitusest .header-logo,
.page-template-template-ehitusest .menu-wrap,
.page-template-template-ehitusest .menu-wrap > div:first-of-type,
.page-template-template-ehitusest .menu .sub-menu,
.page-template-template-ehitusest .sidebar,
.page-template-template-ehitusest .fixed-footer .footer-logo,
.page-template-template-ehitusest .footer-social {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-ehitusest .with-sidebar .sidebar {
    padding-top: 18rem;
}
.page-template-template-ehitusest .with-sidebar .sidebar {
    position: relative;
}
.page-template-template-ehitusest .sidebar .kabi-el {
    position: absolute;
    left: 3.7rem;
    bottom: 0;
    width: calc(100% - 7.4rem);
}
.page-template-template-ehitusest .sidebar .kabi-el svg {
    display: block;
    width: 100%;
    height: auto;
}
.page-template-template-meist .with-sidebar .sidebar {
    position: relative;
}
.page-template-template-meist .sidebar .kabi-el {
    position: absolute;
    left: 3.7rem;
    bottom: 0;
    width: calc(100% - 7.4rem);
}
.page-template-template-meist .sidebar .kabi-el svg {
    display: block;
    width: 100%;
    height: auto;
}

.page-template-template-ehitusest .header-logo a,
.page-template-template-ehitusest .menu-wrap a,
.page-template-template-ehitusest .menu li a,
.page-template-template-ehitusest .menu li a > *,
.page-template-template-ehitusest .sales-info a,
.page-template-template-ehitusest .footer-extra-links a {
    color: var(--taust) !important;
}

.page-template-template-ehitusest .menu > li.menu-item-has-children > a::after {
    background-image: url(images/arrow-down.svg);
}

.page-template-template-ehitusest .sidebar path {
    stroke: var(--main-text-color);
}

.page-template-template-ehitusest .header-email svg {
    stroke: var(--light-beige);
}

.page-template-template-ehitusest .constrction-intro,
.page-template-template-ehitusest .teised-objektid {
    color: var(--light-beige);
}

.page-template-template-ehitusest .constrction-intro > div:only-child,
.page-template-template-ehitusest .equal-content-areas > div:only-child,
.page-template-template-ehitusest .teised-objektid > div > div:only-child {
    grid-column: 1 / -1;
}

.page-template-template-ehitusest .teised-objektid .btn-square.blue {
    background-color: #fff;
    color: var(--taust) !important;
}

/* Müügiinfo light theme. */
body.page-template-template-muugiinfo,
.page-template-template-muugiinfo footer {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-muugiinfo header,
.page-template-template-muugiinfo .header-logo,
.page-template-template-muugiinfo .menu-wrap,
.page-template-template-muugiinfo .menu-wrap > div:first-of-type,
.page-template-template-muugiinfo .menu .sub-menu,
.page-template-template-muugiinfo .sidebar,
.page-template-template-muugiinfo .fixed-footer .footer-logo,
.page-template-template-muugiinfo .footer-social {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-muugiinfo .header-logo a,
.page-template-template-muugiinfo .menu-wrap a,
.page-template-template-muugiinfo .menu li a,
.page-template-template-muugiinfo .menu li a > *,
.page-template-template-muugiinfo .footer-extra-links a {
    color: var(--taust) !important;
}

.page-template-template-muugiinfo .menu > li.menu-item-has-children > a::after {
    background-image: url(images/arrow-down.svg);
}

.page-template-template-muugiinfo .sidebar path {
    stroke: var(--main-text-color);
}

.page-template-template-muugiinfo .header-email svg {
    stroke: var(--light-beige);
}

.page-template-template-muugiinfo .sales-info a {
    color: var(--taust) !important;
}

.page-template-template-muugiinfo .hinnainfo-seletused,
.page-template-template-muugiinfo .ostuprotsess {
    color: var(--light-beige);
}

.page-template-template-muugiinfo .hinnainfo-seletused li::before,
.page-template-template-muugiinfo .connector {
    background-color: var(--light-beige);
}

.page-template-template-muugiinfo .etapp-number {
    background-color: var(--light-beige);
    color: var(--taust);
}

.muugiinfo-flex-content {
    width: 66.66%;
    margin: 10rem auto 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.muugiinfo-flex-block {
    margin-bottom: 2rem;

}

.muugiinfo-flex-wide,
.muugiinfo-flex-split > div {
    padding: 4rem;
    border: 1px solid var(--borderline);
}

.muugiinfo-flex-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.muugiinfo-flex-split > div:only-child {
    grid-column: 1 / -1;
}

.muugiinfo-flex-split > div,
.muugiinfo-flex-wide {
    background-color: var(--light-beige);
}

    

.muugiinfo-flex-block > :first-child,
.muugiinfo-flex-split > div > :first-child {
    margin-top: 0;
}

.muugiinfo-flex-block > :last-child,
.muugiinfo-flex-split > div > :last-child {
    margin-bottom: 0;
}

/* Galerii light theme and flexible content blocks. */
body.page-template-template-galerii {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-galerii header,
.page-template-template-galerii .header-logo,
.page-template-template-galerii .menu-wrap,
.page-template-template-galerii .menu-wrap > div:first-of-type,
.page-template-template-galerii .menu .sub-menu,
.page-template-template-galerii .sidebar,
.page-template-template-galerii .fixed-footer .footer-logo,
.page-template-template-galerii .footer-social {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-galerii footer {
    background-color: var(--light-beige);
    color: var(--taust);
}

.page-template-template-galerii .with-sidebar .sidebar,
.page-template-template-muugiinfo .with-sidebar .sidebar {
    padding-top: 18rem;
}

.page-template-template-galerii .header-logo a,
.page-template-template-galerii .menu-wrap a,
.page-template-template-galerii .menu li a,
.page-template-template-galerii .menu li a > *,
.page-template-template-galerii .footer-extra-links a {
    color: var(--taust) !important;
}

.page-template-template-galerii .menu > li.menu-item-has-children > a::after {
    background-image: url(images/arrow-down.svg);
}

.page-template-template-galerii .sidebar path {
    stroke: var(--main-text-color);
}

.page-template-template-galerii .header-email svg {
    stroke: var(--light-beige);
}


.gallery-flex-content {
    width: 80%;
    padding: 4rem 1rem 12rem;
}

.gallery-flex-block {
    margin-bottom: 2rem;
}

.gallery-flex-title-text,
.gallery-flex-split,
.gallery-flex-content-image,
.gallery-flex-images-text {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.gallery-flex-heading,
.gallery-flex-text {
    min-width: 0;
    padding: 4rem;
    border: 1px solid var(--borderline);
    background-color: var(--light-beige);
}

.gallery-flex-heading {
    display: flex;
    align-items: center;
}

.gallery-flex-heading h2,
.gallery-flex-text > :first-child {
    margin-top: 0;
}

.gallery-flex-heading h2,
.gallery-flex-text > :last-child {
    margin-bottom: 0;
}

.gallery-flex-text .btn-square {
    margin-top: 2rem;
}

.gallery-flex-text .btn-square.blue {
    color: var(--light-beige) !important;
}

.gallery-flex-image {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-flex-image a,
.gallery-flex-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-flex-image img {
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-flex-image a:hover img {
    transform: scale(1.02);
}

.gallery-flex-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery-flex-content-image .gallery-flex-text,
.gallery-flex-images-text-right .gallery-flex-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-flex-large-image .gallery-flex-image {
    aspect-ratio: 16 / 9;
}

.gallery-flex-images-text {
    align-items: stretch;
}

.gallery-flex-images-text > .gallery-flex-image,
.gallery-flex-images-text > .gallery-flex-image a,
.gallery-flex-images-text > .gallery-flex-image img {
    height: 100%;
    aspect-ratio: auto;
}

.gallery-flex-images-text > .gallery-flex-image img {
    object-fit: cover;
}

.gallery-flex-images-text-right {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 2rem;
}

@media all and (max-width: 900px) {
    .page-template-template-ehitusest .with-sidebar .sidebar {
        padding-top: 2rem;
    }

    .muugiinfo-flex-content {
        width: auto;
        margin: 4rem .6rem 0;
    }

    .muugiinfo-flex-split {
        grid-template-columns: 1fr;
    }

    .muugiinfo-flex-wide,
    .muugiinfo-flex-split > div {
        padding: 3rem 2rem;
    }

    .page-template-template-galerii .with-sidebar .sidebar {
        padding-top: 2rem;
    }

    .gallery-flex-content {
        width: 100%;
        padding: 2rem .6rem 10rem;
    }

    .gallery-flex-title-text,
    .gallery-flex-split,
    .gallery-flex-content-image,
    .gallery-flex-images-text {
        grid-template-columns: 1fr;
    }

    .gallery-flex-heading,
    .gallery-flex-text {
        padding: 3rem 2rem;
    }

    .gallery-flex-images-text > .gallery-flex-image {
        aspect-ratio: 4 / 3;
    }
}




g#facebook path {
    fill: var(--main-text-color);
}

g#facebook:hover path {
    fill: #fff;
}



g#instagram rect {
    fill: var(--main-text-color);
    stroke: var(--main-text-color);
}

g#instagram path {
    stroke: var(--main-text-color);
    /* fill: var(--light-beige); */
}

g#instagram:hover rect {
    fill: #fff;
    stroke: #fff;
}

g#instagram:hover path {
    stroke: #fff;
}



/* FB HOVERID */
:is(
    .page-template-template-siseviimistlus_moodboard,
    .page-template-template-hinnadplaanid,
    .single-korter,
    .page-template-template-asukoht,
    .page-template-template-ehitusest,
    .page-template-template-galerii,
    .page-template-template-muugiinfo,
    .page-template-default
) g#facebook:hover path {
    fill: var(--taust);
}

/* INSTAgram HOVERID */

:is(
    .page-template-template-siseviimistlus_moodboard,
    .page-template-template-hinnadplaanid,
    .single-korter,
    .page-template-template-asukoht,
    .page-template-template-ehitusest,
    .page-template-template-galerii,
    .page-template-template-muugiinfo,
    .page-template-default
) a:hover svg g#instagram #Rectangle_7 {
    fill: var(--taust);
    stroke: var(--taust);
}

:is(
    .page-template-template-siseviimistlus_moodboard,
    .page-template-template-hinnadplaanid,
    .single-korter,
    .page-template-template-asukoht,
    .page-template-template-ehitusest,
    .page-template-template-galerii,
    .page-template-template-muugiinfo,
    .page-template-default
) a:hover svg g#instagram #Path_1 {
    fill: #fff;
    stroke: var(--taust);
}

:is(
    .page-template-template-siseviimistlus_moodboard,
    .page-template-template-hinnadplaanid,
    .single-korter,
    .page-template-template-asukoht,
    .page-template-template-ehitusest,
    .page-template-template-galerii,
    .page-template-template-muugiinfo,
    .page-template-default
) a:hover svg g#instagram #Line_33 {
    stroke: #fff;
}


a.avastabtn, .imp-tooltip-content a {
    background: #fff;
    padding: .5rem 2rem;
    text-transform: uppercase;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1rem;
    color: var(--taust);
    font-size: 12px;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
a.avastabtn:hover, .imp-tooltip-content a:hover {
    border-radius: 10rem;
    -webkit-border-radius: 10rem;
    -moz-border-radius: 10rem;
    -ms-border-radius: 10rem;
    -o-border-radius: 10rem;
}
.imp-tooltip-wrap .imp-tooltip {
    border: 1px solid #efecea69;
}



.shareplan {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shareplan > div {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.sharethis {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shareplan svg {
    display: block;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.shareplan svg * {
    transition: stroke 0.2s ease;
}

.shareplan > div > span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.shareplan > div:hover svg {
    background-color: var(--taust);
}

.shareplan > div:hover svg * {
    stroke: #fff;
}

.shareplan > div:hover > span {
    transform: translateX(3px);
}
@media all and (min-width: 769px) and (max-width: 1100px) {
    header {
        grid-template-columns: 17rem auto;
        background-color: var(--taust);
        border-bottom: 1px solid var(--borderline);
    }
    .header-logo,
    .menu-wrap {
        border: unset;
    }
    .header-contacts {
        margin-left: auto;
        margin-right: 2rem;
    }
    .home .header-logo {
        opacity: 1;
    }
    .mob-toggle.visible-mobile {
        display: block !important;
    }
    .menu-wrap > div:first-of-type {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: auto;
        z-index: -1;
        background: var(--taust);
        transform: translateY(-100%);
        transition: transform .6s;
    }
    .menuactive .menu-wrap > div:first-of-type {
        transform: translateY(0);
    }
    .menu {
        flex-direction: column;
        border-top: 1px solid var(--borderline);
        padding-top: 1rem;
    }
    .menu > li > a {
        padding: 5px 20px;
        position: relative;
        display: inline-block;
    }
    .menu .sub-menu {
        opacity: 1;
        visibility: visible;
        display: none;
        position: static;
        transform: none;
        padding: 1rem;
        text-transform: initial;
    }
    .menu .open .sub-menu {
        display: block;
    }
    .menu .sub-menu li a {
        padding: 0 20px;
    }
    .menu > li.menu-item-has-children > a::after {
        top: 50%;
        transform: translateY(-50%);
    }
    span.submenu-toggle {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3rem;
        cursor: pointer;
    }
    .mob-toggle.visible-mobile.open span:first-of-type {
        transform: rotate(45deg) translate(.5rem, 0);
    }
    .mob-toggle.visible-mobile.open span:last-of-type {
        transform: rotate(-45deg) translate(.5rem, 0);
        width: 100%;
        margin-left: 0;
    }
}







@media all and (max-width: 1920px) {}
@media all and (max-width: 1650px) {
    .lahendused-wrap>div {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    header {
        grid-template-columns: 16.74% auto;
    }
    .menu-wrap {
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .with-sidebar .sidebar h1, .sidebar h1 {
        font-size: 2.2rem;
    }

.first-entry-link a {
    font-size: 3.8rem;
}
.sales-info h3 {

    font-size: 4.6rem;
}
.objects-table-content {
    padding: 0rem 3rem 4rem;
}
.page-template-template-ehitusest .sales-info>div>div {
    border-left: 1px solid var(--borderline)
}


}
@media all and (max-width: 1440px) {
    .lahendused-wrap>div {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .key-elements {
        padding: 7rem 0 0;
    }
    .key-elements div {
        min-height: 25rem;
    }
    .page-template-template-hinnadplaanid .asendiplaan {
        max-width: 100%;
    }
    .objects-table-top {
        padding: 4rem;
    }
    .objects-table-content {
        padding: 0rem 2rem 2rem;
    }
    .filter-elements>div {
        min-width: unset;
    }
.sv-paketid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
    .page-template-template-hinnadplaanid .asendiplaan {
        justify-content: flex-start;
    }
    .fixed-footer .footer-logo {
        padding: 2rem;
        text-align: center;
    }
    .fixed-footer div {
        padding: 2rem;
    }
    .footer-social a {
        display: flex;
    }
    .with-sidebar .sidebar,
    .sidebar {
        padding-left: 2rem;
        padding-top: 4rem;
        padding-right: 2rem;
    }
    .single-korter .with-sidebar .sidebar {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .single-korter .center-content {
        padding-top: 4rem;
    }
    .thumbnail-swiper>div {
        width: 100%;
        margin-left: 0;
    }



    .animated-lines::before {
        left: 0.6rem;
    }
    .animated-lines::after {
        right: 0.6rem;
    }
    .apt-sale-info {
        padding-right: .6rem;
    }
    .footer-extra-links>a:first-of-type {
        padding-left: 2rem;
    }
    .footer-extra-links>a,
    .footer-extra-links>span {
        padding: 4rem 2rem;
    }
    .footer-extra-links a:last-of-type {
        padding-right: 2rem;
    }
    .poi-map-wrap {
        grid-template-columns: 30% auto;
        padding-left: 0;
    }
    .sv-paketid-wrap {
        grid-template-columns: 16.66% auto;
    }
    .sidebar h1 {
        font-size: 2.6rem;
    }
    .page-template-template-siseviimistlus_moodboard .with-sidebar .sidebar {
        padding-top: 2rem;
    }
    .center-blocks-wrap {
        width: 100%;
        padding: 2rem 1rem;
    }
    .gallery-wrap {
        max-width: 100%;
    }
    .page-template-template-galerii .with-sidebar .sidebar,
    .page-template-template-galerii .sidebar,
    .page-template-template-ehitusest .sidebar,
    .page-template-template-ehitusest .with-sidebar .sidebar,
    .page-template-template-muugiinfo .sidebar,
    .page-template-template-muugiinfo .with-sidebar .sidebar {
        padding-top: 12rem;
    }
    .lahendused-wrap {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .lahendused-wrap>div>div {
        padding: 2rem;
    }
    .lahendused-wrap h2 {
        font-size: 2.8rem;
        padding: 2rem;
        max-width: 20%;
    }
    .inner-sidebar {
        padding: 4rem 2rem;
    }
    .meeskonna-elemendid {
        padding-top: 4rem;
        padding-bottom: 10rem;
    }
    .objektid>div:first-of-type {
        padding: 2rem;
    }
    .projekt-desc {
        padding: 2rem;
    }
    .sales-info.withform {
        max-width: 100%;
    }
    .hinnas-sisaldub {
        max-width: 100%;
        padding-bottom: 20rem;
        z-index: 1;
    }
    .entry-link {
        padding: 2rem;
    }
    .entry-link:hover {
        padding-left: 3rem;
    }
    .objects-table {
        max-width: calc(75% - 3.5rem);
    }
    .korruseplaan {
        width: calc(25% - 3.5rem);
    }
    /* .page-template-template-asukoht .animated-lines .line:nth-child(n+3):nth-child(-n+6),
    .page-template-template-siseviimistlus_moodboard .animated-lines .line:nth-child(n+3):nth-child(-n+6) {
        opacity: 0;
    } */
    .center-blocks-wrap>div:first-of-type {
        z-index: 1;
    }
    .page-template-template-siseviimistlus_moodboard .sales-info>div:first-of-type>div:first-of-type {
        border-right: 1px solid var(--borderline);
    }
    .teised-objektid>div {
        max-width: 100%;
        margin-left: 0;
        grid-template-columns: 33.33% auto;
    }
    .sales-info>div:first-of-type {
        border-right: 1px solid var(--borderline);
    }
    .sales-info>div:last-of-type>div>div:first-of-type {
        border: 1px solid var(--borderline);
        border-left: unset;
    }
    .page-template-template-muugiinfo .sales-info.withform {
        border-bottom: 1px solid var(--borderline);
    }
    .page-template-template-muugiinfo .sales-info>div:first-of-type>div:first-of-type {
        border-bottom: unset;
    }
    .hinnainfo-seletused div {
        width: 30%;
    }
    .hinnainfo-seletused div {
        border: 1px solid var(--borderline);
    }
    .hinnainfo-seletused div:first-of-type {
        border-right: unset;
    }
    .home-hero {
        margin: 0;
        margin-top: 0;
        min-height: 80vh;
        border-radius: 2rem;
        -webkit-border-radius: 2rem;
        -moz-border-radius: 2rem;
        -ms-border-radius: 2rem;
        -o-border-radius: 2rem;
    }

    .menu-wrap {
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .apt-extra-comfy {
        padding-left: 2rem;
        padding-right: 2rem;
    }


.sales-info > div.inner {
    flex-direction: column;
}
.sales-info>div>div {
    width: 100%;
}
.key-elements > div:first-child {
    margin-left: 0;
}
.key-elements > div:last-child {
    margin-right: 0;
}
.element-group-1 {
    padding-left: 0;
    padding-right: 0;
}

}

.majanr {
    display: none;
}

@media all and (max-width: 1366px) {
    .lahendused-wrap h2 {
        max-width: 100%;
        border-left: 1px solid var(--borderline);
        margin: 0;
        padding: 4rem 2rem;
    }
    .lahendused-wrap>div {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .single-korter .center-content {
        grid-template-columns: 30% 68%;
    }
    .single-korter .apt-sale-info {
        display: none;
    }
    /* .sales-info>div>div {
        background-color: transparent !important;
    } */
    .apt-extra-comfy {
        padding: 0 4rem;
        padding-top: 0;
        width: 100%;
        background: var(--taust);
        padding-top: 3rem;
        border: 1px solid var(--borderline);
    }
    .page-template-template-ehitusest .lahendused-wrap {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .page-template-template-ehitusest .lahendused-wrap>div {
        border-left: 1px solid var(--borderline);
    }

    .page-template-template-ehitusest .equal-content-areas {
        padding-left: 0;
        padding-right: 0;
    }
}
@media all and (max-width: 1280px) {
.apt-gallery-tabs, .apt-gallery-controls {
    padding-top: .8rem;
}
    .sv-sidebar.sidebar .kabi-el {
        display: none;
    }

    .single-korter .shareplan {
        margin-bottom: 3rem;
    }
    td.visible-mobile.asendiplaan-link svg {
        width: 1.3rem;
        margin-right: 1rem;
    }
    td.visible-mobile.asendiplaan-link {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        font-size: 1.4rem;
    }
    th.visible-mobile.transparentfont {
        color: transparent;
    }
    .ssafd {
        position: relative;
    }
    .korruseplaan {
        top: 9.8rem;
        padding-top: 0;
        padding: 3rem;
        max-width: 30rem;
        right: 0;
    }
    .korruseplaan.active {
        display: block;
        position: fixed;
    }
    span.closeplan {
        width: 3rem;
        height: 3rem;
        position: absolute;
        cursor: pointer;
        display: block;
        right: 4rem;
        top: 2rem;
        text-indent: -9999px;
        overflow: hidden;
        cursor: pointer;
    }
    span.closeplan::before,
    span.closeplan::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 1px;
        background-color: var(--blue);
        transform-origin: center;
    }
    span.closeplan::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    span.closeplan::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .element-group-1 {
        grid-template-columns: 100%;
        margin: 0 3.6rem;
    }
    .single-korter .sales-info>div,
    .page-template-template-asukoht .sales-info>div,
    .page-template-template-ehitusest .sales-info>div,
    .page-template-template-meist .sales-info>div {
        width: 100%;
    }
    .single-korter .sales-info>div:last-of-type>div>div:first-of-type,
    .page-template-template-asukoht .sales-info>div:last-of-type>div>div:first-of-type,
    .page-template-template-ehitusest .sales-info>div:last-of-type>div>div:first-of-type,
    .page-template-template-meist .sales-info>div:last-of-type>div>div:first-of-type {
        border: 1px solid var(--borderline);
        border-left: 1px solid var(--borderline);
        border-right: unset;
    }

    .center-block-large-banner {
        aspect-ratio: 16/9;
        z-index: 0;
        position: relative;
    }
    .home .entry_gallery {
        aspect-ratio: 16/9;
    }
    .home .sales-info>div {
        width: 100%;
    }
    .home .sales-info>div:last-of-type>div>div:first-of-type {
        border-left: 1px solid var(--borderline);
    }

    .with-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar {
        padding-left: 2rem;
        padding-top: 3rem;
        padding-right: 2rem;
        border: 1px solid var(--borderline);
        margin-top: 2rem;
        margin-bottom: 2rem;
        margin-left: .6rem;
        margin-right: .6rem;
    }
    .page-template-template-hinnadplaanid .asendiplaan {
        margin: 0 .6rem;
    }
    .page-template-template-hinnadplaanid .asendiplaan {
        border: 1px solid var(--borderline);
    }
    .asendiplaan-inner {
        margin: 0 auto;
    }
    .objects-table {
        max-width: 100%;
    }
    .korruseplaan {
        width: 100%;
        position: absolute;
        display: none;
    }
    .apartments-table {
        overflow: auto;
        padding-left: 1rem;
    }
    #apartments-table {
        min-width: 100rem;
    }
    .filter-elements {
        position: fixed;
        top: 0;
        z-index: 9999;
        background-color: var(--blue);
        width: 100%;
        left: 0;
        padding: 5rem;
    }
    .objects-table-top>div:first-of-type {
        margin-bottom: 0;
    }
    .objects-table-top {
        padding: 2rem;
        margin-bottom: 0;
    }
    .objects-table-content {
        padding: 0;
    }
    .object-location-filter {
        font-size: 1.6rem;
    }
    .objects-table {
        max-width: 100%;
        margin-left: 0;
    }
    .ssafd {
        padding: 0 .6rem;
    }
    .objects-table-content>div:first-of-type {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .page-template-template-hinnadplaanid .shareplan {
        border-bottom: 1px solid var(--borderline);
    }
    span.single-apt-sale-price-info {
        margin-top: 5rem;
    }
    .thumbnail-swiper {
        display: none;
    }
    .main-swiper {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
    }
    .main-swiper .swiper-slide {
        padding: 0;
    }
    .apt-sale-info .inner {
        margin: 0;
    }
    .single-korter .with-sidebar {
        grid-template-columns: 30rem auto;
    }
    .single-korter .center-content {
        padding-top: 2rem;
    }
    .single-korter li.term-item img {
        max-width: 4rem;
    }
    .single-korter .apt-gallery {
        margin-bottom: 0;
    }
    .top-large-img {
        margin-left: .6rem;
        margin-right: .6rem;
    }
    .page-template-template-asukoht .center-blocks-wrap {
        padding: 2rem .6rem;
    }
    .page-template-template-asukoht .center-block-content {
        display: block;
        grid-template-columns: unset;
        position: relative;
        z-index: 2;
        padding-top: 2rem;
    }
    .page-template-template-asukoht .center-block-content>div:first-of-type {
        transform: translateY(0rem);
    }
    .page-template-template-asukoht .center-block-content>div {
        padding: 0 2rem;
    }
    .page-template-template-asukoht .with-sidebar .sidebar,
    .page-template-template-meist .with-sidebar .sidebar,
    .page-template-template-galerii .with-sidebar .sidebar,
    .page-template-template-ehitusest .with-sidebar .sidebar,
    .page-template-template-muugiinfo .with-sidebar .sidebar {
        padding-top: 2rem;
    }
    .page-template-template-asukoht .center-content,
    .page-template-template-meist .center-content,
    .page-template-template-galerii .center-content,
    .page-template-template-ehitusest .center-content,
    .page-template-template-muugiinfo .center-content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .page-template-template-asukoht h1,
    .page-template-template-meist .h1,
    .page-template-template-galerii .h1,
    .page-template-template-ehitusest .h1,
    .page-template-template-muugiinfo .h1 {
        margin-bottom: 2rem;
    }
    .page-template-template-asukoht .top-large-img,
    .page-template-template-meist .top-large-img,
    .page-template-template-galerii .top-large-img,
    .page-template-template-ehitusest .top-large-img,
    .page-template-template-muugiinfo .top-large-img {
        order: -1;
        min-height: 60vh;
    }
    body.page-template-template-muugiinfo .wrap {
        padding-top: 9.7rem;
    }
    body.page-template-template-asukoht .wrap {
        padding-top: 0;
    }
    .sv-paketid-wrap {
        grid-template-columns: unset;
        display: block;
    }
    .sv-paketid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 0 .6rem;
    }
    .sv-pakett img {
        aspect-ratio: unset;
    }
    .page-template-template-siseviimistlus_moodboard .center-blocks-wrap {
        padding: 2rem .6rem;
    }
    .page-template-template-siseviimistlus_moodboard .center-block-content>div:first-of-type {
        transform: translateY(0);
    }
    .page-template-template-siseviimistlus_moodboard .center-block-content {
        display: block;
        grid-template-columns: unset;
    }
    .gallery-filter {
        padding: 0rem 2rem 2rem 2rem;
    }
    .page-template-template-ehitusest .center-blocks-wrap.flexible {
        padding-left: .6rem;
        padding-right: .6rem;
    }
    .page-template-template-meist .animated-lines.inside-element {
        display: none;
    }
    .page-template-template-meist .meist-inimesed {
        display: block;
        grid-template-columns: unset;
    }
    .page-template-template-meist .element-inner {
        max-width: 632px;
        margin: auto;
    }
    .objektid {
        display: block;
        grid-template-columns: unset;
        margin: 5rem .6rem;
    }
    .page-template-template-muugiinfo .top-large-img {
        min-height: 15rem;
    }
    .page-template-template-muugiinfo .sales-info.withform {
        transform: translateY(0rem);
        -webkit-transform: translateY(0rem);
        -moz-transform: translateY(0rem);
        -ms-transform: translateY(0rem);
        -o-transform: translateY(0rem);
    }
    .page-template-template-meist .hero-tekstiala {
        display: none;
    }
    .filter-elements {
        position: absolute;
        padding: 2rem 5rem;
        padding-top: 5rem;
        padding-bottom: 3rem;
        left: 100%;
        top: 100%;
        transition: all .5s;
        border-top: 1px solid var(--borderline);
    }
    .filter-elements.active {
        display: flex;
        position: absolute;
        left: 0;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .filter-elements>div {
        width: 100%;
        padding: 1rem 0px;
    }
    .filter-elements a.filterbtn {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    span#price-range-display,
    span#size-range-display {
        font-size: 1.3rem;
    }
    .filtri-title {
        font-size: 1.6rem;
    }
    .objects-table-top {
        position: relative;
    }
    .objects-table {
        overflow: hidden;
    }
    span.close {
        width: 3rem;
        height: 3rem;
        position: absolute;
        cursor: pointer;
        display: block;
        right: 4rem;
        top: 2rem;
    }
    span.close::before,
    span.close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 1px;
        background-color: var(--light-beige);
        transform-origin: center;
    }
    span.close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    span.close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    body a.filterbtn {
        background: var(--light-beige);
        color: var(--taust) !important;
        display: inline-block;
        width: auto;
        padding: 1rem 3rem;
        border-radius: .5rem;
        -webkit-border-radius: .5rem;
        -moz-border-radius: .5rem;
        -ms-border-radius: .5rem;
        -o-border-radius: .5rem;
        text-align: center;
        text-transform: uppercase;
        font-family: "Montserrat", sans-serif;
        margin-left: auto;
        cursor: pointer;
    }
    .objects-table-top>div:first-of-type>.reset-btn {
        display: none;
    }
    button#filter-btn {
        margin-left: auto;
    }
    a.pricelistbtn.visible-mobile {
        display: inline-block !important;
        color: white !important;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        font-size: 1.5rem;
    }
    .objects-table-top>div:first-of-type {
        align-items: center;
    }
    button.reset-btn {
        margin-left: auto;
    }
    .vertical-swiper-btns.main-swiper-btns.visible-mobile {
        display: block !important;
        position: absolute;
        top: 3rem;
        left: 0;
        display: flex !important;
        padding: 1rem;
        gap: 2rem;
    }
    .vertical-swiper-btns .swiper-button-prev {
        top: 0;
        position: relative;
    }
    .vertical-swiper-btns .swiper-button-next {
        top: 0;
        bottom: unset;
        position: relative;
    }
    .vertical-swiper-btns :is(.swiper-button-next, .swiper-button-prev) {
        left: 0;
        transform: rotate(0deg);
        margin-top: 0;
    }
    .single-apt-gallery-zoom-wrap {
        border: unset;
        padding: 1rem;
        top: -7rem;
    }
    .main-swiper {
        aspect-ratio: auto;
    }
    /* .main-swiper img {
        aspect-ratio: 4/3;
    } */

    .apt-sale-info {
        padding-right: 0;
        margin-top: 3rem;
    }
    .page-template-template-siseviimistlus_moodboard .with-sidebar .sidebar img {
        display: none;
    }
.sv-paketid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.apt-plan-panel, .single-korter .main-swiper {
    height: 50vh !important;
}
.apt-extra-comfy {
    padding: 0 2rem;
    padding-top: 3rem;
}
li.term-item img {
    display: none;
}

}
@media all and (max-width: 1100px) {
.page-template-template-hinnadplaanid .with-sidebar {
    padding-bottom: 2rem;
}
    .header-logo {
    padding: 1rem 2rem;
}
header {
    min-height: 6rem;
}
.menu-wrap > div:first-of-type {
    padding-top: 8.5rem;
}

div#location-filter-wrapper label {
    padding: 2rem 1rem;
}

    .key-elements>div:first-of-type {
        padding-left: 0;
    }
    .key-elements>div:last-of-type {
        padding-right: 0;
    }
    .key-elements div {
        padding: 0 1rem;
    }
    .element-group-1 {
        margin: 0 .6rem;
    }

    .meeskonna-element .element-inner {
        width: auto;
        height: 40rem;
    }
    .moodboard_mobile.visible-mobile {
        display: block !important;
    }
.page-template-template-galerii .with-sidebar .sidebar, .page-template-template-muugiinfo .with-sidebar .sidebar {
    padding-top: 2rem;
}
.page-template-template-muugiinfo .top-large-img {
    min-height: 0;
}

}
@media all and (max-width: 992px) {

    .majanr {
        display: block;
    }
    .deffo {
        display: none;
    }
    .imp-tooltip-content > div {
        padding: 0 !important;
    }
    .imp-tooltip-wrap.imp-tooltip-position-top .imp-tooltip {
        width: auto !important;
        padding: 1rem !important;
    }

    .sv-paketid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .key-elements {
        grid-template-columns: repeat(3, 1fr);
    }
    .animated-lines {
        grid-template-columns: repeat(3, 1fr);
    }
    .sales-info {
        margin: 0 .6rem;
        margin-top: 3rem;
        max-width: 100%;
    }
    .home .sales-info>div:first-of-type div:last-of-type div {
        width: 100%;
    }
    .sales-info>div:first-of-type>div:last-of-type {
        display: grid;
    }
    .sales-info > div.inner {
    max-width: 100%;
}
    header {
        min-height: 6rem;
    }
    .header-logo {
        padding: 1rem 2rem;
    }
    .video-over img {
        display: none;
    }
    .video-over {
        justify-content: flex-end;
        padding-bottom: 2rem;
    }
    .element-group-1 {
        display: block;
        grid-template-columns: unset;
    }
    .element-group-1>div:first-of-type {
        display: none;
    }
    .entry_links_wrap {
        grid-template-columns: 33.33% 66.66%;
    }
    .footer-extra-links {
        display: flex;
        grid-template-columns: unset;
    }
    body:not(.home) .wrap {
        padding-top: 6.7rem;
    }
    .single-korter .center-content {
        grid-template-columns: 1fr;
    }
    .main-swiper {
        border-bottom: unset;
    }
    .apt-extra-comfy {
        border: unset;
        border-left: 1px solid var(--borderline);
        border-right: 1px solid var(--borderline);
        border-bottom: 1px solid var(--borderline);
    }
    .single-korter .center-content {
        margin-right: .6rem;
        border-right: 1px solid var(--borderline);
    }
    .apt-sale-info {
        margin-top: 2rem;
    }
    .single-korter .with-sidebar .sidebar {
        margin-bottom: 0;
    }
    .large-banner-content {
        position: relative;
        top: unset;
        right: unset;
        width: 100%;
        padding: 2rem;
    }
    .center-block-large-banner.coverimg img {
        position: relative;
    }
    .poi-map-wrap {
        grid-template-columns: 1fr;
        padding-top: 0;
        padding-bottom: 0;
    }
    .filter-options {
        display: flex;
        gap: 2rem;
        padding: 2rem 0;
        flex-wrap: wrap;
        flex-direction: unset;
    }
    .poi-map-filter {
        padding-bottom: 2rem;
    }
    .poi-map {
        min-height: 60vh;
        margin-right: 0;
    }
    .page-template-template-galerii .gallery-item {
        width: 48%;
    }
    .constrction-intro>div:first-of-type {
        padding: 3rem;
    }
    .constrction-intro h2 {
        font-size: 2.8rem;
    }
    .page-template-template-ehitusest .lahendused-wrap {
        border-right: 1px solid var(--borderline);
    }
    .teised-objektid {
        display: none;
    }
    .lahendused-wrap>div {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .projekt-container .projekt-item:nth-child(2n) {
        margin-top: 0;
    }
    .ostuprotsess {
        grid-template-columns: 33% 33% 0 auto;
    }
    .pankade-kontaktid>div {
        grid-column: 1 / span 6;
        margin-top: 5rem;
    }
    .menu>li>a {
        padding: 15px 10px;
        font-size: 1.5rem;
    }
    .filter-elements>div {
        width: 100%;
    }
    .korruseplaan {
        top: 6.4rem;
    }

.sidebar .kabi-el {
    position: relative;
    display: none;
}

.kabid-el {
    display: none;
}
}
@media all and (max-width: 768px) {
    .sales-info>div>div:last-of-type>div>div {
        padding: 2rem;
    }
    .korruseplaan {
        top: 6.5rem;
    }
    .hidden-mobile {
        display: none !important;
    }
    .home .header-logo {
        opacity: 1;
    }
    .header-contacts {
        margin-left: auto;
        margin-right: 2rem;
    }
    .asendi-top .btn-square.btn-square-blue {
        display: none;
    }
    header {
        border-bottom: 1px solid var(--borderline);
    }
    .menu-wrap>div:first-of-type {
        display: none;
        transform: translateY(-100%);
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: auto;
        min-height: 100vh;
        display: block;
        z-index: -1;
        background: var(--taust);
        transition: all .6s;
        -webkit-transition: all .6s;
        -moz-transition: all .6s;
        -ms-transition: all .6s;
        -o-transition: all .6s;
    }
    .menu {
        border-top: 1px solid var(--borderline);
        padding-top: 1rem;
    }
    .mob-toggle.visible-mobile.open span:first-of-type {
        transform: rotate(45deg) translate(.5rem, 0rem);
        -webkit-transform: rotate(45deg) translate(.5rem, 0rem);
        -moz-transform: rotate(45deg) translate(.5rem, 0rem);
        -ms-transform: rotate(45deg) translate(.5rem, 0rem);
        -o-transform: rotate(45deg) translate(.5rem, 0rem);
        width: 3rem;
    }
    .mob-toggle.visible-mobile.open span:last-of-type {
        transform: rotate(-45deg) translate(.5rem, 0rem);
        -webkit-transform: rotate(-45deg) translate(.5rem, 0rem);
        -moz-transform: rotate(-45deg) translate(.5rem, 0rem);
        -ms-transform: rotate(-45deg) translate(.5rem, 0rem);
        -o-transform: rotate(-45deg) translate(.5rem, 0rem);
        width: 100%;
        margin-left: 0;
        width: 3rem;
    }
    .menuactive .menu-wrap>div:first-of-type {
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }
    .menuactive header {
        border-bottom: 1px solid var(--borderline);
    }
    .menu .sub-menu {
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 1rem;
        text-transform: initial;
    }
    .menu .open .sub-menu {
        display: block;
    }
    .menu>li>a {
        padding: 5px 20px;
        position: relative;
        display: inline-block;
    }
    .menu>li.menu-item-has-children>a::after {
        top: 50%;
        transform: translateY(-50%);
    }
    span.submenu-toggle {
        width: 3rem;
        height: 3rem;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        cursor: pointer;
    }
    .shareplan {
        padding: 3rem 2rem;
        margin-bottom: 4rem;
    }
    .menu .sub-menu li a {
        padding: 0 20px;
    }
    header {
        grid-template-columns: 17rem auto;
    }
    .key-elements {
        padding: 0;
    }
    .fixed-footer {
        position: relative;
    }
    footer .footer-social {
        display: none;
    }
    .fixed-footer .footer-logo {
        width: auto;
        background-color: var(--taust);
        padding: 3rem 2rem;
        border: unset;
    }
    footer {
        border-top: 1px solid var(--borderline);
        min-height: unset;
        margin-left: 0.7rem;
        margin-right: .7rem;
        min-height: unset;
        position: relative;
        z-index: 22;
        padding-bottom: 2rem;
        padding: 2rem 0;
    }
    .footer-extra-links>a,
    .footer-extra-links>span {
        padding: .5rem 2rem;
    }
    /* .footer-extra-links a {
       color: var(--taust);
    } */
    .visible-mobile {
    display: block !important;
}
    header {
        background-color: var(--taust);
    }
    .header-logo,
    .menu-wrap {
        border: unset;
    }
    .page-template-template-siseviimistlus_moodboard .center-blocks-wrap>div:first-of-type {
        grid-template-columns: 1fr;
    }
    .aspectratio43 {
        aspect-ratio: 16/9;
    }
    .center-swiper:nth-child(2n) {
        margin-top: 0;
    }
    .page-template-template-ehitusest .lahendused-wrap {
        grid-template-columns: 1fr 1fr;
    }
    .construction-content {
        column-count: 1;
        column-gap: 0;
    }
    .constrction-intro {
        grid-template-columns: 1fr;
    }
    .constrction-intro .coverimg img {
        position: relative;
    }
    .equal-content-areas>div {
        padding: 2rem;
    }
    .lahendused-wrap>div {
        grid-template-columns: 1fr 1fr;
    }
    .page-template-template-muugiinfo .sales-info>div {
        width: 100%;
    }
    .page-template-template-muugiinfo .sales-info>div {
        display: flex;
        flex-direction: column;
    }
    .page-template-template-muugiinfo .sales-info>div:last-of-type {
        margin-left: .6rem;
        margin-right: .6rem;
    }
    .hinna-img {
        min-height: unset;
    }
    .hinna-img.coverimg img {
        position: relative;
    }
    .hinnas-sisaldub {
        padding-bottom: 3rem;
        margin-left: .6rem;
        margin-right: .6rem;
    }
    .hinnainfo-seletused {
        display: block;
        min-height: unset;
        align-items: flex-end;
        transform: translateY(-80%);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(-80%);
        -ms-transform: translateY(-80%);
        -o-transform: translateY(-80%);
        position: relative;
        width: 100%;
    }
    .hinnainfo-seletused div {
        width: 100%;
    }
    .ostuprotsess {
        grid-template-columns: 40% 60%;
    }
    .ostuprotsessi_etapp {
        padding-left: 0rem;
        display: grid;
        padding-bottom: 0;
        grid-template-columns: 8rem auto;
        margin-bottom: 4rem;
    }
    .ostuprotsessi_etapp:last-of-type {
        margin-bottom: 0;
    }
    .ostuprotsessi_etapp span.etapp-content {
        padding-left: 0s !important;
    }
    header .footer-logo {
        margin-left: auto;
        order: 1;
    }
    header .fixed-footer div {
        border: unset;
    }
    .connector {
        opacity: 0;
    }
    .ostuprotsess {
        grid-template-columns: 1fr;
        margin-left: .6rem;
        margin-right: .6rem;
    }
    .number-wrap {
        right: unset;
        left: 0;
        width: 10rem;
        position: relative;
        display: block;
        justify-content: unset;
        height: auto;
        width: auto;
    }
    .connector {
        display: none;
    }
    .panga-element {
        width: 50%;
    }
    /* Adjust margin-top for staggered effect */
    .pankade-kontaktelemendid .panga-element:nth-child(2n-1) {
        margin-top: -6rem;
    }
    .pankade-kontaktelemendid .panga-element:nth-child(2n) {
        margin-top: -9rem;
    }
    .footer-m-logo {
        padding: 2rem;
    }
    footer {
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--borderline);
    }
    .siteby {
        padding: 0 2rem 5rem 0;
        text-align: right;
    }
    .protsessi-etapid {
        padding: 3rem 2rem;
    }
    .page-template-template-meist .meist-inimesed .inner-sidebar {
        padding: 3rem 2rem 0;
    }
    .page-template-template-meist .meist-inimesed .inner-sidebar h2 {
        margin: 0;
        font-size: 2.2rem;
    }
    .page-template-template-meist .meist-inimesed {
        margin-left: .6rem;
        margin-right: .6rem;
    }
    .header-logo img {
    width: 80%;
}



}
@media all and (max-width: 575px) {


    .key-elements {
        grid-template-columns: repeat(2, 1fr);
    }
    .animated-lines {
        grid-template-columns: repeat(2, 1fr);
    }
    .entry_links_wrap {
        display: flex;
        grid-template-columns: unset;
        flex-direction: column;
    }
    .other-entry-links {
        order: -1;
    }
    .entry_gallery_sublinks {
        display: block;
        grid-template-columns: unset;
        height: auto;
    }
    .entry_gallery_sublinks>div {
        height: auto;
        bottom: 0;
    }
    .element-group-1 .entry-link a {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: space-between;
    }
    .element-group-1 .entry-link svg {
        margin-top: 0;
    }
    .swiper-nav>div:first-of-type {
        display: none;
    }
    .sales-info>div:first-of-type>div:last-of-type {
        display: grid;
    }
    .sales-info .entry-link a {
        font-size: 1.6rem;
        font-family: "Montserrat", sans-serif;
    }
    .page-template-template-hinnadplaanid .asendiplaan {
        padding: 2rem;
    }
    div#location-filter-wrapper label {
        padding: 1rem;
    }
    .object-location-filter {
    font-size: 1.4rem;
}
.objects-table-content>div:first-of-type {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    .single-korter .with-sidebar {
        grid-template-columns: 1fr;
    }
    .single-korter .center-content {
        margin-left: .6rem;
    }
    .poi-map-filter {
        padding: 2rem;
    }
    .sisekujundaja.sales-info>div {
        width: 100%;
    }
    .sv-paketid {
        grid-template-columns: 1fr;
    }
    .page-template-template-galerii .gallery-images {
        padding: 0 .6rem;
    }
    /* .page-template-template-asukoht .top-large-img,
    .page-template-template-meist .top-large-img,
    .page-template-template-galerii .top-large-img,
    .page-template-template-ehitusest .top-large-img,
    .page-template-template-muugiinfo .top-large-img {
        min-height: 40vh;
    } */
    .equal-content-areas {
        grid-template-columns: 1fr;
    }
    .lahendused-wrap>div {
        grid-template-columns: 1fr;
    }
    .only-logo.coverimg img {
        position: relative;
        margin: 0;
        padding: 0;
    }
    .only-logo.coverimg {
        /* padding: 3rem; */
        margin: 0rem 1rem;
        padding: 0;
    }

    .hero-tekstiala-mobile {
        padding: 2rem 2.6rem;
    }
    .animated-lines:before,
    .animated-lines:after {
        display: none;
    }
    .wrap::before,
    .wrap::after {
        content: "";
        width: 1px;
        height: 100%;
        position: fixed;
        top: 0;
        background-color: var(--borderline);
        z-index: 3;
    }
    .wrap::before {
        left: .6rem;
    }
    .wrap::after {
        right: .6rem;
    }
    /* .sales-info>div:last-of-type>div {
        background: var(--taust);
        border-bottom: 1px solid var(--borderline);
    } */
     .sales-info>div>div:last-of-type>div {
    display: grid;
    grid-template-columns: 100%;
    transform: translateY(0rem);
    -webkit-transform: translateY(0rem);
    -moz-transform: translateY(0rem);
    -ms-transform: translateY(0rem);
    -o-transform: translateY(0rem);
}
    .asendi-top {
        align-items: flex-start;
    }
    .with-sidebar .sidebar,
    .sidebar {
        padding-top: 3rem;
    }
body .first-entry-link a {
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 300;
}
.element-group-1 {
    padding-bottom: 0;
}

}
@media all and (max-width: 500px) {
    .korruseplaan {
        max-width: 100%;
    }
    .sales-info>div:last-of-type>div {
        display: flex;
        grid-template-columns: unset;
        transform: translateY(0rem);
        flex-direction: column;
        -webkit-transform: translateY(0rem);
        -moz-transform: translateY(0rem);
        -ms-transform: translateY(0rem);
        -o-transform: translateY(0rem);
}
    .sales-info>div:last-of-type>div>div {
        border: 0 none !important;
    }
    .sales-info .btn-square {
        margin-top: 0;
    }

    .footer-extra-links {
        display: flex;
        grid-template-columns: unset;
        flex-direction: column;
    }
    .entry_gallery {
        overflow: hidden;
    }
    .key-elements div {
        padding: 2rem !important;
    }
    .asendi-top {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .asendi-top .h2 {
        margin-bottom: 2rem;
    }
    .objects-table-content>div:first-of-type {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .free-objects {
        padding: 2rem;
    }
    .center-blocks-wrap>div:first-of-type {
        grid-template-columns: 1fr;
    }
    .page-template-template-galerii .gallery-item {
        width: 100%;
    }
    .meeskonna-content {
        width: 80%;
    }
    .projekt-desc {
        grid-template-columns: 1fr;
    }
    /* .page-template-template-muugiinfo .top-large-img {
        min-height: 10vh;
    } */
    .page-template-template-meist .top-large-img {
        min-height: 20vh;
    }
    .loaded svg.animated-logo {
        max-width: 100%;
        top: 50%;
        transform: translateY(-50%);
    }
    .meeskonna-elemendid {
        padding-top: 4rem;
        padding-bottom: 13rem;
    }
    .meeskonna-elemendid {
        padding-bottom: 13rem;
        letter-spacing: .6px;
    }
    .meeskonna-elemendid h3 {

            text-transform: uppercase;
            font-size: 1.6rem;
            letter-spacing: .6px;
      
    }
    .projekt-desc>div:last-of-type {
        padding-top: 0;
    }

    .projekt-desc {
        gap: 0;
    }

.sales-info>div>div:first-of-type>div:last-of-type {
    grid-template-columns: 1fr;
}
.sales-info>div>div:first-of-type>div:first-of-type {
    padding: 2rem;
}
.sales-info>div>div:first-of-type div:last-of-type div {
    padding: 2rem;
}

}
@media all and (max-width: 400px) {
    .page-template-template-asukoht .top-large-img,
    .page-template-template-galerii .top-large-img,
    .page-template-template-ehitusest .top-large-img {
        min-height: 40vh;
    }
    /* Adjust margin-top for staggered effect */
    .pankade-kontaktelemendid .panga-element:nth-child(2n-1) {
        margin-top: 0;
    }
    .pankade-kontaktelemendid .panga-element:nth-child(2n) {
        margin-top: 0;
    }
    .panga-element {
        width: 100%;
        padding-bottom: 0;
    }
    .pankade-kontaktelemendid {
        padding-top: 0;
        margin-top: 0;
    }
}


body .lity {
    background: rgb(245 240 234 / 90%);
}
body .ff_modal_container {
    background: #F5F0EA;
    max-width: 60rem;
    padding: 3rem;
    border: 1px solid var(--borderline);
}
body .lity-content:after {
    box-shadow: unset;
}
.lity .ff-btn {
    display: inline-block;
    border-radius: 1.5rem;
    width: auto;
    padding-left: 4rem;
    padding-right: 4rem;
}
body .lity h1 {
    margin: 0;
    margin-top: 4rem;
}
body .lity-close {
    color: transparent;
    box-shadow: none;
    position: absolute;
    opacity: 0;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    top: 3rem;
    right: 3rem;
    background: url(images/sulge-hamburger.svg) no-repeat center / 2rem;
    text-shadow: unset;
}
.lity-active body .lity-close {
    opacity: 1;
    transition-delay: .5s;
}

body .lity-close:hover, 
body .lity-close:focus, 
body .lity-close:active, 
body .lity-close:visited {

    color: transparent;
    text-shadow: unset;
    background: url(images/sulge-hamburger.svg) no-repeat center / 2rem;
}
body .mfp-wrap {
    z-index: 1111111113;
}
body .mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1111111112;
    overflow: hidden;
    position: fixed;
    background: rgb(245 240 234 / 100%);
    opacity: .8;
}

.moodboard_mobile.visible-mobile {
    padding: 3rem;
}

/* Adjust checkbox alignment and spacing */
.select2-container--default .select2-results__option {
    padding-left: 30px;
    position: relative;
}

.select2-container--default .select2-results__option input[type="checkbox"] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.ui-slider .ui-slider-handle:before {
    content: "";
    width: 3rem;
    height: 3rem;
    position: absolute;
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%);
    cursor: pointer;
}

/* Custom Select Styles */

.custom-select-wrapper {
    position: relative;
    width: 100%; /* Adjust as needed */
    font-family: Arial, sans-serif;
}

.custom-select-wrapper select {
    display: none; /* Hide the original select */
}

.custom-select-display {
    border: 1px solid var(--borderline);
    padding: 8px 12px;
    cursor: pointer;
    user-select: none;
    background-color: var(--light-beige);
    position: relative;
    border-radius: 2rem;
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    -ms-border-radius: 2rem;
    -o-border-radius: 2rem;
    text-transform: uppercase;
    font-size: 1rem;
}
.custom-select-display[aria-expanded="true"]{
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom: unset;
  }


.custom-select-display::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    pointer-events: none;
}

.custom-select-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid var(--borderline);
    background-color: var(--blue);
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 1rem 0;
    border-top: unset;
}

.custom-select-overlay label {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    align-items: flex-end;
}
.custom-select-overlay label input {
    order: 1;
}

/* .custom-select-overlay label:hover {
    background-color: #f1f1f1;
} */

.custom-select-overlay input[type="checkbox"] {
    margin-right: 8px;
}

.custom-select-overlay input[type=checkbox] {
    position: relative;
    border: 2px solid #fff;
    border-radius: 0;
    background: none;
    cursor: pointer;
    line-height: 0;
    margin: 0 0.6em 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    height: 2rem;
    width: 2rem;
    -webkit-appearance: none;
    opacity: 1;
}
  
.custom-select-overlay input[type=checkbox]:hover {
    opacity: 1;
  }
  
  .custom-select-overlay input[type=checkbox]:checked {
    opacity: 1;
  }
  .custom-select-overlay input[type=checkbox]:hover:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: .5rem;
    height: .5rem;
    border: unset;
    border-width: unset;
    margin: 0;
    transform: unset;
    background: #fff;
    z-index: 2;
    transform: translate(-50%, -50%);
}
.custom-select-overlay input[type=checkbox]:checked:before {
    width: 1rem;
    height: 1rem;
}


.custom-select-overlay input[type="checkbox"]:checked:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1rem;
    height: 1rem;
    border: unset;
    border-width: unset;
    margin: 0;
    transform: unset;
    background: #fff;
    z-index: 2;
    border-radius: unset;
    transform: translate(-50%, -50%);
}

@media print {

    body:not(.home) .wrap {
        padding-top: 0;
    }
    
      /* Remove display: table-header-group to prevent repetition */
  header {
    display: table-row-group;
    /* Default behavior to avoid repeating */

  }
    header {
        position: static!important;
        margin-top: -75px!important;
        padding-left: 30px
    }
    @page {
        size: a3;
        margin: 0;
    }
    html,body {
        margin: 20px !important;
        padding: 0!important
    }

    *,*:before,*:after {
        text-shadow: none!important;
        box-shadow: none!important
    }
    footer,
    .menu-wrap,
    .asendiplaan,
    div#korruseplaan,
    .page-template-template-hinnadplaanid .with-sidebar,
    .objects-table-top,
    .objects-table-content>div:first-of-type,
    .menu-wrap,
    .visible-mobile.siteby,
    td.visible-mobile.asendiplaan-link,
    th.visible-mobile.transparentfont
     {
        display: none !important;
    }
    a[href]:after { content: none !important; }
    img[src]:after { content: none !important; }
    .header-logo {
        border: unset;
    }
    .objects-table-content {
        padding: 0;
    }
    .objects-table {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-bottom: unset;
        border: unset;
    }
    .header-logo {
        border: unset;
    }

    #apartments-table th, #apartments-table td {
        border: unset;
        border-bottom: 1px solid #ececec;
        padding: .5rem 1rem;
        padding-right: 0;
    }
    header {
        border: unset;
        margin-left: 30px;
    }


    .single-korter .with-sidebar .sidebar {
        padding-top: 0;
        padding-bottom: 0;
    }.sidebar {
        margin: 0;
        padding: 0;
        border: unset;
      
    }
    .single-korter .center-content {
        margin-right: 0;
        border: unset;
    }
    .main-swiper {
        border: unset;
    }
    .vertical-swiper-btns,
    a.back-top-home,
    .vertical-swiper-btns,
    .ff_form_modal,
    .sales-info>div:first-of-type>div:last-of-type,
    .apt-extra-comfy {
        display: none !important;
    }
    .vertical-swiper-btns.main-swiper-btns.visible-mobile {
        opacity: 0;
    }

    .apt-extra-comfy {
        padding: 0;
        padding-top: 0;
        width: 100%;
        background: var(--taust);
        padding-top: 0;
        border: unset;
    }
    .main-swiper img {
        aspect-ratio: 16/9;
    }
    .main-swiper .swiper {
        padding-top: 0;
    }
    .single-korter .with-sidebar {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .single-korter .center-content {
        grid-template-columns: 1fr;
    }
    .single-korter .main-swiper img {
        aspect-ratio: unset;
        max-width: unset;
        width: 100%;
    }
    .single-apt-gallery-zoom-wrap {
        display: none;
    }
    .single-korter .animated-lines {
        display: none;
    }
    .single-korter .sales-info {
        margin-top: -5rem;
        border-top: unset;
    }

    .single-korter .swiper-wrapper .swiper-slide {
        display: none !important;
    }

    .single-korter .swiper-wrapper .swiper-slide.swiper-slide-active {
        display: block !important;
    }
    .single-korter .single-apt-details {
        margin-bottom: 0;
    }


    .sales-info>div:first-of-type>div:first-of-type,
    .sales-info>div:first-of-type  {
        border: unset;
    }
    .sales-info>div:last-of-type>div {
        transform: translateY(0rem);
        border: unset;
    }
    .single-korter .sales-info>div:last-of-type>div>div:first-of-type {
        border: unset;
        border-left: unset;
        border-right: unset;
    }
    .single-apt-details > span {
        border-bottom: 1px solid var(--borderline);
    }
    .sales-info > div:last-of-type {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .sales-info > div,
    .sales-info img {
        width: 50%;
    }
    .sales-info>div:last-of-type>div {
        grid-template-columns: 1fr;
    }

}



.lity {
    z-index: 99909999999999999;
}
