
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
	background-color: #247F71;
	font-weight: bold !important;
	font-size:35px;
}

.btn.btn-primary:hover {
    background: #00d084;
    color: #F7F8F8;
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: #fff;
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: #FFFFFF;
	font-weight: bold;
	font-size:30px;
	width: 100%;
    text-align: right;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
	font-size:30px;
}

.welcome_txt{
	color: #FFFFFF;
    font-weight: bold;
    font-size: 25px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
		text-align: center;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: white;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
		font-size:25px;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #D6EEEA;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
	
	.navbar-light .navbar-nav .nav-item .nav-link {
		font-size:22px;
		font-weight: bold;
	}
	.text-primary{
		font-size:22px;
		font-weight: bold;
	}
	#welcome_txt{
		color: #FFFFFF;
		font-weight: bold;
		font-size: 22px;
	}
}

@media (min-width: 1200px) {
	.navbar-light .navbar-nav .nav-item .nav-link {
		font-size:25px;
		font-weight: bold;
	}
	.text-primary{
		font-size:25px;
		font-weight: bold;
	}
	#welcome_txt{
		color: #FFFFFF;
		font-weight: bold;
		font-size: 25px;
	}
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
        height: 920px;
}


.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    /* position: absolute; */
    /* width: 60px; */
    /* height: 60px; */
    /* border-radius: 60px; */
    /* background: #247F71; */
    /* color: var(--bs-white); */
    /* font-size: 26px; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* transition: 0.5s; */
	
}

.header-carousel .owl-nav .owl-prev {
    /* bottom: 30px; */
    /* left: 30px; */
    /* margin-left: 90px; */
}
.header-carousel .owl-nav .owl-next {
    /* bottom: 30px; */
    /* left: 30px; */
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    /* box-shadow: inset 0 0 100px 0 var(--bs-light); */
    /* color: var(--bs-primary); */
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    /*background: rgba(0, 0, 0, .7);*/ /*mark_hsu */
    display: flex;
    align-items: center;
}

/* @media (max-width: 991px) { */
    /* .header-carousel .header-carousel-item .carousel-caption { */
        /* padding-top: 45px; */
    /* } */
/* } */

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%  {height: 100%;}

    25% {height: 110%;}

    50% {height: 115%;}

    75% {height: 110%;}

    100% {height: 100%;}
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: #ACDDD5;
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
	text-align: center;
}

.blog .blog-item p{
    font-weight:bold;
	color: black;
	font-size:1.1em;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: white;
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: #247F71;
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: #247F71;
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}


@media (min-width: 321px) and (max-width: 375px) { 
  .blog .blog-item p{
	font-size:15px;
}

}
@media (min-width: 376px) and (max-width: 414px) { 
  .blog .blog-item p{
	font-size:17px;
}

}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
	margin-top:50px;
	font-weight: bold;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background-image:url('../img/footer.png') !important;	
	background-size: cover;
	background-repeat: no-repeat;
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: #f7f8f8;
    transition: 0.5s;
	font-weight: bold;
    font-size: 20px;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}

.contact-info {
	text-align: left;
	font-weight: bold;
    font-size: 20px;
}

