/**
 * bxSlider v4.2.5
 * Copyright 2013-2015 Steven Wanderski
 * Written while drinking Belgian ales and listening to jazz

 * Licensed under MIT (http://opensource.org/licenses/MIT)
 */

/** VARIABLES 
===================================*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper img {
  max-width: 100%;
  display: block;
}

.bxslider {
  margin: 0;
  padding: 0;
}

ul.bxslider {
  list-style: none;
}

.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
}

/** THEME
===================================*/
.bx-wrapper {
  /*
  -moz-box-shadow: 0 0 5px #ccc;
  -webkit-box-shadow: 0 0 5px #ccc;
  box-shadow: 0 0 5px #ccc;
  border: 5px solid #fff;
  background: #fff;
*/
  width: 100%;
  float: left;
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -40px;
  width: 100%;
}

/* LOADER */
.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url('images/bx_loader.gif') center center no-repeat #ffffff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-bottom: 12px;
  background-color: #FFFFFF;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: #cccccc;
  text-indent: -9999px;
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 4px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #F68014;
}

.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

.bx-wrapper .bx-pager-item {
  font-size: 0;
  line-height: 0;
}

/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: 0;
  background: url('images/controls.svg') no-repeat;
  transform: scale(-1, 1);
  transition: .3s;
}

.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-prev:focus {
  background-position: 0 0;
  opacity: .7;
  transition: .3s;
}

.bx-wrapper .bx-next {
  right: 0;
  background: url('images/controls.svg') no-repeat;
  transition: .3s;
}

.bx-wrapper .bx-next:hover,
.bx-wrapper .bx-next:focus {
  opacity: .7;
  transition: .3s;
}

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 33%;
  outline: 0;
  width: 50px;
  height: 175px;
  text-indent: -9999px;
  z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}

/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
  text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url('images/controls.svg') no-repeat;

  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-start:focus {
  background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -44px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active,
.bx-wrapper .bx-controls-auto .bx-stop:focus {
  background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}


@media screen and (min-width: 641px) {

  /* bxslider */
  .bx-wrapper {
    position: relative;
    /* margin: 0 auto 60px; */
    padding: 0;
    /* *zoom: 1; */
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    width: 100%;
  }

  .bx-wrapper .bx-caption span {
    color: #fff;
    font-family: Meiryo, メイリオ, "ＭＳ ゴシック", "MS Gothic", "Osaka－等幅", "Osaka-mono", "monospace";
    font-size: 15px;
    line-height: 21px;
    font-weight: bold;
    display: block;
    font-size: .85em;
    padding: 6px;
  }

  /* IMAGE CAPTIONS */
  .bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #012563;
    /*background: rgba(1, 37, 99, 0.7);*/
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 53px;
  }



}

@media screen and (max-width: 767px) {

  /* .bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
        bottom: -70px;
  } */

  .bx-wrapper .bx-caption span {
    color: #fff;
    font-family: Meiryo, メイリオ;
    line-height: 17px;
    font-weight: bold;
    display: block;
    font-size: .85em;
    padding: 28px 6px 6px 6px;
  }

  /* IMAGE CAPTIONS */
  .bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #012563;
    /*background: rgba(1, 37, 99, 0.7);*/
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 70px;
  }

  .bx-wrapper {
    position: relative;
    margin: 0 auto 4px;
    padding: 0;
    /* *zoom: 1; */
    /* -ms-touch-action: pan-y;
  touch-action: pan-y; */
    width: 100%;
  }

  .bx-prev,
  .bx-next {
    display: none;
  }



}