/* Theme Name: Straight Out Digital Starter Theme
* Theme URI: http://straightoutdigital.com.au/
* Author: Straight Out Digital
* Author URI: http://straightoutdigital.com.au/
* Description: Description
* Version: 1.0.0
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: Straightoutdigital
* Tags: */
/*--------------------------------------------------------------

       / /\         /\ \         /\ \
      / /  \       /  \ \       /  \ \____
     / / /\ \__   / /\ \ \     / /\ \_____\
    / / /\ \___\ / / /\ \ \   / / /\/___  /
    \ \ \ \/___// / /  \ \_\ / / /   / / /
     \ \ \     / / /   / / // / /   / / /
 _    \ \ \   / / /   / / // / /   / / /
/_/\__/ / /  / / /___/ / / \ \ \__/ / /
\ \/___/ /  / / /____\/ /   \ \___\/ /
 \_____\/   \/_________/     \/_____/


---------------------------------------------------------------*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Fonts
# Normalize/Clearings/Box-sizing
# Typography
# Form Elements
# Global Classes
    ## Alignment
# Page wrappers/Containers
# Page preloader
# Header
    ## Logo
    ## Navigation
    ## Navigation General
    ## Nav-icon menu
# Footer
    ## Footer Main
# Page styles
    ## Article Hero
    ## Story Grid Item
    ## Story Page
    ## Article story
    ## Image Gallery
## VC Resets
# Media Queries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@font-face {
    font-family: 'ApercuPro';
    src: url('fonts/ApercuPro.eot?#iefix') format('embedded-opentype'),
    url('fonts/ApercuPro.otf') format('opentype'),
    url('fonts/ApercuPro.woff') format('woff'),
    url('fonts/ApercuPro.ttf') format('truetype'),
    url('fonts/ApercuPro.svg#ApercuPro') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ApercuPro';
    src: url('fonts/apercu-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}


/*--------------------------------------------------------------
# Normalize/Clearings/Box-sizing
--------------------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/
* v2.0 | 20110126
* License: none (public domain) */
html, body, div, span, applet, 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, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
    display: block;
}

html, body {
    min-height: 100%;
}

body {
    line-height: 1;
    background-color: #ffffff;
    position: relative !important;
    font-family: 'ApercuPro', sans-serif;
    padding: 0;
    color: #2b2319;
    height: 100%;
    font-weight: normal;
}

blockquote, q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before, q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-family: 'ApercuPro', sans-serif;
    color: #2b2319;
}

h1 {
    font-size: 60px;
    line-height: 1.1;
}

h2 {
    font-size: 28px;
    line-height: 1.1;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
}

h4 {
    font-size: 20px;
    line-height: 1.3;
}

h5 {
    font-size: 18px;
    line-height: 1.1;
}

h6 {
    font-size: 16px;
    line-height: 1.1;
}

p,
ul,
ol,
li {
    font-size: 16px;
    line-height: 1.7;
    font-weight: normal;
    font-family: 'ApercuPro', sans-serif;
    color: #2b2319;
}

a {
    text-decoration: none;
    color: inherit;
}

p,
ul,
ol {
    margin-bottom: 20px;
}

p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    padding-left: 20px;
}

ul li {
    list-style: outside disc;
    padding-bottom: 10px;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

blockquote {
    padding-left: 45px;
    position: relative;
    display: block;
}

img {
    display: block;
}

h1 + p {
    margin-top: 45px;
}

h1 + h3 {
    margin-top: 90px;
}

h2 + p,
h3 + p,
h4 + p,
h5 + p {
    margin-top: 45px;
}

p + h3,
p + h2 {
    margin-top: 60px;
}

.column h2 {
    line-height: 1.6;
}

table + p {
    margin-top: 45px
}

/*--------------------------------------------------------------
# Form Elements
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    background-color: #ffffff;
    padding: 0 10px;
    width: 100%;
    height: 45px;
    line-height: 43px;
    color: #999;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    border-radius: 0;
    font-size: 14px;
    font-family: 'ApercuPro', sans-serif;
    font-weight: normal;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    outline: none; /*don't remove this please*/
    border: 1px solid #e9e9e9;
}

input[type="submit"] {
    background-color: #333333;
    padding: 10px 25px;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    width: auto;
    font-size: 14px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    font-family: 'ApercuPro', sans-serif;
    font-weight: normal;
}

textarea {
    background-color: #ffffff;
    padding: 10px 10px;
    width: 100%;
    color: #999;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    border-radius: 0;
    font-size: 14px;
    font-family: 'ApercuPro', sans-serif;
    font-weight: normal;
}

/*--------------------------------------------------------------
# Grid
--------------------------------------------------------------*/
.column,
.columns {
    width: 100%;
    float: left;
    padding-left: 35px;
    padding-right: 35px;
}

