@import url('https://fonts.googleapis.com/css?family=Karla&display=swap" rel="stylesheet');
@import url('https://fonts.googleapis.com/css?family=Marcellus&display=swap" rel="stylesheet');
.mCSB_scrollTools .mCSB_draggerRail {
  background-color: rgba(125, 122, 102, 0.4);
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #c7c08e;
}

.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background-color: #c7c08e;
}

.box-work {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.work {
  width: 100vw;
  height: calc(100% - 50px);
  margin: auto;
  position: relative;
}
.work li {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.work img {
  height: 100%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.work-top {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid rgba(125, 122, 102, 0.4);
  border-top: 0;
  box-sizing: border-box;
  padding: 15px 10vw;
  z-index: 31;
}
.work-name {
  text-align: center;
  position: absolute;
  left: 400px;
  right: 400px;
  color: #fff;
  font-size: 16px;
}
.work-name:before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: #c7c08e;
  margin-right: 10px;
  margin-bottom: 4px;
}
.work-name:after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: #c7c08e;
  margin-left: 10px;
  margin-bottom: 4px;
}
.work-info {
  position: absolute;
  left: -550px;
  top: 50%;
  width: 380px;
  height: 60vh;
  border-top: 5px solid rgba(125, 122, 102, 0.4);
  border-bottom: 5px solid rgba(125, 122, 102, 0.4);
  background-color: white;
  border-radius: 20px;
  padding: 50px 50px 50px 100px;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -moz-transition: left 0.8s ease-in-out;
  -o-transition: left 0.8s ease-in-out;
  -webkit-transition: left 0.8s ease-in-out;
  transition: left 0.8s ease-in-out;
  z-index: 30;
}
.work-info li {
  position: relative;
  border-top: 1px solid rgba(125, 122, 102, 0.4);
  padding: 5px 0 10px 75px;
}
.work-info li span {
  position: absolute;
  top: 5;
  left: 0;
}
.work-info li:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background-color: #c7c08e;
}
.work-info li:last-child {
  border-bottom: 1px solid rgba(125, 122, 102, 0.4);
}
.work-info.showinfo {
  left: -20px;
}
.work-infobox {
  max-height: 100%;
}
.work-infocontent {
  line-height: 1.8em;
  padding: 30px 0;
  border-bottom: 1px solid rgba(125, 122, 102, 0.4);
}
.work-infoclose {
  cursor: pointer;
  position: absolute;
  top: 30px;
  right: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: #fff;
  background-color: #c7c08e;
  border-radius: 50%;
  -moz-transition: opacity 0.3s, -moz-transform 0.5s;
  -o-transition: opacity 0.3s, -o-transform 0.5s;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.5s;
  transition: opacity 0.3s, transform 0.5s;
}
.work-infoclose:hover {
  opacity: 0.8;
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.work-back {
  vertical-align: middle;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  opacity: 0.7;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.work-back:hover {
  opacity: 0.9;
}
.work-right {
  float: right;
}
.work-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  background-color: #000;
  border-top: 1px solid rgba(125, 122, 102, 0.4);
  box-sizing: border-box;
  padding: 15px 10vw;
  z-index: 31;
}
.work-bottom .infoicon {
  vertical-align: middle;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  opacity: 0.7;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  margin-top: 1px;
  margin-right: 20px;
}
.work-bottom .infoicon:hover {
  opacity: 0.9;
}
.work-bottom .pin {
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  margin-right: 20px;
}
.work-bottom .pin img {
  width: 19px;
  height: 19px;
}
.work-dtext {
  width: 100%;
  max-width: 1000px;
  padding: 80px 0;
  margin: auto;
}
.work-dtext p {
  line-height: 1.5em;
  margin-bottom: 30px;
}
.work-dtext h3 {
  color: #fff;
  margin-bottom: 20px;
}
.work-dtext img {
  width: 100%;
  margin-bottom: 30px;
}
.work-dtext .link {
  text-decoration: underline;
}
.work-dtext p,
.work-dtext h3 {
  text-align: left;
}
.work-control {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 2px;
}

.bnprev,
.bnnext {
  cursor: pointer;
  color: #c7c08e;
  opacity: 0.7;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.bnprev:hover,
.bnnext:hover {
  opacity: 1;
}

.bnprev i {
  margin: 0 20px;
}

.bnpage {
  width: 80px;
  text-align: right;
}

@media screen and (max-width: 1600px) {
  .box-work .pin {
    right: 5vw;
  }

  .work-top {
    padding: 15px 5vw;
  }
  .work-bottom {
    padding: 15px 5vw;
  }
}
@media screen and (max-width: 1100px) {
  .box-work {
    height: unset;
    width: 100%;
    overflow: unset;
    margin: 0;
  }

  .work {
    height: unset;
    width: 100%;
    margin-bottom: 50px;
  }
  .work li {
    position: relative;
    margin-bottom: 10px;
  }
  .work li a,
  .work li span {
    display: inline-block;
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;
  }
  .work img {
    max-width: unset;
    max-height: unset;
    margin: auto;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  .work-info {
    width: unset;
    height: 0;
    position: relative;
    top: 0;
    left: 0;
    border-radius: 0;
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    padding: 0 5vw;
    margin-top: 52px;
    border-bottom: 0;
    -moz-transition: height 0.5s;
    -o-transition: height 0.5s;
    -webkit-transition: height 0.5s;
    transition: height 0.5s;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
  }
  .work-info ul {
    pointer-events: none;
  }
  .work-info .work-infobox {
    pointer-events: none;
    opacity: 0;
    -moz-transition: opacity 0s;
    -o-transition: opacity 0s;
    -webkit-transition: opacity 0s;
    transition: opacity 0s;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
  }
  .work-info.showinfo {
    left: 0;
    height: unset;
    padding: 30px 5vw;
    border-bottom: 5px solid rgba(125, 122, 102, 0.4);
  }
  .work-info.showinfo ul {
    pointer-events: auto;
  }
  .work-info.showinfo .work-infobox {
    pointer-events: auto;
    opacity: 1;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
    -moz-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }
  .work-infoclose {
    display: none;
  }
  .work-control {
    display: none;
  }
  .work-name {
    float: left;
    position: relative;
    left: unset;
    right: unset;
  }
  .work-bottom {
    position: fixed;
    top: 0;
    bottom: unset;
  }
  .work-dtext {
    padding: 30px 0;
  }
}
@media screen and (max-width: 800px) {
  .box-work {
    margin-top: 100px;
  }

  .work-top {
    padding: 15px 20px;
  }
  .work-name {
    float: none;
    text-align: left;
    margin-bottom: 15px;
  }
  .work-right {
    float: none;
    text-align: right;
    border-top: 1px solid rgba(125, 122, 102, 0.4);
    padding-top: 15px;
  }
  .work-bottom {
    height: auto;
    padding: 15px 20px;
  }
  .work-bottom .infoicon {
    margin-right: 10px;
  }
  .work-bottom .pin {
    margin-right: 10px;
  }
  .work-bottom .pin img {
    width: 18px;
    height: 18px;
  }
  .work-info {
    padding: 0 20px;
  }
  .work-info.showinfo {
    padding: 20px;
  }
  .work-detail {
    margin: 0 20px;
  }
  .work-dtext {
    padding-top: 0;
  }
}
@media screen and (max-width: 640px) {
  .box-work {
    margin-top: 90px;
  }

  .work-bottom {
    padding-bottom: 10px;
  }

  .work-right {
    padding-top: 10px;
  }
}
@media screen and (max-width: 460px) {
  .work {
    width: 100%;
  }
}
