@charset "utf-8";
/* CSS Document */
/*! Flickity v1.1.1
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}
.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  /*cursor: move;*/
  /*cursor: -webkit-grab;*/
  /*cursor: grab;*/
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 65px;
  margin-top: -20px;
  border: none;
  cursor: pointer;
  z-index: 1000;
  /*display: none;*/
  text-indent: -9999px;
}
.main-gallery:hover .gallery-cell.is-selected .flickity-prev-next-button{
  display: block;
}

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  filter: alpha(opacity=60); /* IE8 */
  opacity: 0.6;
}
.flickity-prev-next-button.previous {
  left: -56px;
  background:#c3c3c3 url("../img/company/history_slide02_btn01.png") no-repeat center center;
}
.flickity-prev-next-button.next {
  background:#c3c3c3 url("../img/company/history_slide02_btn02.png") no-repeat center center;
  right: -56px;
}
.flickity-prev-next-button.previous:hover {
  background:#1063a6 url("../img/company/history_slide02_btn01.png") no-repeat center center;
}
.flickity-prev-next-button.next:hover {
  background:#1063a6 url("../img/company/history_slide02_btn02.png") no-repeat center center;
}
/* right to left */
/*.flickity-rtl .flickity-prev-next-button.previous {*/
  /*left: auto;*/
  /*right: 10px;*/
/*}*/
/*.flickity-rtl .flickity-prev-next-button.next {*/
  /*right: auto;*/
  /*left: 10px;*/
/*}*/

.flickity-prev-next-button:disabled {
  filter: alpha(opacity=30); /* IE8 */
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  display: none;
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333;
  display: none;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {
  color: #333;
  font-size: 26px;
}

/* ---- page dots ---- */

.flickity-page-dots {
  display: none;
  position: absolute;
  left:20%;
  bottom: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
  z-index: 9999;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 15px;
  height: 14px;
  margin: 0 5px;
  cursor: pointer;
  /*background:url('../images/kv_btn_bg.png') no-repeat 0 0;*/
}

.flickity-page-dots .dot.is-selected {
  /*background:url('../images/kv_btn_bg_o.png') no-repeat 0 0;*/
}

/*kv 添加图片*/
.main-gallery{
  /*background-color: #faf3e4;*/
  /*padding-left: 3.3333333333%;*/
  /*border-left: 1px solid #c8c8c8;*/
  /*border-right: 1px solid #c8c8c8;*/
  /*border-bottom: 1px solid #c8c8c8;*/
}
.gallery-cell {
  width: 30%;
  float: left;
  padding:20px 1.666666666665% 0;
  /*-webkit-border-radius: 10px;*/
  /*-moz-border-radius: 10px;*/
  /*border-radius: 10px;*/
  /*overflow: hidden;*/
  /*behavior:url(common/pie/PIE.htc);*/
}
.gallery-cell img {
  display: block;
  width: 100%;
}
.main-gallery .is-selected{
  background-color: #f8f8f8;
}
.box{
  position: relative;
}
.main-gallery .masking{
  position: absolute;
  background: url("../images/kv_mask_bg.png") repeat 0 0;
  display: block;
  top:0;
  left:0;
  width: 100%;
  height:100%;
  z-index: 99;
}

/* SP */
@media only screen and (max-width: 1024px){
  /*.main-gallery{*/
    /*padding: 5px 0;*/
  /*}*/
  .gallery-cell {
    width: 30%;
    float: left;
    padding: 20px 15px;
    /* -webkit-border-radius: 10px; */
    /* -moz-border-radius: 10px; */
    /* border-radius: 10px; */
    /* overflow: hidden; */
  }
  .gallery-cell {
    width: 100%;
    padding: 20px;
  }
  .flickity-prev-next-button {
    width: 28px;
    height: 45px;
    margin-top: -20px;
  }
  .is-selected .flickity-prev-next-button {
    display: block;
  }
  .flickity-prev-next-button.previous {
    left: 0;
    background-size: 30% auto;
  }
  .flickity-prev-next-button.next {
    right: 0;
    background-size: 30% auto;
  }
  .flickity-page-dots .dot {
    width: 6px;
    height: 6px;
    margin: 0 3px;
    background-size: 100% 100%;
  }
  .flickity-page-dots .dot.is-selected {
    background-size: 100% 100%;
  }
  .flickity-page-dots {
    left: 14%;
    bottom: 9px;
  }
  .flickity-prev-next-button.previous:hover {
    /*background: url("../images/kv_btn_l.png") no-repeat 0 0;*/
    background-size: 100% 100%;
  }
  .flickity-prev-next-button.next:hover {
    /*background: url("../images/kv_btn_r.png") no-repeat 0 0;*/
    background-size: 100% 100%;
  }
  .flickity-prev-next-button {
    display: block;
  }
}

