#content_form {
  margin-bottom: 5px;
}

.open > .dropdown-menu {
  background-color: var(--portalThemeColor4, #ffffff);
}
.open > .dropdown-menu > li > a {
  color: var(--portalThemeOnColor9, #1276ce);
}

.open .dropdown-menu > li > a:hover,
.dropdown-menu > .active > a:hover {
  color: var(--portalThemeColor4, #ffffff);
  background-color: var(--portalThemeOnColor9, #1276ce);
  text-decoration: Underline;
}
.dropdown-menu > .active > a {
  color: var(--portalThemeColor4, #ffffff);
  background-color: var(--portalThemeOnColor9, #1276ce);
  text-decoration: Underline;
}
.open .dropdown-menu > .active > a:focus {
  color: var(--portalThemeColor4, #ffffff);
  background-color: var(--portalThemeOnColor9, #1276ce);
  text-decoration: Underline;
}

.form-horizontal .control-label {
  text-align: left;
}

:root {
  --font-color: #08415c;
  --primary-color: #08415c;
  --poly-orange-color: #c35227;
}

body {
  color: var(--font-color);
  font-family: Arial, "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
}

/* BOOTSTRAP OVERRIDES */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: Arial, "Segoe UI Light", "Helvetica Neue", Helvetica, sans-serif;
  color: var(--font-color);
}

label {
  font-weight: 400;
}
.form-control,
.form-control[disabled] {
  border-color: var(--primary-color);
}

.navbar-right {
  margin-top: calc(calc(65px - 51px) * 0.5); /*header height - navbar height divided by 2*/
}

.form-control,
input.form-control {
  border-color: var(--primary-color);
}

.bi {
  width: 1em;
  height: 1em;
}

/* HELPERS */
.font-weight-normal {
  font-weight: 400;
}

.v-align-middle {
  vertical-align: middle !important;
}

/* SURVERYS */

.survey-wrapper h1,
.survey-wrapper h2,
.survey-wrapper h3,
.survey-wrapper h4,
.survey-wrapper h5,
.survey-wrapper h6,
.survey-wrapper .h1,
.survey-wrapper .h2,
.survey-wrapper .h3,
.survey-wrapper .h4,
.survey-wrapper .h5,
.survey-wrapper .h6 {
  font-weight: 700;
}

.survey-status-table .survey-status {
  color: var(--poly-orange-color);
}

.survey-wrapper {
  margin-bottom: 100px;
}

.report-buttons,
.survey-buttons {
  align-items: center;
  gap: 5px;
}

#submit-confirmation-dialog {
  display: none;
}

.section-container {
  --label-indent-step: 30px;
}

.section-container .answer-container .control-label.depth-1 {
  padding-left: calc(var(--label-indent-step) * 1);
}

.section-container .answer-container .control-label.depth-2 {
  padding-left: calc(var(--label-indent-step) * 2);
}

.section-container .answer-container .control-label.depth-3 {
  padding-left: calc(var(--label-indent-step) * 3);
}

.answer-input-group {
  --gap: 10px;
  --comment-width: 20px;
  --checkbox-width: 55px;

  display: flex;
  align-items: center;
  gap: var(--gap);
}

.answer-input-group .checkbox {
  min-width: var(--checkbox-width);
  align-self: baseline;
}

.answer-input-group .answer-rollup {
  margin-left: calc(var(--comment-width) + var(--gap));
  margin-right: calc(var(--checkbox-width) + var(--gap));
}

.answer-input-group .survey-comment {
  font-size: var(--comment-width);
  display: flex;
  cursor: pointer;
}

.answer-input-group .survey-comment input {
  display: none;
}

.answer-input-group.answer-input-group-comment {
  display: block;
  margin-top: 20px;
}

.answer-input-group.answer-input-group-comment .form-control {
  width: 100%;
}

/* IR - Institutional Research */
.ir-survey {
  --ir-value-cell-width: 140px;
  --ir-checkbox-cell-width: 90px;
  --ir-total-cell-width: 140px;
  --ir-group-cell-padding-left: 30px;
  --survey-table-color: #ddd;
  --survey-divider-color: var(--survey-table-color);
  margin-top: 21px;
}

.ir-survey .table > thead > tr > th {
  vertical-align: top;
}

.ir-survey .survey-comment-container {
  margin-top: 20px;
}

.ir-survey .form-control {
  padding: 6px;
}

.ir-survey table .form-control {
  height: 30px;
}

.ir-survey .table {
  border: 1px solid var(--survey-table-color);
}

.ir-survey .table:not(:last-of-type) {
  margin-bottom: 0;
  border-bottom: 0;
}

.ir-survey .table td {
  vertical-align: middle;
}

.ir-survey .value-cell {
  width: var(--ir-value-cell-width);
  min-width: 80px;
}

.ir-survey .value-cell.checkbox-cell {
  width: var(--ir-checkbox-cell-width);
}

.ir-survey .value-cell label {
  margin-bottom: 0;
}

.ir-survey .total-cell {
  width: var(--ir-total-cell-width);
}

.ir-survey .value-group-cell {
  white-space: nowrap;
  padding-left: var(--ir-group-cell-padding-left);
}

.ir-survey .value-group-cell.no-padding {
  --ir-group-cell-padding-left: 8px;
}

.ir-survey .value-group-cell.empty {
  border-top: 0;
}

.ir-survey .content-width-cell {
  width: 1%;
  white-space: nowrap;
}

.ir-survey .table h3 {
  margin-top: 10.5px;
}

.ir-survey .table .divider {
  height: 20px;
  background-color: var(--survey-divider-color);
}

/* HOME PAGE */

.help-block-container {
  display: flex;
  gap: 30px;
  float: none;
}

.help-block {
  min-width: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  word-break: break-word;
  background: rgb(255, 255, 255);
  padding: 40px;
}

.help-wrapper.designblock {
  min-height: auto;
}

.survey-help-block {
  padding-bottom: 10px;
  background-color: rgb(226, 238, 239);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 2px 0px;
}

/* FOOTER */

footer a,
footer a:hover {
  color: #e9e9e9;
}

footer .poly-footer-row {
  display: flex;
  align-items: center;
}

.footer-bottom {
  padding: 0px 0 !important;
}

footer .footer-bottom {
  font-size: 1em;
}

@media screen and (min-width: 768px) {
  footer .poly-copyright {
    text-align: right;
  }
}
