/*
Theme Name: PHB
Theme URI: https://www.damibu.com
Author: DamibuSimple website theme to promote Personal Health Budgets
Version: 1.1
License: Proporietary
License URI: N/A
Text Domain: dam-phb
Requires at least: 4.7
Requires PHP: 5.2.4
Tested up to: 5.4
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/

.entry-content {
    margin: 4rem 0 !important;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
}

.damfeeds_content img {
    max-width: 100%;
    height: auto !important;
}

.damfeeds_content h3 {
    margin: 2rem 0;
}


/* Feeds footer */
*[id^="damfeeds_credit"] > div {
    box-shadow: none !important;
}

*[id^="damfeeds_credit"] div {
    display:flex;
    padding: 0;
    /* margin: auto; */
    
}

*[id^="damfeeds_credit"] div p {
    margin: auto auto auto 0;
    padding:0;
}


*[id^="damfeeds_credit"] div div img {
    max-width: unset;
}



.page-title {
    margin-top: 4rem;
}

.homesection {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.home-row {
    width: 100%;
}

@media only screen and (max-width: 800px) {
    .mobileonly {
        display: block !important;
    }

    .desktoponly {
        display: none !important;
    }
}

@media only screen and (min-width: 800px) {
    .mobileonly {
        display: none !important;
    }

    .desktoponly {
        display: block !important;
    }
}

.footerlogos{
    display: flex;
    padding: 2rem 0;
    justify-content: space-evenly;
}

.footerlogos img{
    height: 3rem;
    width: auto;
    margin: auto;
}

.footer-feeds {
    display:flex;
    justify-content: flex-end;
    padding: 0;
}
.footer-ccg {
    display:flex;
    justify-content: flex-start;
    padding: 0;
}
.footer-phb {
    display:flex;
    justify-content: center;
    padding: 0;
}

.site-info {
    text-align: center;
}

@media only screen and (max-width: 800px) {
    .footerlogos{
        flex-direction: column;
        padding: 2rem auto;
    }

    .footer-feeds, .footer-ccg,  .footer-phb {
        justify-content: flex-start;
        margin: 1rem auto 1rem 0;
    }

    .footerlogos img{
        height: auto;
        width: 70%;
        margin: 0;
    }
}




/* Hide the credit div on the homepage */
.homesection .container *[id^="damfeeds_credit"] {
    display: none;
}

/* Cards Grid */
.damfeeds_grid {
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
    text-align: left;
    margin-bottom: 4rem;
    margin-top: 2rem;
    
}

@media only screen and (min-width: 800px) {
    .damfeeds_grid { grid-template-columns: repeat(2, 1fr);}
}

@media only screen and (min-width: 800px) and (max-width: 1199px) {
    .damfeeds_3col { grid-template-columns: repeat(2, 1fr);}
    }

@media only screen and (min-width: 1200px) {
    .damfeeds_3col { grid-template-columns: repeat(3, 1fr);}
}

.damfeeds_imgCover {
    display: none;
}

/* Cards Vids */
.damfeeds_card_vids {
    /* padding: 1.5rem; */
    text-align: left;
    box-shadow: 0px 2px 17px #e9e9e9;
    border-radius: 10px;
    background: white;
}

.damfeeds_card_vids > p, .damfeeds_card_vids h4 {
    padding: 0 1rem;
}


.damfeeds_card_vids img {
    min-height: 200px;
    max-height: 200px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
    align: center;
    margin-bottom: 1rem;   
}

.damfeeds_imgCover {       
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto;                 
}


.content-area {
    margin: 5rem auto;
}


/* NEWS */

.newscard__meta {
    font-size: 0.8rem;
    padding: 0.5rem !important;
}

.news__pages {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.news__pages-older,
.news__pages-newer {
    padding: 1rem;
}

/* Sections */

.hiddendiv {
    display: none;
}


/* Stories */

.story {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* background: #237570;
    color: white; */
    border-radius: 0.5rem;
    padding: 2rem 1rem;
}

.story-title {
    color: white;
    background: #237570;
    padding: 0.5rem;
}

.story__video {
    min-height: 15rem;
}

.story p { 
    margin: 0;
}

.story__text {
    padding: 2rem;
    margin:auto;
}

.story__link {
    justify-content: flex-end;
    display: flex;
}

/* Bootstrap Overwrite */
body {
    font-family: "Poppins", sans-serif;
    background-color: #fbfaff;
    background-position: left top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
}

.col-12 {
    padding-right: 0;
    padding-left: 0;
}

.container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.container {
    max-width: 80rem;
}

.row {
    margin-right: 0;
    margin-left: 0;
}



.form-block-button-green {
    background-color: #caffbb;
    color: #237570;
    border: 2px solid #caffbb;
    padding: 0.75rem 2rem 0.75rem 2rem;
    border-radius: 3rem;
    width: 100%;
    font-size: 1rem;
    margin-top: 2rem;
}

.radius-image {
    display: flex;
    border-radius: 0.2rem;
    width: 100%;
}

.break {
    width: 100%;
    border-top: #237570 solid 2px;
    opacity: 50%;
}

.whitebreak {
    width: 100%;
    margin-top: 7.5%;
    border-top: #fff solid 2px;
    opacity: 50%;
}

.green-section {
    background-color: #237570;
    color: #fff;
}

.homecontainer {
    margin-top: 1rem;
    margin: 10rem 10rem 10rem 10rem;
    flex: 2;
}

.my-5 {
    margin-top: 6rem !important;
    margin-bottom: 8rem !important;
}

.my-6 {
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
}

.btn {
    padding: 0.75rem 2rem;
    text-decoration: none;
}

.btn-outline-success {
    color: #237570;
    border-color: #237570;
    border-radius: 5rem;
}

.btn-outline-success:hover {
    color: #f8f9fa;
    border-color: #237570;
    background-color: #237570;
    border-radius: 5rem;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
    border-radius: 5rem;
}

.btn-outline-light:hover {
    color: #237570;
    border-color: #f8f9fa;
    background-color: #f8f9fa;
    border-radius: 5rem;
}

.radius-image {
    display: flex;
    border-radius: 2rem;
    width: 100%;
}

.nav-link {
    text-decoration: none;
}

/*Wordpress CSS*/

.content-area {
    margin: auto;
}

#main article .post-thumbnail img {
    display: none;
}

.post-thumbnail img {
    max-height: 30rem;
    max-width: 100%;
    padding: 2rem;
    margin: auto;
}

#main article .entry-header {
    margin-top: 3rem;
    margin-left: 6rem;
    margin-right: 6rem;
}

