#md_app{
    z-index: 1;
}

.link_btn .link{
    font-size: 20px;
}

.page-template-content-page-party-occasions .how-to-book{
    margin-top: 0;
}

.page-template-content-page-party-theme-baby-shark .link_btn .link{
    color: #fff;
    background: #487BBA;
}
.page-template-content-page-party-theme .section-banner .absolute-content.flex-end{
    justify-content: flex-end;
}

.page-template-content-page-party-theme .section-banner .absolute-content.flex-end a{
    margin-bottom: 26px;
}

.party-sub-page{
    overflow: hidden;
}

.party-sub-page .party-gallery .link_btn{
    margin-top: 0;
}

.page-template-content-page-party-occasions .party-sub-page .image-button-text{
    margin-bottom: 0;
}

.page-template-content-page-party-theme.party-sub-page .image-button-text{
    margin-bottom: 73px;
}

.party-sub-page .loop-sections .image-button-text:last-child{
    margin-bottom: 0;
}

.party-sub-page .image-button-text{
    margin-bottom: 118px;
}

.party-sub-page .types-of-parties-title{
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
    color: #000000;
    margin-bottom: 92px;
}

.party-sub-page .wysiwyg_editor p{
    margin: 0;
}

.party-sub-page .wysiwyg_editor p:last-child img{
    padding-bottom: 0;
}

.party-sub-page .types-of-parties{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* max-width: 950px; */
    margin: 0 auto;
    gap: 83px;
}

.party-sub-page .types-of-parties .item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.party-sub-page .types-of-parties .item .title{
    font-size: 20px;
    text-align: center;
    color: #000000;
    margin-top: 27px;
}

.party-sub-page .types-of-parties .icon{
    width: 223px;
    height: 223px;
}

.party-sub-page .types-of-parties .icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.party-sub-page .types-of-parties-with-title-and-description {
    margin-top: 128px;
    margin-bottom: 126px;
    gap: 117px;
    display: flex;
    flex-direction: column;
}

.party-sub-page .types-of-parties-with-title-and-description .item{
    display: flex;
    gap: 55px;   
}

.party-sub-page .types-of-parties-with-title-and-description .item .image{
    width: 53%;
}

.party-sub-page .types-of-parties-with-title-and-description .item .image img{
    width: 100%;
    height: auto;
    max-height: 100%;
}

.party-sub-page .types-of-parties-with-title-and-description .item .right-content{
    width: 46%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.party-sub-page  .types-of-parties-with-title-and-description .item .right-content .icon{
    width: 155px;
    height: 155px;
}

.party-sub-page  .types-of-parties-with-title-and-description .item .right-content .icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
} 

.party-sub-page .types-of-parties-with-title-and-description .item .right-content .title{
    font-size: 18px;
    color: #000000;
    margin: 20px 0;
    margin-top: 40px;
}

.party-sub-page  .types-of-parties-with-title-and-description .item .right-content .description{
    margin-bottom: -9px;
}

.party-sub-page .image-button-text img{
    width: 100%;
    height: auto;
    padding-bottom: 85px;
}

.party-sub-page .link_btn{
    display: flex;
    justify-content: center;
    margin-top: 73px;
}

.party-sub-page .link_btn .link{
}

.party-sub-page .title-and-description{
    display: flex;
    margin-bottom: 63px;
    gap: 100px;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-template-content-page-birthday-party-landing .party-sub-page .party-theme-section .title-and-description{
    margin-bottom: 61px;
}

.party-sub-page .party-gallery .title-and-description{
    margin-bottom: 85px;
}

.party-sub-page .title-and-description .title{
    font-size: 22px;
    line-height: 1.2;
    color: #000000;
    text-wrap: nowrap;
    white-space: nowrap;
}

.party-sub-page .title-and-description .description{
    text-align: center;
    width: 100%;
    font-size: 20px;
}

.anchor-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 13px;
    margin-top: 0px;
    margin-bottom: 84px;
    flex-wrap: wrap;
}

.anchor-navigation a{
    padding: 4px 20px;
    border: 1px solid #000000;
    border-radius: 30px;
    color: #000000;
}

.anchor-navigation a:hover{
    background: #B3B3B3;
    border: 1px solid #B3B3B3;
    color: #fff;
}

