/*
 * Title:  Medifast - Health & Medical Bootstrap 5 Template
 * Author: devsnest-llc
 */

/* --------------------------------------------------------
[Table of contents]
1. Global styles
2. Menu styles
3. Banner
4. About style
5. Pricing plan style
6. Services sec style
7. Portfolio sec style
8. why us sec style
9. Funfact sec style
10. Doctors sec style
11. Blog sec style
12. Footer style
13. Responsive style
14. Home 2 style
15. Home 3 style
16. Page Breadcrumb style
17. About features style
18. Service details page style
19. Doctor details page style
20. Doctor Appointment page style
21. Project details page style
22. Faq page style
23. Blog page style
24. Blog Details style
25. Contact page style


[End table of contents]
----------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ------------------------------
   Global styles
---------------------------- */


/*colors*/
:root {
  --clr-common-white: #fff;
  --clr-common-black: #1C1C1C;
  --clr-common-black-deep: #000000;
  --clr-body-heading: #18100F;
  --clr-body-text: #161616;
  --clr-white-light: #E6EFFF;
  --clr-theme-primary: #48BFB5; /*0463FA*/
  --clr-theme-secondary: #04255a; /*2AC28E*/
  --clr-theme-extra: #eaf1ef; /*49D8EF*/
  --clr-theme-gray: #F4F4F4;
  --clr-bg-white: #ffffff;
}


html, body, div, span, applet, object, iframe,

h1, h2, h3, h4, h5, h6, p, blockquote, pre,

a, abbr, acronym, address, big, cite, code,

del, dfn, em, img, ins, kbd, q, s, samp,

small, strike, strong, sub, sup, tt, var,

b, u, i, center,

dl, dt, dd, ol, ul, li,

fieldset, form, label, legend,

table, caption, tbody, tfoot, thead, tr, th, td,

article, aside, canvas, details, embed,

figure, figcaption, footer, header, hgroup,

menu, nav, output, ruby, section, summary,

time, mark, audio, video {

  margin: 0;

  padding: 0;

  border: 0;

  font-size: 100%;

  font: inherit;

  vertical-align: baseline; 

  letter-spacing: 2px;
}



article, aside, details, figcaption, figure,

footer, header, hgroup, menu, nav, section {

  display: block; }



body {

  line-height: 1; }



ol, ul {

  list-style: none; }



blockquote, q {

  quotes: none; }



blockquote:before, blockquote:after,

q:before, q:after {
  content: '';
  content: none; 
}

table {
  border-collapse: collapse;
  border-spacing: 0; 
}

html {
  font-size: 100%;
}

body {
  font-family: 'DM Sans','微軟正黑體', sans-serif;
  font-weight: 600;
  font-size: 1.125rem; /*18px*/
  line-height: 1.8rem; /*28px*/
  letter-spacing: 0;
  color:var(--clr-body-text);
  background-image: url("/assets/image/BK.png");
  background-size: cover;
  background-attachment: fixed;
}


img {

  max-width: 100%; }



a,

a:hover,

a:focus {

  cursor: pointer !important;

  outline: none;

  text-decoration: none; }



h1,

h2,

h3,

h4,

h5,

h6 {

  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  
  color: var(--clr-body-heading);

  margin: 0;

  padding: 0; }



/* ul, li {

  margin: 0;

  padding: 0;

  list-style: none; } */



strong {

  font-weight: 700; }

h1{
  font-size: 3.4em; /*62px*/
  line-height: 75px;
}

h2{
  font-size: 1.9em; /*34px*/
  line-height: 46px;
}
h3{
  font-size: 1.4em; /*24px*/
  line-height: 30px;
}
h4{
  font-size: 1.1em; /*20px*/
  line-height: 20px;
}
h5{
  font-size: 0.9em; /*16px*/
  line-height: 26px;
}
h6{
  font-size: 0.8em; /*14px*/
  line-height: 14px;
}
p{
  font-size: 1.2em; /*22px*/
  line-height: 30px;
}

