@import url('https://fonts.googleapis.com/css?family=Noto Sans TC:200,300,400,500,600,700,800,900|Permanent Marker:200,300,400,500,600,700,800,900');
@import url('https://fonts.googleapis.com/earlyaccess/cwtexkai.css');
@import url('https://fonts.googleapis.com/earlyaccess/cwtexyen.css');
@import url('https://fonts.googleapis.com/earlyaccess/cwtexfangsong.css');
@import url('https://fonts.googleapis.com/earlyaccess/cwtexming.css');

/*---------------------------------------
CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: rgb(8, 3, 32);
  --secondary-color: #5a6f80;
  --section-bg-color: rgb(8, 3, 32);
  --site-footer-bg-color: var(--primary-color);
  --custom-btn-bg-color: #597081;
  --custom-btn-bg-hover-color: #5bc1ac;
  --dark-color: #000000;
  --p-color: #717275;
  --border-color: #e9eaeb;
  --orange-color: #ff5f13;
  --nav-active-color: #626BC1;
  --fbblue-color: #455999;
  --fbblue-h-color: #3d4d83;
  --twblue-color: #00acee;

  /*Chinese*/
  --font-family-1: 'Noto Sans TC', sans-serif;
  /*黑體字體*/
  --font-family-2: 'cwTeXKai', sans-serif;
  /*楷體字體*/
  --font-family-3: 'cwTeXYen', sans-serif;
  /*圓體字體*/
  --font-family-4: 'cwTeXFangSong', sans-serif;
  /*仿宋體字體*/
  --font-family-5: 'cwTeXMing', sans-serif;
  /*明體字體*/

  --font-family-pt-marker: 'Permanent Marker', sans-serif;
  --body-font-family: var(--font-family-1);

  --h1-font-size: 52px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --h65-font-size: 20px;
  --h7-font-size: 18px;
  --h8-font-size: 16px;
  --h9-font-size: 14px;
  --p-font-size: 16px;
  --btn-font-size: 18px;
  --copyright-font-size: 14px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;
  --border-radius-xsmall: 6px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  background-color: var(--primary-color);
  font-family: var(--body-font-family);
}

.carousel-item-m {
  display: none;
}

.carousel-item-h {
  display: none;
}

.carousel-item {
  display: block;
}

/*---------------------------------------
TYPOGRAPHY
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h2 {
  color: var(--secondary-color);
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--orange-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
service
-----------------------------------------*/
.service-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 60px;
  top: calc(50% - 30px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.service-carousel .owl-nav .owl-prev,
.service-carousel .owl-nav .owl-next {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #2878EB;
  font-size: 22px;
  transition: .5s;
  border-radius: 4px;
}

.service-carousel .owl-nav .owl-prev:hover,
.service-carousel .owl-nav .owl-next:hover {
  background: #F14D5D;
}
.line-img {
    width: 10px; /* 設置寬度 */
    height: 10px; /* 設置高度 */
    /* 其他樣式屬性 */
}
/*---------------------------------------
blog
-----------------------------------------*/
.blog-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 60px;
  top: calc(50% - 30px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #2878EB;
  font-size: 22px;
  transition: .5s;
  border-radius: 4px;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
  background: #F14D5D;
}

/*---------------------------------------
SECTION
-----------------------------------------*/
.section-padding {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-padding .service-cap h4 {
  margin-bottom: 35px;
  color: var(--white-color);
  text-align: center;
  font-family: var(--body-font-family);
  display: inline-block;
  font-weight: 300;
}

.section-padding .service-cap {
  text-align: center;
}

/*-------------------*/
.service-cap-line {
  display: inline-block;
  font-style: italic;
}

.service-cap-line-img {
  width: 80px;
  vertical-align: baseline;
}

/*-------------------*/

.section-padding .service-cap p {
  margin-bottom: 35px;
  color: var(--white-color);
  text-align: center;
  font-family: var(--body-font-family);
  font-size: 20px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.section-overlay+.container {
  position: relative;
}

.section-tittle .front-text h2 {
  color: var(--white-color);
  font-size: 65px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--body-font-family);
}

.section-tittle-bg {
  /*background: var(--white-color);*/
  z-index: 9;
  width: 100%;
  left: 0px;
  margin: 0px;
  background-image: url('../images/hearder-bar-logo.png')
}

/*---------------------------------------
CUSTOM BLOCK
-----------------------------------------*/
.custom-block-wrap {
  background: var(--primary-color);
  /*border-radius: var(--border-radius-medium);*/
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

.custom-block-wrap:hover {
  box-shadow: 0 1rem 3rem rgba(255, 255, 255, 0.175);
}

.custom-block-body {
  padding: 30px;
  height: 200px;
  font-family: var(--body-font-family);
  color: var(--white-color);
}

.custom-block-body-blog {
  padding: 30px;
  height: 80px;
  font-family: var(--body-font-family);
  color: var(--white-color);
  font-style: italic;
}

.custom-block-body h5,
p {
  color: var(--white-color);
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--dark-color);
}

.custom-block .custom-btn {
  border-radius: 0;
  display: block;
}


/*---------------------------------------
PROGRESS BAR
-----------------------------------------*/
.progress {
  background: var(--border-color);
  height: 5px;
}

.progress-bar {
  background: var(--secondary-color);
}


/*---------------------------------------
CUSTOM ICON COLOR
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
CUSTOM LIST
-----------------------------------------*/
.custom-list {
  margin-bottom: 0;
  padding-left: 0;
}

.custom-list-item {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
}


/*---------------------------------------
CUSTOM TEXT BOX
-----------------------------------------*/
.custom-text-box {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  margin-bottom: 24px;
  padding: 40px;
}

.custom-text-box-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
}

.custom-text-box-icon {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--secondary-color);
  font-size: var(--h6-font-size);
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  line-height: 30px;
}


