#id_email2 {
  display: none !important;
}

.message {
  display: block;
  padding: 40px !important;
  margin: 0 !important;
  box-sizing: border-box;
  text-align: center;
  font-weight: bold;
  font-size: 20px !important;
  font-family: "Arial", "Helvetica", sans-serif !important;
}
.message.debug {
  background: #EFEFEF;
  color: #333;
}
.message.info {
  background: #D9EDF7;
  border: none !important;
  color: #3A87AD;
}
.message.success {
  background: #6ebd8a !important;
  border: none !important;
  color: #fff;
}
.message.warning {
  background: #F7EEC0;
  border: none !important;
  color: #B5873D;
}
.message.error {
  background: #F2DEDE;
  border: none !important;
  color: #B94A48;
}

.fivehundred, .fourofour {
  padding: 10%;
}
.fivehundred.error, .fourofour.error {
  color: #333;
}
.fivehundred.error h1, .fourofour.error h1 {
  color: #1391c6;
}
.fivehundred.error h2, .fourofour.error h2 {
  color: #333;
}

#deprecated {
  background: #F2DEDE;
  border: 1px solid #EED3D7;
  color: #B94A48;
}

#deprecated > ul {
  list-style: none;
}

#staging-password-overlay {
  position: fixed;
  z-index: 2000;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}
#staging-password-overlay #staging-password-inset {
  color: white;
  position: absolute;
  width: 300px;
  top: 40%;
  left: 50%;
  margin-left: -150px;
  z-index: 2001;
}

section.readme {
  background: #FFFF99;
  padding: 10px;
}

.todo {
  background: #faeda2;
  border: 1px dashed red;
  padding: 10px;
  border-radius: 8px;
  color: #b91701;
}

code.example {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-left: 3px solid #f36d33;
  color: #666;
  page-break-inside: avoid;
  font-family: monospace;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1em 1.5em;
  display: block;
  word-wrap: break-word;
}

#icon-map .icon-box {
  text-align: center;
  border-bottom: 2px solid #f4f4f4;
  margin-bottom: 24px;
}
#icon-map .icon-box fieldset {
  border: none;
  background: none;
  border-radius: 0;
  align-items: center;
  padding: 5px 20px;
  margin: 0;
}
#icon-map .icon-box fieldset input {
  border: none;
  border-radius: 0;
  background: none;
  text-align: center;
}
#icon-map .icon-box .ligature input {
  border: none;
  border-radius: 3px;
  text-align: center;
  padding: 5px;
}

body, td, th, input, textarea, .form-row p {
  font-family: "Tex Gyre Adventor", "Arial", "Helvetica", sans-serif !important;
}

td, th {
  padding: 10px 20px;
}

a:link, a:visited {
  color: #1c86f2;
}
a:link:hover, a:visited:hover {
  color: #f03c69;
}

/*
Hide object names in admin tabular inline.
*/
td.original p {
  visibility: hidden;
}

.inline-group .tabular tr.has_original td {
  padding-top: 5px;
}

/* button style overrides */
/**************************/
#user-tools {
  position: absolute;
  line-height: 18px;
  background: #162734;
  border-bottom: 1px solid #3e5670;
  top: 0;
  right: 0;
  width: 100%;
  font-weight: 500;
  color: #999;
  padding: 8px 10px;
  margin: 0;
  box-sizing: border-box;
}
#user-tools a {
  display: inline-block;
  font-size: 10px;
  color: #fff !important;
  background-color: #3e5670;
  border-radius: 3px;
  padding: 4px 20px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
}
#user-tools a:hover {
  opacity: 0.8;
}

.object-tools a {
  display: inline-block;
  font-size: 10px;
  color: #fff !important;
  background-color: #3e5670 !important;
  border-radius: 3px;
  padding: 4px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
}
.object-tools a:hover {
  opacity: 0.8;
}

.button.default,
input.default[type=submit],
.submit-row input.default,
.button, input[type=submit], input[type=button], .submit-row input, a.button {
  font-size: 10px;
  color: #fff !important;
  background-color: #3e5670 !important;
  border-radius: 3px;
  padding: 4px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
}
.button.default:hover,
input.default[type=submit]:hover,
.submit-row input.default:hover,
.button:hover, input[type=submit]:hover, input[type=button]:hover, .submit-row input:hover, a.button:hover {
  opacity: 0.8;
  color: #fff !important;
}

