﻿.webapp-box {
  position: fixed;
  -webkit-transform: translateX(-10000px);
  -moz-transform: translateX(-10000px);
  transform: translateX(-10000px);
  z-index: 1001;
  left: 50%;
  top: 10%;
  width: 603px;
  min-height: 460px;
  margin-left: -300px;
  padding-bottom: 15px;
  border: 1px solid #DDD;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, .4), -5px -5px 20px rgba(0, 0, 0, .4);
  background: #FFF;
}

.webapp-box.animate-show {
  -webkit-animation: 'show' .5s linear;
  -moz-animation: 'show' .5s linear;
  animation: 'show' .5s linear;
}

.webapp-box.animate-hide {
  -webkit-animation: 'hide' .3s linear;
  -moz-animation: 'hide' .3s linear;
  animation: 'hide' .3s linear;
}

.webapp-box-bg {
  position: fixed;
  -webkit-transform: translateX(-10000px);
  -moz-transform: translateX(-10000px);
  transform: translateX(-10000px);
  width: 100%;
  height: 100%;
  z-index: 1000;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, .5);
}

.animate-show {
  -webkit-transition: opacity .5s linear;
  -moz-transition: opacity .5s linear;
  transition: opacity .5s linear;
  opacity: 1;
}

.animate-hide {
  -webkit-transition: opacity .5s linear;
  -moz-transition: opacity .5s linear;
  transition: opacity .5s linear;
  opacity: 0;
}

.webapp-box-bg.animate-show,
.webapp-box.animate-show {
  -webkit-transform: translateX(0px);
  -moz-transform: translateX(0px);
  transform: translateX(0px);
}

@-webkit-keyframes 'show' {
  0% {
    opacity: .1
  }
  60% {
    opacity: .85;
    -webkit-transform: scale(1.01, 1.01)
  }
  85% {
    opacity: 1;
    -webkit-transform: scale(0.99, 0.99)
  }
  100% {
    -webkit-transform: scale(1, 1)
  }
}

@-moz-keyframes 'show' {
  0% {
    opacity: .1
  }
  60% {
    opacity: .85;
    -moz-transform: scale(1.01, 1.01)
  }
  85% {
    opacity: 1;
    -moz-transform: scale(0.99, 0.99)
  }
  100% {
    -moz-transform: scale(1, 1)
  }
}

@keyframes 'show' {
  0% {
    opacity: .1
  }
  60% {
    opacity: .85;
    transform: scale(1.01, 1.01)
  }
  85% {
    opacity: 1;
    transform: scale(0.99, 0.99)
  }
  100% {
    transform: scale(1, 1)
  }
}

@-webkit-keyframes 'hide' {
  0% {
    -webkit-transform: scale(1, 1);
    opacity: 1
  }
  35% {
    -webkit-transform: scale(1.02, 1.02);
    opacity: .5
  }
  70% {
    -webkit-transform: scale(1.05, 1.05);
    opacity: .2
  }
  100% {
    -webkit-transform: scale(1, 1);
    opacity: 0
  }
}

@-moz-keyframes 'hide' {
  0% {
    -moz-transform: scale(1, 1);
    opacity: 1
  }
  35% {
    -moz-transform: scale(1.02, 1.02);
    opacity: .5
  }
  70% {
    -moz-transform: scale(1.05, 1.05);
    opacity: .2
  }
  100% {
    -moz-transform: scale(1, 1);
    opacity: 0
  }
}

@keyframes 'hide' {
  0% {
    transform: scale(1, 1);
    opacity: 1
  }
  35% {
    transform: scale(1.02, 1.02);
    opacity: .5
  }
  70% {
    transform: scale(1.05, 1.05);
    opacity: .2
  }
  100% {
    transform: scale(1, 1);
    opacity: 0
  }
}

.webapp-box input[type=file]:focus,
.webapp-box input[type=checkbox]:focus,
.webapp-box input[type=radio]:focus {
  outline: none;
}

.webapp-box-header {
  /*  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;*/
  width: 100%;
  height: 45px;
  background: #FFF;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 10px 10px 0 0;
}

.webapp-box-header-ul {
  margin: 12px 0 0 10px;
  padding: 0;
  font-size: 0;
  text-align: center;
}

.webapp-box-header-ul li {
  display: inline-block;
  padding: 5px 16px;
  cursor: pointer;
  font-size: 14px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.webapp-box-header-ul li:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-left: 1px solid #ddd;
}

.webapp-box-header-ul li:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-right: 1px solid #ddd;
}

.webapp-box-header-ul li.active {
  background: #00a3e9;
  color: #FFF;
}

.webapp-box-close {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 2.1rem;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .2;
}

.webapp-box-content {
  width: 100%;
  background: #FFF;
  border-radius: 15px;
}

.box-hide {
  display: none;
}

.webapp-box-content .box-resource-content {
  display: none;
}

.webapp-box-content .webapp-content-tab {
  padding-left: 10px;
  margin: 0;
  max-height: 140px;
  overflow-y: auto;
}

.webapp-box-content .webapp-content-tab li {
  display: inline-block;
  padding: 5px 14px;
  margin: 5px 0;
  cursor: pointer;
}

.webapp-box-content .webapp-content-tab li.active {
  border-radius: 6px;
  background: #00a3e9;
  color: #FFF;
}

.webapp-box-content .content-top-operation {
  background: #f7f7f7;
  padding: 8px;
}

.webapp-box-content .content-top-operation ul {
  margin: 0;
  padding: 0;
}

.content-top-operation .box-operation-menu li {
  margin-right: 5px;
}

