/* --------------------------------------
virtual popup 
---------------------------------------*/
button.imgbtn {
  padding : 3px 4px;
  overflow : visible;
  line-height : 1.1;
}
button.imgbtn img {
  padding : 0 0 0 2px;
  vertical-align : -3px;
}
button.popup_imgbtn {
  padding : 3px 5px;
  overflow : visible;
}
button.popup_imgbtn img {
  padding : 0 0 0 2px;
  vertical-align : -3px;
}

div.amvpop_content table {
  margin : 10px auto;
}
div.pop_message table td {
  padding : 2px;
}
/*---------------------------------------*/

html {
  width : 100%;
  height : 100%;
  min-width : 540px;
  overflow-y : hidden;
  font-size : 625%;
}
body {
  margin : 0;
  padding : 0;
  width : 100%;
  height : 100%;
  font-size : .16em;
}
.fileprev_wrap {
  width : 100%;
  height : 100%;
  overflow : hidden;
}
.fileprev_toolbar {
  position : fixed;
  display : flex;
  justify-content : space-between;
  align-items : center;
  height : 28px;
  width : calc(100% - 20px);
  min-width : 400px;
  padding: 2px 10px;
  border-top : 1px solid #999;
  border-bottom : 1px solid #999;
  background-color : #f0f0f0;
  font-size : .14rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.26)
}
.fileprev_toolbar img {
  vertical-align : middle;
}
.fileprev_toolbar_left {
  flex-grow : 1;
  width : calc(100% - 100px);
  display : flex;
}
.fileprev_toolbar_left.zip_scalable {
  width : calc(100% - 280px);
}
.fileprev_toolbar_right {
  width : 88px;
  white-space : nowrap;
}
.fileprev_toolbar_right.zip_scalable {
  width : 270px;
}
.fileprev_toolbar_left img {
  padding-right : 8px;
}
.zoom_slider {
  white-space : nowrap;
  display : flex;
  line-height : .24rem;
}
.zoom_slider input {
  width : 129px;
  margin : 2px;
}
.zip_nav img {
  padding : 0 0 0 4px;
  cursor : pointer;
}
.fileprev_toolbar_right.zip_scalable {
  display : flex;
  justify-content : flex-end;
  align-items : center;
}
.fileprev_toolbar_left.zip_scalable {
  white-space : nowrap;
}
.fileprev_size {
  width : 80px;
  padding-left : 3px;
  line-height : .24rem;
  flex : 0 0 75px;
}
.imgbtn.fileprev_dl {
  padding : 1px 2px 0 0;
  margin-right : 3px;
  font-size : .14rem;
  white-space : nowrap;
  line-height : initial;
  flex: 0 0 auto;
}
.imgbtn.fileprev_dl:lang(en) {
  padding : 0 2px 1px 0;
}
.fileprev_main {
  height : calc(100% - 42px);
  padding: 5px;
  background-color : #fff;
  margin-top : 34px;
  overflow : auto;
}
.fileprev_main.fix {
  height : calc(100% - 42px);
  background-color : #e0e0e0;
}
.filevprev_scale {
  position : fixed;
  height : 16px;
  padding : 0 2px;
  right : 5px;
  font-size : 12px;
  background-color : rgba( 255, 255, 255, .6 );
  z-index : 99;
}
.fileprev_img {
  width : 100%;
  height : 100%;
  margin : 0;
  position : relative;
  overflow : hidden;
}
/*
.preview_img {
  position : absolute;
  top : 50%;
  left : 50%;
  max-width : 100%;
  max-height : 100%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  object-fit : scale-down;
}
*/

.preview_pict {
  position : absolute;
  top : 50%;
  left : 50%;
  max-height: 100%;
  max-width: 100%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}

.fileprev_main p {
  margin : 1em 0 1em 16px;
  font-size : .14rem;
}

/* 2ペイン */
.fileprev_main.pane {
  display : flex;
  padding : 0;
  height : calc(100% - 33px);
  flex : 0 1 auto;
}
.filevprev_thumb {
  width : 160px;
  height : 100%;
  overflow-y : auto;
  overflow-x : hidden;
  border-right : 1px solid #333;
  background-color : #fff;
  flex : 0 0 160px;
}
.filevprev_thumb ol {
  padding : 0;
  margin : 0;
}
.filevprev_thumb li {
  background-color : #fff;
  text-align : center;
  list-style : none;
  border : 1px solid #ccc;
  border-radius : 4px;
  margin : 5px;
  font-size : .14rem;
  white-space : nowrap;
  overflow : hidden;
  text-overflow: ellipsis;
}
.filevprev_thumb li.selected {
  background-color : #ffff00;
}
.filevprev_thumb li:hover {
  background-color : #fffacd;
  cursor : pointer;
}
.filevprev_thumb img {
  width : 100%;
  opacity : .8;
  vertical-align : bottom;
}
.filevprev_thumb ol > div {
  font-size : .12rem;
  margin : 5px;
  padding : 5px;
  border : 1px solid #ccc;
  border-radius : 4px;
  background-color : #e0e0e0;
}

