﻿/*==========  Non-Mobile First Method  ==========*/

@media (min-width : 1200px) {
    .container {
        width: 1000px;
    }
}

/* Large Devices, Wide Screens */

@media (max-width : 1200px) {
    .list-news {
        height: 396px;
    }

    .news iframe.twitter-timeline {
        max-height: 343px;
    }

    #page-desktop {
        margin-top: 0 !important;
    }
}

/* Medium Devices, Desktops */
@media (max-width : 992px) {
}
/* Small Devices, Tablets */
@media (min-width : 768px) {

    .dropdown:hover .dropdown-menu {display: block;}
}
/* Small Devices, Tablets */
@media (max-width : 768px) {
    .slogan-index .col-md-4 {max-height: none;}
    .s-info p {line-height: 17px;}
}
@media (max-width : 768px) and (min-width : 640px) {
.item-slide .s-right {padding: 0 20px;}
.service img, .box-service, .box-service-2 {height: 118px;}
.box-service h2, .box-service-2 h2, .box-service h2 b, .box-service-2 h2 b {
            font-size: 13px !important;
            padding: 51px 5px !important;
            line-height: 15px;
        }

    .s-info h1 {
        margin: 0;
    }

    .s-info p {
        line-height: 14px;
        font-size: 13px;
    }

    .list-news {
        height: 301px;
    }

    .news iframe.twitter-timeline {
        max-height: 255px;
    }

    #page-desktop {
        margin-top: -8px !important;
    }



    .h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small {
        font-size: 100%;
    }

    .box-service-2 h2 {
        color: #333 !important;
    }
}

@media screen and (max-width: 767px) {
.bot-sidebar-1 .col-data {width: 100%;}
.container { max-width: 480px;}
.list li a {font-size: 13px;}
}

@media (max-width : 667px) {
.news-content iframe 
{
    max-width: -webkit-fill-available;
}
    .nav.navbar-nav {
        margin: 0;
        padding-left: 15px;
    }
body.body-home {padding-top: 53px !important;}
#navigation .navbar {
    padding: 0 !important;
}
        header .navbar-default .navbar-nav > li > a, .dropdown-menu > li > a, .dropdown-menu > li > a {
            color: #666 !important;
        }

        header .navbar-default .navbar-nav > li {
            border-bottom: 1px solid #ddd;
        }

    .dropdown-menu li {
        border-bottom: none;
        float: inherit !important;
        width: inherit !important;
    }


    .dropdown-menu {
        position: inherit;
        top: auto;
        left: auto;
        z-index: 1000;
        float: none;
        min-width: 0;
        padding: 0;
        margin: 0;
        font-size: 14px;
        text-align: left;
        list-style: none;
        background-color: transparent;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        border: 1px solid #ccc;
        border: none;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        display: none;
    }

        .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
            background-color: transparent;
        }

    .navbar-brand {
        display: block !important;
    }

    #menu-home {
        display: block;
    }

    #content {
        margin: 0 auto;
    }

    #banner {
        display: none;
    }

    .item-slide .s-left, .item-slide .s-right {
        width: 100%;
    }


    .item-slide .s-right {
        padding: 0px 10px;
    }

    .s-right h1 {
        font-size: 14px;
        margin: 10px 0;
    }

    .s-right h2 {
        font-size: 15px;
    }

    .s-right p {
        font-size: 13px;
    }

    .p-left-0 {
        padding-left: 15px;
    }

    .p-right-0 {
        padding-right: 15px;
    }

    #post-date {
        display: none;
    }
.da-right h2 {
    padding: 30px 15px;
}

    /*#slick-slide {
        display: none;
    }*/

    .sk-left h1 {font-size: 31px; }
    /*.metro h4 {
        font-size: 13px;
    }*/

    .sk-right .day {
        font-size: 111px;
    }

    .da-right-p {
        font-size: 13px;
    }

    .more-news.col-md-4 {
        display: none;
    }

    .s-5:after {
        border-left: 16px solid transparent;
        border-right: 16px solid transparent;
        border-bottom: 13px solid #f1f4f7;
        bottom: 0;
        top: auto;
        right: 30%;
        position: absolute;
    }

    .list-news {
        background: #fff;
        height: auto;
    }

    #page-desktop {
        display: none;
    }

    .service .col-md-2 {
        padding: 0;
        margin-top: -1px;
    }

    .navbar-brand img {
        width: 120px;
    }
    .navbar-default .navbar-toggle {
        border: none;
    }

        .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
            background-color: transparent;
        }

    .navbar-nav {
        padding-left: 0 !important;
    }

    header .navbar-default .navbar-nav > li {
        padding: 5px 0;
        padding-left: 15px;
    }
    .cols-right ul li {height: 168px;}
    .marginpttm {height: 168px;margin-bottom: auto;}
    .h3Nails {height: 175px;}
    .cols-right, .marginpttm {padding-right: 0px !important;padding-left: 0px !important;}
    .titlepttm {padding-right: 4px; padding-left: 4px;}
    .footer-social {margin-right: 0px;}
    .col-data2 ul li {width: 50% !important;float: left;}
    .col-data ul li {width: 50%;float: left;}
    footer .container {width: inherit;}
    .project h3 {/* font-size: 12px; */}
    .home_price {font-size: 10px;}  
    .tieudeh3 {height:inherit}

}

/* Extra Small Devices, Phones */
@media (max-width : 480px) {
}

/* Custom, iPhone Retina */
@media (max-width : 320px) {
    .s-left, .s-right {
        width: 100% !important;
    }

    .box-service h2, .box-service-2 h2 {
        font-size: 19px;
    }
}


