@CHARSET "UTF-8";

/*  Image Uploader
--------------------------------------------------------- */

div.insert-image {
  margin: -300px 0 0 -400px;
  width: 800px;
  height: 610px;
  position: absolute;
  color: #333;
  background-color: #fff;
  overflow-y: auto;
  font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, メイリオ, 'ヒラギノ角ゴ ProN W3', sans-serif;
  font-size: 12px;
}

div.control-box.insert-image {
  width: 800px;
}

div.insert-image a {
  text-decoration: none;
}

div.insert-image .control-main {
}

div.insert-image a.input-button {
  padding-top: 6px;
  border: 1px #999 solid;
  display: inline-block;
  width: 130px;
  height: 22px;
  color: #000;
  background: url('/static/img/tl/dekisugi/common/background/button-off.gif') no-repeat 0 0;
  font-size: 0.8em;
  text-align: center;
  text-decoration: none;
}

div.insert-image a.input-button:hover {
  background-image: url('/static/img/tl/dekisugi/common/background/button-on.gif');
}

div.insert-image img.icon {
  padding-bottom: 7px;
  padding-left: 4px;
}

/* upload-head */
div.insert-image .upload-head {
  padding: 1px 10px;
  position: relative;
  min-height: 16px;
  color: #fff;
  background-color: #88c30a;
  font-weight: bold;
  font-size: 1.2em;
}

div.insert-image .upload-head a.close {
  position: absolute;
  top: 4px;
  right: 10px;
}

/* upload-menu */
div.insert-image .upload-menu {
  margin: 20px 20px 0;
  position: relative;
  font-size: 13px;
}

div.insert-image .upload-menu a,
div.insert-image .upload-menu span {
  margin-right: 5px;
  padding: 8px 0;
  display: inline-block;
  width: 170px;
  background: url('/static/img/tl/dekisugi/common/background/bg-header-white.png') 0 0 no-repeat;
  text-align: center;
}

div.insert-image .upload-menu a {
  background-color: #eee;
}

div.insert-image .upload-menu a:hover,
div.insert-image .upload-menu span {
  color: #fff;
  background-color: #29bcfd;
  /*
  background-color: #88c30a;
  */
  text-decoration: none;
}

div.insert-image .upload-menu p {
  position: absolute;
  right: 0;
  bottom: 5px;
}

div.insert-image .image-uploader-main {
  margin: 0 20px;
  padding-bottom: 20px;
  min-height: 475px;
  border: 1px solid #29bcfd;
}