/*---------------------------------------
AVATAR IMAGE - TESTIMONIAL, AUTHOR
-----------------------------------------*/
.avatar-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
}


/*---------------------------------------
CUSTOM BUTTON
-----------------------------------------*/
.custom-btn {
  background: var(--primary-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding: 15px 25px;
  font-family: var(--body-font-family);
  text-align: left;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
  color: var(--custom-btn-bg-color);
  margin-top: 8px;
  padding: 12px 25px;
}

.custom-btn:hover {
  background: var(--orange-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}


/*---------------------------------------
NAVIGATION
-----------------------------------------*/
.navbar {
  /*background: var(--white-color);*/
  z-index: 9;
  padding-top: 0;
  padding-bottom: 0;
  background-image: url('../images/hearder-bar-logo.png')
}

.navbar a {
  color: var(--white-color);
  text-decoration: none;
}

.navbar a:hover {
  color: var(--orange-color);
}

.navbar-brand {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-pt-marker);
  height: 80px;
  margin-left: 30px;
}

.navbar-brand img {
  width: 60px;
  padding-top: 10px;
}

.navbar-brand span {
  display: inline-block;
  vertical-align: middle;
  padding-top: 10px;
}

.navbar-brand small {
  color: var(--secondary-color);
  display: block;
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
}

.logo {
  width: 80px;
  height: auto;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 0;
  margin-left: 0;
  padding: 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active {
  background: transparent;
  color: var(--white-color);
}

.navbar-nav .nav-link:hover {
  background: transparent;
  color: var(--white-color);
}

/*--------*/
.navbar-nav a {
  color: var(--white-color);
  position: relative;
  text-decoration: none;
}

.navbar-nav {
  margin-left: calc(100% - 600px) !important;
}

.navbar-nav a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: var(--nav-active-color);
  top: -5px;
  left: 0px;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

.navbar-nav a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.navbar-nav .nav-link.active::before {
  transform-origin: left;
  transform: scaleX(1);
}

/*--------*/

.dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
  border: 0;
  max-width: 50px;
  padding: 0;
  margin-top: 20px;
}

.dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
  padding-top: 0;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0 30px 0 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
SITE HEADER
-----------------------------------------*/
.site-header {
  background: var(--primary-color);
  padding-top: 6px;
  padding-bottom: 3px;
  width: 100%;
}

.site-header p,
.site-header p a,
.site-header .social-icon-link {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
}

.site-header .social-icon {
  text-align: left;
}

.site-header .social-icon-link {
  background: transparent;
  width: inherit;
  height: inherit;
  line-height: inherit;
  margin-right: 15px;
}

.site-header .right-block {
  text-align: right;
  color: var(--white-color);
  padding-right: 40px;
}

.site-header .left-block {
  padding-left: 40px;
}

/*---------------------------------------
HERO & HERO SLIDE
-----------------------------------------*/
.hero-section-full-height {
  height: 900px;
  min-height: 900px;
  position: relative;
}

.carousel:hover .carousel-control-next-icon,
.carousel:hover .carousel-control-prev-icon {
  opacity: 1;
}

#hero-slide .carousel-item {
  height: 900px;
  min-height: 900px;
}

#hero-slide .carousel-caption {
  background: var(--white-color);
  clip-path: polygon(100% 100%, 100% 150px, 0 100%);
  color: var(--secondary-color);
  top: 1px;
  bottom: -1px;
  right: 0;
  left: auto;
  text-align: right;
  min-width: 680px;
  min-height: 680px;
  padding: 100px 100px 50px 100px;
}

.carousel-image {
  display: block;
  width: 100%;
  min-height: 680px;
}

#hero-slide .carousel-indicators-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

#hero-slide .carousel-indicators {
  margin-right: 0;
  margin-left: 22px;
  justify-content: inherit;
}

.carousel-control-next,
.carousel-control-prev {
  opacity: 1;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-large);
  background-size: 60% 60%;
  width: 80px;
  height: 80px;
  opacity: 0;
  transition: all 0.5s;
}

.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
  background-color: var(--primary-color);
}


/*---------------------------------------
FEATURE BLOCK
-----------------------------------------*/
.featured-block {
  text-align: center;
  transition: all 0.5s ease;
  min-height: 256px;
  padding: 15px;
}

