.canvas-container-wrap {
  width: 100%;
}

.single_tmpcanvascss_white_board {
  overflow-x: scroll;
  overflow-y: hidden;
  width: 367px;
  height: 462px;
  position: relative;
  border: 1px solid gray;
  margin: 10px 0;
}

.single_tmpcanvascss {
  float: none;
  clear: both;
  position: relative;
  overflow: hidden;
}

.anysign_title {
  width: 100%;
  overflow: auto;
  flex-shrink: 0;
  overflow: auto;
  text-align: center;
  color: #333333;
  height: 30%;
  box-sizing: border-box;
  padding-bottom: 10%;
}

.commitTipColor {
  color: red !important;
  /* font-size: 24px; */
}

body {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

@media screen and (orientation: portrait) {

  /*竖屏 css*/
  .single_tmpcanvascss {
    width: 100%;
    height: 64%;
  }

  .canvas-container-wrap {
    display: block;
    height: 80%;
  }

  .canvas-container-img-contant {
    height: 35%;
    width: 100%;
  }

  /* 画布与canvas */
  #anysignRoot.body {
    transform-origin: 0 0;
    /* Chrome、Safari等 */
    -webkit-transform-origin: 0 0;
    /* Firefox浏览器 */
    -moz-transform-origin: 0 0;
    /* IE浏览器 */
    -ms-transform-origin: 0 0;
    /* Opera浏览器*/
    -o-transform-origin: 0 0;
    transform: rotateZ(90deg) translateY(-100%);
    -webkit-transform: rotateZ(90deg) translateY(-100%);
    /* for Chrome || Safari */
    -moz-transform: rotateZ(90deg) translateY(-100%);
    /* for Firefox */
    -ms-transform: rotateZ(90deg) translateY(-100%);
    /* for IE */
    -o-transform: rotateZ(90deg) translateY(-100%);
    /* for Opera */
  }

  .canvas {
    transform-origin: 0 0;
    /* Chrome、Safari等 */
    -webkit-transform-origin: 0 0;
    /* Firefox浏览器 */
    -moz-transform-origin: 0 0;
    /* IE浏览器 */
    -ms-transform-origin: 0 0;
    /* Opera浏览器*/
    -o-transform-origin: 0 0;
    transform: rotateZ(270deg) translateY(0%) translateX(-100%);
    -webkit-transform: rotateZ(270deg) translateY(0%) translateX(-100%);
    /* for Chrome || Safari */
    -moz-transform: rotateZ(270deg) translateY(0%) translateX(-100%);
    /* for Firefox */
    -ms-transform: rotateZ(270deg) translateY(0%) translateX(-100%);
    /* for IE */
    -o-transform: rotateZ(270deg) translateY(0%) translateX(-100%);
    position: absolute;
    left: 0;
  }
}

@media screen and (orientation: landscape) {

  /*横屏 css*/
  .single_tmpcanvascss {
    width: 50%;
    height: 100%;
    position: absolute !important;
    top: 0;
    right: 0;
    left: 50%;
    bottom: 0;
  }

  .canvas-container-wrap {
    position: relative;
    height: 84%;
  }

  .canvas-container-img-contant {
    height: 100%;
    width: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
  }
}

.single_anysignCanvas_white_board {}

.single_anysignCanvas {
  float: right;
  clear: none;
  background-repeat: no-repeat;
  background-size: 371.28px 330.168px;
  position: absolute;
}

.button_wrap {
  width: 100%;
  overflow: hidden;
  text-align: center;
  /* display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  box-sizing: border-box; */
}

.button_new {
  /* flex: 0 0 31%; */
  background: #ff722e;
  text-align: center;
  display: inline;
  font-size: 10pt !important;
  text-decoration: none;
  color: #fff;
  border: 0;
  margin-top: 8px;
  height: 15pt !important;
  line-height: 15pt !important;
  width: 12%;
  margin-right: 3%;
  border-radius: 5px;
}

.signImageWrap {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid rgb(229, 229, 229);
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  box-sizing: border-box;
  height: 70%;
  position: relative;
}
#single_signImage, #comment_signImage{
  overflow: auto;
}

#mesWindowBottom {
  background-color: rgba(147, 152, 168, 0.2);
  text-align: center;
  padding: 8px;
}

/*  */
#comment_dialog {
  width: 100%;
  height: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

#single_dialog {
  width: 100%;
  height: 100%;
  padding: 0 8px;
  box-sizing: border-box;
  text-align: center;
}

#single_dialog big {
  color: red !important;
}

#white_dialog {
  text-align: center;
}

#white_dialog big {
  color: green !important;
}
#single_dialog {
  height: 100%;
}
.single_signTitle {
  overflow: hidden;
}

.white-board-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

#white_title {
  font-size: 20pt;
  margin: 0 0 0 0;
  vertical-align: middle;
  text-align: center;
  display: block;
  color: #333333;
  margin: auto;
  overflow: auto;
  white-space: nowrap;
  position: absolute;
  right: 0.5%;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  left: 115px;
  right: 115px !important;
}
.btn-wrap{
  height: 16%;
}

.canvas-wrap {
  width: 99%;
  height: 72%;
  border: 1px solid rgb(229, 229, 229);
  overflow-y: hidden;
  overflow-x: scroll;
  box-sizing: border-box;
  margin: auto;
}