/* ---------- Icon thông tin chi tiết --------------*/
.ExI9 {margin-bottom: 10px;}
.CssGia {
    color: #c90927;
    font-weight: bold;
    line-height: 25px;
    font-size: 16px;
}
.LgZR {
    background-position: center center;
    display: inline-block;
    height: 24px;
    width: 24px;
    background-size: contain !important;
    vertical-align: middle;
    margin-right: 5px;
}
.BPgO {background: url('https://batdongsan.land/images/icon/icon_map.png') no-repeat;}
.GBan {background: url('https://batdongsan.land/images/icon/icon_giaban.png') no-repeat;}
.W6qJ {background: url('https://batdongsan.land/images/icon/price_m2.png') no-repeat;}
.BCqJ {background: url('https://batdongsan.land/images/icon/balconydirection.png') no-repeat;}
.Ur5mL {background: url('https://batdongsan.land/images/icon/icon_dientichdat.png') no-repeat;}
.We4X {background: url('https://batdongsan.land/images/icon/icon_dientichsudung.png') no-repeat;}
.SZ9T {background: url('https://batdongsan.land/images/icon/icon_phongngu.png') no-repeat;}
.GqMq {background: url('https://batdongsan.land/images/icon/icon_huongnha.png') no-repeat;}
.RyNf {background: url('https://batdongsan.land/images/icon/icon_phongvesinh.png') no-repeat;}
.R2jO {background: url('https://batdongsan.land/images/icon/icon_phaply.png') no-repeat;}
.OHew {background: url('https://batdongsan.land/images/icon/icon_chieungang.png') no-repeat;}
.R3P0 {background: url('https://batdongsan.land/images/icon/icon_chieudai.png') no-repeat;}
.NoTh {background: url('https://batdongsan.land/images/icon/icon_noithat.png') no-repeat;}
.HeXh {background: url('https://batdongsan.land/images/icon/icon_hemxehoi.png') no-repeat;}



/* ----- Show sản phẩm ----- */
.thumbnail a {
  position: relative;
  height: 0;
  overflow: hidden;
  display: block;
  padding-bottom: 100%;
}
.thumbnail a img {
  position: absolute;
  left: 0;
  min-height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
}

.thumbnail a:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.thumbnail a img {
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: 0.2s all ease-in-out, 0.4s transform ease-in-out;
}
.post-content{
    padding: 0;
    height: 79px;
}
.mgspham {border-bottom: dashed 1px #ffba00; padding: 10px 0;}


/* ------ Search ------ */

.mg-1170-container {
    width: 100%;
    margin: 0 auto;
}
#search-bar {
    height: 440px;
    background: #f2f2f2 url(../../images/icon/bg.jpg) center no-repeat;
    position: relative;
    padding-top: 95px;
    background-size: cover;
}
.search-bar {
    width: 100%;
    height: 160px;
    background-color: rgba(40,40,46,.6);
    margin: 0 auto;
    margin-top: 16px;
    border-radius: 4px;
    padding: 17px 24px 20px;
    text-align: left;
    float: left;
}
#search-bar .title {
    margin: 0 auto;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    text-align: left;
}
.search-bar .services {
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    list-style: none;
    color: #fff;
    font-size: 18px;
    line-height: 21px;
}
.search {
    position: relative;
    margin-top: 16px;
}
.search-keyword {
    width: 100%;
    float: left;
    position: relative;
}
.btn-search {
    display: block;
    float: right;
    line-height: 39px;
    background-color: #00deb6;
    color: #262637;
    border-radius: 4px;
    text-align: center;
    width: 100px;
    position: absolute;
    right: 4px;
    top: 4px;
}

.search-bar .services>li.active {
    border-bottom: 4px solid #00c8a4;
}
.search-bar .services>li {
    float: left;
    display: inline-block;
    padding: 0 5px 5px;
    cursor: pointer;
    margin: 0 25px;
    color: #fff;
}
.services a {color: #fff; text-decoration:none;}
.services a:hover {color: #fff !important;}
.search-keyword>input {
    width: 100%;
    height: 46px;
    border-radius: 4px;
    border: none;
    font-size: 16px;
    padding: 0;
    padding: 0 115px 0 32px;
    border: none;
    line-height: 46px;
    color: #262637;
}
.search-keyword>.fa {
    top: 0;
    padding: 0 10px;
    font-size: 16px;
    line-height: 46px;
    color: #b3b3b3;
    position: absolute;
}
input:focus {
    outline: none!important;
}
.btn-search:hover, .btn-search:focus {
    background-color: #00c8a4;
    color: #fff !important;
    outline: none;
    text-decoration: none;
}



/* ------ button đăng tin ------ */
.navbar-nav-user {
    float: left;
    height: 50px;
    display: block;
    margin: 0;
    list-style: none;
    padding: 10px 0;
    min-width: 173px;
}
.navbar-nav-user>li {
    position: relative;
    display: block;
    float: right;
    min-width: 26px;
}
.btn-mogi-1 {
    border: 1px solid #00deb6;
    border-radius: 3px;
    background-color: #f0f8f8;
    color: #262637;
    font-size: 14px;
    padding: 5px 10px;
    text-decoration: none;
    text-align: center;
    padding: 7px 0;
}
.navbar-nav-user>li a.btn {
    height: 28px;
    width: 80px;
    display: block;
    padding: 4px 0;
    margin: 3px 0;
    color: #262637;
    text-align: center;
}
.navbar-nav-user>li a.btn:hover {
    color: #262637 !important;
}