@charset "utf-8";

@import "../../../common/css/layout.css";


body {
    background: url(../img/bg.jpg) repeat-y center top;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
}

/*-------------------------------------------------------------------------
  Title
/*-----------------------------------------------------------------------*/


/*-------------------------------------------------------------------------
  Slide
/*-----------------------------------------------------------------------*/

#slide {
  padding: 68px 0;
}
  #slide li {
    width: 18.55%;
    float: left;
    margin: 0 1.6% 1.6% 0;
    background-color: #fff;
  }
  #slide li:nth-child(5n) {
    margin: 0 0 1.6% 0;
  }
    #slide li:hover img {
      opacity: .7;
      cursor: pointer;
    }

    #slide #slider {
      margin: 0 auto;
      text-align: center;
    }
    #slide #slider li {
    }
  #slider ul li {
    display: none;
  }
  #slider .close {
    width: 5.6%;
    top: 2%;
    right: 4%;
  }


.modaal-image .modaal-container {
    width: auto;
    max-width: 100%;
}
.modaal-wrapper .modaal-close {
  top: 60px;
  width: 80px;
  height: 80px;
  background: url(../img/slide/btn_close_off.png) no-repeat center;
  border-radius: 0;
}
  .modaal-close:hover {
    outline: none;
    background: url(../img/slide/btn_close_on.png) no-repeat center;
  }
  .modaal-close:before, .modaal-close:after {
    content: none;
  }
.modaal-gallery-control {
  top: 50%;
  width: 58px;
  height: 100px;
  border-radius: 0;
}
  .modaal-gallery-control span {
    clip: none;
    /* IE6, IE7 */
    clip: none;
 }
  .modaal-gallery-control:focus, .modaal-gallery-control:hover {
    background: none;
  }
  .modaal-gallery-control:before, .modaal-gallery-control:after {
    content: none;
  }

.modaal-gallery-next {
  top: calc( 50% - 50px );
  position: absolute;
  right: 4%;
  background: url(../img/slide/btn_next_off.png) no-repeat center;
  -webkit-background-size: cover;
  background-size: cover;
}
.modaal-gallery-next:hover {
  background: url(../img/slide/btn_next_on.png) no-repeat center;
  -webkit-background-size: cover;
  background-size: cover;
}
.modaal-gallery-prev {
  margin-left: -100px;
  top: calc( 50% - 50px );
  position: absolute;
  left: 4%;
  background: url(../img/slide/btn_prev_off.png) no-repeat center;
  -webkit-background-size: cover;
  background-size: cover;
}
.modaal-gallery-prev:hover {
  background: url(../img/slide/btn_prev_on.png) no-repeat center;
  -webkit-background-size: cover;
  background-size: cover;
}

@media only screen and (max-width: 1140px) {
  .modaal-gallery-control {
    width: 29px;
    height: 50px;
    top: auto;
    bottom: -56px;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
    .modaal-gallery-control:before, .modaal-gallery-control:after {
      background: #fff; }
  .modaal-gallery-next {
    left: auto;
    margin-left: 40px;
    right: 20px; }
  .modaal-gallery-prev {
    left: 20px;
    margin-left: 0;
    margin-right: 40px;
    right: auto; } }
