/*======================================================================== 
  Copyright: 匯豐汽車網路事業
  Author: Shanny
  ========================================================================*/
.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);
}

/*======================================================================== 
  主圖輪播
  ========================================================================*/
.mainPic {
  background-color: #eee;
}

.mainPic .forPc {
  display: block;
}

.mainPic .forM {
  display: none;
  margin-top: 69px;
}

@media screen and (max-width: 1024px) {
  .mainPic .forPc {
    display: none;
  }

  .mainPic .forM {
    display: block;
  }
}

.mainPic .forPc .uk-slideshow li {
  height: 601px;
  background-size: cover;
  background-position: center center;
  margin-top: 99px;
}

.mainPic .forPc .uk-dotnav-contrast>*>* {
  background: rgba(255, 255, 255, 1);
}

.mainPic .forPc .uk-dotnav-contrast>*> :hover,
.mainPic .forPc .uk-dotnav-contrast>*> :focus,
.mainPic .forPc .uk-dotnav-contrast>*> :active,
.mainPic .forPc .uk-dotnav-contrast>.uk-active>* {
  background: rgba(0, 161, 233, 1);
}

.mainPic .forPc .putBottom {
  top: 506px;
  left: 0;
  right: 0;
  position: absolute;
}

.mainPic .forPc .content1000 {
  height: 100%;
}

.mainPic .theInfo {
  width: 70%;
  padding: 15px 25px;
  position: absolute;
  bottom: 225px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  line-height: 160%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.75);
  border-bottom: solid 5px #00a1e9;
}

.mainPic .forPc .theInfo:after {
  /*content: url(../../images/icon/triangle_blue.png);*/
  position: absolute;
  right: -14px;
  bottom: -17px;
}

.mainPic .theInfo h3 {
  margin-top: 15px;
  font-size: 18px;
  line-height: 115%;
  color: #fff;
  margin: 5px 0px;
}

@media screen and (max-width: 767px) {
  .mainPic .forM .uk-slideshow li {
    height: 450px;
    background-image: var(--bgMobile) !important;
    background-size: 100%;
    background-position: center top;
  }
}

