pressbooks aldine theme the theme used for the front page or default book
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3113 lines
247 KiB

/**
* Import npm dependencies
*
* Prefix your imports with `~` to grab from node_modules/
* @see https://github.com/webpack-contrib/sass-loader#imports
*/
/** Import theme styles */
/* spacing */
/** Colors */
/** Fonts */
/** Breakpoints */
*,
*::before,
*::after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
}
@-ms-viewport {
width: device-width;
}
article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
body {
margin: 0;
font-family: "Spectral", serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: var(--body-color, #000);
text-align: left;
background-color: var(--body-bg, #fff);
}
[tabindex='-1']:focus {
outline: none !important;
}
hr {
-webkit-box-sizing: content-box;
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
abbr[title],
abbr[data-original-title] {
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
cursor: help;
border-bottom: 0;
}
address {
margin-bottom: 1rem;
font-style: normal;
line-height: inherit;
}
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
dt {
font-weight: 600;
}
dd {
margin-bottom: 0.5rem;
margin-left: 0;
}
blockquote {
margin: 0 0 1rem;
}
dfn {
font-style: italic;
}
b,
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
a {
color: var(--brand);
text-decoration: none;
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
a:hover {
color: var(--brand-hover);
text-decoration: underline;
}
/* a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none;
&:focus,
&:hover {
color: inherit;
text-decoration: none;
}
&:focus {
outline: 0;
}
} */
pre,
code,
kbd,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
-ms-overflow-style: scrollbar;
}
figure {
margin: 0 0 1rem;
}
img {
vertical-align: middle;
border-style: none;
}
svg:not(:root) {
overflow: hidden;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
-ms-touch-action: manipulation;
touch-action: manipulation;
}
table {
border-collapse: collapse;
}
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #888;
text-align: left;
caption-side: bottom;
}
th {
text-align: inherit;
}
label {
display: inline-block;
margin-bottom: 0.5rem;
}
button {
border-radius: 0;
}
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
html [type='button'],
[type='submit'] {
-webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
padding: 0;
border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
-webkit-appearance: listbox;
}
textarea {
overflow: auto;
resize: vertical;
}
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
max-width: 100%;
padding: 0;
margin-bottom: 0.5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal;
}
progress {
vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
height: auto;
}
[type='search'] {
outline-offset: -2px;
-webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button;
}
output {
display: inline-block;
}
summary {
display: list-item;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
:root {
--font-family-sans-serif: "Karla", sans-serif;
--font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--brand: #b01109;
--brand-hover: #770600;
--brand-accent: #015d75;
--body-bg: #fff;
--body-bg-alt: #f9fdff;
--body-bg-alt2: #ececec;
--body-color: #000;
--button-primary-color: #fff;
--button-primary-hover-color: #770600;
--button-secondary-color: #b01109;
--button-secondary-hover-color: #770600;
--header-bg: #fff;
--header-color: #000;
--footer-bg: #444;
--footer-color: #fff;
--book-bg: #fff;
--brand-orig: #b01109;
--brand-hover-orig: #770600;
--brand-accent-orig: #015d75;
--primary: #b01109;
--accent: #015d75;
--primary-fg: #fff;
--accent-fg: #fff;
--header-text: #000;
--cover-header-bg: #000;
}
.content-max-width, .block-toc .inner-content {
max-width: 1330px;
margin: 0 auto;
}
img {
max-width: 100%;
}
.clearfix::after {
display: block;
clear: both;
content: '';
}
/**
* CSS file contents originally from WP Accessibility Plugin v.1.3.10 which is released under GPL v3
* original author Chris Rodriguez
* modified by Brad Payne, Ashlee Zhang
*/
/***** Accessibility styles *****/
.focusable:focus {
outline: none;
}
.has-focus {
background: yellow;
}
.a11y-toolbar {
--header-color: #fff;
position: fixed;
z-index: 99999;
top: 0;
padding: 0 1rem;
width: 100vw;
margin: 0 auto;
font-family: "Karla", sans-serif;
}
.a11y-toolbar .wrap {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
width: 100%;
max-width: 1440px;
margin: 0 auto;
}
.a11y-toolbar ul {
list-style: none;
margin: 0;
padding: 0;
}
.a11y-toolbar ul li {
display: inline-block;
margin: 0;
padding: 0;
}
.a11y-toolbar ul li a {
padding: 0.25rem 0.875rem;
margin: 0;
color: var(--brand);
background: var(--body-bg);
font-size: 1rem;
line-height: 1.5;
text-align: center;
border-bottom: 2px solid var(--brand);
}
.a11y-toolbar ul li a:hover, .a11y-toolbar ul li a:focus {
color: var(--header-color);
background: var(--brand);
text-decoration: none;
}
.a11y-toolbar ul li:first-child a {
border-left: 2px solid var(--brand);
border-bottom-left-radius: 4px;
}
.a11y-toolbar ul li:last-child a {
border-right: 2px solid var(--brand);
border-bottom-right-radius: 4px;
}
.fontsize {
font-size: 22px;
}
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
background-color: var(--body-bg);
border-radius: 3px;
-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
-webkit-clip-path: none;
clip-path: none;
color: var(--body-color);
display: block;
font-size: 0.875rem;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
/* Above WP toolbar. */
}
button,
input[type="submit"],
a.call-to-action {
border-style: solid;
border-width: 2px;
border-radius: 3px;
display: inline-block;
font-family: "Karla", sans-serif;
font-weight: 600;
line-height: 1.5;
padding: 0.875rem 3.25rem;
vertical-align: middle;
text-align: center;
text-decoration: none;
text-transform: uppercase;
}
button:focus, button:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
a.call-to-action:focus,
a.call-to-action:hover {
text-decoration: none;
}
button:focus, button.focus,
input[type="submit"]:focus,
input[type="submit"].focus,
a.call-to-action:focus,
a.call-to-action.focus {
outline: 0;
}
button.disabled, button:disabled,
input[type="submit"].disabled,
input[type="submit"]:disabled,
a.call-to-action.disabled,
a.call-to-action:disabled {
opacity: 0.65;
-webkit-box-shadow: none;
box-shadow: none;
}
button:active, button.active,
input[type="submit"]:active,
input[type="submit"].active,
a.call-to-action:active,
a.call-to-action.active {
background-image: none;
-webkit-box-shadow: 0 0 0 3px rgba(176, 17, 9, 0.25), inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: 0 0 0 3px rgba(176, 17, 9, 0.25), inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
button,
input[type="submit"] {
background-color: var(--brand);
border-color: var(--brand);
color: var(--button-primary-color);
}
button:focus, button:hover,
input[type="submit"]:focus,
input[type="submit"]:hover {
background-color: var(--brand-hover);
border-color: var(--brand-hover);
color: var(--button-primary-color);
}
a.call-to-action {
background-color: var(--button-primary-color);
border-color: var(--brand);
color: var(--brand);
}
a.call-to-action:focus, a.call-to-action:hover {
background-color: var(--brand);
border-color: var(--brand);
color: var(--button-primary-color);
}
[class$='--alternate'] .call-to-action {
background-color: var(--accent);
border-color: var(--button-primary-color);
color: var(--button-primary-color);
}
[class$='--alternate'] .call-to-action:focus, [class$='--alternate'] .call-to-action:hover {
background-color: var(--button-primary-color);
border-color: var(--button-primary-color);
color: var(--accent);
}
.button--secondary {
background-color: transparent;
border-color: var(--brand);
color: var(--brand);
}
.button--secondary:focus, .button--secondary:hover {
border-color: var(--brand-hover);
color: var(--brand-hover);
}
.button--circle--primary {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: var(--brand);
color: var(--button-primary-color);
border-radius: 50%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
height: 3.75rem;
width: 3.75rem;
}
.button--circle--primary:focus, .button--circle--primary:hover {
background-color: var(--brand-hover);
border-color: var(--brand-hover);
color: var(--button-primary-color);
text-decoration: none;
}
.block-comments {
--brand: var(--footer-color);
--brand-hover: var(--footer-color);
--brand-accent: var(--footer-color);
background-color: #444;
color: #fff;
font-family: "Karla", sans-serif;
padding: 2rem 1rem 2.25rem;
}
@media screen and (min-width: 768px) {
.block-comments {
padding: 4.5rem 1rem 2.5rem;
}
}
.block-comments a {
color: var(--brand);
text-decoration: none;
}
.block-comments a:hover {
color: var(--brand-hover);
text-decoration: underline;
}
.block-comments__inner {
max-width: 800px;
margin: 0 auto;
}
.section__title.block-comments__title {
font-size: 1.5rem;
}
.section__title.block-comments__title::before {
margin: 0 auto 1rem;
width: 46px;
}
.block-comments__form {
max-width: 400px;
margin: 0 auto;
}
@media screen and (min-width: 60rem) {
.block-comments__form {
max-width: none;
}
}
.comment-reply-title {
display: none;
}
.comment-notes {
text-align: center;
}
.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
overflow: hidden;
margin-bottom: 1.25rem;
margin-top: 0;
}
@media screen and (min-width: 60rem) {
.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
margin-bottom: 1.25rem;
}
}
.comment-form-comment {
margin-bottom: 1.25rem;
}
@media screen and (min-width: 60rem) {
.comment-form-comment {
float: right;
margin-bottom: 0;
}
}
#commentform label {
display: block;
font-size: 0.875rem;
}
#commentform input,
#commentform textarea {
padding: 0.375rem 0.75rem;
width: 400px;
}
@media screen and (min-width: 60rem) {
#commentform input,
#commentform textarea {
width: 350px;
}
}
#commentform input {
font-size: 0.875em;
}
#respond .form-allowed-tags {
width: 350px;
margin: 10px 0 0 170px;
font-size: 0.7em;
line-height: 1.2em;
}
.form-submit {
margin-top: 2rem;
text-align: center;
}
@media screen and (min-width: 60rem) {
.form-submit {
float: right;
width: 350px;
}
}
.form-submit input#submit {
height: auto;
width: auto;
}
[data-icon]::before {
font-family: 'pressbooks-theme', sans-serif !important;
content: attr(data-icon);
font-style: normal !important;
font-weight: normal !important;
font-variant: normal !important;
text-transform: none !important;
speak: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}
.icon {
display: inline-block;
font-size: 1.875rem;
width: 1.875rem;
height: 1.875rem;
margin: 0 0.5rem;
text-decoration: none !important;
}
.icon::before {
font-family: 'pressbooks-theme', sans-serif !important;
font-style: normal !important;
font-weight: normal !important;
font-variant: normal !important;
text-transform: none !important;
speak: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
width: 1em;
height: 1em;
}
.icon-arrow-down::before {
content: 'a';
}
.icon-arrow-left::before {
content: 'x';
}
.icon-arrow-right::before {
content: 'b';
}
.icon-arrow-up::before {
content: 'c';
}
.icon-arrow-up-down::before {
content: 'a';
}
.icon-arrow-up-down.\--visible::before {
content: 'c';
}
.icon-book::before {
content: 'd';
}
.icon-graph::before {
content: 'g';
}
.icon-like::before {
content: 'h';
}
.icon-share-books::before {
content: 'j';
}
.icon-speach-bubble::before {
content: 'k';
}
.icon-twitter::before {
content: 'l';
}
.icon-facebook::before {
content: 'e';
}
.icon-search::before {
content: 'm';
}
.icon-cc::before {
content: 'f';
}
.icon-cc-by::before {
content: 'n';
}
.icon-google-plus::before {
content: 'o';
}
.icon-cc-nc::before {
content: 'i';
}
.icon-cc-share::before {
content: 'p';
}
.icon-cc-sa::before {
content: 'q';
}
.icon-cc-zero::before {
content: 'r';
}
.icon-cc-pd::before {
content: 's';
}
.icon-cc-nd::before {
content: 't';
}
.icon-cc-nc-jp::before {
content: 'u';
}
.icon-cc-nc-eu::before {
content: 'v';
}
.icon-cc-remix::before {
content: 'w';
}
.block-reading-meta {
background-color: #ececec;
font-family: "Karla", sans-serif;
padding: 2rem 1rem 4rem;
}
@media screen and (min-width: 768px) {
.block-reading-meta {
padding: 2rem 1rem 2.25rem;
}
}
.block-reading-meta__inner {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
}
.block-reading-meta__subsection {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
min-width: 300px;
padding-right: 2rem;
}
.block-reading-meta__subtitle {
color: var(--brand);
}
.block-reading-meta__share {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.block-reading-meta__share > :first-child {
margin-left: 0;
}
.block-toc {
padding-left: 0;
padding-right: 0;
/*
.block-toc__part__title{
color: var(--primary);
} */
/* .block-toc__chapter {
border-top: solid 3px var(--body-bg);
background-color: var(--body-bg-alt);
//margin: 0 -1rem;
//padding: 1rem;
} */
}
@media screen and (min-width: 768px) {
.block-toc__title {
margin-bottom: 5rem;
}
}
.toc__front-matter,
.toc__back-matter {
font-weight: 700;
}
@media screen and (min-width: 768px) {
.toc__front-matter,
.toc__back-matter {
font-size: 1.125rem;
}
}
.toc__front-matter li,
.toc__back-matter li {
background-color: var(--body-bg-alt);
margin-bottom: 3px;
padding: 1rem;
}
.toc__list {
color: var(--brand);
margin-bottom: 0;
}
.toc__list,
.toc__list ul {
list-style: none;
padding: 0;
}
.toc__list li {
font-weight: 700;
}
.toc__list a {
color: var(--brand);
text-decoration: none;
}
.toc__list a:hover {
color: var(--brand-hover);
text-decoration: underline;
}
.js-toc-part-toggle {
cursor: pointer;
}
.toc__part__title {
background-color: var(--body-bg-alt);
font-size: 1rem;
margin-bottom: 3px;
padding: 1.25rem 1rem;
text-transform: uppercase;
}
@media screen and (min-width: 768px) {
.toc__part__title {
font-size: 1.5rem;
}
}
.toc__part__title .icon {
margin-left: auto;
font-size: 1em;
height: 1em;
width: 1em;
}
.toc__part__title .icon-arrow-up {
display: none;
}
.open .toc__part__title {
background-color: var(--brand);
color: var(--button-primary-color);
}
.open .toc__part__title .icon {
color: var(--button-primary-color);
}
.open .toc__part__title .icon-arrow-up-down::before {
content: "c";
}
.toc__part__title > .inner-content {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
ul.toc__chapters {
padding: 1rem;
}
.toc__chapters {
display: none;
}
@media screen and (min-width: 768px) {
.home .toc__chapters {
-webkit-column-count: 2;
column-count: 2;
-webkit-column-gap: 2rem;
column-gap: 2rem;
}
}
.open .toc__chapters {
display: block;
}
.toc__chapters .toc__chapter {
margin-bottom: 1rem;
overflow: hidden;
/* fix for Firefox */
-webkit-column-break-inside: avoid;
break-inside: avoid;
}
.toc__chapters .toc__chapter:last-child {
margin-bottom: 0;
}
.block-toc__toggle-all {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
margin-top: 1rem;
}
.block-toc__toggle-all .block-toc__toggle-all__hide {
display: none;
}
.block-reading-toc {
--body-bg-alt: var(--body-bg-alt2);
--brand: var(--brand-orig);
--brand-hover: var(--brand-hover-orig);
--brand-accent: var(--brand-accent-orig);
background-color: var(--body-bg);
display: none;
font-family: "Karla", sans-serif;
font-size: 1rem;
width: 100vw;
left: 0;
top: 100%;
position: absolute;
z-index: 100;
}
@media screen and (min-width: 60rem) {
.block-reading-toc {
width: 100%;
}
}
.block-reading-toc.\--visible {
display: block;
}
.block-reading-toc .toc__front-matter,
.block-reading-toc .toc__back-matter,
.block-reading-toc .toc__part__title {
font-size: 1rem;
}
@media screen and (min-width: 768px) {
.block-reading-toc .toc__front-matter li,
.block-reading-toc .toc__back-matter li,
.block-reading-toc .toc__part__title li {
padding: 1.25rem 1rem;
}
}
@media screen and (min-width: 768px) {
.block-reading-toc .toc__part__title {
padding: 1.25rem 1rem;
}
}
html {
-webkit-font-smoothing: antialiased;
}
main * + p {
margin-top: 1.5em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0.5rem;
font-family: "Karla", sans-serif;
font-weight: 700;
line-height: 1.5;
}
h1 a,
h1 a:hover,
h1 a:visited,
h1 a:active,
h2 a,
h2 a:hover,
h2 a:visited,
h2 a:active,
h3 a,
h3 a:hover,
h3 a:visited,
h3 a:active,
h4 a,
h4 a:hover,
h4 a:visited,
h4 a:active,
h5 a,
h5 a:hover,
h5 a:visited,
h5 a:active,
h6 a,
h6 a:hover,
h6 a:visited,
h6 a:active {
color: inherit;
}
.home h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h6 {
color: var(--brand);
}
h1 {
font-size: 2.25rem;
text-align: center;
text-transform: uppercase;
}
h1::before {
content: '';
display: block;
margin: 0.5rem auto 1rem;
width: 2.8125rem;
height: 0.3125rem;
background: var(--brand-accent);
}
@media screen and (min-width: 60rem) {
h1::before {
margin-bottom: 2rem;
width: 4.6875rem;
}
}
@media screen and (min-width: 768px) {
h1 {
font-size: 3rem;
}
}
h2 {
margin-bottom: 2rem;
font-size: 1.875rem;
font-weight: 600;
text-align: center;
text-transform: uppercase;
}
h2::before {
content: '';
display: block;
margin: 0.5rem auto 1rem;
width: 2.8125rem;
height: 0.3125rem;
background: var(--brand-accent);
}
@media screen and (min-width: 60rem) {
h2::before {
margin-bottom: 2rem;
width: 4.6875rem;
}
}
@media screen and (min-width: 768px) {
h2 {
font-size: 2.25rem;
}
}
h3 {
font-size: 2.25rem;
}
h4 {
font-size: 1.875rem;
}
h5 {
font-size: 1.5rem;
}
h6 {
font-size: 1.25rem;
}
p,
ul,
ol {
font-size: 1.125rem;
line-height: 1.5;
}
.page-section {
width: 100%;
padding: 4rem 1rem;
background: var(--body-bg);
text-align: center;
}
.page-section ul,
.page-section ol {
padding-left: 0;
list-style-position: inside;
}
.page-section--accent {
color: var(--accent-fg);
background: var(--accent);
}
.page-section--accent h2 {
color: var(--accent-fg);
}
.page-section--accent h2::before {
background: var(--accent-fg);
}
.page-section--bordered {
width: calc(100% - 2rem);
margin: 5rem auto 0;
border: solid 4px var(--accent);
}
.page-section--borderless {
-webkit-box-shadow: none;
box-shadow: none;
}
.block__subtitle {
font-size: 1.5rem;
margin-bottom: 1rem;
text-transform: uppercase;
}
@media screen and (min-width: 768px) {
.block__subtitle {
margin-bottom: 1.5rem;
}
}
.block-toggle__cta {
position: relative;
text-align: center;
}
@media screen and (min-width: 60rem) {
.block-toggle__cta {
display: none;
}
}
.block-toggle__cta__blurb {
font-size: 0.875rem;
margin-bottom: 0;
padding-bottom: 2.5rem;
}
.block-toggle__cta__button {
bottom: 0;
cursor: pointer;
font-size: 1.5rem;
left: 50%;
margin: 0;
position: absolute;
-webkit-transform: translate(-50%, 50%);
-o-transform: translate(-50%, 50%);
transform: translate(-50%, 50%);
z-index: 10;
}
.block.block-toggle {
padding-bottom: 0;
}
@media screen and (max-width: 59.975rem) {
.block.block-toggle:not(.block-toggle--visible) .block-toggle__content {
display: none;
}
.block.block-toggle.block-toggle--visible .block-toggle__cta__blurb {
display: none;
}
}
.block.block-toggle.block-meta {
padding-bottom: 6rem;
}
@media screen and (min-width: 60rem) {
.has-sections .entry-content {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 100%;
max-width: 90rem;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-pack: distribute;
justify-content: space-around;
}
.page-section {
width: 100%;
max-width: 50rem;
margin: 4rem auto;
padding: 4rem 5.625rem;
-webkit-box-shadow: -3px 5px 4px 2px rgba(135, 135, 135, 0.09);
box-shadow: -3px 5px 4px 2px rgba(135, 135, 135, 0.09);
}
.page-section:first-of-type, .page-section:nth-of-type(2) {
width: calc(50% - 4rem);
}
.page-section:only-of-type {
width: 100%;
max-width: 50rem;
}
.page-section--bordered {
margin: 4rem auto;
width: 100%;
max-width: 50rem;
-webkit-box-shadow: none;
box-shadow: none;
}
.page-section--bordered:first-of-type, .page-section--bordered:nth-of-type(2) {
width: calc(50% - 4rem);
}
.page-section--bordered:only-of-type {
width: 100%;
max-width: 50rem;
}
}
.home h1 {
text-transform: none;
}
.home h1:before {
display: none;
}
.page:not(.has-sections) article {
width: 100%;
padding: 4rem 1rem;
background: var(--body-bg);
text-align: left;
}
@media screen and (min-width: 60rem) {
.page:not(.has-sections) article {
width: 100%;
max-width: 50rem;
margin: calc(-80%) auto 4rem;
padding: 4rem 5.625rem;
-webkit-box-shadow: -3px 5px 4px 2px rgba(135, 135, 135, 0.09);
box-shadow: -3px 5px 4px 2px rgba(135, 135, 135, 0.09);
}
}
.page:not(.has-sections) .entry-header {
margin-bottom: 2rem;
}
#content {
position: relative;
z-index: 10;
margin: 0 auto;
background-color: var(--body-bg);
width: auto;
}
@media screen and (min-width: 60rem) {
#content {
width: 800px;
}
}
#content img {
height: auto;
max-width: 100%;
}
#content .wp-caption,
#content .wp-nocaption {
height: auto;
max-width: 100%;
}
.single #content {
min-height: 350px;
margin-bottom: 0;
}
.nav-reading {
background-color: var(--brand);
bottom: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
left: 0;
position: fixed;
width: 100vw;
}
@media screen and (min-width: 1330px) {
.nav-reading {
background-color: transparent;
display: block;
bottom: auto;
top: 58%;
}
}
.nav-reading__previous,
.nav-reading__next {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
color: var(--button-primary-color);
-webkit-box-flex: 1;
-ms-flex: 1 1 50%;
flex: 1 1 50%;
font-family: "Karla", sans-serif;
font-size: 0.875rem;
height: 2.5rem;
}
@media screen and (min-width: 30rem) {
.nav-reading__previous,
.nav-reading__next {
padding: 0 1rem;
}
}
@media screen and (min-width: 1330px) {
.nav-reading__previous,
.nav-reading__next {
bottom: 0;
color: var(--body-color);
font-size: 1.25rem;
height: auto;
position: absolute;
padding: 0 1rem;
}
}
.nav-reading__previous a,
.nav-reading__next a {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
color: var(--button-primary-color);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
white-space: nowrap;
}
.nav-reading__previous a:hover,
.nav-reading__next a:hover {
color: var(--button-primary-color);
text-decoration: none;
}
.nav-reading__previous a .icon,
.nav-reading__next a .icon {
color: var(--button-primary-color);
font-size: 0.75rem;
height: 1em;
width: 1em;
}
.nav-reading__previous a .icon:hover,
.nav-reading__next a .icon:hover {
color: var(--button-primary-color);
}
@media screen and (min-width: 1330px) {
.nav-reading__previous a,
.nav-reading__next a {
color: var(--body-color);
font-size: 1.25rem;
height: auto;
}
.nav-reading__previous a:hover,
.nav-reading__next a:hover {
color: var(--brand-hover);
}
.nav-reading__previous a .icon,
.nav-reading__next a .icon {
color: var(--brand);
font-size: 1.25rem;
}
.nav-reading__previous a .icon:hover,
.nav-reading__next a .icon:hover {
color: var(--brand-hover);
}
}
.nav-reading__previous {
border-right: 1px solid var(--button-primary-color);
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
left: 0;
}
@media screen and (min-width: 1330px) {
.nav-reading__previous {
border: 0 none;
left: 3rem;
}
}
.nav-reading__previous .icon {
margin-right: 0.5rem;
}
@media screen and (min-width: 1330px) {
.nav-reading__previous .icon {
margin-right: 1rem;
}
}
.nav-reading__next {
border-left: 1px solid var(--button-primary-color);
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
right: 0;
}
@media screen and (min-width: 1330px) {
.nav-reading__next {
border: 0 none;
right: 3rem;
}
}
.nav-reading__next .icon {
margin-left: 0.5rem;
}
@media screen and (min-width: 1330px) {
.nav-reading__next .icon {
margin-left: 1rem;
}
}
.nav-reading__up {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: var(--brand);
border-radius: 50%;
color: var(--button-primary-color);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
height: 2.5rem;
left: 50%;
position: absolute;
top: -3rem;
-webkit-transform: translate(-50%, 0);
-o-transform: translate(-50%, 0);
transform: translate(-50%, 0);
width: 2.5rem;
}
.nav-reading__up:hover {
background-color: var(--brand-hover);
color: var(--button-primary-color);
text-decoration: none;
}
@media screen and (max-width: 59.975rem) {
.nav-reading--multipage .nav-reading__up {
top: -6rem;
}
}
@media screen and (min-width: 1330px) {
.nav-reading__up {
left: auto;
right: 3rem;
top: 4rem;
height: 6rem;
width: 6rem;
}
}
.nav-reading__up .nav-reading__up__text {
display: none;
font-family: "Spectral", serif;
font-size: 0.875rem;
}
@media screen and (min-width: 1330px) {
.nav-reading__up .nav-reading__up__text {
display: block;
}
}
.nav-reading__up .icon {
font-size: 1rem;
height: 1em;
margin: 0;
width: 1em;
}
@media screen and (min-width: 1330px) {
.nav-reading__up .icon {
font-size: 2rem;
}
}
.nav-reading--page {
background-color: var(--body-bg);
bottom: 2.5rem;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
left: 0;
position: fixed;
width: 100vw;
}
@media screen and (min-width: 60rem) {
.nav-reading--page {
background-color: transparent;
bottom: auto;
top: 58%;
position: relative;
display: block;
width: auto;
}
}
.nav-reading--page__previous,
.nav-reading--page__next {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1 1 50%;
flex: 1 1 50%;
font-family: "Karla", sans-serif;
font-size: 0.875rem;
height: 2.5rem;
padding: 0 1rem;
}
@media screen and (min-width: 60rem) {
.nav-reading--page__previous,
.nav-reading--page__next {
padding: 0 1rem;
}
}
@media screen and (min-width: 1330px) {
.nav-reading--page__previous,
.nav-reading--page__next {
bottom: 0;
height: auto;
font-size: 1.25rem;
}
}
.nav-reading--page__previous a,
.nav-reading--page__next a {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
color: var(--body-color);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
white-space: nowrap;
}
.nav-reading--page__previous a:hover,
.nav-reading--page__next a:hover {
color: var(--brand-hover);
text-decoration: none;
}
.nav-reading--page__previous a .icon,
.nav-reading--page__next a .icon {
color: var(--brand);
font-size: 0.75rem;
height: 1em;
width: 1em;
}
.nav-reading--page__previous a .icon:hover,
.nav-reading--page__next a .icon:hover {
color: var(--brand-hover);
}
@media screen and (min-width: 1330px) {
.nav-reading--page__previous a,
.nav-reading--page__next a {
height: auto;
font-size: 1.25rem;
}
.nav-reading--page__previous a .icon,
.nav-reading--page__next a .icon {
font-size: 1.25rem;
}
}
.nav-reading--page__previous {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
left: 0;
}
.nav-reading--page__previous .icon {
margin-right: 0.5rem;
}
@media screen and (min-width: 60rem) {
.nav-reading--page__previous .icon {
margin-left: 0;
margin-right: 1rem;
}
}
.nav-reading--page__next {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
right: 0;
}
.nav-reading--page__next .icon {
margin-left: 0.5rem;
}
@media screen and (min-width: 60rem) {
.nav-reading--page__next .icon {
margin-left: 1rem;
margin-right: 0;
}
}
.edit-link {
margin-top: 1rem;
}
@media print {
body {
background: none;
}
a {
color: #000;
}
#wrap {
position: relative;
display: block;
float: none;
margin: 0 auto;
clear: both;
}
#header {
padding-bottom: 18pt;
border-bottom: 2pt solid #000;
}
.entry-content {
font-size: 14pt;
line-height: 1.6em;
}
.entry-title {
font-size: 21pt;
}
#branding img,
#respond,
#comments,
#searchform,
.comment-edit-link,
.edit-link,
.navigation,
.page-link,
.widget-area,
.nav,
.share-wrap-single,
.sidebar {
display: none;
}
#container,
#header,
.footer {
width: 100%;
margin: 0;
}
.footer,
nav {
color: #000;
background: #fff;
}
#content {
width: 100%;
padding: 10px;
margin: 24pt 0 0;
}
.wp-caption p {
font-size: 11pt;
}
.home .sticky {
border: 0;
}
.wrapper {
height: auto;
min-height: 100px;
margin: 0 auto;
}
}
.footer {
--brand: var(--footer-color);
--brand-hover: var(--footer-color);
background-color: #444;
color: #fff;
font-family: "Karla", sans-serif;
padding: 0 0 2.25rem;
}
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 1rem;
}
.footer h1:before,
.footer h2:before,
.footer h3:before,
.footer h4:before,
.footer h5:before,
.footer h6:before {
display: none;
}
.footer.footer--home {
padding-top: 4rem;
}
.footer.footer--reading {
padding-bottom: 7rem;
}
@media screen and (min-width: 60rem) {
.footer.footer--reading {
padding-bottom: 7rem;
}
}
@media screen and (min-width: 1330px) {
.footer.footer--reading {
padding-bottom: 2.5rem;
}
}
.footer.footer--reading.footer--multipage {
padding-bottom: 9.5rem;
}
@media screen and (min-width: 60rem) {
.footer.footer--reading.footer--multipage {
padding-bottom: 7rem;
}
}
@media screen and (min-width: 1330px) {
.footer.footer--reading.footer--multipage {
padding-bottom: 2.5rem;
}
}
@media screen and (min-width: 768px) {
.footer {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
padding-bottom: 2.5rem;
}
}
.footer__inner {
margin: 0 auto;
}
.footer__pressbooks {
max-width: 1330px;
margin: 2rem auto;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
@media screen and (min-width: 768px) {
.footer__pressbooks {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
}
}
.footer__pressbooks__icon {
margin: 0 1rem;
}
.footer__pressbooks__icon > .icon--svg {
height: 2.8125rem;
width: 2.8125rem;
}
.footer__pressbooks__links {
margin-bottom: 1.5rem;
margin-top: 1.5rem;
padding: 0 1.875rem;
}
@media screen and (min-width: 768px) {
.footer__pressbooks__links {
margin: 0;
padding: 0;
}
}
.footer__pressbooks__links__list {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
font-size: 0.875rem;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
list-style: none;
margin: 0;
padding-left: 0;
}
.footer__pressbooks__links__list li {
padding: 0.125rem 0;
}
.footer__pressbooks__links__list a {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.footer__pressbooks__links__title {
font-size: 1rem;
font-weight: 600;
text-align: center;
}
.footer__pressbooks__social {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin: 0 1rem;
}
.footer__pressbooks__social a {
margin: 0 0.25em;
}
.footer__pressbooks__social a > .icon--svg {
height: 2rem;
width: 2rem;
}
@media (min-width: 960px) {
.footer__pressbooks__social a > .icon--svg {
height: 1.5rem;
width: 1.5rem;
}
}
.footer__network {
height: auto;
margin-bottom: 0;
padding: 2.5rem 1.875rem;
font-family: "Karla", sans-serif;
font-size: 1rem;
color: var(--accent-fg);
background-color: var(--accent, #015d75);
text-align: center;
}
.footer__network .social-media {
margin-top: 1em;
}
.footer__network .social-media a {
width: 2rem;
height: 2rem;
margin: 0 0.25em;
-webkit-transition: all 0.4s;
-o-transition: all 0.4s;
transition: all 0.4s;
}
.footer__network .social-media a > .icon--svg {
height: 2rem;
width: 2rem;
}
.footer__network ul {
margin: 0;
padding: 0;
list-style: none;
text-align: center;
font-weight: 600;
line-height: 2.25;
}
.footer__network__block {
border-top: solid 1px var(--accent-fg);
}
.footer__network__block:first-of-type {
border-top: 0;
}
.footer__network__block a {
color: var(--accent-fg);
text-decoration: none;
border-bottom: solid 1px transparent;
}
.footer__network__block a:hover, .footer__network__block a:focus {
border-bottom: solid 1px var(--accent-fg);
}
.footer__network__block--1 {
margin: 0 -5px;
padding: 0 0 40px;
}
.footer__network__block--2 {
padding: 30px 7.5px;
}
.footer__network__block--2 .widget {
margin-bottom: 1em;
}
.footer__network__menu {
padding: 30px 7.5px 0;
}
.footer__network__block .social-media {
margin-top: 0;
width: 100%;
}
.footer__network__block .social-media a {
margin: 0 0.5em 0 0;
border-bottom: none;
}
.footer__network__block .social-media a:hover, .footer__network__block .social-media a:focus {
border-bottom: none;
}
@media (min-width: 960px) {
.footer__network {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.footer__network ul {
text-align: left;
}
.footer__network__block {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 0;
padding: 0 3.75rem;
border-top: 0;
border-right: solid 1px var(--accent-fg);
}
.footer__network__block--2 {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.footer__network__block:last-of-type {
border-right: 0;
}
.social-media a {
width: 1.5rem;
height: 1.5rem;
margin: 0 0.5em 0 0;
}
.social-media a > .icon--svg {
height: 1.5rem;
width: 1.5rem;
}
}
@media (min-width: 1650px) {
.footer__network ul li {
display: inline-block;
margin-right: 3em;
}
}
.header {
font-family: "Karla", sans-serif;
padding: 3.5rem 1rem 1.5rem;
}
@media screen and (min-width: 60rem) {
.header {
padding: 3rem 1rem;
}
}
.header__inside {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
max-width: 1440px;
margin: 0 auto;
}
.header__logo--img,
.header__logo--svg {
display: inline-block;
width: auto;
max-width: 100px;
height: auto;
max-height: 1.5rem;
margin-bottom: -1px;
margin-right: 2px;
}
@media screen and (min-width: 30rem) and (max-width: 60rem) {
.header__logo--img,
.header__logo--svg {
max-width: 150px;
}
}
@media screen and (min-width: 60rem) {
.header__logo--img,
.header__logo--svg {
max-width: 200px;
max-height: 30px;
}
}
.header__nav-icon {
display: block;
position: relative;
width: 25px;
height: 20px;
z-index: 999;
text-indent: -9999em;
}
@media screen and (min-width: 60rem) {
.header__nav-icon {
display: none;
}
}
.header__nav-icon__icon {
display: block;
position: absolute;
top: 7px;
width: 25px;
height: 3px;
background: var(--brand);
}
.header__nav-icon__icon::before, .header__nav-icon__icon::after {
width: 25px;
height: 3px;
content: '';
background: var(--brand);
}
.header__nav-icon__icon::before {
position: absolute;
top: -7px;
right: 0;
}
.header__nav-icon__icon::after {
position: absolute;
top: 7px;
right: 0;
}
.header__nav--active .header__nav-icon__icon {
--header-color: var(--primary-fg);
background: var(--header-color);
}
.header__nav--active .header__nav-icon__icon::before, .header__nav--active .header__nav-icon__icon::after {
background: var(--header-color);
}
.js-header-nav .nav--primary {
list-style: none;
padding-left: 0;
margin-bottom: 0;
}
.js-header-nav .nav--primary li {
display: inline;
padding-left: 1rem;
font-size: 1.125rem;
}
@media screen and (max-width: 59.975rem) {
.js-header-nav {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
left: 0;
margin: 0 0 0 -100%;
padding: 0 17px;
position: absolute;
top: 0;
width: 100%;
}
.js-header-nav .nav--primary li {
display: block;
padding-left: 0;
}
.js-header-nav a {
display: none;
font-family: "Karla", sans-serif;
font-size: 1.5rem;
line-height: 3.33333333;
color: var(--header-color);
letter-spacing: 0;
}
.header__nav--active .js-header-nav {
--header-color: var(--primary-fg);
margin: 0;
padding: 6rem 52px;
z-index: 99;
background: var(--primary);
}
.header__nav--active .js-header-nav .nav--primary li {
border-bottom: solid 1px var(--header-color);
}
.header__nav--active .js-header-nav .nav--primary li:last-child {
border-bottom: 0;
}
.header__nav--active .js-header-nav a {
display: block;
width: 100%;
}
.header__nav--active .js-header-nav a:hover {
color: var(--header-color);
}
}
.header--home {
--brand: var(--header-color);
--brand-hover: var(--header-color);
--brand-accent: var(--header-color);
background-color: var(--header-bg);
color: var(--header-color);
}
.header__search {
position: relative;
}
.icon-search {
vertical-align: middle;
}
.header:not(.header--home) .icon-search {
font-size: 1.5rem;
cursor: pointer;
}
.header__search__form {
display: inline-block;
position: relative;
width: 12rem;
}
.header__search__form label {
position: absolute;
left: 0;
width: 12rem;
}
.header__search__form label .icon--svg {
width: 1.5rem;
height: 2rem;
display: inline-block;
float: right;
vertical-align: middle;
}
.header__search__form input[type='search'] {
background-color: transparent;
border: 0 none;
border-bottom: 2px solid var(--brand);
color: var(--body-color);
width: 12rem;
}
.header__search__form input[type='search']:focus {
border-color: var(--brand-orig);
}
.header__search__form input[type='search']:focus + label {
text-indent: -999999rem;
}
.header--home .header__search__form input[type='search'] {
color: var(--header-color);
border-bottom: 1px solid var(--header-color);
}
.header--home .header__search__form input[type='search']:focus {
border-color: var(--brand-orig);
}
.header__search__form input[type='submit'] {
display: none;
}
/** Import theme styles */
.book {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
width: 100%;
max-width: 22.9375rem;
height: 24.125rem;
margin: 0 0 2rem;
padding: 1.5rem 1.85rem 2.1875rem;
border: solid 2px var(--accent, #015d75);
background: var(--accent, #015d75);
}
.book a {
margin: 0;
font-family: "Karla", sans-serif;
color: var(--accent-fg, #fff);
text-decoration: none;
text-align: center;
}
.book__subject {
height: 4.625rem;
margin: 0;
font-size: 1.5rem;
text-align: center;
}
.book__title {
height: 13rem;
margin: 0;
font-size: 1.875rem;
font-weight: 500;
line-height: 1.33333333;
text-align: left;
}
.book__read-more {
margin: 0;
font-size: 1.125rem;
text-align: left;
}
.book__read-more a svg {
width: 1.125rem;
height: 1.125rem;
margin-left: 0.5rem;
vertical-align: middle;
}
.book:last-child {
margin-bottom: 0;
}
@media screen and (min-width: 60rem) {
.book:last-child {
margin-bottom: 2rem;
}
}
label {
margin: 0 0 1rem;
font-family: "Karla", sans-serif;
}
textarea {
height: 7.5em;
resize: none;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
border-top: 0;
border-right: 0;
border-left: 0;
border-bottom: solid 2px var(--black, #000);
padding: 0 0 1em;
font-size: 0.875rem;
font-weight: 600;
font-family: "Karla", sans-serif;
background: transparent;
-webkit-appearance: none;
-moz-appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
outline: none;
border-bottom: solid 2px var(--accent);
}
input[type="submit"] {
cursor: pointer;
}
.form {
width: 22.125rem;
}
.form ::-webkit-input-placeholder {
color: #000;
}
.form :-ms-input-placeholder {
color: #000;
}
.form ::placeholder {
color: #000;
}
.form__notice {
margin-bottom: 2rem;
font-size: 0.875rem;
font-weight: 600;
font-family: "Karla", sans-serif;
text-transform: uppercase;
text-align: center;
}
.form__notice--error {
color: #c00;
}
.form__notice--success {
color: #070;
}
.form__row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100%;
position: relative;
margin-bottom: 2rem;
}
.form__row label {
position: absolute;
left: 0;
top: 0;
-webkit-transition: 0.2s;
-o-transition: 0.2s;
transition: 0.2s;
background: #f6f6f6;
line-height: 1;
}
.form__row input:focus + label, .form__row input:valid + label, .form__row input.error + label,
.form__row textarea:focus + label,
.form__row textarea:valid + label,
.form__row textarea.error + label {
top: 100%;
margin-top: -1.125rem;
font-size: 0.75rem;
}
.form__row input.error,
.form__row textarea.error {
border-bottom: solid 2px #c00;
}
.form__row input.error + label,
.form__row textarea.error + label {
color: #c00;
}
.form__row:last-child {
margin-top: 3rem;
}
.contact {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
padding: 4.0625rem 0 7.5rem;
background: #f6f6f6;
}
.contact h2 {
margin-bottom: 2.5rem;
}
.header {
background-position: bottom;
background-repeat: no-repeat;
background-size: cover;
}
.home .header {
background-position: bottom;
background-repeat: no-repeat;
background-size: cover;
height: 540px;
}
@media screen and (min-width: 60rem) {
.home .header {
height: 880px;
}
}
.home #content {
margin-top: -540px;
background: transparent;
}
@media screen and (min-width: 60rem) {
.home #content {
margin-top: -880px;
}
}
.home .entry-header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
height: 540px;
}
@media screen and (min-width: 60rem) {
.home .entry-header {
height: 300px;
margin: 120px 0;
}
}
.home .entry-header .entry-title {
font-family: "Karla", sans-serif;
font-size: 1.875rem;
margin-bottom: 0;
text-align: center;
max-width: 100%;
}
@media screen and (min-width: 60rem) {
.home .entry-header .entry-title {
font-size: 4.5rem;
}
}
.home .entry-header .entry-description {
font-family: "Karla", sans-serif;
font-size: 1.125rem;
margin-bottom: 0;
text-align: center;
max-width: 100%;
}
.page:not(.home) .header {
height: 240px;
}
@media screen and (min-width: 60rem) {
.page:not(.home) .header {
height: 880px;
}
}
.page.catalog .header {
height: 381px;
}
@media screen and (min-width: 60rem) {
.page.catalog .header {
height: 450px;
}
}
.home #content {
width: 100%;
}
@media screen and (min-width: 90rem) {
.home #content {
max-width: 1440px;
}
}
.latest-books {
margin: 4rem 0 8rem;
}
.latest-books .slider {
width: 100%;
max-width: 22.9375rem;
margin: 0 auto;
position: relative;
}
.latest-books .books {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: calc(100% - 4rem);
margin: 0 auto;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding-left: 0;
z-index: 99;
}
.latest-books .booknav {
position: absolute;
margin-top: 0;
top: 0;
left: 0;
width: 100%;
max-width: 28.0625rem;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.latest-books .previous,
.latest-books .next {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
position: absolute;
width: 1.5625rem;
height: 100%;
margin-top: 0;
}
.latest-books .previous svg,
.latest-books .next svg {
width: 1.5625rem;
height: 1.5625rem;
margin-top: 0;
}
.latest-books .previous svg path,
.latest-books .next svg path {
fill: var(--primary, #b01109);
}
.latest-books .previous {
left: 0;
}
.latest-books .next {
right: 0;
}
@media screen and (min-width: 60rem) {
.latest-books .slider {
width: calc(100vw - 5.125rem);
max-width: 75rem;
}
.latest-books .books {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.latest-books .books .book {
margin-right: 1rem;
margin-left: 1rem;
}
.latest-books .booknav {
width: calc(100% + 4rem);
max-width: 100vw;
left: -2rem;
}
.latest-books .previous,
.latest-books .next {
width: 2rem;
}
.latest-books .previous svg,
.latest-books .next svg {
width: 2rem;
height: 2rem;
}
}
.latest-books .catalog-link {
text-align: center;
}
fieldset {
border-top: solid 2px var(--accent);
font-family: "Karla", sans-serif;
}
fieldset h2,
fieldset h3 {
margin-bottom: 0;
font-size: 1rem;
font-weight: bold;
text-align: left;
text-transform: none;
}
fieldset h2:before,
fieldset h3:before {
display: none;
}
fieldset h2 button,
fieldset h3 button {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
all: inherit;
width: 100%;
padding: 1rem 1.1875rem;
margin: 0;
border-top: 0;
}
fieldset h2 button svg,
fieldset h3 button svg {
display: block;
float: right;
margin-top: 0.5rem;
}
fieldset h2 button:hover, fieldset h2 button:focus,
fieldset h3 button:hover,
fieldset h3 button:focus {
color: var(--brand);
background: var(--bg-body);
}
fieldset h2 button:active,
fieldset h3 button:active {
-webkit-box-shadow: none;
box-shadow: none;
}
fieldset h2 button[aria-expanded="true"],
fieldset h3 button[aria-expanded="true"] {
color: var(--brand);
}
fieldset h2 button[aria-expanded="true"] svg,
fieldset h3 button[aria-expanded="true"] svg {
-webkit-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
fieldset h2 button[aria-expanded="true"] {
border-bottom: solid 2px var(--accent);
background: #fafdff;
}
fieldset [type="radio"] {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
border: 0 !important;
overflow: hidden !important;
clip: rect(1px, 1px, 1px, 1px);
}
fieldset [type="radio"] + label {
cursor: pointer;
display: block;
padding: 1rem 1.1875rem;
margin-bottom: 0;
}
fieldset [type="radio"] + label svg {
display: none;
}
fieldset [type="radio"]:focus label {
cursor: pointer;
display: block;
}
fieldset [type="radio"]:checked + label {
color: var(--brand);
font-weight: bold;
}
fieldset [type="radio"]:checked + label svg {
display: block;
float: right;
margin-top: 0.5rem;
width: 1rem;
height: 1rem;
fill: transparent;
}
fieldset:last-of-type {
border-bottom: solid 2px var(--accent);
margin-bottom: 1rem;
}
/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