* {
  box-sizing: border-box;
  position: relative;
  /* border: 1px solid; */
}

body, html {
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

body {
  background-color: #f8f8f8 !important;
}

a:hover {
  text-decoration: none !important;
}

.header {
  padding-bottom: 60px;
}

.hu-pad {
  padding: 15px 20px 15px;
}

.navbar-light {
  background-color: #289dcc;
}

.group::after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.group:after, .group:before {
  content: "";
  display: table;
}

.social-links {
  text-align: center;
  float: right;
}

.social-links>ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.social-links ul li {
  display: inline;
}

.social-links ul li a {
  color: #fff;
  font-size: 14px;
  padding: 0 10px;
  letter-spacing: 1px;
  font-weight: 600;
}

.header_title {
  float: left;
  display: inline-block;
}

.header_img {
  float: right;
  width: 40%;
}

.header_img>img {
  width: 100%;
  height: 80px;
}

.site-title {
  font-size: 2.125em;
  font-weight: 600;
  text-align: left;
  margin-bottom: 0;
}

.site-title a {
  display: block;
  color: #efefef !important;
  max-width: 100%;
}

.site-description {
  line-height: 22px;
  font-size: 16px;
  text-align: left;
  color: #f1f1f1 !important;
  padding-bottom: 0px;
  font-family: "Cambria","Microsoft JhengHei";
  margin-bottom: 0;
}

.ham__navbar-span-wrapper {
  padding: 0 20px;
  height: 12px;
  margin: 19px 5px;
  position: relative;
  display: block;
}

.ham__navbar-toggler-two, .topbar-toggle-down {
  height: 50px;
  cursor: pointer;
  text-align: center;
}

.ham__navbar-toggler-two .line {
  display: block;
  background: #289dcc;
  width: 20px;
  height: 1.5px;
  position: absolute;
  left: 10px;
  -webkit-border-radius: 5px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 5px;
  -moz-background-clip: padding;
  border-radius: 5px;
  background-clip: padding-box;
  -webkit-transition: all ease .35s;
  -moz-transition: all ease .35s;
  -o-transition: all ease .35s;
  transition: all ease .35s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.banner>img {
  width: 100%;
}

.ham__navbar-toggler-two .line.line-1 {
  top: 0;
}

.ham__navbar-toggler-two .line.line-2 {
  top: 50%;
}

.ham__navbar-toggler-two .line.line-3 {
  top: 100%;
}

.ham__navbar-toggler-two.active .line-1 {
  -webkit-transform: translateY(6px) translateX(-3px) rotate(45deg);
  -moz-transform: translateY(6px) translateX(-3px) rotate(45deg);
  transform: translateY(6px) translateX(-3px) rotate(45deg);
  width: 28px;
}

.ham__navbar-toggler-two.active .line-2 {
  opacity: 0;
}

.ham__navbar-toggler-two.active .line-3 {
  -webkit-transform: translateY(-6px) translateX(-3px) rotate(-45deg);
  -moz-transform: translateY(-6px) translateX(-3px) rotate(-45deg);
  transform: translateY(-6px) translateX(-3px) rotate(-45deg);
  width: 28px;
}

.desktop-menu {
  display: block;
  transition: all 1s ease;
}

.nav-wrap {
  padding: 0 !important;
}
.navbar-light .navbar-nav .nav-link{
  color: #fff !important;
}
#nav-header.nav-container {
  z-index: 97;
  position: relative;
  padding: 0;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 3px 9px #eee;
  /* border-top: 4px solid #289dcc; */
}

#nav-header .container {
  padding: 0 15px;
}

.container-inner .group {
  display: block;
  padding: 0;
}

.barnav {
  padding: 0;
  margin-bottom: 0;
  margin-left: 0;
}

.barnav>li {
  border-right: none;
  display: inline-block;
}

