/* Lime Image Viewer
// Version：3.5
// Date: 2023-12
// Copyright (c) 2015-2023 Mitsuhiro Tsuda.
// License: Shimakuma (version 3.2312) is released
//          under the GNU General Public License (GPL).
//          See the copyright notice LICENSE.
*/

body {
  text-align: unset;
  margin: 0;
}
div.lime-full{
  margin: 0;
}
div.s14viewer{
  position: relative; display: block;
  background-color: rgba(0,0,0,0.6);
}
div.s14viewer *{
  margin: 0; padding: 0;
  list-style-type: none;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  touch-action: none; -ms-touch-action: none;  /* IE10 タッチデフォルト挙動の停止 */
}
div.s14viewer img{ border: none; }
div.s14v{ position: absolute; overflow: hidden; left: 0; top: 0; }
div.s14f{ position: relative; overflow: hidden;
  -ms-touch-action: none;  /* IE10 タッチデフォルト挙動の停止 */
  touch-action: none; /* IE11 タッチデフォルト挙動の停止 */
}
div.s14p{ position: absolute; left: 0; top: 0; }
div.s14o{ position: absolute; left: 0; top: 0; }
div.s14y{ position: absolute; visibility: hidden; left: 0; top: 0; }
div.s14t{ position: absolute; visibility: hidden; left: 0; top: 0; }
div.s14t img { display: inline-block; width: 100%; height: 100%; pointer-events: none; }

