/* ==========================================================================
    News Content
========================================================================== */

#content .body .main {
  margin-top: 23px;
  border-bottom: 0;
  z-index: 1;
}
#content .body .main > li {
  height: 46px;
  width: calc(25% - 1px);
  margin-right: 1px;
  background: #0e528d;
  opacity: 0.5;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
#content .body .main > li.select {
  margin-right: 0;
  opacity: 1;
}
#content .body .main > li > a {
  height: 46px;
  padding: 0;
}
#content .body .main > li > a h3 {
  color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 46px;
  margin: 0;
  font-weight: 300;
}
#content .body .main > li:hover,
#content .body .main > li.active {
  opacity: 1;
}
#content .body .main > li.select {
  background: #434242;
  z-index: 99;
}
#content
  .body
  .main
  > li.select
  .bootstrap-select:not([class*='col-']):not([class*='form-control']):not(.input-group-btn) {
  width: 100%;
  height: 100%;
}
#content
  .body
  .main
  > li.select
  .bootstrap-select.btn-group
  .dropdown-menu
  li:first-child {
  display: none;
}
#content .body .main > li.select .btn-group > .btn:first-child {
  height: 100%;
  background: transparent;
  border-radius: 0;
  border: solid 1px #434242;
  box-shadow: 0 0 0;
}
#content
  .body
  .main
  > li.select
  .bootstrap-select.btn-group
  .dropdown-toggle
  .filter-option {
  text-align: center;
  color: #fff;
  font-weight: 300;
}
#content
  .body
  .main
  > li.select
  .bootstrap-select.btn-group
  .dropdown-toggle
  .caret {
  color: #fff;
}

.news #content .body .tab-content {
  position: relative;
  display: block;
  float: left;
  width: 100%;
}
.news #content .body .tab-content .list-item {
  height: 415px;
  min-height: 440px;
}
.news #content .body .tab-content .list-item:nth-child(3n) {
  margin-right: 0;
}
.news #content .body .tab-content #exhibition-info .list-item > a {
  cursor: default;
}
.news #content .body .tab-content .list-item .pic-area,
.news #content .body .tab-content .list-item .article {
  width: 100%;
  position: relative;
}
.news #content .body .tab-content .list-item .article {
  margin-top: 15px;
}
.news #content .body .tab-content .list-item .pic-area {
  height: 260px;
  overflow: hidden;
}
.news #content .body .tab-content .list-item .pic-area .pic img {
  width: 100%;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.news #content .body .tab-content .list-item:hover .pic-area .pic img {
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}
.news #content .body .tab-content .list-item .article h4,
.news #content .body .tab-content .list-item .article p {
  font-family: 'Roboto Condensed', '微軟正黑體';
}
.news #content .body .tab-content .list-item .article h4 {
  font-size: 18px;
  margin-top: 8px;
  margin-bottom: 4px;
  font-weight: 400;
}
.news #content .body .tab-content .list-item .article p {
  font-size: 16px;
  line-height: 24px;
  margin-top: 2px;
  color: #868686;
  font-weight: 300;

  display: block;
  display: -webkit-box;
  max-width: 100%;
  height: 72px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* word-break: break-all; */
}
.news #content .body .tab-content .list-item .date span,
.news #content .body .tab-content .list-item .date p,
.news #content .body .tab-content .list-item .date .divider {
  color: #868686;
  font-weight: 400;
}
.news #content .body .tab-content .list-item .date span {
  font-size: 14px;
}

.news #content .body .tab-content .list-item .date .dd:after {
  content: ',';
}
.news #content .body .tab-content .list-item h4 {
  color: #0e528d;
}

.exhibition #content .body .tab-content {
  position: relative;
  display: block;
  float: left;
  margin-top: 52px;
  width: 100%;
  z-index: 0;
}
.exhibition #content .body .tab-content .list-item {
  height: 192px;
  width: 100%;
  margin-right: 23px;
  margin-bottom: 35px;
  border: solid 1px #e1e1e1;
}
.exhibition #content .body .tab-content .list-item > .left,
.exhibition #content .body .tab-content .list-item > .right {
  display: inline-block;
}
.exhibition #content .body .tab-content .list-item > .left {
  width: 285px;
  height: 100%;
  float: left;
}
.exhibition #content .body .tab-content .list-item > .left .pic {
  width: 258px;
  height: 100%;
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -mos-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
.exhibition #content .body .tab-content .list-item > .left .pic img {
  width: 100%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -mos-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.exhibition #content .body .tab-content .list-item > .right {
  width: 713px;
  padding: 10px;
  padding-left: 43px;
}
.exhibition #content .body .tab-content .list-item > .right h4 {
  font-size: 20px;
  line-height: 24px;
}
.exhibition #content .body .tab-content .list-item > .right .detail span {
  color: #868686;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
}
.exhibition #content .body .tab-content .list-item > .right h4,
.exhibition #content .body .tab-content .list-item > .right .detail .title {
  color: #0e528d;
}
.exhibition #content .body .tab-content .list-item > .right .detail .left {
  width: 147px;
  display: inline-block;
  float: left;
}
.exhibition #content .body .tab-content .list-item > .right .detail .right {
  display: inline-block;
  width: 453px;
}
.exhibition #content .body .tab-content .list-item .slash:after {
  content: '/';
  padding: 0;
  color: #868686;
}