.fileprev_page {
  width : calc(100% - 160px);
  height : 100%;
  overflow-y : auto;
  overflow-x : auto;
  background-color : #e0e0e0;
}
.fileprev_contents {
  margin : 5px;
}
.fileprev_contents > div {
  white-space : nowrap;
}
.fileprev_contents > div img {
  vertical-align : middle;
}
.fileprev_image_content {
  text-align : center;
}
.fileprev_contents.multipages img {
  border : 1px solid #ccc;
}
.filevprev_pageno {
  position : sticky;
  height : 16px;
  padding : 0 2px;
  font-size : 12px;
  text-align : right;
}
/* zip */
.file_list_wrap {
  padding-top : .3em;
}
.zip_list {
  list-style : none;
  padding-left : 16px;
  margin : 0;
}
/*.fileprev_main > .zip_list {
  padding-top : 5px;
  padding-bottom : 5px;
  border-bottom : 1px dashed #999;
}*/
.zip_list a {
  color : #000;
  font-size : .14rem;
  text-decoration : none;
  min-height : 16px;
  padding-left : 16px;
  background-repeat : no-repeat;
  background-position : center left;
  white-space : nowrap;
  cursor : pointer;
}
.zip_list a.folder {
  background-image : url(../../img/standard/tree/folder.gif);
  cursor : default;
}
.folder.empty {
  color : #999;
  cursor : default;
}
.fileprev_name {
  white-space : nowrap;
  overflow : hidden;
  text-overflow: ellipsis;
  display : inline-block;
  vertical-align : middle;
  flex : 0 1 auto;
  line-height : .24rem;
}

.thumbimg_list {
}
.img_iframe {
  height: 100%;
  width: 100%;
  visibility: hidden;
  display: none;
  padding: 0px;
  border: 0px;
}

.hidden_iframe {
  visibility : hidden;
  width : 0;
  height : 0;
}

.loader {
  margin: 100px auto;
  font-size: 25px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: auto;
  text-indent: -9999em;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader.small {
  margin: 50px auto;
  font-size: 9px;
}
p.pre {
  text-align : center;
}

@keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #87cefa, 1.8em -1.8em 0 0em rgba(175,221,250, 0.2), 2.5em 0em 0 0em rgba(175,221,250, 0.2), 1.75em 1.75em 0 0em rgba(175,221,250, 0.2), 0em 2.5em 0 0em rgba(175,221,250, 0.2), -1.8em 1.8em 0 0em rgba(175,221,250, 0.2), -2.6em 0em 0 0em rgba(175,221,250, 0.5), -1.8em -1.8em 0 0em rgba(175,221,250, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(175,221,250, 0.7), 1.8em -1.8em 0 0em #87cefa, 2.5em 0em 0 0em rgba(175,221,250, 0.2), 1.75em 1.75em 0 0em rgba(175,221,250, 0.2), 0em 2.5em 0 0em rgba(175,221,250, 0.2), -1.8em 1.8em 0 0em rgba(175,221,250, 0.2), -2.6em 0em 0 0em rgba(175,221,250, 0.2), -1.8em -1.8em 0 0em rgba(175,221,250, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(175,221,250, 0.5), 1.8em -1.8em 0 0em rgba(175,221,250, 0.7), 2.5em 0em 0 0em #87cefa, 1.75em 1.75em 0 0em rgba(175,221,250, 0.2), 0em 2.5em 0 0em rgba(175,221,250, 0.2), -1.8em 1.8em 0 0em rgba(175,221,250, 0.2), -2.6em 0em 0 0em rgba(175,221,250, 0.2), -1.8em -1.8em 0 0em rgba(175,221,250, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(175,221,250, 0.2), 1.8em -1.8em 0 0em rgba(175,221,250, 0.5), 2.5em 0em 0 0em rgba(175,221,250, 0.7), 1.75em 1.75em 0 0em #87cefa, 0em 2.5em 0 0em rgba(175,221,250, 0.2), -1.8em 1.8em 0 0em rgba(175,221,250, 0.2), -2.6em 0em 0 0em rgba(175,221,250, 0.2), -1.8em -1.8em 0 0em rgba(175,221,250, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(175,221,250, 0.2), 1.8em -1.8em 0 0em rgba(175,221,250, 0.2), 2.5em 0em 0 0em rgba(175,221,250, 0.5), 1.75em 1.75em 0 0em rgba(175,221,250, 0.7), 0em 2.5em 0 0em #87cefa, -1.8em 1.8em 0 0em rgba(175,221,250, 0.2), -2.6em 0em 0 0em rgba(175,221,250, 0.2), -1.8em -1.8em 0 0em rgba(175,221,250, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(175,221,250, 0.2), 1.8em -1.8em 0 0em rgba(175,221,250, 0.2), 2.5em 0em 0 0em rgba(175,221,250, 0.2), 1.75em 1.75em 0 0em rgba(175,221,250, 0.5), 0em 2.5em 0 0em rgba(175,221,250, 0.7), -1.8em 1.8em 0 0em #87cefa, -2.6em 0em 0 0em rgba(175,221,250, 0.2), -1.8em -1.8em 0 0em rgba(175,221,250, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(175,221,250, 0.2), 1.8em -1.8em 0 0em rgba(175,221,250, 0.2), 2.5em 0em 0 0em rgba(175,221,250, 0.2), 1.75em 1.75em 0 0em rgba(175,221,250, 0.2), 0em 2.5em 0 0em rgba(175,221,250, 0.5), -1.8em 1.8em 0 0em rgba(175,221,250, 0.7), -2.6em 0em 0 0em #87cefa, -1.8em -1.8em 0 0em rgba(175,221,250, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(175,221,250, 0.2), 1.8em -1.8em 0 0em rgba(175,221,250, 0.2), 2.5em 0em 0 0em rgba(175,221,250, 0.2), 1.75em 1.75em 0 0em rgba(175,221,250, 0.2), 0em 2.5em 0 0em rgba(175,221,250, 0.2), -1.8em 1.8em 0 0em rgba(175,221,250, 0.5), -2.6em 0em 0 0em rgba(175,221,250, 0.7), -1.8em -1.8em 0 0em #87cefa;
  }
}