/* Locator */
div.s14loc{
  position: absolute; right: 4px; top: 4px; width: 144px; height: 144px;
  background-color: rgba(0,0,0,0.95);
  /*opacity: 0.95; -ms-filter: "alpha(opacity=95)";*/
  overflow: hidden;
  /*display: none;*/
}
div.s14loc_base{ position: absolute; left: 72px; top: 72px; width: 128px; height: 128px; }
div.s14loc_image{ position: absolute; left: 0; top: 0; }
div.s14loc_area{ position: absolute; left: 0; top: 0; border: 2px solid #f00; }

/* Controller */
div.s14c{
  position: absolute; right: 0; bottom: 0; width: 100%; height: 50px;
  overflow: hidden;
  display: block;
}
div.s14c_back{
  width: 100%; height: 100%;
  background-color: rgba(200,200,200,0.85); /*#666;*/
  /*opacity: 0.8; -ms-filter: "alpha(opacity=80)";*/
}
div.s14c_base{
  position: absolute; right: 0; bottom: 0; width: 100%; height: 50px;
}
div.s14c_unitc{
  position: absolute; left: 50%; bottom: 0; width: 100%; height: 50px;
  margin-left: 0px;
}
div.s14c_bt{
  position: absolute; right: 10px; bottom: 5px;
  width: 40px; height: 40px;
  display: block;
  background-image: url(images/button1x.png); background-repeat: no-repeat; background-position: 0 0;
  overflow: hidden;
  cursor: pointer;
}
div.s14c_logo_bt{
  position: absolute; right: 10px; bottom: 5px;
  width: 40px; height: 40px;
  display: block;
  /*background-image: url(logo.png); background-repeat: no-repeat; background-position: 0 0;*/
  background-image: url(images/button1x.png); background-repeat: no-repeat; background-position: -80px -480px;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
}
div.s14c_index{ background-position: -80px -520px; }
div.s14c_init{ background-position: 0 -80px; }
div.s14c_zoomout{ background-position: 0 -40px; }
div.s14c_zoomin{ background-position: 0 0; }
div.s14c_rotateccw{ background-position: 0 -120px; }
div.s14c_rotatecw{ background-position: -80px -120px; }
div.s14c_locator{ background-position: 0 -200px; }
div.s14c_fullsize{ background-position: 0 -360px; }
div.s14c_pageleft{ background-position: 0 -400px; }
div.s14c_pageright{ background-position: 0 -440px; }
div.s14c_print{ height: 45px; background-position: 0 -520px; }
div.s14c_logo{ background-position: 0 0; }
div.s14c_annote{ background-position: 0 -560px; display: none; }
div.s14c_editor{ background-position: -80px -560px; display: none; }
div.s14c_info{ background-position: -80px -160px; }

/* Controller Left */
div.s14cl{
  position: absolute; left: 0; top: 0; width: 100%; height: 50px;
  overflow: hidden;
  display: none;
}
div.s14cl_back{
  width: 100%; height: 100%;
  background-color: rgba(64,64,64,0.8); /*#666;*/
  /*opacity: 0.8; -ms-filter: "alpha(opacity=80)";*/
}
div.s14cl_base{
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
}
div.s14cl_unitc{
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
}
div.s14cl_subsearch{
  position: absolute; left: 200px;
  bottom: 7px;
  width: 230px; height: 30px;
  display: none;
  overflow: hidden;
}
div.s14cl_subsearch input{
  padding: 2px;
}

/* Indicator */
div.s14c_indicator{
  position: absolute; right: 0px; bottom: 0px;
  width: 50px; height: 5px;
  display: none;
  overflow: hidden;
  background-color: rgba(0,0,0,0.4);
  visibility: hidden;
}
div.s14c_indicator_value{
  width: 0; height: 5px;
  display: block;
  background-color: rgba(128,255,196,0.8);
}
div.s14p_indicator{
  position: absolute; left: 0; bottom: 0;
  width: 40px; height: 5px;
  display: none;
  overflow: hidden;
  background-color: rgba(0,0,0,0.4);
  visibility: hidden;
}
div.s14p_indicator_value{
  width: 0; height: 5px;
  display: block;
  background-color: rgba(255,128,196,0.8);
}

/* Slider unit */
div.s14s{
  position: absolute; left: 0; top: 10px; width: 230px; height: 30px;
  background-image: url(images/parts_slider_base.png);
  background-position: 15px 15px;
  background-repeat: no-repeat;
}
div.s14s_h{
  position: absolute; left: 0; top: 0; width: 30px; height: 30px;
}
div.s14s_bt{
  position: absolute; left: 0; top: 15px; width: 30px; height: 16px;
  background-image: url(images/parts_slider.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}
div.s14s_str{
  position: absolute; right: -3px; top: -5px;
  font-family: sans-serif; font-size: 10pt; font-weight: normal;
  color: #369;
}
div.s14s div.dot{
  position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px;
  background-image: url(images/parts_slider_dot.png);
  background-position: 0 0; background-repeat: no-repeat;
}
div.s14s div.dot100{
  position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px;
  background-image: url(images/parts_slider_dot100.png);
  background-position: 0 0; background-repeat: no-repeat;
}

/* List */
div.s14fl *{
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: none;
  touch-action: none;
}
div.s14fl{
  position: relative;
  width: 100%; height: 100%;
}
div.s14fls{
  position: relative;
  width: 100%; height: 100%;
  background-color: rgba(64, 64, 64, 0.65);
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
div.s14fl_base{
  position: absolute;
  left: 40px; top: 0;
  width: 140px; height: 100%;
  overflow: hidden;
}
/* List, Scroll */
div.s14fl_bar{
  position: absolute; top: 0; left: 0;
  width: 36px; height: 100%;
  background-color: rgba(160,160,160,0.65);
  /*opacity: 0.7;*/
  overflow: hidden;
  cursor: move;
}
div.s14fl_handle{
  position: absolute; top: 0; right: 2px;
  width: 28px; height: 0;
  background-color: rgba(228,228,228,0.8);
  /*border-color: #999;
  border-style: solid;
  border-width: 4px 0 4px 3px;*/
}
div.s14fl_first{
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px;
  background-position: -123px -403px;
  border: 1px solid transparent;
  overflow: hidden;
  opacity: 1;
  /*display: none;*/
}
div.s14fl_last{
  position: absolute; left: 0; bottom: 0;
  width: 34px; height: 34px;
  background-position: -123px -443px;
  border: 1px solid transparent;
  overflow: hidden;
  opacity: 1;
  /*display: none;*/
}

/* Preview List (Page, Annotation) */
#view{
  position: relative;
}
#annotefl{
  position: relative;
  width: 100%; height: 100%;
}
#preview,
#subview{
  position: absolute; left: -1000px; /*bottom: 1px;*/
  top: 5px;
  width: 180px;
  text-align: left;
  /*background-image: url(../myjs/preview.png);
  background-repeat: repeat-y;*/
  /*background-color: rgba(64,64,64,0.8);*/ /*rgba(96,96,96,0.7);*/
  /*background-color: rgba(200, 200, 200, 0.85);*/ /*#666;*/
  overflow: hidden;
  /*overflow: auto;
  -webkit-overflow-scrolling: touch;*/
  /*opacity: 0.95; -ms-filter: "alpha(opacity=95)";*/
  /*display: none;*/
  z-index: 10001;
}
#preview ul,
#subview ul{
  position: relative;
  /*position: absolute; left: 20px; top: 0px; width: 100px; height: 100%;*/
  margin: 0; padding: 0;
  overflow: hidden;
}

#preview li,
#subview li{
  /*display: inline-block;*/
  list-style-type: none;
  position: relative;
  width: auto;
  margin: 0;
  text-align: left;
  border-color: #666;
  border-style: solid;
  border-width: 0 0 1px 0;
}
#preview li{
  padding-top: 0.5rem;
  text-align: center;
}
#preview span{
  display: block;
  padding: 0.25rem 0.5rem 0.5rem;
  color: #eee;
}
#subview span{
  display: block;
  padding: 1rem 0.5rem;
  color: #eee;
}
#preview img{
  border: solid 3px transparent;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  touch-action: none; -ms-touch-action: none;  /* IE10 タッチデフォルト挙動の停止 */
  opacity: 1.0;
  max-width: 80px; max-height: 80px;
}
#preview li.current img{
  border-color: rgba(128,255,255,0.6);
  /*border-color: rgba(255, 0, 0, 0.7);*/
}
#subview li.current span{
  /*background-color: rgba(255,255,255,0.2);*/
  background-color: rgba(255, 255, 255, 0.6);
}

