/**
Theme Name: astra-child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
.btn-r .elementor-button {
  position: relative;
  font-size: 16px;
  background-color: #02010100;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #969696;
  border-radius: 50px 50px 50px 50px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  margin: 0 auto;
  text-align: center;
}

.btn-r .elementor-button .elementor-button-content-wrapper {
  order: 1;
}

.btn-r .elementor-button::before {
  content: '';
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1px solid #4F4F4F;
  border-bottom: 1px solid #4F4F4F;
  right: 7px;
  transform: rotate(-45deg);
  order: 3;
}

.btn-r .elementor-button::after {
  content: '';
  display: inline-block;
  width: 20px;
  margin-left: 10px;
  height: 1px;
  background-color: #4F4F4F;
  position: relative;
  transition: 0.4s;
  order: 2;
}

.btn-r .elementor-button:hover {
  width: 240px;
}

.btn-r .elementor-button:hover::after {
  width: 30px;
}

.title .elementor-widget-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title .elementor-widget-container::before, .title .elementor-widget-container::after {
  content: '';
  display: inline-block;
  border-top: 1px solid #CBCBCB;
  border-bottom: 1px solid #CBCBCB;
  width: 25px;
  height: 1px;
}

.title .elementor-widget-container::before {
  margin-right: -10px;
}

.title .elementor-widget-container::after {
  margin-left: -10px;
}

.title .elementor-widget-container .elementor-heading-title {
  display: flex;
  align-items: center;
}

.title .elementor-widget-container .elementor-heading-title::before, .title .elementor-widget-container .elementor-heading-title::after {
  content: '';
  display: inline-block;
  border-top: 1px solid #CBCBCB;
  border-bottom: 1px solid #CBCBCB;
  width: 50px;
  height: 1px;
  margin-top: 15px;
}

.title .elementor-widget-container .elementor-heading-title::before {
  margin-left: -40px;
  margin-right: 20px;
}

.title .elementor-widget-container .elementor-heading-title::after {
  margin-right: -40px;
  margin-left: 10px;
}

header {
  border-top: 5px solid #B6D55D;
}

@media (min-width: 922px) and (max-width: 1270px) {
  header .main-header-menu .menu-item > .menu-link {
    padding: 0 13px;
    font-size: 18px;
    max-width: 164px;
    line-height: 24px;
    text-align: center;
  }
}

@media (min-width: 922px) and (max-width: 1270px) {
  header .main-header-menu#ast-hf-menu-1 .menu-item > .menu-link {
    padding: 0 20px;
  }
  header .main-header-menu#ast-hf-menu-1 .menu-item > .menu-link:first-of-type {
    padding-left: 0;
  }
}

@media (min-width: 922px) and (max-width: 1270px) {
  header .main-header-menu#ast-hf-menu-2 .menu-item > .menu-link:first-of-type {
    padding-right: 0;
  }
}

footer a {
  color: #fff;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.home-latest-news-wrap .post-grid {
  padding: 0 !important;
}

@media (max-width: 1024px) {
  .home-latest-news-wrap .grid-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.home-latest-news-wrap .grid-items .item {
  padding: 0;
  background: transparent !important;
  margin: 0 0 10% 0 !important;
  width: 100%;
}

@media (max-width: 1024px) {
  .home-latest-news-wrap .grid-items .item {
    width: 50%;
    padding: 0 20px !important;
  }
}

@media (max-width: 768px) {
  .home-latest-news-wrap .grid-items .item {
    width: 100%;
  }
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news {
  display: flex;
  margin-left: -5%;
  margin-right: -5%;
  align-items: center;
}

@media (max-width: 1024px) {
  .home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news {
    flex-direction: column;
  }
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-img {
  width: 50%;
  padding: 0 5%;
}

@media (max-width: 1024px) {
  .home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-img {
    width: 100%;
  }
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-img > .thumb {
  box-shadow: 10px 10px 0px #F2F0F0;
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont {
  width: 50%;
  padding: 0 5%;
}

@media (max-width: 1024px) {
  .home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont {
    width: 100%;
  }
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-cat i {
  margin-right: 5px;
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-title {
  font-size: 20px;
  font-weight: bold;
  color: #232323;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  /*! autoprefixer: off */
  -webkit-box-orient: vertical;
  /* autoprefixer: on */
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-desc {
  text-align: left;
  font-size: 14px;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  /*! autoprefixer: off */
  -webkit-box-orient: vertical;
  /* autoprefixer: on */
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-bottom .home-latest-news-date {
  color: #DDDDDD;
  font-style: italic;
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-bottom .home-latest-news-read-more {
  color: #4F4F4F;
  background-color: #B6D55D;
  padding: 8px 40px;
  font-weight: bold;
  border-radius: 50px;
  position: relative;
  display: flex;
  align-items: center;
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-bottom .home-latest-news-read-more::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-right: 1px solid #4F4F4F;
  border-bottom: 1px solid #4F4F4F;
  display: block;
  right: 40px;
  transform: rotate(-45deg);
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-bottom .home-latest-news-read-more::after {
  content: '';
  display: inline-block;
  width: 20px;
  margin-left: 10px;
  height: 1px;
  background-color: #4F4F4F;
  position: relative;
  transition: 0.4s;
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-bottom .home-latest-news-read-more:hover {
  background-color: #F8B62D;
}

.home-latest-news-wrap .grid-items .item .layer-wrapper .home-latest-news .home-latest-news-cont .home-latest-news-bottom .home-latest-news-read-more:hover::after {
  width: 30px;
}

.home-latest-news-wrap .grid-items .item:nth-of-type(odd) .layer-wrapper .home-latest-news {
  flex-direction: row-reverse;
}

@media (max-width: 1024px) {
  .home-latest-news-wrap .grid-items .item:nth-of-type(odd) .layer-wrapper .home-latest-news {
    flex-direction: column;
  }
}

.cat-btn-warp .cat-btn {
  cursor: pointer;
}

.category-latest-news .ast-archive-description {
  display: none;
}

.category-latest-news .breadcrumbs {
  padding: 0 15px !important;
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
  border: 0px;
}

@media (max-width: 922px) {
  .ast-separate-container .ast-row {
    display: flex;
    flex-wrap: wrap;
  }
}

.ast-separate-container .ast-row .post {
  margin-bottom: 0 !important;
}

@media (max-width: 922px) {
  .ast-separate-container .ast-row .post {
    width: 50%;
  }
}

@media (max-width: 580px) {
  .ast-separate-container .ast-row .post {
    width: 100%;
  }
}

.ast-separate-container .ast-row .post .blog-layout-1, .ast-separate-container .ast-row .post .blog-layout-2, .ast-separate-container .ast-row .post .blog-layout-3 {
  background-color: transparent !important;
  border: 1px solid #f6f6f6;
  padding: 20px !important;
}

.ast-separate-container .ast-row .post .post-thumb {
  height: 250px;
  width: 100%;
}

.ast-separate-container .ast-row .post .post-thumb > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.ast-separate-container .ast-row .post .post-thumb > a img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.ast-separate-container .ast-row .post .entry-header {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  border: 0px;
  margin-bottom: 0;
}

.ast-separate-container .ast-row .post .entry-header .entry-meta {
  display: flex;
  justify-content: space-between;
  color: transparent;
}

.ast-separate-container .ast-row .post .entry-header .entry-meta .cat-links {
  color: #5F5F5F;
}

.ast-separate-container .ast-row .post .entry-header .entry-meta .posted-on {
  color: #5F5F5F;
  font-family: Philosopher;
  font-style: italic;
}

.ast-separate-container .ast-row .post .entry-header .entry-title {
  line-height: 1;
  margin: 15px 0;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  /*! autoprefixer: off */
  -webkit-box-orient: vertical;
  /* autoprefixer: on */
  white-space: normal;
  min-height: 60px;
  margin: 15px 0 10px;
}

.ast-separate-container .ast-row .post .entry-header .entry-title a {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  font-weight: bold;
}

.ast-separate-container .ast-row .post .entry-content > p:not(.read-more) {
  min-height: 95px;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  /*! autoprefixer: off */
  -webkit-box-orient: vertical;
  /* autoprefixer: on */
}

.ast-separate-container .ast-row .post .entry-content .read-more {
  display: flex;
  justify-content: end;
}

.ast-separate-container .ast-row .post .entry-content .read-more > a {
  color: #4F4F4F;
  border: 0px;
  background-color: #B6D55D;
  padding: 15px 40px;
  font-weight: bold;
  border-radius: 50px;
  position: relative;
  display: flex;
  align-items: center;
}

.ast-separate-container .ast-row .post .entry-content .read-more > a::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-right: 1px solid #4F4F4F;
  border-bottom: 1px solid #4F4F4F;
  display: block;
  right: 40px;
  transform: rotate(-45deg);
}

.ast-separate-container .ast-row .post .entry-content .read-more > a::after {
  content: '';
  display: inline-block;
  width: 20px;
  margin-left: 10px;
  height: 1px;
  background-color: #4F4F4F;
  position: relative;
  transition: 0.4s;
}

.ast-separate-container .ast-row .post .entry-content .read-more > a:hover {
  background-color: #F8B62D;
}

.ast-separate-container .ast-row .post .entry-content .read-more > a:hover::after {
  width: 30px;
}

.single .ast-header-breadcrumb {
  border: 0;
  background-color: #FAF9F5;
}

.single #primary {
  width: 65%;
}

@media (max-width: 992px) {
  .single #primary {
    width: 100%;
  }
}

.single .widget {
  padding: 0 1em !important;
}

.single .category-latest-news {
  padding: 0;
}

.single .category-latest-news .entry-header {
  border: 0;
}

.single .category-latest-news .entry-header .post-thumb {
  display: flex;
  justify-content: center;
  align-items: center;
}

.single .category-latest-news .entry-header .ast-single-post-order {
  display: flex;
  flex-direction: column-reverse;
}

.single .category-latest-news .entry-header .ast-single-post-order .entry-meta {
  display: flex;
  justify-content: space-between;
  color: transparent;
  margin-bottom: 15px;
}

.single .category-latest-news .entry-header .ast-single-post-order .entry-meta .cat-links {
  color: #5F5F5F;
}

.single .category-latest-news .entry-header .ast-single-post-order .entry-meta .posted-on {
  color: #5F5F5F;
  font-family: Philosopher;
  font-style: italic;
}

.single .category-latest-news .entry-header .ast-single-post-order .entry-title {
  font-size: 36px;
  font-family: 'Noto Serif TC';
  font-weight: bold;
  line-height: 1.4;
  text-align: justify;
}

.single .widget-area.secondary .widget_search {
  padding-top: 0;
}

.single .widget-area.secondary .widget_search .search-form .search-field {
  border-color: #eaeaea;
  background-color: #fff;
}

.single .widget-area.secondary .widget_search .search-form .search-submit i {
  color: #B6D55D;
  font-size: 22px;
}

.single .widget-area.secondary .widget_search .search-form .search-submit i:hover {
  color: #8DC661;
}

.single .widget-area.secondary .wp-block-gallery {
  display: flex;
  flex-direction: column;
}

.single .widget-area.secondary .wp-block-gallery .wp-block-image {
  width: 100% !important;
  margin: 10px 0;
}

.single .widget-area.secondary .wp-block-gallery .wp-block-image figcaption {
  background: transparent;
  bottom: 0;
  color: #4F4F4F;
  font-size: 22px;
  font-weight: bold;
  max-height: 100%;
  height: 100%;
  padding: 0;
}

.single .widget-area.secondary .wp-block-gallery .wp-block-image figcaption a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.3);
}

.single .widget-area.secondary .wp-block-gallery .wp-block-image figcaption a:hover {
  color: #4F4F4F;
}

.single .widget-area.secondary .wp-block-gallery .wp-block-image:hover figcaption a {
  background-color: rgba(255, 255, 255, 0);
}

.single .widget-area.secondary .widget_recent_entries .widget-title {
  font-size: 32px;
  font-weight: bold;
  font-family: 'Noto Serif TC';
  color: #232323;
  border-bottom: 1px solid #C0C0C0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.single .widget-area.secondary .widget_recent_entries nav ul li {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 15px !important;
}

.single .widget-area.secondary .widget_recent_entries nav ul li .post-date {
  font-size: 12px;
  font-style: italic;
  color: #4F4F4F;
}

.single .widget-area.secondary .widget_recent_entries nav ul li > a {
  font-size: 18px;
  color: #232323;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