/* News */

.wp-block-latest-posts li {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.5rem;
    min-height: 100%;
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 6%), 0 6px 20px 0 rgb(0 0 0 / 0%) !important;
}

.wp-block-latest-posts a {
    color: #000 !important;
    font-size: 20px;
    padding-bottom: 0.3em;
    line-height: 1.25;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5em;
    padding-top: 1.5em;
    font-weight: 600;
}

.wp-block-latest-posts__featured-image {
    min-width: 10rem;
}

.wp-block-latest-posts__featured-image img {
    max-width: 100%;
}

.wp-block-latest-posts__post-author {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5em;
}

.wp-block-latest-posts__post-date {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5em;
}

.wp-block-latest-posts__post-excerpt {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 2.5em;
}

.wp-post-image {
    min-width: 100%;
}

/* Support Section */

.support-card {
    display: flex;
    flex-direction: row;
    flex: 1;
    margin: 1rem;
    min-width: 100%;
}

.support-card-image {
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.075);
    background-color: #fff;
    min-height: 8rem;
    max-width: 8rem;
    border-radius: 10px;
    align-content: center;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: auto;
}

.support-card-image img {
    align-content: center;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: contain;
    padding: 1rem;
}

.support-card-content {
    margin-left: 2rem;
    padding: 2rem;
    align-content: top;
    justify-content: center;
    width: 100%;
    margin: auto;
}