.h3bk{
  position: relative;
  margin: 1.5em 0 0.75em;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.6em 0.6em 0.6em 1em;
  border-radius: 4px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.h3bk::before {
  content: "";
  position: absolute;
  left: 0.3em;
  width: 6px;
  height: 1.2em;
  background-color: var(--clr-theme-primary);
}
.h2title{
  position: relative;
  padding: 0.6em 0.6em 0.6em 1em;
}
.h2title::before {
    content: "";
    position: absolute;
    left: 0.3em;
    width: 6px;
    height: 1.2em;
    background-color: var(--clr-theme-primary);
}

.pt-30{
  padding-top: 30px;
}
.pb-30{
  padding-bottom: 30px;
}
.px-30{
  padding-top: 30px;
  padding-bottom: 30px;
}

.pt-50{
  padding-top: 50px;
}
.pb-50{
  padding-bottom: 50px;
}
.px-50{
  padding-top: 50px;
  padding-bottom: 50px;
}

.pt-120{
  padding-top: 120px;
}
.pb-120{
  padding-bottom: 120px;
}
.px-120{
  padding-top: 120px;
  padding-bottom: 120px;
}
.mt-50{
  margin-top: 50px;
}
.mb-50{
  margin-bottom: 50px;
}
.mx-50{
  margin-top: 50px;
  margin-bottom: 50px;
}

/*button default*/
.btn{
  position: relative;
  display: inline-block;
  z-index: 1;
  border: 1px solid var(--clr-theme-secondary) !important;
  background: transparent ;
  padding: 17px 34px;
  border-radius: 5px;
  font-weight: 600; /*400*/
  font-size: 1.4em; /*24px*/
  line-height: 23px;
  color: var(--clr-common-white);
}
.btn:hover{
  color: var(--clr-theme-secondary);
}
.btn:before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: var(--clr-theme-primary);
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  z-index: -1;
}
.btn:hover:before {
  height: 0%;
}
.btnback::before{
  background-color:#767a7c;
}

/* This only works with JavaScript, 
        if it's not present, don't show loader */

.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background: url(../img/loader_ico.gif) center no-repeat #fff;
    filter: hue-rotate(310deg); /*調整色相*/
}

/* .container {
    max-width: 1470px;
} */


/* -------------------------------- 

menu style

-------------------------------- */

.dropdown-toggle::after {
  border: 0;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  display: inline-block;
  content: "\f078";
  vertical-align: middle;
  font-size: 14px;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translate(0,-50%);
  transform: translate(0,-50%);
}

/*end top bar*/


.navbar-area .others-option-for-responsive {
  display: none
}
.navbar-nav .nav-item {
  position: relative;
  margin-left: 25px;
  margin-right: 25px
}

@media (min-width:992px){
  .navbar-nav .nav-item .dropdown-menu {
    border: none;
    top: 65px;
    left: 0;
    z-index: 1050;
    opacity: 0;
    width: 250px;
    display: inline-block;
    border-radius: 0;
    padding: 10px 0;
    position: absolute;
    visibility: hidden;
    -webkit-box-shadow: rgba(17,17,26,.1) 0 0 16px;
    box-shadow: rgba(17,17,26,.1) 0 0 16px;
    background-color: #fff;
    -webkit-transition: all ease 0.8s;
    transition: all ease 0.8s;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg)
  }
  .navbar-nav .nav-item .dropdown-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: rotateX(0);
    transform: rotateX(0)
  }
  .navbar-nav .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: rotateX(0);
    transform: rotateX(0)
  }
}

.main-navbar {
  position: relative;
  z-index: 1;
}



.navbar {
  padding-top: 22px;
  padding-bottom: 22px;
}

.navbar-brand {
  margin: 0;
  padding: 0;
  max-height: 70px;
}

.navbar-brand img {
  max-height: 70px;
  display: block;
}

.navbar-expand-md .navbar-nav .nav-link {
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: var(--clr-body-heading);
  letter-spacing: 2px;
}
.navbar-expand-md .navbar-nav .nav-link i{
  font-size: 12px;
  margin-left: 4px;
}
.navbar-expand-md .navbar-nav .nav-link.active {
  color: var(--clr-theme-primary);
}

.navbar-nav .nav-item .dropdown-menu {
  top: 35px;
}

.navbar-expand-md .navbar-nav .nav-link .bx {
  vertical-align: middle;
}

.navbar-nav .nav-item .dropdown-menu .nav-item {
  padding-top: 5px;
  padding-bottom: 5px;
}

.navbar-expand-md .navbar-nav .nav-link:hover {
  color: var(--clr-theme-primary);
}

#search {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);  
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translate(0px, -100%) scale(0, 0);
  -moz-transform: translate(0px, -100%) scale(0, 0);
  -o-transform: translate(0px, -100%) scale(0, 0);
  -ms-transform: translate(0px, -100%) scale(0, 0);
  transform: translate(0px, -100%) scale(0, 0);
  opacity: 0;
  z-index: 9999;
}

