/* Custom Styles by A Subtle Web */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;1,400;1,500&display=swap');

:root {
    --teal: #358DA5;
    --charcoal: #221F20;
    --orange: #F8901F;
    --serif: 'Libre Baskerville', serif;
    --sans-serif: 'Raleway', sans-serif;
}

html {
    font-size: 1rem;
	overflow-x: hidden;
}

body {
    font-family: var(--sans-serif);
    font-size: 1rem;
}

.home #theme-page .theme-page-wrapper .theme-content {
    padding: 0;
}

.mk-grid {
    max-width: 1190px;
}

.page-width {
    margin-left: auto;
    margin-right: auto;
    max-width: 1190px;
    width: calc( 100% - 40px );
}

.asw.custom-header a h1,
.asw.custom-header a .site-name {
    color: var(--teal);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0;
    text-transform: uppercase;
}

.asw.custom-header {
    padding: 2rem 0;
}

.asw .header-areas {
    align-items: center;
    display: grid;
    grid-column-gap: 1rem;
    grid-template-areas: 
        "logo toggle"
        "menu menu";
    grid-template-columns: 1fr auto;
}

.asw .header-areas .logo {
    grid-area: logo;
}

.asw .header-areas .menu-toggle {
    color: black;
    cursor: pointer;
    font-size: 2rem;
    grid-area: toggle;
}

.asw .header-areas .custom-menu {
    grid-area: menu;
    max-height: 0;
    overflow: hidden;
    transition: max-height 500ms ease-in-out 0s;
}

body.menu-active .asw .header-areas .custom-menu {
    max-height: 9999px;
}

body:not(.menu-active) .menu-toggle .menu-close,
body.menu-active .menu-toggle .menu-open {
    display: none;
}

.asw .custom-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.asw .custom-menu ul li {
    display: block;
    margin: 0;
}

.asw .custom-menu ul li a {
    color: black;
    display: inline-block;
    font-size: 1.125rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.asw .custom-menu ul li .sub-menu a {
    font-weight: normal;
    text-transform: none;
}

.asw .custom-menu ul li.menu-item-has-children > a:after {
    color: var(--teal);
    content: '\203A';
    display: inline-block;
    margin-left: 1rem;
    transform: rotateZ(90deg);
}

.asw .custom-menu ul li .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 500ms ease-in-out 0s;
}

.asw .custom-menu ul li.menu-item-has-children.active > a:after {
    transform: rotateZ(-90deg);
}

.asw .custom-menu ul li.active .sub-menu {
    max-height: 9999px;
}

.custom-footer {
    background-color: black;
    color: white;
    padding: 3rem 0;
}

.custom-footer .footer-logo img {
    display: block;
    margin: 0 auto;
    max-width: 80px;
}

.footer-columns {
    margin-top: 2rem;
	margin-left: 5rem;
}

.custom-footer-column {
    border-left: 2px solid var(--teal);
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.custom-footer-column .heading {
    text-transform: uppercase;
    transform: translateY(-0.3em);
}

.custom-footer-column ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.custom-footer-column ul a {
    color: white;
    display: block;
    font-size: 12px;
}

.custom-footer-column ul a:hover {
    text-decoration: underline;
}

.custom-footer-column ul li {
    margin: 0.75rem 0;
}

.custom-footer-column ul a svg {
    display: none;
}

.copyright {
    font-size: 0.75rem;
    margin: 2rem auto;
    text-align: center;
}

.home .master-holder-bg {
    background-color: white;
}

.home .master-holder h2 {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
}

.home .master-holder h2:after {
    border-bottom: 3px solid var(--teal);
    content: ' ';
    display: block;
	margin-top: 1rem;
    margin-bottom: 2rem;
	margin-left: auto;
    margin-right: auto;
    width: 185px;
}

.home .master-holder h3 {
    display: block;
    font: italic 1.125rem var(--serif);
    margin: 1rem auto;
    text-align: center;
    text-transform: none;
}

.home .has-white-color p {
    color: white;
}

.home p {
    font-weight: 500;
}

.cta-link a {
    border-bottom: 2px solid var(--orange);
    display: table;
    font-size: 0.875rem;
    font-weight: bold;padding-bottom: 3px;
    text-transform: uppercase;
}

.cta-link a:hover {
    border-color: var(--teal);
}

.has-white-color .cta-link a {
    color: white;
}

.home blockquote.wp-block-quote {
    background-color: white;
    color: var(--charcoal);
    margin: 0;
    padding: 1.5rem;
    text-align: center;
}

.home blockquote.wp-block-quote:before {
    display: none;
}

.home blockquote p {
    color: var(--charcoal);
    font: italic 1.125rem var(--serif);
    line-height: 2;
}

.poster-grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr 1fr;
    margin: 2rem 0;
    text-align: center;
}

