:root {
  --content-max-width: 1000px;
  --header-color: #333;
  --header-bg: #f8f8f8;
  --header-link-color: #333;
  --breadcrumbs-bg: #fff;
  --breadcrumbs-fg: #333;
  --breadcrumbs-link-fg: #333;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
}

#header {
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs {
  border-bottom: 1px solid #e0e0e0 !important;
}

#content-main > form:not(#login-form) {
  max-width: var(--content-max-width);
  margin-bottom: 50px;
}

input[type="tel"] {
  width: 7rem;
}

.form-row > div:not(.checkbox-row) {
  display: flex;
}

.checkbox-row label {
  width: auto !important;
}

.form-row > div > label {
  flex-shrink: 0;
  width: 170px;
}

form .aligned input + p.help,
form .aligned textarea + p.help,
form .aligned select + p.help,
form .aligned input + div.help,
form .aligned textarea + div.help,
form .aligned select + div.help {
  margin-left: 0 !important;
  padding-left: 10px;
  align-self: center;
}

.aligned label:not(.vCheckboxLabel):after {
  height: auto;
}

.aligned label + p,
.aligned label + div.help,
.aligned label + div.readonly {
  margin-left: 0 !important;
}

form .aligned ul {
  margin-left: 0 !important;
}

.inline-group th.column-extension {
  width: 80px;
}

.inline-group .field-extension input {
  max-width: 50px;
  text-align: center;
}

.inline-group th.column-phone_number {
  width: 140px;
}

.inline-group .tabular tr td.original,
.inline-group .tabular th.original {
  display: none !important;
}

.inline-group .tabular tr.has_original td {
  padding-top: inherit !important;
}

.inline-group .items {
  margin-bottom: 15px;
}

.inline-related {
  position: relative;
  margin-bottom: 15px;
}

.inline-related .inline-related {
  margin-left: 1%;
  max-width: 90%;
  margin-top: 10px;
}

.inline-related h2 {
  display: none;
}

p.datetime br {
  display: none;
}

p.datetime .timezonewarning {
  display: block;
}

.aligned .widget-FileInput label {
  display: inline;
  float: none;
  width: auto;
}

.related-widget-wrapper {
  float: none !important;
  overflow: visible !important;
}

.dynamic-array-widget {
  position: relative;
  float: none;
  display: flex;
  flex-direction: column;
}

.dynamic-array-widget ul {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-right: 0 !important;
}

.dynamic-array-widget .array-item {
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 10px;
}

form:not(#login-form) .submit-row {
  box-sizing: border-box;
  position: fixed;
  bottom: 10px;
  left: 40px;
  width: var(--content-max-width);
  margin-bottom: 0 !important;
  box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.8);
}

.select2-container {
  width: 400px !important;
}

dl {
}

h2 {
  border-bottom: 2px solid #79aec8;
  padding-bottom: 0.5rem;
}

h3 {
  margin-bottom: 0.5rem;
}

.detail-actions {

}

.detail-actions-section {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1.5rem;
}
.detail-actions-section:last-child {
  border-bottom: none;
}

.detail-actions-section-item {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

.detail-actions .action-button {
  display: block;
}
.detail-actions .action-button:not(:last-child) {
  margin-bottom: 1rem;
}

.action-button {
  display: inline-block;
  padding: 0 30px;
  color: #555;
  text-align: center;
  text-decoration: none;
  line-height: 1;
  padding: 0.5em 1em !important;
  white-space: nowrap;
  background-color: transparent !important;
  color: #333 !important;
  border-radius: 4px;
  border: 1px solid #bbb !important;
  cursor: pointer;
  box-sizing: border-box; }
.action-button:hover,
.action-button:focus {
  color: #333 !important;
  border-color: #888 !important;
  outline: 0; }
.action-button.button-primary {
  color: #FFF;
  background-color: #33C3F0;
  border-color: #33C3F0; }
.action-button.button-primary:hover,
.action-button.button-primary:focus {
  color: #FFF;
  background-color: #1EAEDB;
  border-color: #1EAEDB; }

.action-button.button-small {
  padding: 3px 5px;
}
