/**
 * This file adds style to posts and pages
 */
 #content article {
    margin-bottom: 0;
}

header.entry-header {
    text-align: center;
    margin-bottom: 25px;
}

.attachment header {
    text-align: center;
}

.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6 {
    margin: 1.2em 0 0.4em;
}

.single-content h1:first-child, .single-content h2:first-child, .single-content h3:first-child, .single-content h4:first-child, .single-content h5:first-child, .single-content h6:first-child {
    margin-top: 0;
}

.single-content h1:last-child, .single-content h2:last-child, .single-content h3:last-child, .single-content h4:last-child, .single-content h5:last-child, .single-content h6:last-child {
    margin-bottom: 0;
}
.single-content h2 a,
.single-content h3 a,
.single-content h4 a,
.single-content h5 a,
.single-content h6 a {
   text-decoration: none;
}

.entry p, .entry-content p {
    margin-bottom: 20px;
}

.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: 14px;
    border-color: var(--cps--primary);
}

.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);
}

.wp-block-pullquote {
    margin: 3em auto;
    padding: 0;
    border: 0;
    font-size: 20px
}

.wp-block-pullquote p, .wp-block-quote p{
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.wp-block-pullquote cite, .wp-block-quote cite{
    margin: 30px auto auto;
}

.wp-block-pullquote blockquote {
    text-align: center;
}

/* 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;
}

/* Single Post Affiliate, Sponsored or Partnership Disclaimer 
---------------------------------------------------------------------------- */
.disclaimer {
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
    font-weight: 300;
    font-style: italic;
    max-width: 100%;
}

.disclaimer a {
    color: inherit;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px dotted;
}

/* Entry Footer
--------------------------------------------- */
article footer.entry-footer {
    text-transform: uppercase;
    font-size: 11px;
    padding-top: 10px;
    margin: 20px 0;
    border-top: 1px solid var(--cps--secondary);
    clear: both;
}

.entry-footer a {
    color: inherit;
}

/* Related Posts
--------------------------------------------- */
#cps-related ul {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

#cps-related h2,
#cps-related h3 {
    line-height: 1.4;
    text-transform: uppercase;
}

#cps-related h2.related-title {
    font-weight: normal;
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

#cps-related ul h3 {
    font-size: 16px;}

#cps-related ul li {
    display: flex;
    align-items: center;
}

#cps-related ul li img{
    width: 100%
}

#cps-related h3:hover {
    color: #888 ;
}

#cps-related,
.navigation,
#comments {
    margin: 30px 0;
}

/*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 {
    margin-bottom: 0;
}

h2.comments-title {
    text-transform: uppercase;
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 30px;

}

#comments,
.comment-respond {
    background: #fff;
    padding: 20px;
    box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 2%);
}

#comments a,
.comment-respond 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;
}

ul li.comment .children li{
    padding-left: 20px;
    margin-bottom: 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: 700;
    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 {
    padding-left: 10px;
    font-size: 14px;
}

span.required-field-message,
p.comment-notes > span {
    display: block;
}

#content ul li.comment article.comment-body {
    margin-bottom: 10px;
    padding: 10px 0;
    box-shadow: none;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

#comments .comment-content p {
    padding: 10px;
    font-size: 13.5px;
}

#comments .reply {
    float: right;
    font-size: 11px;
    margin-top: 5px;
    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*/
.navigation {
    padding: 20px;
    background: var(--cps--secondary);
    color: var(--cps--secondary--font);
}

.navigation a {
    color: var(--cps--secondary--font);
}

.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
-------------------------------------------- */
body.full-width-content {
    background: #fff;
}

.full-width-content #content {
    width: 100%;
    margin: auto;
    padding: 0;
}

.full-width-content #content .page {
    box-shadow: none;
}

.full-width-content #content .post {
    padding: 0;
}

.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: 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 {
        width: 49%;
        margin-right: 2%;
    }

    #cps-related ul li:nth-child(1),
    #cps-related ul li:nth-child(2) {
        margin-bottom: 15px;
    }

    #cps-related ul li:nth-child(2),
    #cps-related ul li:nth-child(4) {
        margin-right: 0;
    }
    
    #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 li {
        margin: 0 0 15px;
        width: 100%;
    }

    #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: 14px;
    }
}

@media only screen and (max-width: 550px) {
    .after-entry .enews-widget,
    .landing-page .enews-widget {
        padding: 20px;
        width: 100%;
    }
}