#content .body nav {
  margin-bottom: 40px;
  margin-top: 10px;
}
#content .body nav ul {
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -mos-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-bottom: 20px;
  margin-top: 2px;
}
#content .body nav .pagination > li > a,
#content .body nav .pagination > li span {
  border: 0;
  background: transparent;
  color: #565962;
  font-size: 16px;
}
#content .body nav .pagination > .active > a,
#content .body nav .pagination > .active > span,
#content .body nav .pagination > .active > a:hover,
#content .body nav .pagination > .active > span:hover,
#content .body nav .pagination > .active > a:focus,
#content .body nav .pagination > .active > span:focus {
  background: transparent;
  color: #0e528d;
  font-weight: bold;
}
#content .body nav ul.pagination > li > a {
  padding: 6px 8px;
}

@media screen and (max-width: 1407px) {
  section {
    float: none;
    width: 1000px;
  }
  #content .body .tab-content .list-item .pic-area {
    height: auto;
  }
  #content .body .tab-content .list-item .pic-area,
  #content .body .tab-content .list-item .article {
    width: 100%;
  }
  #content .body .tab-content .list-item .pic-area .pic,
  #content .body .tab-content .list-item .pic-area .pic img {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .news #content .body .tab-content .list-item {
    /* width: 318px; */
    width: calc(100% / 3 - 17px);
    margin-right: 23px;
  }
  .news #content .body .tab-content .list-item .col-md-12 {
    padding: 0;
  }
}

@media screen and (max-width: 1199px) {
  section {
    float: none;
    width: 900px;
  }
  #content .body .main {
    margin-left: 15px;
    margin-right: 15px;
  }
  .body > .nav-tabs > li:first-child {
    padding-left: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  #content .body .tab-content {
    margin-top: 40px;
  }
  #content .body .date {
    height: 50px;
    width: 50px;
  }
  #content .body .date .up,
  #content .body .date .down {
    height: 23px;
    line-height: 23px;
  }
  #content .body .date .up span {
    font-size: 18px;
  }
  #content .body .tab-content .list-item .article h4 {
    font-size: 16px;
  }
  #content .body .tab-content .list-item .article p {
    font-size: 14px;
  }
}

@media screen and (max-width: 991px) {
  section {
    width: 100%;
  }

  .news #content .body .tab-content .list-item .pic-area {
    height: auto;
  }
  #content .body .date {
    height: auto;
    width: auto;
  }
  .news #content .body .tab-content .list-item {
    height: auto;
    min-height: auto;
  }
}

@media screen and (max-width: 767px) {
  .bootstrap-select > .dropdown-toggle {
    padding-right: 20px;
  }
  .bootstrap-select.btn-group .dropdown-toggle .caret {
    margin-right: -5px;
  }
  #content .body .tab-content {
    margin-top: 20px;
  }
  #content .body .tab-content .list-item {
    width: calc(46% - 1px);
    height: auto;
    margin-right: 0;
    margin: 2%;
  }
  #content .body .tab-content .list-item:nth-child(3n) {
    margin-right: 2%;
  }
  #content .body .tab-content .list-item .pic-area {
    height: auto;
  }
  #content .body .tab-content .list-item .pic-area,
  #content .body .tab-content .list-item .article {
    width: 100%;
  }
  #content .body .tab-content .list-item .pic-area .pic,
  #content .body .tab-content .list-item .pic-area .pic img {
    width: 100%;
  }
}

@media screen and (max-width: 599px) {
  #content .body .main > li {
    width: calc(50% - 1px);
    margin-right: 1px;
    margin-bottom: 1px;
  }
  #content .body .main > li:nth-child(2n) {
    margin-right: 0;
  }
  #content .body .tab-content .list-item.col-xs-12 {
    width: 100%;
    display: block;
    margin: 0 auto;
    float: none;
  }
  .news #content .body .tab-content .list-item:nth-child(3n) {
    margin-right: auto;
  }
}

/* ==========================================================================
    News Content Exhibition Info
========================================================================== */

#content .body .tab-content #exhibition-info .list-item .date {
  background: #565962;
}
#content .body .tab-content #exhibition-info .list-item .article p {
  margin-bottom: 1px;
}

@media screen and (max-width: 1199px) {
  .exhibition #content .body .tab-content .list-item {
    height: auto;
  }
  .exhibition #content .body .tab-content .list-item > .left {
    width: 32%;
  }
  .exhibition #content .body .tab-content .list-item > .right {
    width: 68%;
  }
  .exhibition #content .body .tab-content .list-item > .left .pic img {
    position: relative;
    top: 0%;
    -webkit-transform: translateY(0%);
    -mos-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
  }
  .exhibition #content .body .tab-content .list-item > .right .detail .left,
  .exhibition #content .body .tab-content .list-item > .right .detail .right {
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .exhibition #content .body .tab-content .list-item {
    width: 95%;
    float: none;
    display: block;
    margin: 0 auto;
    margin-bottom: 35px;
  }
}

@media screen and (max-width: 599px) {
  .exhibition #content .body .tab-content .list-item > .left,
  .exhibition #content .body .tab-content .list-item > .right {
    width: 100%;
  }
  .exhibition #content .body .tab-content .list-item > .right {
    padding-bottom: 30px;
  }
  .exhibition #content .body .tab-content .list-item > .left .pic img {
    max-width: 237px;
  }
}
