/*
|--------------------------------------------------------------------------
| ASIAN ISLAND FACEBOOK SLIDER
|--------------------------------------------------------------------------
*/

.ai-facebook-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ai-facebook-popup-stats {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ai-facebook-popup-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-facebook-popup-stat svg {
    width: 18px;
    height: 18px;
}


/*
|--------------------------------------------------------------------------
| POPUP SHARE BUTTON
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-share-wrapper {
    position: relative;

    margin-left: 8px;
}


.ai-facebook-popup-share-button {
    width: 38px;
    height: 38px;

    padding: 9px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f2f2f2;

    color: #222;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.ai-facebook-popup-share-button:hover {
    background: #e5e5e5;

    transform: scale(1.05);
}


.ai-facebook-popup-share-button svg {
    width: 20px;
    height: 20px;

    display: block;
}


/*
|--------------------------------------------------------------------------
| POPUP SHARE MENU
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-share-menu {
    position: absolute;

    left: 50%;
    bottom: 48px;

    transform: translateX(-50%);

    z-index: 100;

    display: none;

    align-items: center;

    gap: 8px;

    padding: 8px;

    border-radius: 8px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.22);
}


.ai-facebook-popup-share-menu.active {
    display: flex;
}


.ai-facebook-popup-share-menu a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #222;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    background: transparent;
    border: 1px solid #000;
}











.ai-facebook-popup-share-menu svg {
    width: 20px;
    height: 20px;

    display: block;
}
/* =========================================================
   HOMEPAGE SHARE
   ========================================================= */

.ai-facebook-home-share {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}


.ai-facebook-home-share-button {
    width: 38px;
    height: 38px;

    padding: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #111;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.ai-facebook-home-share-button:hover {
    background: #ffffff;

    transform: scale(1.05);
}


.ai-facebook-home-share-button svg {
    width: 20px;
    height: 20px;

    display: block;
}


/* =========================================================
   HOMEPAGE SHARE MENU
   ========================================================= */

.ai-facebook-home-share-menu {
    position: absolute;

    top: 48px;
    right: 0;

    z-index: 100;

    display: none;

    align-items: center;

    gap: 8px;

    padding: 8px;

    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);
}


.ai-facebook-home-share-menu.active {
    display: flex;
}


.ai-facebook-home-share-menu a {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #111111;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.ai-facebook-home-share-menu a:hover {
    background: #eeeeee;

    transform: scale(1.08);
}


.ai-facebook-home-share-menu svg {
    width: 20px;
    height: 20px;

    display: block;
}
/*
|--------------------------------------------------------------------------
| MAIN SLIDER
|--------------------------------------------------------------------------
*/

.ai-facebook-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}


.ai-facebook-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}


.ai-facebook-slide {
    position: relative;
    flex: 0 0 25%;
    width: 25%;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    margin: 0px 1px;
    border-radius: 20px;
}
.ai-facebook-slide {
  position: relative;
  overflow: hidden;
}

.ai-facebook-slide::after {
  content: "";
  position: absolute;
  inset: 0;
 background: rgba(26, 127, 189, .9);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.ai-facebook-slide:hover::after {

  transform: translateY(0);
}



.ai-facebook-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #000;
}


.ai-facebook-media img,
.ai-facebook-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/*
|--------------------------------------------------------------------------
| VIDEO PLAY ICON
|--------------------------------------------------------------------------
*/

.ai-facebook-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);
    color: #fff;

    font-size: 20px;

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| HOVER OVERLAY
|--------------------------------------------------------------------------
*/

.ai-facebook-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(26, 127, 189, .9);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}


