/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2018 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
.lastest_block {
    width: 100%;
    background: #fff;
}

.lastest_block .products-section-title {
    /* padding-bottom: 10px;
    border-bottom: 1px solid #e6e6e6; */
    margin-bottom: 0;
    margin-right: 15px;
}

.lastest_block #spe_res {
    /* margin: 0 -12px; */
}

.homeblog-inner {
    position: relative;

    width: 100%;
}

body .homeblog-inner li.blog-post {
    /* padding: 15px 15px; */
}


.homeblog-inner li .blog-item {
    margin-bottom: 0;
}

.blog-post .blog-item {
    overflow: hidden;
}

.blog-item {
    background-color: #fff;
    position: relative;
    margin-bottom: 30px;
    margin-top: 0;
    font-size: 13px;
    height: 100%;
}

.blog-item .blog-image {
    text-align: right;
    padding: 0;
    position: relative;
}

.blog-item .blog-content-wrap {
    padding: 0;
    background-color: #fff;
    text-align: left;
    clear: left;
}

.tmblog-latest .blog-item .blog-meta, .secondary-blog .blog-item .blog-meta {
    text-transform: uppercase;
    margin: 0;
    padding: 5px 0 5px;
    color: black;
    text-align: left;
    float: left;
    position: relative;
    width: 100%;
    display: block;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.blog-meta>span {
    color: #393e42;
    position: relative;
    text-transform: capitalize;
}

.blog-meta .date {
    opacity: 0.85;
    font: normal normal normal 10px/13px Roboto;
}
.blog-created {
    float: left;
    margin: 0;
    width: 100%;
}

.blog-item .blog-content-wrap {
    padding: 0;
    background-color: #fff;
    text-align: left;
    clear: left;
}

.blog-item .blog-info {
    padding: 0 10px 10px 10px;
}

#blog-grid {
    display: flex;
    gap: 20px;
}

#blog-grid > .blog-post {
    flex: 0 1 25%;
}

.blog-item .blog-item-tag {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: white;
    color: black;
    z-index: 1;
    padding: 5px 18px;
    border-bottom-right-radius: 50rem;
    border-top-right-radius: 50rem;
    border-left: 3px solid #C2D44E;

}

@media screen and (max-width: 768px) {
    #blog-grid {
        flex-wrap: nowrap;
        overflow-x: scroll;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    #blog-grid::-webkit-scrollbar {
        display: none;
    }
      
    #blog-grid > .blog-post {
        flex-basis: 277px;
        min-width: 277px;
    }

    body .homeblog-inner li.blog-post {
        padding: 15px 10px;
    }
}

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

.blog-item .blog-content-wrap .title {
    padding-bottom: 10px;
    margin-bottom: 0;
    font: normal normal 500 15px/20px Roboto;
}

.blog-item .blog-content-wrap .blog-shortinfo {
    line-height: 24px;
}

.blog-image .blogicons .readmore_link {
    font: normal normal 500 15px/20px Roboto;
}

body .blog-post .blog-item a img {
    height: 330px;
    object-fit: cover;
}

.blog-image .blogicons a {
    display: inline-block;
    color: white;
}

.lastest_block .customNavigation {
    right: 15px;
}
.customNavigation {
    position: absolute;
    z-index: 959;
    width: 100%;
    top: -48px;
    direction: ltr!important;
    right: 0;
}

.customNavigation a.prev {
    right: 40px;
}

.customNavigation a {
    color: #ccc;
    cursor: pointer;
    font-size: 0;
    height: 32px;
    line-height: 32px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    text-align: center;
    width: 32px;
    border: 1px solid #ccc;
}

.customNavigation a.next {
    right: 0;
}

.customNavigation a.prev:before {
    content: "\E314";
    font-family: "Material Icons";
    position: absolute;
    right: 2px;
    top: -1px;
    font-size: 25px;
}

.customNavigation a.next:before {
    content: "\E315";
    font-family: "Material Icons";
    position: absolute;
    right: 0;
    top: -1px;
    font-size: 25px;
}

.customNavigation a:hover {
    background: #C2D44E;
    border: 1px solid #C2D44E;
}

.customNavigation a:hover:before {
    color: #fff;
}

.blog-post .blog-item:hover .blog-image .blogicons {
    /* opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s; */
    opacity: 1;
}


.blog-image .blogicons {
    bottom: 0;
    height: 30px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    top: 0;
    opacity: 0;
    color: white;
    text-align: center;
}

.blog-post .blog-item a img:hover {
    /* transform: scale3d(1.05,1.05,1.05);
    -webkit-transform: scale3d(1.05,1.05,1.05);
    -ms-transform: scale3d(1.05,1.05,1.05);
    -o-transform: scale3d(1.05,1.05,1.05);
    -moz-transform: scale3d(1.05,1.05,1.05); */
}

.blog-post .blog-item a img:hover,
.blog-post .blog-item:hover a img
{
    filter: brightness(0.7);
}






.blog-post .blog-item a img {
    transition: all 0.3s ease-in-out 0s;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    transition-property: all;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* .blog-image .blogicons .icon:hover:before {
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    border-color: #fff;
    color: #000;
    background: #fff;
} */

.lastest_block .blog-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.lastest_block .blog-header .all-blog-posts {
    text-decoration: none;
}

.lastest_block .blog-header .all-blog-posts .link-all-blog-posts {
    margin-right: 0.5em;
    transition: margin-right 0.5s;
    color: #393E42;
    font: normal normal normal 16px/21px Roboto;
}

.lastest_block .blog-header .all-blog-posts .link-all-blog-posts:hover{
    margin-right: 1em;
}

@media (max-width: 480px) {
    /* .lastest_block .h1.products-section-title {
        padding-bottom: 50px;
    }

    .lastest_block .products-section-title {
        line-height: 30px;
        font-size: 18px;
        float: none;
        margin: 0 auto;
        text-align: center;
        left: 0;
        right: 0;
    } */

    .customNavigation {
        top: -45px !important;
        left: 0;
        z-index: 5;
        margin: 0 auto;
        float: none;
        text-align: center;
    }

    .customNavigation a.prev {
        float: none;
        left: -40px !important;
        right: 0 !important;
        margin: 0 auto;
        text-align: center;
    }

    .customNavigation a.next {
        float: none;
        left: 0 !important;
        right: -40px !important;
        margin: 0 auto;
        text-align: center;
    }

    .lastest_block .blog-header {
        flex-direction: column;
    }
}