.ipi-sf-person-hidden {
  display: none;
}

.ipi-sf-info-heading {
  margin-bottom: 0px;
  position: relative;
}

.ipi-sf-info-inner ul {
  height: 0px;
  transition: height 0.2s;
  overflow: hidden;
  margin-top: 10px;
}

.ipi-sf-info-inner.clicked ul {
  height: 100%;
}

#ipi-sf label,
.ipi-sf-label {
  font-weight: 500;
}

#ipi-sf label span,
.ipi-sf-label span {
  display: block;
  font-weight: normal;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 14px;
}

#ipi-sf [type=checkbox] {
  margin-right: 5px;
}

#ipi-sf [type=file] {
  display: block;
  background-color: rgba(0, 154, 178, 0.05);
}

#ipi-sf [type=checkbox] + label {
  font-weight: normal;
}

#ipi-sf .ipi-files-label .file-credits-input {
  margin-bottom: 0px;
  background-color: white;
  font-size: 14px;
  padding: 6px 12px;
}

#ipi-sf input,
#ipi-sf textarea,
#ipi-sf select {
  margin-bottom: 20px;
  border: 1px solid #009ab2;
  background-color: rgba(0, 154, 178, 0.05);
}

.ipi-sf-section-heading {
  position: relative;
}

.ipi-sf-section-heading h2 {
  margin-bottom: 0px;
  margin-top: 0px;
  padding: 10px 20px;
  cursor: pointer;
}

.ipi-sf-section-subheading h3 {
  font-size: 16px;
  font-family: 'Roboto';
  margin-top: 0px;
  margin-bottom: 10px;
}

.ipi-sf-section-subheading ul {
  margin-bottom: 10px;
}

.ipi-sf-section-heading::after {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  content: "\2039";
  font-weight: bold;
  font-size: 24px;
  transition: transform 0.4s, right 0.4s;
  cursor: pointer;
}

.ipi-sf-section.open .ipi-sf-section-heading::after {
  transform: translateY(-50%) rotate(90deg);
  right: 26px;
}

.ipi-sf-section-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #009ab2;
}

.iua-edit-submission .ipi-sf-section-row:last-child {
  border-bottom: none;
  margin-bottom: 0px;
}

.ipi-sf-section-row:after {
  content: "";
  clear: both;
  display: table;
}

.ipi-sf-section {
  border: 1px solid #009ab2;
  border-bottom: none;
}

.ipi-sf-section:after {
  content: "";
  clear: both;
  display: table;
}

.ipi-sf-section:last-child {
  border-bottom: 1px solid #009ab2;
}

.ipi-sf-section-content {
  #max-height: 0;
  overflow: hidden;
  padding: 0 20px;
}

.open .ipi-sf-section-content {
  max-height: initial;
}

.ipi-sf-upload-notice {
  font-size: 14px;
}

.ipi-sf-person {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #009ab2;
  border-bottom: 1px solid #009ab2;
  padding: 10px 0px;
  position: relative;
}

.ipi-sf-self-notice {
  margin-bottom: 20px;
}

.ipi-sf-person-name {
  display: flex;
  align-items: flex-end;
}

#ipi-sf-gender {
  width: calc((100% - 20px) / 5);
  margin-right: 10px;
  height: 45px;
}

#ipi-sf-person-fn {
  width: calc((100% - 20px) / 5 * 2);
  margin-right: 10px;
}

#ipi-sf-person-ln {
  width: calc((100% - 20px) / 5 * 2);
}

.ipi-sf-self-notice h3 {
  font-weight: 400;
  margin-top: 0px;
}

#ipi-sf-submit-row {
  margin-bottom: 0px;
  border-bottom: none;
}

.iua-edit-submission #ipi-sf-submit-row {
  padding: 20px;
  border-top: 1px solid #009ab2;
}

#ipi-sf-submit-row #ipi-sf-terms + label {
  font-weight: 500;
}

#ipi-sf-submit {
  width: 100%;
  float: none;
  font-weight: bold;
  padding: 10px;
  background-color: white;
  transition: background-color 0.4s, color 0.4s;
}

#ipi-sf-submit:hover {
  background-color: #009ab2;
}

.iua-edit-finalist #ipi-sf-submit {
  background-color: rgba(255, 0, 0, 0.8);
  color: white;
}

.iua-edit-finalist .ipi-finalist-note #ipi-sf-submit {
  margin-bottom: 20px;
}

.iua-edit-finalist #ipi-sf-submit:hover {
  background-color: red;
}

.ipi-sf-person-delete {
  background-color: #dd5f74;
  display: block;
  position: absolute;
  border-radius: 50%;
  height: 21px;
  width: 21px;
  top: -11px;
  right: -11px;
  opacity: 0.5;
  transition: opacity 0.4s;
  cursor: pointer;
}

.ipi-sf-person-delete:hover {
  opacity: 1;
}