#preview li.section {
  position: relative;
  margin: 5px 0 5px 0;
  width: 100%;
  cursor: pointer;
}
#preview h4{
  position: relative;
  right: 0; top: 0;
  display: block;
  margin: 1em 0;
  padding: 0 2px;
  font-size: 14px;
  font-weight: normal;
  color: #eee;
  text-align: left;
}
#preview ol{
  margin: 0; padding: 0;
  overflow: hidden;
  display: none;
}

/* Annotation Editor */
.s14ae{
  position: absolute; left: 45%; top: 40%;
  width: 160px; height: 160px;
  /*overflow: hidden;*/
  border-style: solid; border-color: rgba(0,255,0,0.6); border-width: 4px;
  background-color: rgba(0,255,0,0,0.0);
  cursor: move;
  z-index: 100;
  display: none;
}
.s14ah{
  position: absolute; right: 0; bottom: 0;
  width: 58px; height: 58px;
  background-color: #0f0;
  opacity: 0.6;
  cursor: pointer;
}
/* Annotation Overlay */
.s14ao{
  position: absolute; left: 0; top: 0;
  width:0; height:0;
  /*-webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -moz-transform-origin: 50% 50%;
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);*/
  opacity: 1.0;
  pointer-events: none;
}
.s14ac{ /* Canvas */
  position: absolute; top: 0; left: 0;
  pointer-events: none;
  opacity: 0.85;
}
.s14ai{ /* Item */
  position: absolute; top: 0; left: 0;
  width: 64px; height: 64px;
  overflow: hidden;
  border-style: solid; border-color: transparent; border-width: 2px;
  background-color: #333;
  cursor: pointer;
  display: none;
  pointer-events: auto;
}
/* SVG Annotation Overlay */
.s14svgo{
  position: absolute; left: 0; top: 0;
  width:0; height:0;
  /*-webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -moz-transform-origin: 50% 50%;
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);*/
  opacity: 1.0;
  /*pointer-events: none;*/
}
.s14svgo polygon,
.s14svgo polyline,
.s14svgo circle,
.s14svgo ellipse,
.s14svgo text{
  cursor: pointer;
}

/* Config */
#s14c_tool{
	position: absolute; right: 4px; bottom: 55px;
	width: 4em;
  z-index: 10002;
}
#s14c_tool li.s14c_conf_item{
	position: relative;
	font-size: 12px;
	width: 120px; height: 36px;
	margin: 1px; padding: 10px 8px 0;
	float: right;
	/*background-color: rgba(64,64,64,0.8);*/ /*rgba(90, 90, 90, 0.8);*/
  background-color: rgba(200, 200, 200, 0.85);
	border: solid rgba(0,0,0,0.4) 1px;
	text-align: right;
	font-weight: normal;
	/*color: #ddd;*/
  color: #333;
	font-family: sans-serif;
	cursor: pointer;
}

/* Information view */
#infoview{
  position: absolute; right: 5px; bottom: 55px;
  width: 240px; height:calc(100% - 10px);
  text-align: left;
  /*background-color: rgba(64,64,64,0.8);*/ /*rgba(96,96,96,0.9);*/
  background-color: rgba(200, 200, 200, 0.75);
  display: none;
  z-index: 10001;
  padding: 5px;
  color: #333;
}
#infodiv{
  position: absolute; left: 10px; top: 40px;
  width: 230px; height: calc(100% - 50px);
  overflow-y: auto;
  padding-right: 10px;
}
#infodiv * {
  font-weight: normal;
  font-size: 1.2rem;
  margin: 0.25em 0;
  line-height: 1.25rem;
}
#infoview dt{
  /*display: inline-block;*/
  margin-right: 0.5em;
  font-weight: bold;
  /*font-size: 0.8rem;*/
}
#infoview dd{
  /*display: inline;*/
  word-break: break-all;
  margin-left: 1em;
  font-weight: normal;
  /*font-size: 0.8rem;*/
}
#infoview dd a{
  /*color: #3ff;*/
  color: #03f;
}
#infoclose{
  color: #333; /*#9ff;*/
  font-weight: bold;
  cursor: pointer;
  /*display: none;*/
  text-align: right;
  font-size: 3rem;
  margin-top: -12px;
}
hr.info{
  opacity: 0.2;
}

.s14svgofloat{
	position: absolute;
	left: 0;
	top: 0;
	font-size: 1rem;
	background-color: #fff;
	min-width: 6rem;
  margin-left: -50%;
  margin-top: -0.6rem;
	/*display: block;*/
	/*z-index: 40012;*/
  /*pointer-events: none;*/
  display: none;
}

@media only screen and (max-width: 499px){
  #infoview{
    padding: 5px;
    /*display: none;*/
  }
}
