.self_align_center {
  margin-top: 10px;
}

.form_control input[type="text"] {
  width: 50%;
}
.ui-dialog {
  z-index: 8000 !important ;
}
.no-close .ui-dialog-titlebar-close {
  display: none;
}
table.eform tr:nth-of-type(1) td {
  text-align: center;
  /* background-color: #005c7a; */
}
table.eform tr:nth-of-type(1) td h1 {
  color: white;
  font-size: 18px;
  margin-top: 10px;
}

table.eform {
  border: 1px solid black;
  border-collapse: collapse;
  margin-top: 1em;
  width: 100%;
}

table.eform td {
  border: 1px solid black;
  padding-left: 1em;
  padding-right: 1em;
}

.iamsmartError {
  color: red;
  font-size: 16px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.error {
  background-color: transparent;
  color: red;
  font-size: 16px;
}

#submit {
  background-color: #008cba;
  border: none;
  color: white;
  padding: 15px 150px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  box-shadow: 2px 2px 2px 1px #696969;
}
#submit:hover {
  background-color: #007094;
  border: none;
  color: white;
  padding: 15px 150px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  box-shadow: 2px 2px 2px 1px #696969;
}

.iamsmartBtn {
  background-color: #008cba;
  border: none;
  color: white;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  box-shadow: 2px 2px 2px 1px #696969;
}

.iamsmartBtn:hover {
  background-color: #007094;
}

.iamsmartDefaultDark {
  font-size: 18px;
  background-color: #2b7367;
  border: none;
  border-radius: 1em;
  color: #ffffff;
  padding: 13px;
  cursor: pointer;
  outline: none;
  border-radius: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans SC", Arial, Helvetica, sans-serif;
}

.iamsmartDefaultDarkButtontext {
  padding-left: 1em;
  overflow: hidden;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
}

.iamsmartfilltag {
  width: 30px;
  vertical-align: top;
  margin-top: -6px;
}

#captcha_code {
  display: block;
  margin: 0 auto;
  margin-top: 1em;
}

.privacy {
  font-size: 110%;
  margin-top: 2em;
  font-weight: bold;
}

.labelname {
  width: 25%;
  float: left;
  display: inline-block;
}
@media (max-width: 780px) {
  #submit {
    padding: 15px 50px;
  }

  #submit:hover {
    padding: 15px 50px;
  }
  input[type="text"] {
    display: block;
    /*width:100% !important;*/
    width: calc(100% - 50px) !important;
  }
  #title {
    padding-top: 7px !important;
    padding-left: 0px !important;
    padding-right: 7px !important;
  }
  #iAMSmartTag_title {
    padding-top: 4px !important;
  }
  textarea {
    width: 100% !important;
  }
  .ui-dialog {
    max-width: 100% !important;
  }
  #eform .col-sm-6 {
    margin-top: 2em;
  }
  .labelname {
    display: block;
    width: auto;
  }
}

.border_blank .row {
  margin-top: 1em;
}
@media (max-width: 360px) {
  .border_blank {
    padding: 0;
  }
}
.border_blank .col-sm-6,
.border_blank .col-sm-12 {
  padding-left: 0;
}

#td1 {
  padding-left: 1em;
}
#div1 {
  clear: both;
}
#div1 {
  width: 100%;
}
#div1 {
  margin-top: 8px;
}
#iamsmartMsg {
  margin-bottom: 25px;
}
#title {
  border: none;
}
#title {
  padding: 0;
}
#title {
  display: inline;
}
#title {
  padding-top: 0px;
}
#span1 {
  color: #e60000;
}
#span1 {
  color: #e60000;
}
#div1 {
  margin-top: 1em;
}
#p1 {
  margin-bottom: 0;
}
#span1 {
  color: #e60000;
}
#suggestion {
  width: 100%;
}
#suggestion {
  height: 100px;
}
#caption {
  text-align: center;
}
#captcha_container_1 {
  width: 265px;
}
#captcha_container_1 {
  margin: 0 auto;
}
#div2 {
  text-align: center;
}
#div2 {
  margin-top: 10px;
}
#div2 {
  padding-left: 1em;
}
#span1 {
  color: #e60000;
}
#iAMSmartTag_chi_name {
  margin-top: -6px;
}
#iAMSmartTag_chi_name {
  width: 30px;
}
#iAMSmartTag_chi_name {
  display: inline;
}
#h21 {
  font-size: 110%;
}
#h21 {
  margin-top: 1em;
}
#p1 {
  margin-top: 1em;
}
#div1 {
  clear: both;
}
#dialog {
  display: none;
  margin-top: 20px;
}
#dialog {
  background-color: #f5fffa;
}
#p2 {
  text-align: center;
}
#p2 {
  font-weight: bold;
}
#p2 {
  font-size: 22px;
}
#inputDetail {
  margin-left: auto;
}
#inputDetail {
  margin-right: auto;
}
#inputDetail {
  width: 90%;
}
#extraform {
  text-align: center;
}

#status {
  display: block;
  text-align: center;
  color: red;
}

/* signature */
#signature_label {
  margin-top: 20px;
}

#signature_container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: end;
  margin-bottom: 20px;
}

#clear_signature {
  color: white;
  background-color: #008cba;
  height: 50%;
  margin-left: 10px;
  border-radius: 5px;
}

#check_signature {
  visibility: hidden;
}

#signature_canvas {
  width: 300px;
  height: 150px;
  border: 1px solid #000;
  background-color: white !important;
}

#signature_confirm {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