.support-card-content p {
    margin-bottom: 1.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cards */
.card-container {
    padding: 1rem;
}

.card-container a, 
.card-container a:hover,
.menu-item a {
    text-decoration: none;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.5rem;
    height: 100%;
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 6%), 0 6px 20px 0 rgb(0 0 0 / 0%) !important;
}

.card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cardlink {
    text-decoration: none;
}

.card-img,
.card-img-top {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
    max-height: 20rem;
    min-height: 10rem;
    object-fit: cover;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    color: #fff;
    background-color: #122c34;
}

.card__video {
    
}

/* Base/other */

.tooltip {
    background-color: #000;
}

.icon-arrow {
    max-height: 1.7rem;
}

/* end of bootstrap */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {
    margin: 0;
    -webkit-font-smoothing: auto;
    background-color: #21759b;
}

article,
aside,
details,
figcaption,
figure,
footer,
/* header, */
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
    text-decoration: underline;
}

a:active,
a:hover {
    outline: 0;
}

dfn {
    font-style: italic;
}

mark {
    background: #7d80da;
    color: #7d80da;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 2.5rem;
}

hr {
    box-sizing: content-box;
    height: 0;
}

button {
    overflow: visible;
    width: fit-content;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: #000000;
    font-weight: 600;
}
h1 {
    color: #000 !important;
    font-size: 40px;
    padding-bottom: 10px;
}
h2 {
    color: #000 !important;
    font-size: 30px;
    padding-bottom: 0.3em;
    line-height: 1.25;
}
h3 {
    font-size: 20px;
    line-height: 25px;
}
h4 {
    font-size: 18px;
    line-height: 20px;
}
h5 {
    font-size: 16px;
    line-height: 17.5px;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5em;
}

h1.entry-title {
    font-size: 1.31rem;
    border-bottom: 1px solid #000000;
}

h2.entry-title {
    border-bottom: 1px solid #000000;
}

h3.widget-title {
    font-size: 1.1rem;
    color: #fff;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
    background: #fff;

    /* Fallback for when there is no custom background color defined. */
}

img {
    height: auto;

    /* Make sure images are scaled correctly. */

    /* Adhere to container width. */
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

header, .LCCG {
    display: flex;
}

.LCCG img {
    margin: auto;
    height: 4rem;
    width: auto;
}

.LCCG_mobile {
    display: none;
    background: #2F9C95;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 10%);
    padding: 0.64rem 0.64rem;

}

.LCCG_mobile img {
    margin-left: auto;
    height: 5rem;
    width: auto;
}

@media screen and (max-width: 1200px) {
    header {
        box-shadow: none !important;
    }
    .LCCG {
        display: none;
    }

    .LCCG_mobile {
        display: flex;
    }
}

.hero_nhs {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
}

.hero_nhs img {
    height: 5rem;
    width: auto;
}

#page-sub-header {
    padding: 20rem 15rem 20rem 40rem;
    display: flex;
    flex: wrap;
    font-size: 1.25rem;
    background-size: cover !important;
    width: 50%;
}

body:not(.theme-preset-active) #page-sub-header h1 {
    line-height: 1.6;
    font-size: 4rem;
    color: #fff;
    margin: 0 0 1rem;
    border: 0;
    padding: 0;
}

#page-sub-header p {
    margin-bottom: 0rem;
    line-height: 1.4;
    font-size: 1.1rem;
    font-weight: 300;
}

body:not(.theme-preset-active) #page-sub-header p {
    color: #fff;
    float: left;
}

.hero-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    background-repeat: no-repeat;
}

.hero-header {
    padding: 3rem 0;

}

.hero-header h1 {
    color: #fff !important;
}

.hero-col-text {
    background-color: #237570;
    color: #fff !important;
    align-content: center;
    vertical-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    z-index: 101;
    border-radius: 0 3rem 3rem 0;
}