.barnav > li > ul:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1000;
  top: -14px;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-bottom-color: #222;
}
.barnav>li>a {
  /* color: #289dcc; */
  padding: 15px 14px 15px 10px;
  display: block;
  line-height: 1.85rem;
}
.barnav>li>a::after{
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background-color: #289dcc;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}
.barnav>li:hover>a::after{
  width: 100%;
}
.barnav>li:hover>a {
  /* background: #289dcc; */
}

.container-inner .item {
  list-style: none;
  position: absolute;
  top: 110%;
  right: 50%;
  transform: translateX(50%);
  background: #232323;
  font-size: 1.1rem;
  width: 180px;
  padding: 0px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-left: 0;
}

.container-inner>li:hover .item {
  opacity: 1;
  visibility: visible;
}

.nav-container .item>li>a {
  padding: 12px 8px;
  display: block;
  font-size: 0.95rem;
  line-height: 1.65rem;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  transition: all 0.3s ease;
}

.nav-container .item>li>a:hover {
  color: rgb(255, 253, 253);
  background-color: #289dcc;
}

.ham__navbar-toggler-two {
  display: none;
  width: 50px;
  float: right;
  position: relative;
  z-index: 10001;
  border: none;
  background: 0 0;
  margin: 0;
  vertical-align: middle;
  border-radius: 0;
  padding: 0;
}

.hu-dropdown-toggle-wrapper {
  display: none;
}

.container-inner>li>ul>li:hover .item {
  opacity: 1;
  visibility: visible;
}

.container-inner .item>li>.item {
  list-style: none;
  position: absolute;
  left: 50%;
  top: 0;
  background: #232323;
  font-size: 1.1rem;
  width: 180px;
  padding: 0px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.Menu_container {
  /* display: none; */
}

@media screen and (max-width:960px) {
  #header>.group {
    background-color: #232323;
  }
  .Menu_container {
    display: inline-block;
  }
  #nav-header.nav-container {
    padding-bottom: 0px;
    transform: translateY(-10px);
  }
  .header {
    padding-bottom: 0px;
  }
  .hu-pad {
    padding: 10px;
    max-width: 100%;
  }
  #nav-header .container {
    padding: 0;
  }
  .header_img {
    display: none;
  }
  .site-title {
    font-size: 1.4em;
  }
  .desktop-menu {
    display: none;
    -webkit-transition: all ease .35s;
    -moz-transition: all ease .35s;
    -o-transition: all ease .35s;
    transition: all ease .35s;
  }
  .displat {
    display: block !important;
    -webkit-transition: all ease .35s;
    -moz-transition: all ease .35s;
    -o-transition: all ease .35s;
    transition: all ease .35s;
  }
  .ham__navbar-toggler-two {
    display: block;
  }
  .nav-wrap {
    max-width: 100%;
    width: 100%;
  }
  .barnav>li {
    display: block;
  }
  .container-inner .item {
    opacity: 1;
    visibility: visible;
    width: 100%;
    position: relative;
    background: transparent;
    padding: 0px;
    display: none;
  }
  .barnav>li {
    position: relative;
  }
  .barnav>li>a {
    padding: 8px 12px;
    min-height: 43px;
  }
  .barnav>li>a::after{
    content: "";
    display: none;
  }
  .barnav>li:hover>a::after{
    display: none;
  }
  #nav-header .nav-wrap .barnav li a {
    border-top: 1px solid rgba(255, 255, 255, .06);
  }
  .nav-container .item>li>a {
    font-size: 1rem;
    padding: 8px 12px;
    padding-left: 40px;
  }
  .hu-dropdown-toggle-wrapper {
    display: block;
    position: absolute;
    top: 1px;
    right: 0;
    text-align: center;
    line-height: 1;
    bottom: 1px;
  }
  .hu-dropdown-toggle {
    background: 0 0;
    -webkit-appearance: none;
    outline: 0;
    border: none;
    padding: 0;
    cursor: pointer;
    height: 40px;
    width: 44px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    color: rgba(255, 255, 255, .9);
  }
  .hu-dropdown-toggle i {
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100%;
    font-size: 13px;
  }
  .expanded {
    display: inline !important;
  }
  .expanded>.fa-angle-down {
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .container-inner .item>li>.item {
    position: relative;
    opacity: 1;
    visibility: visible;
    top: 0;
    left: 0%;
    transform: translateY(0);
    width: 100%;
    background: transparent;
  }
  .nav-container .item>li>.item>li>a {
    padding: 8px 12px;
    padding-left: 80px;
  }
}

/* banner */

.slider-item>img{
  width: 100%;
}
/* index */

#main_content {
  /* padding-top: 30px;
  padding-bottom: 20px; */
}
.content_primary{
  padding: 20px 15px 20px 0px;
}
.article-container>.blogs {
  /* margin-bottom: 30px; */
  border-bottom: 1px solid #eee;
  /* border: 1px solid #d1e9ff; */
}

.col-sm-9::before{
  content: "";
  background: #fff;
  position: absolute;
  border-right: 1px solid #ddd;
  top: 0;
  right: 0.5%;
  bottom: 0;
  left: -10000px;
}
/* .blogs:first-child {
  width: 100%;
} */
/* 
.blogs:nth-child(2n) {
  float: left;
  width: 48.7013%;
  height: 250px;
}

.blogs:nth-child(2n+1) {
  float: right;
  width: 48.7013%;
  height: 250px;
} */

