:root{
    --red_color:#CD1316;
    --font_size_xl:22px;
    --font_size_lg:19px;
    --font_size_md:16px;
    --font_size_sm:13px;
    --font_size:10px;

    --font_name: "Montserrat", sans-serif;
}

html,body {
    font-family: var(--font_name) !important;
}


.top_nav nav li a{
    color: #000;
    font-family: var(--font_name);
    font-weight: 500;
}
.top_nav nav li a:hover{
    color: var(--red_color);
}

.social ul{
    display: flex;
}

.social ul li{
    width: 40px;
    height: 40px;
    border: solid 2px #FFF;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}
.social ul li:first-child{
    margin-left: 0px;
}

.social ul li svg{
    max-width: 18px;
    max-height: 18px;
    fill: #FFF;
}

.topic{
    font-family: var(--font_name);
    font-weight: bold;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
}
.topic:before,.topic:after{
    content: "";
    width: 100%;
    height: 2px;
    background: #ccc;    
}
.topic span{
    padding: 0px 15px 0px 15px;
    z-index: 2;
    display: block;
    white-space: nowrap;
}

.post_list .item_post .thumb{
    position: relative;
    max-height: 300px;
}

.post_list .item_post .date{
    position: absolute;
    font-family: var(--font_name);
    line-height: 18px;
    text-align: center;
    width: 50px;
    height: 50px;
    top: 20px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post_list .item_post .content{
    background: #333;
    color: #FFF;
}
.post_list .item_post .content p{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.post_list .item_post .content h3{
    position: relative;
}
.post_list .item_post .content h3:before{
    content: "";
    width: 60%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: -5px;
    background: rgba(255, 255, 255, .5);
}

.post_list .item_post .content a{
    color: #FFF;
}

.btn.bg-light:hover{
    color: #333;
}

.hr-top{
    border-top: solid 1px #ccc;
    position: relative;
}
.hr-top:after{
    content: "";
    width: 50px;
    height: 3px;
    position: absolute;
    top: -2px;
    left: 0px;
    background: var(--red_color);
}
.post_list .item_post img{
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}
.post_list .item_post h3 a{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.bao-gia {
        position: relative;
        overflow: hidden;
    }
     .bao-gia .bg{
        position: absolute;
        display: flex;
        top: 0px;
        left: 0px;
        z-index: 0;
        height: 100%;
        width: 100%;
     }
     .bao-gia .bg img{
        height: 100%;
        object-fit: cover;
        width: 50%;
     }
     .topic1{
        position: relative;
     }

     @media(max-width: 576px){
        .bao-gia .bg{
            position: relative;
        }
        .bao-gia .bg{
            display: flex;
            flex-direction: column;
        }
        .bao-gia .bg img{
            height: 300px;
            width: 100%;
            max-width: unset;
            object-fit: cover;
         }
     }
     .topic1:after{
        content: "";
        width: 100px;
        height: 2px;
        background: #FFF;
        position: absolute;
        bottom: -10px;
        left: 0px;
     }
.bg_red .invalid-feedback {
color: yellow;
}


/*Cus*/

.ser-item{
                    min-width: 300px;
                    cursor: pointer;
                }
                .ser-item svg{
                    height: 60px !important;
                    width: auto;
                    margin-top: 5px;
                }
                 .ser-item svg path{
                    fill: var(--red_color);
                 }
                 .ser-item svg path{
                    fill: var(--red_color);
                 }

                 .ser-item:hover {
                    transform: translateY(-20px);
                    transition: all ease-in .2s;
                 }
                 .ser-item:hover{
                    background: var(--red_color) !important;
                 }
                 .ser-item:hover *{
                    color: #fff !important;
                    fill: #fff !important;
                 }

                 .ser-item:hover svg {
                    animation: rotate ease-in-out .8s;
                 }
                 .ser-item svg {
                    transition: ease-in-out .5s;
                 }

                 @keyframes rotate{
                    0% {
                        transform: rotate(0deg);
                    }

                    50% {
                        transform: rotate(180deg);
                    }

                    100% {
                        transform: rotate(360deg);
                    }
                 }

.item_contact svg{
                    height: 25px;
                    width: auto;
                }
                .item_contact .bg_icon{
                    background: var(--red_color);
                    width: 45px;
                    height: 45px;
                    border-radius: 3px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    transform: translateY(3px);
                }
                .item_contact .bg_icon svg path{
                    fill: #FFF;
                }

.item-product{
        transition: all ease-in-out .3s;
    }
    .item-product:hover{
        transform: scale(1.03);
        transition: all ease-in-out .3s;
    }

    .item-cs .box{
        box-shadow: 0px 6px 10px #CCC;
    }

    .item-post .thumb img, .item-cs .thumb img{
        transition: all ease-in-out .3s;
    }
    .item-post:hover .thumb img, .item-cs:hover .thumb img{
        transform: scale(1.05) rotate(-0.5deg);
    }

    .btn {
        cursor: pointer;
    }
    .btn.white{
        background: #FFF;
        border: solid 1px var(--red_color);
        cursor: pointer;
        color: var(--red_color) !important;
    }

    .btn.white:hover{
        background: var(--red_color);
        color: #FFF !important;
    }

    .btn.red{
        background: var(--red_color);
        border: solid 1px var(--red_color);
        cursor: pointer;
        color: #FFF !important;
    }

    .btn.red:hover{
        background: #FFF;
        color: var(--red_color) !important;
    }

    .item-post .thumb, .item-cs .thumb{
        height: 300px;
        border-radius: 5px 5px 0px 0px;
        overflow: hidden;
    }
    .item-post img, .item-cs img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }  


    @keyframes shake {
        0% { -webkit-transform: rotate(0) scale(1) skew(1deg); }
        10% {-webkit-transform: rotate(-25deg) scale(1) skew(1deg);}
        20% {-webkit-transform: rotate(25deg) scale(1) skew(1deg);}
        30% {-webkit-transform: rotate(-25deg) scale(1) skew(1deg);}
        40% {-webkit-transform: rotate(25deg) scale(1) skew(1deg);}
        50% {-webkit-transform: rotate(0) scale(1) skew(1deg);}
        100% {-webkit-transform: rotate(0) scale(1) skew(1deg);}
    }

    .cs_share:hover a {
      display: inline-block;
      animation: shake 0.8s ease-in-out infinite;
    }   