@media (min-width: 321px) and (max-width: 375px) { 
	.contact-info {
		font-size: 14px;
	}
}
@media (min-width: 376px) and (max-width: 414px) { 
	.contact-info {
		font-size: 15px;
	}
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/

.oneMusic-buy-now-area.has-fluid {
  padding-left: 4%;
  padding-right: 4%;
  position: relative;
  z-index: 1; 
}

.single-album-area {
  position: relative;
  z-index: 1;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  margin-bottom: 30px; 
 }
  
 .single-album-area .album-thumb {
	width: 300px;
    height: 400px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.album-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    flex-direction: column;
}

.overh4 {
    color: #fff;
    font-weight: bold;
    margin: 5px 0; /* 控制上下間距，避免過於擁擠 */
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
	margin-bottom:50px;
}

.album-thumb:hover .overlay {
    opacity: 1;
}
	
.single-album-area .album-thumb .album-price p {
      position: absolute;
      top: 15px;
      left: 15px;
      background-color: #fff;
      margin-bottom: 0;
      line-height: 1;
      padding: 5px 15px;
      border-radius: 15px;
      z-index: 20; 
}
    .single-album-area .album-thumb .play-icon a {
      color: #fff;
      font-size: 50px;
      position: absolute;
      top: 50%;
      left: 50%;
      line-height: 1;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%); }
  .single-album-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;;
	}
  .single-album-area .album-info {
    display: block;
    position: relative;
    z-index: 1;
    padding-top: 15px;
    padding-bottom: 15px; }
    .single-album-area .album-info h5 {
      font-size: 18px;
      margin-bottom: 0;
      text-transform: uppercase; }
    .single-album-area .album-info p {
      margin-bottom: 0; }

.albums-slideshow 
{
  position: relative;
  z-index: 1; 
}
.albums-slideshow .single-album 
{
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    margin-bottom: 0;
    border: 1px solid transparent; 
}
 .albums-slideshow .single-album:hover, .albums-slideshow .single-album:focus {
      border: 1px solid #000000;
      box-shadow: none;
      background-color: #f5f9fa; }
  .albums-slideshow .owl-prev,
  .albums-slideshow .owl-next {
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    background-color: #fff;
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid #000000;
    top: 50%;
    left: -25px;
    margin-top: -50px;
    z-index: 50;
    text-align: center;
    line-height: 48px;
    opacity: 0;
    visibility: hidden; }
    @media only screen and (max-width: 767px) {
      .albums-slideshow .owl-prev,
      .albums-slideshow .owl-next {
        left: 0; } }
    .albums-slideshow .owl-prev:hover, .albums-slideshow .owl-prev:focus,
    .albums-slideshow .owl-next:hover,
    .albums-slideshow .owl-next:focus {
      background-color: #000000;
      color: #fff; }
  .albums-slideshow .owl-next {
    left: auto;
    right: -25px; }
    @media only screen and (max-width: 767px) {
      .albums-slideshow .owl-next {
        right: 0; } }
  .albums-slideshow:hover .owl-prev,
  .albums-slideshow:hover .owl-next {
    opacity: 1;
    visibility: visible; }
	
	
.banner-container {
    background-color: #add8e6;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    color: #fff;
    font-weight: bold;
    border-radius: 25px;
    margin: 0 auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    margin: 0;
}

.backcase{
	background-color:#D6EEEA;
}

.backcase a{
	font-weight: bold;
	color:#09201C;
}

.backcase p{
	font-weight: bold;
	color:#09201C;
}

.foot-white{
	font-weight: bold;
	color:#f7f8f8;
}

.top-txt{
	margin-top: 1.5em !important;
	margin-bottom: .5em !important;
	color:#09201C;
	font-weight: bold !important;
	font-size:30px;
}

.top-txt2{
	margin-bottom: 3em !important;
	color:#09201C;
	font-weight: bold !important;
	font-size:30px;
}

.top-txt3{
	margin-top: 1.5em !important;
	margin-bottom: 1.5em !important;
	color:#09201C;
	font-weight: bold !important;
	font-size:30px;
}

@media only screen and (max-width: 767px) {
	.top-txt{
		margin-top: 1.5em !important;
		margin-bottom: .5em !important;
		color:#09201C;
		font-weight: bold !important;
		font-size:23px;
	}

	.top-txt2{
		margin-bottom: 3em !important;
		color:#09201C;
		font-weight: bold !important;
		font-size:23px;
	}
}
@media only screen and (max-width: 576px) {
	.top-txt{
		margin-top: 1.5em !important;
		margin-bottom: .5em !important;
		color:#09201C;
		font-weight: bold !important;
		font-size:20px;
	}

	.top-txt2{
		margin-bottom: 3em !important;
		color:#09201C;
		font-weight: bold !important;
		font-size:20px;
	}
}



/* paper */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  border-top: 2px solid #D6EEEA;
  border-bottom: 2px solid #D6EEEA;
  padding: 20px;
  margin: 0 auto 40px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  display: none;
}

.article-image {
	flex-shrink: 0;
	width: 30%;
	max-width: 150px;
	height: auto;
	margin-right: 20px;
}

.article-content {
	flex: 1;
	min-width: 0;
}

.article-title {
	font-size: 1.8em;
	color: #EA7500;
	margin: 0 0 10px;
	font-weight:bold;
}

.article-snippet {
	font-size: 1.3em;
	color: #333;
	font-weight:bold;
	margin-bottom: 10px;
}

.article-meta {
	font-size: 0.9em;
	color: #999;
}

.tags {
	color: #e67e22;
}

@media (max-width: 768px) {
	.article-container {
	  flex-direction: column;
	  align-items: center;
	  text-align: center;
	  display: none; /* 初始隱藏所有 paper */
	}

	.article-image {
	  width: 80%;
	  max-width: 250px;
	  margin: 0 0 15px;
	}

	.article-title {
	  font-size: 1.3em;
	}
}
/* paper */

/* active */
.container-active {
	width: 95%;
	max-width: 800px;
	margin: 20px auto;
}
.active-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 20px 0;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	display: none;
}
.active-row img {
	width: 40%;
	max-width: 200px;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
}
.active-row .text {
	width: 70%;
	padding: 0 20px;
	font-size: 1.3em;
	color: #333;
	font-weight:bold;
}
.active-row .text h3{
	font-size: 1.5em;
	color: #EA7500;
	margin-bottom:20px;
	text-align:center;
	font-weight:bold;
}
/* active */

