/*module banner*/
.module_banner .banner-item {
    margin-bottom: 19.5px;
    position: relative;
    overflow: hidden;
}
.module_banner .banner-item:before{
    content: "";
    position: absolute;
    top: 0;
    left: -15%;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transition: none;
    transition: none;
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.module_banner .banner-item:hover:before {
    width: 120%;
    background-color: rgba(255, 255, 255, 0);
    -webkit-transition: all .45s ease-out;
    transition: all .45s ease-out;
    z-index: 2;
}

/*module slideshow*/
.slideshow .owl-theme .owl-dots {
    margin: 0;
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
}
.slideshow .owl-theme .owl-dots .owl-dot span {
    background: #7f480e;
    width: 7px;
    height: 7px;
    margin: 0 4px;
}
.slideshow .owl-theme .owl-dots .owl-dot.active span, 
.slideshow .owl-theme .owl-dots .owl-dot:hover span{
    background: #ffbf00;
}

/* info home */
.md-info-home a.view-more {
    font-style: italic;
    color: var(--main-color);
    text-decoration: underline;
}

/* md product by cat */
.product-by-cat {
    margin-bottom: 20px;
}
.slide-product-by-cat.owl-theme .owl-nav button {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    text-align: center;
    margin: -28px 0 0;
    line-height: 45px;
    font-size: 43px;
    background: rgb(143 143 143 / 50%);
    color: #fff;
    border-radius: 50%;
    outline: none!important;
}
.slide-product-by-cat.owl-theme .owl-nav button.owl-prev {
    left: 0;
}
.slide-product-by-cat.owl-theme .owl-nav button.owl-next {
    right: 0;
}
.slide-product-by-cat.owl-theme .owl-nav button:hover {
    background: rgb(143 143 143 / 80%);
}

/* news by cat */
.news-by-categories {
    background: #fff;
    padding: 30px 0;
}
.news-by-categories .item-news {
    margin-bottom: 6px;
    border-radius: 8px;
    overflow: hidden;
}
.news-by-categories .item-news a {
    display: block;
    position: relative;
}
.news-by-categories .item-news a:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: -webkit-gradient(linear, left bottom, left top, from(#666), to(transparent));
    background: linear-gradient(0deg, #222, transparent);
    z-index: 1;
    height: 80%;
}
.news-by-categories .item-news img {
    transition: 0.5s all;
    width: 100%;
}
.news-by-categories .item-news:hover img {
    transform: scale(1.2);
}
.news-by-categories .item-news .title-group {
    padding: 0 14px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 19px;
    z-index: 1;
    color: #e9e9e9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.news-by-categories .item-news .time,
.box-news-content .info-p .time {
    width: 58px;
    height: 67px;
    border-radius: 6px;
    border: 1px solid #fff;
    margin-right: 13px;
    padding: 0 5px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.box-news-content .info-p .time {
    border-color: #000;
}
.news-by-categories .item-news .time .day,
.box-news-content .info-p .time .day {
    display: block;
    border-bottom: 1px dashed #fff;
    font-size: 16px;
}
.news-by-categories .item-news .time .year,
.box-news-content .info-p .time .year {
    font-size: 20px;
    font-weight: bold;
}
.news-by-categories .item-news .news-title,
.box-news-content .info-p .text {
    width: calc(100% - 71px);
    font-weight: 500;
    overflow: hidden;
    max-height: 62px;
}
.box-news-content .info-p .text {
    max-height: unset;
}
.box-news-content .info-p .text .name a {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}
.box-news-content .info-p .text .excerpt {
    font-weight: 300;
}

/* product featured */
.item-column .box-product_ {
    border-radius: 0;
}
.item-column .box-product_ .image {
    width: 180px;
    float: left;
    margin-bottom: 0;
    border-radius: 8px;
}
.box-product_ .image .item-hot {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 20px;
    background-image: url(../image/icon-hot.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.item-column .box-product_ .info-p {
    width: calc(100% - 180px);
    float: left;
    padding-left: 10px;
}
.item-column .box-product_ .info-p .name a,
.item-column .box-product_ .price {
    text-align: left;
}

/* popup */
.box.md-popup .img {
    text-align: center;
    position: relative;
}
.box.md-popup .modal-content {
    background: transparent;
    border: 0;
    box-shadow: unset;
}
.box.md-popup .img button.close {
    width: 40px;
    height: 40px;
    line-height: 38px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 1;
    text-shadow: unset;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 36px;
    color: #ffff;
    cursor: pointer;
}