.form input[type=text],
.form input[type=password],
.form input[type=number],
.form textarea {
  background-color: #f1f1f1;
  padding: 10px;
}
.form .button {
  background-color: #005bac;
  height: auto;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 10px;
  font-size: 1em;
}
.form .button.gray {
  background-color: #f1f1f1;
  color: #333;
}
.form .select {
  display: inline-block;
  position: relative;
}
.form .select select {
  border: 1px solid #999;
  padding: 8px 40px 8px 8px;
  position: relative;
}
.form .select::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 8px;
  top: 50%;
  right: 1em;
  margin-top: -4px;
  z-index: 2;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpolygon fill='rgb(102,102,102)' points='8,12 0,0 16,0'/%3E%3C/svg%3E") 0 0 no-repeat;
  /* These hacks make the select behind the arrow clickable in some browsers */
  pointer-events: none;
}
.form label {
  position: relative;
  cursor: pointer;
  padding-left: 30px;
  width: 100%;
  height: 100%;
  display: block;
}
.form label.active {
  cursor: auto;
  pointer-events: none;
}
.form label.radio::before, .form label.radio::after {
  border-radius: 50%;
}
.form label::before, .form label::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  top: 50%;
}
.form label::before {
  background-color: #fff;
  border: 1px solid #999;
  width: 20px;
  height: 20px;
  left: 5px;
}
.form label::after {
  background-color: #005bac;
  opacity: 0;
  width: 14px;
  height: 14px;
  left: 8px;
}
.form input[type=checkbox]:checked + label > p,
.form input[type=radio]:checked + label > p {
  font-weight: bold;
  color: #005bac;
}
.form input[type=checkbox]:checked + label::after,
.form input[type=radio]:checked + label::after {
  opacity: 1;
}
.form input[type=checkbox],
.form input[type=radio] {
  position: absolute;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
}
.form .required_icon {
  background-color: rgb(243, 53, 0);
  display: block;
  margin: 0 auto;
  margin-top: 3px;
  width: 5em;
  font-size: 8px;
  color: #fff;
  border-radius: 3px;
  line-height: 1;
  padding: 3px 5px;
}
.form input[type=button] {
  border-radius: 3px;
}
.form input[type=button].mg-atuo {
  width: 300px;
  margin: 20px auto;
  display: block;
}
.form input[type=button].button,
.form button[type=submit],
.form input[type=submit] {
  width: 300px;
  border-radius: 3px;
  margin: 20px auto;
  display: block;
}
.form input[type=button].button.inline,
.form button[type=submit].inline,
.form input[type=submit].inline {
  width: auto;
}
.form input[type=button].button.orange,
.form button[type=submit].orange,
.form input[type=submit].orange {
  background-color: #fa4701;
}
.form .w30 {
  width: 30%;
  box-sizing: border-box;
}
.form .w50 {
  width: 50%;
  box-sizing: border-box;
}
.form .w100 {
  width: 100%;
  box-sizing: border-box;
}
.form ::placeholder {
  font-size: 0.9em;
}

#admin .login_sec {
  padding: 40px 40px;
  box-sizing: border-box;
  position: absolute;
  width: 700px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.user_login_sec {
  padding: 40px;
  box-sizing: border-box;
}

.login_sec .logo {
  width: 250px;
  margin: 0 auto;
}
.login_sec .table {
  width: 100%;
}
.login_sec .table dt,
.login_sec .table dd {
  padding: 5px 0;
}
.login_sec .table dt {
  font-weight: 500;
  text-align: center;
}
.login_sec .button {
  width: 50%;
  border-radius: 2px;
  display: block;
  margin: 20px auto 0 auto;
}

#fileUpload_sec {
  background-color: #ddeaf5;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}
#fileUpload_sec p {
  font-weight: 500;
  font-size: 1.1em;
  margin-bottom: 10px;
}
#fileUpload_sec.active {
  background-color: #fa4701;
}

.imgUpload_sec .preview p {
  font-weight: bold;
  font-size: 1.1em;
}
.imgUpload_sec .preview .preview_img {
  position: relative;
}
.imgUpload_sec .preview .preview_img .close_btn {
  background-color: #005bac;
  border: 1px solid #fff;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  padding: 5px 20px;
  position: absolute;
  top: -10px;
  right: 10px;
  cursor: pointer;
  font-size: 1.1em;
}
.imgUpload_sec .preview .preview_img .preview_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  background-color: #f1f1f1;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  gap: 10px;
}
.imgUpload_sec .preview .preview_img .preview_list figure {
  width: 60px;
  cursor: pointer;
}
.imgUpload_sec .preview .preview_img .preview_list .close_btn {
  position: relative;
  top: auto;
  right: auto;
  margin-left: auto;
}
.imgUpload_sec .template_preview {
  max-width: 400px;
}

@media screen and (max-width: 780px) {
  .form .w30,
  .form .w50,
  .form .w100 {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .form .required_icon {
    margin: 0;
    padding: 3px;
    margin-left: 10px;
  }
  .form input[type=submit] {
    width: 100%;
    padding: 12px 0;
  }
}
#ui-datepicker-div {
  z-index: 10 !important;
}

.ui-datepicker {
  width: 400px;
}
.ui-datepicker .ui-datepicker-header {
  background-color: #c1dcf3;
}
.ui-datepicker td span,
.ui-datepicker td a {
  text-align: center;
}