/**
 * This file adds style to posts and pages
 */
#content article {
    margin-bottom: 0;
    padding: 25px;
}

header.entry-header {
    text-align: center;
    margin-bottom: 25px;
}

.attachment header {
    text-align: center;
}

.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin: 1.2em 0 .4em;
}

.entry-content h2 {
    font-size: 30px;
}

.entry-content h3 {
    font-size: 27px;
}

.entry-content h4 {
    font-size: 24px;
}

.entry-content h5 {
    font-size: 21px;
}

.entry-content h6 {
    font-size: 18px;
}

.entry p, .entry-content p {
    margin-bottom: 20px;
}

.entry-content a {
    color: var(--cps--link);
}

.entry-content ul {
    list-style: initial;
}

.entry-content ol {
    list-style: auto;
}

.entry-content ul, .entry-content ol {
    padding: 0 2.5em;
}

.entry-content p.wp-caption-text {
    margin-bottom: 0;
}

.entry-header .social-share {
    margin-top: 15px;
}

.page .social-share {
    justify-content: center;
    margin-top: 30px;
    padding: 15px;
}

.entry-header .bc-header {
    display: none
}

/* blockquote and pullquote */
blockquote {
    background: var(--cps--secondary);
    color: var(--cps--secondary--font);
    margin: 0 20px 30px;
    padding: 1.5em 20px;
}

.wp-block-quote {
    font-size: 15px;
}

.wp-block-quote.has-larger-font-size {
  font-size: 2.625em;
}

.wp-block-quote.has-normal-font-size {
  font-size: var(--wp--preset--font-size--normal);
}

.wp-block-quote.has-huge-font-size {
  font-size: var(--wp--preset--font-size--huge);
}

.cps-fore .entry-content blockquote {
    border-color: #222;
}

.wp-block-pullquote {
    margin: 3em auto;
    border: 1px solid;
    padding: 2em;
    font-size: 20px;
}

.wp-block-pullquote blockquote {
    margin: 0;
    text-align: center;
}

.wp-block-pullquote p, .wp-block-quote p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.wp-block-pullquote cite, .wp-block-quote cite {
    margin: 30px auto auto;
}

/* Plain Quotes
---------------------------- */
.wp-block-quote.is-style-plain {
    background: none;
    color: inherit;
    margin: 0 0 30px 10px;
    padding: 0;
}

.wp-block-quote.is-style-plain p {
    margin: 0;
    display: inline;
}

.wp-block-quote.is-style-plain p:before {
    content: '\201c';
    font-family: none;
}

.wp-block-quote.is-style-plain p:after {
    content: '\201d';
    font-family: none;
}

.wp-block-quote.is-style-plain cite {
    margin-left: 10px;
}

.wp-block-quote.is-style-plain cite:before {
    content: "-";
    margin-right: 5px;
}

/* Featured Image
--------------------------------------------- */
.featured-image {
    margin-bottom: 30px;
}

.featured-image img {
    width: 100%;
}

.featured-image header.entry-header {
    width: 100%;
    padding: 25px;
    margin: 0;
    border-top: 1px solid;
}

.featured-image header a {
    color: inherit;
}

.displayFull {
    margin: -25px -25px 0;
}

/* Disclosure
--------------------------------------------- */
.disclaimer {
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
    font-style: italic;
    max-width: 100%;
}

.disclaimer a {
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px dotted;
}

/* Entry Footer
--------------------------------------------- */
article footer.entry-footer {
    text-transform: uppercase;
    font-size: 12px;
    margin-top: 20px;
    border-top: 1px solid var(--cps--secondary);
    clear: both;
    text-align: center;
}

.cat-links a, .tag-links a {
    border-bottom: 1px solid;
}

.footer-meta, .single-content-share {
    margin-top: 20px;
    justify-content: center;
}

.single-content-share .bcicons, .bcicons-before:before {
    font-size: 16px;
}

#cps-related, .navigation, #comments-section {
    border: 1px solid;
}