.poster-grid .poster-image {
    background-position: center;
    background-size: cover;
    filter: sepia(0);
    height: 0;
    padding-top: 100%;
    transition: all 500ms ease-in-out 0s;
}

.poster-grid a:hover .poster-image {
    filter: sepia(0.25);
}

.poster-grid .title {
    color: var(--teal);
    margin-top: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.poster-grid a:hover .title {
    color: var(--charcoal);
}

.double-carousel {
    position: relative;
}

.double-carousel .arrow {
    height: 1.5rem;
    cursor: pointer;
    margin-top: -12px;
    position: absolute;
    top: 50%;
    width: 1.5rem;
    z-index: 2;
}

.double-carousel .arrow.slick-disabled {
    opacity: 0.5;
}

.double-carousel .arrow.next {
    right: 1rem;
}

.double-carousel .arrow.prev {
    left: 1rem;
    transform: rotate(180deg);
}

.double-carousel .arrow:hover {
    opacity: 0.75;
}

.horizontal-carousel {
    position: relative;
}

.slide-image {
    background-position: center;
    background-size: cover;
    padding-top: 66.66%;
    position: relative;
    height: 0;
    z-index: 0;
}

.slide-content {
    bottom: 1.5rem;
    color: white;
    font-weight: bold;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    z-index: 2;
}

.slide-content .heading:after {
    background-color: var(--teal);
    content: ' ';
    display: table;
    height: 2px;
    margin: 0.5rem auto 1rem auto;
    width: 50px;
}

.slide-content .title {
    font-size: 1.5rem;
    font-weight: normal;
}

.vertical-carousel.slick-slider {
    display: none;
}

.image-cta {
    text-align: center;
}

.image-cta .cta-content {
    background-color: var(--teal);
    color: white;
    padding: 1rem 0;
}

.image-cta .heading {
    font-size: 1.5rem;
    text-transform: uppercase;
}

.image-cta .heading:after {
    content: ' ';
    display: table;
    border-bottom: 2px solid var(--orange);
    margin: 0.5rem auto;
    width: 25%;
}

.image-cta .subheading {
    font-weight: bold;
    text-transform: uppercase;
}

.image-cta .blurb {
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.image-cta a {
    background-color: var(--orange);
    color: white;
    display: table;
    font-weight: bold;
    margin: 0 auto;
    padding: 0.5rem 1rem 0.35rem 1rem;
    text-transform: uppercase;
}

.image-cta a:hover {
    background-color: white;
    color: var(--orange);
}

.e2ma_signup_form {
    margin: 2rem auto;
    text-align: center;
}

.e2ma_signup_message p {
    color: black;
    font-weight: normal;
}

.e2ma_signup_form_container input {
    display: block;
    width: 100%;
}

.e2ma_signup_form_container input[type=submit] {
    background-color: var(--teal);
    border: 0;
    color: white;
    font-weight: bold;
    padding: 0.5em;
    text-transform: uppercase;
}

.e2ma_signup_form_required_footnote {
    display: none;
}

span.e2ma_signup_form_required_asterix {
    color: var(--orange);
}

.feature-cta-grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
}

.feature-cta .cell {
    background-position: center;
    background-size: cover;
    display: block;
    height: 0;
    padding-top: 66.66%;
    position: relative;
    text-align: center;
    transition: filter 250ms linear 0s;
}

/*
 * Disable hover on featured images on homepage, uncomment to add back
.feature-cta .cell:hover {
    filter: sepia(0.25);
}
*/

/* Hide heading at top of posts */
h2.blog-single-title {
    display: none;
}

/* Footer */
div.page-width.footer-columns {
	max-width: inherit;
	width: auto;
}

/* Drop caps */
.mk-dropcaps.fancy-style {
	width: 50px !important;
}

/* Footer on mobile */
@media screen and ( max-width: 768px ) {
	div.page-width.footer-columns {
		display: none;
	}
}

/* Hide category for page navigation */
.pagenav-category {
	display: none !important;
}

/* Fix news pages bottom */
[class*='news'] {
	margin-bottom: -100px;
}

/* Hide sharing icons */
.single-social-section {
	display: none;
}

.feature-cta .cell.primary .content {
    bottom: 2rem;
    position: absolute;
    width: 100%;
}

.feature-cta .cell.primary .heading {
    color: white;
    font: 500 0.85rem var(--sans-serif);
    text-transform: uppercase;
	font-weight: bold;
}

.feature-cta .cell.primary .heading:after {
    background-color: var(--teal);
    content: ' ';
    display: block;
    height: 3px;
    margin: 0.5rem auto;
    width: 50px;
}

.feature-cta .cell .label {
	color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .2rem;
}

.feature-cta .cell.secondary .label {
    bottom: 0.5rem;
    left: 1rem;
    position: absolute;
    width: calc( 100% - 2rem );
	letter-spacing: 0;
}

.feature-cta .secondary-images {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
}

.feature-cta .cta-label {
    text-align: center;
}

.feature-cta .cta-label a {
    display: inline-block;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
}

.feature-cta .cta-label a:after {
    background-color: var(--teal);
    content: ' ';
    display: block;
    height: 2px;
    margin: 0.25rem auto;
    width: 2rem;
}

.feature-cta .cta-label:hover a:after {
    background-color: var(--orange);
}

@media screen and ( min-width: 768px ) {
    
    .feature-cta .secondary-images {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .feature-cta .cell.secondary .label {
        font-size: 0.85rem;
        font-weight: bold;
    }
}

/* JON BOWERMASTER Heading */
div:nth-child(2) > p:nth-child(1) {
	font-weight: bold;
}

@media screen and ( min-width: 1080px ) {

    .asw .header-areas {
        grid-template-areas: "logo menu";
        grid-template-columns: auto 1fr;
    }

    .asw .header-areas .menu-toggle {
        display: none;
    }

    .asw .header-areas .custom-menu {
        max-height: 999px;
    }
    
    .asw .custom-menu ul {
        display: flex;
        float: right;
    }
    
    .asw .custom-menu>ul>li {
        position: relative;
        z-index: 10;
    }
    
    .asw .custom-menu ul li .sub-menu {
        position: absolute;
    }
    
    .asw .custom-menu ul li a {
        font-size: 0.75rem;
        margin: 0;
    }
    
    .asw .custom-menu ul>li:not(:last-of-type) {
        margin-right: 1.5rem;
    }
    
    .asw .custom-menu ul li.menu-item-has-children>a:after {
        margin-left: 5px;
    }

    .asw .custom-menu ul li.menu-item-has-children:hover .sub-menu {
        max-height: 9999px;
    }
    
    .asw .custom-menu ul li {
        overflow: visible;
        position: relative;
        z-index: 12;
    }

    .asw .custom-menu ul li .sub-menu {
        display: block;
    }
    
    .asw .header-areas .custom-menu {
        overflow: visible;
    }
    
    .asw .custom-menu ul li .sub-menu a {
        font-size: 14px;
        white-space: nowrap;
    }

    .asw .custom-menu ul li a:hover {
        color: var(--teal);
    }
    
    .asw .custom-menu ul.sub-menu {
        background-color: white;
        transition: none;
    }
    
    .asw .custom-menu ul.sub-menu li {
        display: block;
        margin: 0;
        padding: 5px 15px;
    }
    
    .asw .custom-menu ul.sub-menu li:first-of-type {
        border-top: 2px solid var(--teal);
        padding-top: 10px;
    }

    .footer-columns {
        display: grid;
        grid-auto-flow: column;
    }

    .custom-footer-column {
        margin-bottom: 0;
    }

    .home .master-holder h2 {
        font-size: 2rem;
		letter-spacing: 0.25rem;
		font-weight: 500;
    }
    
    .home .master-holder h2:after {
		margin-top: 1rem;
	    margin-bottom: 2rem;
		margin-left: auto;
	    margin-right: auto;
    }

    .home .master-holder h3 {
        font-size: 1.5rem;
        margin: 1.5rem auto;
    }

    .home .wp-block-group:where(.has-background) {
        padding: 4rem;
    }

    .home blockquote.wp-block-quote {
        padding: 4rem;
    }

    .home blockquote p {
        font-size: 1.5rem;
    }

    .poster-grid {
        grid-gap: 2rem;
        grid-template-columns: repeat(4, 1fr);
    }

    .slide-content {
        bottom: 50px;
    }

    .slide-content .title {
        font-size: 2rem;
    }

    .double-carousel {
        height: 0;
        overflow: hidden;
        padding-top: calc((100% - 330px) * .666);
        position: relative;
    }

    .horizontal-carousel.slick-slider {
        left: 0;
        position: absolute;
        top: 0;
        width: calc( 100% - 330px );
    }

    .vertical-carousel.slick-slider {
        background: transparent;
        display: block;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        width: 290px;
    }

    .double-carousel .vertical-carousel .arrow {
        margin-top: 0;
        top: auto;
    }
    
    .double-carousel .vertical-carousel .arrow.next {
        bottom: 5px;
        left:  calc( 50% - 12px );
        transform: rotateZ(90deg);
    }
    
    .double-carousel .vertical-carousel .arrow.prev {
        left: calc( 50% - 12px );
        top: 5px;
        transform: rotateZ(-90deg);
    }

    .double-carousel .vertical-carousel .slick-slide {
        margin: 10px 0;
    }

    .vertical-carousel .slide-content {
        bottom: 1.5rem;
    }
    
    .vertical-carousel .title {
        font-size: 1rem;
        font-weight: bold;
    }

    .image-cta {
        position: relative;
    }
    
    .image-cta .cta-content {
        background-color: transparent;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
    }
    
    .image-cta .heading {
        font-size: 2rem;
    }
    
    .image-cta .heading:after {
        margin: 1rem auto;
    }
    
    .image-cta .subheading {
        font-size: 1.25rem;
        line-height: 1.5;
        margin: 0 auto;
    }
    
    .image-cta .blurb {
        font-size: 1rem;
        margin: 1rem 0;
    }

    .e2ma_signup_form {
        margin: 4rem auto;
        max-width: 640px;
    }
    
    .e2ma_signup_form form {
        align-items: flex-end;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .e2ma_signup_form form input {
        display: flex;
        height: 2.5rem;
        margin-bottom: 0;
    }
    
    .e2ma_signup_form_container input[type=submit] {
        padding: 0 2rem;
    }
    
    .e2ma_signup_form_container input[type=submit]:hover {
        background-color: var(--orange);
    }
    
    .e2ma_signup_form_row {
        margin-right: 0.5rem;
    }

    .feature-cta-grid {
        align-items: start;
        grid-gap: 0;
        grid-column-gap: 2rem;
        grid-template-areas: "primary secondary";
        grid-template-columns: 1fr 20%;
    }
    
    .feature-cta .secondary-images {
        grid-area: secondary;
        grid-gap: 2rem;
        grid-template-columns: 1fr;
    }
    
    .feature-cta .cta-label {
        align-self: end;
        grid-area: secondary;
    }
    
    .feature-cta .cell.primary {
        grid-area: primary;
    }
    
    .feature-cta .cta-label a {
        font-size: 0.75rem;
    }

    .asw .custom-menu ul li a {
        font-weight: 500;
    }

}

@media screen and ( min-width: 1190px ) {

    .home .master-holder h3 {
        font-size: 2rem;
        margin: 3.75rem auto;
    }
    
    .homepage-bio p {
        font-size: 18px;
    }

    .poster-grid {
        grid-gap: 4rem;
        margin: 4rem auto;
    }

    .image-cta .heading:after,
    .image-cta .blurb {
        margin: 2rem auto;
    }

    .home .wp-block-group:where(.has-background) {
        padding: 6rem 3rem;
    }

    .home .wp-block-group:where(.has-background) .wp-block-column {
        padding: 0 2rem;
    }

}