.main-header {
    border-bottom: 1px solid transparent;
    transition: all ease-out .2s;
}

.main-header.is-sticky {
    border-bottom: 1px solid #dadada;
}

body.gallery-expanded {
    overflow: hidden;
}

.primary-btn :is(span, a) {
    font-weight: 600 !important;
}

.primary-btn.primary-btn--is-nav a {
    background-color: var(--e-global-color-primary);
    border-radius: 8px 8px 8px 8px;
    padding: 10px 24px !important;
    color: var(--e-global-color-text);
}

.primary-btn.primary-btn--is-nav a:hover {
    color: var(--e-global-color-text) !important;
    background-color: var( --e-global-color-adcef50 ) !important;
}

.primary-nav-menu .menu-item:not(.primary-btn--is-nav) a {
    font-weight: 600 !important;
}

.elementor-widget.elementor-widget-text-editor p {
    margin-top: 0 !important;
}

.flex-expander.elementor-element {
    flex: 1 !important;
}

.usp-icon-box .elementor-icon-box-title {
    margin-top: 0 !important;
}

.usp-icon-box .elementor-icon-box-icon .elementor-icon {
    display: inline-flex;
    padding: 8px;
    background-color: #fff3c8;
    border-radius: 8px;
}

.text-editor--no-margin p:last-of-type {
    margin-bottom: 0 !important;
}

.text-editor--no-margin a {
    text-decoration: underline !important;
}

i.mdi {
    display: flex;
    align-items: center;
    width: auto !important;
}

.search-form .e-search-form {
    position: relative;
    justify-content: flex-end;
    align-items: center;
}

.search-form .e-search-submit  {
    position: absolute;
    right: 16px;
}

.search-form .e-search-submit svg {
    margin: 0 !important;
}

.elementor-widget-icon .elementor-icon-wrapper {
    display: flex !important;
}

.usp-icon-box .elementor-icon-box-icon .elementor-icon {
    width: 48px;
    justify-content: center;
}

/* Home */
.testimony-loop-item__meta .elementor-icon-list-items li:not(:last-of-type):after {
    content: '-';
    display: inline-flex;
    align-items: center;
    border-left-width: 0 !important;
}

.testimony-loop-item__meta .elementor-icon-list-items li:first-of-type .elementor-icon-list-text {
    font-weight: 700 !important;
}

.testimony-loop-item__meta .elementor-icon-list-items li:last-of-type .elementor-icon-list-text {
    color: #7a7a7a !important;
}

/* Room Loop Item */
.loop-item.loop-item--room .e-loop-item.status-publish .kost-loop-item--is-upcoming {
    display: none;
}

.loop-item.loop-item--room .e-loop-item.status-draft .kost-loop-item--is-upcoming {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.7px);
    -webkit-backdrop-filter: blur(5.7px);
    border: 1px solid rgba(255, 255, 255, 0.39);
}

.kost-loop-item .kost-loop-item__name .elementor-heading-title {
    font-weight: 700 !important;
}

.kost-loop-item .kost-loop-item__place span {
    font-weight: 500 !important;
}

.kost-loop-item .kost-loop-item__amenities ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kost-loop-item .kost-loop-item__amenities ul > li:not(:last-of-type):after {
    content: '\000B7';
    display: inline-flex;
    margin-left: 4px;
}

.kost-loop-item .kost-loop-item__amenity {
    font-family: var(--e-global-typography-100904e-font-family);
    font-size: var(--e-global-typography-100904e-font-size);
    line-height: var(--e-global-typography-100904e-line-height);
    font-weight: 400;
    color: #919191;
}

.kost-loop-item .kost-loop-item__pricing {
    font-weight: 600;
}

.kost-loop-item .kost-loop-item__pricing span {
    font-weight: 500;
}

.tipe-kost {
    display: flex;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid #9d9d9d;
    font-weight: 500;
}

/* about us */
.counting-number .elementor-counter-number-wrapper {
    --counter-suffix-grow: 0 !important;
}

.counting-number .elementor-counter-number {
    margin-right: 8px;
}

/* Contact */
.contact-section:before {
    max-width: 40%;
    left: unset !important;
    right: 0 !important;
}

.contact-form .elementor-field-option input {
    margin-top: 0;
    margin-left: 0;
}

.contact-form .elementor-button-text {
    font-weight: 600 !important;
}

.detail-kost .detail-kost-gallery__wrapper {
    display: grid;
    grid-template-columns: 540px 1fr 1fr;
    grid-gap: 12px;
}

.detail-kost-gallery__item {
    height: 236px;
    border-radius: 12px;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.detail-kost-gallery__item:first-of-type {
    grid-row: span 2;
    height: 100%;
}

.detail-kost-gallery__item .detail-kost-gallery__item-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(255,255,255,0.2);
    opacity: 0;
    transition: all ease-out .2s;
}

.detail-kost-gallery__item:hover .detail-kost-gallery__item-overlay {
    opacity: 1;
}

