/*======================================
 基本設定
======================================*/
body {
  font-size: 18px;
  letter-spacing: 0.0625em;
  line-height: 2!important;
  color: #333;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-weight: 400;
  overflow-y: scroll;
  position: relative;
  background: #fff;
  /* 字體不粗 */
  -moz-osx-font-smoothing: grayscale;
  /*(For Firefox)*/
  -webkit-font-smoothing: antialiased;
  /*(For Chrome and Safari)*/
}
html , body{height: 100%; min-height: 100%; padding: 0; margin: 0;}
* {
    -webkit-text-size-adjust: none;
}
div {
  scroll-margin-top: 80px; /* Adjust scroll position */
}
h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
}
h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}
h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

h2 h3{
  color: #32346f;
  text-align: center;
  }
h4 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
}
@media only screen and (max-width: 992px){
  h4 {
    font-size: 18px;
  }
}
@media only screen and (max-width: 768px){
  h4 {
    font-size: 18px;
  }
}
h5 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.7;
}
h6 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
}
a:link {
	text-decoration: underline;
	color: #2f55ef;
}
a:hover {
	text-decoration: underline;
    color: #999;
}
a:visited {
	text-decoration: none;
	color: #333;
}
img {
  max-width: 100%;
}
.date {
	color: #666;
	font-size: 16px;
}
.no_wrap {
  white-space:nowrap;
}
.gray_txt {
  color: #666;
}
.red_txt {
  color: red;
}
.txt_500 {
    font-weight: 500;
}
.blue_link:link {
    color: blue;
}
.blue_link:visited {
    color: blue;
}
.blue_link:hover {
    text-decoration: none;
}
.gray_bg {
    background-color: #f9f9f9!important;
}
/*======================================
 title
======================================*/
.page_title {
	color: #000000;
	display: flex;
  /* margin: 10px 0 0 0; */
}
.page_title:after{
  background-color: #333333;
  content: "";
  flex-grow: 1;
  height: 1px;
  margin: 20px 0px 0 15px;
}
h2.page_title {
  font-size: 26px;
  font-weight: 700;
}
@media only screen and (max-width: 992px){
  h2.page_title {
    font-size: 28px;
    margin-top: 0px;
  }
}
@media only screen and (max-width: 768px){
  h2.page_title {
    font-size: 21px;
  }
  h2.page_title:after{
    margin: 12px 0px 0 15px;
  }
}
@media only screen and (max-width: 576px){
  h2.page_title {
    font-size: 21px;
  }
}
.side_title {
	color: #769ad0;
	display: flex;
}
.side_title:after{
  background-color: #769ad0;
  content: "";
  flex-grow: 1;
  height: 1px;
  margin: 17px 0px 0 15px;
}
h2.side_title {
  font-size: 26px;
  font-weight: 700;
}
/*======================================
 bootstrap & 框架
======================================*/
/*webkit (safari & chrome) only*/
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .site_content {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-content: stretch;
  }
}
@-moz-document url-prefix() {
  .site_content {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-content: stretch;
  }
}
.main_content{
  background: #fff;
  -webkit-box-flex: 1;
  -moz-box-flex:  1;
  -webkit-flex:  1;
  -ms-flex:  1;
  flex:  1;
  z-index: 2;
  position: relative;
}
.container-xxl {
	max-width: 1500px;
}
.container-l {
	max-width: 998px;
}
.main_content_left {
  border-right: 1px solid #f1f1f1;
}
/*======================================
 search
======================================*/
button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;
  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;
  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;
}
.menu button:focus{
  border: none;
  outline: 0;
}
.search_icon i {
  display: block;
  margin-top: -21px;
  position: absolute;
}
.search_input_div input[type=search], .search_input_div select{
  border: none;
  border-radius: 0;
  outline: 0;
  border-bottom: 1px solid #182848;
}
.search_input_div input[type=search], .search_input_div select:focus{
  box-shadow: none;
}
.mobile_search_bar {
  background: #f1f1f1;
  border-top: 1px solid #ccc;
}
/*======================================
 animation
======================================*/
.animation_pickup {
	margin: 0 0 0 0;
	transition: all .2s ease-in-out;
}
.animation_pickup:hover {
	margin: -7px 0 7px 0;
	box-shadow: 0px 7px 10px rgba(0,0,0,0.2);
}
/*======================================
 background 背景
======================================*/
.no_background {
	background: transparent;
}
.test_bg {
  background-color: pink;
}
/*======================================
 border 邊框
======================================*/
.no_border {
	border: 0px solid white;
}
.border_all_1 {
  border: 1px solid #f1f1f1;
}
.border_bottom_1 {
  border-bottom: 1px solid #f1f1f1;
}
.border_radius_no {
  border-radius: 0px;
}
/*======================================
 Anime BTN
======================================*/
.btn_a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #2f9046;
  min-width: 150px;
  max-width: 300px;
}
.btn_a:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: #2f9046;
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}
.btn_a:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}
.btn_a a {
  text-align: center;
  text-decoration: none!important;
  width: 100%;
  padding: 10px 55px 10px 25px;
  color: #2f9046;
  letter-spacing: 0.1em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
  display: block;
  width: 100%;
  height: 100%;
}
.btn_a:hover a {
  color: #ffffff!important;
  animation: scaleUp 0.3s ease-in-out;
} 
.btn_a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #2f9046;
  min-width: 150px;
  max-width: 300px;
}
.btn_a:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: #2f9046;
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}
.btn_a:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}
.btn_a a {
  text-align: center;
  text-decoration: none!important;
  width: 100%;
  padding: 10px 55px 10px 25px;
  color: #2f9046;
  letter-spacing: 0.1em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
  display: block;
  width: 100%;
  height: 100%;
}
.btn_a:hover a {
  color: #ffffff!important;
  animation: scaleUp 0.3s ease-in-out;
} 