@media (max-width: 1025px) {
    .column .column {
        padding-left: 10px;
        padding-right: 10px;
    }

    .large-6.column + .large-6.column {
        margin-top: 90px;
    }
}

/*--------------------------------------------------------------
# Grid
--------------------------------------------------------------*/
.small-1 {
    width: 8.33333%;
}

.small-2 {
    width: 16.66667%;
}

.small-3 {
    width: 25%;
}

.small-4 {
    width: 33.33333%;
}

.small-5 {
    width: 41.66667%;
}

.small-6 {
    width: 50%;
}

.small-7 {
    width: 58.33333%;
}

.small-8 {
    width: 66.66667%;
}

.small-9 {
    width: 75%;
}

.small-10 {
    width: 83.33333%;
}

.small-11 {
    width: 91.66667%;
}

.small-12 {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .medium-1 {
        width: 8.33333%;
    }

    .medium-2 {
        width: 16.66667%;
    }

    .medium-3 {
        width: 25%;
    }

    .medium-4 {
        width: 33.33333%;
    }

    .medium-5 {
        width: 41.66667%;
    }

    .medium-6 {
        width: 50%;
    }

    .medium-7 {
        width: 58.33333%;
    }

    .medium-8 {
        width: 66.66667%;
    }

    .medium-9 {
        width: 75%;
    }

    .medium-10 {
        width: 83.33333%;
    }

    .medium-11 {
        width: 91.66667%;
    }

    .medium-12 {
        width: 100%;
    }
}

@media screen and (min-width: 1025px) {
    .large-1 {
        width: 8.33333%;
    }

    .large-2 {
        width: 16.66667%;
    }

    .large-3 {
        width: 25%;
    }

    .large-4 {
        width: 33.33333%;
    }

    .large-5 {
        width: 41.66667%;
    }

    .large-6 {
        width: 50%;
    }

    .large-7 {
        width: 58.33333%;
    }

    .large-8 {
        width: 66.66667%;
    }

    .large-9 {
        width: 75%;
    }

    .large-10 {
        width: 83.33333%;
    }

    .large-11 {
        width: 91.66667%;
    }

    .large-12 {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Global Classes
--------------------------------------------------------------*/
.padding-medium {
    padding-top: 45px;
    padding-bottom: 45px;
}

.padding-large {
    padding-top: 90px;
    padding-bottom: 90px;
}

.padding-xtra-large {
    padding-top: 120px;
    padding-bottom: 120px;
}

.padding-bottom-medium {
    padding-bottom: 45px;
}

.padding-bottom-large {
    padding-bottom: 90px;
}

.padding-bottom-xtra-large {
    padding-bottom: 120px;
}

.padding-top-medium {
    padding-top: 45px;
}

.padding-top-large {
    padding-top: 90px;
}

.padding-top-xtra-large {
    padding-top: 120px;
}

.aligncenter {
    margin: 0 auto;
    display: block;
}

/*--------------------------------------------------------------
# Alignment
--------------------------------------------------------------*/
.valign {
    position: absolute;
    z-index: 99;
    text-align: center;
    top: 50%;
    left: 50%;
    right: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    padding: 0 25px;
}

/*--------------------------------------------------------------
# Page wrappers/Containers
--------------------------------------------------------------*/
.wrapper {
    max-width: 1425px;
    width: 100%;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
}

/* Lesson Resources Page - More constrained layout like story pages */
.lesson-resources-page .wrapper {
    max-width: 800px;
    padding-left: 25px;
    padding-right: 25px;
}

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

@media screen and (max-width: 768px) {
    .wrapper {
        padding-left: 35px;
        padding-right: 35px;
    }
    
    /* Lesson Resources Page - Mobile adjustments */
    .lesson-resources-page .wrapper {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

}

.narrow-wrapper {
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
}

.narrow-wrapper:after {
    content: "";
    display: table;
    clear: both;
}

@media screen and (max-width: 768px) {
    .narrow-wrapper {
        padding-left: 35px;
        padding-right: 35px;
    }
}

/*--------------------------------------------------------------
# Page preloader
--------------------------------------------------------------*/
.page-loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999 !important;
    background: #fff;
    background-position: 0 0;
    background-repeat: repeat;

}

.loaded .page-loader {
    animation-delay: 0.1s;
    animation: animLoadedLogo 0.5s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

.page-loading-center {
    width: 100%;
    height: 100%;
    position: relative;
}

.page-loading-center-absolute {
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    height: 50px;
    width: 80px;
    margin-top: -25px;
    margin-left: -40px;
    opacity: 1;
}

.loaded .page-loading-center-absolute {
    transform-origin: 50% 0;
    animation: animLoadedLogo 1s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

.page-loading-center-absolute img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes animLoadedLogo {
    0{
        transform: scale(1);
        opacity: 0.8;
    }
    50%{
       transform: scale(1.05);
       opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 0.8;
    }
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#site-header {
    background: url(images/bee-trail.svg) no-repeat rgba(250, 224, 31, 1);
    background-size: 20%;
    background-position: top left;
    height: 90px;
    width: 100%;
}

#site-header:after {
    content: '';
    display: table;
    clear: both;
}

/*--------------------------------------------------------------
# Logo
--------------------------------------------------------------*/
#logo {
    width: 20%;
    float: left;
    height: 90px;
    padding-left: 35px;
}

#logo a {
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 90px;
    width: 1%;
}

#logo img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 180px;
}

