@font-face {
  font-family: 'iconfont';
  src: url('../vendor/font/iconfont.eot?');
  src: url('../vendor/font/iconfont.eot?#iefix') format('embedded-opentype'),
  url('../vendor/font/iconfont.woff?') format('woff'),
  url('../vendor/font/iconfont.ttf?') format('truetype'),
  url('../vendor/font/iconfont.svg?#iconfont') format('svg');
  font-weight: normal;
  font-style: normal;
}
.da-icon
{
  font-family: "iconfont";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* You can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

a {
  text-decoration: none!important;
  outline: none;
}


.site-section {
    padding: 2rem 0;
  }

.item .item-wrap{
  /*display: table-cell;*/
  height: 289px;
  text-align: center;
  vertical-align: middle;
}

.more{
  text-align: center;
}

.backPic{
  cursor: pointer;
  overflow: hidden;
  /*background-origin:content-box; !*从content区域开始显示背景*!*/
  background-position:50% 50%; /*图片上下左右居中*/
  background-size:cover; /*保持图像本身的宽高比例，将图片缩放到宽度或高度正好适应定义背景的区域*/
  background-repeat:no-repeat; /*图像不重复显示*/
  margin: 0.7rem;
  padding: 0;
}

.text-word-break{
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}



@media (min-width: 576px) {
  #photo-grid .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 540px;
  }
}
@media (min-width: 768px) {
  #photo-grid .col-md-4 {
    flex: 0 0 46.89%;
    max-width: 46.89%;
    min-height: 0px;
    max-height: 337px;
  }
}
@media (min-width: 992px) {
  #photo-grid .col-lg-4 {
    max-width: 30.105%;
    min-height: 0px;
    /*min-height: 343px;*/
    max-height: 289px;
  }
}
@media (min-width: 1200px) {
  #photo-grid .col-lg-4 {
    max-width: 30.105%;
    min-height: 0px;
    max-height: 343px;
  }
}
@media (min-width: 1900px) {
  #photo-grid .col-lg-4 {
    /*min-height: 0px;*/
    min-height: 343px;
  }
}


/**
相片页面
 */
#photo-grid2{
  min-height: 500px;
}
#photo-grid2 .card {
  margin: 0.3rem;
  border: 0;
}
#photo-grid2 .card-header{
  padding: .75rem 1rem;
  border: 0;
}
#photo-grid2 .cardPic{
  margin-bottom: 20px;
  cursor: pointer;
}



@media (min-width: 992px) {
  #photo-grid2 .col-lg-4 {
    flex: 0 0 25%;
  }
}

/*用于background方式*/
/*@media (max-width: 575px) {
  .super-card{
    width: 100%;
  }
  #photo-grid2{
    padding: 0 20px;
  }
  #photo-grid2 .col-lg-4 {
    !*min-height: 313px;*!  !* 正方形用这个 *!
    width: auto;
  }
}

@media (min-width: 576px) {
  #photo-grid2 .col-sm-6 {
    min-width: 238px;
    min-height: 238px;
  }
}
@media (min-width: 768px) {
  #photo-grid2 .col-md-4 {
    min-width: 148px;
    min-height: 148px;
  }
}
@media (min-width: 992px) {
  #photo-grid2 .col-lg-4 {
    min-width: 208px;
    min-height: 208px;
  }
}
@media (min-width: 1200px) {
  #photo-grid2{
    padding: 0 20px;
  }
  #photo-grid2 .col-lg-4 {
    min-width: 258px;
    min-height: 258px;
  }
}
@media (min-width: 1900px) {
  #photo-grid2 .col-lg-4 {
    !*min-width: 258px;*!
    !*min-height: 258px;*!
  }
}*/
/*用于background方式*/



/**
  首页卡片布局css
 */
#photo-grid-card .card{
  border: 0px;
}
#photo-grid-card .card-header{
  /*background-color: transparent;*/
  border-bottom: transparent;
}
#photo-grid-card .card-header{
  padding: .75rem 1rem;
}

/*@media (min-width: 992px){*/
/*  #photo-grid-card .card-img-top{*/
/*    width: auto;*/
/*    max-height: 13rem;*/
/*  }*/
/*}*/
/*@media (min-width: 768px){*/
/*  #photo-grid-card .card-img-top{*/
/*    width: auto;*/
/*    max-height: 9.4rem;*/
/*  }*/
/*}*/
/*@media (min-width: 576px){*/
/*  #photo-grid-card .card-img-top{*/
/*    width: auto;*/
/*    max-height: 10.8rem;*/
/*  }*/
/*}*/