#webapp-img-box .resource-list-wrap {
  display: none;
  height: 290px;
  padding-left: 15px;
  padding-top: 8px;
  overflow-x: hidden;
  overflow-y: auto;
}

#webapp-img-box .resource-list li {
  display: inline-block;
  margin: 0 15px 15px 0;
  position: relative;
  border: 1px solid transparent;
}

#webapp-img-box .resource-list li:hover,
#webapp-img-box .resource-list li.selected {
  border-color: #ccc;
}

#webapp-img-box .resource-list li:hover {
  background-color: #ddd;
}

#webapp-img-box .resource-list li.selected:after {
  position: absolute;
  right: -12px;
  top: -10px;
  display: block;
  width: 24px;
  height: 24px;
  content: '√';
  color: #fff;
  font-family: "微软雅黑";
  line-height: 22px;
  text-align: center;
  border: 2px solid #fff;
  background: #6abb03;
  border-radius: 50%;
}

#webapp-img-box .resource-list .img-operate {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#webapp-my-img .resource-list li:hover .img-operate,
body[data-admin="1"] #webapp-system-img li:hover .img-operate,
body[admin="1"] #webapp-system-img li:hover .img-operate {
  display: block;
}

#webapp-img-box .resource-list .img-operate a {
  display: table-cell;
  width: 1%;
  padding: 2px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  background-color: rgba(0, 0, 0, .5);
}

#webapp-img-box .resource-list .img-operate a:hover {
  background-color: rgba(0, 0, 0, .8);
}

#webapp-img-box .resource-list .progress-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .8);
  z-index: 2;
  padding-top: 30px;
  color: #fff;
  text-align: center;
  font-size: 16px;
}

#webapp-img-box .resource-list .upload-fail-tip {
  display: none;
}

.webuploader-container {
  position: relative;
}

.webapp-box-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  line-height: 40px;
  padding-right: 30px;
  border-radius: 0 0 10px 10px;
  background: #FFF;
  border-top: 1px solid #e5e5e5;
  z-index: 2;
  font-size: 12px;
}

#img-crop-box .webapp-box-footer {
  text-align: right;
}

.webapp-box .webuploader-pick {
  font-size: inherit !important;
  background-color: transparent;
  overflow: initial;
}

.webapp-box .resource-select-num {
  color: #0034FF;
}

.webapp-box .form-control {
  display: inline-block;
  width: 120px;
}

.webapp-box .progress-bar {
  position: absolute;
  left: 365px;
  top: 20px;
}

.webapp-box .thumbnail {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: 0;
  text-align: center;
  font-size: 0;
  border: none;
}

.webapp-box .thumbnail:before,
.webapp-box .thumbnail:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
}

.webapp-box .thumbnail img {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}

#img-crop-box {
  width: 700px;
  height: 500px;
  margin-left: -350px;
}

.img-crop-scope {
  width: 508px;
  height: 320px;
  margin-top: 20px;
  text-align: center;
  font-size: 0;
  border: 1px solid #bbb;
  background-color: #ccc;
  overflow: hidden;
}

.img-crop-top-input {
  padding: 7px 10px;
  background-color: #eee;
}

.jcrop-holder>input[type="radio"] {
  left: -2000px !important;
}

.webapp-sub-cate {
  display: none;
  padding: 8px 15px;
}

.webapp-sub-cate>span {
  cursor: pointer;
  margin-right: 8px;
  padding-right: 8px;
  border-right: 1px solid;
  color: #6c6c6c;
}

.webapp-sub-cate>span.active {
  color: #00a3e9;
}

.img-box-ui-radio {
  display: inline-block;
  width: 22px;
  height: 22px;
  position: relative;
  overflow: visible;
  border: 0;
  background: 0 0;
  -webkit-appearance: none;
  outline: 0;
  vertical-align: middle;
}

.img-box-ui-radio:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #dfe0e1;
  border-radius: 16px;
  background-clip: padding-box;
  position: absolute;
  left: 0;
  top: 0;
}

.img-box-ui-radio:checked:before {
  border: 2px solid #18b4ed;
}

.img-box-ui-radio:after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #dfe0e1;
  border-radius: 8px;
  position: absolute;
  left: 6px;
  top: 6px;
}

.img-box-ui-radio:checked:after {
  background: #18b4ed;
}

.img-crop-body-left {
  float: left;
  padding: 10px;
  margin: 0 20px;
  border: 1px solid #eee;
}

.img-crop-body-left label {
  display: block;
  padding: 0 8px;
  margin: 16px 0;
  text-align: right;
}

.img-crop-body-left .img-box-ui-radio {
  margin-left: 10px;
}

.webapp-box .btn {
  display: inline-block;
  padding: 6px 12px;
  width: auto;
  font-size: 14px;
  line-height: 18px;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #666;
  background-color: #fff;
  cursor: pointer;
  vertical-align: middle;
}

.webapp-box .btn.green {
  color: #fff;
  background-color: #03d8a2;
  border-color: #05C897;
}

.webapp-box .btn.orange {
  color: #fff;
  background-color: #ff9f22;
  border-color: #ee9016;
}

.webapp-box .btn.blue {
  color: #fff;
  background-color: #1dc6f1;
  border-color: #15bbe5;
}

.webapp-box input[type="text"] {
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  line-height: 14px;
  padding: 6px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
  outline: 0;
  -webkit-user-select: text;
}

.webapp-box select {
  border: 1px solid #ccc;
  border-radius: 4px;
  line-height: 14px;
  padding: 6px 4px 6px 6px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .2);
  outline: 0;
  width: 160px;
  margin: 0;
}

input[type="file"] {
  opacity: 0;
}