.party-sub-page .party-gallery .gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 25px;
    padding-bottom: 90px;
}

.party-sub-page .party-gallery .gallery-mobile{
    display: none;
}

.party-sub-page .party-gallery .gallery img{
    width: calc((100% - 25px) / 2);
}

.party-sub-page .party-gallery{
    margin-bottom: 0px;
}

.page-template-content-page-party-rundown .party-sub-page .title-and-description .description{
    margin-top: 0;
}

.page-template-content-page-party-rundown .party-sub-page .image-button-text img{
    padding-bottom: 97px;
}

.page-template-content-page-party-rundown .image-button-text.mc-donald img{
    padding-bottom: 72px;
}

.page-template-content-page-party-rundown .image-button-text.baby-shark{
    padding-top: 117px;
}

.page-template-content-page-party-rundown .image-button-text.detail-baby-shark img{
    padding-bottom: 75px;
}

.page-template-content-page-party-rundown .party-sub-page .link_btn .link, .page-template-content-page-party-theme.party-sub-page .link_btn .link{
    min-width: 570px;
}

.page-template-content-page-party-theme.party-sub-page .image-button-text img{
    padding-bottom: 70px;
}

.page-template-content-page-party-theme .image-button-text.themed_gift{
    margin-top: 75px;
}

.page-template-content-page-party-theme .image-button-text.exclusive_membership_discounts{
    margin-top: 35px;
}

.page-template-content-page-party-theme.party-sub-page .image-button-text.exclusive_membership_discounts img{
    padding-bottom: 92px;
}

.page-template-content-page-party-theme .image-button-text.party_rundown{
    margin-top: 91px;
}

.page-template-content-page-party-theme .image-button-text.party_rundown img{
    padding-bottom: 92px;
}

.page-template-content-page-party-theme .footer-link .button{
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    color: #000000;
    text-align: center;
    background-color: #EFEFEF;
    width: 100%;
    display: block;
    padding: 11px 0;
    margin-top: 90px;
}

.page-template-content-page-party-theme .party-tab{
    margin-top: 95px;
}


@media(max-width: 1200px){
    .party-sub-page .title-and-description, .page-template-content-page-party-rundown .party-sub-page .title-and-description, .page-template-content-page-party-theme.party-sub-page .title-and-description{
        gap: 50px;
        align-items: flex-start;
    }

    .party-sub-page  .types-of-parties-with-title-and-description .item .right-content .title{
        margin: 30px 0;
    }

    .party-sub-page  .types-of-parties-with-title-and-description .item{
    }
    .party-sub-page .types-of-parties{
        gap: 20px;
    }
    .party-sub-page .types-of-parties .item{
        width: calc((100% - 20px * 2) / 3);
    }

    .party-sub-page .types-of-parties .icon{
        max-width: 100%;
        height: auto;
    }
}

