/*======================================================================== 
  Copyright: 匯豐汽車網路事業
  Author: Amber
  ========================================================================*/
.bookArticle h2 {
  margin-bottom: 50px;
}

.bookArticle p {
  font-size: 15px;
  color: #666666;
  margin: 0px;
}

.content975 {
  z-index: 5;
}

.hasShadow {
  -webkit-box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
}

@media screen and (max-width: 1024px) {
  .bookArticle h2 {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 1280px) {
  .content1280 {
    width: 100%;
  }
}

/*======================================================================== 
  主圖
  ========================================================================*/
.innerMainTitle h2 {
  background: url(../../images/title-book.png) no-repeat center center;
}

@media screen and (max-width: 1024px) {
  .innerMainTitle h2 {
    background: url(../../images/title-book.png) no-repeat center center;
    background-size: 100%;
  }
}

/*======================================================================== 
  關心文章
  ========================================================================*/
.bookArticle {
  background: #eee;
  padding: 28px 0px 60px 0px;
  position: relative;
}
.bookArticle .uk-grid:before, .bookArticle .uk-grid:after {
  content: none;
}
.bookArticle .articleflexbox {
  margin-left: 0px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-top: 0px;
}
.bookArticle li {
  -webkit-transition: all 200ms ease-out;
  -mozilla-transition: all 200ms ease-out;
  -ms-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  padding-left: 0px;
}
.bookArticle li.uk-width-large-1-2{
  width: calc(50% - 20px);
}
.bookArticle li:hover{
  webkit-transform: translate(0, -10px);
  -moz-transform: translate(0, -10px);
  -ms-transform: translate(0, -10px);
  -o-transform: translate(0, -10px);
  transform: translate(0, -10px);
}
.bookArticle .listBox {
  overflow: hidden;
  padding: 30px;
}

.bookArticle .bookLeft{
  width: 170px;
  float: left;
  overflow: hidden;
}
.bookArticle .bookLeft img{
  width: 100%;
  margin-bottom: 20px;
}
.bookArticle .bookLeft p{
  font-size: 13px;
  color: #53565a;
  line-height: 13px;
}
.bookArticle .bookLeft p strong {
  display: block;
  font-size: 15px;
  color: #999999;
  font-weight: normal;
  margin-top: 10px;
  line-height: 17px;
}

.bookArticle .bookRight {
  width: calc(100% - 190px);
  float: right;
}
.bookArticle .bookRight h3{
  font-size: 20px;
  color: #3879bb;
  margin: 6px 0px 6px;
  font-weight: bold;
}
.bookArticle .bookRight p{
  line-height: 27px;
  max-height: 160px;
  overflow: hidden;
}
.bookArticle .bookRight p.author{
  color: #999999;
  margin-bottom: 14px;
  line-height: 18px;
}
.bookArticle .bookRight .tag {
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
}
.bookArticle .bookRight .tag button {
  float: left;
  padding: 6px 15px;
  background-color: #00a1e9;
  color: #fff;
  font-size: 14px;
  margin-right: 12px;
}
.bookArticle .bookRight .tag button:hover{
  background-color: #008ecd;
}
}
.bookArticle .bookRight .tag button:last-child{
  margin-right: 0px;
}/*
.bookArticle:before {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  top: 220px;
  left: 10px;
  z-index: 1;
}

.bookArticle:after {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  bottom: 0px;
  right: 5px;
  z-index: 1;
  height: 135px;
  overflow: hidden;
}*/
.bookArticle .addMargin {
  margin-top: 60px;
}

.listBox .textTidy {
  text-align:justify;
  -ms-text-justify: inter-ideograph; /IE9/
　-moz-text-align-last:justify; /Firefox/
　-webkit-text-align-last:justify; /Chrome/
}

