.page-main .block.posts {
    display: block;
    margin: 0;
    padding: 0;
}

ul.news-lists {
    display: block;
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
}

ul.news-lists a:hover, .post-view a:hover {
    text-decoration: none;
}

ul.news-lists li.post {
    position: relative;
    margin: 1px;
    display: block;
}

.post-featured-item {

}

.post-featured-item a {
    display: block;
}

.post-featured-item a img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -o-transition: all 2s ease;
    -ms-transition: all 2s ease;
    transition: all 2s ease;
}

.post-featured-item img, .related-post-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    -o-transition: .3s;
    -ms-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
    width: 100%;
}

.post:hover .post-featured-item a img, .related-post-image:hover img {
    opacity: .75;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.post-entry-wrapper {
    width: 62%;
    float: right;
}

.post-list-text-content {
    padding: 35px;
}

.post-header {
    text-align: left;
    margin-bottom: 5px;
    padding: 0;
}

.post-header p, .post-header .date {
    font-size: 12px;
    font-family: inherit;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.6;
    margin-bottom: 6px;
}

.post-header h2 {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.post-header h1 a, .post-header h2 a, .post-header h1, .post-header h2 {
    font-size: 16px;
    display: block;
    -o-transition: .3s;
    -ms-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
}

.post-header h2 a {
    color: inherit;
    -o-transition: .3s;
    -ms-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
}

.date-author {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    color: #AAAAAA;
}

.post-header .date-author p {
    padding: 0;
    margin: 0;
}

.post-header .date {
    color: #AAA;
    font-style: italic;
}

.post-list.list .post-entry:not(.full) {
    padding: 0;
}

.post-entry {
    position: relative;
    clear: both;
}

.post-entry .post-entry-text > p:last-child {
    margin-bottom: 0;
}

.list-layout .post-entry-bottom {
    padding: 30px 0 0;
    display: inline-block;
    width: 100%;
}

.list-layout .post-entry-bottom:not(.full) a.custom-more-link {
    float: left;
    margin-bottom: 0;
}

.list-layout .like-comment-buttons-wrapper {
    float: right;
    line-height: 36px;
    margin: 0;
}

.post-entry-bottom a.custom-more-link {
    display: inline-block;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 15px;
    border: 1px solid #CECECE;
}

.post-entry-bottom a.custom-more-link:after {
    content: "\f178";
    font-family: "FontAwesome";
    font-size: 10px;
    padding-left: 7px;
}

.post-entry-bottom a.custom-more-link:hover {
    background-color: #CECECE;
    border-color: transparent;
    color: #000000;
}

.like-comment-buttons .post-views {
    display: inline-block;
    text-align: left;
    padding-right: 5px;
}

.like-comment-buttons a i {
    color: #AAAAAA;
    vertical-align: middle;
    font-size: 18px;
    padding-right: 5px;
    position: relative;
    top: -1px;
}

.like-comment-buttons a {
    color: inherit;
    font-weight: 500;
    text-transform: uppercase;
}

.cat {
    font-weight: 500;
    color: #00a8b5;
}

.cat a:hover {
    text-decoration: none;
    color: #2C2C2C;
}

ul.news-lists .post-header h2:before {
    margin: 5px 0;
}

.post.article-item {
    position: relative;
    padding-bottom: 0;
    margin-bottom: 0;
}

.post-view .post-featured-item {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.post-view .post-featured-item img {
    width: 100%;
}

.post-view .post-header {
    text-align: center;
    padding: 35px;
}
.post-view .post-header h1 {
    font-size: 35px;
    font-weight: bold;
}

.post-view .post-entry {
    clear: both;
}

.post-view .post-entry {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 30px 40px;
}

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

.post-line-bottom {
    border-top: 1px solid #eee;
    width: 100%;
    overflow: hidden;
}

.post-tags {
    font-size: 13px;
    font-style: italic;
    padding: 30px 40px;
    background-color: #fff;
    width: 50%;
    float: left;
}

.post-line-bottom a {
    color: inherit;
}

.post-line-bottom a:hover {
    color: #00a8b5;
}

.post-tags em:before {
    font-family: "FontAwesome";
    content: "\f02c";
    display: inline-block;
    font-size: 12px;
    margin-right: 5px;
    font-style: normal;
    margin-top: 1px;
}

.news-source-edition {
    font-size: 13px;
    font-style: italic;
    padding: 30px 40px;
    background-color: #fff;
    width: 26%;
    float: right;
}

.news-source-edition em:before {
    font-family: "FontAwesome";
    content: "\f1ea";
    display: inline-block;
    font-size: 12px;
    margin-right: 5px;
    font-style: normal;
    margin-top: 1px;
}

/*** Post related ***/
.related-posts {
    margin-top: 40px;
    padding: 40px 0;
    overflow: hidden;
}

.related-posts .related-posts-inner {
    margin-top: 20px;
}

.box-title-area .title {
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.box-title-area .title a {
    color: inherit;
}

.related-posts .item {
    width: 100%;
    display: inline-block;
    margin-right: 0;
    text-align: center;
    vertical-align: top;
    overflow: hidden;
}

.related-posts .item img {
    margin-bottom: 0;
    width: 100%;
    height: auto;
}

.related-post-image, .container.sidebar-open .related-post-image {
    height: auto;
    display: block;
    overflow: hidden;
    min-height: 167px;
}

.related-post-image {
    margin-bottom: 15px;
}

.related-posts .item a:hover {
    opacity: .95;
}

.related-posts .item h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 5px auto 0;
}

.related-posts .item h3 em {
    font-size: 14px;
    display: block;
    font-weight: 300;
}

.related-posts .item h3 a {
    color: #111;
}

.related-posts .item h3 a:hover {
    color: #00a8b5;
}

.related-posts .item span.date {
    font-size: 12px;
    font-style: italic;
    color: #AAA;
    display: block;
    margin-top: 3px;
}

.related-posts .item h3 a:hover {
    color: #00a8b5;
}

/*** Products related ***/
.page-main .block.news-products {
    margin-bottom: 0;
}

.news-products {
    display: inline-block;
    width: 100%;
    padding: 30px 0 0;
    text-align: center;
}

.news-products .products {
    margin: 0;
}

.news-products .products .product-item {
    padding: 0 20px 10px;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.05);
    background: #fff;
    margin-right: 20px;
}

.news-products .products .product-item:last-child {
    margin-right: 0;
}

.news-products .product-item-actions .actions-primary {
}

.news-products .products-grid .product-item {
    width: 100%;
}

.news-products .product-item-info {
    width: 100%;
}

.block.related .related-available .product-item-name {
    margin-left: 0;
}

.column.main .news-products .product-items {
    margin-left: 0;
}

/* Grid Layout */

.grid-layout .post-featured-item {
    overflow: hidden;
}

.grid-layout .post-featured-item img {
    width: 100%;
}

.grid-layout .post-header {
    text-align: center;
    margin: 0;
    position:absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 15px;
    right: 15px;
    z-index: 1;
}
.grid-layout .date-author {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
}

.grid-layout li.post {
    text-align: center;
}

.post-entry.full {
    padding: 30px 40px;
}

.like-comment-buttons-wrapper {
    display: block;
    float: right;
    margin: 8px 0 0;
}

.ias-noneleft {
    clear: both;
}

@media (max-width: 650px) {
    .related-posts .item {
        margin-bottom: 15px;
    }

    .post-tags, .news-source-edition {
        padding: 10px 20px;
        float: left;
        width: 100%;
    }

    .share-btn {
        margin-bottom: 5px;
    }

    .post-featured-item {
        position: static;
    }

    .list-layout .like-comment-buttons-wrapper {
        margin: 0;
    }
}


.grid-layout .image-link:after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000;
    display: block;
    opacity: .2;
}

@media (max-width: 410px) {
    .list-layout .like-comment-buttons-wrapper {
        float: none;
        margin: 0 auto;
        clear: both;
    }
}

@media (min-width: 768px) {
    ul.grid-layout.news-lists{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
        grid-gap: 1px;
        /** grid-auto-rows: minmax(20%, auto); **/
        grid-auto-flow: dense;
        padding: 1px;
    }
    ul.grid-layout.news-lists li.post:nth-child(3) {
        grid-column-end: span 2;
        grid-row-end: span 2;
    }

    ul.grid-layout.news-lists li.post:nth-child(6), ul.grid-layout.news-lists li.post:nth-child(7) {
        grid-column-end: span 2;
    }
    ul.grid-layout.news-lists li.post:nth-child(6) .post-canvas-image, ul.grid-layout.news-lists li.post:nth-child(7) .post-canvas-image {
        height: 305px;
        width: 200%;
    }
    ul.grid-layout.news-lists li.post:nth-child(9) {
        grid-column-end: span 2;
        grid-row-end: span 2;
    }

    .related-posts ul.grid-layout.news-lists li.post:nth-child(3) {
        grid-column-end: span 1;
        grid-row-end: span 1;
    }

    .news-page .ias-trigger,
    .news-page .ias-spinner{
        width:400%;
        margin-top:50px!important;
    }
    .news-page .ias-trigger .mgz-link{
        min-width: 180px;
    }
}

.news-page .ias-trigger,
.news-page .ias-spinner{
    text-align:center;
    margin-top:30px;
}

.news-page article#content .pages {
    visibility: hidden;
}