/* page */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 20px;
}
.rounded-button {
    background-color: #247F71;
    color: white;
    border: 2px solid #247F71;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
	font-weight: bold;
}
.rounded-button:hover {
    background-color: #26d796;
}
#page-indicator{
	color: #18554c;
    font-weight: bold;
    font-size: 2em;
}
/* page */

/* disease */
.disease-article-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 20px;
  margin: 0 auto 40px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  display: none;
}

.disease-article-content {
	flex: 1;
	min-width: 0;
	text-align:center;
}

.disease-article-snippet {
	font-size: 1.3em;
	color: #333;
	font-weight:bold;
	margin-bottom: 10px;
}

.disease-article-snippet h3{
	font-size: 2em;
	color: #EA7500;
	font-weight:bold;
	margin-bottom: 10px;
	text-align:center;
}

.disease-article-meta {
	font-size: 0.8em;
	color: #999;
}


.disease-content {
    padding-top: 150px;
	background-image: url('../img/disease/title_bk.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
}
.disease-container-active {
	width: 95%;
	max-width: 850px;
	margin: 20px auto;
}
.disease-active-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 20px 0;
	padding: 20px;
	display: flex;
}
.disease-active-row .text {
    width: 72%;
    font-size: 1.3em;
    font-weight: bold;
    margin: 60px auto;
	
}
.disease-active-row .text h3{
	font-size: 2.7em;
	color: #30A997;
	text-align:left !important;
	font-weight:bold;
}
.disease-active-row .text h2{
	font-size: 1.6em;
	color: #30A997;
	margin-bottom:20px;
	text-align:left !important;
	font-weight:bold;
}
.disease-active-row .text p {
    font-size: 1em;
    color: #30A997;
    margin-bottom: 20px;
    text-align: left !important;
    font-weight: bold;
    width: 100%;
    margin: 0 auto;
}


