:root {
    --aps-brown: #9b725a;
    --aps-brown-dark: #8d674f;
    --aps-text: #8e6a55;
    --aps-border: #b9a496;
    --aps-light-border: #e5ddd7;
    --aps-black: #000;
    --aps-white: #fff;
}


/* =========================================================
   RESET
========================================================= */

.aps-showcase,
.aps-showcase *,
.aps-modal,
.aps-modal * {
    box-sizing: border-box;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.aps-showcase {
    position: relative;
    left: 50%;

    width: 100vw !important;
    max-width: 100vw !important;

    min-height: 960px;

    margin-left: -50vw !important;

    padding: 150px;

    background: #fff;

    color: var(--aps-text);
}


/* =========================================================
   TABS
========================================================= */

.aps-tabs {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    width: min(1400px, calc(100% - 180px));

    margin: 0 auto 100px;

    gap: 70px;
    
}

.aps-tab {
    display: flex;

    min-height: 58px;

    align-items: center;
    justify-content: center;

    padding: 10px 25px;

    border: 1px solid transparent !important;

    background: transparent !important;

    color: var(--aps-text) !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow: none !important;
}

.aps-tab:hover,
.aps-tab.is-active {
    border-color: #888 !important;
}


/* =========================================================
   PANELS
========================================================= */

.aps-panel[hidden] {
    display: none !important;
}


/* =========================================================
   SWIPER
========================================================= */

.aps-slider-wrap {
    position: relative;

    width: min(1500px, calc(100% - 140px));

    margin: 50px auto 0;
}

.aps-swiper {
    width: 100%;

    overflow: hidden;
}

.aps-swiper .swiper-wrapper {
    align-items: stretch;
}


/* =========================================================
   MOBILE + TABLET - CENTERED APARTMENTS SLIDER
========================================================= */

@media (max-width: 1100px) {

    .aps-swiper {
        overflow: hidden;
    }

    .aps-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .aps-swiper .swiper-slide.aps-card {
        flex-shrink: 0;
        min-width: 0;
    }

    /* Ascunde informatiile apartamentelor laterale */
    .aps-swiper .swiper-slide:not(.swiper-slide-active)
    .aps-card-content {
        opacity: 0;
        pointer-events: none;
    }

    .aps-swiper .swiper-slide-active
    .aps-card-content {
        opacity: 1;
        transition: opacity 0.3s ease;
    }
}



/* =========================================================
   APARTMENT CARD
========================================================= */

.aps-card {
    display: flex !important;

    height: auto;

    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* =========================================================
   APARTMENT IMAGE
========================================================= */

.aps-card-plan {
    display: flex;

    width: 100%;
    height: 390px;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border: 0;
}

.aps-card-image {
    display: block;

    width: 100%;
    /*height: 100% !important;*/

    border: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   APARTMENT CONTENT
========================================================= */

.aps-card-content {
    position: relative;

    display: flex;

    width: 100%;

    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
}

.aps-card-title {
    position: static !important;

    margin: 0 0 12px !important;

    padding: 0 !important;

    transform: none !important;

    color: var(--aps-text) !important;

    font-family:
        "Cormorant Garamond",
        "Times New Roman",
        Georgia,
        serif !important;

    font-size: 42px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    text-align: center !important;
}

.aps-card-area {
    position: static !important;

    margin: 0 0 8px !important;

    padding: 0 !important;

    transform: none !important;

    color: var(--aps-text) !important;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;

    text-align: center;
}

.aps-card-area strong {
    font-weight: 600;
}

.aps-card-price {
    position: static !important;

    margin: 15px 0 16px !important;

    padding: 0 !important;

    transform: none !important;

    color: var(--aps-text) !important;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;
    text-transform: uppercase;
}

.aps-see-more {
    position: static !important;

    display: inline-flex !important;

    width: 122px;
    min-width: 122px;

    height: 30px;
    min-height: 30px;

    align-items: center;
    justify-content: center;

    margin: 15px 0 0 !important;

    padding: 0 15px !important;

    transform: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #000 !important;

    color: #fff !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow: none !important;
}

.aps-see-more:hover {
    background: var(--aps-brown) !important;

    color: #fff !important;
}


/* =========================================================
   ARROWS
========================================================= */

.aps-slider-arrow {
    position: absolute;

    /*
     * 390 / 2 = 195
     * Centrul imaginii pe desktop.
     */
    top: 195px;

    z-index: 20;

    display: flex;

    width: 64px;
    height: 64px;

    align-items: center;
    justify-content: center;

    padding: 0;

    transform: translateY(-50%);

    border: 1px solid var(--aps-brown) !important;
    border-radius: 50% !important;

    background: #fff !important;

    color: var(--aps-brown) !important;

    font-family: Arial, sans-serif;
    font-size: 43px;
    font-weight: 200;
    line-height: 1;

    cursor: pointer;

    box-shadow: none !important;
}

.aps-slider-arrow span {
    display: block;

    margin-top: -5px;
}

.aps-slider-prev {
    left: -72px;
}

.aps-slider-next {
    right: -72px;
}

.aps-slider-arrow.swiper-button-disabled {
    opacity: 0.3;
}


/* =========================================================
   MODAL
========================================================= */

html:has(body.aps-modal-open),
body.aps-modal-open {
    overflow: hidden !important;
}


.aps-modal {
    position: fixed !important;

    inset: 0 !important;

    z-index: 9999999 !important;

    display: none;

    width: 100vw !important;
    
    height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;

    scrollbar-width: none !important;
    -ms-overflow-style: none;

    padding: 50px 30px;

    background: transparent;
}

/* Chrome, Edge, Safari */
.aps-modal::-webkit-scrollbar {
    display: none !important;
}

.aps-modal.is-open {
    display: block !important;
}

.aps-modal-overlay {
    position: fixed !important;

    inset: 0 !important;

    z-index: 1;

    background: rgba(74, 67, 63, 0.28) !important;

    cursor: pointer;
}

.aps-modal-dialog {
    position: relative !important;

    z-index: 2;

    width: calc(100vw - 60px) !important;

    min-height: 830px;

    margin: 0 auto !important;

    padding: 35px 55px 70px !important;

    border: 1px solid var(--aps-border) !important;
    border-radius: 0 !important;

    background: #fff !important;

    box-shadow:
        0 15px 60px rgba(0, 0, 0, 0.12) !important;
}


/* =========================================================
   MODAL CLOSE
========================================================= */

.aps-modal-close {
    position: absolute !important;

    top: 40px !important;
    right: 55px !important;

    z-index: 30;

    display: flex !important;

    width: 48px !important;
    height: 48px !important;

    align-items: center;
    justify-content: center;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: var(--aps-brown) !important;

    color: #fff !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 38px !important;
    font-weight: 200 !important;
    line-height: 1 !important;

    cursor: pointer;

    box-shadow: none !important;
}


/* =========================================================
   MODAL HEADER
========================================================= */

.aps-modal-header {
    display: block !important;

    width: 100%;

    margin: 0 0 30px !important;

    padding: 0 90px 0 0 !important;

    background: transparent !important;
}

.aps-modal-title {
    margin: 0 0 10px !important;

    padding: 0 !important;

    color: var(--aps-text) !important;

    font-family:
        "Cormorant Garamond",
        "Times New Roman",
        Georgia,
        serif !important;

    font-size: 45px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    text-align: left !important;
}

.aps-modal-subtitle {
    margin: 0 0 3px !important;

    color: var(--aps-text) !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;

    text-align: left !important;
}

.aps-modal-availability {
    color: var(--aps-text) !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;

    text-align: left !important;
}


/* =========================================================
   MODAL COLUMNS
========================================================= */

.aps-modal-grid {
    display: grid !important;

    grid-template-columns:
        minmax(0, 2.1fr)
        minmax(220px, 0.8fr)
        minmax(320px, 1fr);

    align-items: start;

    gap: 40px;
}


/* =========================================================
   LARGE IMAGE
========================================================= */

.aps-gallery-column {
    min-width: 0;
}

.aps-main-image-wrap {
    display: flex;

    width: 100%;
    height: 540px;
    min-height: 540px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--aps-border) !important;

    background: #fff !important;
}

.aps-main-image {
    display: block;

    width: 100%;
    height: 100%;
    max-height: none !important;

    object-fit: cover;
}


/* =========================================================
   THUMBNAILS
========================================================= */


.aps-thumbnails {
    display: flex;
    flex-wrap: nowrap;

    gap: 14px;
    width: 100%;
    margin-top: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: auto;
    scroll-snap-type: none;
    overscroll-behavior-x: contain;

    scrollbar-width: none;
    -ms-overflow-style: none;

    cursor: grab;
    user-select: none;
}

.aps-thumbnails::-webkit-scrollbar {
    display: none;
}

.aps-thumbnails.is-dragging,
.aps-thumbnails.is-dragging * {
    cursor: grabbing !important;
}

.aps-thumbnail {
    position: relative;
    display: block;

    flex: 0 0 calc((100% - 56px) / 5);

    min-width: 0;
    aspect-ratio: 1.45 / 1;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;
    scroll-snap-align: start;

    border: 1px solid transparent !important;
    border-radius: 0 !important;

    background: transparent !important;

    cursor: grab;
    box-shadow: none !important;
}

.aps-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.aps-thumbnail:hover,
.aps-thumbnail.is-active {
    border-color: var(--aps-brown) !important;
}


/* =========================================================
   PRICE
========================================================= */

.aps-modal-price {
    display: flex;

    align-items: baseline;

    margin-top: 35px;

    color: var(--aps-text) !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.aps-modal-price span {
    margin-right: 6px;
}

.aps-modal-price strong {
    color: var(--aps-text) !important;

    font-weight: 700 !important;
}


/* =========================================================
   BOTTOM TEXT
========================================================= */

.aps-bottom-text {
    margin: 15px 0 0 !important;

    color: var(--aps-text) !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4;
}


/* =========================================================
   ROOM SIZES
========================================================= */

.aps-rooms-column {
    width: 100%;

    padding-top: 0;
}

.aps-rooms-column h3 {
    margin: 0 0 6px !important;

    padding: 0 !important;

    color: var(--aps-text) !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2;

    text-transform: uppercase;
}

.aps-room-table {
    width: 100% !important;

    margin: 0 !important;

    border: 0 !important;
    border-collapse: collapse !important;

    background: transparent !important;

    box-shadow: none !important;
}

.aps-room-table tbody,
.aps-room-table tr {
    border: 0 !important;

    background: transparent !important;
}

.aps-room-table tr:last-child {
    border-bottom: none !important;
}

.aps-room-table tr {
    border-bottom: 1px solid var(--aps-light-border) !important;
}

.aps-room-table td {
    padding: 7px 0 !important;

    border: 0 !important;

    background: transparent !important;

    color: var(--aps-text) !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.aps-room-table td:first-child {
    padding-right: 10px !important;

    text-align: left !important;
}

.aps-room-table td:last-child {
    padding-left: 10px !important;

    text-align: right !important;

    white-space: nowrap;
}

.aps-room-table .aps-room-total td {
    padding-top: 9px !important;

    border-bottom: 0 !important;

    font-weight: 700 !important;
}


/* =========================================================
   FORM PANEL
========================================================= */

.aps-form-panel {
    width: 100%;

    min-height: 670px;

    padding: 52px 32px 0px 32px !important;

    background: var(--aps-brown) !important;

    color: #fff !important;
}

.aps-form-panel form {
    margin: 0 !important;
}

.aps-form-panel p {
    margin: 0 0 5px !important;
}

.aps-form-panel br {
    display: none;
}


/* =========================================================
   CF7 INPUTS
========================================================= */

.aps-form-panel input[type="text"],
.aps-form-panel input[type="tel"],
.aps-form-panel input[type="email"],
.aps-form-panel input[type="number"],
.aps-form-panel select,
.aps-form-panel textarea {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    background: #fff !important;

    color: #333 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;

    box-shadow: none !important;
}

.aps-form-panel input[type="text"],
.aps-form-panel input[type="tel"],
.aps-form-panel input[type="email"],
.aps-form-panel input[type="number"],
.aps-form-panel select {
    height: 40px !important;

    padding: 0 16px !important;
}

.aps-form-panel textarea {
    height: 104px !important;
    min-height: 120px !important;

    padding: 13px 16px !important;

    resize: vertical;
}

.aps-form-panel input::placeholder,
.aps-form-panel textarea::placeholder {
    color: #aaa !important;

    opacity: 1 !important;
}


/* =========================================================
   CF7 ACCEPTANCE
========================================================= */

.aps-form-panel .wpcf7-acceptance {
    display: block;
}

.aps-form-panel .wpcf7-acceptance label {
    display: flex !important;

    align-items: flex-start;

    gap: 10px;

    color: #fff !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px !important;
    font-weight: 500;
    line-height: 1.3 !important;
}

.aps-form-panel .wpcf7-acceptance input[type="checkbox"] {
    flex: 0 0 auto;

    width: 13px;
    height: 13px;

    margin: 1px 0 0 !important;

    accent-color: #fff;
}


/* =========================================================
   CF7 SUBMIT
========================================================= */

.aps-form-panel input[type="submit"],
.aps-form-panel .wpcf7-submit {
    display: flex !important;

    width: 100% !important;
    height: 29px !important;
    min-height: 29px !important;

    align-items: center;
    justify-content: center;

    margin: 0 !important;

    padding: 0 15px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #000 !important;

    color: #fff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 29px !important;

    text-align: center !important;

    cursor: pointer;

    box-shadow: none !important;
}

.aps-form-panel input[type="submit"]:hover,
.aps-form-panel .wpcf7-submit:hover {
    background: #111 !important;

    color: #fff !important;
}


/* =========================================================
   CF7 ERRORS
========================================================= */

.aps-form-panel .wpcf7-not-valid-tip {
    margin-top: 5px;

    font-size: 10px !important;
}

.aps-form-panel .wpcf7-response-output {
    margin: 15px 0 0 !important;

    color: #fff !important;

    font-size: 10px !important;
}


/* =========================================================
   LOADING
========================================================= */

.aps-modal-loading,
.aps-modal-error {
    display: flex;

    min-height: 500px;

    align-items: center;
    justify-content: center;

    color: var(--aps-text);

    font-size: 16px;
}

.aps-modal-loading[hidden],
.aps-modal-error[hidden] {
    display: none !important;
}


/* =========================================================
   <= 1400
========================================================= */

@media (max-width: 1400px) {

    .aps-showcase {
        padding:
            80px
            0
            100px;
    }

    .aps-tabs {
        width: calc(100% - 120px);

        gap: 35px;
    }

    .aps-slider-wrap {
        width: calc(100% - 140px);

        margin:
            50px
            auto
            0;
    }

    .aps-modal-dialog {
        padding:
            35px
            40px
            55px !important;
    }

    .aps-modal-grid {
        grid-template-columns:
            minmax(0, 1.9fr)
            minmax(200px, 0.75fr)
            minmax(285px, 0.95fr);

        gap: 24px;
    }

    .aps-main-image-wrap {
        height: 540px;
        min-height: 540px;
    }

    .aps-form-panel {
        padding:
            42px
            26px !important;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .aps-showcase {
        padding:
            70px
            0
            90px;
    }

    .aps-tabs {
        width: calc(100% - 64px);

        margin:
            0
            auto
            65px;
    }

    .aps-tab {
        font-size: 20px;
    }

    .aps-slider-wrap {
        width: calc(100% - 120px);

        margin:
            50px
            auto
            0;
    }


    /* =====================================================
       TABLET - IMAGE
    ===================================================== */

    .aps-card {
        display: flex !important;

        flex-direction: column !important;
        align-items: center !important;
    }

    .aps-card-plan {
        position: relative;

        width: 100%;
        height: 350px;

        flex: 0 0 350px;

        margin-bottom: 28px;
    }

    .aps-card-image {
        display: block;

        width: 100%;
    }


    /* =====================================================
       TABLET - CONTENT SUB IMAGINE
    ===================================================== */

    .aps-card-content {
        position: relative !important;

        display: flex !important;

        width: 100% !important;

        flex: 0 0 auto !important;
        flex-direction: column !important;
        align-items: center !important;

        clear: both;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        text-align: center !important;
    }

    .aps-card-title,
    .aps-card-area,
    .aps-card-price,
    .aps-see-more {
        position: static !important;

        float: none !important;

        transform: none !important;
    }


    /* =====================================================
       TABLET - ARROWS
    ===================================================== */

    .aps-slider-arrow {
        top: 175px;
    }

    .aps-slider-prev {
        left: -55px;
    }

    .aps-slider-next {
        right: -55px;
    }


    /* =====================================================
       TABLET - MODAL
    ===================================================== */

    .aps-modal-grid {
        grid-template-columns:
            minmax(0, 1.6fr)
            minmax(220px, 0.7fr);
    }

    .aps-form-panel {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .aps-showcase {
        min-height: auto;

        padding:
            60px
            0
            80px;
    }


    /* =====================================================
       MOBILE - TABS
    ===================================================== */

    .aps-tabs {
        display: flex;
        justify-content: center;
        width: calc(100% - 32px);

        gap: 8px;

        overflow-x: auto;

        margin:
            0
            auto
            50px;

        padding-bottom: 5px;
    }

    .aps-tab {
        flex: 0 0 auto;

        min-height: 44px;

        padding: 10px 10px;

        font-size: 14px;
    }


    /* =====================================================
       MOBILE - SLIDER
    ===================================================== */

    .aps-slider-wrap {
        width: calc(100% - 64px);

        margin:
            40px
            auto
            0;
    }


    /* =====================================================
       MOBILE - CARD
    ===================================================== */

    .aps-card {
        display: flex !important;

        height: auto !important;

        flex-direction: column !important;
        align-items: center !important;

        overflow: visible !important;

        text-align: center !important;
    }


    /* =====================================================
       MOBILE - IMAGE
    ===================================================== */

    .aps-card-plan {
        position: relative;

        display: flex;

        width: 100%;
        height: clamp(260px, 65vw, 340px);

        flex:
            0
            0
            clamp(260px, 65vw, 340px);

        align-items: center;
        justify-content: center;

        margin-bottom: 15%!important;

        padding: 0;

        overflow: visible;
    }

    .aps-card-image {
        display: block;

        width: 100%;
        height: 100%;

        object-fit: contain;
    }


    /* =====================================================
       MOBILE - CONTENT SUB IMAGINE
    ===================================================== */

    .aps-card-content {
        position: relative !important;

        display: flex !important;

        width: 100% !important;
        height: auto !important;

        flex: 0 0 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;

        clear: both;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        text-align: center !important;
    }

    .aps-card-title {
        position: static !important;

        display: block !important;

        width: 100%;

        margin:
            0
            0
            14px !important;

        padding: 0 !important;

        transform: none !important;

        font-size: 36px !important;

        text-align: center !important;
    }

    .aps-card-area {
        position: static !important;

        display: block !important;

        width: 100%;

        margin:
            0
            0
            10px !important;

        padding: 0 !important;

        transform: none !important;

        text-align: center !important;
    }

    .aps-card-price {
        position: static !important;

        display: block !important;

        width: 100%;

        margin:
            12px
            0
            16px !important;

        padding: 0 !important;

        transform: none !important;

        text-align: center !important;
    }

    .aps-see-more {
        position: static !important;

        display: inline-flex !important;

        margin:
            0
            auto !important;

        transform: none !important;
    }


    /* =====================================================
       MOBILE - ARROWS
    ===================================================== */

    .aps-slider-arrow {
        top: calc(
            clamp(260px, 65vw, 340px) / 2
        );

        width: 42px;
        height: 42px;

        font-size: 30px;
    }

    .aps-slider-prev {
        left: -22px;
    }

    .aps-slider-next {
        right: -22px;
    }


    /* =====================================================
       MOBILE - MODAL
    ===================================================== */

    .aps-modal {
        padding: 10px;
    }

    .aps-modal-dialog {
        width: 100% !important;
        min-height: auto;

        padding:
            28px
            20px
            40px !important;
    }

    .aps-modal-close {
        top: 18px !important;
        right: 18px !important;
        width: 25px !important;
        height: 25px !important;
        font-size: 30px !important
    }

    .aps-modal-header {
        margin-bottom: 25px !important;
        padding: 0 0px 0 0 !important;
    }

    .aps-modal-title {
        font-size: 38px !important;
    }

    .aps-modal-grid {
        display: flex !important;

        flex-direction: column;

        gap: 30px;
    }

    .aps-gallery-column,
    .aps-rooms-column,
    .aps-form-panel {
        width: 100%;
    }

    .aps-main-image-wrap {
        height: 300px;
        min-height: 300px;
    }

    .aps-thumbnails {
        gap: 8px;
    }

    .aps-thumbnail {
        flex: 0 0 calc((100% - 16px) / 3);
    }

    .aps-modal-price {
        font-size: 14px !important;
    }

    .aps-form-panel {
        min-height: auto;

        padding:
            30px
            20px !important;
    }
}

@media (max-width: 500px) {
    .aps-card-plan {
        margin-bottom: 10%!important;
    }
}


/* =============================================
   MOBILE + TABLET - VISIBLE SIDE SLIDES
============================================= */

@media (max-width: 1100px) {

    .aps-showcase {
        overflow-x: clip;
    }

    .aps-swiper {
        overflow: visible !important;
    }

    .aps-slider-wrap {
        width: calc(100% - 80px);
    }

    .aps-swiper .swiper-slide.aps-card {
        min-width: 0;
        flex-shrink: 0;
    }

    .aps-slider-prev {
        left: -30px;
    }

    .aps-slider-next {
        right: -30px;
    }
}

/* MOBILE */

@media (max-width: 767px) {

    .aps-slider-wrap {
        width: calc(100% - 64px);
    }

    .aps-slider-prev {
        left: -22px;
    }

    .aps-slider-next {
        right: -22px;
    }
}

@media (max-width: 400px) {
    .aps-tab {
        font-size: 13px!important;
    }
}


.aps-no-apartments {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.aps-form-panel .wpcf7-acceptance {
    margin-top: 50px;
    margin-bottom: 30px;
}

.aps-form-panel .wpcf7 form.sent .wpcf7-response-output {
    margin-top: -30px !important;
}

.aps-form-panel .wpcf7 .wpcf7-response-output {
    background-color: transparent !important;
}

.aps-form-panel .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    margin-top: -30px !important;
    margin-bottom: 20px !important;
}

.aps-form-panel .wpcf7-form p span {
    color: #ffffff!important;
    font-size: 12px;
}


/* MODAL CLOSE - PERFECT CENTER */

.aps-modal-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    line-height: 0 !important;
}

.aps-modal-close-icon {
    position: relative;
    display: block;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;
}

.aps-modal-close-icon::before,
.aps-modal-close-icon::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 18px;
    height: 2px;

    background-color: #fff;
    border-radius: 2px;
}

.aps-modal-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.aps-modal-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* MOBILE */

@media (max-width: 767px) {
    .aps-modal-close {
        width: 25px !important;
        height: 25px !important;
    }

    .aps-modal-close-icon {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .aps-modal-close-icon::before,
    .aps-modal-close-icon::after {
        width: 14px;
    }
}
