.funktioner_item_home {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}

.funktioner_item_home:hover {
    box-shadow: 0 10px 35px -3px hsl(174deg 60% 29% / 30%);
    transform: scale(1.01);
}

.funktioner_item_home .property_thumb{
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}

.funktioner_item_home:hover .property_thumb{
    transform: scale(1.04);
}

.funktioner_item_home:hover .content_design h2{
    color: var(--e-global-color-0e23da7);
}

.detail_indicator {
    margin-top: auto;
    margin-left: 15px;
    margin-bottom: 15px;
}

.lokaler_detail_popup_inner ::-webkit-scrollbar {
    width: 5px;                  /* width of the entire scrollbar */
    height: 5px;                  /* height of the entire scrollbar */
    border-radius: 20px;
}

.lokaler_detail_popup_inner ::-webkit-scrollbar-track {
    background: #b5c9b547;        /* color of the tracking area */
    border-radius: 20px;  
    cursor: pointer; 
}

.lokaler_detail_popup_inner ::-webkit-scrollbar-thumb {
    background-color: #2b36354a;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 1px solid #b5c9b547;  /* creates padding around scroll thumb */
    cursor: pointer;
}

#lokaler_detail_popup {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000a;
    z-index: 9999999;
    top: 0;
    left: 0;
    line-height: 1.5;
}

.lokaler_detail_popup_inner {
    width: 95vw;
    height: 95vh;
    max-width: 1300px;
    background: #fff;
    margin: auto;
    border-radius: 10px;
    padding: 30px;
    position: absolute!important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lokaler_detail_closer {
    background: var(--e-global-color-d49ac81);
    display: flex;
    position: absolute;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 2px;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.lokaler_detail_title {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #49ac811b;
    padding-bottom: 20px;
}

.lokaler_detail_title h2 {
    font-size: 2.2rem !important;
    line-height: 1 !important;
}



.lokaler_detail_inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 25px;
}

.lokaler_detail_left, .lokaler_detail_right {
    background: #F2F4F6;
    border-radius: 10px;
    padding: 20px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* .lokaler_detail_right {
    padding: 20px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
} */

/* .lokaler_detail_sect_title {
    margin-bottom: 15px;
}

.lokaler_beskrivningar_wrapper .lokaler_detail_sect_title {
    margin-bottom: 8px;
} */

.lokaler_detail_sect_wrapper {
    margin-bottom: 20px;
}
.lokaler_detail_sect_wrapper.lokaler_beskrivningar_wrapper {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lokaler_bilder_slider{
    position: relative;
}
.lokaler_funktioner_modules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background-color: #fff;
    padding: 8px;
    min-width: max-content;
    border-radius: 8px;
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translate(-50%, -23%);
    /* top: -24px; */
    box-shadow: 0 5px 25px #0002;
}

.lokaler_module {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 10px 6px;
    background: #F2F4F6;
    border-radius: 4px;
}

.lokaler_module.lokaler_type_module {
    background: #fff;
    width: fit-content;
    padding: 5px 10px;
}

.lokaler_module_icon {
    height: 15px;
    width: 15px;
    opacity: 0.7;
    display: flex;
    /* filter: drop-shadow(2px 4px 6px #00000050); */
}

.lokaler_tillrade_icon {
    opacity: 0.9;
}

.lokaler_module_content {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    color: rgb(0 0 0 / 80%);
    font-size: 15px;
}

#lokaler_detail_popup h3 {
    font-size: 1.28rem;
    font-weight: 400;
}

.lokaler_module_content strong {
    font-size: 12px;
    color: var(--e-global-color-0e23da7);
    font-weight: 400;
    text-transform: uppercase;
}

#lokaler_detail_popup p {
    color: rgb(0 0 0 / 60%);
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 0;
}

.lokaler_contact_title {
    margin-bottom: 15px;
}

#myTextarea {
    min-height: 110px;
    resize: none;
    border-color: #1e776e3b;
    transition: all 0.3s ease;
    color: #222;
}

#myTextarea:focus, #myTextarea:hover{
    border-color: var(--e-global-color-d49ac81);
}

