/* layout */
.partner:after {
  content: "";
  display: table;
  clear: both;
}
.partner .search_content .after_classification {
  width: 22.5%;
  float: left;
  margin-left: 1.25%;
  margin-right: 1.25%;
}
.partner .search_content .result { 
  width: 72.5%;
  float: left;
  margin-left: 1.25%;
  margin-right: 1.25%;
}

@media screen and (max-width: 960px){
  .partner .search_content .after_classification,
  .partner .search_content .result {
    float: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
}

/* utilities & components */
@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-4 {
    width: 33.33333333%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-1 {
    width: 8.33333333%;
  }
  .col-md-pull-12 {
    right: 100%;
  }
  .col-md-pull-11 {
    right: 91.66666667%;
  }
  .col-md-pull-10 {
    right: 83.33333333%;
  }
  .col-md-pull-9 {
    right: 75%;
  }
  .col-md-pull-8 {
    right: 66.66666667%;
  }
  .col-md-pull-7 {
    right: 58.33333333%;
  }
  .col-md-pull-6 {
    right: 50%;
  }
  .col-md-pull-5 {
    right: 41.66666667%;
  }
  .col-md-pull-4 {
    right: 33.33333333%;
  }
  .col-md-pull-3 {
    right: 25%;
  }
  .col-md-pull-2 {
    right: 16.66666667%;
  }
  .col-md-pull-1 {
    right: 8.33333333%;
  }
  .col-md-pull-0 {
    right: auto;
  }
  .col-md-push-12 {
    left: 100%;
  }
  .col-md-push-11 {
    left: 91.66666667%;
  }
  .col-md-push-10 {
    left: 83.33333333%;
  }
  .col-md-push-9 {
    left: 75%;
  }
  .col-md-push-8 {
    left: 66.66666667%;
  }
  .col-md-push-7 {
    left: 58.33333333%;
  }
  .col-md-push-6 {
    left: 50%;
  }
  .col-md-push-5 {
    left: 41.66666667%;
  }
  .col-md-push-4 {
    left: 33.33333333%;
  }
  .col-md-push-3 {
    left: 25%;
  }
  .col-md-push-2 {
    left: 16.66666667%;
  }
  .col-md-push-1 {
    left: 8.33333333%;
  }
  .col-md-push-0 {
    left: auto;
  }
  .col-md-offset-12 {
    margin-left: 100%;
  }
  .col-md-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-md-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-md-offset-9 {
    margin-left: 75%;
  }
  .col-md-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-md-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-md-offset-6 {
    margin-left: 50%;
  }
  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-md-offset-0 {
    margin-left: 0%;
  }
}
.partner .search_content .btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.partner .search_content .btn.btn-flat {
  border-radius: 0;
  box-shadow: none;
  border-width: 1px;
}
.partner .search_content .btn-block {
  display: block;
  width: 100%;
}
.partner .search_content .btn-primary {
  background-color: #3c8dbc;
  border-color: #367fa9;
}
.partner .search_content .btn-primary:hover,
.partner .search_content .btn-primary:active,
.partner .search_content .btn-primary.hover {
  background-color: #367fa9;
}

/* custom */
.partner .search_content .after_classification .search_memo {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 5px;
}
.partner .search_content .after_classification .search_memo h5 {
  color: #3a7cc7;
  font-size: 1.125rem;
  margin-bottom: 5px;
  margin-right: 20px;
}
.partner .search_content .after_classification .search_memo h6 {
  font-size: 0.8125rem;
  color: #888;
}
.partner .search_content .nav-tabs-custom {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}
.partner .search_content .nav-tabs-custom .filter {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}
.partner .search_content .nav-tabs-custom .filter .f-data-on {
  width: 25%;
  height: 40px;
  font-size: 13px;
  background: #6c7c92;
  border-top: 3px solid #6c7c92;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  color: #FFF;
}
.partner .search_content .nav-tabs-custom .filter .f-data {
  width: 25%;
  height: 40px;
  font-size: 13px;
  background: #FFF;
  border-top: 3px solid #6c7c92;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  color: #888;
  cursor: pointer;
  transition: all .3s;
}
.partner .search_content .nav-tabs-custom .filter .f-data a {
  color: #888;
}
.partner .search_content .nav-tabs-custom .filter .f-data-on a {
  color: #FFF;
}
.partner .search_content .datatype {
  padding: 20px;
  background: #efefef;
  margin-bottom: 10px;
  position: relative;
}
.partner .search_content .datatype.show-on-large {
  display: block;
}
.partner .search_content .datatype h6 {
  color: #222;
  font-size: 1rem;
}
.partner .search_content .datatype .switch {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 13px;
  right: 10px;
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}
.partner .search_content .datatype .switch i {
  color: #c0c0c0;
  font-size: 1.4375rem;
}
.partner .search_content .datatype .historyRecord {
  cursor: pointer;
  border-radius: 5px;
  padding-left: 10px;
  padding-bottom: 30px;
}
.partner .search_content .datatype .historyRecord .fa-search {
  color: #008080;
}
.partner .search_content .nav-tabs-custom .datatype .tab-content {
  padding-top: 0!important;
}
.partner .search_content .nav-tabs-custom .datatype .tab-content .filter_row {
  width: 100%;
  padding-left: 10px;
  line-height: 30px;
}
.partner .search_content .nav-tabs-custom .datatype .tab-content .filter_row>label {
  cursor: pointer;
}
.partner .search_content #main_articles_div {
  background-color: #ffffff;
  margin-bottom: 50px;
}
.partner .search_content .need-search {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.partner .search_content .div-list-operate{
  margin-bottom: 10px;
 }
.partner .search_content .btn-list-operate {
  border: 1px solid #c0c0c0;
  border-radius: 3px;
  margin-left: 3px;
  font-size: 14px;
  color: #888;
}
.partner .search_content .btn-list-operate:hover,
.partner .search_content .btn-list-operate.active {
  border: 1px solid #5fb8eb;
  background: #5fb8eb;
  color: #FFF;
}
.partner .search_content .div-list-operate select {
  appearance: auto!important;
  cursor: pointer;
  display: inline-block;
  color: #888;
  height: 34px;
  border: 1px solid #c0c0c0;
  border-radius: 3px;
  margin-left: 3px;
  font-size: 0.875rem
}
.partner .search_content .selectitemSpan {
  line-height: 40px;
  vertical-align: middle;
  padding-left: 3px;
}
.partner .search_content #articles_list {
  margin-top: 15px;
}
.partner .search_content .result .result_item-list {
  width: 100%;
  float: left;
  background: #FFF;
  border: 1px solid #c9c9c9;
  margin-bottom: 20px;
  padding-right: 20px;
  transition: all .3s;
  cursor: pointer;
}
.partner .search_content .result .result_item-list:hover {
  background: #fffaf6;
  border: 1px solid #db8f1a;
}
.partner .search_content .result .result_item-list .photo {
  position: relative;
  width: 28%;
  float: left;
  margin-right: 15px;
}
.partner .search_content .result .result_item-list .photo img {
  display: block;
}
.partner .search_content .result .result_item-list .descript_group {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  .partner .search_content .result .result_item-list {
    padding-right: 0;
  }
}
@media screen and (max-width: 768px) {
  .partner .search_content .result .result_item-list .photo {
    width: 100%;
    float: none;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    background: #eee;
    margin-bottom: 18px;
  }
}
.partner .search_content .result .result_item-list .descript_group .i-title {
  margin-bottom: 8px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-align: center;
  align-items: center;
}
.partner .search_content .result .descript_group .i-title h6 {
  width: 100%;
  font-size: 1rem;
  color: #ed7000;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.partner .search_content .result a {
  color: #888;
}
.partner .search_content .result .descript_group .i-title h6 a {
  color: #888;
}
.partner .search_content .result .result_item {
  width: 30.83333%;
  float: left;
  margin-left: 1.25%;
  margin-right: 1.25%;
  height: 370px;
  background: #FFF;
  margin-bottom: 20px;
  border: 1px solid #c9c9c9;
  transition: all .3s;
  cursor: pointer;
}
.partner .search_content .result .result_item .photo {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  background: #eee;
  margin-bottom: 18px;
}
@media screen and (max-width: 768px) {
  .partner .search_content .result .result_item {
    width: 100%;
    height: auto;
  }
}
.partner .search_content .result .result_item .photo img {
  display: block;
  max-width: 100%;
  height: 170px;
  object-fit: contain;
}