@media screen and (max-width: 992px) {
    #page-sub-header p {
        max-width: 43rem;
        margin: 0 auto;
    }
    
    .hero-col-text {
        border-radius: 0 0rem 0rem 0;
    }
    
    .phb_buttons .btn {
        width: 90% !important;
        margin: 0.5rem;
    }
}

.hero-col-img {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: url(https://damibu.com/phb/wp-content/uploads/2021/03/cropped-cropped-17r1naig72iau5dixerfw8uczi-3.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-width: 50%;
    min-height: 20rem;
    height: 100%;
    margin-left: -4rem;
}

.covid-banner h4 {
    background-color: #122c34;
    text-align: center;
    padding: 2rem 0 2rem 0;
    color: #fff !important;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.navcontainer {
    width: 100%;
    margin-left: 5rem;
    margin-right: 5rem;
}

header#masthead {
    margin-bottom: 0;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    padding: 0.64rem 0.64rem;
    width: 100%;
    z-index: 201;
    position: sticky;
    top: 0;
}

.navbar-brand > a {
    color: rgba(0, 0, 0, 0.9);
    font-size: 1.1rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.navbar-brand > a:visited,
.navbar-brand > a:hover {
    text-decoration: none;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.footernav {
    color: #fff !important;
    margin: 0 6rem 0 6rem;
    width: 40rem;
}

.footernav a {
    color: #fff !important;
}

#masthead nav {
    padding-left: 1rem;
    padding-right: 1rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #000000;
    padding: 1rem;
    font-weight: 400;
    font-size: 0.875rem;
    text-transform: capitalize !important;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
    color: #237570;
    text-decoration: underline;
    font-weight: 400;
    /*background: #f9f9f9;*/
}

.navbar-brand {
    height: auto;
}

.navbar-toggle .icon-bar {
    background: #000 none repeat scroll 0 0;
}

/* Small menu. */

#main-nav {
    /* display:flex;
    justify-content: flex-end; */
}

#main-nav .menu-item {
    display:flex;
}

#main-nav .menu-item a {
    margin-left: auto;
    font-size: 1.1rem !important;
    padding: 0.5rem !important;
}

.navbar-light .navbar-toggler {
    border: none;
    outline: none;
}

.menu-toggle,
.main-navigation.toggled ul {
    display: block;
    text-transform: capitalize !important;
    font-size: 0.875rem;
}

.dropdown-item {
    line-height: 1.2;
    padding-bottom: 0.313rem;
    padding-top: 0.313rem;
}

.dropdown-menu {
    min-width: 12.5rem;
}

.dropdown .open .dropdown-menu {
    display: block;
    left: 12.25em;
    top: 0;
}

.dropdown-menu .dropdown-item {
    white-space: normal;
    background: transparent;
    line-height: 1.6;
    text-transform: capitalize !important;
    font-size: 0.875rem;
}
.dropdown-menu .dropdown-item:hover {
    background: transparent;
    text-transform: capitalize !important;
    font-size: 0.875rem;
    color: #237570;
    text-decoration: underline;
}

@media screen and (min-width: 991px) {
    .menu-toggle {
        display: none;
    }

    .dropdown-menu li > .dropdown-menu {
        right: -9.875rem;
        top: 1.375rem;
    }

    .dropdown-menu li a {
        padding: 0;
    }

    #masthead .navbar-nav > li > a {
        padding-bottom: 0.625rem;
        padding-top: 0.313rem;
    }
}


