/*
Theme Name: Unstoppable
Theme URI: https://unstoppable.crossroadsgrace.org
Author: the Crossroads Grace Community Church online team
Author URI: https://crossroadsgrace.org
Description: Child theme for Worth It
Template: cgcc
Version: 1.0
*/

/** Resets **/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details,
figure, figcaption, footer, header, hgroup,
menu, nav, output, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
html {
    font-family: "Monserrat","Avenir","Lato","Helvetica Neue",sans-serif;
    font-size: 62.5%;
    font-synthesis: none;
}
body {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
    background-color: rgba(57,42,38,1);
    color: rgb(48,48,48);
;
}
body,
.home footer {
    background-color: rgba(57,42,38,1);
}
ol, ul {
    list-style: none;
}
dl {
    margin: 2rem 0;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 3rem;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
p:empty {
    display: none;
}

/* Globals */
a {
    text-decoration: none;
    transition: color 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    color: #04a3c5;
}
a:hover {
    text-decoration: underline;
}

h1 a:hover {
    text-decoration: none;
}
hr {
    border: none;
    border-bottom: 1px solid #ddd;
}
strong {
    font-weight: 700;
}
em {
    font-style: italic;
}
code {
    font-family: Menlo, monospace;
}

.tiles .ghost-button {
    color: #394348;
    border-color: #508764;
}

.tiles .ghost-button:hover {
    background-color: #508764;
    color: #ffffff;
}

.tiles .textwidget p {
    margin-bottom: 3rem;
}

.button {
    color: #508764;
    border: 3px solid #508764;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    margin: 6px 0;
    display: inline-block;
    text-decoration: none;
    min-width: 12rem;
    text-transform: uppercase;
    transition: background-color 1500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    text-align: center;
}

.button:hover {
    background-color: #508764;
    color: #ffffff;
    text-decoration: none;
}

.ghost.button {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255,255,255,0.0);
}

.ghost.button:hover {
    background-color: rgba(255,255,255,1.0);
    color: rgba(0,0,0,0.7);
    text-decoration: none;
}

.overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
    text-decoration: none;
}

.overlay-link:hover {
    text-decoration: none;
}


/** Page Layout **/
.page-width {
    max-width: 1140px;
    margin: 0 auto;
}

main {
    background: #ffffff;
    padding: 0;
    animation: fade-in 1s ease-in;
}

.page.masthead main {
    margin-top: -9rem;
}

.home main {
    margin: 0;
}

/** Header **/
header {
    overflow: visible;
    width: 100vw;
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 500;
    background-color: rgba(57,42,38,1);
    position: fixed;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#logo {
  
}
.masthead header {
    background: linear-gradient(0deg, rgba(0,0,0,0) 5%, rgba(0,0,0,0.6));
}

/** Logo **/
.site-logo {
  position: absolute;
  z-index: 200;
  display: block;
  font-size: 7.5rem;
  line-height: 1;
  left: calc((100vw - 1140px) / 2);
  background-image: url('images/logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  top: 1.5rem;
}


/** Navigation **/

.label-toggle {
    cursor: pointer;
}

#site-nav {
    text-align: right;
    width: 100%;
    padding: 0;
    margin: 0;
    height: 6rem;
    position:relative;
    font-size: 0;
    z-index: 2;
}

#site-nav ul {
    list-style: none;
}

#site-nav .menu {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 3rem;
}

#site-nav .menu li {
    display: inline-block;
    font-size: 1.6rem;
    text-align: right;
}

#site-nav .menu {
    text-transform: uppercase;
    font-weight: bold;
}

#site-nav .sub-menu {
    display: none;
    position: absolute;

    text-transform: none;
    font-weight: 500;
    text-align: right;

    background-image: linear-gradient(90deg, rgba(139,100,86,0.8) -100%, rgba(57, 42, 38, 1) 100%);
    
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    -webkit-backdrop-filter: blur(3px);

    width: 100vw;
    top: 6rem;
    left: 0px;
}

