/* for blog tag module */

.tltblog-search-container {
    margin-top: 35px;
}

.tltblog-search {
    position: relative;
    margin: 0 0 15px 0;
}

.tltblog-search .search-btn {
    position: absolute;
    top: 1px;
    right: 0px;
}


/* end blog tag module */


/* for blog */

.tltblog-title h1 {
    font-size: 26px;
}

.tltblog-container {
    /* border-right: 1px solid #eee; */
}

.tltblog-gallery {
    margin: 30px 0 30px 0;
    text-align: center;
}

.tltblog-gallery img {
    width: 100px;
    height: 100px;
    margin: 0px;
}

.tltblog-image {
    margin: 0 0 15px 0;
    background-repeat: repeat;
    background-size: 100%;
    background-position: center center;
    background-color: #f0f0f0;
    width: 100%;
    padding-top: 60%;
    /* 5:3 Aspect Ratio */
}

.tltblog-gallery img {
    margin-top: 10px;
    transition: all 0.3s ease;
}

.tltblog-gallery img:hover {
    margin-top: 0px;
    opacity: 0.8;
}

.tltblog-description {
    margin: 30px 0 30px 0;
    font-family: sans-serif;
}

.tltblog-share {
    text-align: right;
    display: table;
    width: 100%;
}

.tltblog-share:before {
    content: "Share : ";
    font-size: 18px;
    line-height: 24px;
}

a.share-btn {
    display: grid;
    align-items: center;
    justify-content: center;
    float: right;
    margin: 0 3px;
    width: 30px;
    height: 30px;
    color: #fff;
    /* padding: 6px 10px; */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-decoration: none;
}

a.share-btn:hover {
    color: #fff;
    animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    text-decoration: none;
}

a.share-btn-twitter {
    background: #55adee;
}

a.share-btn-facebook {
    background: #3a5998;
}

.tltblog-description iframe {
    max-width: 100% !important;
    width: 100% !important;
}

.tltblog-description img {
    max-width: 100% !important;
}

.tltblog-swiper .product-thumb {
    border: none;
    overflow: auto;
    margin: 5px 10px 0 10px;
    transition: margin-top 0.3s ease;
}

.tltblog-swiper .product-thumb .caption {
    padding: 0;
    min-height: 50px;
}

.tltblog-swiper .product-thumb .caption h4 {
    font-weight: 500;
}

.tltblog-swiper .product-thumb .caption a {
    font-size: 14px;
    line-height: 19px;
    color: #333;
}

.tltblog-swiper .product-thumb:hover {
    margin-top: 0px;
}

.tltblog-swiper .product-thumb .price {
    color: #e05258;
    font-size: 16px;
}

.tltblog-swiper .swiper-button-next, .tltblog-swiper .swiper-container-rtl .swiper-button-prev {
    background-image: none;
    right: 0;
}


/* .tltblog-swiper .swiper-button-next, .tltblog-swiper .swiper-button-prev {
    display: grid;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #eee;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.tltblog-swiper .swiper-button-next:hover, .tltblog-swiper .swiper-button-prev:hover {
    width: 45px;
    height: 45px;
    opacity: 1;
} */

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}


/* end blog */


/* for blog tag */

.tltblog-container {
    /* border-right: 1px solid #eee; */
}

.tlttag-container .list-group a.active, .tlttag-container .list-group a.active:hover, .tlttag-container .list-group a:hover {
    background: #000;
}

.post-item {
    margin: 0 0px;
    position: relative;
    background: #fff;
    box-shadow: 0 1px 2px rgba(43, 59, 93, 0.30);
    margin-bottom: 2em;
}

.post-item .post-img {
    position: relative;
    overflow: hidden;
    background-repeat: repeat;
    background-size: 100%;
    background-position: center center;
    background-color: #f0f0f0;
    width: 100%;
    padding-top: 60%;
    /* 5:3 Aspect Ratio */
}

.post-item .post-img img {
    width: 100%;
    height: auto;
    display: none;
}

.post-item .over-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.30s ease;
}

.post-item:hover .over-layer {
    opacity: 1;
}

.post-item .post-link {
    margin: 0;
    padding: 0;
    position: relative;
    top: 45%;
    text-align: center;
}

.post-item .post-link li {
    display: inline-block;
    list-style: none;
    margin-right: 20px;
}

.post-item .post-link li a {
    color: #fff;
    font-size: 20px;
}

.post-item .post-link li a:hover {
    color: #ff8b3d;
    text-decoration: none;
}

.post-item .post-date {
    position: absolute;
    top: 10%;
    left: 4%;
}

.post-item .date {
    display: inline-block;
    border-radius: 3px 0 0 3px;
    padding: 5px 10px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background: #333;
    float: left;
}

.post-item .month {
    display: inline-block;
    border-radius: 0 3px 3px 0;
    padding: 5px 13px;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
    background: #ff8b3d;
    /* background: #000000; */
}

.post-item .post-content {
    padding: 30px;
}

.post-item .post-title {
    margin: 0 0 15px 0;
}

