
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..700&display=swap');

:root {
  --bs-primary: #eeaa2b;
  --bs-primary-rgb: 238, 170, 43;
  --bs-secondary: #635848;

  /* --bs-body-bg: #f1e6d8; */
  --bs-body-color: #1b160d;
  --bs-link-color: #1b160d;
  --bs-link-hover-color: #eeaa2b;
  --warm-border: #e7dfcf;
  --warm-surface: #ffffff;
  --warm-surface-alt: #f3efe7;
}

body {
  background-color: #f1e6d8;
  font-size: 17px ;
  font-family:  "Noto Serif TC",Helvetica,Arial,"Heiti TC",微軟正黑體;
}
.navbar-buddha {
    background-color: #c5ae91;
    /* background-image: url(/assets/images/nav_bg.jpg); */
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 600;
}
.navbar-brand .logo {
    height: 80px;
}
@media (max-width: 991.98px) {
.navbar-brand .logo {
    height: 50px;
}
}

a {
  outline: none;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover, a:focus {
  text-decoration: none;
  outline: none;
  transition: all 0.3s ease;
}

.hero-section {
  min-height: 150px;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: linear-gradient(rgba(227, 208, 184, 0.1), rgba(227, 208, 184, 0.01)), url(/assets/images/hero_bg.png);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 50px 0;
}
.hero-section .page-title {
  text-align: center;
  color: #6a3630ff;
  font-weight: 700;
}


.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    /* background-color: #fff; */
    /* background-image: url(/assets/images/bg_con.jpg); */
}
.sidebar {
    position: sticky;
    top: 80px;
}

.nav-link-buddha {
    color: var(--buddha-secondary);
    padding: 8px 16px;
    border-radius: 20px;
}
.nav-link-buddha:hover, .nav-link-buddha.active {
    background-color: #e8f0fe;
    color: var(--buddha-primary);
}
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
footer {
    background-color: rgba(0, 0, 0, .59);
    color: #e8e8e8;
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
    margin-top: 25px;
}


/* bootstrap override */
.btn-primary, .btn-outline-primary {
  --bs-btn-color: #000;
  --bs-btn-bg: #ffc107;
  --bs-btn-border-color: #ffc107;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #ffca2c;
  --bs-btn-hover-border-color: #ffc720;
  --bs-btn-focus-shadow-rgb: 217, 164, 6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #ffcd39;
  --bs-btn-active-border-color: #ffc720;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #ffc107;
  --bs-btn-disabled-border-color: #ffc107;
}
.btn-outline-primary {
  /* color:#333;
  border-color: var(--bs-btn-border-color); */
}
.form-control {
  color: #222;
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  background-color: #f6fafe;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-select {
  background-color: #f6fafe;
}
.form-control:focus,
.form-select:focus {
  color: #222;
  background-color: #e9f3ff;
  border-color: var(--bs-btn-border-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255, 244, 128, 0.25);
}

.btnpd {
  padding: .5rem 2rem !important;
}

.btn-rounded {
  border-radius: 20px;
}


.font10 { font-size: 10px !important; }
.font11 { font-size: 11px !important; }
.font12 { font-size: 12px !important; }
.font13 { font-size: 13px !important; }
.font14 { font-size: 14px !important; }
.font15 { font-size: 15px !important; }
.font16 { font-size: 16px !important; }
.font17 { font-size: 17px !important; }
.font18 { font-size: 18px !important; }
.font20 { font-size: 20px !important; }
.font22 { font-size: 22px !important; }
.font24 { font-size: 24px !important; }
.font26 { font-size: 26px !important; }
.font28 { font-size: 28px !important; }
.font30 { font-size: 30px !important; }
.fontbold { font-weight: bold; }

.clearfix {
  clear: both;
}



/* .form-floating > .form-control:not(:placeholder-shown) {
  padding-top: 1.3rem;
  padding-bottom: .225rem;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
  height: 47px;
  min-height: 47px;
  line-height: 1.25;
}
.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  padding: 0.6rem;
  color:#aaa;
} */

/* .form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-control-plaintext ~ label::after,
.form-floating > .form-select ~ label::after {
  position: absolute;
  inset: 0.1rem 0.375rem;
  z-index: -1;
  height: 1em;
  content: "";
  background-color: transparent;
  border-radius: var(--bs-border-radius);
  font-size:9px;

} */


/*
使用方式：
    <div style="margin:10px 20px">
        <div class="orline"></div><div class="ortxt">或</div><div class="orline"></div>
    </div>
*/
.orline {
  width: calc((100% - 45px) / 2);
  height: 0;
  margin: 3px;
  display:inline-block;
  border: 1px solid #C4C4C4;
}
.ortxt {
  width:20px;
  display:inline-block;
}


.offcanvas {
position: fixed;
bottom: 0;
z-index: var(--bs-offcanvas-zindex);
display: flex;
flex-direction: column;
max-width: 80%;
margin: 10px 10px 15px 30px;
}