@media screen and (max-width: 1024px) {

  /*.mainPic .forM .uk-slideshow li{ height: 580px; background-size: 100%; background-position: center center;}*/
  .mainPic .forM .theInfo {
    width: 100%;
    padding: 0px 15px;
    bottom: 0;
    font-size: 15px;
  }

  .mainPic .forM .theInfo h3 {
    font-size: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mainPic .forM .uk-slideshow li {
    background-image: url('../images/upload/mainPic01.jpg');
    background-size: cover;
    background-position: center center;
    height: 550px;
  }
}

/*======================================================================== 
  最新消息
  ========================================================================*/
.news {
  background: #eee;
  padding-bottom: 50px;
}

.news .content1000 {
  background: #fff;
  margin-top: -60px;
  padding: 35px 35px 35px 35px;
  z-index: 5;
}

@media screen and (max-width: 1024px) {
  .news {
    padding-bottom: 0;
  }

  .news .content1000 {
    margin-top: 0;
    padding: 35px 15px;
  }
}

.news .newsList {
  background: #f9f9f9;
  display: block;
  overflow: hidden;
  color: #555;
  font-size: 13px;
  -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;
}

.news .newsList:hover {
  background: #00a1e9;
  color: #fff;
}

.news .newsList .thePic {
  width: 180px;
  float: left;
}

.news .newsList .theInfo {
  padding: 15px;
  margin-left: 180px;
}

.news .newsList .theInfo b {
  padding: 5px 10px;
  color: #fff;
  background: #00a1e9;
}

.news .newsList:hover .theInfo b {
  color: #00a1e9;
  background: #fff;
}

.news .newsList .theInfo span {
  padding: 5px 10px;
}

.news .newsList .theInfo p {
  font-size: 18px;
  line-height: 150%;
  margin: 10px 0 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media screen and (max-width: 768px) {
  .news .newsList .thePic {
    display: none;
  }

  .news .newsList .theInfo {
    margin-left: 0;
  }
}


/*======================================================================== 
  關心主軸
  ========================================================================*/
.careSpindle {
  background: #397cc3;
  padding: 60px 0;
  position: relative;
}

.careSpindle .content1000 {
  z-index: 5;
}

/*@media screen and (min-width: 768px) {
  .careSpindle:before{ content: url(../../images/bg_triangle.png);
    position: absolute; top: -400px; left: 10px; z-index: 1;}
  .careSpindle:after{ content: url(../../images/bg_triangle.png);
    position: absolute; bottom: -550px; right: 5px; z-index: 1;}
}*/
@media screen and (max-width: 1024px) {
  .careSpindle {
    padding: 35px 0;
  }
}

.careSpindle h4 {
  margin-top: 20px;
  color: #fff;
  line-height: 30px;
}

.careSpindle p {
  font-size: 18px;
  line-height: 170%;
  color: #fff;
}

.careSpindle .theList_forPc {
  display: block;
  overflow: hidden;
}

.careSpindle .theList_forPc ul {
  padding: 0;
  margin: 50px 0 0 0;
  display: flex;
  flex-flow: row wrap;
}

.careSpindle .theList_forPc li {
  max-width: 180px !important;
  float: left;
  margin-right: 2px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex-grow: 1;
}

.careSpindle .theList_forPc li.uk-active {
  background: #00a1e9;
}

.careSpindle .theList_forPc li a {
  padding: 15px;
  display: block;
  font-size: 20px;
  color: #999;
  text-align: center;
}


.careSpindle .theList_forPc li a.e-btn {
  width: unset;
}

.careSpindle .theList_forPc li.uk-active a {
  color: #fff;
}

.careSpindle .theList_forPc .uk-switcher>div {
  margin-top: 0;
}

.careSpindle .theList_forM {
  margin-top: 50px;
  display: none;
}

.careSpindle .theList_forM h3.uk-accordion-title {
  padding: 15px;
  margin: 10px 0 0 0;
  font-size: 20px;
  color: #999;
}

.careSpindle .theList_forM h3.uk-accordion-title i {
  font-family: FontAwesome;
  float: right;
}

.careSpindle .theList_forM h3.uk-accordion-title i:before {
  content: "\f067";
}

.careSpindle .theList_forM h3.uk-active {
  background: #00a1e9;
  color: #fff;
}

.careSpindle .theList_forM h3.uk-active i:before {
  content: "\f068";
}

.careSpindle .theList_forM .uk-accordion-content {
  padding: 0 0 30px 0;
}

.careSpindle .theList_forM .uk-accordion-content img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .careSpindle .theList_forPc {
    display: none;
  }

  .careSpindle .theList_forM {
    display: block;
  }
}

/*======================================================================== 
  焦點專案
  ========================================================================*/
.focusProject {
  background: #eee;
  padding: 60px 0 70px 0;
  position: relative;
}

.focusProject .content1000 {
  z-index: 5;
}

.focusProject .theInfo {
  margin: 40px 0 0 0;
  position: relative;
}

.focusProject .theInfo img {
  width: 68%;
}

.focusProject .theInfo .blackBox {
  width: 41%;
  padding: 20px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  color: #fff;
  font-size: 18px;
  line-height: 170%;
  -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;
}

.focusProject .theInfo .blackBox:hover {
  background: rgba(0, 0, 0, 0.8);
}

.focusProject .theInfo .blackBox h3 {
  margin-top: 10px;
  font-size: 28px;
  color: #fff;
  line-height: 130%;
  max-height: 72px;
  overflow: hidden;
}

.focusProject .theInfo .blackBox p {
  margin: 0;
  max-height: 90px;
  overflow: hidden;
}

.focusProject .theInfo .blackBox a.hasTag {}

@media screen and (max-width: 960px) {
  .focusProject .theInfo img {
    width: 100%;
  }

  .focusProject .theInfo .blackBox {
    width: 100%;
    padding: 20px 25px;
    display: inline-block;
    position: relative;
    top: 0;
    transform: translateY(0%);
  }

  .focusProject .theInfo .blackBox h3 {
    font-size: 28px;
  }
}


/*======================================================================== 
  低碳生活部落格
  ========================================================================*/
.blog {
  background: #397cc3;
  padding: 60px 0;
  position: relative;
}

.blog .content1000 {
  z-index: 5;
}

/*@media screen and (min-width: 768px) {
  .blog:before{ content: url(../../images/bg_triangle.png);
    position: absolute; bottom: -140px; left: 10px; z-index: 1;}
}*/
.blog .theList {
  height: 100%;
  display: inline-block;
  background: #fff;
  position: relative;
  -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;
}

.blog .theList:hover {
  -webkit-transform: translate(0, -10px);
  -moz-transform: translate(0, -10px)
}

.blog .theList img {
  width: 100%;
}

.blog .theList small {
  font-size: 13px;
  color: #999;
  margin: 15px 15px 5px 15px;
  display: block;
}

.blog .theList h3 {
  font-size: 18px;
  color: #00a1e9;
  margin: 0 15px;
}

.blog .theList p {
  font-size: 15px;
  color: #666;
  margin: 5px 15px 15px 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

@media screen and (max-width: 960px) {
  .blog .theList:hover {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0)
  }

  .blog .theList {
    margin-bottom: 30px;
  }

  .blog .btn_w {
    margin-top: 30px;
  }
}

/*======================================================================== 
  影音頻道
  ========================================================================*/
.youtube {
  background: #eee;
  padding: 60px 0;
  position: relative;
}

.youtube .content1000 {
  z-index: 5;
}

/*@media screen and (min-width: 768px) {
  .youtube:after{ content: url(../../images/bg_triangle.png);
    position: absolute; bottom: -100px; right: 5px; z-index: 1;}
}*/
.youtube .video-container {
  height: 0;
  margin: 40px 0;
  padding-top: 30px;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}

.youtube .video-container iframe,
.video-container object,
.video-container embed {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) {
  .mainPic .forM .uk-slideshow li a {
    height: 500px;
    display: block;
  }
}

.linkBox {
  display: block;
}

.hasTagLink {
  position: relative;
  display: inline-block;
  /*border-bottom: 1px solid #397cc3;
  padding-left: 30px;*/
  border: 1px solid #fff6;
    border-radius: 20px;
    padding: 5px 15px 5px 35px;
}

.hasTagLink:hover {
  /*border-bottom: 1px solid #fff;*/
  background-color: rgba(255, 255, 255, 0.3);
}

.hasTagLink img,
.careSpindle .theList_forM .uk-accordion-content .hasTagLink img {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 22px;
  height: 22px;
}

.hasTagLink a {
  color: #fff;
}

.indexwidth {
  width: 1070px;
}

@media screen and (max-width: 1090px) {
  .indexwidth {
    width: 100%;
  }
}

.alignRight {
  padding: 5px 0;
  margin: 10px 0;
  border-bottom: solid 1px #fff;
  float: right;
  font-weight: normal;
}

.deleteMargintop {
  margin-top: 0px;
}

@media screen and (max-width: 960px) {
  .deleteMargintop {
    margin-top: 25px;
  }
}

/* external link*/
.content1000 {
  position: relative;
}

a.external {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 18px;
  display: inline-block;
  padding: 10px;
  color: #397cc3;
}
a.colorWhite {
  color: #fff;
}
a.external .icon{   
    cursor: pointer; 
    width: 18px;
    height: 18px;
    fill: #397cc3;
    margin-right: 5px;
}  
a.colorWhite .icon{   
    cursor: pointer; 
    width: 18px;
    fill: #fff;
    margin-right: 5px;
}  
@media screen and (max-width: 1024px) {
  a.external {
    position: absolute;
    top: 0px;
    right: 15px;
  }
}

@media screen and (max-width: 767px) {
  a.external {
    position: relative;
    left: 50%;
    transform: translateX(-50%)
  }
  a.colorWhite {
    color: #fff;
    /* background-color: #fff; */
    margin-top: 35px;
  }
  a.linkW {
    position: relative;
    left: -50%;
    transform: translateX(50%);
  }
}