.ai-facebook-slide:hover .ai-facebook-overlay {
    opacity: 1;
    z-index: 11;
    text-align: center;
}
.ai-facebook-hover-site-name{color:#fff;font-size:18px;padding-bottom: 10px;}
.ai-facebook-message {
    width: 100%;
    text-align: center;
    /* padding: 30px; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
}
.ai-data{display: grid;padding: 40px 20px 5px 20px;}
.ai-facebook-hover-header{border-top: 1px solid #3c9cd5;}



/*
|--------------------------------------------------------------------------
| ENABLE HOMEPAGE SHARE BUTTON CLICKS
|--------------------------------------------------------------------------
*/

.ai-facebook-hover-header,
.ai-facebook-hover-right,
.ai-facebook-hover-share,
.ai-facebook-hover-share-menu,
.ai-facebook-hover-share-menu a {
    pointer-events: auto;
}


/*
|--------------------------------------------------------------------------
| SHARE MENU
|--------------------------------------------------------------------------
*/

.ai-facebook-hover-share-menu {
    z-index: 100;
}

/*
|--------------------------------------------------------------------------
| HOVER HEADER
|--------------------------------------------------------------------------
*/

.ai-facebook-hover-header {
    width: 100%;
    display: flex;
    align-items:center;
    justify-content:space-between;
    padding: 5px 20px;
}


.ai-facebook-hover-brand {
    display: flex;
    align-items: center;
}


.ai-facebook-hover-logo {
    width: 40px;
    height: 40px;

    object-fit: contain;

    border-radius: 50%;

    background: #fff;

    padding: 7px;
}


.ai-facebook-hover-logo-fallback {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;
    color: #000;

    font-weight: 700;
}
.wpcf7-form-control.wpcf7-not-valid { border: 1px solid #f00; }
span.wpcf7-not-valid-tip {
    display: none;
}

/*
|--------------------------------------------------------------------------
| HOVER RIGHT
|--------------------------------------------------------------------------
*/

.ai-facebook-hover-right {
    position: relative;

    display: flex;

    align-items: center;

    gap: 40px;
}


.ai-facebook-hover-date {
    color: #fff;

    font-size: 13px;
    font-weight: 500;
}


.ai-facebook-hover-share {
    width: 38px;
    height: 38px;

    padding: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: #111;

    cursor: pointer;
}


.ai-facebook-hover-share svg {
    width: 20px;
    height: 20px;
}


/*
|--------------------------------------------------------------------------
| HOVER SHARE MENU
|--------------------------------------------------------------------------
*/

.ai-facebook-hover-share-menu {
    position: absolute;
    
    top: -40px;
    right: 10px;

    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}


.ai-facebook-hover-share-menu.active {
    display: flex;
}
.et_pb_code_3.et_pb_code.et_pb_module{background: #fff;padding: 12px;border-radius: 10px;}

.ai-facebook-hover-share-menu a {
    width: 34px;
    height: 34px;
    padding:6px;
    color: #111;
border: 1px solid;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.hovericon:hover .ai-facebook-hover-share-menu{display:inline-block;}

.ai-facebook-hover-share-menu svg {
    width: 20px;
    height: 20px;
}
.facebookcontainer.popopen{z-index:999;}
.ai-facebook-popup-stats .ai-facebook-popup-share-wrapper {
    position: absolute;
    margin-left: 8px;
    right: 18px;
}
.ai-facebook-popup-stats .ai-facebook-popup-share-button{background: transparent;}
.ai-facebook-popup-stats .ai-facebook-popup-share-button svg {
    fill: #000 !important;
}


/*
|--------------------------------------------------------------------------
| HOVER MESSAGE
|--------------------------------------------------------------------------
*/




/*
|--------------------------------------------------------------------------
| SLIDER ARROWS
|--------------------------------------------------------------------------
*/

.ai-facebook-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 30px;
    height: 30px;

    border: 0;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:#fff;

    color: #000;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}


.ai-facebook-prev {
    left: 5px;
}


.ai-facebook-next {
    right: 5px;
}


.ai-facebook-arrow:hover {
    background: #ee4d21;
    color:#fff;
}


/*
|--------------------------------------------------------------------------
| SLIDER COUNTER
|--------------------------------------------------------------------------
*/

.ai-facebook-counter {
    position: absolute;

    right: 20px;
    bottom: 20px;

    z-index: 30;

    padding: 6px 12px;

    border-radius: 20px;

    background: rgba(0, 0, 0, 0.65);

    color: #fff;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| POPUP
|--------------------------------------------------------------------------
|
| IMPORTANT:
| This makes the popup appear OVER the page,
| not below the slider.
|
|--------------------------------------------------------------------------
*/

.ai-facebook-popup {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 30px !important;

    box-sizing: border-box;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.90) !important;

    z-index: 999999 !important;

    overflow: hidden !important;
}

.ai-facebook-popup.active {
    display: flex !important;
}
body:has(.ai-facebook-popup.active) {
    overflow: hidden !important;
}

/*
|--------------------------------------------------------------------------
| POPUP INNER
|--------------------------------------------------------------------------
|
| LEFT  = IMAGE / VIDEO
| RIGHT = POST INFORMATION
|
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-inner {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 734px;
    height: 487px;

    min-height: 500px;

    display: flex;

    flex-direction: row;

    align-items: stretch;

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}


/*
|--------------------------------------------------------------------------
| POPUP LEFT
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-left {
    width: 55%;

    flex: 0 0 55%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #000;

    overflow: hidden;
}


.ai-facebook-popup-media {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #000;
}


.ai-facebook-popup-media img,
.ai-facebook-popup-media video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    background: #000;
}
/*
|--------------------------------------------------------------------------
| POPUP IMAGE PAGINATION DOTS
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-pagination {
    position: absolute;
    z-index: 50;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-height: 80%;
    overflow-y: auto;
    padding: 5px;
    bottom: 0;
}


.ai-facebook-popup-pagination:empty {
    display: none;
}


.ai-facebook-popup-dot {
    width: 10px;
    height: 10px;

    min-width: 10px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);

    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.5);

    cursor: pointer;

    transition:
        width 0.2s ease,
        height 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.ai-facebook-popup-dot:hover {
    background: rgba(255, 255, 255, 0.85);

    transform: scale(1.15);
}


.ai-facebook-popup-dot.active {
    width: 12px;
    height: 12px;

    min-width: 12px;

    background: #ffffff;

    transform: scale(1.1);
}

/*
|--------------------------------------------------------------------------
| POPUP RIGHT
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-right {
    width: 45%;

    flex: 0 0 45%;

    box-sizing: border-box;

    padding: 20px;

    display: flex;

    flex-direction: column;

    background: #fff;

    color: #222;

    overflow-y: auto;
}


/*
|--------------------------------------------------------------------------
| POPUP PROFILE
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-profile {
    display: flex;

    align-items: center;

    gap: 15px;

    padding-bottom: 10px;

    border-bottom: 1px solid #e5e5e5;
}


.ai-facebook-popup-logo {
    width: 35px;
    height: 35px;

    flex: 0 0 60px;

    object-fit: contain;

    border-radius: 50%;

    background: #fff;
}


.ai-facebook-popup-logo-fallback {
    width: 60px;
    height: 60px;

    flex: 0 0 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eee;

    color: #222;

    font-size: 20px;
    font-weight: 700;
}


.ai-facebook-popup-profile-details {
    min-width: 0;
}


.ai-facebook-popup-page-name {
    font-size: 18px;

    font-weight: 700;

    line-height: 1.3;

    color: #111;
}


.ai-facebook-popup-email {
    margin-top: 0px;

    font-size: 13px;

    color: #777;
}


/*
|--------------------------------------------------------------------------
| POPUP POST
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-post {
    padding-top: 10px;

    flex: 1;
}


.ai-facebook-popup-post-heading {
    margin: 0 0 0px;

    font-size: 18px;

    font-weight: 700;

    color: #111;
}


.ai-facebook-popup-text {
    white-space: pre-line;

    font-size: 14px;

    line-height: 1.5;

    color: #444;

    word-break: break-word;
}


/*
|--------------------------------------------------------------------------
| POPUP STATS
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-stats {
    display: flex;

    align-items: center;

    gap: 25px;

    padding: 10px 0;

    border-top: 1px solid #e5e5e5;

    border-bottom: 1px solid #e5e5e5;
}


.ai-facebook-popup-stat {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #555;

    font-size: 14px;
}


.ai-facebook-popup-stat svg {
    width: 20px;
    height: 20px;
}


/*
|--------------------------------------------------------------------------
| VIEW ON FACEBOOK
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-facebook-link {
    display: inline-block;

    margin-top: 20px;

    color: #1877f2;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;
}


.ai-facebook-popup-facebook-link:hover {
    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| POPUP SHARE BUTTONS
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-share {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;
}


.ai-facebook-popup-share a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 15px;

    border-radius: 6px;

    background: #f2f2f2;

    color: #222;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;
}


.ai-facebook-popup-share a:hover {
    background: #e5e5e5;
}


.ai-facebook-popup-share svg {
    width: 18px;
    height: 18px;
}


/*
|--------------------------------------------------------------------------
| POPUP CLOSE BUTTON
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-close {
    cursor: pointer;
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 10;
    background: #fff;
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 0 10px #00000047;
}


/*
|--------------------------------------------------------------------------
| POPUP PREVIOUS / NEXT
|--------------------------------------------------------------------------
*/

.ai-facebook-popup-prev,
.ai-facebook-popup-next {
    position: fixed;

    top: 50%;

    transform: translateY(-50%);

    z-index: 1000000;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.7);

    color: #fff;

    font-size: 34px;

    line-height: 1;

    cursor: pointer;
}


.ai-facebook-popup-prev {
    left: 20px;
}


.ai-facebook-popup-next {
    right: 20px;
}


.ai-facebook-popup-prev:hover,
.ai-facebook-popup-next:hover {
    background: rgba(0, 0, 0, 0.95);
}


/*
|--------------------------------------------------------------------------
| ERROR / EMPTY
|--------------------------------------------------------------------------
*/

.ai-facebook-error,
.ai-facebook-empty {
    width: 100%;

    padding: 20px;

    box-sizing: border-box;

    text-align: center;

    color: #555;
}


/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media (max-width: 980px) {

    .ai-facebook-slide {
        flex: 0 0 50%;
        width: 50%;
    }


    .ai-facebook-popup-inner {
        width: 94vw;

        height: 88vh;

        min-height: 450px;
    }


    .ai-facebook-popup-left {
        width: 50%;
        flex-basis: 50%;
    }


    .ai-facebook-popup-right {
        width: 50%;
        flex-basis: 50%;

        padding: 15px;
    }

}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .ai-facebook-slide {
        flex: 0 0 100%;
        width: 100%;
    }



    .ai-facebook-hover-logo {
        width: 40px;
        height: 40px;
    }


    .ai-facebook-hover-logo-fallback {
        width: 40px;
        height: 40px;
    }


    .ai-facebook-hover-date {
        font-size: 11px;
    }


    .ai-facebook-arrow {
        width: 32px;
        height: 32px;

    }


    .ai-facebook-prev {
        left: 8px;
    }


    .ai-facebook-next {
        right: 8px;
    }


    /*
    |--------------------------------------------------------------------------
    | MOBILE POPUP
    |--------------------------------------------------------------------------
    */

    .ai-facebook-popup {
        padding: 15px;
    }


    .ai-facebook-popup-inner {
        width: 95vw;

        height: 92vh;

        min-height: 0;

        display: flex;

        flex-direction: column;

        overflow-y: auto;
    }


    .ai-facebook-popup-left {
        width: 100%;

        flex: 0 0 auto;

        height: 45%;

        min-height: 250px;
    }


    .ai-facebook-popup-right {
        width: 100%;

        flex: 1 1 auto;

        padding: 15px;

        overflow-y: auto;
    }


    .ai-facebook-popup-profile {
        padding-bottom: 10px;
    }


    .ai-facebook-popup-logo {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }


    .ai-facebook-popup-logo-fallback {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }


    .ai-facebook-popup-page-name {
        font-size: 16px;
    }


    .ai-facebook-popup-post {
        padding-top: 18px;
    }


    .ai-facebook-popup-post-heading {
        font-size: 18px;
    }


    .ai-facebook-popup-text {
        font-size: 13px;

        line-height: 1.6;
    }


    .ai-facebook-popup-stats {
        gap: 18px;
    }


    .ai-facebook-popup-share {
        flex-wrap: wrap;
    }


    .ai-facebook-popup-prev {
        left: 8px;
    }


    .ai-facebook-popup-next {
        right: 8px;
    }


    .ai-facebook-popup-close {
        top: 10px;
        right: 10px;

        width: 40px;
        height: 40px;

        font-size: 28px;
    }
    .ai-facebook-popup-text {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.6;
}
 .ai-facebook-popup-pagination {
        left: 8px;

        gap: 6px;

        max-height: 70%;
    }


    .ai-facebook-popup-dot {
        width: 8px;
        height: 8px;

        min-width: 8px;
    }


    .ai-facebook-popup-dot.active {
        width: 10px;
        height: 10px;

        min-width: 10px;
    }
}
