/*======================================================================== 
  Copyright: 匯豐汽車網路事業
  Author: Amber
  ========================================================================*/
.photoGallery h2, .careArticle h2 {
  margin-bottom: 50px;
}

.photoGallery p, .careArticle p {
  font-size: 18px;
  line-height: 170%;
  color: #555555;
  margin-bottom: 35px;
}

.content1280 {
  z-index: 5;
}

.content1024 {
  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);
}

@media screen and (max-width: 1024px) {
  .photoGallery h2,
  .careArticle h2 {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 1280px) {
  .content1280 {
    width: 100%;
  }
}

/*======================================================================== 
  主圖
  ========================================================================*/
.innerMainTitle h2 {
  background: url(../../images/title-care.png) no-repeat center center;
}
@media screen and (max-width: 1024px) {
  .innerMainTitle h2 {
    background: url(../../images/title-care.png) no-repeat center center;
    background-size: 100%;
  }
}

/*======================================================================== 
  專業簡介
  ========================================================================*/
.proInfo {
  background: #eee;
  padding: 40px 0px 40px 0px;
  position: relative;
}
.proImg {
  width: 100%;
  max-height: 576px;
  overflow: hidden;
  margin-bottom: 30px;
}
.proImg img {
  width: 100%;
}
.proTop {
  padding: 15px 88px 20px;
  background-color: #3778bd;
  position: relative;
  overflow: hidden;
}
.gridLeftset {
  width: calc(100% - 400px);
  margin-right: 60px;
  float: left;
}
.gridRight{
  width: 340px;
}
.proTop p {
  margin: 13px 0px 8px;
  font-size: 14px;
  color: #fff;
}
.proTop h4 {
  display: block;
  font-size: 24px;
  color: #fff;
  margin: 0px;
  font-weight: bold;
  line-height: 34px;
  border-bottom: 3px solid #00a1e9;
}
.proTop ul {
  display: inline-block;
  margin: 0px 0px 0px -30px;
  overflow: hidden;
}
.proTop ul li{
  float: left;
  margin-right: 30px;
  margin-bottom: 10px;
}
.proTop ul li:last-child{
  margin-right: 0px;
}
.proTop ul li a {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 30px;
  font-weight: bold;
  border-bottom: 1px solid #fff;
}
.proTop ul li a:hover{
  border-bottom: 1px solid #3779be;
}
.tagStyle {
  font-size: 18px;
  font-weight: bold;
  color: #666666;
  padding: 2px 16px;
  background-color: #eee;
  border: 1px solid #000;
  margin-top: 7px;
}
.addMargin {
  margin-top: 60px;
  float: right;
}
.socialMedia {
  position: absolute;
  top: 30px;
  right: 90px;
}
.socialMedia a {
  display: block;
  float: right;
  margin-left: 12px;
  width: 32px;
  height: 32px;
  opacity: 1;
  -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;
}
.socialMedia a img{
  width: 100%;
}
.socialMedia a:hover{
  opacity: 0.75;
}
.proContainer {
  background-color: #fff;
  padding: 35px 88px 80px;
}
.proArticle {
  font-size: 18px;
  line-height: 34px;
}
.proContainer .textTidy {
  text-align:justify;
  -ms-text-justify: inter-ideograph; /IE9/
　-moz-text-align-last:justify; /Firefox/
　-webkit-text-align-last:justify; /Chrome/
}
.proArticle h1 {
  font-size: 200%;
  margin-bottom: 40px;
  text-align:justify;
}

.proArticle h2 {
  font-size: 160%;
  margin-bottom: 40px;
}

.proArticle h3 {
  font-size: 140%;
  margin-bottom: 40px;
}

.proArticle p, .proArticle span, .proArticle blockquote, .proArticle table {
  /* 12 * 1.5 = 18px */ 
  font-size: 1em;
  line-height: 34px;
  margin-bottom: 10px;
}
.proArticle h4, .proArticle h5, .proArticle h6, .proArticle dt, .proArticle dd, .proArticle ol, .proArticle li, .proArticle form, .proArticle label, legend, .proArticle table, .proArticle article {
  font-size: 1em;
  line-height: 34px;
}

.textSwitch {
  width: 100%;
  margin-bottom: 35px;
  overflow: hidden;
}
.textSwitch ul {
  float: right;
  margin: 0px;
}
.textSwitch ul li {
  float: left;
  font-size: 15px;
  background-color: #eeeeee;
  border: 3px solid #eee;
}
.textSwitch ul li.textTitle {
  padding: 1px 5px;
  color: #666;
  font-weight: bold;
}
.textSwitch ul li a {
  display: block;
  background-color: #fff;
  padding: 1px 5px;
  color: #ccc;
  font-weight: bold;
}
.textSwitch ul li a:hover{
  color: #00a1e9;
}
.textSwitch ul li a.active {
  background-color: #eeeeee;
  color: #00a1e9;
}
/*
.proInfo:before {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  top: 300px;
  left: 10px;
  z-index: 1;
}

.proInfo:after {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  bottom: 700px;
  right: 0px;
  z-index: 1;
}*/
@media screen and (max-width: 1024px) {
  .gridLeftset, .gridRight{
    width: calc(50% - 30px);
  }
  .proInfo:before, .proInfo:after {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .gridLeftset, .gridRight{
    width: 100%;
  }
  .proInfo {
    padding: 20px 0px;
  }
  .proImg {
    margin-bottom: 15px;
  }
  .proTop {
    padding: 50px 30px 30px;
  }
  .socialMedia {
    top: 30px;
    right: 30px;
  }
  .addMargin {
    margin-top: 10px;
  }
  .proTop ul li {
    margin-right: 25px;
  }
  .proContainer {
    padding: 30px;
  }
  .noPadding {
    padding: 0px;
  }
}
/*======================================================================== 
  照片集錦
  ========================================================================*/
.photoGallery {
  background: #eee;
  padding: 40px 0px 55px 0px;
  position: relative;
}
.photoGallery .photoBox {
  position: relative;
}
.photoGallery ul li a {
  display: block;
  position: relative;
  height: 290px;
  overflow: hidden;
}
.photoGallery ul li a img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
  width: 100%;
  height: unset;
  background-color: #EEE;
}
.photoGallery a.previous {
  display: block;
  width: 50px;
  height: 156px;
  position: absolute;
  top: 50%;
  left: -80px;
  transform: translate(0% , -50%);

}
.photoGallery a.next {
  display: block;
  width: 50px;
  height: 156px;
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translate(0% , -50%);
}/*
.photoGallery:before {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  top: -350px;
  left: 10px;
  z-index: 1;
}
*/
@media screen and (max-width: 768px) {
  .photoGallery {
    padding: 20px 0px 20px 0px;
  }
  .photoGallery ul li a {
    height: 220px;
  }
}
@media screen and (max-width: 1024px) {
  .goal:before {
    display: none;
  }
}
@media screen and (max-width: 1160px) {
  .photoGallery a.previous {
  left: 10px;
  }
  .photoGallery a.next {
  right: 10px;
  }
}
/*======================================================================== 
  影音頻道
  ========================================================================*/
.youtube{ 
  background: #eee; 
  padding: 30px 0px 80px; 
  position: relative;
}
.youtube .content1000{ 
  z-index: 5;
}
.paginationWidth {
  position: relative;
  width: 750px;
  left: -50%;
  transform: translateX(50%);
  -ms-transform: translateX(50%);
}
.paginationWidth .btnFirst {
  position: absolute;
  left: 0px;
}
.paginationWidth .btnLast {
  position: absolute;
  right: 0px;
}
/*
.youtube:after {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  bottom: 110px;
  overflow: hidden;
  right: 5px;
  z-index: 1;
}
*/
@media screen and (max-width: 768px) {
  a.linkBlue {
    font-size: 15px;
    margin-top: 0px;
    padding-top: 0px;
  }
  .youtube{ 
    padding: 30px 0; 
  }
}
@media screen and (max-width: 1024px) {
 .youtube:after {
    display: none;
  }
}
.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;
}