.featured-block:hover {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.featured-block:hover .featured-block-image {
  transform: scale(0.75);
}

.featured-block-image {
  display: block;
  margin: auto;
  transition: all 0.5s;
}

.featured-block:hover .featured-block-text {
  margin-top: 0;
}

.featured-block-text {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
  margin-top: 20px;
  transition: all 0.5s;
}


/*---------------------------------------
ABOUT
-----------------------------------------*/
.about-section {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 350px;
  height: 400px;
  object-fit: cover;
}

.custom-text-block {
  padding: 0px 10px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.custom-text-block h3 {
  color: var(--white-color);
  font-family: var(--body-font-family);
}

.custom-text-block p,
a {
  color: var(--white-color);
  font-family: var(--body-font-family);
  text-align: justify;
  padding: 0px;
  margin-bottom: 10px;
  font-size: var(--h7-font-size);
}

.custom-text-block .p1 {
  color: var(--white-color);
  font-family: var(--body-font-family);
  text-align: left;
  font-size: var(--h7-font-size);
  padding-left: 20px;
}

.custom-text-block img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: cover;
  display: inline;
}

/*---------------------------------------
COUNTER NUMBERS
-----------------------------------------*/
.counter-thumb {
  margin: 20px;
  margin-bottom: 0;
}

.counter-number,
.counter-text {
  color: var(--secondary-color);
  display: block;
}

.counter-number,
.counter-number-text {
  color: var(--primary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
}


/*---------------------------------------
VOLUNTEER
-----------------------------------------*/
.volunteer-section {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.volunteer-section::after {
  content: "";
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

.volunteer-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.volunteer-image {
  border-radius: 100%;
  display: block;
  margin: auto;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.volunteer-section .custom-block-body {
  max-width: 440px;
  margin: 0 auto;
}

.volunteer-section .custom-block-body p {
  line-height: 1.7;
}


/*---------------------------------------
DONATE
-----------------------------------------*/
.donate-section {
  background-image: url('../images/different-people-doing-volunteer-work.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.donate-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 50px;
}

/*---------------------------------------
NEWTECH
-----------------------------------------*/

.newtech-block-img {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 275px;
}

.custom-block-image-tech {
  display: block;
  width: 100%;
  height: 275px;
  object-fit: fill;
  background-color: var(--dark-color);
}

.custom-tech-block h4 {
  color: var(--white-color);
  font-family: var(--body-font-family);
}

.newtech-tittle .front-text h3 {
  color: var(--white-color);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--body-font-family);
  margin-top: 20pt;
}

.newtech-tittle-bg {
  /*background: var(--white-color);*/
  z-index: 9;
  width: 100%;
  left: 0px;
  background-color: rgb(20, 7, 79);
  margin-left: 0pt;
  margin-right: 0pt;
}

.newtech-cap h6 {
  color: var(--p-color);
  font-style: italic;
}

.newtech-source p {
  color: var(--white-color);
  word-wrap: break-word;
  text-align: left;
}

.newtech-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.newtech-image-remark {
  font-weight: var(--font-weight-bold);
  color: var(--white-color);
  text-align: center;
}

.newtech-img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.newtech-fb-share {
  border-radius: var(--border-radius-xsmall);
  color: var(--white-color);
  background-color: var(--fbblue-color);
  padding: 2px 11px 2px 11px;
  margin-right: 5px;
  font-size: 16px;
  vertical-align: top;
  padding-top: 0px;
}

.newtech-fb-share .bi-facebook {
  font-size: 18px;
}

.newtech-fb-share:hover {
  background-color: var(--fbblue-h-color);
  cursor: pointer;
}

.aParent div {
  float: left;
  clear: none;
}

/*---------------------------------------
NEWS
-----------------------------------------*/
.news-detail-header-section {
  background-image: url('../images/news/close-up-volunteer-oganizing-stuff-donation.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.news-block-top {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.news-block-two-col-image-wrap {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  width: 350px;
  margin-right: 20px;
}

.news-category-block {
  background: var(--secondary-color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px 20px;
}

.news-category-block .category-block-link {
  color: var(--white-color);
  margin-right: 10px;
}

.news-block-info {
  padding-top: 10px;
  padding-bottom: 10px;
}

.news-block-title-link {
  color: var(--dark-color);
}

.news-detail-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--site-footer-bg-color);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 90px 50px 50px 50px;
  text-align: center;
}

blockquote::before {
  content: "“";
  color: var(--custom-btn-bg-color);
  font-size: 100px;
  line-height: 1rem;
  display: block;
}

.author-comment-link {
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-semibold);
}

.search-form {
  margin-top: 20px;
}

.category-block,
.subscribe-form {
  margin-top: 40px;
  margin-bottom: 40px;
}

.category-block-link {
  font-size: var(--copyright-font-size);
  margin-top: 5px;
  margin-bottom: 5px;
}

.category-block-link:hover {
  color: var(--primary-color);
}

.badge {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding-bottom: 2px;
}

.tags-block-link {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  font-size: var(--copyright-font-size);
  line-height: normal;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px 15px;
}

.tags-block-link:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 200px;
  height: 200px;
}

.cta-section::after {
  content: "";
  border: 20px solid var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -100px;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  height: 150px;
}


/*---------------------------------------
TESTIMONIAL CAROUSEL
-----------------------------------------*/
.testimonial-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

/*.testimonial-section::before {
content: "";
background-color: var(--primary-color);
border-radius: 50%;
position: absolute;
top: -100px;
left: -30px;
margin: auto;
width: 250px;
height: 250px;
}

.testimonial-section::after {
content: "";
background: var(--custom-btn-bg-color);
border-radius: 50%;
position: absolute;
bottom: -110px;
right: -80px;
width: 350px;
height: 350px;
}*/

#testimonial-carousel .carousel-caption {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
}

#testimonial-carousel .carousel-title {
  background: var(--section-bg-color);
  line-height: normal;
  margin-bottom: 30px;
}

#testimonial-carousel .carousel-title::before {
  content: open-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  right: 10px;
}

