a {
    color: whitesmoke;
    text-decoration: none;
    transition: 0.25s;
}

#content {
  width: 80%;
  margin: 4em auto 0em auto;
  border-radius: 0.5em;
  padding: 1em;
  text-align: center;
  word-break: break-all;
}

#content p i {
  font-size:1.5rem;
/*   vertical-align:-webkit-baseline-middle; */
  vertical-align: super;
  /*font-size: 0.8em;
  margin-right: 0.5em;*/
}

#content div:nth-child(1) {
  border-bottom: 2px dashed #171c61;
  margin: 0 0 20px 0;
  font-size: 1.5em;
  text-align: left;
  color: #171c61;
}

#content input {
  display: inline-block;
}

#content div:nth-child(2) {
/*   padding: 1em; */
  margin: 0 auto;
/*   margin-top: 2em; */
  width: 100%;
  text-align: left;
/*   background-color: #DFDFDF; */
/*   box-shadow: 5px 3px 3px gray; */
}

#textContext {
  padding: 1em 0;
  /*box-shadow: 5px 3px 2px gray;*/
  color: black;
}

#textContext table {
  border: 1px solid white;
}

#textContext table tr:first-child {
  padding: 0.5em;
  color: #171c61;
  border: 1px solid white;
}

#textContext table tr:nth-child(odd) {
  background: #CED1F3;
  color: black;
}

#textContext table tr:nth-child(even) {
  background: #DEE0F7;
  color: black;
}

#textContext table tr td {
  padding: 0.5em;
  border: 1px solid white;
}

#textContext table tr:not(:first-child):hover {
/*   background: antiquewhite; */
}

#descCol {
  margin: 10em 5em 5em 0;
}

img.expertImg {
  max-width: 200px;
  max-height: 200px;
}

#expertList {
  display: flex;
  flex-wrap: wrap;
  width:70%;
  color: #1C110A;
}

.intro_Column {
  width: 300px;
  text-align: center;
  margin-top: 1em;
}

.hideContent {
  display: none;
}

#expertList p {
  padding:0 !important;
  margin: 0 !important;
}

.experInfo {
  width: 200px;
  margin: 0 auto;
}

.showPDF {
  width: 100%;
  height: 30em;
}

div.titleItem {
  padding: 2% 4%;
  margin: 4% 0;
}

.titleItem a {
  margin: 0 0 4% 2%;
  color: #1C110A;
  text-decoration: none;
  font-size: 0.7em;
}

.titleItem span {
  margin: 0 2% 4% 2%;
  color: #911684;
  font-size: 0.7em;
}

.titleItem img {
  margin: 1%;
  vertical-align: middle;
  width: 5%;
  transition: 1s ease-in-out;
}

.titleItem img:hover {
  transform: translateX(15px);
}

.fa-chevron-right:before {
  font-size:0.5rem!important;
  vertical-align:super!important;
}

.contentTitle {
  padding: 0;
  margin: 0;
}

.searchForm {
  text-align: right;
}

.searchBtn {
  border: none;
  background: #171c61;
}

.pagination {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-top: 2em;
  padding-bottom: 2em;
}

.corevalue {
  width: 80%;
  margin: 0 auto;
  margin-top: 4em;
}

.corevalue img {
  width: 100%;
}

#expertListPage {
  margin: 0 auto;
  text-align: left;
  width: 87%;
}

.listItemImgexpert .pic, .hvr-sweep-to-right {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.listItemImgexpert {
  width: 32%;
  height: 300px;
  background: #ECEBE9;
}

.expertInfo {
  padding: 0 2em;
}

.listItemexpert {
  display: flex;
  margin: 2em 0;
  background-color: #F5F5F5;
  box-shadow: 5px 3px 3px grey;
}

.expertInfo p span {
  font-size: 0.9em !important;
}

.couldTable {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  margin-top: 1.5em;
}

.couldTable tr:nth-child(odd) {
  background: #CED1F3;
  color: black;
}

.couldTable tr td {
  padding: 0.5em;
  border: 1px solid white;
}

.couldTable tr th {
  padding: 0.5em;
  color: #171c61;
  border: 1px solid white;
}

.couldTable tr:nth-child(even) {
  background: #DEE0F7;
  color: black;
}

.couldTable tr td a {
  color: black;
}

.couldBack {
  margin-top: 1.5em;
}

/* title effect */
.ml6 {
  position: relative;
  font-weight: 600;
  font-size: 1em;
  display: flex;
  align-items: center;
}

.ml6 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.2em;
  padding-right: 0.05em;
  padding-bottom: 0.1em;
  overflow: hidden;
}


