/**
 * This file adds style to posts and pages
 */
 #content article {
    margin-bottom: 0;
}

.attachment header {
    text-align: center;
}

header.entry-header {
    text-align: center;
    margin-bottom: 25px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
   margin: 1em 0 .3em;
}

.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-content h2 a,
.entry-content h3 a,
.entry-content h4 a,
.entry-content h5 a,
.entry-content h6 a {
   text-decoration: none;
}

.entry p, .entry-content p {
    margin-bottom: 20px;
}

.entry-content a {
    text-decoration: underline;
}

.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
}

/* Featured Image
--------------------------------------------- */
.featured-image {
    position: relative;
    margin-bottom: 25px;
}

.featured-image img{  
    width: 100%;
}

.single .featured-image  header.entry-header {
    width: 100%;
    padding: 20px;
    margin: 0;
    background: var(--cps--secondary);
    color: var(--cps--secondary--font);
}

.featured-image header a {
    color: inherit;
}

.featured-image .single-content-share a {
    color: var(--cps--primary--font);
}

.displayFull {
    margin-top: -25px;
    margin-left: -25px;
    margin-right: -25px;
}

/* Disclosure
--------------------------------------------- */
.disclaimer {
    font-size: 15px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
    font-weight: 300;
    font-style: italic;
    max-width: 100%;
}

.disclaimer a {
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px dotted;
}

/* blockquote and pullquote
--------------------------------------------- */
blockquote {
    background: var(--cps--secondary);
    margin: 0 20px 30px;
    padding: 1.5em 20px;
    border: 0;
    border-radius: 0 0 30px 30px;
}

.wp-block-quote {
    font-size: 14px;
}

.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;
    border-color: var(--cps--secondary);
    border-width: 3px;
    padding-top: 2em;
    padding-bottom: 2em;
    font-size: 20px;
}

.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;
}

.wp-block-pullquote blockquote {
    text-align: center;
    margin-bottom: 0;
}

/* 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;
}

/* Entry Footer
--------------------------------------------- */
article footer.entry-footer {
    text-transform: uppercase;
    font-size: 11px;
    padding-top: 10px;
    margin-top: 20px;
    clear: both;
    border-top: 1px solid var(--cps--secondary);
}

.entry-footer .single-content-share {
    margin-top: 10px;
}

/* Related Posts
--------------------------------------------- */
#cps-related ul {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

#cps-related h2 {
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 300;;
    font-size: 25px;
    text-align: center;
    margin-bottom: 20px;
}

#cps-related span {
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    word-wrap: break-word;
    word-break: break-word;
    text-transform: uppercase;
    -ms-word-wrap: break-word;
    -webkit-box-orient: vertical;
}

#cps-related ul small {
    font-size: 70%;
}

#cps-related img {
    margin-bottom: 5px;
}

#cps-related h3:hover {
    color: #888 ;
}

#cps-related,
.navigation,
#comments {
    margin: 30px 0;
}

/* Entry Comments
--------------------------------------------- */
#comments {
    margin-bottom: 0;
}

h2.comments-title {
    text-transform: uppercase;
    text-align: center;
    font-size: 2.0rem;
}

#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: 500;;
    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 {
    font-size: 11px;
    margin-top: 5px;
    float: right;
    color: #000000;
    display: inline-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;
    min-width: 100px;
    align-items: center;
    column-gap: 1em;
}

.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 !important;
}

/* 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-left: calc( -100vw / 2 + 100% / 2 );
      margin-right: calc( -100vw / 2 + 100% / 2 );
    }

    .nav-below .displayFull {
        margin-top: -55px;
    }
    
    .featured-image img {
        max-height: 400px;
        object-fit: cover;
        object-position: center;
        border-radius: 0 0 10px 10px;
    }
}

@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: calc(33.33333% - 0.83333em);
        margin-right: 1.25em;
    }
    
    #cps-related img {
        height: 250px;
        width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    #cps-related ul li:last-child {
        margin-right: 0;
    }
    
    #cps-related ul h3 a {
        font-size: 18px;
    }

    .landing-page .entry-content {
        padding: 50px 3%;
    }

    .landing-page #container .alignfull:first-child {
        margin-top: -50px;
    }

}

@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 2em;
        width: 100%;
    }

    #cps-related ul h3 a {
        font-size: 16px;
    }
    
    .landing-page .entry-content {
        padding: 30px 3%;
    }

    .landing-page #container .alignfull:first-child {
        margin-top: -30px;
    }
}

@media only screen and (max-width: 550px) {
    .after-entry .enews-widget,
    .landing-page .enews-widget {
        padding: 20px;
        width: 100%;
    }
}

@media only screen and (max-width: 410px) {
    .woo-share,
    article .entry-footer .social-share {
        display: block;
        text-align: left;
    }
}
