/* FONT FACE */

@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/ProximaNova-Bold.woff2') format('woff2'), url('../fonts/ProximaNova-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/ProximaNova-Regular.woff2') format('woff2'), url('../fonts/ProximaNova-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/ProximaNova-Medium.woff2') format('woff2'), url('../fonts/ProximaNova-Medium.woff') format('woff');
    font-weight: medium;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/ProximaNova-Light.woff2') format('woff2'), url('../fonts/ProximaNova-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/ProximaNova-Semibold.woff2') format('woff2'), url('../fonts/ProximaNova-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/ProximaNova-Regular.woff2') format('woff2'), url('../fonts/ProximaNova-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/**
 *
 **/

img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

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

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

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

ol.post-list,
ol.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* General Post Styles */

.post-list li:after {
    content: ' ';
    clear: both;
    display: block;
}

.post-list li {
    /*display: inline-block; width: 48%; vertical-align: top;*/
}

.post-entry {
    overflow: hidden;
    margin: 0 0 20px;
}

.post-image {
    margin: 0 0 10px;
    overflow: hidden;
}

.post-image a {
    display: inline-block;
}

.post-list .post-image {
    max-height: 300px;
}

.post-meta {
    clear: both;
    margin: 0 0 20px;
    text-align: left;
}

.post-meta .post-meta-item {
    display: inline-block;
    margin-right: 10px;
}

.post-readmore {
    margin-top: 10px;
}

.post-entry iframe {
    max-width: 100%;
}


/* Comments */

.comment-list-item {
    margin: 0 0 20px;
}

.comment-list.children {
    margin-top: 20px;
}

.comment-image {
    float: left;
    margin: 0 10px 10px 0;
}

.comment-author {
    font-weight: bold;
    display: block;
}

.comment-entry {
    clear: both;
    margin: 0 0 20px;
}


/* Widgets */

.block-blog .block-title {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c6c6c6;
}

.block-blog .block-title>strong {
    font-size: 18px;
    font-weight: 300;
}

.block-blog ul,
.block-blog ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.block-blog-cloud li {
    display: inline;
    margin: 0;
}

.block-blog-categories ul.level1 {
    margin-top: 1rem;
}

.shortcode-product {}

.shortcode-product .products {
    text-align: left;
    list-style: none;
}

.shortcode-product .products>li {
    display: inline-block;
    width: 24%;
    text-align: center;
}


/* Post List Grid */

.post-list.grid {}

.post-list.grid li {
    display: inline-block;
    width: 48%;
    vertical-align: top;
    margin-right: 1%;
}


/* Blog Page */

#custom-top-category-list {
    padding: 21px 31px;
    background: #fff6f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

#custom-top-category-list li {
    margin-bottom: 0;
    position: relative;
}

#custom-top-category-list li .top-cat-nav-anchor {
    font-family: 'ProximaNova';
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 208px;
    height: 40px;
    border: 1px solid #3D97A7;
    padding: 8px;
    background: #fff;
    font-weight: 500;
}

#custom-top-category-list li .top-cat-nav-anchor:hover {
    text-decoration: none;
    background: #3D97A7;
    color: #fff;
}

#blog_post_grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#blog_post_grid li {
    flex-basis: 33.3%;
    margin: 0;
    padding: 0 20px;
    margin-bottom: 40px;
    font-family: 'ProximaNova';
}

#blog_post_grid li .post-list-item {
    background: #fafafa;
}

#blog_post_grid .post-image {
    min-height: 198px;
    max-height: 198px;
    margin-bottom: 0;
}

#blog_post_grid .post-meta-item {
    color: #EF7C8E;
    font-size: 16px;
    line-height: 22px;
    padding: 40px 33px 10px;
}

#blog_post_grid .post_info h2 {
    color: #3D97A7;
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: 5px;
    margin: 0;
    text-transform: uppercase;
    margin-bottom: 10px;
    min-height: 50px;
}

#blog_post_grid .post_info {
    padding-left: 33px;
    padding-right: 33px;
}

