/* .clearfix:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    } */
/* .elements {
  color: #fff;
  font-size: 20px;
  padding: 10px;
}
.header {
  background-color: rgba(0, 0, 0, 0.7);
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
.header .elements {
  height: 50px;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

.tenant_list {
  margin: 10px;
}

form {
  width: 100%;
}

form label {
  display: inline-block;
} */

/* form label span {
  display: inline-block;
  width: 30%;
} */

/* #upload_img_wrap {
  width: 100%;
} */

/* .upload_img_box {
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin-bottom: 0;
  min-height: 80px;

} */

/* .upload_img_box svg {
  color: rgba(0, 0, 0, 0.5);
  width: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
}

.upload_img_box img {
  width: 100%;
}

.upload_img_box input {
  display: none;
} */

.images {
  margin-inline-start: -15px;
}

.inner-box {
  background-color: #ddd;
  height: auto;
  padding-top: 100%;
  height: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin: 1px;
  position: relative;
  text-align: center;
  user-select: none;
  box-sizing: border-box;
}
.images-solid path {
  fill: #aaa;
}

.inner-box .img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
}

.inner-box:hover {
  cursor: move;
}

.default_select_sign .inner-box:hover {
  cursor: pointer;
}

.inner-box:hover .img_control {
  display: block;
}

.inner-box .img_control {
  display: none;
  position: absolute;
  bottom: 0;
  height: 25%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  fill: #0008;
}

.inner-box .img_control_box:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.inner-box svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.img_control_box {
  display: inline-block;
  width: 50%;
}

.img_control_box {
  height: 100%;
  cursor: pointer;
  padding-top: 3%;
}

.show_img .img:hover {
  cursor: pointer;
}

.fa-upload {
  font-size: 24px;
}

/* 簽名大小 */
.tenant_signature img,
.additional_signer_sign img,
.landlord_signature img {
  width: 100px;
}

.icon_text_box {
  color: rgba(0, 0, 0, 0.5);
}

.icon_text_box .center_content {
  height: auto;
  padding-top: 100%;
  height: 0;
  margin: 1px;
  position: relative;
  text-align: center;
  user-select: none;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* 內容置中 */
.icon_text_box .set_center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-height: 100%;
}

/* input置中 撐滿整個框框 */
.icon_text_box input {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* icon 描述大小設定 */
.icon_text_box .text_box {
  font-size: 30px !important;
  line-height: 1.2rem !important;
}

.icon_text_box .describe {
  font-size: 10px !important;
  vertical-align: middle;
}


/* 直向圖片 */
img.portrait_photo{
  min-height: 100% !important;
}
/* 橫向圖片 */
img.landscape_photo{
  min-width: 100% !important;
}