/* selection */
.bookArticle .selection {
  display: block;
  overflow: hidden;
  margin-bottom: 30px;
  margin-top: 75px;
}
.bookArticle .flexbox {
  display: flex;
  flex-flow: row wrap;
}
.bookArticle .selection a{
  float: left;
  display: inline-block;
  /*height: 35px;*/
  background-color: #b3c8d2;
  color: #fff;
  font-size: 22px;
  /*line-height: 35px;*/
  text-align: center;
  margin-right: 25px;
  margin-bottom: 0px;
  padding: 6px 20px;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.bookArticle .selection a span {
  padding: unset;
  color: unset;
  display: block;
}
.bookArticle .selection a:last-child{
  margin-right: 0px;
}
.bookArticle .selection a:hover, .bookArticle .selection a.active{
  background-color: #00a1e9;
}
@media screen and (max-width: 1000px) {
  .bookArticle .selection {
    margin-top: 10px;
    margin-bottom: 0px;
  }
  .bookArticle .selection a{
    width: calc(50% - 7px);
    margin-right: 6px;
    padding: 6px 2px;
    margin-bottom: 15px;
    max-width: unset;
  }
  .bookArticle .selection a:nth-child(even){
    margin-right: 0px;
  }
}
/* selection end*/

@media screen and (max-width: 959px) {
  .bookArticle li.uk-width-large-1-2{
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .bookArticle .listBox {
    padding: 20px;
  }
  .bookArticle .bookLeft{
    width: 47%;
  }
  .bookArticle .bookRight{
    width: calc(53% - 20px);
  }
  .bookArticle .bookRight .tag button {
    margin-bottom: 10px;
  }
  .bookArticle .bookRight h3 {
    margin-top: 16px;
  }
  .bookArticle li.uk-width-large-1-2{
    width: 100%;
  }
  .bookArticle .addMargin {
    margin-top: 40px;
  }
}
@media screen and (max-width: 1024px) {
  .bookArticle:before, .bookArticle:after {
    display: none;
  }
}

/*======================================================================== 
  tag
  ========================================================================*/

.tagContainer {
  margin-bottom: 0px;
}
.tagContainer a {
  font-size: 20px;
  color: #00a1e9;
  padding: unset;
  background: none;
  text-decoration: underline;
  -webkit-transition: unset;
  -mozilla-transition: unset;
  -ms-transition: unset;
  -o-transition: unset;
  transition: unset;
}
.tagContainer a:hover {
  text-decoration: none;
  webkit-transform: unset;
  -moz-transform: unset;
  -ms-transform: unset;
  -o-transform: unset;
  transform: unset;
}
.tagContainer h2 {
  color: #585858;
  margin:40px 0px 0px;
}

@media screen and (max-width: 768px) {
  .tagContainer {
    margin-bottom: 20px;
  }
}

/*======================================================================== 
  模態對話框
  ========================================================================*/
.uk-modal-dialog {
  width: 666px;
  overflow: hidden;
  padding: 30px;
}
.lightBox h3{
  font-size: 20px;
  color: #3879bb;
  margin: 16px 0px 12px;
  font-weight: bold;
}
.lightBox p{
  font-size: 15px;
  color: #999999;
  margin: 0px 0px 30px;
  line-height: 27px;
}
.lightBox .bookLeft{
  width: 170px;
  float: left;
  overflow: hidden;
}
.lightBox .bookLeft img{
  width: 100%;
}

.lightBox .bookRight {
  width: calc(100% - 205px);
  float: right;
}
.lightBox .tag {
  display: block;
  overflow: hidden;
  margin-left: -30px;
}
.lightBox .tag li {
  float: left;
  padding: 6px 15px;
  background-color: #00a1e9;
  color: #fff;
  font-size: 14px;
  margin-right: 12px;
}
.lightBox .tag li:last-child{
  margin-right: 0px;
}
.lightBox .bookArticle h3{
  font-size: 20px;
  color: #3879bb;
  margin: 26px 0px 6px;
  font-weight: bold;
}
.lightBox p.detail{
  font-size: 14px;
  color: #999999;
  margin: 0px 0px 11px;
  line-height: 14px;
}
.lightBox p.detail:last-child{
  margin-bottom: 23px;
}
.lightBox .addMargin {
  margin-top: 60px;
}
.lightBox .bookRight p.detail.lastChild{
  margin-bottom: 15px;
}
.lightBox .bookRight p.lastChild{
  margin: 0px;
}
.lightBox a.uk-close {
  display: block;
  width: 29px;
}
.lightBox .uk-close:after {
  display: block;
  content: url(../../images/icon/close.png);
}
.lightBox .uk-close:hover, .lightBox .uk-close:focus {
    opacity: 0.9;
}

.lightBox .bookLeft ul {
  margin-left: -30px;
  overflow: hidden;
}
.lightBox .bookLeft ul li {
  width: 33.3%;
  float: left;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .lightBox p {
    max-height: unset;
  }
  .lightBox .bookLeft, .lightBox .bookRight {
    width: 100%;
  }
  .lightBox .bookLeft .photo {
    width: 170px;
    margin: 0 auto;
  }
}

/*======================================================================== 
  分頁按鈕
  ========================================================================*/
.uk-pagination {
  position: relative;
}

.uk-pagination>li {
  position: relative;
  height: 36px;
}

.uk-pagination>li>span,
.uk-pagination>li>a {
  color: #999999;
  font-size: 22px;
  background: none;
}

.uk-pagination>li.next>a,
.uk-pagination>li.prev>a {
  color: #3979bb;
  background: none;
}

.uk-pagination>li.next>span,
.uk-pagination>li.prev>span {
  background: none;
}

.uk-pagination>li.next>a:hover,
.uk-pagination>li.prev>a:hover {
  color: #3979bb;
}

.uk-pagination>li>a:hover {
  color: #999999;
  background: none;
  height: 36px;
}

.uk-pagination>li.uk-active>span {
  font-size: 30px;
  color: #3979bb;
  background: none;
}

.uk-pagination>li.next {
  position: absolute;
  top: none;
  right: 20px;
}

.uk-pagination>li.prev {
  position: absolute;
  top: none;
  left: 20px;
}

.uk-pagination>li.next strong {
  position: absolute;
  top: 3px;
  right: -17px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.svg--next {
  background-image: url(../../images/icon/mySprite.svg#next);
}

.uk-pagination>li.prev strong {
  position: absolute;
  top: 3px;
  left: -17px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  color: #333;
}

.svg--prev {
  background-image: url(../../images/icon/mySprite.svg#prev);
}

@media screen and (max-width: 960px) {

  .uk-pagination>li>span,
  .uk-pagination>li>a {
    font-size: 15px;
  }

  .uk-pagination>li.uk-active>span {
    font-size: 20px;
  }
}
@media screen and (max-width: 768px) {
  .uk-pagination > li:nth-child(n+2) {
    margin-left: -5px;
  }
}