.disease-container-active3 {
	width: 100%;
	max-width: 850px;
	margin: 20px auto;
}
.disease-active-row3 {
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding: 20px;
}
.disease-active-row3 .text3 {
    width: 85%;
    font-size: 1.3em;
    font-weight: bold;
    margin: 40px 10px 40px 60px;
}
.disease-active-row3 .text3 h3{
	font-size: 2.3em;
	color: #30A997;
	text-align:left !important;
	font-weight:bold;
}
.disease-active-row3 .text3 h2{
	font-size: 1.2em;
	color: #30A997;
	margin-bottom:20px;
	text-align:left !important;
	font-weight:bold;
}
.disease-active-row3 .text3 p {
    font-size: 1em;
    color: #30A997;
    margin-bottom: 20px;
    text-align: left !important;
    font-weight: bold;
    width: 100%;
    margin: 0 auto;
}
.tab-content {
	border: 2px solid white;
	border-radius: 40px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(240, 248, 250, 0.8));
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}


.disease-content2 {
	background-image: url('../img/disease/title_bk2.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.disease-container-active2 {
	width: 95%;
	max-width: 850px;
	margin: 20px auto;
}
.disease-active-row2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 20px 0;
	padding: 20px;
	display: flex;
	gap:50px;
}
.circle-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 50%;
}
.disease-item {
    text-align: center;
    margin: 10px;
    flex: 1;
}
.disease-item h3{
	font-size: 2.7em;
	color: #30A997;
	text-align:center !important;
	font-weight:bold;
}
.disease-item h2{
	font-size: 1.6em;
	color: #30A997;
	margin-bottom:20px;
	text-align:center !important;
	font-weight:bold;
}

.disease_btn {
  background-image: url('../img/disease/btn.png');
  background-repeat: no-repeat;
  background-position: center;
  background-clip: padding-box;
  color: #30A997;
  border: none;
  width: 240px;
  height: 120px;
  border-radius: 12px;
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  cursor: pointer;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: none;
  overflow: hidden;
  padding: 10px;
}
.disease_btn .maintext  {
  font-size: 2em;
  font-weight:bold;
  color: #30A997;
}
.disease_btn .subtext  {
  font-size: 1em;
  font-weight:bold;
  color: #30A997;
}
.nav-item {
	display: flex;
	justify-content: flex-end;
	text-align: right;
}
@media (min-width: 321px) and (max-width: 375px) { 
	.nav-item {
		width:210px;
		align-items: center;
		justify-content: center;
	}
	.disease-active-row3 .text3 h3 {
		font-size: 32px;
		font-weight: bold;
	}
	.disease-active-row3 .text3 h2 {
		font-size: 21px;
		font-weight: bold;
	}
	.disease-active-row3 .text3 p {
		font-size: 15px;
		width: 100%;
		margin: 0 auto;
	}
}
@media (min-width: 376px) and (max-width: 414px) { 
	.nav-item {
		width:210px;
		align-items: center;
		justify-content: center;
	}
	.disease-active-row3 .text3 h3 {
		font-size: 36px;
		font-weight: bold;
	}
	.disease-active-row3 .text3 h2 {
		font-size: 25px;
		font-weight: bold;
	}
	.disease-active-row3 .text3 p {
		font-size: 15px;
		width: 100%;
		margin: 0 auto;
	}
	
}

@media (max-width: 768px) {
	.nav-item {
		width:210px;
		align-items: center;
		justify-content: center;
	}
	.disease-article-container {
	  flex-direction: column;
	  align-items: center;
	  text-align: center;
	  display: none;
	}
	.disease-content {
        padding-top: 90px;
    }
	.disease-navbar {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 1030 !important;
    }
	.disease-active-row .text {
		width: 100%;
		padding: 0 20px;
		font-size: 1.3em;
		color: #333;
		font-weight: bold;
		margin: 0 auto;
	}
	.disease-active-row .text h3{
		font-size: 40px;
		font-weight: bold;
	}
	.disease-active-row .text h2{
		font-size: 25px;
		font-weight:bold;
	}
	.disease-active-row .text p {
		font-size: 1em;
		color: #30A997;
		margin-bottom: 20px;
		text-align: left !important;
		font-weight: bold;
		width: 100%;
		margin: 0 auto;
	}
	.tab-content {
		border: 2px solid white;
		border-radius: 40px;
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(240, 248, 250, 0.8));
		box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
		backdrop-filter: blur(10px);
		padding: 40px 10px 40px 10px;
	}
	.disease-item h3{
		font-size: 20px;
		color: #30A997;
		text-align:center !important;
		font-weight:bold;
	}
	.disease-item h2{
		font-size: 17px;
		color: #30A997;
		margin-bottom:20px;
		text-align:center !important;
		font-weight:bold;
	}
	.disease-active-row3 .text3 {
		width: 85%;
		font-size: 20px;
		font-weight: bold;
		margin: 40px 10px 40px 20px;
	}
	.disease-active-row3 .text3 p {
		font-size: 18px;
		width: 100%;
		margin: 0 auto;
	}
}
/* disease */