.featured-image>a>img {
  max-height: 350px;
  width: 100%;
}
.page-header{
  margin-bottom: 10px;
  padding: 20px 0px 10px 0px;
}
.cat-links>.post-categories {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
}

.cat-links>.post-categories li {
  display: inline-block;
}

.cat-links>.post-categories li a {
  background-color: #289dcc;
  border-radius: 3px;
  color: #ffffff;
  font-size: 12px;
  padding: 3px 10px;
}

.article-content {
  padding: 10px 15px;
}

.entry-header {
  padding: 5px 0px;
}

.entry-title {
  font-size: 20px;
  font-weight: 600;
}

.entry-title>a {
  color: #494949;
  transition: all 0.3s;
}

.entry-title>a:hover {
  color: #289dcc;
}

.below-entry-meta {
  padding: 5px 0px;
}

.below-entry-meta>span {
  font-size: 12px;
  color: #888888;
  padding-right: 8px;
}

.below-entry-meta>span>i {
  color: #888888;
  font-size: 10px;
  padding-right: 4px;
}

.more-link {
  display: inline-block;
  background-color: #289dcc;
  border-radius: 3px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.more-link:hover {
  background-color: #02e5f7;
}

.more-link span {
  font-size: 12px;
  padding: 5px 10px;
  color: #ffffff;
  display: inline-block;
}

.entry-content {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

/* 側邊欄 */
.sidebar{
  padding: 20px 0px 20px 10px !important;
}
#secondary .widget-title {
  border-bottom: 2px solid #289dcc;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.sidebarcontetn {
  margin-bottom: 30px;
}

.textwidget {
  padding: 0 10px;
}

.widget-title h3 {
  margin-bottom: 0px;
  font-size: 18px;
}

.sidebarcontetn ul {
  margin: 0;
  padding: 0;
  list-style: none;
  padding: 0 10px;
}

.sidebarcontetn ul li {
  padding: 6px 0;
}

.sidebarcontetn ul li::before {
  content: "-";
  margin-right: 5px;
  color: #289dcc;
  font-size: 14px;
}

.sidebarcontetn ul li a {
  color: #242424;
  font-weight: 500;
  transition: all 0.3s;
}

.sidebarcontetn ul li a:hover {
  color: #289dcc;
  padding-left: 6px;
}

#secondary .widget-title span {
  background-color: #289dcc;
  color: #ffffff;
  padding: 6px 12px;
  display: inline-block;
}

.back-to-top {
  background-color: #289dcc;
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 0;
  height: 35px;
  width: 35px;
  padding: 0;
  position: fixed;
  bottom: 15px;
  right: 15px;
  text-align: center;
  z-index: 100;
  transition: all 0.3s ease 0s;
}

.back-to-top i {
  font-size: 18px;
  -ms-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.active {
  display: block;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
  border: none;
  line-height: 1;
  outline: none;
  transition: background 150ms ease-in-out;
}

/* footer */

.footer-widgets-wrapper {
  border-top: 1px solid #f2f2f2;
  background-color: #303440;
  padding: 10px 0px 10px;
}

.footer-socket-wrapper {
  background-color: #252730;
}

.footer_copyright {
  color: #b1b6b6;
  font-size: 14px;
  text-align: center;
}

.footer_copyright>p {
  margin-bottom: 0;
}
.footer_name{
  color: #f5f5f5;
    font-size: 24px;
    margin: 0px 0px 5px 0px;
    letter-spacing: 3px;
    font-weight: 600;
}
.footertitle>section>.textwidget{
  color: white;
  padding: 0;
}
.footertitle>section>.textwidget>p{
  margin-bottom: 0;
}
.footer_maintain{
  color: #f5f5f5;
  letter-spacing: 3px;
}
@media screen and (max-width:760px) {
  #header>.group {
    background-color: #232323;
  }
  .header_title {
    float: left;
  }
  .social-links ul li a {
    padding: 0 12px;
  }
  .site-title {
    padding: 0;
  }
  .social-links {
    float: initial;
  }
  .social-links ul li::after {
    content: '';
    display: inline-block;
  }
  .site-description {
    margin-bottom: 0;
    color: #f5f5f5;
    font-size: 14px;
  }
  .blogs:nth-child(2n+1), .blogs:nth-child(2n) {
    float: none;
    width: 100%;
    height: auto;

  }
  .article-content {
    padding: 8px;
  }
  .entry-title {
    font-size: 18px;
  }
  .more-link {
    display: block;
  }
  .more-link span {
    text-align: center;
    display: block;
    font-size: 14px;
  }
  .footertitle>.site-title {
    font-size: 1.6em;
  }
  .footertitle>.site-description {
    font-size: 16px;
  }
}