/*======================================================================== 
  關心文章
  ========================================================================*/
.careArticle {
  background: #fff;
  padding: 80px 0px 80px 0px;
  position: relative;
}
.careArticle a{
  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;
}
.careArticle a: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);
}
.careArticle a img {
  width: 100%;
}

.careArticle h3 {
  font-size: 18px;
  color: #00a1e9;
  margin: 24px 15px 0px 15px;
}

.careArticle a 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;
}
.careArticle a p:last-child{
  margin-bottom: 45px;
}
/*
.careArticle:before {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  top: 20px;
  left: 10px;
  z-index: 1;
}*/

.careArticle .addMargin {
  margin-top: 60px;
}
@media screen and (max-width: 1024px) {
  .careArticle:before {
    display: none;
  }

  .careArticle .addMargin {
    margin-top: 40px;
  }
}
/**/
.photoBox, .photoLightbox{
  position: relative;
  height: 100%;
}
.swiper-container {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.swiper-slide {
  background-size: cover;
  background-position: center;
}
.gallery-top .swiper-slide{
  background-color: #333;
}
.gallery-top {
  height: 80%;
  width: 100%;
}
.gallery-thumbs {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}
.gallery-thumbs .swiper-slide {
  height: 100%;
  opacity: 0.4;
}
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.photoBox .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
  background-image: none;
  width: 50px;
  height: 156px;
  position: absolute;
  top: 56%;
  left: -80px;
  transform: translate(0% , -50%);
  outline: none;
}
.photoBox .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
  background-image: none;
  width: 50px;
  height: 156px;
  position: absolute;
  top: 56%;
  right: -80px;
  transform: translate(0% , -50%);
  outline: none;
}