#search.open {
  -webkit-transform: translate(0px, 0px) scale(1, 1);
  -moz-transform: translate(0px, 0px) scale(1, 1);
  -o-transform: translate(0px, 0px) scale(1, 1);
  -ms-transform: translate(0px, 0px) scale(1, 1);
  transform: translate(0px, 0px) scale(1, 1); 
  opacity: 1;
}

#search input[type="search"] {
  position: absolute;
  top: 50%;
  width: 100%;
  color: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0);
  font-size: 60px;
  font-weight: 300;
  text-align: center;
  border: 0px;
  margin: 0px auto;
  margin-top: -51px;
  padding-left: 30px;
  padding-right: 30px;
  outline: none;
}
#search .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 61px;
  margin-left: -45px;
  background-color: var(--clr-theme-primary);
  border:0;
  outline: 0;
}
#search .close {
  position: fixed;
  top: 15px;
  right: 15px;
  color: #fff;
  background-color: var(--clr-theme-primary);
  border-color: var(--clr-theme-primary);
  opacity: 1;
  padding: 10px 17px;
  font-size: 27px;
}
@media (max-width:1440px){
  .navbar-nav .nav-item{
    margin-left: 15px;
    margin-right: 15px;
  }
}
@media (max-width:1280px){
  .navbar-nav .nav-item{
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media only screen and (max-width: 991px) {
  .main-navbar {
      display: none
  }

.navbar-nav .nav-item {
    margin: 0
}

.navbar-nav .nav-item .dropdown-menu .nav-item {
    padding: 0
}

}

/* -------------------------------- 

close menu style

-------------------------------- */


/* -------------------------------- 

Start Banner style

-------------------------------- */

.form-control{
  background: var(--clr-theme-gray) !important;
  border-radius: 5px;
  padding: 14px 26px;
  border: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  box-shadow: unset !important;
}
.form-select{
  background-color: var(--clr-theme-gray) !important;
  border-radius: 5px;
  padding: 14px 26px;
  border: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  box-shadow: unset !important;
}
/* select2樣式 */
.select2-container--bootstrap4 .select2-selection--single {
    background-color: var(--clr-theme-gray) !important; /* 背景色 */
    border-radius: 5px;                                 /* 圓角 */
    padding: 14px 26px;                                  /* 上下 4px、左右 26px */
    border: 0 !important;                               /* 無邊框 */
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    height: 56px !important;                            /* 與 .form-select 一致 */
    display: flex !important; 
    align-items: center;                                /* 文字垂直置中 */
    box-shadow: unset !important;                       /* 移除陰影 */
}
/* 渲染選中項目文字 */
.select2-container--bootstrap4 .select2-selection__rendered {
    line-height: 28px;                                  /* 與 .form-select line-height 一致 */
    color: #000 !important;                             /* 黑色文字 */
    padding-left: 0 !important;                         /* 左右緊湊 */
    padding-right: 0 !important;
}
/* 箭頭對齊 */
.select2-container--bootstrap4 .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    right: 4px;                                        /* 緊靠右側，不留過多空間 */
}
/* 移除焦點時藍色邊框及陰影 */
.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border: 0;
    box-shadow: unset !important;
}
/* placeholder 文字改黑色 */
.select2-container--bootstrap4 .select2-selection__placeholder {
    color: #000 !important;
}

.gj-unselectable.mb-3{
  margin: 0 !important;
}


/* -------------------------------- 

Close Banner style

-------------------------------- */

#return-to-top {
  width: 56px;
  height: 56px;
  background: var(--clr-theme-primary);
  border-radius: 50%;
  color: #fff;
  text-align: center;
  font-size: 27px;
  position: fixed;
  right: 20px;
  bottom: 50px;
  z-index: 922;
  transition: .3s;
  line-height: 60px;
  display: none;
  z-index: 999;
}

/* -------------------------------- 

Start Responsive style

-------------------------------- */

