﻿/* 
CSS wrapper for: ViewDoiTac, ViewGioithieuL, ViewTintucL, ViewMuabanL, searchview
CSS part:
 - header for showcat
 - breadcrumb for showcat
 - product for viewmuaban
 - recent news for viewmuaban
 - viewtintuc
 - viewdoitac
 - fix more problems
*/

/* start fix header */
.tree-nav>li:first-child a {
    padding-left: 0px;
}
/* end fix header */

/* start fix breadcumb for showcat */
@media screen and (min-width: 992px) {
    .main-content>.container>.row>.breadcrumb-block>.breadcrumb {
        padding-left: 0px;
    }
    /* fix search view */
    .main-content > .fix-search{
        padding-left: 0px;
        padding-right: 0px;
    }
}
.main-content>.container>.breadcrumb-block>.breadcrumb {
    padding-left: 0px;
}

.News_details .breadcrumb-block {
    padding: 0px;
}

.breadcrumb {
    background-color: unset;
}
/* end fix breadcumb for showcat */

/* start fix product viewmuaban */
ul.link-hover-blue li:hover {
    cursor: pointer;
    box-shadow: 0 2px 8px rgb(3 44 71 / 12%);
    border: 1px solid #ebedf0;
}

.right-img {
    float: left;
    width: 120px
}

.right-img img {
    width: 12rem;
    height: 5rem;
    object-fit: cover;
}

.right-title {
    width: calc(100% - 120px);
    float: right;
    padding: 0 0px 0px 16px;
    overflow: hidden;
}

