/**Where all styling for the general microsite is stored.**/

#global-banner {
  padding: 16px;
  text-align: center;
  font-size: 15px;
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

#global-banner a {
  color: #0c5460;
  text-decoration: underline;
}

#global-banner a:hover {
  text-decoration: none;
}

#global-banner p {
  max-width: 1000px;
    display: block;
    margin: auto;
}

#pgc-container iframe {
  width: 100%;
}

.search-results .post-content-inner {
  margin-top: 1em;
  margin-bottom: 1em;
}

.et_pb_posts a.more-link {
  clear: both;
  display: inline-block !important;
}

/* toggles */
.accordion-btn {
  width: 100%;
  text-align: left;
  justify-content: space-between;
  display: flex;
}

.et_pb_toggle_title {
  width: 100%;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.et_pb_toggle_title::before {
  display: none !important;
}

.toggle-icon {
    border: solid currentcolor;
    border-width: 0 2px 2px 0;
    height: 0.6rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    transition: all 0.4s ease-in-out;
    width: 0.6rem;
}

.et_pb_toggle_open .toggle-icon {
  transform: translateY(-50%) rotate(-135deg);
}

/* .toggle-icon::before {
  font-size: 30px;
  font-weight: bold !important;
  line-height: 1 !important;
  text-decoration: none;
}

.et_pb_toggle_close .toggle-icon::before {
  content: "+";
}

.et_pb_toggle_open .toggle-icon::before {
  content: "\02013";
} */

/**general landing page styling**/
#info-use-modal {
  z-index: 10000;
}

.modal-body,
.modal-body a {
  color: black;
}

.partial_entry_warning {
	visibility: hidden;
	font-size: 1px;
}

input:disabled, select:disabled {
	opacity: 0.7;
    background-color: #eee;
}

/**Legacy Societies page**/
#legacysocietyInput,
#legacysocietySearch {
  width: 100%;
  font-size: 1rem;
  padding: 5px;
}

.ls-list {
  list-style-type: none !important;
  padding: 0 0 0 0 !important;
}

.list-list li {
  margin-left: 0 !important;
}

/*ACCESSIBILITY*/

.accordion-btn {
  border: none;
  background: transparent;
}

input[type="radio"]:focus-visible,
input[type="checkbox"]:focus-visible {
  outline: 3px solid #03a9f4;
}

/* FORMS */
.gform_wrapper {
  text-align: left !important;
}

.gform_wrapper.gravity-theme .gfield_checkbox label, .gform_wrapper.gravity-theme .gfield_radio label, .gform_wrapper .gfield_required, .instruction .validation_message {
  font-size: 18px !important;
}

.gform_wrapper.gravity-theme .gf_progressbar_title {
  font-size: 1em!important;
  line-height: 1!important;
  margin: 0 0 8px 12px!important;
  padding: 0!important;
  clear: both;
  -moz-opacity: .6;
  -khtml-opacity: .6;
  opacity: 1!important;
  color: #000;
}

.gform_wrapper .gf_progressbar {
  padding: 10px 0;
  position: relative;
  background-color: transparent!important;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  -webkit-box-shadow: none!important;
  -moz-box-shadow: none!important;
  box-shadow: none!important;
  width: 100%;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage {
  height: 35px !important;
  background-color: #000 !important;
}

.gform_wrapper .gf_progressbar_percentage {
  height: 40px;
  text-align: right;
line-height:1.75;
  font-size: 22px!important;
  text-shadow: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  z-index: 999;
  vertical-align: middle;
  background: #000;
  color: #fff !important;
  border-right: 2px solid #000;
}

.gform_wrapper .gf_progressbar:after {
  content: "";
  display: block;
  width: 100%;
  z-index: 990;
  height: 34px !important;
  margin-top: -35px !important;
  background-color: transparent;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  -webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,.05);
  -moz-box-shadow: inset 0 0 2px 2px rgba(0,0,0,.05);
  box-shadow: inset 0 0 2px 2px rgba(0,0,0,.05);
  border: 1px solid #000;
}

