:root {
  --pr-brand: #0B2A3C;
  --pr-action: #1565C0;
  --pr-action-hover: #0F56A6;
  --pr-accent: #F57C00;
  --pr-bg: #F5F7FA;
  --pr-surface: #FFFFFF;
  --pr-surface-soft: #EEF2F6;
  --pr-text: #17212B;
  --pr-muted: #5B6670;
  --pr-line: #D7DEE5;
}

body {
  background: var(--pr-bg);
  color: var(--pr-text);
}

#container {
  width: 900px;
  max-width: calc(100% - 32px);
  background: var(--pr-surface);
  box-shadow: 0 12px 32px rgba(11, 42, 60, 0.12);
  border: 1px solid var(--pr-line);
}

#header {
  height: 82px;
  padding: 0 22px;
  background: #fff;
  border-bottom: 1px solid var(--pr-line);
}

#header #logo img {
  max-height: 72px;
  max-width: 360px;
}

#header p {
  color: var(--pr-muted);
}

a,
.link {
  color: var(--pr-action);
}

a:hover,
.link:hover {
  border-bottom-color: var(--pr-action);
}

h1 {
  color: var(--pr-brand);
  font-weight: 600;
}

h2,
.subject {
  color: var(--pr-text);
}

#nav {
  height: 34px;
  padding: 0 10px;
  background: var(--pr-brand);
  border: 0;
  box-shadow: none;
}

#nav li a {
  height: 34px;
  line-height: 34px;
  color: #fff;
  border-radius: 4px;
  margin-left: 4px;
  padding-right: 12px;
}

#nav li a.active,
#nav li a:hover {
  background-color: var(--pr-accent);
  color: #fff;
}

#content {
  margin: 0 24px;
}

button,
.button,
input[type="submit"],
input[type="button"] {
  border-radius: 4px;
}

.blue.button,
input[type="submit"] {
  background-color: var(--pr-action);
  border-color: var(--pr-action-hover);
}

.blue.button:hover,
input[type="submit"]:hover {
  background-color: var(--pr-action-hover);
}

#footer {
  color: var(--pr-muted);
  margin: 12px 0 20px;
}

#footer a {
  color: var(--pr-muted);
}

#footer #poweredBy {
  display: inline-block;
  width: auto;
  height: auto;
  margin-top: 4px;
  background: none;
  background-size: auto;
  text-indent: 0;
  opacity: 0.45;
  font-size: 10px;
}

@media (max-width: 720px) {
  #container {
    max-width: 100%;
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  #header {
    height: auto;
    min-height: 82px;
  }

  #header #logo img {
    max-width: 260px;
  }

  #header p {
    width: auto;
  }
}

/* ProntoRoster guided ticket forms */
#ticketForm {
  max-width: 820px;
}

#ticketForm > table {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
}

#ticketForm tbody {
  display: block;
  margin: 0 0 18px;
  padding: 18px 18px 8px;
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 8px;
}

#ticketForm tbody:empty {
  display: none;
}

#ticketForm tbody tr {
  display: block;
  margin: 0 0 12px;
}

#ticketForm tbody tr td {
  display: block;
  width: auto !important;
  padding: 0;
}

#ticketForm tbody tr td:first-child,
#ticketForm label,
#ticketForm .required {
  margin-bottom: 4px;
  color: var(--pr-text);
  font-weight: 700;
}

#ticketForm .form-header {
  margin: 0 0 12px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pr-line);
}

#ticketForm .form-header b,
#ticketForm h3 {
  color: var(--pr-brand);
  font-size: 18px;
  font-weight: 700;
}

#ticketForm h3 {
  margin: 0 0 4px;
}

#ticketForm .form-header + em,
#ticketForm em {
  color: var(--pr-muted) !important;
  font-size: 13px;
  line-height: 1.35;
}

#ticketForm input[type="text"],
#ticketForm input[type="email"],
#ticketForm input[type="tel"],
#ticketForm select,
#ticketForm textarea {
  width: min(100%, 520px) !important;
  min-height: 36px;
  box-sizing: border-box;
  border: 1px solid #B9C3CD;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--pr-text);
  background: #fff;
}

#ticketForm select {
  max-width: 520px;
}

#ticketForm textarea {
  min-height: 120px;
}

#ticketForm input:focus,
#ticketForm select:focus,
#ticketForm textarea:focus {
  border-color: var(--pr-action);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.16);
  outline: none;
}

#ticketForm font.error,
#ticketForm span.error {
  color: #B42318;
  font-weight: 700;
}

#ticketForm .redactor-box {
  width: min(100%, 680px) !important;
  border: 1px solid #B9C3CD;
  border-radius: 8px;
  overflow: hidden;
}

#ticketForm .redactor-toolbar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--pr-line);
}

#ticketForm .redactor-editor {
  min-height: 150px;
  padding: 14px 16px;
}

#ticketForm .filedrop .dropzone {
  width: min(100%, 680px) !important;
  border-radius: 0 0 8px 8px;
  background: #F8FAFC;
}

#ticketForm .buttons {
  padding: 12px 0 0;
}

#ticketForm .buttons input[type="submit"] {
  min-width: 140px;
  border-radius: 6px;
  padding: 9px 16px;
}

#ticketForm .buttons input[type="reset"],
#ticketForm .buttons input[type="button"] {
  border-radius: 6px;
  padding: 8px 14px;
  border: 1px solid var(--pr-line);
  background: #fff;
  color: var(--pr-text);
}

@media (max-width: 720px) {
  #ticketForm tbody {
    padding: 14px 12px 4px;
    border-radius: 6px;
  }

  #ticketForm input[type="text"],
  #ticketForm input[type="email"],
  #ticketForm input[type="tel"],
  #ticketForm select,
  #ticketForm textarea,
  #ticketForm .redactor-box,
  #ticketForm .filedrop .dropzone {
    width: 100% !important;
  }
}

#ticketForm .redactor-toolbar-wrapper,
#ticketForm .redactor-toolbar {
  display: none !important;
}

#ticketForm .redactor-box {
  border-radius: 8px;
}

#ticketForm .redactor-editor {
  border-top: 0;
}
