body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
}

img {
    width: 100%;
}

a, a:hover {
    text-decoration: none;
    color: #000;
}

.bg-white {
    background-color: #fff;
}

.bg-gray {
    background-color: #eceeef;
}

input:focus, textarea:focus {
    outline: none;
}

svg {
    width: 20px;
}
/*---------------------------- Home -----------------------*/
/* --- header ---- */
.drop-down {
    flex-direction: column;
    position: absolute;
    background: #d0021b;
    opacity: 0;
}
.menu li:hover .drop-down{
    opacity: 1;
}

.other:hover .drop-down {
    opacity: 1;
}

.header {
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.header__search form {
    display: flex;
}

.header__search input[type="text"] {
    width: 335px;
    padding: 5px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 30px;
}

.header__search button[type="submit"] {
    padding: 5px 10px;
    border: 1px solid #fff;
    border-left: none;
    cursor: pointer;
}

.search {
    background: transparent;
}

.header__action a {
    margin-left: 10px;
}

.header__nav {
    display: block;
    background-color: #d0021b;
}

.header__nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__nav li {
    margin: 0 10px;
}

.header__nav a {
    display: block;
    padding: 10px;
    color: #000;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

.header__toggle-menu {
    display: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.header__toggle-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .block-info-advertisement, .control-post {
    text-align: justify;
}
    .header__search {
        display: none;
    }

    .header__action {
        display: none;
    }

    .header__nav {
        background-color: #f1f1f1;
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
    }

    .header__nav.active {
        top: 70px;
        z-index: 999999;
    }

    .header__nav ul {
        display: block;
    }

    .header__nav li {
        margin: 10px 0;
    }

    .header__nav a {
        display: inline-block;
        padding: 10px;
        color: #333;
        text-decoration: none;
    }

    .header__toggle-menu {
        display: block;
    }

    .header__toggle-menu.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .header__toggle-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .header__toggle-menu.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
/*----------------*/
.desc li {
    list-style: none;
}

.desc {
    font-size: 14px;
    padding: 0;
}

.block-blog .title {
    font-size: 16px;
    font-weight: bold;
}

.button-post , .button-post:hover {
    background: #d0021b;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
}

.post .price a {
    color: #B91C1C;
    font-weight: bold;
}

.post .title {
    font-size: 16px;
    margin-top: 15px;
}

.post {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.post .item {
    width: 25%;
    padding: 10px;
}
.post>.item>a {
    aspect-ratio: 16/10;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: black;
    overflow: hidden;
}

.post>.item>a>img ,.related-post img{
    /* max-height: 100%; */
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.related-post img{
    aspect-ratio: 16/10;
}

.post .item img {
    width: 100%;
}

.hour , .wishlist {
    text-align: right;
}

.button-more {
    display: inline-block;
    border: 1px solid #d0021b;
    padding: 10px;
    margin-top: 25px;
}

.title-blog {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #d0021b;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.block-blog {
    background-color: #fff;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 15px;
}

.info-home, .bg-blog {
    background-color: #f4f4f4;
}

.bg-red {
    background-color: #d0021b;
}

.project .title {
    font-size: 16px;
}

.project .title img {
    width: auto;
}

.project {
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #e5e7eb;
}

.form .form-row {
    margin-bottom: 20px;
}
/*--------------- Sidebar ------------------*/
.sidebaritem, .list-tin-rao {
    padding: 15px;
}

.categoryitem:hover i {
    background-color: #d0021b;
    color: #fff;
    cursor: pointer;
}

.title-category {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.categoryitem {
    text-align: center;
}
.categoryitem p {
    font-size: 14px;
}

.categoryitem i {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: #f4f4f4;;
}
/* ------ PhÃ¡ÂºÂ§n page -----------*/
.content-page {
    padding: 10px;
}
/* ----- PhÃ¡ÂºÂ§n bÃ¡Â»â„¢ lÃ¡Â»Âc theo giÃƒÂ¡ ---- */
.price-filter {
    width: 100%;
}

.range-slider {
    width: 100%;
    height: 30px;
    margin-top: 1rem;
}

.price-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    margin-bottom: 0.5rem;
}

.price-list a {
    text-decoration: none;
    color: #212529;
}

.price-list a:hover {
    text-decoration: none;
    color: #0d6efd;
}
/* ----- Keyword Footer ------*/
.block-keywork ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.block-keywork ul li {
    display: flex;
    justify-content: left;
    width: calc((100% - 30px)/4);
}

.block-keywork ul li a {
    color: #777;
    font-size: 12px;
}
/*--- Contact -----*/
.info-conntact h1 {
    font-size: 20px;
    font-weight: bold;
}

.map iframe {
    width: 100%;
}
/*----- Footer -------*/
footer ul {
    list-style: none;
    padding: 0;
    font-size: 16px;
}

.info-ft li {
    line-height: 1.8;
}

.foooter {
    padding: 20px 0;
    background-color: #fff;
}

.foooter img {
    width: auto;
}

.title-line {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}
/*--- Form login ---*/
.login, .reset-pw, .register  {
    margin: 45px 0;
}

.login .title, .reset-pw .title, .register .title {
    color: #777;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.form-login {
    width: 30%;
    margin: 0 auto;
}

.form-login input {
    border: 1px solid #d1d5db;
    padding: 10px;
}

/*---- Blog ----*/
.heading-01, .heading-02 {
    font-size: 20px;
    font-weight: bold;
}

.date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
}

.item-blog {
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.block-content-post .price {
    font-weight: bold;
    color: #dc2626;
}

.block-item-post .location {
    color: #757575;
    font-size: 13px;
}

.block-info-advertisement .phone a {
    background-color: #419641;
    padding: 5px;
    color: #fff;
}

/*-- Sidebar ---*/
.sidebaritem h3 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
/*-- Tin rao ----*/
.block-info-advertisement .title {
    font-size: 24px;
    font-weight: bold;
}

.block-info-advertisement .price span {
    color: #dc2626;
    font-weight: bold;
}

.block-info-advertisement , .control-post{
    border-top: 1px solid #f2f5f8;
    padding: 15px 0;
}

ul.txt-desc {
    list-style: none;
    padding: 0;
}

.text-01 {
    font-size: 14px;
}

.bg-green {
    background-color: #f0f8f6;
    border: 1px solid #aad7ce;
}

.boder-01 {
    border-bottom: 1px solid #aad7ce;
    padding-bottom: 10px;
}

.heading-style-01 {
    background-color: #f2f5f8;
    padding: 10px;
    margin-top: 15px;
}

.block-item-post img {
    border-radius: 0;
}

.block-item-post {
    border: 1px solid #f2f5f8;
}

.block-content-post .title {
    font-size: 20px;
    margin-top: 15px;
}

.block-content-post {
    padding: 0 15px;
}

/*--- PhÃ¡ÂºÂ§n phÃƒÂ¢n trang ----*/
.pagination p {
    padding-top: 15px;
}

/*--- Slider tin rao ----*/
.vehicle-detail-banner .car-slider-desc {
    max-width: 180px;
    margin: 0 auto;
}
.banner-slider .slider.slider-for {
    max-width: 84%;
    padding-right: 35px;
}
.banner-slider .slider.slider-nav {
    max-width: 16%;
}
.banner-slider .slider.slider-for,
.banner-slider .slider.slider-nav {
    width: 100%;
    float: left;
}
.banner-slider .slider.slider-nav {
    height: 610px;
    overflow: hidden;

}
.slider-banner-image {
    height: 610px;
}
.banner-slider .slider.slider-nav {
    padding: 20px 0 0;
}
.slider-nav .slick-slide.thumbnail-image .thumbImg{
    max-width: 178px;
    height: 110px;
    margin: 0 auto;
    border: 1px solid #EBEBEB;
}
.slider-banner-image img,
.slider-nav .slick-slide.thumbnail-image .thumbImg img {
    height: 100%;
    width:100%;
    object-fit: cover;
}
.slick-vertical .slick-slide:active,
.slick-vertical .slick-slide:focus,
.slick-arrow:hover,
.slick-arrow:focus {
    border: 0;
    outline: 0;
}
.slider-nav .slick-slide.slick-current.thumbnail-image .thumbImg {
    border: 2px solid #196DB6;
}
.slider-nav .slick-slide.slick-current span {
    color: #196DB6;
}
.slider-nav .slick-slide {
    text-align: center;
}
.slider-nav .slick-slide span {
    font-size: 14px;
    display: block;
    padding: 5px 0 15px;
}
.slick-arrow {
    width: 100%;
    background-color: transparent;
    border: 0;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
    height: 18px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 99;
}
.slick-prev {
    top: 0;
}
.slick-next {
    bottom: 0;
    background-color: #fff;
}
.slick-prev.slick-arrow {
    background-image: url(../images/black-up-arrow.png);
}
.slick-next.slick-arrow {
    background-image: url(../images/black-down-arrow.png);
}

/*------------------------------- Mobile ----------------------------------------*/
@media (max-width: 767px) {
    .post .item {
        width: 100%;
    }

    .block-advertisement img {
        margin-bottom: 10px;
    }

    .form-login {
        width: 100%;
    }

}

/*-- Tin rao Slider --*/
@media screen and (max-width : 991px) {

    .banner-slider .slider.slider-for,
    .banner-slider .slider.slider-nav {
        max-width: 100%;
        float: none;
    }
    .banner-slider .slider.slider-for {
        padding-right: 0;
    }
    .banner-slider .slider.slider-nav {
        height: auto;
    }
    .slider-banner-image {
        height: 500px;
    }
    .slider.slider-nav.thumb-image {
        padding: 10px 30px 0;
    }
    .slider-nav .slick-slide span {
        padding: 5px 0;
    }
    .slick-arrow {
        padding: 0;
        width: 30px;
        height: 30px;
        top: 50%;
        bottom: 0;
        -webkit-transform: translateY(-50%) rotate(-90deg);
        -moz-transform: translateY(-50%) rotate(-90deg);
        -ms-transform: translateY(-50%) rotate(-90deg);
        transform: translateY(-50%) rotate(-90deg);
    }
    .slick-prev {
        left: 0;
        right: unset;
    }
    .slick-next {
        left: unset;
        right: 0;
        background-color: transparent;
    }
    .vehicle-detail-banner .car-slider-desc {
        max-width: 340px;
    }
    .bid-tag {
        padding: 10px 0 15px;
    }
    .slider.slider-nav.thumb-image {
        white-space: nowrap;
    }
    .thumbnail-image.slick-slide {
        padding: 0px 5px;
        min-width: 75px;
        display: inline-block;
    }
}

@media screen and (max-width : 767px) {
    .slider-banner-image {
        height: 400px;
    }
    .slider.slider-nav.thumb-image {
        padding: 0px 20px 0;
        margin: 10px 0px 0;
    }
    .slider-nav .slick-slide.thumbnail-image .thumbImg {
        max-width: 140px;
        height: 80px;
    }
    .slick-prev.slick-arrow {
        background-position: center 10px;
    }
    .slick-next.slick-arrow {
        background-position: center 10px, center;
    }
    .slider-nav .slick-slide span {
        font-size: 12px;
        white-space: normal;
    }
}

@media screen and (max-width: 580px) {
    .slider-banner-image {
        height:340px;
    }
}

@media screen and (max-width : 480px) {
    .slider-banner-image {
        height:280px;
    }
}
.tool i.fas.fa-trash-alt.fa-2x {
    font-size: 20px;
    padding: 5px;
}

.tool i.fas.fa-exchange-alt.fa-2x {
    font-size: 22px;
    padding: 5px;
}

.tool i.fas.fa-pen-square.fa-2x {
    font-size: 22px;
    padding: 5px;
}

.tool .form-check.form-switch {
    padding: 4px;
}
.screen-tool table td {
    padding: 10px 15px;
}
.tool a:hover {
    color: black;
}

.tool a {
    color: #575757;
}
.category-tin-rao .tinraoitem {
    margin-bottom: 10px;
}
.category-tin-rao .tinraoitem img{
    aspect-ratio: 16/10;
    object-fit: cover;
}
.rounded.rounded-pill.border {
    width: 450px;
}
.page-content table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #e1e1e1
}

.page-content table th {
    border: 1px solid #e1e1e1;
    height: 50px;
    text-align: center;
    background: #135eac;
    font-weight: 700;
    font-size: 14px;
    color: #fff
}

.page-content table th img.premium {
    display: inline-block;
    margin-top: -6px;
    margin-right: 3px
}

.page-content table th.bg-red {
    background: #e23838!important
}

.page-content table th.bg-light-black {
    background: #888!important
}

.page-content table td {
    border: 1px solid #e1e1e1;
    height: 80px!important;
    font-size: 14px;
    text-align: center;
    color: #222;
    line-height: 20px;
    padding: 0 20px
}

.page-content table td:first-child {
    text-align: left;
    font-weight: 700;
    padding-left: 20px
}
.content img {
    min-width: 80%;
    max-width: 100%;
    height: auto!important;
    display: block;
    margin: 15px auto;
    border-radius: 5px;
}
