

.post-layout .post-information {
    /*position: absolute;*/ /* if have featured-image*/
    bottom: 0;
    z-index: 1;
    padding: 10px 15px;
}

.post-layout .post-information .entry-title,
.post-layout .post-information .post-sub-title,
.post-layout .post-information .meta-info,
.post-layout .post-information .entry-date,
.post-layout .post-information .post-author a,
.post-layout .post-information .post-comments a {
    /*color: #fff*/  /* if have featured-image*/
}

.post-layout .post-information h1 {
    font-size: 3em;
    line-height: 58px;
    margin-top: 7px;
    margin-bottom: 5px;
    position: relative;
    right: 2px
}
.post-keywords {
    display: inline-block;
    margin-left: 9px;
}
.post-keywords i {
    margin: 0 8px;
    font-size: 0.5625em;
}
.post-keywords a+a {
  margin-left: 5px;
}

@media (min-width:768px) and (max-width:1023px) {
    .post-layout .post-information h1 {
        font-size: 2.5em;
        line-height: 48px
    }
}

@media (max-width:767px) {
    .post-layout .post-information h1 {
        font-size: 1.75em;
        line-height: 36px;
        right: 0;
    }
}

.post-layout .meta-info {
    margin-bottom: 16px
}

@media (max-width:767px) {
    .post-layout .meta-info {
        margin-bottom: 10px
    }
}

.post-layout .entry-thumb {
    padding-bottom: 0;
    margin-bottom: 0
}

.post-layout .entry-crumbs {
    top: 0;
    padding: 15px 0 15px 0
}

.post-layout .post-header {
    padding-top: 0;
    border-bottom: 0;
    position: relative;
}

.post-layout.border .post-sharing,
.post-layout.border .post-source-tags {
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6
}

.post-layout .post-featured-image {
    min-height: 200px;
    background-color: #444
}

.post-layout .post-source-tags li {
  list-style: none;
}

@media (max-width:767px) {
    .post-layout .post-featured-image {
        min-height: 182px
    }
}

.post-layout .post-featured-image .wp-caption-text {
    bottom: 0;
    color: #fff;
    position: absolute;
    right: 0;
    margin-right: 20px;
    max-width: 400px;
    height: 17px;
    overflow: hidden
}

@media (max-width:767px) {
    .post-layout .post-featured-image .wp-caption-text {
        display: none
    }
}

.post-layout .post-content {
    border-top: none;
    margin-top: 0;
    padding-top: 14px
}

@media (max-width:767px) {
    .post-layout .post-content {
        padding-top: 10px
    }
}

.post-layout .td-post-sub-title {
    font-size: 1em;
    line-height: 26px;
    border: 0;
    padding: 0
}

@media (max-width:767px) {
    .post-layout .td-post-sub-title {
        display: none
    }
}


.post-header {
    padding-top: 20px
}

@media (min-width:768px) and (max-width:1023px) {
    .post-header {
        padding-top: 17px
    }
}

@media (max-width:767px) {
    .post-header {
        padding-top: 15px
    }
}
.post-featured-image {
    position: relative;
}
.post-featured-image:before {
    bottom: 0;
    content: "";
    display: block;
    height: 40%;
    width: 100%;
    position: absolute;
    z-index: 1;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, .7)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0)
}

@media (max-width:767px) {
    .post-featured-image:before {
        height: 60%
    }
}

/* related */
.related-post-wrap .title {
    font-family: 'Open Sans', arial, sans-serif;
    margin: 0;
    font-weight: 600;
    font-size: 0.8125em;
    line-height: 17px;
}
.related-post-wrap .title a {
    color: #111;
}
.related-post-wrap .thumbnail {
    padding: 0;
    border: none;
}

.related-post-wrap .thumbnail:hover a {
    color: #4db2ec;
}

/* list-layout */

