.portal-create { margin: 0 0 1rem; }

a.button,
.portal-create .btn {
  display: inline-block;
  width: auto;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 3px;
  background: #83ba38;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

a.button:hover,
.portal-create .btn:hover {
  background: #78aa33;
  color: #ffffff;
}

.portal-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
  margin: 0 0 1rem;
  max-width: none;
}

.portal-filters label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: #666666;
  font-size: 14px;
}

.portal-filters select,
.portal-filters input[type="text"] {
  width: auto;
  min-width: 9rem;
  max-width: 16rem;
  height: 30px;
  margin: 0;
  padding: 2px 6px;
  font-size: 14px;
}

.portal-filters input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.portal-filters button {
  display: inline-block;
  width: auto;
  padding: 0.25rem 0.8rem;
  font-size: 14px;
}

.portal-cases {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.25rem;
}

.portal-cases th,
.portal-cases td {
  padding: 8px 10px;
  border-bottom: 1px solid #dddddd;
  text-align: left;
  vertical-align: top;
}

.portal-cases thead th {
  background: #f7f7f7;
  color: #666666;
  font-weight: 700;
}

.portal-cases thead th:first-child::after {
  content: "▾";
  margin-left: 0.3rem;
  font-size: 0.75em;
}

.portal-cases a {
  color: #83ba38;
  text-decoration: none;
}

.portal-cases a:hover { color: #4d4d4d; }

.portal-table-info,
.portal-table-pager {
  margin: 0.2rem 0;
  color: #666666;
  text-align: center;
}

.portal-table-pager .is-current { padding: 0 0.2rem; }

.portal-table-pager .is-disabled { color: #999999; }

.portal-form {
  display: block;
  max-width: none;
  margin: 0 0 1.25rem;
}

.portal-form label {
  display: block;
  margin: 0.7rem 0 0.25rem;
  color: #666666;
}

.portal-form input[type="text"],
.portal-form select,
.portal-form textarea {
  display: block;
  width: 375px;
  max-width: 100%;
}

.portal-form textarea { height: 125px; }

.portal-form button {
  display: inline-block;
  width: auto;
  margin-top: 0.8rem;
}

.portal-form .portal-priority { display: none; }

.portal-case h2 span {
  font-size: 0.7em;
  font-weight: 400;
}

.portal-case h2 form { display: inline; }

.portal-case label {
  display: block;
  margin: 0.8rem 0 0.15rem;
}

.case_description,
.case_update {
  border: 1px solid #666666;
  border-radius: 5px;
  margin-top: 5px;
  padding: 5px;
  background: #ffffff;
}

.case_description { min-height: 50px; }

.user_update { margin-right: 50px; }

.contact_update { margin-left: 50px; }

.portal-note { color: #666666; }

.portal-note strong { color: #ff0000; }