.gform_wrapper .gf_progressbar_percentage span {
  display: block;
  width: auto;
  float: right;
  margin-right: 5px;
  margin-left: 5px;
  line-height: 1.75 !important;
  font-weight: bold;
  font-size: 18px !important;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage:not(.percentbar_100) {
  border-radius: 16px 0 0 16px !important;
}

.gform_wrapper.gravity-theme .gf_step_label {
  border-radius: 50%;
  padding: 5px;
  max-height: 40px !important;
  min-width: 40px !important;
  line-height: 1.3 !important;
}

.gform_wrapper .top_label .gfield_label, .gform_wrapper .field_description_below .gfield_description, .gform_wrapper .gfield_description {
  font-weight: bold;
}

.gform_wrapper ul li.gfield.hideLabel {
	margin-top: 0 !important;
}


.gfield_required {
  padding-left: 5px !important;
}

.gfield.hideLabel > legend {
	height: 0 !important;
  visibility: hidden;
  font-size: 1px !important;
}

.gform_wrapper.gravity-theme .gfield {
  line-height: 1.5 !important;
}

.gform_wrapper.gravity-theme .gfield input.medium, .gform_wrapper.gravity-theme .gfield select.medium {
  width: 100% !important;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
  font-size: 18px !important;
  font-family: inherit;
  padding: 4px;
  min-height: 45px;
  border: 1px solid #909090 !important;
  letter-spacing: normal;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus, select:focus, textarea:focus {
  border-color: #000 !important;
  outline: 2px solid rgba(0, 144, 237, 0.4);
} 

.gform_wrapper.gravity-theme .gfield-choice-input+label {
  margin-bottom: 8px;
  vertical-align: top !important;
  max-width: calc(100% - 100px) !important;
}

.gform_wrapper.gravity-theme .gfield-choice-input {
  zoom: 1.40;
  margin-right: 8px;
  margin-bottom: 4px;
}

.radioLikert > div.ginput_container {
  margin-top: 0 !important;
}

.gform_wrapper.gravity-theme .gform_previous_button.button, .gform_wrapper.gravity-theme .gform_save_link.button, .gform_wrapper .gform_page_footer input.button {
  font-size: 18px !important;
  color: #fff;
  white-space: break-spaces;
}

.gform_wrapper.gravity-theme .gform_footer {
  justify-content: center;
}

.gform_wrapper .gform_validation_errors {
  margin-bottom: 32px !important;
}

h2.gform_submission_error {
  font-size: 20px !important;
  line-height: 1.5 !important;
}

.gform_wrapper .gform_validation_errors>ol {
  padding-bottom: 0 !important;
}

.gform_wrapper .gform_validation_errors>ol a {
  font-size: 18px !important;
  text-decoration: underline !important;
}

.gform_wrapper .gform_validation_errors>ol a:hover {
  text-decoration: none !important;
}

.ui-datepicker-header, .ui-datepicker-header .ui-datepicker-header {
  background-color: #eee !important;
}




/* MEDIA QUERIES */
@media screen and (max-width: 640px) {
  .gform_page_footer {
    display: flex;
    flex-direction: column;
  }

  .gform_wrapper.gravity-theme .gform_previous_button.button, .gform_wrapper.gravity-theme .gform_save_link.button, .gform_wrapper .gform_page_footer input.button {
    width: 100%;
    margin: 16px auto !important;
  }

  .ginput_container .gfield_checkbox div, .ginput_container .gfield_radio div {
    display: flex;
    margin-bottom: 8px;
  }

  .gform_wrapper.gravity-theme .gfield-choice-input {
    margin-top: 2px !important;
  }
}

@media screen and (max-width: 768px) {
  #legacychallenge-tabs>ul {
    display: block !important;
  }

  #legacychallenge-tabs li {
    width: 100% !important;
  }
}

@media screen and (max-width: 992px) {
  table.gsurvey-likert {
    display: none !important;
  }

  .radioLikert .gfield_radio li label {
    display: inline-block !important;
    white-space: normal !important;
    max-width: 85% !important;
    clip: rect(1px, 1px, 1px, 1px);
    height: auto !important;
    overflow: hidden !important;
    position: relative !important;
    width: auto !important;
    word-wrap: normal !important;
  }

  .gform_wrapper .gfield.gf_list_4col .gfield_checkbox, .gform_wrapper .gfield.gf_list_4col .gfield_radio {
    display: block !important;
  }

  /* allow likert labels to be visible on tablet/mobile */
  .says, .screen-reader-text, .radioLikert .gfield_radio label {
    clip: unset;
    height: auto !important;
    overflow: hidden !important;
    position: relative !important;
    width: auto !important;
    word-wrap: normal !important;
  }

  .gform_wrapper .gform_fields table.gsurvey-likert td:after {
    content: attr(data-label);
    line-height: 2;
    display: inline-block !important;
    margin-left: 2rem;
    font-weight: 400;
  }

  table.gsurvey-likert td input {
    position: relative !important;
  }

  /* make special gf_list_cols visible on tablet/mobile */
  .gform_wrapper .gfield.gf_list_10col .gfield_checkbox, .gform_wrapper .gfield.gf_list_10col .gfield_radio,
  .gform_wrapper .gfield.gf_list_5col .gfield_checkbox, .gform_wrapper .gfield.gf_list_5col .gfield_radio,
  .gform_wrapper .gfield.gf_list_3col .gfield_checkbox, .gform_wrapper .gfield.gf_list_3col .gfield_radio {
    display: block !important;
  }

  .radioLikert>legend {
    width: 100% !important;
    float: none !important;
  }
}

@media screen and (max-width:1199px) {
  /* 10-11 col likerts break earlier than tablet */
  .gf_list_10col.radioLikert>legend {
    width: 100% !important;
    float: none !important;
  }
  .gf_list_10col.radioLikert > div.ginput_container {
    float: none !important;
    width: 100% !important;
    text-align: left !important;
  }

  .gf_list_10col.radioLikert .gfield_radio li label {
    display: inline-block !important;
    white-space: normal !important;
    max-width: 85% !important;
    clip: rect(1px, 1px, 1px, 1px);
    height: auto !important;
    overflow: hidden !important;
    position: relative !important;
    width: auto !important;
    word-wrap: normal !important;
  }

  .gf_list_10col.radioLikert .gfield-choice-input+label {
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
  }

  .gf_list_10col.gfield_html.gfield_html_formatted {
    display: none !important;
  }
}

@media screen and (min-width: 1200px) {
  .gform_wrapper .gfield.gf_list_10col .gfield_checkbox, .gform_wrapper .gfield.gf_list_10col .gfield_radio {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr) [ 11 ];
    grid-template-columns: repeat(11,1fr);
    grid-template-rows: repeat(auto-fill,auto);
    grid-column-gap: 1rem;
  }
}

@media screen and (min-width:992px) {
  .radioLikert > fieldset {
    display: flex !important;
  }

  .radioLikert legend {
    float: left;
    width: 40% !important;
  }

  .radioLikert fieldset .ginput_container_radio {
    width: 60% !important;
    text-align: center;
    margin-top: 0 !important;
  }

  .gform_wrapper.gravity-theme .radioLikert .gfield-choice-input+label {
    visibility: visible; 
    color: #fff !important;
    font-size: 0px !important;
    width: 1px;
    height: 1px;
  }
  
  .gform_wrapper .gfield.gf_list_4col.radioLikert .gfield_radio {
    grid-column-gap: 0.25rem;
  }

}