#container #changelist #toolbar form input[type=submit],
#container #changelist .actions .button {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  background-color: #3e5670 !important;
  border-radius: 3px;
  padding: 6px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
}
#container #changelist #toolbar form input[type=submit]:hover,
#container #changelist .actions .button:hover {
  opacity: 0.8;
}

#container #changelist .actions {
  width: calc(100% - 20px);
}

/* login page */
.login #container {
  border-radius: 5px;
  padding-left: 0;
  position: relative;
}

.login #container input {
  width: auto;
  min-width: 0;
}

.login #container #header {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position: static;
  width: 100%;
}

.login #container #content {
  padding-top: 0;
}

.login #branding h1 {
  color: white;
  text-align: center;
}

.login .submit-row {
  background: none;
}

.login #header {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.login #container .form-row {
  padding: 4px;
}

/* Popup forms */
/***************/
.popup #container {
  padding: 0;
}
.popup #container #content {
  padding: 5%;
}

.arx-popup-container, .arx-popup {
  position: absolute;
  z-index: 1001 !important;
  margin: 0;
  padding: 0;
}

.arx-control {
  z-index: 1000 !important;
  box-sizing: border-box;
  background-color: #fff;
  border: 0;
  background-color: #1e1e27;
  width: 28px;
  border-radius: 6px;
  padding: 0;
  margin: 0;
  display: flex;
  line-height: 1;
  flex-direction: column;
  flex-wrap: wrap;
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.2);
}

.arx-reset * {
  box-sizing: border-box;
  background: 0 0;
  border: 0;
  font-size: 100%;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: baseline;
}

#container .form-row .arx-container {
  clear: left;
}

/* main layout overrides */
/*************************/
#container {
  z-index: 997;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  display: block;
  height: auto;
  min-height: 100vh !important;
}
#container #header {
  width: 100%;
  background: #162734;
  box-sizing: border-box;
  padding: 30px 40px;
  min-height: 135px;
  z-index: 1500;
}
#container #header #branding {
  padding-top: 30px;
}
#container #header #branding h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 200;
  margin-top: 7px;
  font-family: "Tex Gyre Adventor", "Arial", "Helvetica", sans-serif !important;
  line-height: 38px;
}
#container #header #branding h1 a {
  color: #fff !important;
}
#container div.breadcrumbs {
  width: 100%;
  background: #3e5670;
  border-top: 0;
  padding: 15px 40px;
  box-sizing: border-box;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.03em;
}
#container div.breadcrumbs a {
  color: #ccc;
  text-decoration: none;
  outline: none;
  text-transform: uppercase;
  font-size: 10px;
}
#container div.breadcrumbs a:hover {
  color: #f03c69;
}
#container ul.messagelist {
  width: 100%;
  box-sizing: border-box;
}
#container ul.messagelist li {
  padding-left: 340px;
}
#container div.breadcrumbs ~ #content.colMS {
  border-top: none !important;
}
#container #content {
  padding: 50px 50px 50px 330px;
  background: #f5f5f5;
  height: 100%;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}
@media (prefers-color-scheme: dark) {
  #container #content {
    background: #333;
    color: #fff;
  }
}
#container #content.colMS {
  border-top: 43px solid #3e5670;
}
#container #content h1 {
  margin: 0px 0 20px 0;
  font-weight: 800;
  font-size: 42px;
  color: #162734;
  font-family: "Tex Gyre Adventor", "Arial", "Helvetica", sans-serif !important;
}
@media (prefers-color-scheme: dark) {
  #container #content h1 {
    color: #fff;
  }
}

.login #container {
  min-height: auto !important;
}
.login #container #content.colM {
  padding: 20px !important;
  min-height: auto !important;
}

.dashboard #content-main {
  width: 600px !important;
}

.dashboard #content-extra {
  clear: left;
}