.orange {
  display: inline-block;
  zoom: 1;
  vertical-align: baseline;
  outline: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-top: 4px;
  font-size: 10pt;
  padding: 4px 10px;
}

/* 全局弹窗样式 */
#h5AlertBoxs {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2014;
  background: rgba(0, 0, 0, 0.5);
}

#h5AlertBoxs:after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  vertical-align: middle;
}

#h5AlertBoxs #h5-message-box {
  position: absolute;
  display: inline-block;
  width: 240px;
  padding-bottom: 10px;
  vertical-align: middle;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ebeef5;
  font-size: 12px;
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  text-align: left;
  overflow: hidden;
  backface-visibility: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
}

#h5AlertBoxs #h5-message-box #h5-message-box__header {
  position: relative;
  padding: 14px 8px 3px;
}

#h5AlertBoxs #h5-message-box #h5-message-box__content {
  color: #606266;
  font-size: 14px;
  padding: 12px 8px 3px;
}

#h5AlertBoxs
  #h5-message-box
  #h5-message-box__content
  #h5-message-box__container
  p {
  margin: 0;
  line-height: 1.5em;
  font-size: 14px;
  color: #000000;
  white-space: normal;
  overflow: auto;
}

#h5AlertBoxs #h5-message-box #h5-message-box__btns {
  padding: 0.8px 8px 0;
  text-align: right;
}

#h5AlertBoxs #h5-message-box #h5-message-box__btns #h5-button--primary {
  padding: 3px 8px;
  font-size: 1.8px;
  border-radius: 3px;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  color: #fff;
  background-color: #3a8ee6;
  border-color: #3a8ee6;
}

#h5AlertBoxs #h5-message-box #h5-message-box__btns #h5-button--primary span {
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 500;
  -webkit-user-select: none;
}
.clear_btn{
  margin-left:4px !important
}
.textTip {
  z-index: 20;
  top: 0;
  left: 15%;
  position: absolute;
  display: inline-block;
  background: #ffffff;
}

.textTip img {
  width: 12px;
  height: 12px;
  vertical-align: middle;
}

#single_signImage {
  height: 100%;
}

/* 弹窗样式 */
.btnBackBox {
  text-align: center;
  background-color: #fff;
  bottom: 45px;
  position: relative;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

#agreement_dialog {
  width: 80%;
  margin: 8% auto;
  border: 1px solid #666;
  background-color: #fff;
}

#agreement_header {
  height: 40px;
  border-bottom: 1px solid #666;
  font-size: 14px;
  line-height: 40px;
  padding-left: 5px;
  font-weight: 500;
}

#agreement_content {
  box-sizing: border-box;
  width: 100%;
  height: 40%;
  overflow-y: scroll;
  border: none;
  resize: none;
  font-size: 12px;
  line-height: 18px;
  padding: 5px;
}

#agreement_btnContainerInner {
  height: 40px;
  border-top: 1px solid #666;
  width: 100%;
  text-align: center;
  padding-top: 4px;
}

#agreement_cancel {
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  background-color: #faa51a;
  border: 1px solid #faa51a;
  text-align: center;
  width: 100px;
  border-radius: 4px;
  margin-right: 15%;
}

#agreement_ok {
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  background-color: gray;
  border: 1px solid gray;
  text-align: center;
  width: 100px;
  border-radius: 4px;
}

#applyIframeDiv {
  background: #fff;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
  /* Firefox */
  overflow: -moz-scrollbars-vertical;
  /* Chrome/Safari/Opera */
  overflow: auto;
  /* IE 11 */
  -ms-overflow-style: scrollbar;
  /* Edge */
  scrollbar-width: thin;
  /* "auto" or "thin" */
  -webkit-overflow-scrolling: touch;
}

#applyIframe {
  width: 100%;
  height: 100%;
  padding-bottom: 40px;
  box-sizing: border-box;
}

#backToPage {
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  background-color: #faa51a;
  border: 1px solid #faa51a;
  text-align: center;
  width: 100px;
  border-radius: 4px;
}

#loadingBoxs{
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  margin: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: opacity .3s;
}
#loadingBoxs:after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
}
.loadingBox{
  position: absolute;
  z-index:9999;
  cursor: wait;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
}
.loadText{
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}


/* 控制组件的临时样式 */
#single_container span,#comment_container span{
  position: absolute;
  top: 50%;
  left: 0%;
  text-align: center;
  max-height: 96% !important;
  line-height:96% !important;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  width: 100%;
}

/* 批注的当前字样式 */
.commitTipColor {
  color: red !important;
  vertical-align: initial !important;
}
#anysignRoot{
  width: 100%;
  height: 100%;
}


/* 单字签名配置强制横屏需要使用以下样式 ，若不使用强制横屏删除一下样式即可*/
  #single_dialog .single_tmpcanvascss {
    width: 50%;
    height: 100%;
    position: absolute !important;
    top: 0;
    right: 0;
    left: 50%;
    bottom: 0;
  }
  #single_dialog .canvas-container-wrap {
    position: relative;
    height: 84%;
  }

  #single_dialog .canvas-container-img-contant {
    height: 100%;
    width: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
  }
