.rejuran-section {
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 50px;
}
.product-section .fp-table {
    display: flex;
    background-color: white;
    color: black;
}
.product-section .fp-section {
    position: relative;
}
.list_view {
    justify-content:flex-start
}
.rjr_lineup .section_cont {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}
.list_view .section_cont {
    padding-top: calc(140px + 2vh);
    padding-bottom: 0;
}
.section_cont {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.rjr_lineup .info_area.type_row {
    padding-left: 18.75vw;
    padding-right: 18.75vw;
}
.info_area.type_row {
    grid-auto-flow: column;
    grid-template-rows: 60px 1fr;
    grid-template-columns: 26.45vw auto;
    text-align: center;
}
.info_area.type_row .text_group.group01 {
    grid-column: 1/3;
    text-align: center;
}
.info_area.type_row .text_group.group02 {padding-right:2.08vw; text-align: center;}


.text.main01 {
    font-size:50px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.25vw;
}
.mbr-gallery .mbr-slider .carousel-inner .mbr-gallery-item.rejuran {
    display: flex;
    flex-direction: row;
}
@media screen and (max-width: 768px) {
    .mbr-gallery .mbr-slider .carousel-inner .mbr-gallery-item.rejuran {
        flex-direction: column;
    }
}
.mbr-gallery .mbr-gallery-item.rejuran img {
    width: 200px;
    height: auto;
}
@media (max-width: 1919px) {
    .rjr_lineup .img_list {
        row-gap: 24px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}
.img_slide_top .mask_box img {
    position: absolute;
    bottom: 0;
}
.popRejuran { margin-left: 10px;}
.popRejuran hr {
    border: 1px solid white;
}
/* Lightbox Modal */
/* Gallery styles */
.mbr-gallery-row {
    justify-content: center;
    margin: 0 auto;
    text-align: center;
}
.mbr-gallery-item {
    display: inline-block;
    margin: 10px;
}

.mbr-gallery-item img {
    width: 180px;
    height: auto;
    cursor: pointer;
}

/* Modal styles */
.gallery .modal {
        display: none;
        position: fixed;
        z-index: 1;        
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .gallery .myModal-content {
        position: relative;
        margin: auto;
        padding: 0;
        width: 90%;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .gallery .close {
        position: absolute;
        top: 50px;
        right: 35px;
        color: #000000;
        font-size: 40px;
        font-weight: bold;
        transition: 0.5s;
    }

    .gallery .close:hover,
    .gallery .close:focus {
        color: #000000;
        text-decoration: none;
        cursor: pointer;
    }

    .gallery .mySlides {
        display: none;
        text-align: center;
    }

    .gallery .mySlides img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }
    @media screen and (max-width: 768px) {
        .gallery .mySlides img {
            width: 180px;
            max-width: 180px;
            height: auto;
        }        
    }
    #caption {
        color: #ccc;
        font-size: 18px;
        padding: 10px 0;
        text-align: center;
    }

    .gallery .prev, .gallery .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
    }

    .gallery .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }

    .gallery .prev:hover,.gallery .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

    .gallery .myModal-content {
    background-color: white;
    border: none;
}

.carousel-item img {
    width: 100%;
    height: auto;
}
.mbr-gallery-item span {
    display: block;
    margin: 20px;
    color: black;
}


/* Responsive styles */
@media (max-width: 968px) {
    .modal-dialog {
        max-width: 100%;
        width: 100%; /* Ensure the width is set to 100% */
        margin: 10px auto;
    }
    
    .carousel-item img, .mbr-gallery-item img {
        width: 180px;
        height: auto;
        margin: 0 auto;
    }
}  
.mbr-bg-black video {
    max-width: 900px;
    height: auto;
}

.clinic-list__search-container {
    background-color: white;
    color: black;
    border-radius: 50px;
    overflow: hidden;
    border: 1px #9c9a9a solid;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 230px;
    max-width: 100%;
    margin: 0 auto;
}
.clinic-list__search-input {
    background-color: transparent;
    border: 0;
    margin: 10px;
    width: 180px;
    color:black;
}
.clinic-list__search-submit {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 18px;
    background-color: transparent;
    border: none;
    background-image: url(/assets/images/search.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.sec-tag-content.shop-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    float: left;
    width: 50%;
    background: white linear-gradient(to bottom, #ffffff, #f0f0f0);
}
@media screen and (max-width: 768px) {
    .sec-tag-content.shop-holder {
        width: 100%;
    }
    .contentbase img {
        width: 100%;
        height: auto;
      }
}
.tag-holder.tag-group {
    width: 100%;
    margin:10px auto;
    max-width:1000px;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.tag-btn {
    float: left;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: 700;
    padding: 10px 20px;
    margin-right: 20px;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
}
.tag-btn.active {
    background-color: #055671;
    color: white;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);
}

.content-holder-overlay {
    max-width: 74rem;
    height: 400px;
    margin: 0 auto;
    overflow-x: hidden;  /* Can be auto, hidden, or visible */
    overflow-y: visible;
    border-radius: 10px;
    border: 0px solid;
    }
.content-holder-overlay .content-holder {
    height: 100%;
    overflow: visible;
    border: 1px solid #ccc;
}

.client-shop-info {
    text-align: left;
    align-self: left;
    padding: 15px;
}
.sec-content .content-holder .tag-loca-content .detail {
    display: flex;
    margin-right: 0;
    width: 100%;

}
.sec-content .content-holder .tag-loca-content .detail-item { float: left;}
.sec-tag-content.shop-holder .detail-item.detail-item1 {float: left;}
.sec-tag-content.shop-holder .client-shop-info {
    float: left;
    width: 50%;
}
.product-holder {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    align-items: start;
}
.client-shop-info .display1 {
    text-align: left;
    font-size: 1.2em;
    font-weight: 700;
    color: black;
}
.client-shop-info .company-loc p {
    text-align: left;
    font-size: 1.0em;
    font-weight: 400;
    color: black;
}
@media screen and (max-width: 768px) {
    .sec-tag-content.shop-holder .client-shop-info {
        width: 100%;
    }  
    .product-holder {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px; 
        align-items: start;
    }
}