.partner .search_content .result .result_item-text {
  width: 97.5%;
  float: left;
  margin-left: 1.25%;
  margin-right: 1.25%;
  background: #FFF;
  border: 1px solid #c9c9c9;
  margin-bottom: 20px;
  padding-right: 20px;
  transition: all .3s;
  cursor: pointer;
}
.partner .search_content .result .result_item-text .photo {
  display: none;
  position: relative;
  width: 28%;
  float: left;
  margin-right: 15px;
}
.partner .search_content .result .result_item-text .descript_group {
  /* padding-top: 20px; */
  /* padding: 20px 0px 20px 15px; */
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
}
.partner .search_content .result .result_item-text .descript_group .i-title {
  margin-bottom: 8px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-align: center;
  align-items: center;
}
.partner .row {
  margin-right: -15px;
  margin-left: -15px;
}
.partner .search_content .pages {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 30px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}
.partner .search_content .pages a {
  min-width: 30px;
  padding: 0px 6px;
  height: 30px;
  border: 1px solid #eee;
  font-size: 0.875rem;
  margin: 0 5px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  transition: all .3s;
  color: #888;
  cursor: pointer;
}
.partner .search_content .pages .a_active {
  border: 1px solid #eee;
  background: #5fb8eb;
  color: #FFF;
}
/* 詳目頁 */
.detail .detail_title {
  padding: 10px 20px;
  border-bottom: 5px solid #eee;
  margin-bottom: 23px;
}

