/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* GeneratePress Site CSS */ 

/* Typography */

.single-post .entry-content *+h2 {
    margin-top: 48px;
}

h2.large-heading {
    font-size: calc(28px + (64 - 28)*(100vw - 400px)/(1600 - 400));
    line-height: 1.1em;
}

.single-post .entry-header {
    text-align: center;
}

::selection {
    background: #1dd19b;
}

/*-- Buttons and input elements --*/

a.button,
.wp-block-button__link {
    -webkit-box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    -webkit-transition: all .15s ease;
    transition: all .15s ease;
    border-radius: 4px !important;
}

a.button:hover,
a.wp-block-button__link:hover {
    -webkit-box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

/* Block Styling */

.bg-grey {
    background-color: #f2f3f4;
}

.column-banner {
    padding: 64px 56px 64px 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.center-vertical {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

hr {
    height: 3px;
}

@media (min-width: 769px) {
    .forty-sixty-columns .wp-block-column {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 55%;
        flex: 1 0 55%;
    }

    .forty-sixty-columns .wp-block-column:first-child {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 35%;
        flex: 1 0 35%;
    }

    .sixty-forty-columns .wp-block-column {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 35%;
        flex: 1 0 35%;
    }

    .sixty-forty-columns .wp-block-column:first-child {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 55%;
        flex: 1 0 55%;
    }
}

/*-- Headers, Page Heros and Entry Header */

.inside-header {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.header-wrap .site-header {
    border-bottom: 1px solid transparent;
}

.site-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Navigation and Links */

@media (min-width: 768px) {
    .main-navigation .menu>.menu-item>a:before,
    .main-navigation .menu>.current-menu-item>a:before,
    .loud-link a:before {
        content: "";
        position: absolute;
        display: block;
        bottom: 1em;
        width: 0%;
        height: 2px;
        background-color: currentColor;
        -webkit-transition: 0.3s width ease;
        transition: 0.3s width ease;
    }
}

.loud-link a:after {
    content: '\21e2';
    margin-left: 5px;
}

/* Custom Single Post Header */

.custom-post-header {
    text-align: center;
    padding: 4%;
    max-width: 680px !important;
    margin-right: auto;
}

.custom-post-header .entry-subtitle {
    margin-top: 1em;
}

/* WPSP related Posts */

.wpsp-related-posts {
    background-color: rgba(0,0,0,.03);
    padding: 64px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wpsp-related-posts h2 {
    text-align: center;
    margin-bottom: 1em;
}

/* Extra CSS Homepage */
.home-statement {
    margin: 50px 150px;
    font-size: 22px;
    text-align: center;
}

@media (max-width: 768px) {
.home-statement {
    margin: 0 0 1.6em 0;
    font-size: 19px;
    text-align: left;
}
}