/* news */
.news-content {
    padding-top: 150px;
    background-image: url('../img/news/title_bk.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
}

.news-container-active {
    width: 100%;
    max-width: 850px;
    margin: 20px auto;
}

.news-active-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 20px;
}

.news-tab-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 2px solid white;
    border-radius: 40px;
    background: linear-gradient(to bottom, #feffff, #e6f7fc);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 850px;
    max-width: 100%;
    flex-shrink: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

.news-tab-content img {
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 20px;
}

.news-active-row .text {
    width: 100%;
    font-size: 1.3em;
    font-weight: bold;
    margin: 30px auto;
    flex: 1;
    overflow: hidden;
    word-wrap: break-word;
	text-align: center; 
}

.news-tab-content .text h2 {
    font-size: 1.2em;
    color: #18554c;
    margin-bottom: 20px;
    text-align: center !important;
    font-weight: bold;
}

.news-tab-content .text p {
    font-size: 1em;
    color: #000000;
    margin-bottom: 20px;
    text-align: center !important;
    font-weight: bold;
}

.news-tab-content .text a {
	display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #84C1FF;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}
.news-tab-content .text a:hover {
    background-color: #DDDDFF;
}

@media (max-width: 768px) {
    .news-tab-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
        width: 100%;
        max-width: 500px;
        min-width: 300px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .news-tab-content img {
        width: 100%;
        height: auto;
        max-width: 300px;
        border-radius: 15px;
    }

    .news-tab-content .text {
        text-align: center;
        flex: unset;
        font-size: 0.9em;
        margin: 10px 0;
    }

    .news-tab-content .text h2 {
        font-size: 1em;
        margin-bottom: 10px;
		font-size: 1.2em;
		color: #18554c;
		margin-bottom: 20px;
		text-align: center !important;
		font-weight: bold;
		word-wrap: break-word;
		overflow: hidden;
		white-space: normal;
    }

    .news-active-row {
        margin: 10px 0;
		width: 100%;
    }
}
/* news */


/* paper */
.paper-tab-content {
    
    gap: 20px;
    padding: 20px;
    border: 2px solid white;
    border-radius: 40px;
    background: linear-gradient(to bottom, #feffff, #e6f7fc);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 850px;
    max-width: 100%;
    flex-shrink: 0;
    margin: 0 auto;
    box-sizing: border-box;
}
.paper-tab-content img {
    width: 100%;     
    height: 360px;
    object-fit: contain; 
}

.paper-title{
	font-size: 1.2em;
    color: #18554c;
    margin-bottom: 20px;
    text-align: center !important;
    font-weight: bold;
}
@media (min-width: 321px) and (max-width: 375px) { 
  .paper-title{
	font-size: 18px;
  }
}
@media (min-width: 376px) and (max-width: 414px) { 
  .paper-title{
	font-size: 21px;
  }
}
/* paper */


/* sample */
.sample-content2 {
	background-image: url('../img/sample/title_bk2.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.sample-container-active2 {
	width: 95%;
	max-width: 850px;
	margin: 20px auto;
}
.sample-active-row2 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	padding: 20px;
}
.sample-item h3{
	font-size: 2.7em;
	color: #30A997;
	text-align:center !important;
	font-weight:bold;
}
.sample-item h2{
	font-size: 1.6em;
	color: #30A997;
	margin-bottom:20px;
	text-align:left !important;
	font-weight:bold;
}

.sample-item{
	width:80%;
}
.items {
    flex: 1 1 calc(33.333% - 40px);
	max-width: 300px;
	text-align: center;
	box-sizing: border-box;
}
.items img {
    max-width: 150px;
    height: auto;
    margin: 0 auto 15px;
}
.items h3 {
	font-size: 1.8em;
	color: #18554c;
	font-weight: bold;
	margin-bottom: 15px;
}
.text-block h1 {
	font-size: 1.2em;
	color: #18554c;
	font-weight: bold;
	margin: 5px 0 0 45px;
	text-align: left;
}
.text-block {
    width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
	.items {
		flex: 1 1 100%;
	}
}
@media (max-width: 480px) {
	.items {
		flex: 1 1 100%;
	}
}
/* sample */


/* Q&A */
.QA-content {
    padding-top: 150px;
    background-image: url('../img/QA/title_bk.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
}

.QA-container-active {
    width: 100%;
    max-width: 850px;
    margin: 20px auto;
}

.QA-active-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 20px;
	align-items: flex-start;
    flex-direction: column;
}

.QA-article-snippet {
	width: 100%;
    max-width: 800px;
    text-align: left;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.QA-article-snippet p,
.QA-article-snippet summary {
    font-size: 1.6em;
    color: #18554c;
    font-weight: bold;
    text-align: left !important;
}

.QA-tab-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 2px solid white;
    border-radius: 40px;
    background: linear-gradient(to bottom, #feffff, #e6f7fc);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 850px;
    max-width: 100%;
    flex-shrink: 0;
    margin: 0 auto;
    box-sizing: border-box;
}


@media (max-width: 768px) {
    .QA-tab-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
        width: 100%;
        max-width: 500px;
        min-width: 300px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .QA-tab-content img {
        width: 100%;
        height: auto;
        max-width: 300px;
        border-radius: 15px;
    }

    .QA-active-row {
        margin: 10px 0;
		width: 100%;
    }
	
	.QA-article-snippet p,
	.QA-article-snippet summary {
		font-size: 1.3em;
		color: #18554c;
		font-weight: bold;
		text-align: left !important;
	}
}
/* Q&A */


/* medical */
.tab-pane:not(.active) {
  display: none !important;
}
.medical-content {
    padding-top: 150px;
    background-image: url('../img/medical/title_bk.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
	align-items: center;
	justify-content: center;
}
.medical-title-h2 {
	font-size: 1.8em;
	color: #18554c;
	font-weight: bold;
	text-align: left !important;
	margin: 50px 0px 40px 30px;
}
.medical-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #18554c;
  line-height: 1.8;
  width: 100%;
}
.medical-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 15px;
  text-align: left;
  width: 40%;
}
.medical-item .medical-label {
  background-color: #cce6ee;
  border-radius: 20px;
  padding: 5px 15px;
  margin-right: 10px;
  font-size: 1.5em;
  color: #18554c;
  font-weight: bold;
}
.medical-item .medical-description {
  font-size: 1.4em;
  color: #18554c;
  font-weight: bold;
}

.medical-btn {
    font-size: 2em;
	font-weight: bold;
    color: white !important;
    background: linear-gradient(to bottom, #8ccec9, #59baac);
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    outline: none;
    transition: transform 0.2s, box-shadow 0.2s;
	width:320px;
}
.medical-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
	color: white !important;
}
.medical-btn:active {
    transform: scale(0.95);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
	color: white !important;
}
.medical-image-container{
	display: flex;
	justify-content: center;
	gap: 50px;
    width: 100%;
	margin-top: 30px;
}
.medical-image{
	max-width: 350px;
    height: auto;
}
.medical-image-bottom{
	max-width: 600px;
    height: auto;
}

.medical-tab-content {
	border: 2px solid white;
	border-radius: 40px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(240, 248, 250, 0.8));
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	text-align:center;
	margin-top:50px;
	padding-top:30px;
}
.medical-item h3 {
	font-size: 3em;
	color: #247F71;
	font-weight: bold;
	margin-bottom: 15px;
}

.medical-item h2 {
	font-size: 2.5em;
	color: #30A997;
	font-weight: bold;
	margin-bottom: 15px;
}

.medical-item p {
	padding-left:40px;
	text-align:left;
	font-size: 1.3em;
	color: #18554C;
	font-weight: bold;
	margin-bottom: 15px;
}

.text3 h3{
	font-size:2.5em;
	margin-top:80px;
}

.medical-active-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 20px;
	align-items: flex-start;
    flex-direction: column;
}
.medical-tab-content-qa {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 2px solid white;
    border-radius: 40px;
    background: linear-gradient(to bottom, #feffff, #e6f7fc);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 850px;
    max-width: 100%;
    flex-shrink: 0;
    margin: 0 auto;
    box-sizing: border-box;
}
.medical-article-snippet {
	width: 100%;
    max-width: 800px;
    text-align: left;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.medical-article-snippet p,
.medical-article-snippet summary {
	font-size: 1.3em;
	color: #18554c;
	font-weight: bold;
	text-align: left !important;
}

.medical-active-row-bottom{
	display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
	align-items: flex-start;
    flex-direction: column;
}
@media (max-width: 768px) {
    .medical-tab-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
        width: 100%;
        max-width: 500px;
        min-width: 300px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .medical-tab-content img {
        width: 100%;
        height: auto;
        max-width: 300px;
        border-radius: 15px;
    }

    .medical-active-row {
        margin: 10px 0;
		width: 100%;
    }
	
	.medical-article-snippet p,
	.medical-article-snippet summary {
		font-size: 1.3em;
		color: #18554c;
		font-weight: bold;
		text-align: left !important;
	}
	
	.medical-item {
	  flex-direction: column;
      align-items: flex-start;
	  align-items: center;
	  width:80%;
	}
	.medical-label {
      margin-right: 0;
      margin-bottom: 5px;
    }
	.medical-btn {
		font-size: 1.5em;
		font-weight: bold;
		color: white !important;
		background: linear-gradient(to bottom, #8ccec9, #59baac);
		border: none;
		border-radius: 20px;
		padding: 10px 20px;
		cursor: pointer;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		text-align: center;
		outline: none;
		transition: transform 0.2s, box-shadow 0.2s;
		width:200px;
	}
	.medical-image {
		max-width: 200px;
		height: auto;
	}

	.medical-item h2 {
		font-size: 2em;
		color: #30A997;
		font-weight: bold;
		margin-bottom: 15px;
	}

	.medical-item p {
		padding-left:40px;
		text-align:left;
		font-size: 1.2em;
		color: #18554C;
		font-weight: bold;
		margin-bottom: 15px;
	}

	.text3 h3{
		font-size:2.5em;
		margin-top:80px;
	}
	.fade {
        transition: none;
        max-width: 440px;
    }
	
	.medical-article-snippet p,
	.medical-article-snippet summary {
		font-size: 1.1em;
		color: #18554c;
		font-weight: bold;
		text-align: left !important;
	}
}
/* medical */

/*drug*/
.drug-content {
    padding-top: 150px;
    background-image: url('../img/drug/title2.png') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}
.drug-container {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.drug-btn {
    font-size: 2em;
	font-weight: bold;
    color: white !important;
    background: linear-gradient(to bottom, #8ccec9, #59baac);
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    outline: none;
    transition: transform 0.2s, box-shadow 0.2s;
	width:320px;
}
.drug-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
	color: white !important;
}
.drug-btn:active {
    transform: scale(0.95);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
	color: white !important;
}


.drug-item-content{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 20px;
}
.drug-item {
	flex: 1;
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.drug-row {
	display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    position: relative;
}
.drug-item img {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 5px;
    z-index: 2;
    transition: transform 0.3s ease;
}


/* Hover effect */
.drug-item:hover {
    width: 80vw; /* 50% of the viewport width */
    height: 80vh; /* 50% of the viewport height */
    background-color: white; /* Set white background */
    color: black; /* Set text color to black */
    transform: scale(1.2); /* Apply scaling to enlarge smoothly */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    will-change: transform;
}

.drug-item:hover img {
    transform: scale(1.2); /* Keep the image size consistent */
    max-width: 70%; /* Adjust size to fit within the hover area */
    max-height: 70%;
    transition: transform 0.3s ease;
}

/* Scale up the span text on hover */
.drug-item:hover span {
    transform: scale(1); /* Increase the size of the span text */
    transition: transform 0.3s ease; /* Smooth transition */
}

/* Disable pointer events for other elements during hover */
.drug-row:hover .drug-item:not(:hover) {
    opacity: 0.2;
}





.drug-text {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
}
.drug-h4 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-align: center;
    transition: opacity 0.3s ease;
}
.drug-p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-align: center;
    transition: opacity 0.3s ease;
}
.drug-caption {
	margin-left:15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
	text-align: left;
	line-height:40px;
}
.drug-caption span.usage {
    color: #2E7D32; /* 深綠色 - 適應症 */
    font-weight: bold;
}

.drug-caption span.side-effect {
    color: #D32F2F; /* 深紅色 - 副作用 */
    font-weight: bold;
}

.drug-caption span.warning {
    color: #F57C00; /* 橙色 - 用藥警語 */
    font-weight: bold;
}


@media (max-width: 768px) {
	.drug-row {
		flex-direction: column;
		gap: 10px;
		align-items: center;
	}

	.drug-item {
		flex-direction: column;
		text-align: center;
	}

	.drug-item .drug-text {
		margin: 10px 0 0 0;
		text-align: center;
	}
	/* Hover effect */
	.drug-item:hover {
		transform: scale(1);
		z-index: 2; /* Ensure hovered item is on top */
	}
}
/*drug*/

/*index*/
.index-link a{
	display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #84C1FF;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}
.index-link a:hover {
    background-color: #DDDDFF;
	color: white;
}

.index_atitle{
	font-size: 25px;;
	color: #18554c;
	font-weight: bold;
	margin:20px;
}

@media (min-width: 321px) and (max-width: 375px) { 
  .index_atitle {
    font-size: 20px !important;
  }
}
@media (min-width: 376px) and (max-width: 414px) { 
  .index_atitle {
    font-size: 24px !important;
  }
}
/*index*/


/* ALL */
#bodyimg {

}

.h1-title{
	color: #09201C;
    font-weight: bold;
    font-size: 80px;
}
.page-h1-title{
	color: #09201C;
    font-weight: bold;
    font-size: 80px;
}
.content{
    color: #09201C;
    font-weight: bold;
    font-size: 25px;
	margin-top:20px;
}
.content-date{
    color: #09201C;
    font-weight: bold;
    font-size: 20px;
}
.title_img {
    display: block;
    margin: 10px auto;
}

@media (min-width: 321px) and (max-width: 375px) { 
	.h1-title{
		font-size: 50px;
	}
	.content{
		font-size: 20px;
	}
}
@media (min-width: 376px) and (max-width: 414px) { 
	.h1-title{
		font-size: 60px;
	}
	.content{
		font-size: 22px;
	}
}
@media only screen and (max-width: 576px){
	.h1-title{
		font-size: 60px;
	}
}

@media (max-width: 768px) {
	.all-navbar {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 1030 !important;
    }
	.title_img {
		display: block;
		margin: 20px auto;
		width:90%;
	}
}
/* ALL */