@media(max-width: 767.98px){

    .page-template-content-page-party-theme .section-banner .absolute-content.flex-end a{
        margin-bottom: 0;
    }

    .party-sub-page .title-and-description .title{
        white-space: wrap;
    }

    .page-template-content-page-party-theme .party-tab{
        margin-top: 148px;
    }

    .page-template-content-page-party-theme .party-tab .tab:last-child .tab-title{
        border: none;
    }

    .page-template-content-page-party-theme .party-tab .tab:nth-last-child(2) .tab-title{
        border-bottom: 1px solid #000000;
    }
    .page-template-content-page-party-theme.party-sub-page .image-button-text{
        margin-bottom: 143px;
    }
    .party-sub-page .image-button-text{
        margin-bottom: 163px;
    }
    
    .page-template-content-page-party-theme .footer-link{
        display: block;
        margin: 0 -30px;
    }

    .page-template-content-page-party-theme .footer-link .button{
        font-weight: 400;
        font-size: 28px;
        line-height: 150%;
        letter-spacing: -0.05em;
        padding: 20px 0;
        margin-top: 148px;
    }
    .page-template-content-page-party-theme.party-sub-page .link_btn .link {
        width: 493px;
        max-width: 100%;
        min-width: unset;
    }
    .page-template-content-page-party-theme .image-button-text.party_rundown .link_btn .link{
        min-width: 420px;
    }

    .page-template-content-page-party-theme .image-button-text.party_rundown 
    .page-template-content-page-party-theme .image-button-text.exclusive_membership_discounts{
        margin-top: 77px;
    }
    .page-template-content-page-party-theme.party-sub-page .title-and-description .title br{
        display: none;
    }
    .page-template-content-page-party-theme .image-button-text.themed_gift{
        margin-top: 142px;
    }

    .page-template-content-page-party-theme.party-sub-page .title-and-description{
        align-items: center;
        gap: 42px;
        margin-bottom: 66px;
    }

    .page-template-content-page-party-theme.party-sub-page .title-and-description .description{
        text-align: center;
    }
    .page-template-content-page-party-theme.party-sub-page .image-button-text img{
        padding-bottom: 76px;
    }
    .anchor-navigation{
        flex-direction: column;
        gap: 0;
        margin: 0 -30px;
        margin-top: 50px;
        margin-bottom: 77px;
    }

    .anchor-navigation a{
        border: none;
        background: #EFEFEF;
        border-radius: 0;
        text-align: center;
        color: #161A1B;
        border-bottom: 1px solid #000000;
        padding: 15px 30px;
    }

    .anchor-navigation a:last-child, .anchor-navigation a:last-child:hover{
        border: none;
    }

    .anchor-navigation a:hover{
        color: #161A1B;
        background: #EFEFEF;
        border: none;
        border-bottom: 1px solid #000000;
    }

    .page-template-content-page-party-rundown .party-sub-page .image-button-text.detail-baby-shark img{
        padding-bottom: 77px;
    }

    .page-template-content-page-party-rundown .image-button-text.baby-shark{
        padding-top: 165px;
    }

    .page-template-content-page-party-rundown .party-sub-page .link_btn .link{
        min-width: 493px;
        padding: 14px 47px;
    }

    .page-template-content-page-party-rundown .party-sub-page .image-button-text img{
        padding-bottom: 31px;
    }

    .page-template-content-page-party-rundown .image-button-text.mc-donald img{
        padding-bottom: 77px;
    }

    .party-sub-page .types-of-parties-with-title-and-description{
        margin-top: 0;
        gap: 46px;
        margin-bottom: 50px;
    }

    .party-sub-page .link_btn .link{
        text-align: center;
    }

    .party-sub-page .image-button-text img{
        padding-bottom: 80px;
    }

    .party-sub-page .types-of-parties-title{
        margin-bottom: 82px;
    }

    .party-sub-page .types-of-parties-with-title-and-description .item .right-content .title{
        margin: 58px 0;
        margin-bottom: 35px;
    }

    .party-sub-page .title-and-description .description{
        margin-top: 0;
    }

    .party-sub-page .types-of-parties-with-title-and-description .item{
        flex-direction: column;
        box-shadow: 0px 4px 4px 3px rgba(0, 0, 0, 0.1);
        gap: 71px;
    }

    .party-sub-page .types-of-parties-with-title-and-description .item .right-content{
        width: 100%;
        padding: 43px;
        padding-top: 0;
        padding-bottom: 89px;
    }

    .party-sub-page .types-of-parties-with-title-and-description .item .image{
        width: 100%;
    }

    .party-sub-page .types-of-parties{
        display: none;
    }

    .party-sub-page .title-and-description, .party-sub-page .title-and-description, .page-template-content-page-party-rundown .party-sub-page .title-and-description{
        flex-direction: column;
        gap: 57px;
    }

    .party-sub-page .title-and-description{
        margin-bottom: 67px;
    }

    .page-template-content-page-party-rundown .party-sub-page .title-and-description{
        margin-bottom: 166px;
    }

     .party-sub-page .party-gallery .gallery {
        display: none;
    }
    .party-sub-page .party-gallery .gallery-mobile{
        display: block;
    }
    
    .party-sub-page .gallery-mobile .pagination-wrapper{
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
        margin: 46px 0;
    }

    .party-sub-page .gallery-mobile .pagination-wrapper .swiper-pagination{
        position: relative;
        display: flex;
        margin: 0 41px;
        gap: 23px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .party-sub-page .gallery-mobile .swiper-button-next, .party-sub-page .gallery-mobile .swiper-button-prev{
        position: relative;
        width: 43px;
        height: 43px;
        top: auto;
        left: auto;
        right: auto;
        margin: 0;
    }

    .party-sub-page .gallery-mobile .swiper-button-next:after, .party-sub-page .gallery-mobile .swiper-button-prev:after{
        content: "";
        background-image: url(../.././images/Arrow.png);
        width: 43px;
        height: 43px;
        background-size: contain;
    }

    .party-sub-page .gallery-mobile .swiper-button-prev:after{
        transform: rotate(180deg);
    }

    .party-sub-page .gallery-mobile .swiper-button-prev.swiper-button-disabled:after{
        background-image: url(../.././images/Arrow-disable.png);
        transform: rotate(0);
    }

    .party-sub-page  .gallery-mobile .swiper-button-next.swiper-button-disabled:after{
        background-image: url(../.././images/Arrow-disable.png);
        transform: rotate(180deg);
    }

    .party-sub-page .gallery-mobile .swiper-button-prev.swiper-button-disabled, .party-gallery .gallery-mobile .swiper-button-next.swiper-button-disabled{
        opacity: 1;
    }

    .party-sub-page .swiper-pagination-clickable .swiper-pagination-bullet{
        width: 22px;
        height: 22px;
        background: #D8D8D8;
        opacity: 1;
    }

    .party-sub-page  .gallery-mobile .swiper-pagination-bullet-active{
        background: #969696;
    }

    .party-sub-page .gallery-mobile img{
        width: 100%;
        height: 406px;
        object-fit: cover;
    }
    .party-sub-page .link_btn.book-now .link{
        min-width: 420px;
    }
}


@media(max-width: 575.98px){
    
    .party-sub-page .swiper-pagination-clickable .swiper-pagination-bullet{
        width: 15px;
        height: 15px;
    }
    .party-sub-page .gallery-mobile .swiper-button-next, .party-sub-page .gallery-mobile .swiper-button-prev{
        width: 30px;
        height: 30px;
    }
    .party-sub-page .gallery-mobile .swiper-button-next:after, .party-sub-page .gallery-mobile .swiper-button-prev:after{
        width: 100%;
        height: 100%;
    }
    .page-template-content-page-party-theme .party-tab{
        margin-top: 70px;
    }
    .party-sub-page .party-gallery .title-and-description{
        margin-bottom: 70px;
    }
    .page-template-content-page-party-theme.party-sub-page .image-button-text{
        margin-bottom: 70px;
    }
    .party-sub-page .image-button-text{
        margin-bottom: 70px;
    }
    .page-template-content-page-party-theme .footer-link .button{
        margin-top: 70px;
    }
    .page-template-content-page-party-theme .image-button-text.party_rundown{
        margin-top: 90px;
    }
    .page-template-content-page-party-theme.party-sub-page .title-and-description{
        text-align: center;
    }

    .page-template-content-page-party-theme .image-button-text.exclusive_membership_discounts{
        margin-top: 0;
    }

    .page-template-content-page-party-theme .image-button-text.themed_gift{
        margin-top: 50px;
    }
    .party-sub-page .gallery-mobile .pagination-wrapper .swiper-pagination{
        margin: 0 20px;
        gap: 20px;
    }
    

    .party-sub-page .link_btn.book-now .link, .page-template-content-page-party-rundown .party-sub-page .link_btn .link{
        min-width: unset;
        width: 100%;
    }

    .party-sub-page .types-of-parties-title{
        margin-bottom: 30px;
    }

    .party-sub-page .types-of-parties-with-title-and-description .item .right-content .title{
        margin-top: 35px;
        margin-bottom: 20px;
    }

    .party-sub-page .title-and-description, .party-sub-page .title-and-description, .page-template-content-page-party-rundown .party-sub-page .title-and-description, .page-template-content-page-party-theme.party-sub-page .title-and-description{
        gap: 20px;
        margin-bottom: 30px;
    }

    .image-button-text img{
        padding-bottom: 30px;
    }

    .page-template-content-page-party-rundown .image-button-text.baby-shark{
        padding-top: 76px;
    }
}