.detail-kost-gallery__item .detail-kost-gallery__item-more {
    position: absolute;
    z-index: 4;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid #fff;
    background-color: rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.detail-kost-gallery__item .detail-kost-gallery__item-more-image {
    filter: invert(100%) sepia(5%) saturate(22%) hue-rotate(219deg) brightness(109%) contrast(106%);
    width: 40px !important;
    height: auto !important;
}

.detail-kost-gallery__item .detail-kost-gallery__item-more-counter {
    font-family: var(--e-global-typography-3034f58-font-family);
    font-size: var(--e-global-typography-3034f58-font-size);
    font-weight: 600;
    line-height: var(--e-global-typography-3034f58-line-height);
    color: #fff;
}

/*
.detail-kost-gallery__item:nth-of-type(2) {
    grid-area: side1;
}

.detail-kost-gallery__item:nth-of-type(3) {
    grid-area: side2;
}

.detail-kost-gallery__item:nth-of-type(4) {
    grid-area: side3;
}

.detail-kost-gallery__item:nth-of-type(5) {
    grid-area: side4;
}
*/

.detail-kost-gallery__item img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    object-position: center;
}

.fasilitas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    gap: 12px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.fasilitas-item {
    display: flex;
    align-items: center;
    width: 40%;
}

.fasilitas-item__icon {
    margin-right: 16px;
    width: 26px;
}

.fasilitas-item__label {
    font-family: var(--e-global-typography-3034f58-font-family), Sans-serif;
    font-size: var(--e-global-typography-3034f58-font-size);
    font-weight: var(--e-global-typography-3034f58-font-weight);
    line-height: var(--e-global-typography-3034f58-line-height);
    letter-spacing: var(--e-global-typography-3034f58-letter-spacing);
    color: var( --e-global-color-text );
    display: flex;
}

/* Lightbox */
.fslightbox-toolbar {
    right: 16px;
    top: 19px;
}

button.fslightboxb {
    padding: 0;
    border-radius: 0 !important;
    background-color: transparent !important;
}

.fslightbox-slide-btn-container-previous {
    left: 16px !important;
}

.fslightbox-slide-btn-container-next {
    right: 16px !important;
}

.gallery-popup {
    transform: translateY(150%);
    transition: transform ease-out .2s;
}

.gallery-popup.expanded {
    transform: translateY(0%);
}

.gallery-popup > .e-con-inner {
    max-height: 100dvh;
    overflow-y: scroll;
}

.gallery-popup > .e-con-inner::-webkit-scrollbar {
    width: 4px;
}

.gallery-popup > .e-con-inner::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
.gallery-popup > .e-con-inner::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid transparent;
}

@media screen and (max-width: 1000px) {
    .usp-icon-box .elementor-icon-box-icon .elementor-icon {
        display: inline-flex !important;
        padding: 8px;
        background-color: #fff3c8;
        border-radius: 8px;
        width: 42px;
        justify-content: center;
    }
    .loop-item .elementor-loop-container::-webkit-scrollbar {
        display: none;
    }
    .loop-item .elementor-loop-container {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .loop-item .e-loop-item {
        height: 100% !important;
    }
    .loop-item.loop-item--mobile-scroll .e-loop-item:first-of-type {
        padding-left: 16px;
    }
    .loop-item.loop-item--mobile-scroll .e-loop-item:last-of-type {
        padding-right: 16px;
    }
    .loop-item.loop-item--mobile-scroll .elementor-loop-container {
        flex-wrap: wrap;
        display: flex;
        flex-direction: column;
        height: 352px;
        overflow-x: scroll;
    }
    .loop-item.loop-item--testimony .elementor-loop-container {
        height: 350px;
    }
    .loop-item.loop-item--testimony .e-loop-item {
        max-width: 385px;
    }
    .loop-item.loop-item--room .e-loop-item {
        max-width: 310px;
    }
}

@media screen and (max-width: 600px) {
    .usp-icon-box .elementor-icon-box-wrapper {
        display: grid !important;
        grid-template-columns: 40px 1fr !important;
        grid-gap: 24px !important;
    }
    .contact-section:before {
        max-width: 12%;
        left: unset !important;
        right: 0 !important;
    }
    .detail-kost .detail-kost-gallery__wrapper {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 0;
    }
    .detail-kost-gallery__item {
        height: 95px;
        border-radius: 0;
    }
    .detail-kost-gallery__item:first-of-type {
        grid-row: 1 / 2;
        grid-column: 1 / 5;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    .detail-kost-gallery__item .detail-kost-gallery__item-more {
        height: 50px;
        width: 50px;
    }
    .primary-nav-menu .menu-item:not(:last-of-type) {
        margin-bottom: 20px !important;
    }
    .primary-nav-menu .elementor-item {
        padding: 0 !important;
    }
    .primary-nav-menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        padding: 4px 16px 12px;
        background-color: transparent !important;
    }
    .primary-nav-menu .elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-nav-menu {
        padding: 20px !important;
        background-color: #fff !important;
        border-radius: 12px;
        border: 1px solid #dadada;
        box-shadow: 3px 2px 14px -3px rgba(0,0,0,0.13);
    }
    .primary-nav-menu .menu-item.primary-btn--is-nav .elementor-item {
        justify-content: center !important;
    }
    .primary-nav-menu .elementor-menu-toggle {
        padding: 0 !important;
    }
    .search-form .e-search-submit {
        right: 12px;
    }
}