@charset "UTF-8";
/* CSS Document */
/*列表頁*/


.waterfall {
   width: 100%;
   margin: 0px auto;
   column-count: 4;
   /*欄數*/
   column-gap: 5px;
   /*每欄間隔*/
}

@media (max-width: 767px) {
 .waterfall {
   width: 100%;
   margin: 0px auto;
   column-count: 2;
   /*欄數*/
   column-gap: 5px;
   /*每欄間隔*/
 }
}

@media (max-width: 480px) {
 .waterfall {
   width: 100%;
   margin: 0px auto;
   column-count: 1;
   /*欄數*/
   column-gap: 5px;
   /*每欄間隔*/
 }
}

    .waterfall .item {
        /*background-color: lightgrey;*/
        text-align: center;
        padding: 3px;
        box-sizing: border-box;
        margin: 0 auto 3px;
        break-inside: avoid;
        /*定義頁面、列或是區域發生中斷時的元素表現方式。 auto->元素中斷、acoid->元素不中斷*/
    }

   .waterfall .item img {
        width: 100%;
        object-fit: cover;
        object-position: 50% 50%;
  }


ul.spotList {
  margin: 30px -10px 0;
}

ul.spotList li {
  padding: 0 10px;
  margin-bottom: 40px;
}

ul.spotList li .Img {
  position: relative;
  background: #000;
  overflow: hidden;
}

ul.spotList li .Img img {
  display: block;
  width: 100%;
  transition: all 0.4s ease;
}

ul.spotList li .Img:hover img {
  opacity: 0.4;
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

ul.spotList li .Img a:before {
  display: block;
  content: "READ MORE";
  padding: 10px 20px;
  font-size: 12px;
  color: #FFF;
  border: 1px solid #FFF;
  border-left: none;
  border-right: none;
  opacity: 0;
  position: absolute;
  left: 50%;
  margin-left: -45px;
  top: 50%;
  margin-top: -80px;
  z-index: 99;
  transition: all 0.3s ease;
}

ul.spotList li .Img:hover a:before {
  opacity: 1;
  margin-top: -20px;
}

ul.spotList li .Txt {
  padding: 20px 0;
}

ul.spotList li .Txt h3 {
  position: relative;
  font-size: 18px;
  font-weight: normal;
  color: #FFF;
  margin-bottom: 12px;
}

ul.spotList li .Txt h3 a {
  color: #222;
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

ul.spotList li .Txt h3 a:hover {
  text-decoration: underline;
}

ul.spotList li .Txt p {
  padding-top: 10px;
  font-size: 12px;
  color: #ABABAB;
  line-height: 1.8;
  height: 45px;
}

ul.spotList li .Txt b {
  /*距離計算*/
  margin-top: 10px;
  display: block;
  font-size: 12px;
  font-weight: normal;
  color: #fdbe00;
}

/****內頁****/
.contentBox .leftBox {
  float: left;
  width: 67%;
}

.contentBox .leftBox .title {
  margin-bottom: 15px;
}

.contentBox .leftBox .title b {
  display: block;
  font-size: 12px;
  font-weight: normal;
  color: #fdbe00;
  padding: 5px 0;
}

.contentBox .leftBox .shareBox {
  float: right;
}

.contentBox .leftBox .shareBox a {
  cursor: pointer;
  display: block;
  vertical-align: middle;
  padding: 3px 5px;
  font-size: 12px;
  color: #FFF;
  border-radius: 3px;
  transition: none;
}

.contentBox .leftBox .Img {
  margin-bottom: 20px;
}

.contentBox .leftBox .Img img {
  width: 100%;
}

.contentBox .rightBox {
  float: right;
  width: 28%;
}

.contentBox .rightBox .link {
  margin-bottom: 15px;
}

.contentBox .rightBox .link a {
  display: inline-block;
  padding: 7px 15px;
  font-size: 16px;
  color: #FFF;
  box-shadow: 2px 2px 2px #CCC;
  border-radius: 3px;
  transition: none;
}

ul.icon {
  margin: 10px 0;
}

ul.icon li {
  display: inline-block;
  font-size: 13px;
  margin-right: 15px;
}

ul.icon li img {
  vertical-align: middle;
  margin-right: 5px;
}

.map {
  border: 1px solid #CCC;
}

#spotMap {
  height: 280px;
}

/*側邊相簿*/
ul.side_album li {
  width: 33.33%;
  padding: 0 5px 5px 0;
}

@media (max-width: 767px) {
  .top .link {
    float: none;
    width: 100%;
    text-align: center;
  }
  .col-4 {
    width: 50%;
    margin-bottom: 25px;
  }
  .top {
    position: static;
    margin: 15px 0;
  }
  .top ul.classLink {
    float: none;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCC;
    margin-bottom: 10px;
  }
  .top .link {
    float: none;
    width: 100%;
    text-align: center;
  }
  /*內頁*/
  .contentBox .leftBox {
    float: none;
    width: 100%;
    padding: 0;
  }
  .contentBox .rightBox {
    float: none;
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 360px) {
  .col-4 {
    width: 100%;
    margin-bottom: 25px;
  }
}