.detail .detail_title h4 {
  font-size: 28px;
  color: #900;
  line-height: 1.5;
}
.detail .detail_description {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.detail .detail_description .detail_list {
  border-bottom: 1px dashed #c0c0c0;
  padding: 8px 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.detail .detail_description .detail_list .detail-td {
  -ms-flex: 1 0 200px;
  flex: 1 0 200px;
  word-break: break-all;
  word-break: break-word;
}

.detail .detail_description .detail_list .detail-th {
  -ms-flex: 0 0 150px;
  flex: 0 0 150px;
  float: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #555;
  word-break: break-all;
  word-break: break-word;
}

.detail .detail_description .detail_list .detail-td p, .detail .detail_description .detail_list .detail-td div, .detail .detail_description .detail_list .detail-td span {
  font-size: 14px;
  color: #888;
  word-wrap: break-word;
  word-break: break-all;
}

.detail .detail_description .detail_list .detail-td p, .detail .detail_description .detail_list .detail-td div, .detail .detail_description .detail_list .detail-td span {
  font-size: 14px;
  color: #888;
  word-wrap: break-word;
  word-break: break-all;
}

.detail .detail_description .detail_list .detail-td p, .detail .detail_description .detail_list .detail-td div, .detail .detail_description .detail_list .detail-td span {
  font-size: 14px;
  color: #888;
  word-wrap: break-word;
  word-break: break-all;
}

.detail .detail_description .detail_list .detail-td p, .detail .detail_description .detail_list .detail-td div, .detail .detail_description .detail_list .detail-td span {
  font-size: 14px;
  color: #888;
  word-wrap: break-word;
  word-break: break-all;
}

.outline-container .outline-row>div {
  display: inline-block;
}

.outline-row-title {
  width: 73%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.outline-row-pages {
  width: 25%;
}
.hided_element{
  display: none;
}

.detail .detail_photos {
  text-align: left;
}
.detail .detail_photos .popup-gallery {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}
.detail .detail_photos .popup-gallery>a{
  height: 160px;
  display: inline-block;
  vertical-align: middle;
}
.detail .detail_photos .popup-gallery>a img{
  height: 100%;
  object-fit: contain;
}

/* Modal */

.modal-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.modal-container {
  max-width: 1280px;
  min-width: 640px;
  background-color: #FFF;
  border-radius: 4px;
  overflow: hidden;
}
.modal-header {
  padding: 0.5rem 1rem;
}
.modal-header .close {
  float: right;
}
.modal-body {
  padding: 1rem;
}
.modal-footer {
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
}
.form-control {
  margin-bottom: 1rem;
  width: 100%;
}

.filter-block {
  background-color: #f2f2f2;
  margin-bottom: 10px;
}

.filter-block .filter-item  {
  position: relative;
  margin-top: 10px;
}

.filter-block .collapse .content {
    border: 0;
    background-color: #ccc;
}

.filter-block .filter-item button[data-toggle="collapse"]{
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: #333;
  font-weight: bold;
  padding-right: 38px;
  white-space: inherit;
}
.filter-block .filter-item button[aria-expanded] .icon{
  position: absolute;
  top: 6px;
  right: 10px;
}

.filter-block .filter-item button[aria-expanded] .icon i {
  color: #c0c0c0;
  font-size: 23px;
}

.filter-block .filter-item button[aria-expanded="false"] .icon .fa-collapse-custom-icon::before{
  content: '\f055'
}

.filter-block .filter-item button[aria-expanded="true"] .icon .fa-collapse-custom-icon::before{
  content: '\f056'
}

.filter_row {
  width: 100%;
  padding-left: 10px;
  line-height: 30px;
}

.label {
  padding: 0.2em 0.6em 0.3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 10px;
  color: #337ab7;
  background-color: #fff;
}

.search_content .result .result_item {
  overflow: auto;
}

.search_content .result .result_item::-webkit-scrollbar{
  display: none;
}