/* news-grid */
.news-grid {
    /*padding-top: 40px;*/
    padding-bottom: 40px;
    overflow-x: hidden;
}
@media(max-width: 414px){
  .news-grid { padding-bottom: 15px; }
}
.news-grid .thumbnail {
  /*border: none;*/
  position: relative;
  min-height: 360px;
  border: #a8a8a8 solid 1px;
  padding: 0;
  margin: 15px 0;
  border-radius: 0;
  background-color: #fff; /*e7e7e7*/
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.news-grid .thumbnail .title {
  margin: 5px 0;
}

/*.news-grid .thumbnail:hover,
#newsArea .row > div:nth-child(even) .thumbnail:hover {
    background-color: #fff;
}*/

/*.news-grid .thumbnail label {
  float: left;
  background-color: #9e1f24;
  color: #fff;
  padding: 5px 15px 5px 25px;
  font-weight: normal;
  font-size: 0.8125em;
}*/

.news-grid .thumbnail .label {
  position: absolute;
  top: 0;
  left: 0;
}
.news-grid .thumbnail .label {
  color: #fff;
  font-size: 0.875em;
  font-weight: normal;
  overflow: inherit;
  display: inline-block;
  border-radius: 0;
  /*position: absolute;
  top: 0;
  left: 0;*/
  padding: 5px 20px;
  background-color: rgba(0, 0, 0, 0.7);
}
.news-grid .thumbnail .pic {
  width: 100%;
  height: 210px;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0;
  overflow: hidden;
  background-position: center;
}

.news-grid .thumbnail .caption {
  position: relative;
  text-align: left;
  padding: 16px 24px 26px;
}

.news-grid .thumbnail .caption .title {
  clear: both;
  text-align: left;
  font-size: 1.25em;
  line-height: 23px;
  padding: 2px 0 0;
  margin-bottom: 10px;
}
.news-grid .thumbnail .caption .title a {
  color: #000;
  display: inline-block;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-grid .thumbnail .caption .title a:hover {
  color: #91aac3;/*#fbc469*/
}
.news-grid .btn-read-more {display: none;}
.news-grid .thumbnail .caption p {
  font-size: 0.9375em;
  font-family: "Montserrat","Microsoft JhengHei";
  word-break:break-all;
  color: #636363;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  max-height: 40px\9;
}
@-moz-document url-prefix(){
  .news-grid .thumbnail .caption p { max-height: 40px;}
}
@media screen\0 {
  .news-grid .thumbnail .caption p { max-height: 40px;}
}
@supports (-ms-ime-align:auto) {
  .news-grid .thumbnail .caption p { max-height: 40px;}
}

.news-grid .thumbnail .caption .view-more {
  font-family: "Montserrat","Noto Sans TC","Microsoft JhengHei";
  border: #000 solid 1px;
  display: inline-block;
  padding: 1px 8px 2px;
  z-index: inherit;
}
.news-grid .thumbnail .caption .view-more:hover {
  background-color: #ddd;
}

/* news-list */
.news-list {
  margin: 0;
  background: #fff;
}
.news-list> div {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  position: relative;
  clear: both;
  padding: 0;
  margin-bottom: 1.5em;
}
.news-list> div:first-child {
  margin-top: 1.5em;
}
.news-list .thumbnail {
  display: inline-block;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}
.news-list .thumbnail .pic {
  /*width: 50%;
  display: inline-block;
  max-height: 250px;*/
  position: relative;
  width: calc(50%);
  height: 100%;
  padding-bottom: 0;
  position: absolute;
}
.news-list .thumbnail .pic img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.news-list .caption {
  float: right;
  position: relative;
  width: 50%;
  height: 250px;
  padding: 20px 25px;
}
.news-list .caption .title { margin-bottom: 15px; }
.news-list .caption .title a { padding: 0; }
.news-list .caption .description {
  font-size: 0.9375em;
  font-family: "Montserrat","Microsoft JhengHei";
  margin: 10px 0 15px;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  max-height: 45px\9;
}

.news-list .meta { margin: 15px 0; }
.news-list .meta a { color: #333; }

.news-list.criss {}
.news-list.criss > div:nth-child(even) .caption { float: left; }
.news-list.criss > div:nth-child(even) .thumbnail .pic { right: 0; }


@media(max-width:417px){
  .news-grid .thumbnail .caption p {
    word-wrap: break-word;
    word-break: break-all;
  }
  .news-grid .thumbnail .pic { height: 150px; }
}

.load-more {
  margin: 40px 0;
  display: inline-block;
  clear: both;
}


/* thumbnail pic & effect */
.thumbnail .pic.effect {
  position: relative;
  overflow: hidden;
  background: -webkit-linear-gradient(top left, #100087, #22d8da);
  background: -o-linear-gradient(top left, #100087, #22d8da);
  background: linear-gradient(to bottom right, #100087, #22d8da);
  text-align: center;
  cursor: pointer;
}

.thumbnail .pic img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 1; /* 0.8 */
  -o-object-fit: cover;
    object-fit: cover;
    /*width: 100%;
    height: 100%;*/
}


.thumbnail .pic .view-more {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.thumbnail .pic .view-more::before,
.thumbnail .pic .view-more::after {
  pointer-events: none;
}

.thumbnail .pic .view-more,
.thumbnail .pic .view-more > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media(min-width: 768px){
  .pic.effect img {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
  }
  .pic.effect:hover img {
    opacity: 0.2; /*opacity: 0.5;*/
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
.pic.effect .view-more {
  padding: 3em;
  -webkit-box-sizing: border-box; 
  box-sizing: border-box;
  text-indent: inherit;
  z-index: inherit;
  white-space: inherit;
  opacity: inherit;
}

.pic.effect .view-more::before {
  position: absolute;
  top: 85px;
  right: 70px;
  bottom: 85px;
  left: 70px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  content: '';
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.pic.effect .view-more::before,
.pic.effect span {
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}

.pic.effect span {
  margin: 0 auto;
  /*max-width: 200px;*/
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-justify-content: center;
    height: 100%;
}

.pic.effect:hover .view-more::before,
.pic.effect:hover span {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
@media(max-width: 767px){
  .pic.effect .view-more {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }
  .pic.effect .view-more:hover {
    opacity: 0.6;
    background: #000;
  }
}

/* img-cover */
.img-cover {
  width: 240px;
  height: 240px;
}
.img-cover.compat-object-fit {
  position: relative;
  background-size: cover;
  background-position: center center;
}
.img-cover.compat-object-fit > a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.img-cover.compat-object-fit .imgshow {
  display: none;
}
.imgshow {
  width: 240px;
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* pagination */
.pagination { margin: 20px 0 40px;}

.pagination>li>a,
.pagination>li>span,
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover,
.pagination>li:first-child>a,
.pagination>li:first-child>span,
.pagination>li:last-child>a,
.pagination>li:last-child>span {
  border-radius: 0;
  font-family: "Montserrat","Noto Sans TC","Microsoft JhengHei";
  color: #858585;
  border-color: #858585;
    padding: 10px 15px;
    font-size: 1em;
}
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover,
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>a:hover {
  background-color: #9f9f9f;
  color: #fff;
  border-color: #858585;
}

/* meta-info */
.meta-info .post-category {
    background: #000;
    padding: 2px 10px;
    display: inline-block;
    border-radius: 4px;
    color: #fff;
}