#top-navigation .nav-login-link {
    display: inline-block;
    text-align: right;
    background-color: rgba(255, 255, 255, 0.1);
}

#top-navigation {
    background-color: #2b2319;
    height: 40px;
    text-align: right;
    line-height: 40px;
}

#top-navigation ul {
    text-align: right;
    display: inline-block;
    margin: 0;
    padding: 0;
}

#top-navigation ul > li {
    display: inline-block;
}

#top-navigation ul > li a,
#top-navigation a {
    display: inline-block;
    line-height: 40px;
    color: #fff;
    padding: 0 15px;
    font-size: 13px;
}

/*--------------------------------------------------------------
# Navigation General
--------------------------------------------------------------*/
.main-navigation .navigation {
    width: 60%;
    float: left;
}

.main-navigation .navigation ul {
    padding: 0;
    margin: 0;
    text-align: center;
}

.main-navigation .navigation ul > li {
    display: inline-block;
    margin: 0 12px;
    color: #2b2319;
    padding: 31px 0;
    list-style: none;
    font-family: 'Roboto-Regular', sans-serif;
    opacity: 0.8;
    position: relative;
}

.main-navigation .navigation ul > li.social {
    margin: 0 1%;
}

.main-navigation .navigation ul > li > a {
    display: inline-block;
}

.main-navigation .navigation li[class*="nav-icon-"]:before {
    content: '';
    display: block;
    height: 27px;
    width: 23px;
    background-repeat: no-repeat;
    background-position: center;
    float: left;
    margin-right: 16px;
    -webkit-transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
    display: none;
}

.main-navigation .navigation li.nav-icon-home:before {
    background-image: url(images/nav-icon-home.svg);
}

.main-navigation .navigation li.nav-icon-story:before {
    background-image: url(images/nav-icon-stories.svg);
}

.main-navigation .navigation li.nav-icon-contact:before {
    background-image: url(images/nav-icon-contact.svg);
}

.main-navigation .navigation li.nav-icon-who:before {
    background-image: url(images/nav-icon-who-are-we.svg);
}

.main-navigation .navigation li.nav-icon-workshops:before {
    background-image: url(images/icon-workshops.svg);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.home #site-header {
    height: auto;
    padding-top: 50px;
    background-size: 25%;
}

.home #logo {
    float: none;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto;
    background-color: #fff;
    background-size: 140px auto;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 0;
}

.home .main-navigation .navigation {
    width: 100%;
    width: 60%;
    margin-left: 20%;
}

.home .main-navigation .navigation ul {
    text-align: center;
}

.home .main-navigation .navigation ul li {
    padding: 50px 0;
}

.home .main-navigation .navigation li[class*="nav-icon-"]:before {
    float: none;
    margin: 0 auto 15px;
    height: 34px;
    width: 34px;
    display: none;
}

.home .main-navigation .navigation li[class*="nav-icon-"]:hover:before {
    -webkit-transform: translateY(-3px) scale(1.1);
    -moz-transform: translateY(-3px) scale(1.1);
    -o-transform: translateY(-3px) scale(1.1);
    -ms-transform: translateY(-3px) scale(1.1);
    transform: translateY(-3px) scale(1.1);
    -webkit-transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
}

.main-navigation .navigation ul > li:hover {
    opacity: 1;
}

.home .main-navigation .navigation li:hover > a:after {
    bottom: 40px;
    opacity: 1;
}

.home .main-navigation .navigation li a:after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    bottom: 37px;
    height: 2px;
    width: 100%;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    opacity: 0;
    -webkit-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    background-color: #2b2319;
}

.navigation-cta {
	float: right;
	width: 20%;
	padding-right: 35px;
}

.navigation-cta .button {
	padding: 0.7rem 1rem;
    font-size: 1rem;
    display: inline-block;
    position: relative;
    background-color: rgba(255, 255, 255, 0.3);
    margin-top: 25px;
    float: right;
}

@media screen and (max-width: 1024px) {
    .navigation-cta .button {
        display: none;
    }
}

