/*======================================
 基本設定
======================================*/
body {
  font-size: 20px;
  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;
}
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: 28px;
  font-weight: 700;
  line-height: 1.5;
}
h4 {
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
}
@media only screen and (max-width: 992px){
  h4 {
    font-size: 24px;
  }
}
@media only screen and (max-width: 768px){
  h4 {
    font-size: 21px;
  }
}
h5 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.7;
}
h6 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
}
a:link {
	text-decoration: none;
	color: #333;
}
a:hover {
	text-decoration: underline;
}
a:visited {
	text-decoration: none;
	color: #333;
}
.date {
	color: #666;
	font-size: 16px;
}
h1.logo {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
}
@media only screen and (max-width: 992px){
  h1.logo {
    font-size: 32px;
  }
}
@media only screen and (max-width: 768px){
  h1.logo {
    font-size: 24px;
  }
}
@media only screen and (max-width: 576px){
  h1.logo {
    font-size: 14px;
  }
}
.no_wrap {
  white-space:nowrap;
}
.gray_txt {
  color: #666;
}
.red_txt {
  color: red;
}
/*======================================
 title
======================================*/
.page_title {
	color: #36476a;
	display: flex;
  /* margin: 10px 0 0 0; */
}
.page_title:after{
  background-color: #36476a;
  content: "";
  flex-grow: 1;
  height: 1px;
  margin: 20px 0px 0 15px;
}
h2.page_title {
  font-size: 32px;
  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: #36476a;
	display: flex;
}
.side_title:after{
  background-color: #36476a;
  content: "";
  flex-grow: 1;
  height: 1px;
  margin: 17px 0px 0 15px;
}
/*======================================
 bootstrap & 框架
======================================*/
.site_content {
  /* background: pink; */
}
/*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;
}
/*======================================
 文字區塊
======================================*/
.two_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.three_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.five_row_text_box{
  display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
/*======================================
 header
======================================*/
.header_bg {
  background: #182848;
  position: relative;
}
.menu {
	font-size: 28px;
	font-weight: 500;
}
.menu a {
	color: white;
}
.menu ul , .menu li {
	margin: 0;
	padding: 0;
}
.menu li {
	list-style: none;
}
/*======================================
 breadcrumb_2
======================================*/
.breadcrumb_2 {
  background: #f1f1f1;
  font-size: 16px;
}
.breadcrumb_2 ul, .breadcrumb_2 li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb_2 li::after , .breadcrumb_2 span::after {
  content: " > "
}
.breadcrumb_2 li:last-child::after , .breadcrumb_2 span:last-child::after {
  content: ""
}
.breadcrumb_2 a {
  text-decoration: underline;
}
.breadcrumb_2 a:hover {
  text-decoration: none;
}
/*======================================
 search
======================================*/
.header_search_btn {
  color: white;
  font-size: 24px!important;
  width: 24px;
  height: 24px;
}
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: -23px;
  position: absolute;
}
@media only screen and (max-width: 1200px){
  .menu {
  	font-size: 24px;
  }
  .header_search_btn {
    font-size: 20px!important;
    width: 24px;
    height: 24px;
    margin-top: -8px;
    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;
}
/*======================================
 footer
======================================*/
.footer_bg {
	background: #eaeef8;
	/* background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%); */
}
.footer_bg_style2 {
	/* background: #eef9ff; */
  background: #f1f1f1;
}
footer {
  z-index: 1;
  position: relative;
}
.Copyright {
	font-size: 14px;
}
/*======================================
 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;
}
/*======================================
 border 邊框
======================================*/
.no_border {
	border: 0px solid white;
}
.border_all {
  border: 1px solid #182848;
}
.border_bottom {
  border-bottom: 1px solid #182848;
}
.border_bottom_2 {
  border-bottom: 1px solid #e6e6e6;
}
.border_radius_no {
  border-radius: 0px;
}
/*======================================
 按鈕
======================================*/
.btn_main {
	border: 1px solid #182848;
	transition: all .2s ease-in-out;
  line-height: 2;
}
.btn_main:hover {
	text-decoration: none;
	/* background: linear-gradient(90deg, #3F5EFB 0%, #3F5EFB 100%); */
}
a.btn_main	{
	color: #182848;
}
a.btn_main:hover{
	color: #3F5EFB;
}
.btn_main i {
  font-size: 16px!important;
}
.btn_style2 {
	border: 1px solid #3F5EFB;
	border-radius: 6px;
	background: linear-gradient(90deg, #7d5ac5 0%, #3F5EFB 100%);
	transition: all .2s ease-in-out;
}
.btn_style2:hover {
	text-decoration: none;
	background: linear-gradient(90deg, #3F5EFB 0%, #3F5EFB 100%);
	border: 1px solid transparent;
}
a.btn_style2	{
	color: white;
}
a.btn_style2:hover{
	color: #fff;
}
.btn_style2-2 {
	border: 1px solid;
  border-image: linear-gradient(90deg, #3F5EFB, #FC466B) 1;
	/* background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%); */
	transition: all .2s ease-in-out;
}
.btn_style2-2:hover {
	text-decoration: none;
	/* background: linear-gradient(90deg, #3F5EFB 0%, #3F5EFB 100%); */
}
a.btn_style2-2	{
	color: #465df1;
}
a.btn_style2-2:hover{
	color: #FC466B;
}
/*======================================
 Card
======================================*/
.card_top , .card_tag , .card_top_style2 , .card_tag_style2 {
	font-size: 16px;
}
.card_top {
	background: #dce5fa;
}
.card_top_style2 {
	/* background: #eef9ff; */
}
.card_tag {
	/* background: #f1f1f1; */
}
.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;
}
.important_no {
	/* color: ;	 */
}
/*======================================
 Page nav
======================================*/
.page_nav ul , .page_nav li {
  margin: 0; padding: 0;
}
.current_page a{
  background: #182848;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
}
/*======================================
 Page info
======================================*/
.post_content figure , .post_content figure img , .post_content img {
  max-width: 100%!important;
  display: block;
  font-size: 16px;
  color: #666;
}
.post_content img {
  margin: 20px 0 20px;
}
.side_content {

}
.side_content ul , .side_content li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag_label {
  line-height: 1.5;
}
.sort_title {
  /* border-top: 1px solid #ccc; */
}

.login_from {
  line-height: 1.5!important;
}
/*======================================
 字體縮放
======================================*/
/*調整字體*/
.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;}