.post-item .post-title a {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
}

.post-item .post-title a:hover {
    text-decoration: none;
    color: #ff8b3d;
}

.post-item .post-description {
    font-size: 14px;
    line-height: 24px;
    color: #808080;
}

.post-item .read-more {
    color: #333;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    transition: color 0.20s linear;
}

.post-item .read-more:hover {
    text-decoration: none;
    color: #ff8b3d;
}

.post-item .read-more:after {
    content: "";
    position: absolute;
    width: 30%;
    display: block;
    border: 1px solid #ff8b3d;
    transition: all 0.30s ease;
}

.post-item .read-more:hover:after {
    width: 100%;
}

@media only screen and (max-width: 479px) {
    .post-item .month {
        font-size: 14px;
    }
    .post-item .date {
        font-size: 14px;
    }
}

.tltblog-module-swiper-more {
    text-align: right;
    margin: 15px 0 0 0;
}

.tltblog-module-swiper-more>a {
    color: #333
}

.swiper-viewport {
    margin-bottom: 5px !important;
}

@media (max-width: 767px) {
    .tltblog-module-swiper-more {
        text-align: center;
    }
}


/* end blog tag */


/* blog module */

.tltblog-module-swiper .tltblog-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0;
}

.tltblog-date {
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 20px;
    color: #fff;
    font-size: 12px;
    padding: 5px 5px 2px 5px;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    text-transform: uppercase;
}

.tltblog-date >span {
    display: block;
    font-size: 16px;
    line-height: 16px;
    font-weight: 600;
}

.tltblog-module-swiper .tltblog-header h3,
.tltblog-module-swiper .tltblog-header h1 {
    margin: 0 auto;
    display: inline-block;
    font-weight: 300;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    padding: 7px 0;
    font-size: 26px;
}

.tltblog-module-swiper .tltblog-header h3>span,
.tltblog-module-swiper .tltblog-header h1>span {
    font-weight: 600;
}

.tltblog-module-swiper .tltblog-container>div:nth-child(4n+3) .tltblog-thumbnail, 
.tltblog-module-swiper .tltblog-container>div:nth-child(4n) .tltblog-thumbnail {
    grid-area: 1/2/2/3;
}

.tltblog-module-swiper .tltblog-container>div:nth-child(4n+3) .tltblog-caption, .tltblog-module-swiper .tltblog-container>div:nth-child(4n) .tltblog-caption {
    grid-area: 1/1/2/2;
}

.tltblog-module-swiper  .tltblog-container>div:nth-child(4n+3) .tltblog-caption h1, .tltblog-module-swiper .tltblog-container>div:nth-child(4n) .tltblog-caption h1 {
    /* margin-top: 15px; */
}

.tltblog-thumbnail {
    overflow: hidden;
    position: relative;
}

.tltblog-thumbnail>a {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    padding-top: 65%;
    position: relative;
    display: block;
    transition: all .6s ease;
}

.tltblog-thumbnail>a:hover {
    transform: scale(1.1);
}

.tltblog-thumbnail img {
    display: none;
}

.tltblog-item {
    display: grid;
    grid-template-columns: 50% 50%;
}

.tltblog-caption {
    padding: 15px;
}

.tltblog-caption>h1 {
    font-size: 1rem;
    line-height: 1.3rem;
    font-weight: 500;
    margin: 0 0 15px 0;
    height: 40px;
    overflow: hidden;
}

.tltblog-caption>p {
    height: 58px;
    font-size: 0.9rem;
    line-height: 1.2rem;
    overflow: hidden;
}
.tltblog-header {
    margin: 0 0 30px 0;
    text-align: center;
}

@media (max-width: 767px) {
    .tltblog-module-swiper .tltblog-container {
        grid-template-columns: 1fr 1fr;
        grid-gap: 15px;
    }
    .tltblog-item {
        display: grid;
        grid-template-columns: 100%;
        /* border-bottom: 1px solid #ddd; */
    }
    .tltblog-caption {
        padding: 10px 0 10px 0;
    }
    .tltblog-caption>h1 {
        /* height: auto;
        overflow: unset; */
    }
    .tltblog-caption>p {
        /* height: auto;
        overflow: unset; */
    }
    .tltblog-module-swiper .tltblog-container>div:nth-child(4n+3) .tltblog-thumbnail, .tltblog-module-swiper .tltblog-container>div:nth-child(4n) .tltblog-thumbnail {
        grid-area: unset;
    }
    .tltblog-module-swiper .tltblog-container>div:nth-child(4n+3) .tltblog-caption, .tltblog-module-swiper .tltblog-container>div:nth-child(4n) .tltblog-caption {
        grid-area: unset;
    }
    .tltblog-module-swiper .tltblog-container>div:nth-child(4n+3) .tltblog-caption h1, .tltblog-module-swiper .tltblog-container>div:nth-child(4n) .tltblog-caption h1 {
        margin-top: inherit;
    }
    .tltblog-module-swiper .tltblog-header {
        margin-bottom: 15px;
    }
}


/* end blog module */