@media screen and (max-width: 1200px) {
    .navcontainer {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}




.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
.comment-content.card-block {
    padding: 20px;
}

.navigation.post-navigation {
    padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    border: 1px solid #ddd;
    border-radius: 0.938rem;
    display: inline-block;
    padding: 0.313rem 0.875rem;
    text-decoration: none;
}

.post-navigation .nav-next a::after {
    content: " \2192";
}

.post-navigation .nav-previous a::before {
    content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    background: #eee none repeat scroll 0 0;
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #000000;
}

a:hover {
    color: #000000;
}

a footer {
    color: #fff !important;
}

a footer:hover {
    color: #fff;
}



/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 0.313rem;
    line-height: normal;
    padding: 0.938rem 1.438rem 0.875rem;
    text-decoration: none;
    top: 0.313rem;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

a img.alignright {
    float: right;
    margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
    margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
    float: left;
    margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption.alignnone {
    margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
    margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
    margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
    font-size: 0.875rem;
    /* Make sure select elements fit in widgets. */
}
.widget select {
    max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
    display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
    background-color: #000;
    text-decoration: none;
}
.half-rule {
    width: 6rem;
    margin: 2.5rem 0;
}
.widget_categories .nav-link {
    display: inline-block;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

#content.site-content {
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky .entry-title::before {
    content: "\f08d";
    font-family: "Font Awesome\ 5 Free";
    font-size: 1.563rem;
    left: -2.5rem;
    position: absolute;
    top: 0.375rem;
    font-weight: 900;
}

.sticky .entry-title {
    position: relative;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 0 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
    margin-top: 0;
}

.post.hentry {
    margin-bottom: 4rem;
}

.posted-on,
.byline,
.comments-link {
    color: #9a9a9a;
}

.entry-title > a {
    color: inherit;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

.comment-body .pull-left {
    padding-right: 0.625rem;
}

.comment-list .comment {
    display: block;
}

.comment-list {
    padding-left: 0;
}

.comments-title {
    font-size: 1.125rem;
}

.comment-list .pingback {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
    border: medium none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    background: #f1f1f1 none repeat scroll 0 0;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 0.313rem 0.313rem 0;
    text-align: center;
}
.wp-caption img[class*="wp-image-"] {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}
.wp-caption .wp-caption-text {
    font-size: 0.688rem;
    line-height: 1.063rem;
    margin: 0;
    padding: 0.625rem;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}
.gallery-item .gallery-columns-2 {
    max-width: 50%;
}
.gallery-item .gallery-columns-3 {
    max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
    max-width: 25%;
}
.gallery-item .gallery-columns-5 {
    max-width: 20%;
}
.gallery-item .gallery-columns-6 {
    max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
    max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
    max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
    max-width: 11.11111%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce-cart-form .shop_table .coupon .input-text {
    width: 8.313rem !important;
}

.variations_form .variations .value > select {
    margin-bottom: 0.625rem;
}

.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/
.elementor-page article .entry-footer {
    display: none;
}

.elementor-page.page-template-fullwidth #content.site-content {
    padding-bottom: 0;
    padding-top: 0;
}

.elementor-page .entry-content {
    margin-top: 0;
}

/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/
.vc_desktop article .entry-footer {
    display: none;
}

.vc_desktop #content.site-content {
    padding-bottom: 0;
    padding-top: 0;
}

.vc_desktop .entry-content {
    margin-top: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-container {
    background-color: #122c34;
    width: 100%;
    padding: 4rem 4rem 4rem 4rem;
}

footer#colophon {
    font-size: 85%;
}
body:not(.theme-preset-active) footer#colophon {
    color: #fff !important;
    background-color: #000000;
}

.navbar-dark .site-info {
    color: #fff;
}
.copyright {
    font-size: 0.875rem;
    margin-bottom: 0;
    text-align: center;
}

.copyright a,
footer#colophon a {
    color: #fff !important;
}

@media screen and (max-width: 767px) {
    #masthead .navbar-nav > li > a {
        padding-bottom: 0.938rem;
        padding-top: 0.938rem;
    }
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
    html {
        font-size: 95%;
    }
}

@media screen and (max-width: 499px) {
    .navbar-dark .dropdown-item {
        color: #fff;
    }
    .navbar-nav .dropdown-menu {
        background: transparent;
        box-shadow: none;
        border: none;
    }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
    html {
        font-size: 90%;
    }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
    html {
        font-size: 85%;
    }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
    html {
        font-size: 80%;
    }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
    html {
        font-size: 75%;
    }
}