.home .navigation-cta .button {
	margin-top: 43px
}

.navigation-cta .button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-transition: background 0.25s ease-in-out;
    transition: background 0.25s ease-in-out;
}

.navigation-cta .button:before {
	display: none;
}

.home h1 {
	font-size: 36px;
}

@media screen and (max-width: 1024px) {
    .home #site-header {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .home .navigation-cta .button {
    	display: none;
    }
}

/*--------------------------------------------------------------
# nav-icon menu
--------------------------------------------------------------*/
.nav-icon {
    overflow: visible;
    padding: 38px 0 38px;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: .15s;
    transition-property: opacity, -webkit-filter;
    transition-property: opacity, filter;
    transition-property: opacity, filter, -webkit-filter;
    text-transform: none;
    color: inherit;
    border: 0;
    background-color: transparent;
    margin-right: 25px;
    display: none;
}

.home .nav-icon {
    padding-top: 0;
}

.nav-icon:hover {
    opacity: .7;
}

.nav-icon-box {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 24px;
}

.nav-icon-inner {
    top: 50%;
    display: block;
    margin-top: -2px;
    transition-timing-function: cubic-bezier(.55, .055, .675, .19);
    transition-duration: .1s;
}

.nav-icon-inner:before {
    top: -8px;
}

.nav-icon-inner:after {
    bottom: -8px;
}

.nav-icon-inner,
.nav-icon-inner:after,
.nav-icon-inner:before {
    position: absolute;
    width: 35px;
    height: 2px;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    border-radius: 2px;
    background-color: #000;
    display: block;
    content: '';
}

.nav-icon.is-active .nav-icon-inner {
    transition-delay: .14s;
    transition-timing-function: cubic-bezier(.215, .61, .355, 1);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-icon.is-active .nav-icon-inner:before {
    top: 0;
    transition: top .1s ease, opacity .1s .14s ease;
    opacity: 0;
}

.nav-icon.is-active .nav-icon-inner:after {
    bottom: 0;
    transition: bottom .1s ease, -webkit-transform .1s .14s cubic-bezier(.215, .61, .355, 1);
    transition: bottom .1s ease, transform .1s .14s cubic-bezier(.215, .61, .355, 1);
    transition: bottom .1s ease, transform .1s .14s cubic-bezier(.215, .61, .355, 1), -webkit-transform .1s .14s cubic-bezier(.215, .61, .355, 1);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

/*--------------------------------------------------------------
# Sitewide message
--------------------------------------------------------------*/
.sitewide-message {
    background-color: #000000;
    text-align: center;
    padding: 10px 25px;
}

.sitewide-message__text {
    color: #ffffff;
    font-size: 16px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Footer subscribe
--------------------------------------------------------------*/
.footer-subscribe {
    background: url('images/pattern-repeat-@2x.png') #ffffff;
    background-size: 4px;
    padding: 55px 0;
}

.footer-subscribe:after {
    content: '';
    display: table;
    clear: both;
}

.footer-subscribe .gform_wrapper {
    padding-top: 0;
}

.footer-subscribe .gform_title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 35px;
}

.footer-subscribe .gfield {
    float: left;
    width: 50%;
    padding-left: 15px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.footer-subscribe .gform_body {
    width: 70%;
    float: left;
}

.footer-subscribe .gform_footer {
    width: 30%;
    float: right;
    padding-left: 15px;
}

.footer-subscribe .validation_error {
    display: none;
}

.footer-subscribe .validation_message {
    font-size: 14px;
}

.footer-subscribe input[type='text'],
.footer-subscribe input[type='email'] {
    background-color: #fcf1a2;
    border: 1px solid rgb(250, 224, 31);
    color: #000000;
    border-radius: 4px;
    height: auto;
    line-height: 1;
    padding: 12px 10px;
}

.footer-subscribe input[type='submit'] {
    background-color: rgb(250, 224, 31);
    border: 1px solid rgb(250, 224, 31);
    color: #000000;
    border-radius: 4px;
    height: auto;
    line-height: 1;
    width: 100%;
    padding: 14px 10px 13px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-subscribe input[type='submit']:hover {
    background-color: #000000;
    border-color: #000000;
    color: rgb(250, 224, 31);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-subscribe input[type='submit']:focus,
.footer-subscribe input[type='submit']:active {
    border: 1px solid rgb(250, 224, 31);
}

.footer-subscribe input::-webkit-input-placeholder {
  color: #000000;
}

.footer-subscribe input::-moz-placeholder {
  color: #000000;
}

.footer-subscribe input:-ms-input-placeholder {
  color: #000000;
}

.footer-subscribe input:-moz-placeholder {
  color: #000000;
}

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

    .footer-subscribe .gform_body {
        width: 100%;
        float: none;
        padding: 0;
    }

    .footer-subscribe .gform_footer {
        width: 100%;
        float: none;
        padding: 0;
    }

    .footer-subscribe .gfield {
        width: 100%;
        float: none;
        padding-left: 0;
        margin-bottom: 15px;
    }
}

/*--------------------------------------------------------------
# Footer Main
--------------------------------------------------------------*/
#site-footer {
    clear: both;
    position: relative;
    text-align: center;
    padding: 0;
    background-color: rgb(250, 224, 31);
}

#site-footer .footer-left {
    width: 40%;
    float: left;
    text-align: right;
    padding: 27px 0;
    line-height: 1;
}

#site-footer .footer-left p {
    font-size: 12px;
    line-height: 1;
}

#site-footer .footer-logo {
    width: 20%;
    text-align: center;
    float: left
}