#site-nav li a {
    color: #ffffff;
    display: block;
    padding: 2rem 0 2rem 3rem;
    text-decoration: none;
    letter-spacing: 0.1rem;
    line-height: 2rem;

    opacity: 0.6;
    -webkit-transition: opacity 0.4s ease-in;
    -moz-transition: opacity 0.4s ease-in;
    transition: opacity 0.4s ease-in;
}

#site-nav li:hover > a {
    opacity: 1;
}

#site-nav li:hover > .sub-menu {
    display: block;
    box-sizing: border-box;
    padding: 3rem calc((100vw - 1080px) / 2) 3rem 50%;
}

#site-nav .sub-menu li {
    display: block;
    flex: none;
    break-inside: avoid-column;
    padding-right: 3rem;
    width: auto;
    clear: both;
    border-right: 1px solid rgba(255,255,255, 0.5);
}

#site-nav .sub-menu li:after {
    content: attr(title);
}

#site-nav .sub-menu li:hover {
    border-right: 3px solid rgba(255,255,255, 1);
    margin-left: -2px;
}

#menu-site-nav > .menu-item:last-child > a {
    display: inline-block;
    background: url('images/menu.svg') no-repeat right 2rem;
    background-size: 1.6rem;
    padding-right: 1.6rem;
    font-size: 0;
}

#menu-site-nav > .menu-item:last-child .sub-menu {
    columns: auto 2;
}

#menu-site-nav > .menu-item:first-child > a {
    padding-left: 0;
}

/** Social Links **/
.social-links {
    position: relative;
    height: 3rem;
    text-align: right;
    box-sizing: border-box;
    padding: 0 calc((100vw - 1140px) / 2);
    white-space: nowrap;
}

.social-links .icon {
    position: relative;
    display: inline-block;
    text-align: right;
    padding-top: 1rem;
}

.social-links > div {
    display: inline-block;
}

.social-links .icon svg {
    width: auto;
    height: 100%;
}

.social-links .icon:last-child {
    border-left: 1px solid #fff;
    padding-left: 3rem;
    padding-right: 3rem;
}

.social-links a {
    margin-left: 3rem;
    opacity: 0.6;
    -webkit-transition: opacity 0.4s ease-in;
    -moz-transition: opacity 0.4s ease-in;
    transition: opacity 0.4s ease-in;
}

.social-links a:hover {
    opacity: 1;
}

.social-links .search button {
    background: none;
    border: none;
    height: 1.6rem;
    padding: 0;
}

.social-links .search ::-webkit-input-placeholder {
  color: rgba(255,255,255,0.6);
}
.social-links .search ::-moz-placeholder {
    color: rgba(255,255,255,0.6);
}
.social-links .search ::-ms-input-placeholder {
    color: rgba(255,255,255,0.6);
}
.social-links .search ::-moz-placeholder {
    color: rgba(255,255,255,0.6);
}

.social-links .search-input {
    font-size: 1.6rem;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0.5rem;
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    padding-right: 3rem;
    margin-right: -3rem;
    width: 0;
    transition: width 0.3s ease-out;
}

.social-links .search:hover .search-input {
    background-color: rgba(255, 255, 255, 0.25);
    width: 20rem;
}

.menu-social-links-container {
    display: inline;
}