/* single */

.single_header_content {
  position: relative;
  width: 100%;
  padding: 10px 0px 40px 0px;
}

.single_header {
  border-bottom: 2px solid #289dcc;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.single-title {
  font-size: 1.625em;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-align: left;
  line-height: 1.4285em;
  margin-bottom: 0;
  color: #289dcc;
}

.single_header_content>.edit-link {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.single_header_content>.edit-link>a {
  color: #289dcc;
  font-size: 18px;
  letter-spacing: 7px;
  font-weight: bold;
}

.blogdateauth {
  margin-bottom: 10px;
}

.mg-blog-date, .auth {
  font-size: 14px;
  color: #797979;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 0px 8px;
}

.mg-blog-date>i, .auth>i {
  margin-right: 5px;
}

/* seachform */

.sidebarcontetn>form {
  padding: 2px 5px;
}

.searchtitle {
  font-size: 1.26em !important;
  letter-spacing: 4px;
}

.searchtitle>i {
  margin-right: 10px;
}
.sidebarcontetn>a>img{
  margin: 0 auto;
  display: block;
}

.notebox {
  background: #f0f0f0;
  position: relative;
  padding: 12px 15px;
  color: #888;
}

.notebox>span {
  font-weight: 600;
}

.notebox::before {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #f1f1f1;
  top: -8px;
  left: 13px;
}

.notebox::after, .notebox::before {
  display: inline-block;
  position: absolute;
  content: '';
}

.notebox .search-again {
  margin-top: 10px;
}

.screen-reader-text {
  display: none;
}

/* [role=search].search-form input[type=search]{
  line-height: 15px;
} */

.themeform button[type=submit], input[type=submit] {
  background: #289dcc;
  color: #fff;
  padding: 10px;
  font-weight: 600;
  height: 38px;
  display: inline-block;
  border: none;
  cursor: pointer;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  font-size: 12px;
}

[role=search].search-form {
  display: flex;
}

[role=search].search-form label {
  position: relative;
  box-flex: 1;
  flex: 1;
  margin-right: 5px;
}

[role=search].search-form label input {
  padding-left: 26px;
  line-height: 20px;
  width: 100%;
}

[role=search].search-form label::after {
  color: #ccc;
  line-height: 1.714em;
  font-size: .875em;
  position: absolute;
  left: 10px;
  top: 8px;
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
}

.search-form input[type=search] {
  background: #fff;
  border: 2px solid #ddd;
  color: #777;
  display: block;
  max-width: 100%;
  padding: 7px 8px;
}

/* 404頁面 */

.page-content {
  margin: 20px 0;
}

.errea {
  background: #fff;
  padding: 16px 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  font-weight: 700;
}

.erreheader {
  text-align: center;
}

.erre {
  text-align: center;
  font-size: 100px;
  line-height: 32px;
  color: #212121;
  font-weight: 800;
}

.erre>i {
  margin: 10px;
  text-shadow: 1px 3px 8px rgba(0, 0, 0, 0.17);
  color: #289dcc;
}

.entry-header>form {
  padding: 0px 55px;
  width: 40%;
}

.errepcontent {
  font-size: 30px;
  line-height: 32px;
  color: #212121;
  font-weight: 600;
}

.btn-home {
  padding: 2px 26px;
  line-height: 30px;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  border-width: 2px;
  border-style: solid;
  border-color: #289dcc;
  color: #fff;
  background: #289dcc;
  transition: all 0.3s ease;
  /* box-shadow: 0 4px 20px -5px rgba(0,0,0,0.5); */
}

.btn-home:hover {
  color: #fff;
  opacity: 0.8;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.5);
}

/* page */

.post_entry-title {
  font-size: 2.425em;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-align: left;
  line-height: 1.4285em;
  margin-bottom: 0;
  color: #289dcc;
}

/* archive */

.archivecontetn {
  -webkit-box-shadow: 0 4px 2px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 2px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #d1e9ff;
  margin-bottom: 15px;
  margin-top: 15px;
}

.page-title {
  font-size: 30px;
  margin-bottom: 0px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  padding-left: 20px;
}

.search_entry-title {
  font-size: 1.625em;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: left;
  line-height: 1.4285em;
  margin-bottom: 0;
  color: #289dcc;
}

.search_entry-title>i {
  margin-right: 8px;
  font-size: 24px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

select {
  background-clip: padding-box;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 0;
  color: #444;
  display: block;
  font-weight: 400;
  overflow: hidden;
  padding: 6px 12px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}