#site-footer .footer-logo img {
    max-width: 65px;
    margin: 0 auto;
}

#site-footer .footer-right {
    width: 100%;
    float: left;
    text-align: center;
    padding: 27px 0;
}

#site-footer .footer-right ul {
    margin: 0;
    padding: 0;
    line-height: 1;
}

#site-footer .footer-right ul li {
    display: inline-block;
    font-size: 12px;
    margin: 0 6px;
    line-height: 1;
    padding: 0;
    list-style: none;
}

#site-footer .footer-right ul li:last-child {
    margin-right: 0;
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
.home {
    background-image: url(images/flying-bee.svg);
    background-repeat: no-repeat;
    background-size: 343px;
    background-position: 0 500px;
}

/*--------------------------------------------------------------
# Story Page /Homepage
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Story Grid Item
--------------------------------------------------------------*/
.story-item {
    padding-bottom: 90px;
}

.story-item-inner {
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    display: block;
}

.story-item-title {
    padding-top: 2rem;
    text-align: center;
}

.story-item__image {
    border-radius: 50%;
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.story-item__link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 40;
}

.story-item-inner:hover .story-item__content {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
    -webkit-transition: opacity 0.4s ease-in-out;
}

.story-item__content {
    opacity: 0;
    border-radius: 50%;
    background-color: rgba(250, 224, 31, 1);
    position: absolute;
    z-index: 10;
    padding: 0 20px;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    color: #fff;
    transition: opacity 0.4s ease-in-out;
    -webkit-transition: opacity 0.4s ease-in-out;
}

.is-coming-soon .story-item__content {
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.story-item__headline {
    color: #231F20;
    font-size: 20px;
    line-height: 1.4;
    position: relative;
}

.story-item__free {
    position: absolute;
    right: -15px;
    top: 0;
    z-index: 50;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    color: #ffffff;
    line-height: 1.2;
    background-color: #f37052;
    text-align: center;
    padding: 25px 10px;
}

.is-coming-soon .story-item__headline {
    color: white;
}

.story-item__headline:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    background-color: #2b2319;
    right: 0;
    width: 90px;
    margin: 0 auto;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.is-coming-soon .story-item__headline:after {
    display: none;
}

.story-item-inner:hover .story-item__headline:after {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
}

@media screen and (max-width: 768px) {
    .story-item {
        padding-bottom: 45px;
    }

    .story-item__free {
        width: 70px;
        height: 70px;
        font-size: 13px;
        right: -5px;
        padding: 20px 5px;
    }
}

/*--------------------------------------------------------------
# Story Single
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Story Single Hero
--------------------------------------------------------------*/
.story-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.story__headline {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 90px 25px;
    font-weight: bold;
    line-height: 1.4;
}

.story__subheadline + .story__headline  {
	padding-top: 0;
}

.story__subheadline {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 25px 90px;
    font-size: 16px;
}

.story__description {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 25px 90px;
}

@media screen and (max-width: 768px) {
    .story__headline {
        padding: 45px 25px;
    }
}

/*--------------------------------------------------------------
# Single Story Intro
--------------------------------------------------------------*/
.story-intro {
    max-width: 750px;
    padding-left: 25px;
    padding-right: 25px;
    margin: 0 auto;
    text-align: center;
}

.story-intro__headline {
    padding-top: 45px;
    padding-bottom: 45px;
}

.story-intro__image {
    margin: 0 auto;
    width: 150px;
    position: relative;
}

.story-intro__image img {
    border-radius: 50%;
    width: 100%;
    height: auto;
    display: block;
}

.story-intro__free {
    position: absolute;
    right: -25px;
    top: -15px;
    z-index: 50;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #ffffff;
    line-height: 1.2;
    background-color: #f37052;
    text-align: center;
    font-size: 13px;
    padding: 20px 5px;
}

/*--------------------------------------------------------------
# Single Story Assets
--------------------------------------------------------------*/
.story-asset-links {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 25px 90px;
    text-align: center;
}

.story-asset-link {
    display: inline-block;
    width: 24%;
    vertical-align: top;
}

.story-asset-link svg {
    cursor: pointer;
}

.story-asset-link h4 {
    margin-top: 25px;
    font-size: 15px;
}

.gallery-item {
    display: none;
}

svg path.yellow-hover {
    fill: #fff;
    transition: 0.2s all ease-in-out;
}

svg:hover path.yellow-hover {
    fill: #fae01f;
    transition: 0.2s all ease-in-out;
}

@media screen and (max-width: 768px) {
    .story-asset-link {
        width: 100%;
        padding: 0 25px 35px;
        display: block;
    }

    .story-asset-link:last-child {
        padding-bottom: 0;
    }
}

/*--------------------------------------------------------------
# Single Story Content
--------------------------------------------------------------*/
.story-content {
    max-width: 750px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 0;
    margin: 0 auto;
    text-align: center;
}

/*--------------------------------------------------------------
# About Item
--------------------------------------------------------------*/
.home .about-items {
    border-top: 1px solid #E5E5E5;
    padding-top: 90px;
}

.about-item {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 0;
}

.home .about-item {
    max-width: 1200px;
}

.about-item:first-child {
    padding-top: 0;
}

.about-item .about-item__image {
    float: right;
}

.about-item:nth-of-type(2n) .about-item__image {
    float: left;
}

.about-item:after {
    content: '';
    clear: both;
    display: table;
}

.about-item__image img {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto 45px;
}

@media screen and (max-width: 768px) {
    .home .about-items {
        padding-top: 45px;
    }

    .about-item {
        padding: 45px 0;
    }

    .about-item .column {
        padding: 0;
    }

    .about-item:nth-of-type(2n) .about-item__content {
        float: none;
    }

    .about-item__image img {
        padding-top: 45px;
    }
}

/*--------------------------------------------------------------
# Form for subscription
--------------------------------------------------------------*/
.rcp_login_link {
    margin-bottom: 45px;
}

.rcp_login_link a,
p a {
    border-bottom: 1px solid #fae01f;
    padding-bottom: 5px;
}

.rcp_header {
    padding: 0 0 45px !important;
}

#rcp_registration_form ul {
    padding: 0;
}