/* Hide menu toggle checkboxes */
input.menu-toggle {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

footer {
    display: flex;
    flex-wrap: wrap;
    padding: 3rem;
}

footer .footer-column {
    color: #ffffff;
    flex-grow: 1;
    width: 33%;
    box-sizing: border-box;
    padding-right: 3rem;
    line-height: 3rem;
}

footer .footer-column p {
    margin-bottom: 3rem;
}

footer .footer-column p:first-child {
    height: 5rem;
    width: 100%;
}

footer .crossroads-logo p:first-child {
    background-image: url('images/crossroads-logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

footer .worthit-logo p:first-child {
    background-image: url('images/logo.svg');
    background-repeat: no-repeat;
}

footer .copyright {
    flex-grow: 3;
    justify-content: right;
    text-align: right;
    font-size: 1.3rem;
    color: #ffffff77;
}

footer .copyright a {
    color: #ffffffbb;
}

/** Page Layout **/
.page-width {
    max-width: 1140px;
    margin: 0 auto;
}

main {
    background: #ffffff;
    padding: 0;
    animation: fade-in 1s ease-in;
    padding-top: 8rem;
}

.page.masthead main {
    margin-top: -9rem;
}

.home main {
    margin: 0;
}


/** Post Layout **/
article {
    padding: 3rem 1rem;
    animation: fade-up 1s;
}

article .byline {
    float: left;
    width: 191px;
    text-align: right;
    padding-right: 4rem;
    box-sizing: border-box;
}

.wp-editor,
article .content,
.page.narrow,
section {
    max-width: 62rem;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0;
}

article .aligncenter .wp-caption-text {
    right: -50%;
}

.wp-editor .alignleft,
article .alignleft {
    float: left;
    margin: 1.5rem 1.5rem 1.5rem 0;
    margin-left: -15%;
}

.wp-editor .aligncenter,
article .aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 3rem;
}

article div.aligncenter {
    position: relative;
    float: right;
    right: 50%;
}

article div.aligncenter img {
    position: relative;
    right: -50%;
}

.wp-editor .alignright,
article .alignright {
    float: right;
    margin: 1.5rem 0 1.5rem 1.5rem;
    margin-right: -15%;
}

article .alignnone {
    display: block;
    float: none;
    max-width: 100vw;
    height: auto;
}

article .alignnone.size-full {
    width: 100vw;
    height: auto;
    left: 50%;
    position: relative;
    -webkit-transform: translate(-50vw, 0);
    transform: translate(-50vw, 0);
}

.wp-editor .alignleft {
    margin-left: -4rem;
}

.wp-editor .alignright {
    margin-right: -4rem;
}


article .pull-left {
    float: left;
    margin: 1.5rem 1.5rem 1.5rem -15%;
}

article .pull-right {
    float: right;
    margin: 1.5rem -15% 1.5rem 1.5rem;
}

article .content iframe {
    margin: 0 auto;
    display: block;
}




/** Article Figures **/

article figure {
    margin-bottom: 3rem;
    text-align: center;
}
article figure > img {
    display: inline-block;
    max-width: 100%;
    max-height: 540px;
    height: auto;
}

figure.widescreen {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translate(-50%);
}

figure.widescreen img,
figure.widescreen figcaption {
    display: block;
    margin: 0 auto;
}

figure.widescreen figcaption {
    margin-top: 3rem;
}

figure.widescreen video {
    max-height: 420px;
    max-width: 66%;
}

article video.alignleft,
article video.alignright {
    max-width: 50%;
}

article .alignleft:first-child,
article .alignright:first-child {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

article figcaption {
    text-align: left;
    margin-top: 1.5rem;
    max-width: 970px;
    padding-left: 1.5rem;
    box-sizing: border-box;
    font-size: 1.5rem;
    font-style: italic;
    color: #8E8E93;
    position: relative;
}

article figcaption::before {
    left: 1.5rem;
    width: 10%;
    height: 100%;
    bottom: 1rem;
    border-top: 1px solid #cccccc;
    content: '';
    opacity: 1;
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
}

figure.aligncenter figcaption {
    text-align: center;
    padding-left: 0;
}

figure.aligncenter figcaption::before {
    margin: 0 auto;
    width: 20%;
    left: 50%;
    transform: translate(-50%);
}

article .clipbottom + p + figcaption {
    margin-top: 1rem;
}

article .clipbottom + p + figcaption::before {
    width: 0;
}

/** Page Layout **/
article.page h1 {
    width: 66%;
}

.page .content h1 {
    width: 100%;
}

/** Post Typography **/
.page h1 {
    font-size: 6vw;
    line-height: 1.0625;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    color: rgb(139, 100, 086);
    margin: 3rem auto 0;
    font-family: 'Unstoppable', sans-serif;
}

.page h1,
.page h1 a {
    color: rgb(139, 100, 086);
    text-decoration: none;
}

.content > p:first-child,
.heading-subtext {
    font-size: 3rem;
    line-height: 1.618;
    color: rgb(87, 82, 34);
}

.content h2 {
    font-size: 4.2rem;
    line-height: 1.08654;
    font-weight: 200;
    letter-spacing: -0.014em;
    margin: 4rem 0 1rem;
}

.content h3 {
    font-size: 3.2rem;
    line-height: 1.14286;
    font-weight: 200;
    letter-spacing: -0.01em;
}

.content h4 {
    font-size: 2.2rem;
    line-height: 1.125;
    font-weight: 600;
}

.content h5 {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 600;
}

.content h6 {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 500;
}

.content h3,
.content h4,
.content h5,
.content h6 {
    color: #0d3b56;
    margin-bottom: 0.5rem;
}

.content h2 + h3,
.content h3 + h4,
.content h4 + h5,
.content h5 + h6 ,
.content p,
.content div > img,
.content pre,
.content hr {
    margin-bottom: 3rem;
}

article .byline p {
    font-size: 1.5rem;
    line-height: 3rem;
    margin-bottom: 0;
    color: #8E8E93;
}

article .byline .date {
    font-weight: 900;
}

article .byline .author {
    white-space: nowrap;

}

article .content {
    font-size: 2rem;
    line-height: 3rem;
}

.content table {
    font-size: 1.6rem;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 3rem 0;
    width: 100%;
}

.content thead, .content tfoot {
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #e0e0e0;
}

.content tr {
    border-top: 1px solid #e0e0e0;
}

.content tr:first-child {
    border-top: 0 none;
}

.content th {
    font-weight: bold;
    vertical-align: bottom;
    text-align: left;

}
.content td, th {
    padding: 1.754386%;
}
.content th:first-child {
    padding-left: 0;
}

.content ol,
.content ul {
    padding-left: 3rem;
    margin: 3rem 0;
}

.content ol {
    list-style-type: decimal;
}

.content ul {
    list-style-type: square;
}

.content ul ul,
.content ul ol,
.content ol ul,
.content ol ol {
    margin-top: 0;
    margin-bottom: 0;
}

.content blockquote {
    width: 100vw;
    height: auto;
    padding: 0 10vw;
    left: 50%;
    position: relative;
    margin-left: -50vw;
    box-sizing: border-box;
    font-weight: 200;
    font-size: 4.2rem;
    line-height: 1.3;
    text-align: center;
    color: #af243b;
    font-family: "Montserrat";
    font-style: italic;
}

.content blockquote > * {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.content blockquote:first-child {
    width: 100%;
    text-align: left;
    margin: 0 auto;
    left: 0;
    padding: 0;
}

blockquote.pull-right {
    width: 60%;
    margin: 0 -25% 1.5rem 3rem;
    left: revert;
    padding: 0;
    text-align: left;
}

blockquote.pull-right:before {
    display: inline-block;
    content: ' ';
    border-top: 3px solid #dee8ed;
    width: 20rem;
    height: 1.5rem;
    font-size: 1rem;
    margin: 0;
}

.post .content > p:last-child:after {
    content: " \220E"; /* Tombstone */
    color: #666666;
}

.content div.note {
    margin-left: -3rem;
    margin-right: -3rem;
    padding: 3rem;
    background-color: hsl(50, 100%, 94%);
    border: 1px solid hsl(40, 100%, 90%);
    color: hsl(30, 90%, 35%);
    border-radius: 3px;
    margin-bottom: 3rem;
    box-sizing: normal;
}

.content .foreword {
    padding: 1.6rem 2.2rem 1.6rem;
    line-height: 2.6rem;
    background-color: #f0f0f0;
    border: 1px solid #e6e6e6;
    color: #8E8E93;
    border-radius: 3px;
    margin-bottom: 3rem;
    box-sizing: normal;
    font-size: 1.6rem;
    font-style: italic;
}

.content .two-columns {
    columns: 2;
    column-gap: 6rem;
    margin: 3rem 0;
}

.content .two-columns h2,
.content .two-columns h3,
.content .two-columns h4,
.content .two-columns h5,
.content .two-columns h6 {
    break-after: avoid-column; /* https://bugs.webkit.org/show_bug.cgi?id=148814 */
}

.page .feature,
.single .feature {
    width: 100vw;
    max-height: 50vh;
    overflow: hidden;
}

.page .feature.full {
    max-height: none;
}

.page .feature img,
.single .feature img {
    position: relative;
    width: 100%;
    height: 100%;
    animation: scale-in 7s ease-out;
}

@keyframes scale-in {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.page .links {
    float: right;
    background: #f2f2f2;
    margin: 0 0 3rem 3rem;
    font-size: 1.6rem;
}

.page .links ul {
    list-style: none;
    padding-left: 0;
}

.page .links li {
    padding: 0 3rem;
}

.page .links .current-page {
    background: #ececec;
    padding-left: 3.5rem;
    padding-right: 2.5rem;
}
.page .links .current-page a {
    color: #273E48;
}

.page .links li:hover {
    background: #ececec;
    padding-left: 3.5rem;
    padding-right: 2.5rem;
}

.page .links li:before {
    content: "\0203A";
    padding-right: 1rem;
    font-size: 2.4rem;
    color: #273E48;
}

.page .links a {
    text-decoration: none;
}

article .two-columns p {
    break-inside: avoid-column;
}

input {
    font-size: 1.6rem;
}

.wp-editor > div,
.coffee-menu div {
    display: flex;
}

.wp-editor > div strong,
.coffee-menu div strong {
    font-weight: 500;
    flex-grow: 1;
    width: 25%;
}

.wp-editor > div em,
.coffee-menu div em {
    margin-left: 1rem;
    width: 20%;
    font-style: normal;
}

.wp-editor > div.column-headers,
.coffee-menu div.column-headers {
    border-bottom: 1px dashed #394348;
}
.wp-editor > div.espresso,
.coffee-menu div.espresso {
    margin-bottom: 3rem;
}

.format.contact,
.format.links,
.format.event {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    float: none;
    background: #f2f2f2;
    padding: 3rem;
    margin-bottom: 3rem;
    margin: 0 0 3rem 0;
    box-sizing: border-box;
    min-width: 0;
}
.format.contact > * {
    flex: 1;
    flex-basis: 15rem;
}
.format.contact p:before {
    content: " ";
    font-weight: 600;
    line-height: 1;
    font-size: 1.3rem;
    display: block;
    text-transform: uppercase;
    color: #394348;
}
.format.contact p:first-child:before {
    content: "Contact";
}
.format.contact p:first-child {
    clear: both;
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 0;
    min-width: 10rem;
}
.format.contact p:last-child {
    text-align: right;
    margin-bottom: 0;
    min-width: 0;
    white-space: nowrap;
}

.format.links {
    display: block;
}
.format.links p:first-child {
    font-size: 2rem;
    font-weight: 500;
}
.format.links ul {
    clear: both;
}

.format.staff {
    display: block;
}

.format.staff:after {
    content: " ";
    display: table;
    clear: both;
}

.format.staff p {
    display: block;
    padding: 0;
    font-size: 2rem;
    line-height: 1.2;
}

.format.staff p:first-child {
    float: left;
    margin: 1.5rem 1.5rem 1.5rem 0;
    min-width: 200px;
    min-height: 150px;
    background-color: #f7f7f7;
}

.format.staff img {
    width: auto;
    left: 0;
    transform: none;
}

.format.staff p:nth-child(2) {
    padding-top: 11rem;
    font-size: 4rem;
    font-weight: 100;
    margin-bottom: 0;
}

.format.verse:before,
.format.verse:after {
    display: block;
    border-top: 1px solid #dee8ed;
    content: ' ';
    width: 30%;
    margin: 0 auto;
}
.format.verse {
    display: block;
    font-size: 3rem;
    line-height: 1.618;
    color: #426e85;

    left: revert;
    width: auto;
    text-align: left;
    margin-left: 0;
    padding: 0;
}

.format.verse p:first-child {
    margin-bottom: 0;
}

.format.verse p:last-child {
    white-space: nowrap;
    text-align: right;
    color: #dee8ed;
}

.format.verse p:first-child:before {
    content: '“';
}

.format.verse p:first-child:after {
    content: '”';
}

.format.event {
    display: block;
    transform: scale(1);
    transition: background-color 300ms ease-in, transform 200ms ease-in;
}

.format.event:hover {
    background-color: #04a3c5;
    color: #fff;
    transform: scale(1.03);
}

.format.event:hover * {
    color: #fff;
}


.format.event h6:before {
    content: 'Next';
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.5;
    line-height: 1;
}

.format.event h6 {
    width: 100%;
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 3rem;
    color: #0d3b56;
}

.format.event .time {
    font-weight: 500;
}


.planner {
    width: 100vw;
    color: #ffffff;
}

.planner h2 {
    font-size: 4.2rem;
    line-height: 1.08654;
    font-weight: 200;
    letter-spacing: -0.014em;
    margin: 10rem 0 1rem;
    color: #D8C99B;
}

.format.visit.section {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 3rem calc(62rem/2);
    width: 100%;
    min-height: 70vh;
    box-sizing: border-box;
    overflow: hidden;
}

.wp-editor .format.visit.section {
    padding: 3rem;
}

.format.visit.section p:before {
    content: ' ';
    display: inline-block;
    border: 2px solid #ffffff;
    border-radius: 3px;
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

.format.visit.section p {
    margin-bottom: 1rem;
    text-indent: -3.2rem;
}

.format.visit.section p:first-child {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    opacity: 0.4;
    text-indent: 0;
}

.format.visit.section p:first-child:before {
    content: '';
    border: none;
    width: 0;
    height: 0;
    margin: 0;
}

.format.visit.section img {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform 10s ease-out, opacity 500ms ease-in;
}

.format.visit.section:hover img {
    transform: scale(1.1);
}

.wp-editor .format.visit.section p:first-child {
    bottom: 0;
    right: 0;
    width: 100%;
    margin-bottom: 0;
}

.wp-editor .format.visit.section {
    min-height: revert;
}

.format.visit.section > * {
    z-index: 1;
    position: relative;
}

main img {
    opacity: 0;
    transition: opacity 500ms ease-in;
}

main img.loaded {
    opacity: 1;
}


/** Screen Breakpoints **/

@media only screen and (max-width: 1160px) {
    #logo {
        left: 3rem;
    }

    article h1 {
        font-size: 6rem;
    }

    #site-nav li:hover > .sub-menu {
        padding: 3rem 3rem 3rem 50%;
    }
}

@media only screen and (max-width: 784px) {

    #site-nav .label-toggle {
        display: inline-block;
        margin: 1.5rem 3rem 1.5rem 0;
        height: 3rem;
        width: 3rem;
        background: url('images/menu.svg') no-repeat 50%;
        cursor: pointer;
    }

    .menu-toggle + .menu {
        display: none;
        background-image: linear-gradient(90deg, rgba(139,100,86,0.8) -100%, rgba(57, 42, 38, 1) 100%);

        -webkit-backdrop-filter: blur(10px);

    }

    #site-nav .menu {
        padding: 0 3rem 0 0;
    }



    #menu-site-nav > .menu-item:last-child > a {
        background: none;
        padding-right: 0;
        font-size: 1.6rem;
    }

    #site-nav li:hover > .sub-menu {
        padding: 3rem 3rem 3rem 0;
    }

    #site-nav li a {
        padding: 2rem 0 2rem 4vw;
        letter-spacing: -0.1rem;
    }

    .menu-toggle:checked + .menu {
        display: block;
    }

    .site-logo {
        font-size: 4.5rem;
        line-height: 1;
        margin-top: 1rem
    }

    .social-links:hover {
        left: -82px;
    }

    #services .tile,
    .tile {
        width: 100%;
        border: none;
        margin-top: 0;
    }




    #scroller {
        width: 74vw;
        height: 50vw;
        -webkit-perspective: 200px;
        -moz-perspective: 200px;
        -o-perspective: 200px;
        overflow: visible;
    }

    #scroller .item {
        width: 74vw;
        height: 41vw;
    }

    #scroller .item .title {
        bottom: 0;
        margin: 0;
        font-size: 1.3rem;
        padding: 0.2rem 0.5rem;
    }

    #scroller .nav {
        width: 74vw;
        top: 25vw;
        z-index: 2;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    #scroller .left {
        -webkit-transform: rotateY(25deg) translateX(-32vw) translateZ(-120px) skewY(-5deg) scale(0.4, 0.6);
        -moz-transform: rotateY(25deg) translateX(-32vw) translateZ(-120px) skewY(-5deg) scale(0.4, 0.6);
        transform: rotateY(25deg) translateX(-32vw) translateZ(-120px) skewY(-5deg) scale(0.4, 0.6);
    }


    #scroller .right {
        -webkit-transform: rotateY(-25deg) translateX(32vw) translateZ(-120px) skewY(5deg) scale(0.4, 0.6);
        -moz-transform: rotateY(-25deg) translateX(32vw) translateZ(-120px) skewY(5deg) scale(0.4, 0.6);
        transform: rotateY(-25deg) translateX(32vw) translateZ(-120px) skewY(5deg) scale(0.4, 0.6);
    }



    article.page h1 {
        margin-top: 0;
        font-size: 5rem;
        width: 100%;
    }

    .modal {
        top: 5vh;
        left: 5vw;
        max-height: 90vh;
        width: 90vw;
    }

    .page .feature,
    .single .feature {
        max-height: 16rem;
        min-height: auto;
        width: 100vw;
    }

    .page .feature.full {
        max-height: none;
    }

    .page .feature img,
    .single .feature img {
        width: 150%;
        height: 100%;

    }

    .page .feature.full img {
        width: 100%;
    }


    .format.staff p:nth-child(2) {
        padding-top: 0;
        clear: both;
    }

    .format.visit.section img {
        width: auto;
        height: 100%;
        margin-left: -50%;
    }

    .format.visit.section {
        padding: 3rem 0 3rem 0;
    }

    .format.visit.section h2 {
        padding: 0 3rem 0 6rem;
    }

    .format.visit.section p:first-child {
        padding: 0;
        margin: 0;
    }
    .format.visit.section p {
        padding: 0 3rem 0 6rem;
    }

    article .alignleft {
        margin-left: -1rem;
    }

    article .alignright {
        margin-right: -1rem;
    }

    article .alignnone {
        width: 100vw;
        height: auto;
        left: 50%;
        position: relative;
        -webkit-transform: translate(-50vw, 0);
        transform: translate(-50vw, 0);
    }

}

@media only screen and (max-width: 615px) {

    footer .footer-column {
        width: 100%;
    }
}

@media only screen and (max-width: 414px) {
    .site-logo {
        margin-top: 3rem;
    }
    
    .links {
        float: none;
        width: 100%;
    }
}