#testimonial-carousel .carousel-title::after {
  content: close-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  left: 10px;
}

#testimonial-carousel .carousel-title {
  quotes: "“" "”" "‘" "’";
}

#testimonial-carousel .carousel-name {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
}

#testimonial-carousel .carousel-name::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--primary-color);
}

.carousel-name-title {
  font-weight: var(--font-weight-semibold);
}

#testimonial-carousel .carousel-indicators {
  position: relative;
  top: 150px;
  bottom: auto;
  margin-top: 50px;
  margin-bottom: 150px;
}

#testimonial-carousel .carousel-indicators li {
  text-indent: inherit;
  background: transparent;
  margin: 0 10px;
}

#testimonial-carousel .carousel-indicators li,
#testimonial-carousel .carousel-indicators li::before {
  width: 45px;
  height: 45px;
}

#testimonial-carousel .carousel-indicators .avatar-image {
  width: 45px;
  height: 45px;
}

#testimonial-carousel .carousel-indicators .active,
#testimonial-carousel .carousel-indicators .active .avatar-image {
  background: transparent;
  width: 50px;
  height: 50px;
}

.row-width-9 {
  width: 83%;
  margin-right: auto;
  margin-left: auto;
}

/*---------------------------------------
CONTACT
-----------------------------------------*/
.contact-section {
  background: var(--white-color);
}

.contact-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
}

.contact-info-wrap {
  padding-top: 40px;
}

.contact-image-wrap {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  width: 100%;
}

.line-img {
  width: 90px !important;
  height: 90px !important;
  border-radius: 0.375rem;
}

/*---------------------------------------
CUSTOM FORM
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
  background-color: var(--section-bg-color);
  box-shadow: none;
  border: 0;
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form label {
  margin-bottom: 10px;
}

.custom-form .form-check-group {
  margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
  padding-right: 0;
}

.form-check-group-donation-frequency+.form-check-group-donation-frequency {
  padding-right: 12px;
  padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
  font-weight: var(--font-weight-semibold);
}

#DonationFrequencyOne {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
  position: relative;
  height: 100%;
  padding-left: 0;
}

.custom-form .input-group-text {
  background: var(--secondary-color);
  border: 0;
  color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.form-check-radio .form-check-input[type=radio] {
  background-color: var(--section-bg-color);
  border-radius: .25rem;
  border: 0;
  box-shadow: none;
  outline: none;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  padding: 25px 50px;
  transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type=radio] {
  background-image: none;
}

.form-check-radio .form-check-input:checked[type=radio]+.form-check-label,
.form-check-radio .form-check-input:hover+.form-check-label,
.form-check-radio .form-check-input:checked+.form-check-label {
  color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.input-group-file {
  border-radius: .25rem;
  padding: 13px .75rem;
}

.input-group-file input[type=file] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  padding: 0;
}

.input-group-file .input-group-text {
  background: transparent;
  color: inherit;
  margin-bottom: 0;
  padding: 0;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
CONTACT SEARCH & DONATE & SUBCRIBE FORM
-----------------------------------------*/
.contact-form .form-control {
  background: var(--white-color);
}

.search-form {
  position: relative;
}

.search-form .form-control {
  padding-right: 50px;
}

.search-form button[type="submit"] {
  background: transparent;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--p-color);
  width: 50px;
  padding: 12px;
}

.search-form button[type="submit"]:hover {
  background: transparent;
  color: var(--dark-color);
}

.subscribe-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 30px;
}

.subscribe-form .form-control {
  background: var(--white-color);
}

.donate-form .form-control {
  margin-bottom: 0;
}


/*---------------------------------------
SITE FOOTER
-----------------------------------------*/
.site-footer {
  background-color: var(--site-footer-bg-color);
  /*padding-top: 70px;*/
}

.site-footer-bottom {
  /*background-color: var(--secondary-color);*/
  position: relative;
  z-index: 2;
  /*margin-top: 70px;*/
  padding-top: 25px;
  padding-bottom: 25px;
  background-image: url('../images/hearder-bar-logo.png');
  bottom: 0;
}

.site-footer-bottom a {
  color: var(--white-color);
}

.site-footer-bottom a:hover {
  color: #FF6;
}

.site-footer-link {
  color: var(--white-color);
}