/* Related Posts
--------------------------------------------- */
#cps-related ul {
    display: grid;
    flex-wrap: wrap;
    text-align: center;
    grid-gap: 10px 20px;
    grid-template-columns: 1fr 1fr;
}

#cps-related h2, #cps-related h3 {
    line-height: 1.4;
    text-transform: uppercase;
}

#cps-related h2.related-title {
    font-size: 30px;
    text-align: center;
    font-weight: 300;
    margin-bottom: 20px;
}

#cps-related ul h3 {
    font-size: 18px;
    font-weight: 400;
}

#cps-related ul li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}

#cps-related ul li:last-child {
    border: none;
}

#cps-related ul li img {
    width: 100%
}

#cps-related h3:hover {
    color: #888 ;
}

#cps-related, .navigation, #comments-section {
    margin: 30px 0;
    padding: 25px;
}

/*grid*/
#cps-related ul.post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2em;
}

#cps-related .post-grid li {
    display: block;
    width: 100%;
    margin: 0 !important;
}

#cps-related .post-grid li .relatedthumb, #cps-related .post-grid li .relatedcontent {
    width: auto;
    max-width: 100%;
    text-align: center;
    margin: 0;
}

#cps-related .post-grid li .relatedthumb {
    margin-bottom: 10px;
}

:where(#cps-related):not(:has(*)) {
    display: none;
}

/* Entry Comments
--------------------------------------------- */
#comments + #respond {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 2px solid var(--cps--primary);
}

li #respond.comment-respond {
    border-top: 0;
    margin-bottom: 20px;
}

h2.comments-title {
    text-transform: uppercase;
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 30px;
}

#comments a {
    color: #000000;
}

.comment-respond h3, .entry-comments h3, .entry-pings h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-size: 1.7rem;
    letter-spacing: 2px;
    text-transform: capitalize;
}

ul li.comment {
    margin-bottom: 20px;
    border-bottom: 1px solid;
}

ul li.comment:last-child, #content ul li.comment article:last-child {
    margin-bottom: 0;
    border: 0;
}

ul li.comment .children li {
    margin-left: 20px;
    margin-bottom: 0;
    border: 0;
}

.comment-author img {
    border-radius: 50%;
    height: 40px;
    width: 40px;
}

.comment-author .says {
    display: none;
}

.comment-author .fn {
    vertical-align: top;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.comment-meta .comment-metadata {
    font-size: 11px;
    margin: -20px 0 10px 45px;
}

.hide-time time {
    display: none;
}

.comment-meta .comment-metadata a {
    color: #999;
}

p.logged-in-as {
    margin-bottom: 15px;
}

#comments h3#reply-title, p.comment-notes {
    margin-bottom: 10px;
}

#comments h3 small {
    margin-left: 10px;
    padding: 0 2px 2px;
    font-size: 14px;
    border-bottom: 1px solid #cc1818;
}

span.required-field-message, p.comment-notes > span {
    display: block;
}

#content ul li.comment article {
    margin-bottom: 10px;
    padding: 10px 5px 5px;
    box-shadow: none;
    overflow: hidden;
    border: 0;
}

#comments .comment-content p {
    padding: 10px;
    font-size: 13.5px;
}

#comments .reply {
    font-size: 11px;
    margin-top: 5px;
    float: right;
    color: #000000;
    display: block;
    text-transform: uppercase;
    border-bottom: 1px dotted;
}

.comment-form-cookies-consent label {
    display: inline;
    padding-left: 3px;
}

.comment-form-cookies-consent {
    margin: 15px 0;
    letter-spacing: 1px;
    font-size: 15px;
}

p.comment-subscription-form {
    font-size: 14px;
}

div#respond + p.akismet_comment_form_privacy_notice {
    font-size: 14px;
    background: #fff;
    padding: 5px 20px 20px;
    box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 2%);
}

textarea#comment, .comment-form input[type="email"], .comment-form input[type="text"], .comment-form input[type="url"] {
    width: 500px;
    display: block;
    margin-bottom: 15px;
    resize: none;
}