nav#admin-nav {
  width: 280px;
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  background: #162734;
  height: 100% !important;
  top: 178px;
  left: 0;
  padding: 24px;
  border-right: 1px solid #3e5670 !important;
}
nav#admin-nav hr {
  background-color: #666;
  margin: 0 !important;
}
nav#admin-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav#admin-nav li {
  margin: 0 0 1px 0;
  list-style: none;
}
nav#admin-nav li h2 {
  font-size: 16px;
  color: #fff;
  margin-left: 15px;
}
nav#admin-nav li hr {
  background-color: #3e5670;
  margin: 0 !important;
}
nav#admin-nav li a {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 10px 0 10px 5px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}
@media screen and (max-width: 1400px) {
  nav#admin-nav li a {
    font-size: 12px;
  }
}
nav#admin-nav li a span {
  display: inline-block;
  zoom: 1;
  *display: inline;
}
nav#admin-nav li a span.icon {
  width: 40px;
  font-size: 18px;
  margin-right: 10px;
  color: #3e5670;
  text-align: center;
  vertical-align: bottom;
  transition: all 0.3s ease;
}
nav#admin-nav li a span + span {
  position: relative;
  top: -4px;
}
nav#admin-nav li a:hover, nav#admin-nav li a:focus, nav#admin-nav li a.selected {
  color: #fff;
  background: #3e5670;
}
nav#admin-nav li a:hover span.icon, nav#admin-nav li a:focus span.icon, nav#admin-nav li a.selected span.icon {
  color: #fff;
}

/* module tables */
.module {
  background: #fff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  border: none;
  padding: 20px;
  margin: 20px 0;
  border-radius: 12px;
}
@media (prefers-color-scheme: dark) {
  .module {
    background: #3e5670;
    color: #fff;
  }
  .module a {
    color: #fff !important;
  }
}
.module.calendarbox, .module.clockbox {
  position: absolute;
  z-index: 1000;
}
.module table tr:nth-child(2n), .module table tr:nth-child(2n+1) {
  background: none;
}
.module caption {
  background: none;
  border-bottom: 4px solid #f4f4f4;
  border-radius: 0px;
  color: #333;
  text-transform: capitalize;
}
.module caption a {
  color: #333 !important;
  text-decoration: none;
}

#content-related, #changelist-filter {
  margin: 15px 20px 0 0;
}
#content-related h2, #changelist-filter h2 {
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 600;
  padding: 15px 20px;
  background: #c7d3df;
}
@media (prefers-color-scheme: dark) {
  #content-related h2, #changelist-filter h2 {
    background: #000;
    color: white;
  }
}
#content-related #recent-actions-module, #changelist-filter #recent-actions-module {
  background: #e6eef6;
  padding: 0;
  padding-bottom: 20px;
  border-radius: 12px;
}
#content-related #recent-actions-module h2, #changelist-filter #recent-actions-module h2 {
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 600;
  padding: 15px 20px;
  background: #c7d3df;
}

#changelist-filter {
  background: #e6eef6;
  padding-bottom: 20px;
  border-radius: 12px;
}
@media (prefers-color-scheme: dark) {
  #changelist-filter {
    background: #162734;
    color: white;
  }
}

#content-related {
  margin-top: 0px;
  margin-right: 40px;
}

fieldset.module {
  background: #fff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  border: none;
  padding: 0 5px 10px 5px;
  margin-bottom: 20px;
  border-radius: 12px;
}
@media (prefers-color-scheme: dark) {
  fieldset.module {
    background: #3e5670;
    color: #fff;
  }
}
fieldset.module table {
  margin: 20px;
  width: calc(100% - 40px) !important;
}
fieldset.module table tr:nth-child(2n+1), fieldset.module table .row-form-errors {
  background: #fff;
}
@media (prefers-color-scheme: dark) {
  fieldset.module table tr:nth-child(2n+1), fieldset.module table .row-form-errors {
    background: #3e5670;
    color: #fff;
  }
}
fieldset.module table tr:nth-child(2n) {
  background: #fff;
}
@media (prefers-color-scheme: dark) {
  fieldset.module table tr:nth-child(2n) {
    background: #3e5670;
    color: #fff;
  }
}
fieldset.module table th {
  background: #fff;
}
@media (prefers-color-scheme: dark) {
  fieldset.module table th {
    background: #000;
    color: #fff;
  }
}