.lokaler_contact_staffs {
    overflow: hidden;
    display: flex;
    gap: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.lokaler_contact_staff {
    display: flex;
    gap: 20px;
    border: 1px solid #b5c9b547;
    border-radius: 6px;
    padding: 15px;
    flex-shrink: 0;
    margin: 10px 0;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.lokaler_staff_avatar {
    height: 80px;
    width: 80px;
    border: 1px solid #1e776e4a;
    border-radius: 5px;
    overflow: hidden;
}
.swiper-button-next, .swiper-button-prev{
    top:42.15% !important;
}
.swiper-button-prev, .swiper-rtl .swiper-button-next{
    left: -10px !important;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev{
    right: -10px !important;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px!important;
    background: #1e776e;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50px;
    flex-shrink: 0;
}

.lokaler_staff_avatar img{
    height: 100%;
    object-fit: cover;
}
.lokaler_staff_name strong {
    font-weight: 600;
    color: #222d;
    text-transform: uppercase;
}

.lokaler_staff_title {
    color: rgb(0 0 0 / 60%);
}

#mySwiper .swiper-slide {
    max-width: 90px !important;
    margin-right: 5px;
    margin-top: 5px;
    border-radius: 5px;
    cursor: pointer;
}

#mySwiper2 .swiper-slide {
    border-radius: 8px;
    cursor: pointer;
    max-height: 450px;
}
#mySwiper2 .swiper-slide img{
    object-fit: cover;
    width: 100%;
    max-height: 450px;
}

#mySwiper img {
    object-fit: cover;
    border-radius: 6px;
    width: 100%;
    height: 70px;
}

#lokaler_contact_form button, .property_popup_btn{
    color: white!important;
}
button.query_submit {
    margin-top: 10px;
    margin-left: auto;
}

#mySwiper2.swiper-container:not(.swiper-container-initialized)>.swiper-wrapper, #mySwiper2.swiper:not(.swiper-initialized)>.swiper-wrapper{
    overflow: visible !important
}

#mySwiper .swiper-slide:not(.swiper-slide-thumb-active) {
    opacity: 0.7;
    filter: grayscale(1);
}

.query_submit{
    display: flex;
    gap: 15px;
}

.query_submit:disabled{
    opacity: 0.5;
    cursor: not-allowed;
}

.spining_ball {
    height: 15px;
    width: 15px;
    border-width: 2px;
    border-color: white white white transparent;
    border-style: solid;
    border-radius: 50%;
    display: none;
    transform: rotate(0deg);
    animation: ball_spinning 1.5s linear infinite;
}

@keyframes ball_spinning {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.successful_msg {
    color: var(--e-global-color-d49ac81);
    margin-bottom: 10px;
    font-weight: 200;
}

.warning_msg {
    color: #ff6700;
    margin-bottom: 10px;
    font-weight: 200;
}

@media (max-width: 768px) {
    .lokaler_detail_inner {
        grid-template-columns: 100%;
        overflow-y: auto;
        max-height: calc(100vh - 162px);
        overflow-x: hidden;
    }
    .lokaler_detail_left, .lokaler_detail_right {
        max-height: 100%;
        height: auto;
        overflow: unset;
        
    }
    .lokaler_funktioner_modules {
        position: static;
        transform: translate(0,0);
        margin-bottom: 20px;
        justify-content: center;
        min-width: auto;
        padding: 15px;
        gap: 10px;
        box-shadow: none;
    }

    .lokaler_module_content strong, .lokaler_module_content, #lokaler_detail_popup p {
        font-size: .9em !important;
    }
    .lokaler_detail_title {
        padding: 0 20px 15px;
        margin-bottom: 15px;
    }
    .lokaler_detail_title h2{
        font-size: 1.8rem !important;
    }
    #lokaler_detail_popup h3 {
        font-size: 1.18rem !important;
    }
    #mySwiper2 .swiper-slide{
        border-radius: 10px;
    }
    #mySwiper2 .swiper-slide img {
        max-height: 238px;
    }
    #mySwiper .swiper-wrapper{
        justify-content: center;
    }
    #mySwiper .swiper-slide {
        border-radius: 5px;
    }
    .swiper-button-next:after, .swiper-button-prev:after{
        height: 30px;
        width: 30px;
        font-size: 15px!important;
    }
    .swiper-button-next, .swiper-button-prev {
        top: 56% !important;
    }
}