@charset "utf-8";
/*!
 * DLsite sample popover
 * copyright 2013 EISYS, Inc.
 */

#work_sample:after {
  display: block;
  content: "";
  clear: both;
}

#work_sample span a {
  position: relative;
  top: 0;
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

#work_sample span a:before, .dlpopup-sidebar a:before {
  position: relative;
  bottom: 0;
  right: 0;
  content: '';
  display: block;
  width: 100px;
  height: 100px;
  background-position: right bottom;
  background-repeat: no-repeat;
}

.chobit-video:before {
  background-image: url(/images/web/common/chobit-thumb-video.png);
}

.chobit-audio:before {
  background-image: url(/images/web/common/chobit-thumb-audio.png);
}

.chobit-book:before {
  background-image: url(/images/web/common/chobit-thumb-book.png);
}

#work_visual {
  position: relative;
  margin-bottom: 10px;
  height: 450px;
  width: 450px;
  border: 1px solid #bababa;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#work_visual.wide-visual {
  width: 560px!important;
}

.dlpopup-work-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  background-color: #fff;
  background-position: center center;
  background-repeat: no-repeat;
}

.dlpopup-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: #fff;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9000;
  font-size: 16px;
  font-weight: bold;
  padding: 17px 25px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.dlpopup-popup {
  position: absolute;
  top: 50px;
  right: 25px;
  bottom: 25px;
  left: 25px;
  background-color: #fff;
  box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  z-index: 9100;

}

.dlpopup-close {
  position: absolute;
  top: -25px;
  right: -20px;
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(/images/web/common/popover-close.png);
  z-index: 100;
}

.dlpopup-leftpane {
  position: relative;
  height: 100%;
  margin-right: 260px;
}

.dlpopup-tool {
  position: absolute;
  bottom: 5px;
  left: 25px;
  right: 0px;
  height: 25px;
  text-align: center;
}

.dlpopup-zoomable {
  float: left;
  font-size: 13px;
  color: #000;
}

.dlpopup-description {
  float: right;
  color: #000;
  font-size: 12px;
}

.dlpopup-description span {
  margin-right: 10px;
}

.dlpopup-rightpane {
  position: relative;
  float: right;
  width: 250px;
  height: 100%;
}

.dlpopup-mainbox {
  position: absolute;
  top: 26px;
  left: 25px;
  right: 0;
  bottom: 40px;
  border: 1px solid #bababa;
  background-color: #f5f5f5;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.dlpopup-arrows {
  position: absolute;
  bottom: 40px;
  left: 6px;
  right: 16px;
  height: 30px;
  text-align: center;
}

.dlpopup-button {
  text-align: center;
}

.dlpopup-count {
  text-align: center;
  font-size: 14px;
  color: #000;
  margin-top: 10px;
}

.dlpopup-prev, .dlpopup-next {
  cursor: pointer;
}

.dlpopup-prev {
  margin-right: 10px;
}

.dlpopup-sidebar {
  position: absolute;
  top: 25px;
  bottom: 85px;
  width: 250px;
  overflow-x: none;
  overflow-y: auto;
}

.dlpopup-sidebar a {
  position: relative;
  width: 100px;
  height: 100px;
  display: inline-block;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 1px 1px 11px 11px ;
  border: 1px solid #bababa;
}

.dlpopup-sidebar a:after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  width: 100px;
  height: 100px;
  z-index: 3px;
  background-color: rgba(255,255,255,.3);
  -webkit-transition: background-color 100ms ease;
  -moz-transition: background-color 100ms ease;
  -ms-transition: background-color 100ms ease;
  transition: background-color 100ms ease;
}

.dlpopup-sidebar a:hover:after, .dlpopup-sidebar a.active:after {
  background-color: transparent;
}

.dlpopup-sidebar a:hover {
  border: 2px solid #5073cb;
  margin: 0 0 10px 10px;
}

.dlpopup-sidebar a.active {
  border: 2px solid #ffaa00;
  margin: 0 0 10px 10px;
}
