/*
 Theme Name:   Ridgeview Memorial Gardens
 Theme URI:    https://generatepress.com
 Description:  Child theme of GeneratePress
 Author:       Swamp-Side Studio
 Author URI:   https://swampsidestudio.com
 Template:     generatepress
 Version:      1.0
*/


/*
 * Layout
 */
.wp-block-cover {
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .reverse-on-mobile {
        flex-direction: column-reverse;
    }
}
.site-content .wp-block-image img {
    margin-bottom: 20px;
}
.no-bottom-margin {
    margin-bottom: 0;
}
.site-main .group-map .wp-block-group__inner-container {
    max-width: 100%;
    padding: 0;
}


/*
 * Typography
 */
.site-content a {
    text-decoration: none;
}
.site-content a:hover,
.site-content a:active,
.site-content a:focus {
    text-decoration: underline;
}
h1 {
    overflow: hidden;
    text-align: center;
}
h2.h2-w-hr {
    margin-top: 40px;
    margin-bottom: 40px;
}
h2.h2-w-hr:before,
h2.h2-w-hr:after {
    background-color: #c5cec2;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 10%;
}
h2.h2-w-hr:before {
    right: 0.6em;
}
h2.h2-w-hr:after {
    left: 0.6em;
}
.entry-content .wp-block-list li {
    padding-bottom: 16px;
}


/*
 * Header
 */
.site-logo img {
    width: 80px;
    height: 80px;
}
@media (max-width: 768px) {
    .site-logo img {
        width: 40px;
        height: 40px;
    }
    .site-branding-container .site-logo {
        margin-right: 0.5em;
    }
    .main-title {
        font-size: 22px;
    }

}


/*
 * Footer
 */
.footer-widgets a {
    text-decoration: none;
}
.footer-widgets a:hover,
.footer-widgets a:focus,
.footer-widgets a:active {
    text-decoration: underline;
}
.footer-widgets .wp-block-image img {
    width: 80px;
    height: 80px;
}


/*
 * Ninja Forms
 */
.nf-form-fields-required {
    font-size: 70%;
}
input[type=submit] {
    border-radius: 6px;
}


/*
 * Coming Soon Page
 */
.page-template-wpmm-page-template .nf-form-cont {
    margin: 0 auto;
}
@media (min-width: 769px) {
    .page-template-wpmm-page-template .nf-form-cont {
        max-width: 40%;
    }
}