/*!
Tablet — vendored fork of an upstream BSD-3-Clause CMS package.
Upstream copyright and license: LICENSE.txt in this package's root.
Provenance and rename map: README-VENDORED.md alongside it.
*/


/* Font sizes and inputs */

code,
pre,
textarea.monospace,
.monospace textarea {
  font-family: var(--w-font-mono);
  font-weight: normal;
  font-weight: 1rem;
}

.input input[type='color']{
  height: 40px;
  padding: 5px;
}


/* Show the site's custom logo in the wagtail admin */

.tablet-logo-custom {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

.sidebar-custom-branding {
  padding: 20px;
  margin: 0;
}


/* Display the optional banner above main content */

.tablet-banner {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}
.tablet-banner ~ .content-wrapper {
    padding-top: calc(1.5em + 8px);
}


/* Streamfield editor */

.tablet-collapsible {
  padding:0;
  margin: -16px 0 10px 0;
}
.tablet-collapsible .tablet-collapsible-target {
  padding: 10px 0 0;
}
.tablet-collapsible > button {
  max-width: 140px;
}

.tablet-checkbox-group {
  margin-bottom: 1em;
}
.tablet-checkbox-group ul {
  margin-top: 0.5em;
}
.tablet-checkbox-group label {
  padding-bottom: 0.25em;
}
.tablet-checkbox-group label input {
  margin-right: 0.25em;
}

.tablet-callout {
  background-color: var(--w-color-surface-header);
  border: 1px solid var(--w-color-border-furniture);
  border-radius: 6px;
  display: inline-block;
  padding: 2em 3em;
  text-align: center;
}
.tablet-callout .tablet-big-icon {
  font-size: 5rem;
  color: var(--w-color-text-label);
}