@media (max-width:767px){
  h1{
    font-size: 2.9em; /*52px*/
    line-height: 65px;
  }

  h2{
    font-size: 1.7em; /*30px*/
    line-height: 40px;
  }
  h3{
    font-size: 1.2em; /*20px*/
    line-height: 26px;
  }
  h4{
    font-size: 1em; /*18px*/
    line-height: 20px;
  }
  h5{
    font-size: 0.9em; /*16px*/
    line-height: 26px;
  }
  h6{
    font-size: 0.8em; /*14px*/
    line-height: 14px;
  }
  p{
    font-size: 1.2em; /*14px 20px*/
    line-height: 20px;
  }
  .pt-120{
    padding-top: 80px;
  }
  .pb-120{
    padding-bottom: 80px;
  }
  .px-120{
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .btn{
    font-size: 1.2em; /*16px 22px*/
    line-height: 20px;
    padding: 15px 30px;
  }
}

/* -------------------------------- 

Close Responsive style

-------------------------------- */


/* -------------------------------- 

Start Page Breadcrumb style

-------------------------------- */
.breadcrumb a{
  color: var(--clr-common-white);
}
.breadcrumb .active{
  color: var(--clr-theme-secondary);
}
.breadcrumb-item+.breadcrumb-item::before{
  content: '-';
  color: var(--clr-common-white);
}

/* -------------------------------- 

Close Page Breadcrumb style

-------------------------------- */


/* 250813 index new css*/
.index-device-mobile {
  display: none;
}
.index-device-desktop {
  display: block;
}

@media screen and (max-width: 768px) {
  .index-device-mobile {
    display: block;
  }
  .index-device-desktop {
    display: none;
  }
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.infoBox{
    display: flex;
    justify-content:flex-start;
    line-height: 56px;
}
.single-input-item {
  margin-bottom: 20px;
}

.cardBox {
    background: #f7faff;
    padding: 20px 24px;
    border-radius: 10px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;

    /* 關鍵：柔化銜接 */
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow:
        0 0 0 6px rgba(255,255,255,0.25),
        0 4px 12px rgba(0,0,0,0.12);
}

.description-cardBox {
    background: #f7faff;
    padding: 20px 24px;
    border-radius: 10px;
    margin: 0 auto;

    /* 關鍵：柔化銜接 */
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow:
        0 0 0 6px rgba(255,255,255,0.25),
        0 4px 12px rgba(0,0,0,0.12);
}

/* a{
  color:#000;
  text-decoration: none;
} */
a:hover{
  color:#0d6efd;
  text-decoration: none;
}
.logo{
  max-width: 200px;
  width: 100%;
  height: auto;
}
.ls-5{
  letter-spacing: 5px;
}
.subTitle{
  color:#00579d;
  font-weight: 600;
  display:block;
  margin:0 auto;
  padding:10px 0px;
  border-top:1px #9cb8cf solid;
  border-bottom:1px #9cb8cf solid;
}
.page-breadcrumb {
  background: #e8f9ff;
  font-size: 1.2em; /*20px*/
  line-height: 1.6;
}
@media (max-width: 767px) {
  .logo{
    width:150px;
    height:auto;
  }
}
footer{
  position:fixed;
  bottom:0px;
  width:100%;
  height:40;
  line-height:40px;
  background: #F2F2F2;
  text-align: center;
  font-weight: bold;
  letter-spacing: 5px;
  z-index: 999;
}
.fMenu{
  display:none;
}
@media(max-width:1200px) {
    .fMenu{
      display:block;
      position:fixed;
      left:0px;
      bottom:40px;
      width:100%;
      background-color: #000;
      z-index:100;
    }
    .fMenu a.item{
      float:left;
      width:20%;
      border-left:1px solid rgb(90, 90, 90);
      box-sizing:border-box;
      list-style:none;
      padding:20px 20px;
      font-size: 1em; /*18px*/
      text-align:center;
      background:#151515;
      color:#FFF;
    }
    .fMenu a.item i{
      display: block;
      height: 20px;
      margin-bottom: 6px;
      font-size: 1em; /*18px*/
      text-align: center;
    }
}

.nav-btn-readcard {
  padding: 6px 14px;
  border: 1px solid #04255a;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: .2s;
}

.nav-btn-readcard:hover {
  background: #fff;
  border-color: #04255a;
}

@media (max-width:576px){
  h1{
    font-size: 2.7em;
    line-height: 60px;
  }
  h2{
    font-size: 1.5em;
    line-height: 35px;
  }
  h3{
    font-size: 1em;
    line-height: 23px;
  }
  h4{
    font-size: 0.8em;
    line-height: 20px;
  }
  h5{
    font-size: 0.7em;
    line-height: 20px;
  }
  h6{
    font-size: 0.6em;
    line-height: 14px;
  }
  p{
    font-size: 1em;
    line-height: 23px;
  }
  .btn{
    font-size: 1em;
    line-height: 18px;
    padding: 15px 30px;
  }
  .page-breadcrumb{
    font-size: 1em;
  }
}

th,
td {
  white-space: normal;
  word-break: keep-all;
}

#privacyContent,
#reportContent {
  font-weight: 400;
}
#reportContent p{
  line-height: 1.8em;
}

.reportBtn {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid #04255a;
  border-radius: 6px;
  text-decoration: none;
  color: #04255a;
  font-size: 0.9em;
}
.reportBtn:hover {
  color: #0d6efd;
}