/* 例會節目、近期活動花絮 */
.ml6 .letter {
  display: inline-block;
  line-height: 1em;
}

figure.snip1237 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 220px;
  max-width: 310px;
  width: 100%;
  background: #1a1a1a;
  color: #ffffff;
  text-align: left;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}
figure.snip1237 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
figure.snip1237 .image {
  position: relative;
  height: 300px;
}
figure.snip1237 img {
  max-width: 100%;
  vertical-align: top;
}
figure.snip1237 i {
  position: absolute;
  top: 7px;
  left: 12px;
  font-size: 32px;
  opacity: 0;
  z-index: 2;
  -webkit-transition-delay: 0;
  transition-delay: 0;
}
figure.snip1237 h3 {
  margin: 0 0 10px;
  font-weight: 500;
}
figure.snip1237 p {
  margin: 0;
}
figure.snip1237:before,
figure.snip1237:after {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1237:before {
  background-color: #20638f;
  -webkit-transform: skew(-45deg) translateX(-150%);
  transform: skew(-45deg) translateX(-150%);
  border-right: 1px solid #20638f;
}
figure.snip1237:after {
  background-color: #962d22;
  -webkit-transform: skew(-45deg) translateX(-175%);
  transform: skew(-45deg) translateX(-175%);
  border-right: 1px solid #962d22;
}
figure.snip1237 figcaption {
  padding: 25px;
  background-color: #ffffff;
  color: #000000;
  position: relative;
  font-size: 0.9em;
  min-height: 250px;
}
figure.snip1237 figcaption p {
  margin-bottom: 15px;
}
figure.snip1237 figcaption:before {
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: 100%;
  right: 0;
  content: '';
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
  background-color: #20638f;
  -webkit-transform: skew(-45deg) translateX(50%);
  transform: skew(-45deg) translateX(50%);
  border-right: 1px solid #20638f;
}
figure.snip1237 .read-more {
  display: inline-block;
  width: auto;
  border: 2px solid #20638f;
  padding: 0.4em 0.6em;
  color: #20638f;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9em;
  text-transform: uppercase;
}
figure.snip1237 .read-more:hover {
  background-color: #20638f;
  color: #ffffff;
}
figure.snip1237 .date {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #fff;
  max-height: 48px;
  max-width: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 1;
}
figure.snip1237 .date span {
  display: block;
  line-height: 24px;
}
figure.snip1237 .date .month {
  font-size: 14px;
}
figure.snip1237:hover i,
figure.snip1237.hover i {
  opacity: 0.7;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
figure.snip1237:hover:before,
figure.snip1237.hover:before {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transform: skew(-45deg) translateX(-50%);
  transform: skew(-45deg) translateX(-50%);
}
figure.snip1237:hover:after,
figure.snip1237.hover:after {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  -webkit-transform: skew(-45deg) translateX(-75%);
  transform: skew(-45deg) translateX(-75%);
}

.newsItem {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.expertItem {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* 回上一頁button */
button.snip0040 {
  font-family: 'Raleway', Arial, sans-serif;
  border: none;
  background-color: #000000;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  padding: 10px 40px;
  display: inline-block;
  margin: 0 10px;
  text-transform: uppercase;
  line-height: 1.5em;
  font-weight: 500;
  font-size: 0.8em;
  outline: none;
  position: relative;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
button.snip0040 span {
  display: inline-block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0.8;
  color: white;
}
button.snip0040 i {
  font-size: 20px;
  left: 15px;
  position: absolute;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
button.snip0040:before {
  content: '';
  top: 0;
  left: 0;
  width: 0;
  position: absolute;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}
button.snip0040:hover span,
button.snip0040.hover span {
  -webkit-transform: translate3d(20px, 0px, 0px);
  transform: translate3d(20px, 0px, 0px);
  opacity: 1;
}
button.snip0040:hover i,
button.snip0040.hover i {
  opacity: 1;
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}
button.snip0040:hover:before,
button.snip0040.hover:before {
  width: 44px;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
button.snip0040:active:before {
  background: rgba(255, 255, 255, 0.3);
}
button.snip0040.blue {
  background-color: #20638f;
  display: block;
}
button.snip0040.red {
  background-color: #962d22;
}
button.snip0040.yellow {
  background-color: #a85913;
}

/* 個人顧問服務 */
figure.snip0071 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 220px;
  max-width: 480px;
  max-height: 260px;
  width: 100%;
  background: #ffffff;
  color: #ffffff;
  border: 10px solid #ffffff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
figure.snip0071 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
figure.snip0071 .image {
  position: relative;
  width: 58%;
  overflow: hidden;
  right: -14%;
  float: right;
  z-index: 1;
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.5);
  -webkit-transform: skewX(-15deg);
  transform: skewX(-15deg);
}
figure.snip0071 .image img {
  position: relative;
  left: -20%;
  max-width: 100%;
  -webkit-transform: skewX(15deg);
  transform: skewX(15deg);
}
figure.snip0071 figcaption {
  background: #262626;
  height: 100%;
  margin: 0;
  position: absolute;
  width: 100%;
  z-index: 1;
}
figure.snip0071 figcaption h2,
figure.snip0071 figcaption p {
  margin: 0;
  text-align: left;
  width: 100%;
}
figure.snip0071 figcaption h2 {
  bottom: 40px;
  position: absolute;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 1.3em;
  font-weight: 300;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
figure.snip0071 figcaption h2 span {
  font-weight: 800;
}
figure.snip0071 figcaption p {
  padding: 20px;
  width: 50%;
  bottom: 80px;
  position: absolute;
  font-size: 0.9em;
  opacity: 0.8;
}
figure.snip0071 figcaption .position {
  position: absolute;
  bottom: 0;
  left: 0;
  line-height: 40px;
  padding-left: 20px;
  font-style: italic;
  opacity: 0.3;
}
figure.snip0071 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip0071.blue figcaption {
  background: #20638f;
}
figure.snip0071.red figcaption {
  background: #962d22;
}
figure.snip0071.yellow figcaption {
  background: #bf6516;
}
figure.snip0071:hover figcaption,
figure.snip0071.hover figcaption {
  background: #333333;
}
figure.snip0071:hover.blue figcaption,
figure.snip0071.hover.blue figcaption {
  background: #2472a4;
}
figure.snip0071:hover.red figcaption,
figure.snip0071.hover.red figcaption {
  background: #ab3326;
}
figure.snip0071:hover.yellow figcaption,
figure.snip0071.hover.yellow figcaption {
  background: #d67118;
}
figure.snip0071:hover .image,
figure.snip0071.hover .image {
  box-shadow: 0px 0 0px rgba(0, 0, 0, 0.5);
}

.info {
  margin: 1em auto 0 auto;
  width: 80%;
  padding-bottom: 2em;
}


section.section-5 {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #9b9b9b;
  width: 100%;
  height: auto;
}

.section5img {
  padding: 25px;
  padding-bottom: 0px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row !important;
  width: auto;
  justify-content: flex-start !important;
  align-items: flex-end !important;
  gap: 15px;
  color: #fff;
  font-weight: bold;
}

.section5img .section5title {
  font-size: 2dvw;
  width: fit-content; 
}
.section5img .section5subtitle {
  font-size: 1.5dvw;
  width: fit-content;
}

.section5info{
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  text-align: justify;
  font-size: 1.5dvw;
  width: fit-content;
}


.section5contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  margin: 20px auto;
  border-left: #fff 2px solid;
}

.section5contact a{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 20%;
}

.section5contact a span {
  margin-top: 1em;
  font-style: italic;
  letter-spacing: 2px;
  color: #000;
  font-size: 1.5dvw;
}

.section5contact img {
  border-radius: 50%;
  width: 10dvw;
  max-width: 100px;
}

.privacy {
  background: #9b9b9b;
  padding: 1em 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy a {
  color: #fff;
  text-decoration: none;
}

.fb {
  cursor: pointer;
}

@media screen and (max-width:428px) {

  .hasSubMenu .index {
    color: #fff !important;
    text-decoration: none;
  }
}