#rcp_registration_form li {
    margin: 20px 0;
    border: 1px solid #ddd;
    list-style: none;
    padding: 0;
}

#rcp_registration_form li input {
    visibility: hidden;
    height: 0;
    width: 0;
    display: none;
}

#rcp_registration_form li label {
    display: block;
    padding: 20px;
    cursor: pointer;
}

#rcp_registration_form #rcp_subscription_levels input:checked + label {
    background-color: rgba(250, 224, 31, 0.5);
}

.rcp_registration_total table {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.rcp_registration_total th {
    padding: 20px 0;
}

.rcp_registration_total th:last-child,
.rcp_registration_total td:last-child {
    text-align: right;
}

.rcp_registration_total td {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

/*
.rcp-total th{
	padding-bottom: 0;
}
*/
.rcp-recurring-total th {
    padding-top: 0;
}

.rcp_header {
    margin-top: 0;
}

.rcp_user_fieldset + .rcp_subscription_fieldset {
    margin-top: 45px;
    padding-top: 45px;
    border-top: 1px dashed #ddd;
}

/*--------------------------------------------------------------
# content tables
--------------------------------------------------------------*/
.column table {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #ddd;
    margin: 20px 0;
}

.column th {
    padding: 20px 0;
}

.column th:last-child,
.column td:last-child {
    text-align: right;
}

.column td {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

/*--------------------------------------------------------------
# Gravity form
--------------------------------------------------------------*/
.gform_wrapper {
    max-width: 550px;
    margin: 0 auto;
    padding-top: 45px;
}

.gfield_label {
    display: none;
}

.gform_fields {
    margin: 0;
    padding: 0;
}

.gfield {
    list-style: none;
    margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.button {
    border: 1px solid #2b2319;
    border-radius: 5rem;
    padding: 0.7rem 2rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.button:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgb(250, 224, 31);
    border-radius: 5rem;
    z-index: -1;
    transform: translate(3px, 3px);
    transition: transform 400ms;
}

.button:hover:before {
    transform: translate(0, 0);
}

/*--------------------------------------------------------------
# CTA Wrapper
--------------------------------------------------------------*/

.cta-wrapper {
    padding: 40px 25px 100px;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .page-template-page-two-column .wrapper {
        max-width: 750px;
    }

    /*--------------------------------------------------------------
    # Navigation
    --------------------------------------------------------------*/
    .main-navigation .navigation {
        background: rgba(250, 224, 31, 0.9);
        position: fixed;
        top: 0;
        display: table;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 9998;
        opacity: 0;
        overflow: auto;
        visibility: hidden;
    }

    .main-navigation .navigation.is-active {
        opacity: 1;
        visibility: visible;
        height: 100vh;
        width: 100%;
        margin: 0;
        -webkit-transition: opacity .4s, visibility .2s;
        transition: opacity .4s, visibility .2s;
    }

    .main-navigation .navigation-wrapper {
        display: table-cell;
        vertical-align: middle;
    }

    .main-navigation .navigation ul {
        text-align: left;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .main-navigation .navigation ul li {
        display: block;
        padding: 0;
    }

    .main-navigation .navigation ul li,
    .main-navigation .navigation a {
        opacity: 0;
        transform: translateY(10%);
        -webkit-transition: opacity 0.2s, visibility 0.3s, transform 0.3s;
        transition: opacity 0.2s, visibility 0.3s, transform 0.3s;
        visibility: hidden;
    }

    .main-navigation .navigation.is-active ul li,
    .main-navigation .navigation.is-active a {
        opacity: 1;
        visibility: visible;
        transform: translateY(0%);
        -webkit-transition-delay: 0.1s;
        transition-delay: 0.1s;
        padding: 0;
    }

    .main-navigation .navigation.is-active ul li {
        padding: 10px 0;
    }

    .main-navigation .navigation ul li a,
    .main-navigation .navigation a {
        background-color: transparent !important;
        color: #2b2319;
        -webkit-transition: color 0.3s ease-in-out;
        transition: opacity 0.3s ease-in-out;
        padding: 20px;
    }

    .home .main-navigation .navigation li[class*="nav-icon-"]:before {
        margin: 0 auto;
    }

    /*--------------------------------------------------------------
    # Nav icon
    --------------------------------------------------------------*/
    .nav-icon {
        display: block;
        float: right;
    }

    .nav-icon.is-active {
        position: fixed;
        z-index: 9999;
        top: 35px;
        right: 0;
    }

    #logo {
        width: 250px;
    }
}
.story-filter-wrapper {
    padding: 0 25px 90px;
}

.story-filter-label {
    display: block;
    text-align: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: bold;
}


.story-filter {
    text-align: center;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.story-filter__link {
    list-style: none;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 8px 16px;
    margin: 0 8px;
    line-height: 1.4;
    cursor: pointer;
    flex: none;
}

@media screen and (max-width: 1024px) {
    .story-filter__link {
        border-radius: 20px;
        padding: 8px;
        margin: 0 4px 16px;
        font-size: 14px;
        flex: 1 0 40%;
        max-width: 180px;
    }
}

.story-filter__link.active {
    background-color: #FADF20;
}

.story__loading {
    text-align: center;
    font-size: 32px;
    padding-bottom: 90px;
    display: none;
}

/*--------------------------------------------------------------
# Lesson Resources Page Layout
--------------------------------------------------------------*/

/* Lesson Banner */
.lesson-resources-page .lesson-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: #FADF20;
    text-align: center;
}

.lesson-resources-page .banner-image {
    width: 100%;
    background-color: #FFE948;
}

.lesson-resources-page .banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Skip to Navigation */
.lesson-resources-page .skip-to-nav {
    padding: 88px 0 80px;
}

.lesson-resources-page .skip-to-nav .wrapper {
    background:
        radial-gradient(circle at 3px 3px, #FFE948 1.5px, transparent 1.5px),
        #FFFFFF;
    background-size: 6px 6px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .lesson-resources-page .skip-to-nav {
        padding: 0 0 40px;
    }
    
    .lesson-resources-page .skip-to-nav .wrapper {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.lesson-resources-page .skip-to-label {
    font-size: 18px;
    font-weight: bold;
    color: #2b2319;
}

.lesson-resources-page .skip-to-buttons {
    display: flex;
    gap: 10px;
}

.lesson-resources-page .skip-to-btn {
    background-color: #ffffff;
    border: 2px solid #2b2319;
    color: #2b2319;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lesson-resources-page .skip-to-btn:hover,
.lesson-resources-page .skip-to-btn.active {
    background-color: #2b2319;
    color: #ffffff;
}

/* Introduction Text */
.lesson-resources-page .lesson-intro-text {
    padding: 0 0 80px;
    text-align: left;
}

.lesson-resources-page .lesson-intro-text .wrapper {
    background-color: #FFE948;
    padding: 30px 40px;
}

.lesson-resources-page .lesson-intro-text p {
    font-size: 18px;
    font-weight: normal;
    color: #2b2319;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .lesson-resources-page .lesson-intro-text {
        padding-left: 25px;
        padding-right: 25px;
        padding-bottom: 40px;
    }
    
    .lesson-resources-page .lesson-intro-text .wrapper {
        padding: 20px;
    }
}

/* Year Content */
.lesson-resources-page .year-content {
    padding: 0 0 60px;
}

.lesson-resources-page .year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    background-image: url('images/doodle-line.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100%;
}

.lesson-resources-page .year-links-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
}

.lesson-resources-page .year-title {
    font-size: 48px;
    font-weight: bold;
    color: #2b2319;
    margin: 0;
}

.lesson-resources-page .year-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lesson-resources-page .year-link {
    color: #2b2319;
    text-decoration: underline;
    font-weight: normal;
    font-size: 16px;
    transition: color 0.2s ease;
}

.lesson-resources-page .year-link:hover {
    color: #000;
    text-decoration: underline;
    opacity: 0.8;
}

.lesson-resources-page .year-separator {
    color: #2b2319;
    font-weight: bold;
}

/* Lesson Blocks */
.lesson-resources-page .lesson-block {
    margin-bottom: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 64px 0;
    box-shadow: none;
    position: relative;
}

.lesson-resources-page .lesson-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-image: url('images/doodle-line.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    opacity: 0.2;
}

.lesson-resources-page .lesson-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lesson-resources-page .lesson-block:last-child::after {
    display: none;
}

.lesson-resources-page .lesson-content {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}

.lesson-resources-page .lesson-thumbnail-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lesson-resources-page .lesson-image {
    width: 322px;
    height: 322px;
    aspect-ratio: 1/1;
    background-color: #FAE01F;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #000000;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lesson-resources-page .lesson-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.lesson-resources-page .lesson-details {
    flex: 1;
}

.lesson-resources-page .lesson-title {
    color: #000;
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
    margin: 0 0 12px 0;
}

.lesson-resources-page .lesson-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    margin-bottom: 16px;
}

.lesson-resources-page .file-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.lesson-resources-page .lesson-actions {
    display: flex;
    align-items: center;
}

.lesson-resources-page .action-link {
    color: #2b2319;
    text-decoration: underline;
    font-size: 14px;
    font-weight: normal;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lesson-resources-page .action-link:not(:last-child) {
    margin-right: 8px;
}

.lesson-resources-page .action-link.disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.lesson-resources-page .download-icon {
    width: 16px;
    height: 16px;
}

.lesson-resources-page .download-icon:not(:last-child) {
    margin-right: 16px;
}

/* Lesson Files */
.lesson-resources-page .lesson-files {
    margin: 16px 0 12px 0;
    position: relative;
}

.lesson-resources-page .lesson-files::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-image: url('images/doodle-line.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    opacity: 0.2;
}

.lesson-resources-page .lesson-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: relative;
}

.lesson-resources-page .lesson-file::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-image: url('images/doodle-line.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    opacity: 0.2;
}

.lesson-resources-page .lesson-file-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lesson-resources-page .lesson-file:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lesson-resources-page .lesson-file:last-child::after {
    display: none;
}

.lesson-resources-page .file-name {
    color: #000;
    font-size: 14px;
    font-style: normal;
    line-height: 24px;
}

.lesson-resources-page .file-size {
    color: #666;
    font-size: 14px;
}

.lesson-resources-page .download-link {
    color: #2b2319;
    text-decoration: underline;
    font-size: 14px;
    font-weight: normal;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lesson-resources-page .download-link:hover {
    opacity: 0.8;
}

/* Lesson Preview */
.lesson-resources-page .lesson-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 24px;
}

.lesson-resources-page .preview-label {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.lesson-resources-page .preview-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lesson-resources-page .preview-arrows {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lesson-resources-page .prev-btn,
.lesson-resources-page .next-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    margin: 0;
    width: auto;
    height: auto;
    min-width: 24px;
    min-height: 24px;
}

.lesson-resources-page .prev-btn img,
.lesson-resources-page .next-btn img {
    height: 12.2px;
    flex-shrink: 0;
    display: block;
    filter: brightness(0);
}

.lesson-resources-page .prev-btn:hover,
.lesson-resources-page .next-btn:hover {
    opacity: 0.6;
}

.lesson-resources-page .preview-count {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .lesson-resources-page .banner-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .lesson-resources-page .skip-to-nav .wrapper {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        padding: 20px;
    }
    
    .lesson-resources-page .lesson-content {
        flex-direction: column-reverse;
    }
    
    .lesson-resources-page .lesson-thumbnail-section {
        width: 100%;
    }
    
    .lesson-resources-page .lesson-details {
        width: 100%;
        padding-left: 0;
        padding-top: 40px;
    }

    .lesson-resources-page .lesson-image {
        width: 100%;
    }   

    .lesson-resources-page .lesson-block {
        padding-top: 0;
    }

    .lesson-resources-page .lesson-content {
        gap: 24px;
    }
}
