/*(1)清除默认样式*/
html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
img,
input {
    margin: 0;
    padding: 0;
}

body{font: normal 14px/28px "Microsoft YaHei", "微软雅黑", "宋体", Verdana, Tahoma, Helvetica, sans-serif;}
html, body {
    height: 100%;
}
*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

fieldset,
img,
input,
button,
select,
textarea{
    border: 0 none;
    padding: 0;
    margin: 0;
    outline-style: none;
}
/*去掉input等聚焦时的蓝色边框*/



ul,
li,
ol {
    list-style: none;
}

/* 行内元素的垂直居中 */
/* 
vertical-align：top 

*/
select,
input {
    vertical-align: middle;
}

/*select, input, textarea { font-size:12px; margin:0; }*/
textarea {
    resize: none;
}

/*防止拖动*/
img {
    border: 0;
    vertical-align: middle;
    max-width: 100%;
}

/*  去掉图片低测默认的3像素空白缝隙，或者用display：block也可以*/
/* table { border-collapse:collapse; } */

a {
    text-decoration: none;
    color: #333333
}

.clearfix::after {
    content: "";
    clear: both;
    overflow: hidden;
    display: block;
    height: 0;
    visibility: hidden;
}

.clear {
    clear: both;
    font-size: 1px;
    width: 1px;
    height: 0;
    visibility: hidden;
    zoom: 1;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 1em;
}

/*设置h标签的大小，设置跟父亲一样大的字体font-size:100%;*/
s,
i,
em {
    font-style: normal;
    text-decoration: none;
}


/*公共类*/
.containers {
    /*内容、版心 提取 */
    /*100%是继承父元素的高或者宽*/
    height: 100%;
    margin: 0 auto;
    -moz-box-sizing: border-box;  
     -webkit-box-sizing: border-box; 
     -o-box-sizing: border-box; 
     -ms-box-sizing: border-box; 
     box-sizing: border-box; 
     width: 1520px;
}
.min-width{
    min-width: 1250px;
    -moz-box-sizing: border-box;  
    -webkit-box-sizing: border-box; 
    -o-box-sizing: border-box; 
    -ms-box-sizing: border-box; 
    box-sizing: border-box; 
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.ac {
    text-align: center;
}

.block{
    display: block
}



/* 设置HTML5元素为块 */
article, aside, details,figcaption,figure,footer,header,hgroup, menu,nav,section,main {
    display: block;   
}



.flex{
    display:-webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
}

.flex-b{
    display:-webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content:space-between;
    justify-content:space-between;
    -moz-box-pack:space-between;
    -webkit-moz-box-pack:space-between;
    box-pack:space-between;
}

.flex-s{
    display:-webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content:space-around;
    justify-content:space-around;
    -moz-box-pack:space-around;
    -webkit-moz-box-pack:space-around;
    box-pack:space-around;
}

/* 过渡*/
.enlarge8{
    -moz-transition:all 0.8s; /* Firefox 4 */
    -webkit-transition:all 0.8s; /* Safari and Chrome */
    -o-transition:all 0.8s; /* Opera */
    transition:all 0.8s;
    cursor: pointer;
}

.enlarge4{
    -moz-transition:all 0.4s; /* Firefox 4 */
    -webkit-transition:all 0.4s; /* Safari and Chrome */
    -o-transition:all 0.4s; /* Opera */
    transition:all 0.4s;
    cursor: pointer;
}

/* yanjing */
.ceng{
    position: absolute;
    width: 100%;
    height: 100%;
}

.ceng #box{
    width: 95%;
    height: 90%;
    transition: all 5s;
    position: relative;
    margin-left:auto;
    margin-right:auto;
    margin-top: 5%;
    background-position: center;
    transition: all 0.8s;
    opacity: 0;
    display: block;
    
}

#box::before{
    content: "";
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    top: -1px;
    transform:scale(1, 0);
    transition: all 1s;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

#box::after{
    content: "";
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    top: -1px;
    transform:scale(0, 1);
    transition: all 1s;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.ceng:hover #box::before , .ceng:hover #box::after {
    transform:scale(1);
    transition:all 1s;
}


.border-box{
    -moz-box-sizing: border-box;  
    -webkit-box-sizing: border-box; 
    -o-box-sizing: border-box; 
    -ms-box-sizing: border-box; 
    box-sizing: border-box;
}

.ellipsis{
    overflow: hidden; /*自动隐藏文字*/
    text-overflow: ellipsis;/*文字隐藏后添加省略号*/
    white-space: nowrap;/*强制不换行*/
}
.ellipsis2{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ellipsis3{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
  }
  
  .animated.infinite {
    animation-iteration-count: infinite;
  }
  
  .animated.hinge {
    animation-duration: 2s;
  }
  
  .animated.flipOutX,
  .animated.flipOutY,
  .animated.bounceIn,
  .animated.bounceOut {
    animation-duration: .75s;
  }
  
/* 动画 */
@keyframes bounce {
    from, 20%, 53%, 80%, to {
      animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
      transform: translate3d(0,0,0);
    }
  
    40%, 43% {
      animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      transform: translate3d(0, -30px, 0);
    }
  
    70% {
      animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      transform: translate3d(0, -15px, 0);
    }
  
    90% {
      transform: translate3d(0,-4px,0);
    }
  }
  
  .bounce {
    animation-name: bounce;
    transform-origin: center bottom;
  }



  .maxImg{
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  @font-face{
    font-family: 'myfont'; 
    src:url('../font/myFont.TTF')
     
}