/*Page Content*/

.hentry .post-thumbnail {
    margin-bottom: 30px;
}

.hentry .post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content .h2,
.entry-content h2 {
    margin: 25px 0 15px;
}

.entry-content .h3,
.entry-content h3 {
    margin: 20px 0 10px;
}

.entry-content h1 {
    font-size: 36px;
}

.entry-content h2 {
    font-size: 28px;
}

.entry-content h3 {
    font-size: 24px;
}

.entry-content p {
    font-weight: 400;
    line-height: 2;
    color: #333333;
}

.entry-content p {
    margin-bottom: 20px;
}

.wp-block-column ul:not(.entry-meta):not(.wufoo-ul):not(.gform_fields),
.entry-content>ul:not(.entry-meta):not(.wufoo-ul):not(.gform_fields) {
    background-color: #fff;
    margin: 10px 0 25px;
    padding: 0;
}

.wp-block-column ul:not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li,
.entry-content>ul:not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li {
    color: #333;
    position: relative;
    list-style: none;
    padding-left: 35px;
}

.wp-block-column ul:not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li:before,
.entry-content>ul:not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li:before {
    content: "";
    width: 23px;
    height: 23px;
    position: absolute;
    top: 3px;
    left: 0;
    background-image: url(../img/litst-icon.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
}

.wp-block-column ul:not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li:not(:last-child),
.entry-content>ul:not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li:not(:last-child) {
    margin-bottom: 15px;
}

.hentry .entry-content h1,
.hentry .entry-content h2,
.hentry .entry-content h3,
.hentry .entry-content h4,
.hentry .entry-content h5,
.hentry .entry-content h6 {}

.hentry .entry-content h2,
.hentry .entry-content h3,
.hentry .entry-content h4,
.hentry .entry-content h5,
.hentry .entry-content h6 {}

/*Sidebar*/

.main-sidebar .widget:not(:last-child) {
    margin-bottom: 30px;
}

.main-sidebar .widget-title {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
    background-color: rgb(var(--primary-color));
    padding: 10px 20px;
    position: relative;
    margin-bottom: 20px;
}

.widget ul li {
    list-style: none;
}

.main-sidebar .widget ul li:not(:last-child) {
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .entry-content>ul:not(.entry-meta) {
        padding: 15px 20px;
        background-color: #fff;
    }
}

/*Start Step Form*/
.emg-step-form {
    border: 1px solid #cdcdcc;
    padding: 25px 80px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

@media only screen and (max-width: 991px) {
    .entry-content {
        padding-top: 0px;
    }

    .emg-step-form {
        padding: 25px 30px 20px;
    }
}

/*End Step Form*/

.emg-sidebar-contact-form {
    border: 1px solid #cdcdcc;
    margin-bottom: 20px;
    border-radius: 5px;
}

/*Blog Page */

/*Archived*/

.page-header {
    padding-bottom: 0;
    margin: 0;
    border-bottom: 0;
}

body.search article.page,
body.search article.post,
body.archive article.post,
body.archive article.page {
    margin-bottom: 50px;
}

body:not(.blog):not(.search):not(.archive) .entry-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

body.search .entry-meta,
body.archive .entry-meta,
body.blog .entry-meta {
    display: block;
    margin-bottom: 15px;
}

body:not(.blog):not(.search):not(.archive) .entry-meta li:not(:last-child) {
    margin-right: 10px;
}

body.search .entry-meta li:not(:last-child),
body.archive .entry-meta li:not(:last-child),
body.blog .entry-meta li:not(:last-child) {
    margin-bottom: 10px;
}

.entry-meta li {
    list-style: none;
    color: #333 !important;
    line-height: 1.3;
    word-break: break-word;
}

body:not(.blog):not(.search):not(.archive) .entry-meta li:not(:last-child) {
    margin-right: 6px;
    padding-right: 10px;
    border-right: 2px solid #ddd;
}

.entry-meta li,
.entry-meta li a {
    font-weight: 500;
    font-size: 13px;
}

.entry-meta li span {
    color: #000;
    font-weight: 600 !important;
}

.entry-meta li a {
    color: rgb(var(--primary-color)) !important;
    text-decoration: underline !important;
}

.emg-post-card {
    margin-bottom: 50px;
}

.emg-post-card .post-thumbnail img {
    height: auto;
}

.emg-post-card header.entry-header * {
    margin: 0;
}

@media (min-width: 1199px) {
    .blog-page-post-body {
        overflow: hidden;
    }

    .emg-post-card .post-thumbnail {
        float: left;
        margin-right: 30px;
        max-width: 300px;
    }
}

.post-footer a.readMore {
    font-size: 18px;
    font-weight: bold;
}

.emg_pagination {
    text-align: center;
}

.emg_pagination .page-numbers {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    background-color: rgb(var(--primary-color));
    color: #fff !important;
    border-radius: 50%;
    margin: 0 5px;
}

.emg_pagination .prev,
.emg_pagination .next {
    width: auto;
    background: transparent;
    height: auto;
    padding: 0 10px;
}

.emg_pagination span.page-numbers.current {
    opacity: 0.5;
}

.emg_pagination span.page-numbers.dots {
    width: auto;
    background: transparent;
}

.emg_pagination span.page-numbers.dots,
.emg_pagination .prev,
.emg_pagination .next {
    color: rgb(var(--primary-color)) !important;
}

@media screen and (max-width: 768px) {

    .wp-block-image figure.alignright,
    .wp-block-image figure.alignleft,
    .wp-block-image figure.aligncenter,
    img.alignright,
    img.alignleft,
    img.aligncenter {
        margin: 0 auto 15px !important;
        display: block;
        float: none !important;
    }
}

.gform_wrapper.emg-g-form_wrapper .gform_fields {
    display: grid;
    grid-column-gap: 2%;
    grid-row-gap: 16px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(auto-fill, auto);
    width: 100%;
}