#blog_post_grid .post_info .post-excerpt {
    font-size: 16px;
    line-height: 22px;
    color: #3A3466;
    min-height: 215px;
}

.continue_reading a {
    height: 40px;
    width: 208px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #3D97A7;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 24px;
    text-align: center;
    border: 1px solid #3D97A7;
    background: #fff;
}

.continue_reading a:hover {
    background: #3D97A7;
    color: #fff;
    text-decoration: none;
}

#blog_post_grid div.post-entry {
    margin-bottom: 0;
    min-height: 198px;
    background: #f7f7f7;
}

.continue_reading {
    margin-top: 20px;
    padding-bottom: 40px;
}

#blog_post_grid .post_info h2 a:hover {
    text-decoration: none;
}

.blog_paging ul {
    display: flex;
}

.blog_paging ul.pages-items {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    border-top: 1px solid #EEECEC;
    padding-top: 40px;
}

.blog_paging ul.pages-items span {
    font-size: 16px;
    line-height: 22px;
    color: #3A3466;
}

.blog_paging ul.pages-items strong,
.blog_paging ul.pages-items a {
    border: none;
}

.blog_paging ul.pages-items strong:hover,
.blog_paging ul.pages-items a:hover {
    border: none;
}

.blog_paging ul.pages-items a {
    color: #7d7b99;
}

.blog_paging ul.pages-items .pages-item-previous a.previous:before,
.blog_paging ul.pages-items .pages-item-next a.next:before {
    color: #EF7C8E;
}

#custom-top-category-list li a.active {
    background: #3D97A7;
    color: #fff;
}


/* SINGLE PAGE */

.wordpress-post-view .post-view .post-image a {
    max-width: 927px;
    min-height: 556px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.wordpress-post-view .post-view .post-date {
    color: #EF7C8E;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    margin: 40px 0 30px;
}

.wordpress-post-view .post-view .post-content p {
    color: #3A3466;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 30px;
}

.wordpress-post-view .post-view .created_date,
.wordpress-post-view .post-view .post-content,
.wordpress-post-view .post-view .author_name {
    max-width: 688px;
    margin: 0 auto;
    font-family: 'ProximaNova';
}

#maincontent.page-main>.page-title-wrapper .page-title {
    font-family: 'ProximaNova';
    letter-spacing: normal;
    font-weight: 400;
}

.wordpress-post-view .post-view .post-content h3 {
    font-size: 16px;
    line-height: 28px;
    color: #3D97A7;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
}

#close_button {
    width: 19px;
    height: 19px;
    background: #EF7C8E;
    color: #fff;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    line-height: normal;
    font-size: 13px;
    position: absolute;
    right: -8px;
    top: -8px;
    cursor: pointer;
}

p.post-list-description {
    display: none;
}

#blog_post_grid .post_info .post-excerpt .read-more {
    display: none;
}


/*  MEDIA QUERY */

@media(max-width: 1199px) {
    #blog_post_grid li {
        flex-basis: 50%;
    }
    #custom-top-category-list li {
        padding: 0 10px;
        margin-bottom: 10px;
        flex-basis: 33%;
    }
    #custom-top-category-list {
        justify-content: center;
    }
    #custom-top-category-list li a {
        width: auto;
    }
    .wordpress-post-view .post-view .post-image a {
        min-height: auto;
    }
}

@media(max-width:767px) {
    #blog_post_grid li {
        flex-basis: 100%;
    }
    #blog_post_grid li {
        padding: 0;
        margin-bottom: 15px;
    }
    #blog_post_grid .post_info,
    #blog_post_grid .post-meta-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    #blog_post_grid div.post-entry {
        min-height: 208px;
    }
    #blog_post_grid .post-meta-item {
        padding: 15px 14px 10px;
    }
    #blog_post_grid .post_info .post-excerpt {
        min-height: auto;
    }
    .continue_reading {
        padding-bottom: 15px;
        margin-top: 15px;
    }
    #blog_post_grid .post_info h2 {
        min-height: auto;
    }
    .blog_paging ul.pages-items {
        margin-top: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #EEECEC;
    }
    #maincontent.page-main {
        padding-bottom: 0;
    }
}