.inline-group .tabular tr.add-row td {
  color: #666;
  background: #fff;
  padding: 8px 10px;
  border-bottom: none;
}
@media (prefers-color-scheme: dark) {
  .inline-group .tabular tr.add-row td {
    background: #000;
    color: white;
    border: none;
  }
}

.module h2,
.module.collapsed h2,
.inline-group h2,
#content-related .module h2,
.selector .selector-available h2 {
  background: #fff;
  border-bottom: 1px solid #ccc;
  border-radius: 12px 12px 0px 0px;
  color: #333;
  text-transform: capitalize;
}
@media (prefers-color-scheme: dark) {
  .module h2,
  .module.collapsed h2,
  .inline-group h2,
  #content-related .module h2,
  .selector .selector-available h2 {
    background: none;
    color: white;
    border: none;
  }
}
.module h2 a,
.module.collapsed h2 a,
.inline-group h2 a,
#content-related .module h2 a,
.selector .selector-available h2 a {
  color: #333 !important;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  .module h2 a,
  .module.collapsed h2 a,
  .inline-group h2 a,
  #content-related .module h2 a,
  .selector .selector-available h2 a {
    color: #f4f4f4 !important;
  }
}

.module h2,
.module caption,
.inline-group h2,
#content-related .module h2,
.selector .selector-available h2 {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 20px;
}

/* forms */
input[type=text],
input[type=password],
textarea {
  border-radius: 3px;
  border: none;
  border-left: 2px solid #c7d3df !important;
  padding: 9px;
  min-width: 350px;
  transition: all 0.3s ease;
  background: #e6eef6;
}
@media (prefers-color-scheme: dark) {
  input[type=text],
  input[type=password],
  textarea {
    color: #333;
  }
}

@media (prefers-color-scheme: dark) {
  select option {
    color: #333;
  }
}

input[type=text]:focus,
input[type=password]:focus,
textarea:focus {
  outline: none;
  border-left: 12px solid #c7d3df !important;
}

.submit-row {
  border: none;
  background: none;
  flex-direction: row-reverse;
}

.submit-row a.deletelink {
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  border-radius: 3px;
  padding: 6px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
  margin-left: 0 !important;
  margin-right: auto !important;
}

#container .form-row {
  padding: 20px;
}
#container .form-row .redactor-box {
  clear: left;
  top: 10px; /* relatively positioned by redactor css */
  margin-bottom: 10px;
}
#container .form-row .redactor-box ul {
  margin-left: 20px !important;
}
#container .form-row .redactor-box ul li {
  list-style: disc !important;
  margin: 0;
  padding: 0;
}
#container .form-row .redactor-box p {
  margin-left: 0 !important;
}
#container .form-row .redactor-toolbar {
  background: #e6eef6 !important;
  padding: 12px;
}
#container .form-row .arx-container {
  clear: left;
  width: 100%;
}
#container .form-row .arx-container ul li {
  list-style: disc !important;
}

#changelist #toolbar form input[value=Search] {
  padding: 2px 10px;
}

.changelist-form-container {
  margin-right: 24px;
}

p.selector-filter > input {
  min-width: 0;
  width: auto;
}

.selector select {
  background: white;
}

form .aligned div.redactor_box p,
form .aligned div.redactor_box ul {
  margin-left: 0;
  padding-left: 0;
}
form .aligned div.redactor_box p li,
form .aligned div.redactor_box ul li {
  list-style: disc;
  margin-left: 30px;
}

/* error notes */
.errors {
  background: #FCF8E3;
}

p.errornote {
  background: #FCF8E3;
  border-radius: 3px;
  border: 1px solid #FBEED5;
  color: #C09853;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
}

ul.errorlist li {
  background: #F2DEDE;
  border-radius: 3px;
  border: 1px solid #EED3D7;
  color: #B94A48;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
}

ul.messagelist li.info {
  background: #DFF0D8;
  border-color: #D6E9C6;
  color: #468847;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
}