.copyright-text {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.site-footer .custom-btn {
  font-size: var(--copyright-font-size);
}

.site-footer .custom-btn:hover {
  background: var(--primary-color);
}


/*---------------------------------------
FOOTER MENU
-----------------------------------------*/
.footer-menu {
  column-count: 2;
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
  display: block;
}

.footer-menu-link {
  font-size: var(--p-font-size);
  color: var(--white-color);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 5px;
}


/*---------------------------------------
SOCIAL ICON
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
  text-align: left;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
  width: 30px;
  height: 20px;
}

.social-icon-link {
  background: var(--site-footer-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 38px;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.iframe-map {
  width: calc(100% - 30px);
  height: 100%;
  border: 0px;
}

/*---------------------------------------
Owl Carousel
-----------------------------------------*/
.service-carousel .owl-nav div.owl-prev,
.service-carousel .owl-nav div.owl-next {
  color: #fff;
  font-size: 18px;
  margin-top: -20px;
  position: absolute;
  top: 50%;
  text-align: center;
  line-height: 39px;
  opacity: 0;
  border: 1px solid #fff;
  width: 40px;
  height: 40px;
}

.service-carousel .owl-nav div.owl-prev {
  left: 10%;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -ms-transition: 0.4s;
}

.service-carousel .owl-nav div.owl-next {
  right: 10%;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -ms-transition: 0.4s;
}

.service-carousel:hover .owl-nav div.owl-next {
  right: 2%;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -ms-transition: 0.4s;
  opacity: 1;
}

.service-carousel:hover .owl-nav div.owl-prev {
  left: 2%;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -ms-transition: 0.4s;
  opacity: 1;
}

.service-carousel:hover .owl-nav div.owl-next:hover,
.service-carousel:hover .owl-nav div.owl-prev:hover {
  color: #fff;
  background: #0C94B8;
  border: 1px solid #0C94B8;
}

.blog-carousel .owl-nav div.owl-prev,
.blog-carousel .owl-nav div.owl-next {
  color: #fff;
  font-size: 18px;
  margin-top: -20px;
  position: absolute;
  top: 50%;
  text-align: center;
  line-height: 39px;
  opacity: 0;
  border: 1px solid #fff;
  width: 40px;
  height: 40px;
}

.blog-carousel .owl-nav div.owl-prev {
  left: 10%;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -ms-transition: 0.4s;
}

.blog-carousel .owl-nav div.owl-next {
  right: 10%;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -ms-transition: 0.4s;
}

.blog-carousel:hover .owl-nav div.owl-next {
  right: 2%;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -ms-transition: 0.4s;
  opacity: 1;
}

.blog-carousel:hover .owl-nav div.owl-prev {
  left: 2%;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -ms-transition: 0.4s;
  opacity: 1;
}

.blog-carousel:hover .owl-nav div.owl-next:hover,
.blog-carousel:hover .owl-nav div.owl-prev:hover {
  color: #fff;
  background: #0C94B8;
  border: 1px solid #0C94B8;
}

/*---------------------------------------
RESPONSIVE STYLES
-----------------------------------------*/
/* 電腦 */
@media (min-width: 1025px) {

  /* 電腦專用樣式 */
  .carousel-item-m {
    display: none;
  }

  .carousel-item-h {
    display: none;
  }

  .carousel-item {
    display: block;
  }

  .featured-block {
    min-height: inherit;
  }

  .volunteer-section::after {
    width: 450px;
    height: 450px;
  }

  .volunteer-image {
    width: 350px;
    height: 350px;
  }

  .section-padding .service-cap p {
    font-size: var(--h4-font-size) !important;
  }
}

/* 手機-V */
@media (max-width: 431px) and (max-height: 933px) and (orientation: portrait) {

  /* 手機專用樣式 */
  .item-a {
    order: 1;
  }

  .item-b {
    order: 2;
  }

  .new-item-a {
    order: 1;
    padding-bottom: 20px;
  }

  .new-item-b {
    order: 2;
    width: calc(100% - 10px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .carousel-item-m {
    display: block;
  }

  .carousel-item-h {
    display: none;
  }

  .carousel-item {
    display: none;
  }

  .site-header .right-block {
    text-align: right;
    color: var(--white-color);
    font-size: 12px;
    width: 75% !important;
    padding-right: 10px;
    padding-left: 0;
  }

  .site-header .left-block {
    width: 25% !important;
    padding-right: 0 !important;
    padding-left: 10px !important;
    margin-right: 0 !important;
  }

  .social-icon {
    margin: 0 !important;
    padding: 0;
    text-align: left;
    width: 100% !important;
  }

  .social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
    width: 18px;
    height: 18px;
  }

  .custom-text-box-image {
    margin-top: 20px;
  }

  .row {
    overflow: hidden;
    width: 100%;
  }

  .partner-img {
    margin-left: 20px;
  }

  .col-6 {
    flex: 0 0 auto;
    width: 100% !important;
  }

  .v-mb-6 {
    margin-bottom: 5rem !important;
  }
  .navbar-nav {
    margin-left: auto !important;
  }

  .nav-item {
    height: 60px;
  }

  .newtech-block-img {
    width: calc(100% - 10px) !important;
    height: 200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .custom-block-image-tech {
    display: block;
    width: calc(100% - 10px) !important;
    height: 100% !important;
    object-fit: fill;
    background-color: var(--dark-color);
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .custom-block-image-tech-index {
    display: block;
    width: calc(100% - 10px) !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: var(--primary-color) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-tittle .front-text h2 {
    font-size: 40px;
  }

  .section-padding {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .section-padding .service-cap h4,
  p {
    font-size: var(--h8-font-size) !important;
  }

  .service-cap-line-img {
    width: 40px;
  }

  .section-tittle {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .hero-section-full-height {
    height: 600px !important;
    min-height: 600px !important;
    position: relative;
  }

  .hero-section .row {
    overflow: hidden;
    width: 100vw;
  }

  #hero-slide .carousel-item-m,
  .carousel-image {
    min-height: 600px !important;
  }

  .custom-text-block {
    padding: 0 0 0 0;
    text-align: justify;
    width: calc(100% - 10px) !important;
  }

  #hero-slide .carousel-caption {
    clip-path: polygon(100% 100%, 100% 100px, 0 100%);
    padding-right: 50px;
    min-width: inherit;
    min-height: inherit;
  }

  #hero-slide .carousel-caption {
    clip-path: polygon(100% 100%, 100% 100px, 0 100%);
    padding-right: 50px;
    min-width: inherit;
    min-height: inherit;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  #hero-slide .carousel-caption {
    min-width: inherit;
    padding-bottom: 30px;
  }

  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    width: 45px;
    height: 45px;
  }

  .volunteer-image {
    width: 150px;
    height: 150px;
  }

  .volunteer-section::after {
    width: 200px;
    height: 200px;
  }

  .testimonial-section::before {
    top: -50px;
    width: 100px;
    height: 100px;
  }

  .testimonial-section::after {
    bottom: -150px;
    width: 200px;
    height: 200px;
  }

  .social-share .tags-block {
    margin-bottom: 10px;
  }

  .donate-form {
    padding: 25px;
  }

  .iframe-map {
    width: calc(100% - 10px) !important;
    height: 280px;
    border: 0px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 10px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 0px;
  }

  .index-contact-us {
    padding-top: 20px;
    padding-left: 20px;
  }

  .row {
    margin-left: auto;
    margin-right: auto;
  }

  .container-fluid {
    padding-right: 0;
    padding-left: 0;
  }

  .custom-btn {
    font-size: var(--h8-font-size);
  }

  .custom-block-body-blog {
    padding: 10px 0 0 0 !important;
  }

  .row-width-9 {
    width: 95%;
    margin-right: auto;
    margin-left: auto;
  }
}

/* 手機-H */
@media (max-width: 933px) and (max-height: 431px) and (orientation: landscape) {
  
  .v-mb-6 {
    margin-bottom: 5rem !important;
  }

  .col-12 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-md-3 {
    flex: 0 0 auto;
    width: 50%;
  }

  .item-a {
    width: 50% !important;
  }

  .item-b {
    width: 50% !important;
  }

  .new-item-a {
    width: 50% !important;
  }

  .new-item-b {
    width: 50% !important;
  }

  .mb-partner {
    margin-bottom: calc(100vh - 680px) !important;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  .site-header .right-block {
    text-align: right;
    color: var(--white-color);
    width: 75% !important;
    padding-right: 0;
    padding-left: 0;
  }

  .site-header .left-block {
    width: 25% !important;
    padding-right: 0 !important;
    padding-left: 25px !important;
    margin-right: 0 !important;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .donate-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  /*.navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }*/

  .navbar-nav {
    margin-left: auto !important;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0px 20px;
  }

  .navbar-brand {
    color: var(--white-color);
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-pt-marker);
    height: 60px;
    margin-left: 30px;
  }

  .navbar-brand img {
    width: 60px;
    padding-top: 0px;
  }

  .navbar-brand span {
    display: inline-block;
    vertical-align: middle;
    padding-top: 0px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 20px;
    left: 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
    width: 100%;
    margin-right: auto !important;
  }

  .hero-section-full-height {
    height: 310px;
    min-height: 310px;
    position: relative;
  }

  .carousel:hover .carousel-control-next-icon,
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item,
  .carousel-image {
    height: 310px;
    min-height: 310px;
    width: 100% !important;
  }

  .container-fluid {
    width: 100vw !important;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .hero-section .row {
    overflow: hidden;
    width: 100vw;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    opacity: 1;
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .volunteer-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .volunteer-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .index-contact-us {
    padding-left: 50px !important;
  }

  .custom-text-block p {
    font-size: var(--h7-font-size) !important;
  }
  .custom-text-block {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .index-contact-us p {
    font-size: var(--h8-font-size) !important;
  }

  .p1 {
    font-size: var(--h8-font-size) !important;
  }

  .custom-text-box,
  .volunteer-form {
    padding: 30px;
  }

  .counter-number,
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .copyright-text {
    font-size: var(--copyright-font-size) !important;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .iframe-map {
    width: 100% !important;
    height: 100% !important;
    border: 0px;
  }

  .custom-tech-block {
    flex: 0 0 auto;
    width: 58%;
  }

  .custom-tech-block p {
    font-size: var(--h8-font-size) !important;
  }

  .custom-tech-block h4 {
    font-size: var(--h6-font-size) !important;
  }

  .newtech-block-img {
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 207px;
  }

  .custom-block-image-tech {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    background-color: var(--dark-color);
  }

  .custom-block-image-tech-index {
    display: block;
    width: calc(100% - 10px) !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: var(--primary-color) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-tittle-bg {
    margin-bottom: 30px;
  }

  .section-tittle {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .site-header .right-block {
    width: 60%;
    margin-left: auto !important;
  }

  .site-header .left-block {
    width: 40%;
    margin-right: auto !important;
  }

  .newtech-img-center {
    display: flex;
    flex-wrap: wrap;
  }

  .newtech-image {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .newtech-image-remark {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-padding .service-cap h4,
  p {
    font-size: var(--h7-font-size) !important;
  }

  .custom-block-body p {
    font-size: var(--h8-font-size) !important;
  }

  .custom-block-body-blog p {
    font-size: var(--h8-font-size) !important;
  }

  .custom-block-body-blog {
    padding: 10px 10px 0 10px !important;
  }

  .section-tittle .front-text h2 {
    font-size: var(--h2-font-size) !important;
  }

  .custom-btn {
    font-size: var(--h8-font-size);
    margin-top: 20px !important;
  }

  .row-width-9 {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }

}

/* iPad mini-V */
@media (min-width: 432px) and (max-width: 768px) and (max-height: 1024px) and (orientation: portrait) {

  /* iPad專用樣式 */
  .col-md-3 {
    flex: 0 0 auto;
    width: 50%;
  }

  .mb-partner {
    margin-bottom: calc(100vh - 680px) !important;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .carousel-item-m {
    display: block;
  }

  .carousel-item-h {
    display: none;
  }

  .carousel-item {
    display: none;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  .site-header .right-block {
    text-align: right;
    color: var(--white-color);
    width: 75% !important;
    padding-right: 0;
    padding-left: 0;
  }

  .site-header .left-block {
    width: 25% !important;
    padding-right: 0 !important;
    padding-left: 25px !important;
    margin-right: 0 !important;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .donate-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  /*.navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }*/

  .navbar-nav {
    margin-left: auto !important;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 20px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 20px;
    left: 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
    width: 100%;
    margin-right: auto !important;
  }

  .hero-section-full-height {
    height: 950px;
    min-height: 950px;
    position: relative;
  }

  .carousel:hover .carousel-control-next-icon,
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item-m .carousel-image {
    min-height: 950px !important;
    height: 950px !important;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .hero-section .row {
    overflow: hidden;
    width: 100vw;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    opacity: 1;
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .volunteer-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .volunteer-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .custom-text-block {
    padding: 20px 0 0 0;
    width: 90%;
  }

  .custom-text-block p {
    font-size: var(--h7-font-size) !important;
  }

  .custom-text-box,
  .volunteer-form {
    padding: 30px;
  }

  .counter-number,
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .iframe-map {
    width: 300px;
    height: 300px;
    border: 0px;
  }

  .custom-tech-block {
    flex: 0 0 auto;
    width: 58%;
  }

  .custom-tech-block p {
    font-size: var(--h7-font-size) !important;
  }

  .newtech-block-img {
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 207px;
  }

  .custom-block-image-tech {
    display: block;
    width: 300px;
    height: 207px;
    object-fit: fill;
    background-color: var(--dark-color);
  }

  .custom-block-image-tech-index {
    display: block;
    width: 300px !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: var(--primary-color) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .custom-block-body-blog {
    padding: 10px 0 0 0;
    height: 150px !important;
  }

  .custom-block-body-blog p {
    font-size: var(--h7-font-size) !important;
  }

  .custom-block-body p {
    font-size: var(--h7-font-size) !important;
  }

  .section-tittle-bg {
    margin-bottom: 30px;
  }

  .section-tittle {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .site-header .right-block {
    width: 60%;
    margin-left: auto !important;
  }

  .site-header .left-block {
    width: 40%;
    margin-right: auto !important;
  }

  .newtech-image {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .newtech-image-remark {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .newtech-img-center {
    display: flex;
    flex-wrap: wrap;
  }

  .section-padding .service-cap h4,
  p {
    font-size: var(--h5-font-size) !important;
  }

  .custom-btn {
    font-size: var(--h8-font-size);
    margin-top: 50px;
  }

  .row-width-9 {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }

}

/* iPad mini-H */
@media (min-width: 933px) and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape) {

  /* iPad專用樣式 */
  .col-md-3 {
    flex: 0 0 auto;
    width: 50%;
  }

  .mb-partner {
    margin-bottom: calc(100vh - 680px) !important;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .carousel-item-h {
    display: block;
  }

  .carousel-item-m {
    display: none;
  }

  .carousel-item {
    display: none;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .donate-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  /*.navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }*/

  .navbar-nav {
    margin-left: auto !important;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 20px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 20px;
    left: 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
    width: 40%;
    margin-right: auto !important;
  }

  .hero-section-full-height {
    height: 630px;
    min-height: 630px;
    position: relative;
  }

  #hero-slide .carousel-item-h,
  .carousel-image {
    min-height: 630px !important;
  }

  .carousel:hover .carousel-control-next-icon,
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item,
  .carousel-image {
    height: 450px;
    min-height: 400px;
    width: 100%;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .hero-section .row {
    overflow: hidden;
    width: 100vw;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    opacity: 1;
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .volunteer-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .volunteer-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .custom-text-block {
    padding: 20px 0 0 20px;
  }

  .custom-text-block p {
    font-size: var(--h7-font-size) !important;
  }

  .custom-text-box,
  .volunteer-form {
    padding: 30px;
  }

  .counter-number,
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .copyright-text {
    font-size: var(--copyright-font-size) !important;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .iframe-map {
    width: 350px;
    height: 350px;
    border: 0px;
  }

  .custom-tech-block {
    flex: 0 0 auto;
    width: 58%;
  }

  .custom-tech-block p {
    font-size: var(--h7-font-size) !important;
  }

  .newtech-block-img {
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 207px;
  }

  .custom-block-body {
    padding: 20px 0 0 0;
  }

  .custom-block-body p {
    font-size: var(--h8-font-size) !important;
  }

  .custom-block-body-blog {
    padding: 10px 0 0 0;
    height: 200px !important;
  }

  .custom-block-body-blog p {
    font-size: var(--h8-font-size) !important;
  }

  .custom-block-image-tech {
    display: block;
    width: 300px;
    height: 207px;
    object-fit: fill;
    background-color: var(--dark-color);
  }

  .custom-block-image-tech-index {
    display: block;
    width: 300px !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: var(--primary-color) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .custom-btn {
    background: var(--primary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--h8-font-size);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding: 15px 0px;
    font-family: var(--body-font-family);
    text-align: left;
    margin-top: 30px;
  }

  .section-tittle-bg {
    margin-bottom: 30px;
  }

  .section-tittle {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .section-tittle .front-text h2 {
    font-size: 50px;
  }

  .site-header .right-block {
    width: 60%;
    margin-left: auto !important;
    padding-right: 10px;
  }

  .site-header .left-block {
    width: 40%;
    margin-right: auto !important;
  }

  .section-padding .service-cap h4,
  p {
    font-size: var(--h65-font-size) !important;
  }

  .index-contact-us {
    padding-left: 50px;
  }

  .newtech-img-center {
    display: flex;
    flex-wrap: wrap;
  }

  .newtech-image {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .newtech-image-remark {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .row-width-9 {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

}

/* iPad pro-V */
@media (min-width: 1024px) and (min-height: 1366px) and (orientation: portrait) {

  /* iPad專用樣式 */
  .col-md-3 {
    flex: 0 0 auto;
    width: 50%;
  }

  .mb-partner {
    margin-bottom: calc(100vh - 680px) !important;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .carousel-item-m {
    display: block;
  }

  .carousel-item-h {
    display: none;
  }

  .carousel-item {
    display: none;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  .site-header .right-block {
    text-align: right;
    color: var(--white-color);
    width: 75% !important;
    padding-right: 0;
    padding-left: 0;
  }

  .site-header .left-block {
    width: 25% !important;
    padding-right: 0 !important;
    padding-left: 25px !important;
    margin-right: 0 !important;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .donate-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  /*.navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }*/

  .navbar-nav {
    margin-left: auto !important;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 20px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 20px;
    left: 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
    width: 100%;
    margin-right: auto !important;
  }

  .hero-section-full-height {
    height: 1200px;
    min-height: 1200px;
    position: relative;
  }

  .carousel:hover .carousel-control-next-icon,
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item-m .carousel-image {
    min-height: 1200px !important;
    height: 1200px !important;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .hero-section .row {
    overflow: hidden;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    opacity: 1;
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .volunteer-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  .custom-block-image-tech-index {
    display: block;
    width: 300px !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: var(--primary-color) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .volunteer-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .custom-text-block {
    padding: 20px 0 0 0;
  }

  .custom-text-box,
  .volunteer-form {
    padding: 30px;
  }

  .counter-number,
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .iframe-map {
    width: 300px;
    height: 300px;
    border: 0px;
  }

  .custom-tech-block {
    flex: 0 0 auto;
    width: 58%;
  }

  .newtech-block-img {
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 207px;
  }

  .custom-block-image-tech {
    display: block;
    width: 300px;
    height: 207px;
    object-fit: fill;
    background-color: var(--dark-color);
  }

  .section-tittle-bg {
    margin-bottom: 50px !important;
  }

  .section-tittle {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .site-header .right-block {
    width: 60%;
    margin-left: auto !important;
  }

  .site-header .left-block {
    width: 40%;
    margin-right: auto !important;
  }

  .newtech-img-center {
    display: flex;
    flex-wrap: wrap;
  }

  .newtech-image {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .newtech-image-remark {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-padding .service-cap p {
    font-size: var(--h4-font-size) !important;
  }

}

/*---------------------

-----------------------*/
.mb-6 {
  margin-bottom: 5rem !important;
}

.mb-7 {
  margin-bottom: 7rem !important;
}

.mb-8 {
  margin-bottom: 8rem !important;
}

.mb-9 {
  margin-bottom: 9rem !important;
}

.mb-10 {
  margin-bottom: 10rem !important;
}

.mb-11 {
  margin-bottom: 11rem !important;
}

.mb-12 {
  margin-bottom: 12rem !important;
}

.mb-contact {
  margin-bottom: calc(100vh - 886px) !important;
}

/*---------------------
partner
-----------------------*/
.partner-img {
  padding: 0;
  background-color: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  max-width: 60px;
  height: auto;
}

.partner-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mb-partner {
  margin-bottom: calc(100vh - 786px);
}