.btn_b {
    appearance: none;
    font-size: 14px!important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background: #025F33;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* border: 1px solid #025F33; */
    /* min-width: 150px; */
    /* max-width: 300px; */
  }
  .btn_b:after {
    content: " ";
    width: 0%;
    height: 100%;
    background: #235814;
    position: absolute;
    transition: all 0.4s ease-in-out;
    right: 0;
  }
  .btn_b:hover::after {
    right: auto;
    left: 0;
    width: 100%;
  }
  .btn_b a {
    text-align: center;
    text-decoration: none!important;
    width: 100%;
    padding: 10px 55px 10px 25px;
    color: #ffffff;
    letter-spacing: 0.1em;
    z-index: 20;
    transition: all 0.3s ease-in-out;
    display: block;
    width: 100%;
    height: 100%;
  }
  .btn_b:hover a {
    color: #ffffff!important;
    animation: scaleUp 0.3s ease-in-out;
  }
  .btn_b_icon {
    border-left: 1px solid white;
  } 

  .btn_c {
    appearance: none;
    font-size: 14px!important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background: #025F33;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    line-height: 3.4;
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.1em;
  }
  .btn_c:after {
    content: " ";
    width: 0%;
    height: 100%;
    background: #235814;
    position: absolute;
    transition: all 0.4s ease-in-out;
    right: 0;
  }
  /* .btn_c:hover::after {
    right: auto;
    left: 0;
    width: 100%;
  } */
  .btn_c:hover {
    color: #ffffff!important;
    animation: scaleUp 0.3s ease-in-out;
  }

@keyframes scaleUp {
  0% {
   transform: scale(1);
  }
 
  50% {
   transform: scale(0.95);
  }
 
  100% {
   transform: scale(1);
  }
}
.google_icon_setting_btn_arrow {
  position: absolute;
  margin: 5px 0 0 15px;
}
.google_icon_setting_btn_icon {
    /* border-left: 1px solid white; */
    position: absolute;
    margin: 1px 15px 0 15px;
  }
.google_icon_setting_btn_icon2 {
    /* border-left: 1px solid white; */
    /* position: absolute; */
    margin: 0px 0px 0 15px;
}
/*======================================
 Anime BTN 2
======================================*/
.btn_a_side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #769ad0;
  min-width: 150px;
  max-width: 250px;
} 
.btn_a_side:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: #769ad0;
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
} 
.btn_a_side:hover::after {
  right: auto;
  left: 0;
  width: 100%;
} 
.btn_a_side a {
  text-align: center;
  text-decoration: none!important;
  width: 100%;
  padding: 10px 55px 10px 25px;
  color: #769ad0;
  letter-spacing: 0.1em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
  display: block;
  width: 100%;
  height: 100%;
}
.btn_a_side:hover a {
  color: #ffffff!important;
  animation: scaleUp 0.3s ease-in-out;
} 
@keyframes scaleUp {
  0% {
   transform: scale(1);
  }
 
  50% {
   transform: scale(0.95);
  }
 
  100% {
   transform: scale(1);
  }
}
/*======================================
 Card
======================================*/
.card_top , .card_tag , .card_top_style2 , .card_tag_style2 {
	font-size: 16px;
}
.card_top {
	background: #dce5fa;
}
.card_tag_style2 {
	background: #fff;
}
a.card_title {
	color: #374a7c;
}
a.card_title_en {
	color: #666;
}
a.card_title_style2 {
	color: #364ac1;
}
a.card_title_en_style2 {
	color: #666;
}
.border_bottom_main {
	border-bottom: 1px dotted #f1f1f1;
}
.every_month {
	border: 1px solid #ccc;
	border-radius: 6px;
}
.month_all {
	background: white;
}
.month_content {
	background: white;
	margin: 0px 0 0 0;
}
.month_number {
	background: #eaeef8;
	font-size: 14px;
	line-height: 1.4;
	width: 150px;
}
.month_number_style2 {
	background: #eef9ff;
	border-radius: 6px 0px 0px 6px;
	border-right: 1px solid #7f9dea;
	font-size: 14px;
	line-height: 1.4;
	width: 150px;
}
.month_number_1 {
	display: block;
	font-weight: 700;
	font-size: 20px;
	font-style: italic;
}
.month_and_year {
	font-size: 14px;
	background: #7f9dea;
	color: white;
	border-radius: 3px;
}
.important_high {
	font-weight: 700;
	color: #8b3939;
}
.important_normal {
	color: #398b40;
}
/*======================================
 字體縮放
======================================*/
/*調整字體*/
.font_adjust a{border: 1px solid #36476a; color: #36476a; font-size: 0.8em; text-decoration: none;}
.font_adjust a:hover{background: #36476a; color: #fff!important;}
.font_adjust a:first-child{border-right:0px; border-radius: 3px 0px 0px 3px;}
.font_adjust a:nth-child(2){border-right:0px;}
.font_adjust a:nth-child(3){border-radius: 0px 3px 3px 0px;}
/*======================================
 文字行數控制
======================================*/
.one_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  /*padding: 0px 0px 10px;*/
}
.two_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  padding: 0px 0px 3px;
}
.three_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  padding: 0px 0px 3px;
}
.four_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  padding: 0px 0px 3px;
}
.five_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  padding: 0px 0px 3px;
}
.six_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  padding: 0px 0px 3px;
}
/*======================================
 ICON
======================================*/
.google_icon_control {
  margin: 6px 0 0 5px;
}
@media only screen and (max-width: 768px){
    .google_icon_control {
        margin: 2px 0 0 5px;
    }
}
.google_icon_control_s {
  margin: 0px 10px 0 0px;
}
