﻿@import url("icopage.css");


@media screen and (min-width: 800px) {
    .showDesktop{
		display:inline !important;
	
	}
}



.navmain .li-logo { padding-right: 20px; }
.container-md { max-width: 1000px; }
.vertical-center {
    display: table;
    height: 100%;
}
.content-vertical-top {
    display: table-cell;
    vertical-align: top;
}
.content-vertical-center {
    display: table-cell;
    vertical-align: middle;
}
.content-vertical-bottom {
    display: table-cell;
    vertical-align: bottom;
}
/* Find Home Form */
.find-home-form { width: 100%; height: 92%; position: absolute; top: 0; }
.find-home-form .container { display: table; height: 100%; }
.find-home-form .form-middle { display: table-cell; vertical-align: middle; }
.find-home-form-block {
    max-width: 390px;
    float: right;
    background-color:rgba(255,255,255,0.5);
    text-align: center;
    padding: 20px 40px;
}
.find-home-form-block.icw-block { margin-bottom: 0; }
.find-home-form-block .icw-form .icw-input { padding: 10px 0; }
.find-home-form-block .action-form { margin-top: 10px; }
.find-home-form-block .icw-form input:focus + .overlabel { top: -11px; }
.find-home-form-block .icw-form .overlabel { top: 10px; }
.find-home-form-block .select .chosen-container-single .chosen-default { color: #333; }
.find-home-form-block .select:after { color: #00a94f; }
.find-home-form-block .btn {
    width: 100%;
    border: 1px solid #fff;
    font-size: 16px;
}

/* Form */
.form-hv-icon .icw-form .input-search input { padding-left: 40px; }
.form-hv-icon .icw-form .input-search .overlabel { padding-left: 45px; }
.form-hv-icon .icw-form .input-search .search-icon{
    position: absolute;
    left: 12px;
    top: 16px;
}
.form-hv-icon .icw-form .input-search .search-icon .ic { font-size: 25px; }

.search-filters-result { padding: 0px 0; }
.thumbnail-news .caption { height: 125px; }
.thumbnail-news.thumbnail-no-date .caption { height: 85px; }
.thumbnail-privileges .caption { height: 165px; }
.thumbnail-home-smile {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    -o-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.no-touch .thumbnail-home-smile:hover,
.no-touch a.thumbnail-home-smile:hover,
.no-touchevents .thumbnail-home-smile:hover,
.no-touchevents a.thumbnail-home-smile:hover {
    -webkit-box-shadow: 0 1px 10px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 10px 1px rgba(0,0,0,0.2);
    -o-box-shadow: 0 1px 10px 1px rgba(0,0,0,0.2);
    box-shadow: 0 1px 10px 1px rgba(0,0,0,0.2);
}
.thumbnail-home-smile,
a.thumbnail-home-smile {
    -webkit-transition: ease-in-out .2s;
    -moz-transition: ease-in-out .2s;
    -o-transition: ease-in-out .2s;
    transition: ease-in-out .2s;
}
.thumbnail-home-smile .caption {
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}
.thumbnail-home-smile .caption h3 {
    font-size: 18px;
    height: 52px;
    line-height: 1.5;
    overflow-y: hidden;
    margin-bottom: 5px;
}
.thumbnail-home-smile .caption .desc {
    max-height: 60px;
    margin-bottom: 10px;
    overflow: hidden;
}
.thumbnail-home-smile .caption .place {
    padding: 10px 0;
}
.thumbnail-home-smile .caption .place .ic{
    width: 20px;
    font-size: 20px;
    vertical-align: top;
    color: #00a950;
    text-align: center;
    margin-right: 10px;
}
.thumbnail-home-smile .caption .place span {
    color: #00a950;
    font-size: 16px;
    font-weight: bold;
}
.thumbnail-home-smile .caption .place li {
    margin-bottom: 5px;
}
.thumbnail-home-smile .caption .place .tag {
    background-color: #00a950;
    color: #fff;
    border-radius: 20px;
    width: 45px;
    text-align: center;
    border: 1px solid #00a950;
    margin-bottom: 10px;
}
.thumbnail-home-smile .caption .place .tag.rent {
    background-color: #fff;
    color: #00a950;
}
.thumbnail-home-smile .caption .prices {
    padding: 10px 0;
    color: #00a94f;
}
.thumbnail-home-smile .caption .price {
    font-size: 12px;
    line-height: 1;
}
.thumbnail-home-smile .caption .unit {
    font-weight: bold;
}
.thumbnail-home-smile .caption .unit span {
    font-size: 20px;
}
.sc-headline.hv-line {
    border-bottom: 3px solid #00a94f;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}
.sc-headline.hv-line .sc-heading {
    display: inline-block;
    color: #00a950;
    margin-bottom: 0;
}
.sc-headline .sc-action {
    position: absolute;
    right: 0;
    bottom: 20%;
    font-size: 13px;
}
.bannerads {
    width: 100%;
    display: inline-block;
}
.section-home { display: inline-block; }
.section-home .container { margin-left: -15px; }

/* Slick */
.filters-slider.slick-initialized .slick-slide { outline: 0; }
.filters-slider .slick-prev,
.filters-slider .slick-next { width: 30px; height: 40px; position: absolute; top: 45%; }
.filters-slider .slick-prev { left: -30px;  color: #fff !important; }
.filters-slider .slick-next { right: -30px; color: #fff !important; }
.filters-slider .slick-next:before,
.filters-slider .slick-prev:before {
    color: #00a950;
    font-family: 'icokbank';
    font-size: 30px;
}
.filters-slider .slick-next:before {
    content: "\e909";
}
.filters-slider .slick-prev:before {
    content: "\e908";
}
.filters-slider .slick-dotted.slick-slider,
.bannerads-slider .slick-dotted.slick-slider {
    margin-bottom: 30px;
}
.filters-slider .slick-dots,
.bannerads-slider .slick-dots {
    position: absolute;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.filters-slider .slick-dots {
    bottom: 10px;
}
.bannerads-slider .slick-dots {
    bottom: -18px;
}
.filters-slider .slick-dots li,
.bannerads-slider .slick-dots li {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.filters-slider .slick-dots li button,
.bannerads-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.filters-slider .slick-dots li button:hover,
.filters-slider .slick-dots li button:focus,
.bannerads-slider .slick-dots li button:hover,
.bannerads-slider .slick-dots li button:focus {
    outline: none;
}
.filters-slider .slick-dots li button:hover:before,
.filters-slider .slick-dots li button:focus:before,
.bannerads-slider .slick-dots li button:hover:before,
.bannerads-slider .slick-dots li button:focus:before {
    background-color: #fff;
    border: 1px solid #00a950;
    opacity: 1;
}
.filters-slider .slick-dots li button:before,
.bannerads-slider .slick-dots li button:before  {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    content: '';
    opacity: .25;
    background-color: black;
    border-radius: 50%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.filters-slider .slick-dots li.slick-active button:before,
.filters-slider .slick-dots li.slick-active button:before,
.bannerads-slider .slick-dots li.slick-active button:before,
.bannerads-slider .slick-dots li.slick-active button:before {
    background-color: #fff;
    border: 1px solid #00a950;
    opacity: 1;
}
.bannerads-slider .slick-prev,
.bannerads-slider .slick-next { display: none !important; }

.cal-result-box .td-unit { line-height: 1; }
.two-columns .action { text-align: center; margin-top: 40px; }
.two-columns .action .btn { margin-right: 10px; }
.two-columns .action .btn:last-child { margin-right: 0; }

/* Recommend Projects */
.recommend-projects-slider .master-slider .ms-info-wrap { vertical-align: bottom; }
.recommend-projects-slider .ms-info-box .heading {
    color: #333 !important;
    font-size: 30px;
    margin-bottom: 5px;
}
.recommend-projects-slider .ms-info-box .price {
    font-family: 'DBThaiTextX', Helvetica, Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
}
.recommend-projects-slider.c-white .ms-info-box .heading,
.recommend-projects-slider.c-white .ms-info-box .price {
    color: #fff !important;
}
.recommend-projects-slider.c-white .ms-info-box .tag {
    background-color: #00a950;
    color: #fff;
    border-radius: 20px;
    width: 45px;
    text-align: center;
    border: 1px solid #00a950;
    margin-bottom: 20px;
    font-family: 'DBThaiTextX', Helvetica, Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
}
.section-recommend-find-home { padding: 70px 0 0px 0; }
.recommend-find-home-block {
    height: 85px;
}
.recommend-find-home-block { padding: 0; margin-bottom: 0; }
.recommend-find-home-block .icw-form .icw-input { padding: 10px 0; }
.recommend-find-home-block .icw-form .icw-input input,
.recommend-find-home-block .icw-form .icw-input select,
.recommend-find-home-block .chosen-container-single .chosen-single { height: 45px; }
.recommend-find-home-block .select .chosen-container-single .chosen-default { color: #333; }
.recommend-find-home-block .select:after { color: #00a94f; }
.recommend-find-home-block .icw-form .overlabel { top: 12px; }
.recommend-find-home-block .icw-form input:focus + .overlabel { top: -14px; }
.recommend-find-home-block .chosen-container-single .chosen-single span { padding: 11px 0; }
.recommend-find-home-block .icw-form .icw-field { width: 100%; }
.recommend-find-home-block .icw-form .icw-field.icw-field-lg { width: 66%; }
.recommend-find-home-block .icw-form .icw-field.icw-field-sm { width: 22%; }
.recommend-find-home-block .icw-form .icw-field.icw-field-btn { width: 12%; }
.recommend-find-home-block .icw-form.second-hand-form .icw-field.icw-field-sm {
    width: 17%;
}
.recommend-find-home-block .icw-form.second-hand-form .icw-field.icw-field-btn { width: 15%; }
.recommend-find-home-block .fully-search {
    color: #00a950;
    font-size: 16px;
    cursor: pointer;
    text-align: right;
    margin-top: 20px;
}
.recommend-find-home-block .fully-search .ic {
    color: #00a950;
    margin-right: 8px;
}
.recommend-find-home-block.fully-search-detail {
    background-color: #fff;
    margin-top: -85px;
    position: relative;
    display: none;
}
.recommend-find-home-block.fully-search-detail .close {
    position: absolute;
    top: 0;
    right: 0;
}
.recommend-find-home-block.fully-search-detail .close .ic {
    color: #00a950;
    cursor: pointer;
}
.recommend-find-home-block .btn {
    width: 100%;
    padding: 9px 15px;
    margin-top: 12px;
}
/* HL Detail Slide */
.slider-detail .item {
    margin: 0 1px;
    outline: 0;
    width: 570px;
}
.slider-detail.slick-dotted.slick-slider { margin-bottom: 0; }
.slider-detail .slick-dots { bottom: 10px; }
.slider-detail .slick-dots li button {
    width: 10px;
    height: 10px;
}
.slider-detail .slick-dots li button:before {
    content: "";
    width: 10px;
    height: 10px;
    border: 1px solid #fff;
    background-color: #ccc;
    opacity: 1;
    border-radius: 50%;
}
.slider-detail .slick-dots li.slick-active button:before {
    opacity: 1;
    background-color: #fff;
    border: 1px solid #00a950;
}
/* End HL Detail Slide */
#calculator .calculator { margin: 0; border: 1px solid #eee; }
.sc-project-info .details .detail {
    width: 65%;
    float: left;
    font-size: 14px;
    color: #999;
    padding-right: 30px;
}
.sc-project-info .details .detail-left { width: 35%; float: left; }
.sc-project-info .details .detail h3 { font-size: 26px; }
.sc-project-info .details .detail-list {
    width: 100%;
    display: inline-block;
    margin-bottom: 20px;
}
.sc-project-info .details .detail-list.no-bt {
    margin-bottom: 0;
}
.sc-project-info .details .detail-list .left {
    width: 30%; float: left;
}
.sc-project-info .details .detail-list .right {
    width: 70%; float: left;
}
.sc-project-info .details .info-list {
    width: 50%;
    float: left;
    margin-bottom: 20px;
}
.sc-project-info .details .info-list strong { color: #333; font-weight: normal; }
.sc-project-info .details .info-list .num {
    font-size: 16px;
    font-weight: bold;
}
.sc-project-info .details .info-list .ic-page { margin-right: 10px; font-size: 18px; }
.detail-gallery {
    display: inline-block;
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: 20px;
}
.detail-gallery .list {
    width: 50%;
    float: left;
    margin-bottom: 5px;
    padding: 0 5px;
}
.detail-gallery .list .image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #eee;
    cursor: pointer;
}
.detail-gallery .list.last { position: relative; text-align: center; }
.detail-gallery .list.last .image {
    position: relative;
}
.detail-gallery .list.last .image:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
}
.detail-gallery .list.last .c-more {
    width: 100%;
    position: absolute;
    left: 0;
    top: 38%;
    color: #fff;
    z-index: 1;
}
.detail-gallery .list .image .img-bound {
    display: block;
    width: 100%;
}
.sc-project-info .details .detail-form {
    width: 100%;
    background-color: #fafafa;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 14px;
    display: inline-block;
}
.sc-project-info .details .detail-form .heading {
    font-family: 'DBThaiTextX', Helvetica, Arial, sans-serif;
    color: #00aa4b;
}
.sc-project-info .details .detail-img { text-align: center; }
.sc-project-info .details .detail-form .icw-block { margin-bottom: 0; }
.sc-project-info .details .detail-form .icw-form .icw-input {
    padding: 10px 0;
}
.sc-project-info .details .detail-form .icw-form .overlabel { top: 10px; }
.sc-project-info .details .detail-form .icw-form input:focus + .overlabel { top: -11px; }
.sc-project-info .details .detail-form .action-form { margin-top: 15px; }
.sc-project-info .details .detail-form .btn { width: 100%; }

/* Gallery */
.image-gallery {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
}
.image-gallery .item img {
    display: block;
    width: 100%;
}
.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);
}
.image-gallery .image-for {
    position: relative;
    width: 83.3333333%;
    float: left;
}
.image-gallery .image-nav {
    position: relative;
    width: 15.9722222%;
    float: right;
    overflow: hidden;
}
.image-gallery .slider-nav .item {
    border: 0;
    outline: none;
    padding: 2px 0;
}
.image-gallery .slider-nav .item img {
    border: 2px solid transparent;
    margin: 0;
}
.image-gallery .slider-nav .item.slick-current img {
    border-color: #00a950;
}
.image-gallery .slider-for .item .image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #eee;
}
.image-gallery .slider-for .item .image .img-bound {
    display: block;
    width: 100%;
}
.image-gallery .slider-nav .item .image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #eee;
    cursor: pointer;
}
.image-gallery .slider-nav .item .image .img-bound {
    display: block;
    width: 100%;
}
/* End Gallery */

.icw-form.consult-form .icw-fieldset-inner {
    padding: 0;
}

.house-plan-wrapper {
    width: 100%;
    display: inline-block;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 2px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 2px 1px rgba(0,0,0,0.2);
    -o-box-shadow: 0 1px 2px 1px rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.2);
}
.house-plan-img {
    width: 25%; float: left;
}
.house-plan-img .image { position: relative; }
.house-plan-detail {
    width: 75%; float: left; padding-left: 20px;
}
.house-plan-detail .heading {
    font-size: 30px;
}
.house-plan-lists {
    padding: 10px 20px 10px 0;
    width: 33.33333%;
    float: left;
}
.house-plan-list {
    width: 100%;
    float: left;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    color: #999;
}
.house-plan-list .left {
    width: 60%;
    float: left;
}
.house-plan-list .right {
    width: 40%;
    float: left;
    text-align: right;
}
.house-plan-list .unit,
.house-plan-list .num {
    color: #333
}
.house-plan-list .num {
    font-weight: bold;
}
.house-plan-img .house-plan-gallery {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
}
.house-plan-img .house-plan-gallery .ic {
    margin-right: 10px;
}
.house-plan-img .hidden {
    overflow: hidden;
    display: none;
    visibility: hidden;
}

/* Full Map */
/*
.full-map {
    position: relative;
    height: 400px;
}
.full-map .map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
}
.full-map .map img {
    width: 100%;
    height: 100%;
}
.map-content {
    position: absolute;
    width: 100%;
    height: 100%;
}
.map-details {
    max-width: 270px;
    background-color: #fff;
    padding: 20px;
}
.map-details .detail {
    padding: 20px 0;
    margin: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #999;
}
.map-details .detail .title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.map-details .detail .travel {
    margin-bottom: 10px;
}
.map-details .detail .travel .ic-page {
    margin-right: 10px;
    vertical-align: baseline;
}
*/
/* End Full Map */

@media screen and (min-width: 768px) {
    .highlight-slider.build-home-slider .ms-bullets.ms-dir-h {
        position: absolute;
        margin-top: 0;
        bottom: 25px;
    }
}

@media screen and (max-width:1200px) {
    .find-home-form { position: static; margin-top: 20px; }
    .find-home-form .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .find-home-form-block {
        max-width: 100%;
        background-color: #fafafa;
        float: none;
        margin: auto;
    }
    .filters-slider .slick-prev,
    .filters-slider .slick-next { display: none !important; }
    .house-plan-img { width: 50%; }
    .house-plan-detail { width: 50%; }
    .house-plan-lists { width: 100%; padding: 0; }
}

@media screen and (max-width:1024px) {
    .header-device .tool .btn { padding: 4px 8px; }
}

@media screen and (max-width:991px) {
    .sc-project-info .details .detail {
        width: 100%;
        padding-right: 0;
    }
    .sc-project-info .details .detail-left { width: 100%; }
    .image-gallery .image-for,
    .image-gallery .image-nav { width: 100%; float: none; margin-top: 4px;}
    .image-gallery .slider-nav .item { padding: 0 2px;}
    .image-gallery .slider-counter { font-size: 25px;}
    .house-plan-img {
        width: 100%;
    }
    .house-plan-detail {
        width: 100%;
        padding: 20px 0 0 0;
    }
    .detail-gallery .list { width: 33.333333%; }
}

@media screen and (max-width:767px) {
    .filter-result { float: left; }
    .filters-slider .slick-prev, .filters-slider .slick-next { display: none !important; }
    .recommend-projects-slider.c-white .ms-info-box .heading,
    .recommend-projects-slider.c-white .ms-info-box .price {
        color: #333 !important;
    }
    .section-recommend-find-home { padding: 40px 0 0 0; }
    .recommend-find-home-block { padding: 0; }
    .house-plan-wrapper { padding: 15px; }
    .section-home .container { padding: 0; margin-left: 0; margin-right: -15px; }
    .recommend-find-home-block { height: auto; }
    .recommend-find-home-block .icw-form .icw-field.icw-field-lg,
    .recommend-find-home-block .icw-form .icw-field.icw-field-sm,
    .recommend-find-home-block .icw-form .icw-field.icw-field-btn,
    .recommend-find-home-block .icw-form.second-hand-form .icw-field.icw-field-sm,
    .recommend-find-home-block .icw-form.second-hand-form .icw-field.icw-field-btn { width: 100%; }
    .recommend-find-home-block .fully-search { text-align: left; }
    .recommend-find-home-block.fully-search-detail {
        padding: 50px 0 30px 0;
        margin-top: -160px;
    }
}

@media screen and (max-width:640px) {

    .sc-project-info .details .detail-list .left {
        width: 100%;
        margin-bottom: 15px;
    }
    .sc-project-info .details .detail-list .right {
        width: 100%;
    }
    .full-map {
        height: auto;
        min-height: 400px;
    }
    .full-map .container {
        background-color: #fafafa;
    }
    .full-map .map {
        position: static;
        height: 400px;
    }
    .map-content { position: static; }
    .map-details {
        max-width: 100%;
        padding: 30px 0;
        text-align: center;
        background-color: #fafafa;
    }
    .map-details .detail {
        border: 0;
        padding: 10px 0;
        margin: 10px 0;
    }
    .sc-project-info .facility .info-list { width: 100%; }
}

/* Article */
.thumbnail.article-thumbnail .image img {
    max-height: 150px;
    display: block;
    width: 100%;
    max-width: none;
}

.thumbnail-home-smile.article-thumbnail .caption h3 {
    font-size: 28px;
    height: inherit;
    line-height: 1;
    overflow-y: hidden;
    margin-bottom: 5px;
}

.thumbnail.article-thumbnail .caption {
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
    text-align: left;
    height: 145px;
}

.thumbnail.article-thumbnail .image {
  width: 100%;
  height: 150px;
  background: white;
  position: relative;
}

.thumbnail.article-thumbnail .image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}