/* PHIMAI HEALTH | ผู้พัฒนาระบบ : นายวิษณุ เสาะสาย | ตำแหน่ง : เจ้าพนักงานธุรการ */
html{scroll-behavior:smooth;scroll-padding-top:20px}body.homepage{font-family:'Sarabun','Montserrat',sans-serif;color:#6a6a6a;background:#fff;overflow-wrap:anywhere}.homepage h1,.homepage h2,.homepage h3,.homepage h4,.homepage h5,.homepage h6{font-family:'Fredoka','Sarabun',sans-serif}.homepage .display-1,.homepage .display-3,.homepage .display-5,.homepage .display-6{font-family:'Fredoka','Sarabun',sans-serif}.hero-header{min-height:625px;display:flex;align-items:center}.hero-kicker{font-weight:600}.hero-header h1{line-height:1.1}.navbar-brand{white-space:nowrap}.navbar .home-account{flex-shrink:0}.top-info small{font-size:13px}.section-heading h2{line-height:1.15}.about-photo{position:relative;min-height:480px;background-size:cover;background-position:center;border-radius:50% 20% / 10% 40%}.photo-open{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:85px;height:85px;box-shadow:0 0 0 18px #ff488044}.text-preline{white-space:pre-line}.feature{font-weight:600;color:#363636}.card-photo{height:245px;object-fit:cover}.event-photo{height:320px;object-fit:cover}.team-photo{height:300px;object-fit:cover}.reviewer-photo{width:80px!important;height:80px;object-fit:cover}.testimonial-carousel:not(.owl-loaded){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.testimonial-carousel .owl-stage{display:flex}.testimonial-carousel .owl-item{display:flex}.testimonial-item{width:100%;height:100%}.testimonial-item blockquote{font-size:1rem}.owl-carousel .owl-dots{display:flex!important;justify-content:center;gap:8px;margin-top:25px}.owl-carousel .owl-dot{border:0;background:#cdd6ee!important;width:14px;height:14px;border-radius:50%}.owl-carousel .owl-dot.active{background:var(--bs-primary)!important}.events .events-rate{font-family:'Sarabun',sans-serif}.author-name{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer{background:#fff4f7}.footer h2{font-family:'Fredoka','Sarabun',sans-serif}.footer-galary-img img{width:100%;aspect-ratio:1;object-fit:cover}.back-to-top{opacity:0;visibility:hidden;transition:opacity .2s}.back-to-top.is-visible{opacity:1;visibility:visible}.skip-link{position:fixed;top:-80px;left:12px;background:#fff;padding:12px;z-index:100000}.skip-link:focus{top:12px}.navbar button.dropdown-toggle:focus-visible{outline:2px solid var(--bs-primary)}.navbar .dropdown-menu.show{visibility:visible;opacity:1;transform:rotateX(0)}.events-item{display:flex;flex-direction:column}.events .events-text{flex:1}.program-item{display:flex;flex-direction:column}.program-text{flex:1}.service-item p{line-height:1.7}.blog-item{background:#fff5f8}.blog-content{border-radius:0 0 16px 16px}.program-img .program-rate{font-size:16px}.events .events-rate{font-size:16px}.homepage :focus-visible{outline:3px solid #175ce6;outline-offset:3px}#galleryImage{max-height:75vh;object-fit:contain}
@media(max-width:1199.98px){.home-account{padding:12px 0}.navbar .navbar-nav .nav-link{padding:10px 0}.navbar .dropdown-menu{border:0}.hero-header{min-height:540px}}
@media(max-width:767.98px){.homepage .display-1{font-size:3.3rem}.homepage .display-3{font-size:2.4rem}.homepage .display-5{font-size:2.1rem}.hero-header{min-height:570px;background-position:62% center}.hero-header>.container{padding-top:1rem!important;padding-bottom:1rem!important}.about-photo{min-height:360px}.container.py-5{padding-top:2rem!important;padding-bottom:2rem!important}.event-photo{height:300px}.testimonial-carousel:not(.owl-loaded){grid-template-columns:1fr}.footer .container{padding-top:1rem!important}.team-photo{height:330px}.navbar-brand .display-6{font-size:2rem}.back-to-top{right:15px;bottom:15px}.card-photo{height:245px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Keep Thai glyphs available when template heading classes set a Latin font. */
.homepage .h1,.homepage .h2,.homepage .h3,.homepage .h4,.homepage .h5,.homepage .h6{font-family:'Fredoka','Sarabun',sans-serif}.homepage .topbar .top-info,.homepage .navbar .dropdown-menu{font-family:'Montserrat','Sarabun',sans-serif}

/* Body additions requested for index.php. */
.home-phone{flex-shrink:0;font-family:'Sarabun',sans-serif}.phone-bubble{position:absolute;top:-9px;right:-8px;font-size:15px}.home-phone .small{white-space:nowrap}.home-account .btn{white-space:nowrap}
#spinner{pointer-events:none}#spinner.show{pointer-events:auto;animation:hide-index-spinner 0s 6s forwards!important}
@keyframes hide-index-spinner{to{opacity:0;visibility:hidden;pointer-events:none}}
.about-photo .btn-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80px;height:80px;border:0;border-radius:50%;background:var(--bs-primary);box-shadow:0 0 0 18px #ff488044;display:grid;place-items:center;padding:0}
.about-photo .btn-play span{display:block;width:0;height:0;border-top:16px solid transparent;border-bottom:16px solid transparent;border-left:25px solid #fff;margin-left:6px}
#videoModal .modal-body{padding:0}#videoModal iframe{border:0}
@media(min-width:1200px) and (max-width:1399.98px){.home-phone{display:none!important}}
@media(max-width:1199.98px){.home-phone{padding:15px 0;border-top:1px solid #ff488033}.home-phone>div{border-right:0!important}.navbar .home-account{padding-top:0}}