.pager .toolbar-amount {
    display: none !important;
}


.block-blog-search{
    max-width: 300px;
    margin: 0 auto 30px;

}

.block-blog-search #search_news {
    border-width: 0 0 1px;
    font-weight: 500;
    padding: 0 50px 0 0;
}
.block-blog-search #search_news::placeholder {
    color: #fff;
    opacity: 1;
}
.block-blog-search .field.search {
    position: relative;
}
.block-blog-search .actions {
    position: absolute;
    right: 0;
    top: 10px;
}
.block-blog-search .action.search {
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: right;
}

.widget_categories_horizontal{
    margin-bottom: 50px;
}
.widget_categories_horizontal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.widget_categories_horizontal li {
    display: inline-block;
    vertical-align: top;
    text-transform: uppercase;
}

.widget_categories_horizontal li a{
    color: #fff;
    padding: 10px 20px;
    background: #000;
    border: 1px #fff solid;
    display: block;
    text-decoration: none;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}
.news-index-index .widget_categories_horizontal li.cat-item-all a,
.widget_categories_horizontal li.active a,
.widget_categories_horizontal li a:hover{
    background: #fff;
    color: #000;
}


.date-author {
    font-size: 14px;
    color: #ddd;
}
.post-view.post.article-item .has-dropcap {
    line-height: .8;
    float: left;
    margin-top: -2px;
    font-size: 150px;
    font-weight: 500;
}
.post-view.post.article-item p{ margin-bottom:20px;}
.post-view.post.article-item td:first-child{ padding-left:0;}
.post-view.post.article-item td:last-child{ padding-right:0;}

.post-header h1 a, .post-header h2 a, .post-header h1, .post-header h2{
    text-transform: uppercase;
    font-weight: 600; font-size: 18px;
}


.post-canvas-image {
    max-width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    vertical-align: top;
}