.comment-list .comment.bypostauthor .comment-author-name {
    border-top: 10px solid var(--cps--secondary);
}

p.no-comments {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    font-style: italic;
    padding: 15px 10px;
    background: #fff;
}

/*single*/
.cps-fore .navigation {
    background: #fff;
    color: #222222;
}

.navigation a {
    color: inherit;
}

.navigation a:hover {
    opacity: .6;
}

.single .nav-links {
    display: flex;
    height: 100%;
    min-width: 100px;
    align-items: center;
}

.single .nav-links div {
    width: 50%;
    line-height: 1.3;
}

.nav-links .nav-previous {
    margin-right: auto;
    float: left;
    text-align: left;
}

.nav-links .nav-next {
    margin-left: auto;
    float: right;
    text-align: right;
}

/*Full Width and Landing
-------------------------------------------- */
.full-width-content #content {
    width: 100%;
    margin: auto;
    padding: 0;
}

.full-width-content #content .page {
    box-shadow: none;
    border: 0;
}

.full-width-content #content .post {
    padding: 15px;
}

.full-width-content #content .post .post-thumbnail {
    margin-top: -15px;
    margin-right: -15px;
    margin-left: -15px;
}

.page-template-full-unboxed #content article {
    padding: unset !important;
    margin: unset !important;
}

.page-template-full-unboxed .alignfull, .page-template-full-unboxed .alignwide {
    margin: unset !important;
    max-width: unset !important;
    width: unset !important;
}

.landing-page header.header {
    visibility: hidden;
    clip: rect(0, 0, 0, 0);
    height: 0;
    overflow: hidden;
    margin: 0;
}

.landing-page #container {
    margin: auto;
}

.landing-page #container .alignfull:first-child {
    margin-top: -40px;
    padding-top: 0;
}

.landing-page .entry-content {
    padding: 40px 5%;
}

/* Ninja Forms
--------------------------------------------- */
.nf-form-cont {
    padding: 5%;
}

span.nf-form-title {
    display: none;
}

.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea {
    border: 0 !important;
}

.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
    min-width: 200px;
}

@media only screen and (max-width: 1145px) {
    .after-entry .enews {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media only screen and (max-width: 899px) {
    .displayFull {
        width: 100vw;
        margin-top: -65px;
        margin-left: calc( -100vw / 2 + 100% / 2 );
        margin-right: calc( -100vw / 2 + 100% / 2 );
    }

    .sbar + #container .displayFull {
        margin-top: -51px;
    }
}

@media only screen and (max-width: 720px) {
    .entry-content h2 {
        font-size: 26px;
    }

    .entry-content h3 {
        font-size: 24px;
    }

    .entry-content h4 {
        font-size: 22px;
    }

    .entry-content h5 {
        font-size: 20px;
    }

    .entry-content h6 {
        font-size: 17px;
    }
}

@media only screen and (min-width: 700px) {
    .full-width-content #content .page {
        margin: 0 3% 0;
        padding: 0 50px;
    }

    #cps-related ul li:nth-child(3) {
        border: none;
    }

    #cps-related ul li .relatedthumb {
        max-width: 50%;
        margin-right: 5%;
    }

    #cps-related ul li .relatedcontent {
        text-align: left;
    }
}

@media only screen and (max-width: 699px) {
    .full-width-content #content .page {
        margin: 0 15px 0;
        padding: 0 25px;
    }

    #cps-related ul {
        grid-template-columns: 1fr;
    }

    #cps-related ul li .relatedthumb {
        max-width: 20%;
        margin-right: 4%;
    }

    #cps-related ul li .relatedcontent {
        text-align: left;
        width: 76%;
    }

    #cps-related ul h3 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 550px) {
    .after-entry .enews-widget, .landing-page .enews-widget {
        padding: 20px;
        width: 100%;
    }
}

.cps-fore #comments-section, .cps-fore.full-width-content {
    background: #fff;
}