html {
margin: 0;
padding: 0;
}
body {
background-color: var( --signature-blue ); font-family: brandon-grotesque, sans-serif;
font-size: 14pt;
font-weight: 400;
color: var( --midnight-blue );
line-height: 1.6;
}
.inner {
margin: 0 auto;
padding: 1em;
position: relative;
overflow: hidden;
}
#main {
background-color: var( --stone-grey-25 );
overflow: hidden;
}
.print-only {
display: none;
}
.highlighted {
background: var( --stone-grey-25 );
} .site-header {
height: 500px;
position: relative;
background-color: var( --midnight-blue );
background-position: center center;
background-size: cover;
}
.site-header.no-featured-image {
height: 300px;
}
.site-header .inner {
height: 100%;
box-sizing: border-box;
overflow: visible;
}
.top-line {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
margin-bottom: 1em;
} .site-logo-full {
width: 45vw;
max-width: 200px;
height: auto;
}
.site-logo {
width: 300px;
height: auto;
}
.site-logo-icon {
width: 50px;
height: auto;
}
a.site-logo-link:hover {
background: transparent;
border: none;
}
.site-logo-icon:hover,
.site-logo:hover {
background: rgb( 255, 255, 255, 0.2 );
}
.site-logo {
display: none;
}
.site-logo-print {
display: none;
} .main-menu {
flex-grow: 1; display: none; margin-left: 15px;
margin-right: 15px;
}
.main-menu > ul {
position: relative;
text-align: left;
display: flex;
align-items: center;
margin: 0.4em 0 0;
padding: 0;
list-style-type: none;
}
.main-menu > ul > li {
flex-shrink: 1;
position: relative;
font-size: 90%;
}
.main-menu > ul:not(.expanded) > li.hidden {
display: none;
}
.main-menu a,
.main-menu button {
display: block;
color: white;
font-weight: 400;
line-height: 1.2;
padding: 0.4em 0.8em;
border: 2px solid transparent;
border-radius: 5px;
text-align: center;
}
.main-menu a:hover,
.main-menu a:focus,
.main-menu a:active {
z-index: 99999;
background: var( --oak-green );
border-color: white;
} .main-menu .menu-item-has-children:focus-within > a.open {
position: relative;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-bottom-color: transparent;
}
.main-menu .menu-item-has-children > a.open:focus {
box-shadow: 0 -4px 0 0 var( --yellow-dawn );
} .main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a {
border-color: white;
}
.main-menu .sub-menu li,
.main-menu .sub-menu a {
top: 0;
margin-top: 0;
}
.main-menu .sub-menu {
display: none;
position: absolute;
left: 1px !important;
top: 2em;
margin: 0;
padding: 16px 0;
z-index: 9999;
list-style-type: none;
background: var( --oak-green );
border: 2px solid white;
width: 12em;
border-top-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.main-menu .sub-menu a {
margin-left: 0;
font-size: 90%;
text-align: left;
padding: 0.4em 0.8em;
border-radius: 0;
border: none;
}
.main-menu .sub-menu a:hover {
background: var( --oak-green-75 );
}
.main-menu .sub-menu .current-menu-item a {
border-top: none;
background: var( --oak-green-75 );
}
.main-menu .sub-menu li:hover {
border: none;
}
.main-menu ul ul {
display: none;
}
.main-menu .button-link {
position: relative;
left: 0.8em;
margin-left: -1em;
}
.main-menu ul.expanded + .button-link {
align-self: flex-end;
} .full-screen-menu {
display: none;
position: fixed;
overflow-y: scroll;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
padding-top: 4em;
box-sizing: border-box;
background-color: var( --oak-green );
background-image: url(//capernwray.org/wp-content/themes/capernwray/images/bird-white-semitrans.svg), url(//capernwray.org/wp-content/themes/capernwray/images/circular-window-white-semitrans-cropped.svg);
background-position: 0 -100px, bottom right;
background-repeat: no-repeat;
background-size: 200px 200px, 60vw auto;
z-index: 99999;
}
.full-screen-menu-close-button {
display: none;
position: fixed;
top: 10px;
right: 10px;
background: none;
border: 2px solid transparent;
color: white;
font-size: 42px;
padding: 0 0.3em;
border-radius: 4px;
z-index: 999999;
}
.full-screen-menu-close-button:hover {
border-color: white;
cursor: pointer;
}
.full-screen-menu-close-button:focus,
.full-screen-menu-close-button:active {
box-shadow: 0 0 0 4px var( --yellow-dawn );
}
.full-screen-menu-close-button:active {
transform: scale( 0.99 );
}
.full-screen-menu ul {
list-style-type: none;
}
.full-screen-menu li {
padding: 0.2em 0.5em;
position: relative;
}
.full-screen-menu li.menu-item-has-children::before {
content: '\f054';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
font-size: 80%;
color: white;
position: absolute;
top: 1em;
left: 0;
}
.full-screen-menu a {
color: white;
padding: 0.1em 0.4em;
border-bottom: 0;
font-size: 110%;
font-weight: 500;
}
.full-screen-menu a:hover {
background: var( --oak-green-75 );
}
.full-screen-menu > ul > li > a {
font-size: 150%;
font-weight: 500;
} .site-nav {
background: var( --oak-green );
border: 2px solid white;
border-radius: 16px;
padding: 4px;
}
.site-nav a {
display: inline-block;
color: white;
border-bottom: none;
padding: 2px 12px 6px;
text-align: center;
text-transform: uppercase;
border-radius: 4px;
font-size: 50%;
}
.site-nav a:hover {
background: var( --oak-green-75 );
border-bottom: none;
}
.home-button::before {
display: block;
content: '\f015';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
font-size: 250%;
}
.search-button::before {
display: block;
content: '\f002';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
font-size: 250%;
}
.menu-button::before {
display: block;
content: '\f0c9';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
font-size: 250%;
} .search-box {
width: 100%;
box-sizing: border-box;
padding: 0;
margin-top: 0.5em;
margin-bottom: 0.2em;
background-color: white;
border: 2px solid var( --oak-green );
border-radius: 4px;
overflow: hidden;
box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 );
}
header .search-box {
display: none;
border-color: white;
background-color: rgba( 0, 0, 0, 0.5 );
border-radius: 4px;
margin-bottom: 1em;
}
.search-box input[type="text"] {
float: left;
font-size: 130%;
width: 77%;
box-sizing: border-box;
padding: 0.5em;
margin-bottom: 0;
background: none;
border: none;
box-shadow: none;
border-radius: none;
}
header .search-box input[type="text"] {
color: white;
}
.search-box input[type="text"]:hover,
.search-box input[type="text"]:focus {
border: none;
background: transparent;
}
.search-box .submit-button {
float: right;
height: 3.3em;
width: auto;
box-sizing: border-box;
padding: 0.8em;
border: 0;
background: var( --oak-green-75 );
transition: all 500ms;
}
header .search-box .submit-button {
background: transparent;
}
.search-box .submit-button:hover {
border: 0;
background: var( --oak-green );
transition: all 200ms;
} .header-excerpt {
position: absolute;
bottom: 1em;
left: 1em;
width: calc( 100% - 40px );
font-size: 160%;
font-weight: 500;
line-height: 1.2;
color: white;
} .urgent-message {
background: var( --sunset-orange );
color: white;
text-align: center;
padding: 0.4em;
}
.urgent-message a {
color: white;
border-color: var( --sunset-orange-50 );
}
.urgent-message a:hover {
background-color: var( --sunset-orange-75 );
border-color: white;
} a {
color: var( --oak-green );
font-weight: 700;
text-decoration: none;
border-bottom: 2px solid var( --oak-green-50 );
transition: opacity 500ms ease-in, border-color 500ms ease-in;
}
a:hover {
background-color: var( --oak-green-25 );
border-color: var( --oak-green );
}
a:focus,
a:active {
outline: none;
box-shadow: 0 0 0 4px var( --yellow-dawn );
}
a:focus,
a:active {
transform: scale(0.985);
box-shadow: 0 0 0 4px var( --yellow-dawn );
transition: opacity 200ms ease-in, border-color 200ms ease-in;
}
a.image-link,
a.image-link:hover,
a.image-link:active {
border-bottom: 0;
}
a.button-link,
input[type="submit"],
input[type="button"],
.wp-block-button .wp-block-button__link,
.wp-block-file a.wp-block-file__button {
display: inline-block;
background: var( --oak-green-25 );
border: 2px solid var( --oak-green );
border-radius: 22px;
box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 );
padding: 0.4em 0.8em;
margin-bottom: 0.5em;
margin-right: 0.5em;
font-family: brandon-grotesque, sans-serif;
font-weight: 500;
line-height: normal;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.08em;
height: auto;
}
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-file a.wp-block-file__button,
.wp-block-file a.wp-block-file__button:focus,
.wp-block-file a.wp-block-file__button:active,
.wp-block-file a.wp-block-file__button:visited {
background-color: var( --oak-green-25 );
color: var( --oak-green );
}
a.button-link.cta,
input[type="submit"],
input[type="button"],
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
color: white;
border-color: white;
background-color: var( --oak-green );
transition: background 500ms;
}
a.button-link:hover,
.wp-block-file a.wp-block-file__button:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
background-color: white;
box-shadow: 0 0 15px rgba( 0, 0, 0, 0.3 );
transition: all 200ms;
}
a.button-link.cta:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-button .wp-block-button__link:hover {
cursor: pointer;
background-color: var( --oak-green-75 );
box-shadow: 0 0 15px rgba( 0, 0, 0, 0.3 );
transition: all 200ms;
}
a.button-link:last-child {
margin-right: 0;
} a[target="_blank"]:not(.image-link):not(.icon-link)::after {
content: '\f35d';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
font-size: 70%;
margin-left: 0.5em;
opacity: 0.7;
position: relative;
top: -0.1em;
} .site-header .cta {
float: right;
margin-right: 0;
}
.site-header .cta::after {
content: '\f061';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
margin-left: 5px;
} h1,
h2,
h3,
h4 {
font-weight: 500;
color: var( --midnight-blue );
margin: 0.2em 0 0.8em;
line-height: 1.55;
clear: left;
text-transform: uppercase;
letter-spacing: 0.1em;
}
h1 {
font-size: 160%;
}
h2 {
font-size: 130%;
}
h3 {
font-size: 110%;
}
h4 {
font-size: 100%;
text-transform: none;
letter-spacing: 0;
}
p + h1,
p + h2,
p + h3,
p + h4 {
margin-top: 0.8em;
}
.alignleft + h2,
.alignleft + h3 {
clear: none;
}
h1 a,
h2 a,
h3 a,
h4 a {
font-weight: 500;
}
p.wp-block-subhead {
font-weight: normal;
font-style: normal;
color: var( --signature-blue );
} .success,
.warning,
.tip {
position: relative;
display: inline-block;
margin-bottom: 1em;
text-transform: none;
letter-spacing: 0;
font-weight: normal !important;
padding: 0.15em 0.6em 0.25em 1.8em;
}
.success {
background: var( --forest-green-25 ) !important;
color: var( --forest-green ) !important;
}
.success::before {
content: '\f00c';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
position: absolute;
top: 0.2em;
left: 0.5em;
}
.success a {
color: var( --forest-green ) !important;
border-color: var( --forest-green ) !important;
}
.warning,
.validation_error {
background: rgba( 158, 8, 0, 0.1 ) !important;
color: rgb( 158, 8, 0 ) !important;
}
.warning::before,
.validation_error::before {
content: '\f06a';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
position: absolute;
top: 0.2em;
left: 0.5em;
}
.warning a {
color: rgb( 158, 8, 0 ) !important;
}
.tip {
background: var( --signature-blue-25 ) !important;
color: var( --midnight-blue );
}
.tip::before {
content: '\f05a';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
position: absolute;
top: 0.2em;
left: 0.5em;
} .meta {
opacity: 0.7;
font-size: 80%;
margin: 0.2em 0;
}
.light {
opacity: 0.5;
}
.smaller {
font-size: 85%;
}
p {
margin-bottom: 1.2em;
}
p:last-child {
margin-bottom: 0;
}
strong {
font-weight: 500;
}
p.has-text-align-center {
margin-left: auto;
margin-right: auto;
} .shortened {
height: 6em;
overflow: hidden;
position: relative;
}
.shortened .more-link {
position: absolute;
display: block;
width: 100%;
padding: 3em 0 0;
outline: none;
box-sizing: border-box;
border: none;
background: linear-gradient( transparent, white 70% );
bottom: 0;
left: 0;
}
.shortened .less-link {
position: relative;
display: block;
width: 100%;
padding: 0.5em 0 0;
outline: none;
box-sizing: border-box;
border: none;
background: none;
}
.shortened.expanded {
height: auto;
} blockquote,
.wp-block-quote {
position: relative;
padding: 0.6em 2.4em;
margin-bottom: 1.5em;
width: 100%;
box-sizing: border-box;
max-width: 50rem;
border-left: none;
background: var( --signature-blue );
box-shadow: 0 0 10px rgba( 20, 66, 93, 0.05 );
}
blockquote::before,
.wp-block-quote::before {
content: url(//capernwray.org/wp-content/themes/capernwray/images/opening-double-quote.svg);
display: block;
width: 1em;
height: auto;
position: absolute;
top: 0.8em;
left: 0.8em;
opacity: 0.5;
}
blockquote::after,
.wp-block-quote::after {
content: url(//capernwray.org/wp-content/themes/capernwray/images/closing-double-quote.svg);
display: block;
width: 1em;
height: auto;
position: absolute;
bottom: 0.4em;
right: 0.8em;
opacity: 0.5;
}
blockquote.is-large,
blockquote.is-style-large,
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
padding: 0.6em 3em;
}
.wp-block-quote:not(.is-large):not(.is-style-large) {
border-left: inherit;
padding-left: 3em;
}
blockquote p,
.wp-block-quote p,
.wp-block-quote.is-large p {
margin: 0;
font-family: brandon-grotesque, sans-serif;
font-weight: 400;
line-height: 1.4;
color: white;
}
blockquote p em,
.wp-block-quote p em,
.wp-block-quote.is-large p em {
font-style: normal;
}
.wp-block-quote.is-large p {
font-size: 120%;
}
blockquote cite,
.wp-block-quote cite {
display: block;
margin-top: 0.3em;
opacity: 0.8;
color: rgba( 255, 255, 255, 0.6 );
font-family: brandon-grotesque, serif;
font-size: 100%;
}
blockquote cite,
.wp-block-quote.is-large cite {
text-align: right;
}
blockquote cite::before,
.wp-block-quote cite::before {
content: '— ';
} .wp-block-separator {
clear: both;
width: 100%;
max-width: 100% !important;
margin-top: 2em;
margin-bottom: 2em;
padding: 0;
background: none;
border: 0;
border-bottom: 2px solid var( --midnight-blue-25 );
opacity: 1;
} .wp-block-table table {
border: 0;
width: auto;
max-width: 100%;
box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 );
border: 1px solid var( --midnight-blue );
border-collapse: collapse;
margin-bottom: 2em;
}
.wp-block-table thead {
background: var( --midnight-blue );
border: 1px solid var( --midnight-blue );
color: white;
}
.wp-block-table tbody {
width: 50%;
}
.wp-block-table tr {
padding: 1em 0;
}
.wp-block-table th {
border: 1px solid var( --midnight-blue );
padding: 0.2em 0.4em;
font-size: 70%;
}
.wp-block-table td {
background: white;
padding: 0.2em 0.4em;
font-size: 70%;
border: 0;
border-right: 1px solid var( --midnight-blue );
}
.wp-block-table td:last-child {
border-right: none;
}
.wp-block-table tr:nth-child(2n) td {
background: var( --stone-grey-50 );
}
.wp-block-table tr:last-child td {
border-bottom: 0;
} .entry-content ul:not(.blocks-gallery-grid):not(.gform_fields):not(.gfield_radio):not(.gfield_checkbox) li,
.entry-content ol li {
font-family: brandon-grotesque, sans-serif;
} figure {
margin: 1em 0;
} .wp-block-image figure,
.wp-block-gallery figure {
display: block;
margin-bottom: 1.5em;
}
.wp-block-image figure img {
display: block;
height: auto;
}
.wp-block-image figure figcaption {
font-family: brandon-grotesque, sans-serif;
color: var( --midnight-blue-50 );
font-size: 90%;
text-align: left;
}
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
box-sizing: border-box;
font-size: 90%;
}
.wp-block-image .alignleft,
.wp-block-image .alignright {
float: none;
margin: 0 0 1em;
} .wp-playlist .mejs-container,
.wp-playlist .mejs-container .mejs-controls,
.wp-playlist .mejs-embed,
.wp-playlist .mejs-embed body {
background-color: var( --midnight-blue );
}
.wp-playlist.wp-playlist-light .wp-playlist-caption {
color: var( --midnight-blue-25 );
font-size: 16px;
font-weight: normal;
}
.wp-playlist .wp-playlist-item-title,
.wp-playlist .wp-playlist-item-length {
font-size: 16px;
font-weight: normal;
color: var( --midnight-blue-50 );
}
.wp-playlist .wp-playlist-item-meta {
line-height: 1.45;
} .justified-gallery img:hover {
border-color: #0f6290 !important;
opacity: 0.8;
}
.justified-gallery {
background: white;
margin-bottom: 1.5em;
box-shadow: 0 0 10px var( --midnight-blue-50 );
}  .tour {
width: 100%;
height: 580px;
padding: 0;
}
.tour p {
max-width: 100% !important;
} .wp-block-cover p {
max-width: 100%;
} .wp-block-embed {
margin-top: 1em;
margin-bottom: 1.5em;
padding-left: 0;
padding-right: 0;
max-width: 50rem;
box-sizing: border-box;
}
.wp-block-embed iframe {
display: block;
width: 100%;
height: 52.5vw; max-height: 28.125rem; } details {
display: block;
max-width: 50rem;
box-sizing: border-box;
background: white;
box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 );
margin-bottom: 1.5em;
}
summary {
display: block;
}
summary:hover {
cursor: pointer;
background: var( --signature-blue-25 );
}
summary,
.gb-block-accordion .gb-accordion-title {
background: white;
color: var( --signature-blue );
padding: 0.6em 1em;
}
details p,
.wp-block-coblocks-accordion__content {
background: white;
border: none;
border-top: 1px solid var( --stone-grey-25 );
padding: 0.6em 1em;
} body:not(.page-template-page-full-screen) article {
margin-bottom: 1em;
} .only-result-notification {
text-align: center;
padding: 0.4em 0.8em;
background: var( --forest-green );
color: white;
} .post-type-info {
display: inline-block;
background: rgb( 5, 138, 192 );
color: white;
padding: 0.2em 0.4em 0.1em;
margin-bottom: 0.5em;
font-size: 70%;
text-transform: uppercase;
} .featured-image {
display: block;
background-position: center 36%;
background-size: cover;
position: relative;
height: 40vw; }
.post-thumbnail {
width: 100vw;
height: 40vw; overflow: hidden;
position: relative;
}
.gradients {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.header-video {
position: absolute;
top: 0;
left: 0;
display: block;
display: none;
width: 100%;
height: 100%;
z-index: 0;
object-fit: cover;
} .featured-image-container {
position: relative;
}
.splash-image {
position: absolute;
bottom: 20px;
right: 20px;
width: 150px;
height: auto;
max-width: 25%;
max-height: 150px;
object-fit: contain;
} .featured-image-container .inner {
background: var( --signature-blue );
}
.featured-image-container .excerpt {
color: white;
text-transform: uppercase;
font-size: 100%;
}
.featured-image-container .excerpt h1 {
font-size: 90%;
color: white;
line-height: inherit;
margin: 0;
} .size-icon {
width: auto;
height: 75px;
} .parent-link {
display: inline-block;
font-size: 90%;
font-weight: 500;
color: white;
padding: 0;
margin: 0 0.8em 0.4em 0;
border: 2px solid transparent;
}
.parent-link:hover {
background: none;
border-color: transparent;
border-bottom-color: white;
}
.parent-link::before {
content: '\f060';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
font-size: 90%;
margin-right: 0.5em;
} .page-title-and-parent-link {
position: absolute;
bottom: 1em;
left: 1em;
max-width: calc( 100% - 2em );
}
.page-title {
display: inline-block;
padding: 0.2em 0.4em;
background-color: var( --signature-blue );
color: white;
border-radius: 4px;
}
.page-title .event-dates {
font-size: 60%;
} p {
margin-top: 0;
max-width: 50rem;
}
div.content {
margin: 1.4em auto;
}
div.content section {
clear: both;
overflow: hidden;
background: white;
padding: 1em;
margin: 0 0 1em;
border-radius: 4px;
} .multi-col {
column-count: 2;
}
.multi-col li {
margin-left: 1em;
} aside {
background: white;
box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 );
text-align: center;
padding: 1em;
margin: 1.4em 0;
}
aside ul {
margin-left: 0;
margin-top: 0;
padding-left: 0;
}
aside li {
list-style-type: none;
font-size: 90%;
}
aside .prices strong {
font-size: 180%;
} .whole-clickable:hover {
cursor: pointer;
} .box-link-container {
display: grid;
width: 100%;
grid-template-columns: calc( 50% - 1px ) calc( 50% - 1px );
grid-gap: 2px;
margin: 0;
}
.inner .box-link-container {
grid-template-columns: calc( 50% - 6px ) calc( 50% - 6px );
grid-gap: 12px;
margin: 1em 0;
}
.box-link-container.search-results {
margin-top: 1.5em;
text-align: left;
}
.box-link {
display: grid;
grid-template-columns: 100%;
grid-template-rows: 50% 50%;
align-items: center;
height: 12em;
position: relative;
box-sizing: border-box;
text-align: center;
overflow: hidden;
background: var( --signature-blue );
color: white;
transition: all 500ms;
}
.inner .box-link {
grid-template-rows: 40% 60%;
border-radius: 4px;
}
.box-link:nth-child(2n) {
border-right: 0;
}
.box-link:hover {
box-shadow: inset 0 0 0 10px rgba( 255, 255, 255, 0.5 );
transition: all 200ms;
}
.box-link:hover .box-link-image {
opacity: 0.5;
transition: opacity 200ms;
}
.box-link:focus,
.box-link:active {
box-shadow: inset 0 0 0 10px var( --yellow-dawn );
}
.box-link-image {
width: 100%;
height: 100%;
object-fit: cover;
}
.box-link h3 {
color: inherit;
margin: 0;
font-size: 75%;
line-height: 1.2;
}
.box-link a {
display: inline-block;
color: inherit;
border: 0;
}
.box-link a:hover {
background: transparent;
}
.box-link a:focus,
.box-link a:active {
box-shadow: none;
}
.box-link p {
display: none;
font-size: 70%;
line-height: 1.4;
margin-top: 0.4em;
}
.box-link .page-icon {
margin-top: 0.2em;
font-size: 140%;
font-weight: normal;
}
.content + .related-pages {
margin-top: 2em;
}
.box-link-top-part {
padding: 1em;
}
.box-link-top-part p {
max-height: 4.2em;
overflow: hidden;
text-overflow: ellipsis;
}  .box-item-container {
display: grid;
grid-template-columns: 100%;
grid-row-gap: 1.4em;
align-items: stretch;
clear: both;
margin-left: -1em; margin-right: -1em; margin-bottom: 1.4em;
}
.box-item {
display: inline-block;
position: relative;
vertical-align: top;
width: 100%;
padding: 0.9em 1em;
margin: 0;
font-size: 90%;
text-align: left;
background: white;
color: inherit;
box-sizing: border-box;
box-shadow: 0 0 10px rgba( 20, 66, 93, 0.1 );
transition: all 500ms;
}
.box-item:hover {
border-color: var( --oak-green );
transition: all 200ms;
}
.box-item:focus {
outline: none;
box-shadow: 0 0 0 4px var( --yellow-dawn );
}
.box-item:active {
transform: scale(0.985);
}
.box-item img {
width: calc( 100% + 2em ); max-width: calc( 100% + 2em );
height: auto;
margin: -0.9em -1em 0.4em -1em;
background: none;
padding: 0;
}
.box-item h3 {
width: 100%;
margin-right: 2%;
text-align: left;
background: transparent;
border: 0;
padding: 0;
margin-bottom: 0.3em;
}
.box-item h3.box-event-details {
margin-top: 0;
}
.box-item h4 {
margin-bottom: 0.3em;
}
.box-item p {
font-family: brandon-grotesque, sans-serif;
font-size: 90%;
}
.box-item span {
display: inline-block;
margin-right: 0.5em;
}
.box-item .tip {
font-size: 90%;
} .box-item .cats {
position: absolute;
top: 0.8em;
left: 0.8em;
text-align: left;
margin: 0 !important;
padding: 0 !important;
}
.box-item .cats li {
display: inline-block;
list-style-type: none;
font-family: brandon-grotesque, sans-serif;
font-size: 70%;
font-weight: 600;
background: white;
padding: 0.2em 0.6em 0.1em !important;
margin-right: 0.2em;
box-shadow: 0 0 5px rgba( 20, 66, 93, 0.1 );
border-radius: 4px;
text-transform: uppercase;
} .box-event-title,
.box-vacancy-title {
width: calc( 100% + 2em );
box-sizing: border-box;
margin: -0.9em -1em 0.9em -1em;
padding: 0.4em 1em;
background: var( --signature-blue );
}
.light-text .box-event-title h3,
.light-text .box-event-title h4 {
color: white;
}
.dark-text .box-event-title h3,
.dark-text .box-event-title h4 {
color: black;
}
.box-vacancy-title h3,
.box-vacancy-title h4 {
color: white;
}
.box-vacancy-title h4 {
font-size: 85%;
font-weight: normal;
}
.filtered-out {
display: none;
} .wp-playlist.wp-playlist-light {
border: none;
background: white;
box-shadow: 0 0 10px rgba( 20, 66, 93, 0.1 );
}
.wp-playlist a {
border-bottom: none;
padding: 0.5em 0;
color: var( --midnight-blue );
}
.wp-playlist .wp-playlist-item-length {
top: 0.5em;
}
.wp-playlist-caption {
text-align: left;
} .mejs-horizontal-volume-slider {
display: none !important;
}
.mejs-controls div.mejs-time-rail {
width: 70px !important;
}
.mejs-time-total {
width: 60px !important;
} .wp-playlist .wp-playlist-item {
width: calc( 100% - 40px );
display: inline-block;
vertical-align: middle;
border-bottom: none;
}
.wp-playlist .download-link {
display: inline-block;
vertical-align: middle;
padding: 5px;
margin-left: 3px;
font-size: 150%;
} form {
margin-bottom: 1em;
}
label {
display: block;
font-weight: 600;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
-webkit-appearance: none;
font-size: inherit;
color: black;
padding: 0.6em 0.8em;
margin-bottom: 0.2em;
background-color: white;
border: 2px solid var( --oak-green-75 );
border-radius: 4px;
line-height: normal;
outline: none;
width: 100%;
box-sizing: border-box;
transition: border 500ms;
}
textarea.small {
height: 5em;
}
select {
background-image: url(//capernwray.org/wp-content/themes/capernwray/images/select-chevron.png);
background-position: center right;
background-repeat: no-repeat;
}
input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
select:hover {
border-color: var( --oak-green );
transition: border 200ms;
}
select:hover {
cursor: pointer;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus {
background-color: white;
border-color: var( --oak-green );
}
input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="tel"]:disabled,
input[type="number"]:disabled,
input[type="password"]:disabled,
option:disabled {
color: var( --oak-green-25 );
}  input[type="checkbox"],
input[type="radio"] {
position: absolute;
left: -9999px;
} input[type="checkbox"] + label,
input[type="radio"] + label {
display: inline-block;
position: relative;
padding-top: 0.3em;
padding-right: 0.8em;
padding-left: 2.2em !important;
padding-bottom: 0.3em;
margin-left: 0 !important;
font-weight: 400;
border-radius: 4px;
transition: background 500ms;
} input[type="checkbox"]:checked + label,
input[type="radio"]:checked + label {
background: white;
border-color: var( --oak-green-25 );
font-weight: 500;
line-height: 1.6;
} input[type="checkbox"] + label::before {
content: '\f0c8';
font-family: 'Font Awesome 6 Pro';
font-size: 120%;
position: absolute;
margin-top: auto;
margin-bottom: auto;
left: 0.4em;
top: calc( 50% - 0.75em);
width: 1.3em;
height: 1.3em;
color: var( --oak-green );
} input[type="radio"] + label::before {
content: '\f111';
font-family: 'Font Awesome 6 Pro';
font-size: 120%;
position: absolute;
margin-top: auto;
margin-bottom: auto;
left: 0.4em;
top: calc( 50% - 0.75em);
width: 1.3em;
height: 1.3em;
color: var( --oak-green );
} input:disabled + label::before {
display: none;
} input[type="checkbox"]:checked + label::before {
content: '\f14a';
font-weight: 400;
color: var( --oak-green );
transition: all 200ms;
} input[type="radio"]:checked + label::before {
content: '\f192';
font-weight: 400;
color: var( --oak-green );
transition: all 200ms;
} input:not(:disabled) + label:hover {
background: var( --oak-green-25 );
cursor: pointer;
transition: background 200ms;
} .gform_body input:not(:disabled):focus + label {
outline: none; box-shadow: 0 0 0 4px gold;
transition: all 200ms;
} ::-webkit-input-placeholder { color: var( --midnight-blue-25 );
}
::-moz-placeholder { color: var( --midnight-blue-25 );
}
:-ms-input-placeholder { color: var( --midnight-blue-25 );
} .gform_body {
margin-top: 1em;
}
ul.gform_fields {
margin-left: 0;
padding-left: 0;
margin-bottom: 2em;
}
li.gfield {
list-style-type: none;
margin-left: 0;
margin-bottom: 1em;
padding-left: 0;
}
ul.gfield_radio,
ul.gfield_checkbox {
margin-left: 0;
padding-left: 0;
}
ul.gfield_radio li,
ul.gfield_checkbox li {
list-style-type: none;
margin-left: 0;
margin-bottom: 0.2em;
padding-left: 0;
}
.ginput_complex label {
font-size: 80%;
font-weight: normal;
color: var( --midnight-blue-75 );
margin: 0.1em 0.5em;
}
.gfield_description {
font-size: 90%;
color: var( --midnight-blue-75 );
margin: 0.2em 0;
}
.gf_left_half {
display: inline-block;
width: 49%;
margin-right: 2%;
}
.gf_right_half {
display: inline-block;
width: 49%;
}
.name_prefix {
display: inline-block;
width: 13%;
margin-right: 2%;
}
.name_first {
display: inline-block;
width: 39%;
margin-right: 2%;
}
.name_last {
display: inline-block;
width: 39%;
margin-right: 2%;
}
.address_city {
display: inline-block;
width: 49%;
margin-right: 2%;
}
.address_zip {
display: inline-block;
width: 49%;
}
.gform_validation_container {
display: none !important;
}
.gform_wrapper h2.gsection_title {
margin-top: 2em;
padding-bottom: 0.3em;
border-bottom-width: 2px;
border-bottom-style: solid;
}
li.gfield.gfield_error {
border-left: 4px solid rgb( 158, 8, 0 );
padding: 0 1em;
}
.gfield_error .validation_message {
color: rgb( 158, 8, 0 );
}
.gfield_visibility_hidden {
display: none !important;
}
a.gform_anchor {
display: none;
} .gf_progressbar {
background: var( --stone-grey );
}
.gf_progressbar_percentage {
background: var( --signature-blue );
padding: 0.4em 0.6em;
box-sizing: border-box;
color: white;
} .gf_page_steps {
display: flex;
justify-content: space-between;
background: var( --stone-grey );
border-radius: 4px;
}
.gf_step {
display: flex;
align-items: center;
justify-content: center;
padding: 0.2em 0.6em;
text-align: center;
width: 100%;
}
.gf_step.gf_step_active {
background: var( --signature-blue );
color: white;
font-weight: bold;
}
.gf_step_number {
background: white;
padding: 0 0.6em;
border-radius: 4px;
font-size: 90%;
font-weight: bold;
color: var( --signature-blue );
}
.gf_step_completed .gf_step_number::after {
content: '\f00c';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
margin-left: 0.3em;
}
.gf_step_label {
display: none;
font-size: 80%;
} .ui-datepicker {
background: white;
border: 2px solid var( --sunset-orange-50 );
border-radius: 0.5rem;
text-align: center;
}
.ui-datepicker-calendar {
margin-bottom: 0;
border: 0;
}
.ui-datepicker tr:last-child td:first-child {
border-bottom-left-radius: 0.4em;
}
.ui-datepicker tr:last-child td:last-child {
border-bottom-right-radius: 0.4em;
}
.ui-datepicker th {
text-align: center;
}
.ui-datepicker td {
padding: 0;
width: 2em;
}
.ui-datepicker td a {
display: block;
padding: 0.1em 0.3em;
text-decoration: none;
text-align: center;
border: 0;
}
.ui-datepicker td a.ui-state-active {
background: var( --sunset-orange );
color: white;
}
.ui-datepicker td a:hover {
background: var( --sunset-orange-75 );
color: white;
}
.ui-datepicker-prev {
float: left;
padding: 0.2em 0.3em;
margin: 0.1em;
border: 0;
border-radius: 4px;
}
.ui-datepicker-prev:hover {
cursor: pointer;
background: var( --sunset-orange-75 );
border: 0;
}
.ui-datepicker-prev::before {
content: '\f060';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
}
.ui-datepicker-next {
float: right;
padding: 0.2em 0.3em;
margin: 0.1em;
border: 0;
border-radius: 4px;
}
.ui-datepicker-next:hover {
cursor: pointer;
background: var( --sunset-orange-75 );
border: 0;
}
.ui-datepicker-next::after {
content: '\f061';
font-family: 'Font Awesome 6 Pro';
font-weight: 300;
}
.ui-datepicker-prev span,
.ui-datepicker-next span {
display: none;
}
.ui-datepicker-title {
padding: 0.1em;
}
.ui-datepicker select {
width: auto;
border: 0;
padding-left: 0.5em;
max-width: 5em;
} .social-icons {
background: var( --midnight-blue );
text-align: center;
transition: all 500ms;
}
.social-icons a {
display: inline-block;
color: white;
border: none;
padding: 0.4em 0.6em;
margin: 0;
font-size: 140%;
}
.social-icons a:hover {
background: var( --midnight-blue-75 );
transition: all 200ms;
} .contact-details {
font-size: 110%;
background: var( --signature-blue );
color: white;
text-align: center;
}
.contact-details p {
max-width: 100%;
margin-bottom: 0;
}
.contact-details ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.contact-details li {
display: inline-block;
padding: 0.2em 0.5em;
}
.contact-details a {
display: inline-block;
color: white;
font-weight: normal;
border: none;
border-color: rgba( 255, 255, 255, 0.5 );
}
.contact-details a:hover {
background: var( --signature-blue-75 );
border-color: white;
}
.contact-details a.icon-link {
padding: 0.6em 0.8em;
border: none;
border-radius: 50%;
}
.contact-details a.icon-link:hover {
background: rgba( 255, 255, 255, 0.2 )
}
.contact-details a.icon-link:first-child {
margin-left: -0.8em;
}
.contact-details a.button {
background: rgba( 255, 255, 255, 0.3 );
border: 2px solid transparent;
color: white;
margin-bottom: 0;
transition: all 500ms;
}
.contact-details a.button:hover {
background: white;
color: var( --signature-blue );
transition: all 200ms;
}
.contact-details svg {
margin-right: 0.5em;
}
.contact-details a.icon-link svg {
margin-right: 0;
}
.contact-details a.icon-link::before {
content: '';
} .google-map {
position: relative;
width: 100%;
height: 60vw;
overflow: hidden;
text-align: center;
background-color: white;
background-image: url(https://maps.googleapis.com/maps/api/staticmap?center=54.143314,-2.695551&zoom=9&size=640x320&scale=2&maptype=roadmap&markers=icon:https://capernwray.org/wp-content/themes/capernwray/images/capernwray-icon-48.png%7Cshadow:true%7Cscale:2%7C54.143314,-2.695551&key=AIzaSyB-sbMSyNPyfRjOujeGD3VgXnXiFs4ulTk);
background-size: cover;
background-position: center center;
}
.google-map-button-container {
position: absolute;
width: 100%;
bottom: 5vw;
text-align: center;
}
a.button.google-map-button {
background: white;
box-shadow: 0 0 100px 50px rgba( 255, 255, 255, 0.8 );
}
a.button.google-map-button::after {
content: '';
margin: 0;
padding: 0;
} .footer-text-1 {
font-size: 200%;
max-width: 60rem;
margin: 0 auto 2em;
}
.footer-text-2 {
max-width: 60rem;
margin: 0 auto 2em;
}
footer {
position: relative;
color: white;
}
footer a {
color: white;
border-color: var( --signature-blue-75 );
}
footer a:hover {
border-color: white;
background: var( --signature-blue-75 );
}
footer p {
clear: both;
overflow: hidden;
text-align: center;
padding: 0;
color: rgb( 241, 235, 243 );
font-size: 75%;
max-width: none;
} .screen-bottom-promo {
display: none;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
padding: 1em;
box-sizing: border-box;
background: var( --forest-green );
border-top: 2px solid white;
color: white;
font-size: 95%;
}
.screen-bottom-promo > div {
display: flex;
align-items: center;
line-height: 1.2;
}
.screen-bottom-promo a {
color: white;
border-color: white;
}
.screen-bottom-promo a.button-link {
float: left;
background: white;
color: var( --forest-green );
font-size: 90%;
margin-bottom: 0;
margin-right: 0.8em;
}
.screen-bottom-promo a.button-link:hover {
color: var( --forest-green );
background: var( --forest-green-25 );
}
.screen-bottom-promo span {
display: block;
}
.hide-screen-bottom-promo {
font-size: 130%;
position: absolute;
top: -1em;
right: 1em;
background: var( --forest-green );
border: 2px solid white;
color: white;
padding: 0 0.5em;
border-radius: 50%;
width: 0.6em;
height: 1.5em;
display: flex;
align-items: center;
}
.hide-screen-bottom-promo:hover {
background: white;
color: var( --sunset-orange );
border-color: white;
}  @media screen and (min-width: 600px) { .section-box {
width: 48%;
background-position: right center;
} .box-item-container {
grid-template-columns: 49% 49%;
grid-gap: 2%;
grid-row-gap: 1em;
margin-left: 0;
margin-right: 0;
}
.box-item {
border: 4px solid white;
border-radius: 4px;
transition: width 200ms;
} .box-link h3 {
font-size: 100%;
} .alignright,
.wp-block-image .alignright,
.wp-block-gallery.alignright {
float: right;
clear: right;
max-width: 50%;
height: auto;
margin-right: 0;
margin-left: 1.4em;
}
.alignleft,
.wp-block-image .alignleft,
.wp-block-gallery.alignleft {
float: left;
clear: left;
max-width: 50%;
height: auto;
margin-left: 0;
margin-right: 1.4em;
}
.alignleft img,
.alignright img {
height: auto;
}
} @media screen and (min-width: 768px) {
body {
font-size: 18pt;
} .site-header {
height: 600px;
}
.site-logo {
display: block;
}
.site-logo-link {
margin-right: 1em;
margin-top: 0.8em;
}
.site-logo-icon {
display: none;
}
.header-excerpt {
font-size: 150%;
} .main-menu {
display: block;
}
.main-menu li:not(.current_page_item,.current_page_ancestor,.current_page_ancestor li) {
display: none;
} .multi-col {
column-count: 3;
} blockquote,
.wp-block-quote {
float: left;
width: calc( 50% - 0.5em );
margin-right: 1em;
}
blockquote:nth-of-type(2n),
.wp-block-quote:nth-of-type(2n) {
margin-right: 0;
}
.block-editor-writing-flow .wp-block-quote {
margin-right: auto;
}
.wp-block-quote + p,
.wp-block-quote + h2,
.wp-block-quote + h3,
.wp-block-quote + h4 {
clear: both;
} .wp-playlist.wp-playlist-light .wp-playlist-caption,
.wp-playlist .wp-playlist-item-title,
.wp-playlist .wp-playlist-item-length {
font-size: 18px;
} .wp-block-table td,
.wp-block-table th {
display: table-cell;
max-width: 33%;
font-size: 100%;
padding: 0.4em 0.8em;
}
.wp-block-table td:not(:last-child) {
border-right: 1px solid rgba( 20, 66, 93, 0.3 );
} .box-link {
height: 16em;
}
.box-link p {
display: block;
} .google-map {
height: 42vw;
}
} @media screen and (min-width: 1024px) { .box-link-container {
grid-template-columns: calc( 25% - 1.5px ) calc( 25% - 1.5px ) calc( 25% - 1.5px ) calc( 25% - 1.5px );
}
.inner .box-link-container {
grid-template-columns: calc( 25% - 9px ) calc( 25% - 9px ) calc( 25% - 9px ) calc( 25% - 9px );
}
.large-box-link-container {
grid-template-columns: calc( 33.3% - 1.333px ) calc( 33.3% - 1.333px ) calc( 33.3% - 1.333px );
}
.inner .large-box-link-container {
grid-template-columns: calc( 33.3% - 8px ) calc( 33.3% - 8px ) calc( 33.3% - 8px );
} .box-item-container {
grid-template-columns: 32% 32% 32%;
grid-gap: 2%;
grid-row-gap: 1.4em;
} .single .content {
float: left;
width: 60%;
}
.single blockquote {
display: inline-block;
max-width: 60%;
}
aside {
float: right;
clear: right;
width: 30%;
margin-left: 4%;
} footer .footer-menu ul {
display: flex;
align-items: flex-start;
justify-content: space-between;
}
footer .footer-menu li {
margin-right: 1.5em;
}
footer .footer-menu li:last-child {
margin-right: 0;
}
} @media screen and (min-width: 1260px) { .home .site-header {
height: 800px;
max-height: 80vh;
} .main-menu li:not(.current_page_item,.current_page_ancestor,.current_page_ancestor li) {
display: block;
}
.site-nav a.menu-button {
display: none;
}
.full-screen-menu {
display: none;
} .excerpt p {
font-size: 170%;
} .featured-image-container,
.home .featured-image-container,
.featured-image {
height: 32vw;
}
.featured-image-container .inner {
height: calc( 32vw - 2em );
top: -32vw;
} .google-map {
height: 30vw;
} .screen-bottom-promo {
text-align: center;
}
.screen-bottom-promo div {
justify-content: center;
}
.screen-bottom-promo a.button-link {
float: none;
}
.screen-bottom-promo span {
display: inline;
margin-right: 0.5em;
}
.hide-screen-bottom-promo span {
margin: 0;
}
} @media screen and (min-width: 1440px) {
.inner {
width: 1360px;
padding-left: 0;
padding-right: 0;
} .header-excerpt {
left: 0;
}
.page-title-and-parent-link {
left: 0;
bottom: 0;
} .box-link.large-box-link {
height: 20em;
}
.box-link h3 {
font-size: 140%;
}
.inner .box-link h3 {
font-size: 120%;
}
.box-link p {
font-size: 90%;
}
.inner .box-link p {
font-size: 90%;
} .google-map {
height: 24vw;
}
} @media print { .site-nav,
.search-box,
.page-menu,
.featured-image,
.parent-link,
.cookie-message,
.wp-block-embed.is-type-video,
.box-link,
.navigation-heading,
.contact-details,
.google-map,
.mission,
footer,
.screen-bottom-promo {
display: none;
} aside {
float: right;
clear: right;
width: 30%;
margin-left: 4%;
} a {
border: none;
font-weight: normal;
}
a.button,
a.key-button {
display: none;
} .inner {
margin: 0;
padding: 0;
max-width: none;
width: auto;
}
body .page-title {
padding-bottom: 1em;
} body div.page-title h1,
h1,
h2,
h3,
h4,
body div.page-title p,
p,
a {
color: black;
} * {
box-shadow: none;
} .box-item {
display: inline-block;
width: 32%;
box-shadow: none;
}
.box-link:hover,
.large-box-link:hover,
.box-item:hover {
box-shadow: none;
}
.box-link-image {
display: none;
} .has-background {
background: none;
border: 2pt solid #999;
} .site-logo {
display: none;
}
.site-logo-print {
display: block;
width: 8cm;
height: auto;
margin-top: 2cm;
margin-top: 1cm;
}
}