.ipi-sf-person-delete:after {
  content: "\d7";
  display: block;
  top: 0px;
  left: 0px;
  position: absolute;
  color: white;
  height: 100%;
  width: 100%;
  background-color: transparent;
  line-height: 21px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

.ipi-sf-person-close {
  background-color: rgb(0, 154, 178, 0.5);
  display: block;
  position: absolute;
  border-radius: 50%;
  height: 21px;
  width: 21px;
  top: -11px;
  right: 15px;
  transition: background-color 0.4s;
  cursor: pointer;
}

.ipi-sf-person-close:hover {
  background-color: rgb(0, 154, 178, 1);
}

.ipi-sf-person-close:after {
  content: "-";
  display: block;
  top: 0px;
  left: 0px;
  position: absolute;
  color: white;
  height: 100%;
  width: 100%;
  background-color: transparent;
  line-height: 20px;
  font-size: 30px;
  font-weight: 500;
  text-align: center;
}

.ipi-sf-person.closed {
  padding: 0px;
}

.ipi-sf-person.closed .ipi-sf-person-close:after {
  content: "+";
  line-height: 21px;
}

.ipi-sf-person .person-closed-label{
  display: none;
}

.ipi-sf-person.closed :not(.person-closed-label, .ipi-sf-person-delete, .ipi-sf-person-close, .ipi-sf-person-updown, .ipi-sf-person-updown *) {
  display: none;
}

.ipi-sf-person.closed .person-closed-label {
  display: block;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 0;
  transition: background-color 0.4s;
}

.ipi-sf-person.closed .person-closed-label:hover {
  background-color: rgb(0, 154, 178, 0.5);
}

.ipi-sf-person-updown {
  display: block;
  position: absolute;
  height: 21px;
  top: -11px;
  right: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 5px;
}

.ipi-sf-person-updown::after {
  display: block;
  position: absolute;
  height: 21px;
  top: 0px;
  right: -5px;
  content: "";
  width: 1px;
  background-color: rgb(0, 154, 178, 0.5);
}

.ipi-sf-person-up,
.ipi-sf-person-down {
  background-color: rgb(0, 154, 178, 0.5);
  position: relative;
  display: block;
  border-radius: 50%;
  height: 21px;
  width: 21px;
  transition: background-color 0.4s;
  cursor: pointer;
}

.ipi-sf-person-up:hover,
.ipi-sf-person-down:hover {
  background-color: rgb(0, 154, 178, 1);
}

.ipi-sf-person-up::after,
.ipi-sf-person-down::after {
  display: block;
  top: 0px;
  left: 0px;
  position: absolute;
  color: white;
  height: 100%;
  width: 100%;
  background-color: transparent;
  line-height: 19px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  font-family: 'FontAwesome';
}

.ipi-sf-person-up::after {
  content: "\f077";
}

.ipi-sf-person-down::after {
  content: "\f078";
}

#ipi-sf-submit-row .ipi-sf-check {
  margin-bottom: 20px;
}

#ipi-ua-wrapper form label.without-credits-label {
  font-weight: 300;
  font-size: 14px;
}

#add-custom-link {
  color: #009ab2;
  background-color: white;
  border: 1px solid #009ab2;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  padding: 4px;
  transition: background-color 0.4s, color 0.4s;
  cursor: pointer;
}

#add-custom-link:hover {
  color: white;
  background-color: #009ab2;
}

.ipi-custom-link {
  background-color: rgba(0, 154, 178, 0.25);
  padding: 10px;
}

.ipi-custom-link {
  margin-bottom: 5px;
}

.ipi-custom-link label:last-child input {
  margin-bottom: 0px;
}

#ipi-ua-wrapper .ipi-custom-link input,
#ipi-ua-wrapper .ipi-custom-link select {
  font-size: 14px;
  background-color: white;
  padding: 3px 6px;
  margin-bottom: 5px;
  height: auto;
}

.ipi-custom-link .custom_link_img_pos {
  display: grid;
  grid-template-columns: min-content auto min-content auto;
  border: 1px solid #009ab2;
}

.ipi-custom-link .custom_link_img_pos input {
  margin: 5px;
}

.cl-remove-label {
  color: red;
}

#ipi-bp-subinfo {
  border: 1px solid #009ab2;
  margin-bottom: 20px;
}

#ipi-bp-subinfo-inner {
  display: none;
  padding: 10px;
}

#ipi-bp-subinfo.open #ipi-bp-subinfo-inner {
  display: block;
}

#ipi-bp-subinfo-heading {
  position: relative;
  font-size: 24px;
  font-weight: 500;
  padding: 0 10px;
  cursor: pointer;
  background-color: rgba(0, 154, 178, 0.25);
  transition: color 0.4s, background-color 0.4s;
}

#ipi-bp-subinfo-heading:hover {
  background-color: #009ab2;
  color: white;
}

#ipi-bp-subinfo.open #ipi-bp-subinfo-heading {
  border-bottom: 1px solid #009ab2;
}

#ipi-bp-subinfo-heading::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
}

#ipi-bp-subinfo.open #ipi-bp-subinfo-heading::after {
  content: "–";
}

.ipi-files-label.missing {
  border-left: 2px solid rgb(221,95,116);
  border-right: 2px solid rgb(221,95,116);
}