/* upload-box */
div.insert-image .upload-box,
div.insert-image .manager-box {
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

div.insert-image .upload-box table {
  width: 100%;
  font-size: 1.2em;
}

div.insert-image .upload-box table th {
  padding-bottom: 10px;
  font-weight: normal;
}

div.insert-image .upload-box table th.num {
  width: 25px;
}

div.insert-image .upload-box table th.title {
  width: 200px;
}

div.insert-image .upload-box table tbody th,
div.insert-image .upload-box table tbody td {
  padding: 10px 0;
}

div.insert-image .upload-box table tbody td input[type="text"],
div.insert-image .manager-box .manager-edit p input[type="text"],
div.insert-image dl.url-upload dd input[type="text"] {
  padding: 5px;
  width: 250px;
}

div.insert-image .upload-notice {
  margin-top: 20px;
  color: #f00;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
}

/* manager-box */
div.insert-image .manager-box {
  height: 260px;
  overflow-y: auto;
}

div.insert-image .manager-box p.no-image,
div.insert-image .manager-box p.uploading {
  margin-bottom: 10px;
  font-size: 1.2em;
  text-align: center;
}

div.insert-image .manager-box ul {
  margin-bottom: 20px;
  width: 680px;
  overflow: hidden;
}

div.insert-image .manager-box ul li {
  margin-left: 20px;
  float: left;
  width: 80px;
}

div.insert-image .manager-box ul.shop-material li {
  margin: 0 10px 10px 0;
  float: left;
  width: 80px;
  height: 80px;
  text-align: center;
}

div.insert-image .manager-box ul li:first-child {
  margin-left: 0;
}

div.insert-image .manager-box ul.shop-material li a {
  width: 80px;
  height: 80px;
  vertical-align: middle;
  display: table-cell;
}

div.insert-image .manager-box ul li.edit {
  padding-bottom: 16px;
  background: url('/static/img/ds/shop/service/sd/background/uploader-cursor.gif') 30px 100% no-repeat;
}

div.insert-image .manager-box ul li p.pht,
div.insert-image .manager-box ul li p.material {
  position: relative;
  width: 80px;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
}

div.insert-image .manager-box ul li p.pht a:hover,
div.insert-image .manager-box ul li p.material a:hover {
  opacity: 0.75;
}

div.insert-image .manager-box ul li.edit p.pht,
div.insert-image .manager-box ul li.edit p.material {
  border: 5px solid #c00;
  overflow: hidden;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

div.insert-image .manager-box ul li.edit p.pht:hover,
div.insert-image .manager-box ul li.edit p.material:hover {
  opacity: 1;
}

div.insert-image .manager-box ul li.edit p.pht img,
div.insert-image .manager-box ul li.edit p.material img {
  margin: -5px;
}

div.insert-image .manager-box ul li.checked.edit p.pht img.check,
div.insert-image .manager-box ul li.checked.edit p.material img.check {
  top: -5px;
  left: -5px;
}

div.insert-image .manager-box ul li.checked p.pht img.check,
div.insert-image .manager-box ul li.checked p.material img.check {
  margin: 0;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  z-index: 10;
}

div.insert-image .manager-box ul li p.edit {
  margin-top: 3px;
  text-align: right;
  font-size: 1.2em;
}

div.insert-image .manager-box .manager-edit {
  margin: -20px 0 20px;
  padding: 15px 20px 10px;
  width: 640px;
  position: relative;
  background-color: #e5f8ff;
}

div.insert-image .manager-box .manager-edit p {
  margin-bottom: 5px;
  font-size: 1.2em;
}

div.insert-image .manager-box .manager-edit p input[type="text"] {
  margin: 0 5px;
}

div.insert-image .manager-box .manager-edit a.delete {
  background-position: 0 5px;
}

div.insert-image .manager-box .manager-edit a.close {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* url-upload */
div.insert-image dl.url-upload {
  margin: 20px;
  font-size: 1.2em;
  margin-bottom: 0px;
}

div.control-box div.control-main dl {
  /*
  margin-bottom: 20px;
  */
}

div.insert-image dl.url-upload dt {
  font-weight: bold;
}

div.insert-image dl.url-upload dd {
  margin-bottom: 10px;
}

div.insert-image dl.url-upload dd input[type="text"] {
  width: 400px;
}

/*.ctrl-box */
div.insert-image .ctrl-box {
  padding: 8px 20px;
  background-color: #e5f8ff;
  /*
  background-color: #ebf7c7;
  */
}

#external-form .ctrl-box {
  margin-top: 30px;
}

div.insert-image .ctrl-box dl {
  padding: 8px 0 3px;
}

div.insert-image .ctrl-box dl dt,
div.insert-image .ctrl-box dl dd {
  display: inline-block;
}

div.insert-image .ctrl-box dl dt {
  font-weight: bold;
  width: 110px;
}

div.insert-image .ctrl-box dl dt img {
  margin-left: 5px;
  vertical-align: middle;
}

div.insert-image .ctrl-box dl dd {
  margin-right: 10px;
}

div.insert-image .ctrl-box dl dd input[type="text"] {
  width: 400px;
}

div.insert-image .ctrl-box dl dd input[type="radio"] {
  margin-right: 3px;
}

div.insert-image .ctrl-box dl dd span {
  color: #03c;
}

div.insert-image .ctrl-box dl dd span:hover {
  cursor: pointer;
}

/* button-box */
div.insert-image .button-box {
  margin-top: 20px;
  text-align: center;
}

div.insert-image .button-box a,
div.insert-image .button-box span {
  margin: 0 auto;
  display: block;
  width: 300px;
  height: 40px;
  background-position: 0 -40px;
  background-repeat: no-repeat;
  text-indent: -9999px;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
}

div.insert-image .button-box a:hover,
div.insert-image .button-box span.on:hover {
  opacity: 0.6;
  cursor: pointer;
}

div.insert-image .button-box span {
  background-position: 0 0;
}

div.insert-image .button-box a.upload,
div.insert-image .button-box span.upload {
  background-image: url('/static/img/ds/shop/service/sd/button/image-upload.png');
}

div.insert-image .button-box a.upload,
div.insert-image .button-box span.upload {
  background-image: url('/static/img/ds/shop/service/sd/button/image-upload.png');
}

div.insert-image .button-box a.upload.on,
div.insert-image .button-box span.upload.on,
div.insert-image .button-box a.select.on,
div.insert-image .button-box span.select.on,
div.insert-image .button-box a.insert.on,
div.insert-image .button-box span.insert.on {
  background-position: center -40px;
}

div.insert-image .button-box a.select,
div.insert-image .button-box span.select {
  background-image: url('/static/img/ds/shop/service/sd/button/image-select.png');
}

div.insert-image .button-box a.insert,
div.insert-image .button-box span.insert {
  background-image: url('/static/img/ds/shop/service/sd/button/image-insert.png');
}

div.insert-image p.tooptip {
  padding: 10px;
  border: 1px solid #000;
  background-color: #ffffe7;
  display: inline-block;
}

div.insert-image p.tooptip span.monospace {
  color: #88c30a;
}

#moshimo-confirm {
  background-color: #ccf2ff;
}
