/* Fix Style */
.header .img-logo {
    width: 275px;
}
.header .tool .btn {
    min-width: 95px;
}
.submenu .submenu-inner {
    padding-left: 315px;
}
.header-device .tbcell.a-left,
.header-device .tbcell.a-right {
    width: 25%;
}
.header-device .tbcell.a-center {
    width: 50%;
}

.two-columns .content-intro .img {
    width: 100%;
}
.two-columns .content-intro .img-intro {
    margin: 40px auto 60px;
}

.tabs-list-bar a.tab-trigger {
    font-size: 16px;
    font-weight: normal;
}

.section .content-box .sc-img:first-child {
    margin-top: 0;
}

.localnav .sortby-title { color: #999;}

/* New Style */
.icw .nowrap {
    white-space: nowrap;
}

.content-group {
    margin-bottom: 60px;
}
.content-group:last-child {
    margin-bottom: 0;
}
.content-group .content-heading {
    font-family: 'DBThaiTextX';
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.content-group .content-area {
    padding-top: 30px;
}

.nav-compare {
    padding: 5px 0;
    background-color: #fff;
    z-index: 1;
}
.nav-compare ul,
.nav-compare li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-compare ul {
    position: relative;
    width: 100%;
    font-size: 0;
    line-height: 50px;
    text-align: center;
    color: #fff;
    background-color: #00a950;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.nav-compare li {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    font-size: 16px;
    font-weight: normal;
    white-space: nowrap;
    color: inherit;
    border-left: 1px solid #eee;
}
.nav-compare li:first-child {
    border-left: 0;
}

.table.table-compare tr th:first-child,
.table.table-compare tr td:first-child {
    padding-left: 0;
}
.table.table-compare tr th:last-child,
.table.table-compare tr td:last-child {
    padding-right: 0;
}
.table.table-compare thead th,
.table.table-compare thead td {
    padding-top: 0;
}
.table.table-compare tbody td {
    width: 50%;
}

.compare-group .table-compare {
    margin-top: 60px;
}
.table-compare .ic-img {
    display: inline-block;
    vertical-align: bottom;
    line-height: 1;
    width: 30px;
    margin-right: 10px;
}

/* Content 2 Columns */
.content-2columns .image {
    width: 505px;
    max-width: 100%;
    padding-right: 15px;
    margin-bottom: 30px;
}
.content-2columns .image > img {
    display: block;
    width: 100%;
}
.content-2columns .sc-headline {
    text-align: left;
}

/*========== Property ==========*/
.thumbnail-price .meta .title,
.thumbnail-price .meta .subtitle,
.thumbnail-price .meta .price,
.thumbnail-price .meta .installment,
.prop-detail .prop-name,
.prop-detail .title,
.prop-detail .value .price {
    font-family: 'DBThaiTextXBd', Helvetica, Arial, sans-serif;
    font-weight: normal;
    line-height: 0.8;
}
/* Thumbnail */
.thumbnail-price .image {
    border-bottom: 0;
}
.thumbnail-price .meta {
    padding: 15px 10px;
    height: auto !important;
}
.thumbnail-price .meta .title {
    color: #333;
    padding: 5px 0;
    font-size: 30px;
    padding-bottom: 0;
    height: 30px;
}
.thumbnail-price .meta .title>a {
    color: inherit;
}
.thumbnail-price .meta .subtitle {
    font-size: 22px;
    color: #999;
}
.thumbnail-price .meta .location,
.thumbnail-price .meta .price-title {
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
}
.thumbnail-price .meta .location {
    color: #bbb;
    margin-top: 10px;
}
.thumbnail-price .meta .location .ic {
    font-size: 10px;
}
.thumbnail-price .meta .location .ic-label {
    margin-left: 4px;   
}
.thumbnail-price .meta .price-box {
    margin-top: 15px;
}
.thumbnail-price .meta .price-title {
    display: block;
    color: #00a950;
}
.thumbnail-price .meta .price {
    display: block;
    font-size: 40px;
    color: #00a950;
    line-height: 0.7;
}
.thumbnail-price .meta .payment {
    font-size: 12px;
    font-weight: normal;
    color: #bbb;
    overflow: hidden;
    line-height: 20px;
}
.thumbnail-price .meta .payment:after {
    content: "";
    display: table;
    clear: both;
}
.thumbnail-price .meta .period {
    display: inline-block;
}
.thumbnail-price .meta .installment {
    font-size: 25px;
    float: right;
    line-height: 0.7;
}
/* End Thumbnail */
/* Detail */
.property-container:after,
.prop-image-gallery:after {
    content: "";
    display: table;
    clear: both;
}
.property-container {
    position: relative;
}
.property-container .heading {
    position: relative;
    margin-bottom: 25px;
}
.property-container .prop-detail-box {
    float: left;
    width: 33.7719298%;
}
.property-container .prop-image,
.property-container .prop-detail-other {
    float: right;
    width: 63.1578947%;
}
.prop-image-gallery {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}
.prop-image-gallery .item img {
    display: block;
    width: 100%;
}
.prop-image-gallery .slider-counter {
    position: absolute;
    bottom: 15px;
    left: 15px;
    clear: both;
    font-family: 'DBThaiTextXBd', Helvetica, Arial, sans-serif;
    line-height: 0.8;
    font-size: 30px;
    color: #fff;
    text-shadow: -1px 1px 20px rgba(0,0,0,0.2);
}
.prop-image-gallery .image-for {
    position: relative;
    width: 83.3333333%;
    float: left;
}
.prop-image-gallery .image-nav {
    position: relative;
    width: 15.9722222%;
    float: right;
    overflow: hidden;
}
.prop-image-gallery .slider-nav .item {
    border: 0;
    outline: none;
}
.prop-image-gallery .slider-nav.slick-vertical .item {
    border: 2px solid transparent;
    margin-bottom: 3px;
}
.prop-image-gallery .slider-nav.slick-vertical .item.slick-current {
    border-color: #00a950;
}
.prop-detail-group {
    position: relative;
}
.prop-detail-group .share-group {
    position: absolute;
    right: 0;
}
.prop-detail {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.prop-detail .prop-code {
    font-size: 14px;
    margin-bottom: 10px;
}
.prop-detail .prop-name {
    font-size: 40px;
}
.prop-detail .prop-name,
.prop-detail .prop-desc,
.prop-detail .title {
    color: #333;
}
.prop-detail .title {
    font-size: 25px;
}
.prop-detail .prop-desc {
    margin-top: 5px;
}
.prop-detail .value a {
    color: #00a950;
}
.prop-detail .value .price {
    font-size: 45px;
    line-height: 0.5;
}
.prop-detail .value .unit {
    margin-top: 3px;
}
.prop-action {
    text-align: center;
}
.prop-action p {
    margin-bottom: 15px;
}
.prop-action p:last-child {
    margin-bottom: 0;
}
.prop-action .qrcode {
    display: block;
    width: 100px;
    margin: 20px auto;
}
.prop-detail-box {
    position: relative;
    padding: 25px 30px;
    background-color: #fafafa;
}
.prop-detail-box .prop-detail .value {
    text-align: right;
}
.prop-detail-other .heading {
    margin-bottom: 0;
}
.prop-detail-other .heading + .prop-detail-group {
    margin-top: 25px;
}
.prop-detail-other .prop-detail-group {
    font-size: 0;
    margin: 0 -15px -25px;
}
.prop-detail-other .prop-detail-row {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding: 0 15px;
}
.prop-detail-other .prop-detail .value {
    font-size: 12px;
    margin-top: 5px;
}
.prop-related {
    clear: both;
    padding-top: 60px;
    background-color: #fff;
}
.prop-related .thumbnails {
    position: relative;
    margin-bottom: -40px;
}
/*========== End Property ==========*/


/* RWD */
@media screen and (min-width: 1200px) {
    
    .table.table-compare thead th,
    .table.table-compare thead td {
        font-size: 35px;
    }
    
}

@media screen and (max-width: 1199px) {
    
    .navmain .li-logo { width: 232px;}
    .submenu .submenu-inner { padding-left: 244px;}
    
    .compare-group .table-compare { margin-top: 30px;}
    
    /*========== Property ==========*/
    /* Thumbnail */
    .thumbnail-price .meta .title { font-size: 25px;}
    .thumbnail-price .meta .subtitle { font-size: 20px;}
    .thumbnail-price .meta .price { font-size: 30px;}
    /*========== End Property ==========*/
    
}

@media screen and (max-width: 1024px) {
    
    .img-logo, 
    .header .img-logo {
        width: 165px;
    }
    
}

@media screen and (min-width: 992px) {
    
    .prop-detail-other .prop-detail {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }    
    
}

@media screen and (max-width: 991px) {
    
    .section .sc-category { margin-bottom: 10px;}
    
    .highlight-branch-search .sc-inner { padding: 45px 0;}
    
    .nav-compare {
        margin: 0 -15px;
    }
    .nav-compare.fixto-fixed {
        top: 55px !important;
        z-index: 999;
    }
    .nav-compare ul {
        line-height: 45px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }
    
    .table.table-compare th,
    .table.table-compare td {
        padding-left: 15px;
        padding-right: 15px;
    }
    .table.table-compare thead th,
    .table.table-compare thead td {
        text-align: center;
    }
    
    .table-compare .ic-img {
        width: 25px;
    }
    
    /*========== Property ==========*/
    /* Detail */
    .prop-detail .prop-name { font-size: 30px;}
    .prop-detail .title { font-size: 22px;}
    .prop-detail .prop-code { font-size: 12px;}
    .prop-detail-box { padding-left: 20px; padding-right: 20px;}
    .prop-detail-other .prop-detail-group { margin: 0 -10px -15px;}
    .prop-detail-other .prop-detail-row { padding: 0 10px;}
    .prop-image-gallery .image-for, .prop-image-gallery .image-nav { width: 100%; float: none;}
    .prop-image-gallery .image-nav { padding: 3px 0;}
    .prop-image-gallery .slider-nav .item { border: 2px solid transparent; margin-right: 2px;}
    .prop-image-gallery .slider-nav .item.slick-current { border-color: #00a950;}
    .prop-image-gallery .slider-counter { font-size: 25px;}
    /*========== End Property ==========*/
    
}

@media screen and (min-width: 768px) {
    
    /*========== Property ==========*/
    /* Detail */
    .prop-detail-other .heading {
        pointer-events: none;
    }
    .prop-detail-other .prop-detail-group { 
        display: block !important;
        height: auto !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    .prop-detail-other .heading + .prop-detail-group { 
        margin-top: 25px !important; 
        margin-bottom: -25px !important;
    }
    /*========== End Property ==========*/
    
}

@media screen and (max-width: 767px) {
    
    .section-all-fixed .sc-inner {
        padding: 75px 0;
    }
    
    .thumbnail-alignment .caption-inner { text-align: left !important;}

    .content-2columns .image { width: 100%; padding-right: 0;}
    
    .highlight-branch-search .sc-inner { padding: 40px 0;}
    
    /*========== Property ==========*/
    /* Thumbnail */
    .thumbnail-alignment.thumbnail-price {
        display: table;
        width: 100%;
    }
    .thumbnail-alignment.thumbnail-price .meta .title {
        font-size: 25px;
        width: 100%;
        height: 25px;
        margin-top: 0;
    }
    .thumbnail-alignment.thumbnail-price .meta .subtitle {
        font-size: 20px;
    }
    .thumbnail-alignment.thumbnail-price .meta .location,
    .thumbnail-alignment.thumbnail-price .meta .price-title {
        font-size: 10px;
    }
    .thumbnail-alignment.thumbnail-price .meta .location {
        margin-top: 7px;
    }
    .thumbnail-alignment.thumbnail-price .meta .location .ic {
        font-size: 9px;
    }
    .thumbnail-alignment.thumbnail-price .meta .price-box {
        margin-top: 10px;
    }
    .thumbnail-alignment.thumbnail-price .meta .price-title,
    .thumbnail-alignment.thumbnail-price .meta .price {
        display: inline;
    }
    .thumbnail-alignment.thumbnail-price .meta .price {
        font-size: 25px;
    }
    .thumbnail-alignment.thumbnail-price .meta .payment {
        font-size: 10px;
        line-height: 15px;
    }
    .thumbnail-alignment.thumbnail-price .meta .installment {
        font-size: 22px;
    }
    /* Detail */
    .property-container {
        margin: -40px -15px 0;
    }
    .property-container .prop-image,
    .property-container .prop-detail-box,
    .property-container .prop-detail-other {
        width: 100%;
        float: none;
    }
    .prop-image-gallery {
        margin-bottom: 0;
    }
    .prop-image-gallery .image-for {
        width: initial;
    }
    .prop-image-gallery .image-nav {
        padding: 3px 4px;
    }
    .prop-image,
    .prop-detail-box,
    .prop-detail-other {
        background-color: #fafafa;
    }
    .prop-detail-box,
    .prop-detail-other,
    .prop-related {
        padding: 25px 15px;
    }
    .prop-detail-other {
        border-top: 1px solid #eee;
    }
    .prop-detail-other .heading {
        cursor: pointer;
        transition: 0.2s ease-in-out;
    }
    .no-touch .prop-detail-other .heading:hover {
        color: #00a950;
    }
    .prop-detail-other .heading:after {
        font-family: 'icokbank';
        content: "\e90d";
        font-size: 14px;
        position: absolute;
        right: 0; top: 50%;
        -webkit-transform: translate(0%, -50%);
        -moz-transform: translate(0%, -50%);
        transform: translate(0%, -50%);
    }
    .prop-detail-other.active .heading:after {
        content: "\e90e";
    }
    .prop-detail-other .prop-detail-group {
        margin: 0;
        display: none;
    }
    .prop-detail-other .prop-detail-row {
        display: block;
        padding: 0;
        width: 100%;
    }
    /*========== End Property ==========*/
    
}