.right-title h4 {
    font-size: 13px;
    display: -webkit-box;
    overflow: hidden !important;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.time-post {
    width: 100%;
    clear: both;
    padding: 10px 0;
}

.time-post p {
    margin: 0 !important;
    padding: 0 !important;
}

.time-post .right-address {
    font-size: 13px;
    color: #747c87;
    font-weight: 600;
}

.nav-menu .block-static-page>li.expand a:after {
    mask: url(/img/icons/arrow-up-gray.svg) no-repeat center/12px auto;
    -webkit-mask: url(/img/icons/arrow-up-gray.svg) no-repeat center/12px auto;
}

.col-md-8, .col-sm-2, .col-sm-8 {
    padding-left: 15px;
    padding-right: 15px;
}



.product-item {
    border: 1px solid #ebedf0;
    box-sizing: border-box;
    border-radius: 4px;
    margin-bottom: 16px;
    position: relative;
}

.product-item:hover {
    cursor: pointer;
    box-shadow: 0 2px 8px rgb(3 44 71 / 12%);
}

.product-item .product-image {
    width: 224px;
    min-height: 220px;
    float: left;
    position: relative;
}

.vip0.vipaddon .product-image:before, .vip1.vipaddon .product-image:before {
    content: url(/img/icons/new-hot-tag.svg);
    position: absolute;
    top: 8px;
    left: -4px;
    width: 76px;
    height: 24px;
    z-index: 9;
}

.product-item .product-image .product-avatar {
    display: block;
}

.product-item .product-image .product-avatar img {
    width: 100%;
    height: 220px;
    vertical-align: top;
    object-fit: cover;
    border-radius: 4px;
}

.vipaddon .product-image .product-avatar img:first-child {
    width: 100%;
    height: 220px;
    border-radius: 4px 0 0 0;
}

.vipaddon .product-image .product-avatar:after {
    content: "";
    display: table;
    clear: both;
}

.product-lists .product-main {
    width: calc(100% - 224px);
    float: right;
    padding: 12px 16px 14px 16px;
    overflow: hidden;
}

.product-lists .product-title .product-link {
    font-size: 15px;
    display: block;
    font-weight: 500;
    display: -webkit-box;
    overflow: hidden !important;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
}

.product-lists .vip0 .product-title .product-link {
    color: #c12f25;
    text-indent: 20px;
    text-transform: uppercase;
    background: url(/img/icons/ic_star.svg) no-repeat left 0;
}

.product-lists .vip0 .product-title .product-link span {
    color: #c12f25;
}

.product-lists .product-title .product-link span {
    font-weight: 500;
}

.product-lists .product-info {
    margin-bottom: 8px;
}

.product-lists .product-info .price, .product-lists .product-info .area {
    font-weight: bold;
}

.product-lists .product-info span {
    color: #2c2f36;
    display: block;
    float: left;
}

.product-lists .product-info span {
    color: #2c2f36;
    display: block;
    float: left;
}

.product-lists .product-info .price, .product-lists .product-info .area {
    font-weight: bold;
}

.product-lists .vipaddon .product-info .location {
    display: block;
    margin-top: 8px;
    clear: both;
}

.product-lists .product-info:after {
    content: "";
    display: table;
    clear: both;
}

.product-lists .product-content {
    color: #747c87;
    display: -webkit-box;
    overflow: hidden !important;
    -webkit-line-clamp: 2;
    position: relative;
    text-overflow: ellipsis;
    white-space: normal;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    line-height: 20px;
}

.product-lists .product-wrap {
    position: absolute;
    width: calc(100% - 224px);
    bottom: 8px;
    right: 0;
    background: #fff;
    padding: 0 16px;
}

.product-lists .product-wrap .product-uptime {
    line-height: 34px;
}

.product-lists .product-wrap .product-uptime {
    color: #747c87;
    float: left;
    width: 22%;
    position: relative;
    cursor: pointer;
    line-height: 32px;
}

.product-lists .product-wrap .product-contact {
    float: right;
    width: 78%;
    text-align: right;
}

.product-lists .product-wrap .contact-name {
    color: #2c2f36;
    margin-right: 8px;
    max-width: 153px;
    display: inline-block;
}

.group-buttoms .btn-phone {
    background-color: #65bd43;
    color: #fff;
    border: none;
}

.product-contact {
    text-align: right;
}

.product-info p {
    margin-bottom: 0px;
    color: #212529;
}

@media (max-width: 992px) {
    .product-item {
        display: flex;
        flex-direction: column;
    }

    .product-image {
        width: 100% !important;
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    .product-avatar {
        width: 92%;
    }

    .product-lists .product-main {
        width: 100%;
    }
}

/* end fix product viewmuaban */

/* start recent news viewmuaban*/
.box-common .box-content li h3 a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    text-decoration: none;
}

.box-common {
    box-sizing: border-box;
    border-radius: 4px;
    padding: 0 10px;
    width: 100%;
    margin-bottom: 16px;
}

.box-common-border {
    border: 1px solid #ebedf0;
}

.box-common .box-title {
    padding: 10px 0;
    box-shadow: inset 0 -1px 0 #ebedf0;
    font-weight: 500;
    color: #2c2f36;
    font-size: 20px;
    text-transform: uppercase;
}


.box-common .box-content {
    padding: 12px 0;
    position: relative;
}

.box-common .box-content ul {
    overflow: hidden;
    padding: 0;
}

.box-common .box-content li {
    list-style: none;
    color: #474d57;
    margin-bottom: 20px;
    border-bottom: 1px solid #ebedf0;
    padding: 5px;
    text-align: justify;
}

.box-common .box-content li:last-child {
    border-bottom: none;
}

.box-common .box-content li a {
    color: #c12f25;
    font-size: 15px;
    line-height: 25px;
}

.box-common .box-content li a :hover {
    text-decoration: none;
}

.link-hover-blue a:hover, .link-hover-blue a:active {
    color: #004e7f;
    text-decoration: none;
}

.swiper {
    display: none !important;
}

@media (max-width: 992px) {
    .link-hover-blue {
        display: none !important;
    }

    .swiper {
        display: block !important;
    }
}
/* end recent news viewmuaban*/

/* start fix viewtintuc */
.bg-sidebar {
    border: 1px solid #ccc !important;
    border-radius: 0 0 5px 5px;
    margin-bottom: 40px;
    box-shadow: 0px 0 3px rgb(1 41 112 / 10%);
}

.bg-sidebar .news-today {
    background-color: #1a4697;
    padding: 5px 0px;
}

.bg-sidebar .news-today h2 {
    color: #fff;
    font-size: 23px;
    text-align: center;
}

.bg-sidebar .blog-sidebar {
    padding-left: 8px;
    padding-right: 8px;
}

.blog-sidebar .sidebar-blog {
    height: 180px;
    padding: 40px 0;
    border-bottom: 1px dotted #1a4697;
}

.blog-sidebar .sidebar-blog:last-child {
    border-bottom: none;
}

.blog-sidebar .sidebar-blog .w-40 {
    width: 40%;
}

.blog-sidebar .sidebar-blog a img {
    width: 100%;
    height: 100px;
    min-height: auto !important;
}

.sidebar-blog .blog-text-right {
    width: 57%;
    margin-left: 3%;
}

.sidebar-blog .blog-text-right h3 {
    line-height: 20px;
}

h3.text-icon, .blog-text-right h3 a {
    font-size: 14px;
    color: #222;
}

.blog-sidebar.sidebar-blog .blog-text-right .count-s {
    letter-spacing: 0.5px;
}

.blog-sidebar.sidebar-blog .blog-text-right .count-s:before {
    margin-right: 5px;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f06e";
}

.scrollbar_sidebar {
    height: 880px;
    overflow-y: scroll;
    margin-bottom: 25px;
}

.post_title a, .post_readmore span {
    color: #212529;
}

.post_description>p {
    display: -webkit-box;
    overflow: hidden !important;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
}

.pagination {
    margin-top: 20px;
}

.home-section-favorite .block-head-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    color: #2b2b2b;
    margin-bottom: 20px;
    margin-top: 5px;
}
/* end fix viewtintuc */

/* start fix viewdoitac */
@media screen and (min-width: 992px) {
    .main-regis-partner .breadcrumb {
        padding-right: 0px;
        padding-left: 0px;
    }
}
/* end fix viewdoitac */

/* start fix more */
/* error image */
.card-head-img .no-image {
    content: url(/img/image/no-photo-sisu-md.svg);
    object-fit: scale-down !important;
    background-color: #F2F2F2;
    display: inline-block;
}

/* bottom of viewmuaban */
.divide {
    height: 1px;
    line-height: 1px;
    background: #ebedf0;
    width: 100%;
    margin: 16px 0;
    clear: both;
}

.product-seo-text {
    padding: 16px 0 8px 0;
}

.product-seo-text * {
    color: #747c87 !important;
    line-height: 24px !important;
    font-size: 14px;
    font-family: Roboto, Arial !important;
    margin-bottom: 15px;
}
/* end fix more */