.Lightbox {
  display: block;
  background-color: rgba(0,0,0,.7);
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  left: -100%;
  top: 0;
  transform: scale(0);
  transition: transform .3s;
}

.activeLB {
  left: 0;
  transform: scale(1);
}
.photoLightbox {
  display: block;
  position: absolute;
  width: 700px;
  height: 522px;
  margin: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background-color: #fff;
  padding: 10px;
  border-radius: 4px;
  opacity: 1;
}
.close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 3;
  background-color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 15px;
}
.close img{
  margin: 8px 6px 6px 9px;
}
.photoLightbox .photoAll-top .swiper-wrapper .swiper-slide img {
  width: unset;
  max-width: unset;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .photoLightbox {
    width: 90%;
    height: auto;
  }
}
@media screen and (max-width: 1280px) {
  .photoBox .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: 10px;
  }
  .photoBox .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 10px;
  }
}
.textSwitch ul li.textTitle-E {
  display: none;
}
.textSwitch ul li a img {
    opacity: 0.5;
}
.textSwitch ul li a:hover img {
    opacity: 1;
}

/* slider img */
.photoBox .swiper-slide {
  height: 296px;
  background-color: #e6e6e6;
}
.photoBox .swiper-slide img{
  height: 100%;
  position: relative;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
}

.photoLightbox .swiper-slide img{
  position: relative;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
}
.gallery-thumbs .swiper-slide {
  background-color: #eee;
}
.gallery-thumbs .swiper-slide img {
  height: 100%;
  position: relative;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 767px) {
  .photoLightbox {
    height: 340px;
  }
  .photoLightbox .swiper-slide {
    overflow: hidden;
  }
  .photoBox .swiper-slide {
    height: 222px;
  }/*
  .photoBox .swiper-slide img{
    width: 100%;
    height: auto;

  }*/
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .photoLightbox {
    height: 522px;
  }
  .photoBox .swiper-slide {
    height: 280px;
    overflow: hidden;
  }
  .photoBox .swiper-slide img {
    width: unset;
    max-width: unset;
    height: 100%;
    position: relative;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
  }
}