* {
  font-family:
    Montserrat,
    Open Sans,
    Lora,
    sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin-left: 0;
  margin-right: 0;
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 4rem;
  position: relative;
  gap: 3rem;
}

img {
  max-width: 50%;
  float: left;
}

h1 {
  font-size: 2.5em;
  color: #005eb8;
  float: left;
  margin: 15px;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.2em;
}

h3 {
  font-size: 1.2em;
}

a {
  color: #005eb8;
  display: block;
}

ul {
  list-style-type: none;
}

li {
  font-size: 1.4em;
  padding-top: 10px;
}

a:visited {
  color: maroon;
}

label {
  display: block;
}

.header {
  margin: 15px;
  max-height: 100px;
}

.formBox {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 5rem;
  flex-wrap: wrap;
  margin: 0 4rem;
  margin-bottom: 90px;
}

#helpBoxOuter {
  display: flex;
  flex-direction: column;
}

#helpBoxInner {
  width: 100%;
}

.column {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
}

label,
input,
p,
h3,
a {
  font-size: 1.2em;
}

.needHelp {
  float: right;
  display: flex;
  flex-direction: column;
  justify-content: start;
  flex: 1 1 0;
  gap: 20px;
}

.columnBold {
  font-weight: 600;
}

.resultText {
  font-weight: 400;
  display: inline-block;
  text-decoration: none;
  font-size: 0.83em;
}

.Lookup_form {
  font-family:
    Open Sans,
    Montserrat,
    Lora,
    sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  flex: 1 1 min-content;
  width: min-content;
  max-width: 500px;
}

.Lookupform p,
a {
  padding-top: 5px;
  padding-bottom: 5px;
}

label {
  font-weight: 600;
}

input[type="radio"] {
  margin: 5px;
  color: #ccc;
}

.umassp-btn-container {
  margin: 17px 0px;
}

.umassp-btn-primary {
  display: inline-block;
  padding: 14px 25px;
  margin-right: 16px;
  font-family: "Montserrat", sans-serif; /* as used on UMassp.edu */
  color: #fff;
  font-size: 18px;
  font-size: 1.125rem; /* use both!! */
  background-color: #148071;
  border: 3px solid #148071;
  border-radius: 4px;
  cursor: pointer;
}

.umassp-btn-primary:focus,
.umassp-btn-primary:hover,
.umassp-btn-primary:active {
  outline: 3px solid;
  outline-offset: 5px;
  outline-color: #148071;
}

.required-star {
  color: #c50000;
  font-weight: 400;
}

fieldset {
  border: 0;
  padding: 6px 0px 6px 0px;
  font-weight: 600;
}

.greyFormStyle {
  border: 1px solid #ccc;
  border-radius: 3px;
}

.formSpacer {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* This style needs to cascade over the .formSpacer class */
.formSectionMargin {
  margin-bottom: 24px;
}

.boxed label {
  display: inline-block;
}

#lookupLinks {
  font-size: 1em;
  margin: 20px;
}

.boxed {
  border: 1px solid black;
  padding: 10px;
  margin-top: 7px;
  width: 80%;
}

.helpDeskTable,
th,
td {
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  color: #005eb8;
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
  font-size: 1em;
}

th {
  color: black;
}

footer {
  background-color: #005eb8;
  position: fixed;
  height: auto;
  color: #ffffff;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  bottom: 0;
  padding: 10px;
}

.footer-para {
  font-size: 0.75em;
  padding-top: 5px;
  padding-bottom: 5px;
}

#emailIdResults {
  display: flex;
  flex-direction: column;
  justify-content: start;
  max-width: 700px;
  flex: 1 1 400px;
  gap: 10px;
}

#needHelpBox {
  max-width: 700px;
  flex: 1 1 400px;
  word-wrap: break-word;
}

@media only screen and (max-width: 1100px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
    margin-right: 15px;
  }

  img {
    max-width: 80%;
  }

  .column {
    flex-direction: column;
    width: 90%;
  }

  #helpBoxOuter {
    max-width: 100%;
  }

  label,
  input,
  p,
  a {
    font-size: 1em;
  }

  .Lookup_form {
    float: none;
    width: 100%;
    padding-top: 0;
    width: fit-content;
  }
  .needHelp {
    float: none;
    width: 100%;
  }

  th,
  td {
    font-size: 1em;
  }

  .formBox {
    margin-left: 3rem;
    margin-right: 3rem;
  }

  .footer-para {
    padding-top: 2px;
    padding-bottom: 2px;
  }
}

fieldset > legend + label {
  width: max-content;
}

input[type="submit"]:disabled {
  background-color: gray;
  border-color: gray;
  cursor: not-allowed;
  outline-color: transparent;
}
input[type="submit"]:disabled:hover {
  outline-color: transparent;
}

.hidden,
.hidden > * {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  min-width: 0 !important;
  display: none !important;
}

@media only screen and (max-width: 600px) {
  img {
    max-width: 100%;
  }

  th,
  td {
    font-size: 0.8em;
  }

  main {
    gap: 1.5rem;
    padding-top: 2rem;
  }

  .formBox {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    gap: 2rem;
  }
}
