﻿body {
    font-family: 'Noto Sans TC', Microsoft JhengHei, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #7D7D7D
}

a:hover {
    color: #0072bb;
}

a:focus,
a:hover {
    text-decoration: none;
}

#background {
    z-index: -100;
    /* put it under everything*/
    position: absolute;
    /* make it stay in the same place, regardless of scrolling */
    top: 0;
    left: 0;
    overflow: hidden;
    /* clip the image */
    width: 100%;
    /* fill the full width of browser */
    max-height: 490px;
    /* show at least this much of the image */
}

#background img {
    width: 100%;
    min-height: 780px;
}

#slider1_container {
    z-index: 20;
    background-color: white;
}

.container {
    width: 100%;
    background-color: white;
    padding: 0;
}


/* Content */
.main-container {
	/* background-image: url("/images/header/header-201807.png"); */
    /* background-image: url("/images/2017/HeaderBg/cloud.png"); */
    /* background-size: 1600px 385px; */
    /* background-position-y: 0; */
    /* background-repeat: no-repeat; */
}

.container #container {
    max-width: 1180px;
    margin: auto;
}

.propertyText.carousel-caption {
    background-color: rgba(216, 216, 216, 0.4);
    text-shadow: 0 0 0;
    color: #333;
}


/* newproperty */

#newpropertyarea {
    outline: 1px solid #E5E5E5;
    padding: 5px;
}

#newpropertyarea .pull-right {
    font-size: 12px;
}

.newproperty {
    display: inline-block;
    width: 100%;
}

.newproperty .row {
    margin-bottom: 5px;
    margin-left: 0px;
}

.newproperty ul {
    min-width: 530px;
    display: inline-block;
}

#newproperty>li {
    width: 16%;
    height: 30px;
    border: 1px solid #EDEDED;
    text-align: center;
    vertical-align: middle;
    padding: 3px;
}

#newproperty>li>a {
    padding: 0px 3px;
    border-radius: 0px;
    color: #7D7D7D;
}

#newproperty>li.active {
    background-color: #0072bb;
}

#newproperty>li.active>a {
    color: #ffffff;
}

.tab-content {
    background-color: white;
}

.tab-content>.active {
    display: flex;
}

.propertydetail {
    width: 19%;
    height: 190px;
    margin: 0 4px;
    overflow: hidden;
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
    display: inline-block;
    flex-grow: 1;
    *zoom: 1;
}

.propertydetail .propertyImage {
    width: 100%;
    height: 100px;
}

.propertydetail .propertyImage img {
    width: 100%;
    max-height: 100px;
}

.propertydetail .propertyText {
    width: 100%;
    padding: 10px 5px 0px 5px;
    font-size: 12px;
    line-height: 1;
    overflow: hidden;
}

.propertydetail .propertyText p {
    bottom: 20px;
}

.rentaldetail {
    margin: 0 5px;
    overflow: hidden;
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
    display: inline-block;
    flex-grow: 1;
    *zoom: 1;
}

.rentaldetail .rentalText {
    font-size: 12px;
}

.rentalImage img {
    height: 130px;
    margin-bottom: 40px;
}


/* newproperty */


/* Sales */

#propagent-desktop {
    max-height: 230px;
}

#propagent-desktop.flexcontainer {
    display: flex;
}

#propagent-desktop .pull-right a {
    font-size: 12px;
    color: #7D7D7D;
    display: inline-block;
}

.tabBar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.agentTab {
    display: inline-block;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.agentTab a {
    right: 0px;
}

#propagent-desktop .propagentTab {
    width: 90px;
    height: 30px;
    margin-right: 5px;
    border-radius: 0px;
    color: #7D7D7D;
    background-color: #FFFFFF;
    border: 0px;
    border: 1px solid #EDEDED;
}

#propagent-desktop .txBtnActive {
    padding: 0px;
    border-radius: 0px;
    color: #ffffff;
    background-color: #0072bb;
    border: 0px;
}

#propagent-desktop_hk,
#propagent-desktop_kl,
#propagent-desktop_ne,
#propagent-desktop_nw {
    background-color: white;
}

#propagent-desktop_hk .cname,
#propagent-desktop_kl .cname,
#propagent-desktop_ne .cname,
#propagent-desktop_nw .cname,
#propagent-desktop_hk .name,
#propagent-desktop_kl .name,
#propagent-desktop_ne .name,
#propagent-desktop_nw .name {
    color: #0072bb;
}

#propagent-detail .propagent-table .col-md-6 {
    padding: 0px;
    font-size: 12px;
    height: 40%;
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
    width: 48%;
    margin-right: 5px;
    margin-top: 5px;
    min-width: 232px;
}

#propagent-detail .propagent-table .col-md-6 img {
    right: 0px;
    bottom: 0px;
    position: absolute;
}

#propagent-detail .propagent-table .col-md-6 a img {
    position: relative;
    height: 91px;
}

#propagent-detail .row {
    max-height: 230px;
    margin-left: 0;
}

.agentdetail {
    display: inline-block;
}

.agentdetail p {
    margin: 0 0 0;
    color: #000;
}


/* Sales */


/*ccIndex*/

.rcCcIndex2017 {
    background: url("/images/transation/chart1_bg.png");
    background-repeat: repeat-x;
    background-size: 14px;
    font-size: 12px;
    color: white;
}

.date {
    height: 20px;
    padding-top: 4px;
    padding-right: 10px;
}

.indexContainer {
    display: flex;
    width: 100%;
}

.indexstate {
    display: inline-block;
    width: 100px;
    margin: 0px 10px;
}

p.txt_white25 {
    font-size: 20px;
    margin: 0px;
}

.indexGraph {
    display: inline-block;
    width: 140px;
    height: 80px;
}

.indexGraph img {
    width: 100%;
    height: 100%;
}

.titleBar {
    color: #0072bb;
    display: flex;
    justify-content: flex-end;
}

.titleBar span {
    margin-right: 15px;
}

.indexDetail {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.indexDetail span,
.indexDetail strong {
    flex-grow: 1;
    width: 20%;
}

.indexBody .indexDetail .location {
    color: #0072bb;
}

.indexBody .indexDetail span {
    color: #333;
}

.indexBottom {
    color: white;
    background-color: #0072bb;
    justify-content: space-around;
    display: flex;
    flex-wrap: wrap;
}

.indexBottom p {
    text-align: center;
    color: white;
    margin: 0;
    width: 100%;
}


/*ccIndex*/


/* propscheduleall */

#propscheduleall-desktop .pull-right {
    font-size: 12px;
}

#propscheduleall-desktop .propscheduleallTab {
    width: 90px;
    height: 30px;
    padding: 0px;
    border-radius: 0px;
    color: #7D7D7D;
    background-color: #FFFFFF;
    border: 0px;
    border: 1px solid #EDEDED;
}

#propscheduleall-desktop .txBtnActive {
    padding: 0px;
    border-radius: 0px;
    color: #ffffff;
    background-color: #0072bb;
    border: 0px;
}

#propscheduleall-desktop .txt_blue12 {
    color: #337ab7;
    font-size: 12px;
    line-height: 1;
    padding: 2px 0;
    display: inline;
}

#propscheduleall-detail {
    margin-top: 5px;
}

#propscheduleall-detail .row {
    max-width: 100%;
    margin-left: 0;
    max-height: 230px;
}

.propscheduleall-table .secContent {
    margin: auto;
    display: inline-block;
    width: 19%;
    height: 100%;
    margin: 0px 3px;
}

.propscheduleall-table .thumbnail {
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
    border-radius: 0px;
    margin-bottom: 10px;
}

.propscheduleall-table .thumbnail a>img {
    width: 100%;
    height: 100px;
}

.propscheduleall-table .thumbnail .caption {
    font-size: 12px;
    padding: 5px;
}

.propscheduleall-table .thumbnail .caption .porpertylocation {
    height: 50px;
    margin-bottom: 5%;
}

.propscheduleall-table .thumbnail .caption .porpertiestradedetail {
    bottom: 5%;
    font-size: 12px;
    display: inline-block;
}


/* propscheduleall */


/* propertiesnews */

#propertiesnews .propertiesnewsText {
    padding: 15px;
    bottom: 0;
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
    margin-top: 15px;
}

#propertiesnews .propertiesnewsTitle a {
    font-size: 16px;
    color: #7D7D7D;
}

#propertiesnews .propertiesnewsTitle img {
    max-height: 18px;
    max-width: 16px
}

#propertiesnews ul {
    padding-left: 22px;
    margin: 0px;
}

#propertiesnews .pull-right a {
    color: #7D7D7D;
    font-size: 12px;
}

#propertiesnews .propertiesnewsText #propertiesnews_list .txt_darkgray15,
#propertiesnews .propertiesnewsText #propertiesnews_list .txt_darkgray15 a {
    color: #7D7D7D;
    font-size: 12px;
    margin-top: 6px;
}

#propertiesnews .propertiesnewsText #propertiesnews_list .txt_bule15 a,
#propertiesnews .propertiesnewsText #propertiesnews_list .txt_bule15 {
    color: #0072bb;
}


/* propertiesnews */


/* transation */

#transation .sub-title {
    margin-bottom: 10px;
    display: inline-block;
}

#transation .sub-title a {
    color: #7D7D7D;
    font-size: 16px;
}

#transation .transationTab {
    width: 90px;
    height: 30px;
    padding: 0px;
    border-radius: 0px;
    background-color: white;
    border: 0px;
    border: 1px solid #EDEDED;
    margin-bottom: 10px;
}

#transation .txBtnActive {
    padding: 0px;
    border-radius: 0px;
    color: white;
    background-color: #0072bb;
    border: 0px;
}

#transation .sub-header {
    background-color: #7FB3DB;
    color: white;
    padding: 2px 5px;
}

#transation .sub-header .white10 a {
    font-size: 12px;
    color: white;
}

#transation .sub-header .transationhistorybtn {
    background-color: white;
    color: #0168B7;
    border: 1px solid #EDEDED;
    padding: 0 5px;
    font-size: 12px;
}

#transation-detail .transation-table tr:hover {
    background-color: #0072bb;
    color: white;
}

#transation-detail .transation-table tr:hover a,
#transation-detail .transation-table tr:hover strong {
    background-color: #0072bb;
    color: white;
}

#transation table {
    font-size: 12px;
}

#transation .txt_blue12 {
    color: #005392;
}

#transation .txtbox3 {
    color: #005392;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #CCC;
    padding: 3px 0px;
}

#transation tr.txtbox3:hover {
    background-color: #FFFFFF;
    color: #005392;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #CCC;
    padding: 3px 0px;
}

#transation .pull-right {
    font-size: 12px;
}

#transation-detail {
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
}


/* transation */


/* latesttran */

#latesttran .txt_white11 {
    color: white;
    font-size: 12px;
}

#latesttran .txt_white12 {
    color: white;
    font-size: 12px;
}

#latesttran .txt_white25 {
    color: white;
    font-size: 25px;
}

#latesttran .txtbox3 {
    color: #005392;
    font-size: 12px;
}


/* latesttran */


/* research */

#research .field1 {
    margin-bottom: 13px;
}

#research .field1 .pull-right a {
    vertical-align: sub;
    font-size: 12px;
    color: #7D7D7D;
}

#research .ResearchTitle {
    font-size: 16px;
    color: #7D7D7D;
    margin-bottom: 10px;
}

#research .field2 {
    padding: 10px 10px 10px 15px;
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
    height: 195px;
}

#research .field2 p,
#research .field2 p a {
    font-size: 12px;
}

#researcharticle .textcell.txt_blue15 a {
    font-size: 14px;
}

#research .txt_blue12 {
    color: #337ab7;
    font-size: 12px;
    text-align: right;
}


/* research */


/* post */

#cview,
#instruct,
#ceoview {
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
    margin-bottom: 10px;
    height: 125px;
    padding: 6px 0px 0px 5px;
}

#cview .field2 .textcell,
#instruct .field2 .textcell,
#ceoview .field2 .textcell {
    display: inline-block;
    width: 55%;
    /* padding-top: 5px; */
}

.field2 img {
    vertical-align: top;
}

.textcell .txt_blue15 {
    padding-bottom: 8px;
    font-size: 14px;
}

#cview h1,
#instruct h1,
#ceoview h1 {
    display: none;
}

#cview p,
#instruct p,
#ceoview p {
    font-size: 12px;
    display: inline;
    letter-spacing: 0px;
}

#instruct .field2 .article-thumbnail,
#instruct .field2 .article-post{
	display: inline-block;
}
#instruct .field2 .article-thumbnail{
	vertical-align: top;
}
#instruct .field2 .article-post{
	width: 55%;
}
#instruct .field2 .article-post .article-content{
    line-height: 16px;
}
#instruct .field2 .article-post .article-content a{ 
	color: #7D7D7D;
}
#instruct .field2 .article-post hr { 
	margin: 0;
}

.ceoview_url, .cview_url, .wongviewfirst_url, .wongviewsecond_url, .researcharticle_url {
	cursor: pointer;
}
/* post */


/* mortgage */

#mortgage {
    font-size: 12px;
    padding: 5px;
}

#mortgage .morttxt {
    color: #515151;
    font-size: 16px;
    padding-bottom: 8px;
}

#mortgage .txt_white12 {
    color: white;
}

#mortgage .txtbox1 {
    display: inline;
    border-radius: 0;
}

#mortgage .txtbox2 {
    border: 1px solid #EDEDED;
}

#mortgage .form-control {
    width: 65%;
    height: 26px;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #EDEDED;
}

#mortgage .field2 p {
    display: inline;
    font-size: 14px;
    color: #818181;
}

#mortgage .field2 .content {
    padding: 9px 10px;
    border: 1px solid #EDEDED;
    box-shadow: 1px 1px 2px #F3F3F3;
}

#mortgage .field2 .content .form-group {
    margin-bottom: 10px;
    text-align: center;
}

#mortgage .field2 .content .calbutton {
    float: right;
}

#mortgage .field2 .content .calbutton input {
    width: 90px;
    height: 30px;
    background-color: white;
    color: #818181;
    font-size: 16px;
    border: 1px solid #EDEDED;
    margin-left: 5px;
}


/* mortgage */


/* landreg */

#landreg {
    font-size: 12px;
    display: none;
    /*padding: 5px;*/
}

#landreg .hightlight1 {
    font-weight: bold;
    background-color: #F4A21A;
}

#landreg .txt_blue15 {
    font-size: 15px;
    color: #337ab7;
    font-weight: bold;
}

#landreg .wtxt_12px {
    color: #818181;
}


/* landreg */


/* grid */

#transation,
#latesttran {
    height: 100%;
    overflow: hidden;
}

#latesttran .tablebottom {
    height: 55px;
}

#container {
    max-width: 1180px;
    margin: auto;
    /* background-color: white; */
    margin-top: 10px;
    justify-content: space-around;
}

#grid-m {
    height: 250px;
    padding: 10px;
    vertical-align: top;
}

#grid-m.g1.carousel3 {
    padding: 0px;
    /* padding-top: 10px; */
    margin-bottom: 5px;
	height:325px;
}

#grid-m.g1.carousel3 .item.active {
    justify-content: center;
    display: flex;
}

#grid-l {
    height: 410px;
    padding: 10px;
    vertical-align: top;
}

.g1 {
    width: 24.7%;
    min-width: 280px;
}

.g2 {
    width: 49.7%;
}

.g3 {
    width: 74.7%;
}

.g4 {
    width: 60%;
    min-width: 400px;
}

.g5 {
    width: 39%;
    min-width: 220px;
}

.g1,
.g2,
.g3,
.g4,
.g5 {
    display: inline-block;
}


/*word press news*/


/* .news-container {
    width: 100%;
    margin-bottom: 5px;
    background: url("/images/2017/HeaderBg/cloud.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 55%;
    background-position: top;
    min-height: 240px;
}

.news-container .background-photo {
    margin: auto;
    max-width: 1180px;
    display: flex;
    padding-top: 15px;
    min-height: 240px;
    flex-wrap: wrap;
} */

#grid-m.g3.search-bar {
    min-height: 250px;
    height: 100%;
    padding-left: 0;
}

.g3.search-bar {
    /* background-color: #E5E5E5; */
    margin: auto;
    margin-bottom: 5px;
}

#grid-m.g1.news {
    padding: 0;
    height: 360px;
    /*background-image:url("../../images/2017/Menu/newicon.png");*/
}

#grid-m.g1.news img {
    position: relative;
    top: 10px;
    left: -25px;
}

.news iframe, #iframe-replacement {
    width: 100%;
    height: 100%;
    border: 0;
    background-color: #fff;
}

#grid-m.g1.secondhand {
    padding: 0;
}

.research iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background-color: #fff;
}

.secondhand-news iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background-color: #fff;
}

#grid-m.g3.firsthand-preview {
    padding: 0;
    /* border: 1px solid #EDEDED; */
    height: 360px;
}

.firsthand-preview iframe {
    width: 98.5%;
    height: 100%;
    border: 0;
    background-color: #fff;
    border: 1px solid #EDEDED;
}


/*word press news*/

.carousel {
    background-color: rgba(32, 32, 32, 0.5);
}

.carousel-indicators {
    bottom: -10px;
    width: 65%;
}

#Carousel2 .carousel-inner {
    height: 225px;
}

.carousel-caption {
    bottom: 0px;
    padding-bottom: 0px;
    display: none;
}

.carousel-inner .item img,
.carousel-inner .item a img {
    width: 100%;
}

@media(max-width:1120px) {
    .propscheduleall-table .secContent.hidden-xs.hidden-sm {
        display: none;
    }
    .g3 {
        min-width: 60%;
        margin: auto;
    }
    .propscheduleall-table .secContent {
        width: 32%;
    }
    .g3.special {
        width: 500px;
    }
    .g3.search-bar,
    .g1.news,
    .g3.firsthand-preview,
    .g1.carousel3 {
        width: 100%;
    }
}

@media(max-width:1080px) {
    .QRcode.hidden-xs.hidden-sm {
        display: none;
    }
}

@media(max-width:1024px) {
    .icon-360.hidden-xs.hidden-sm {
        display: none;
    }
    #grid-m {
        padding: 5px;
    }
    #grid-m.g1.carousel3 {
        padding: 0px;
    }
    #grid-l {
        padding: 5px;
    }
    .propagent-table .col-md-6.hidden-xs {
        display: none;
    }
    .visible-sm {
        display: inline-block !important;
    }
    .agentTab {
        width: 85%;
    }
    #propagent-detail .propagent-table .col-md-6 {
        width: 90%;
    }
    #propagent-desktop .propagentTab {
        width: 23.5%;
        font-size: 12px;
        margin: 0px;
        text-align: center;
        padding: 0px;
    }
    .g2 {
        width: 280px;
    }
    .g2.propagent,
    .g1.cIndex,
    .g1.research {
        width: 33%;
    }
    .g1.articles,
    .g1.fb {
        width: 24.5%;
    }
    .g2.hidden-xs.hidden-sm {
        width: 44%;
    }
    .g3.special {
        width: 72%;
    }
}

@media (max-width:768px) {
    .visible-xs {
        display: inline-block !important;
    }
    .g1.visible-sm.visible-xs {
        width: 320px;
    }
    /* .g1.carousel3 {
        width: 320px;
    } */
    #Carousel1 {
        height: 225px;
    }
    .g1.secondhand-news,
    .g2.propagent,
    .g1.cIndex,
    .g1.research,
    .g1.articles,
    .g1.fb {
        width: 49.5%;
    }
    .g3.special {
        width: 100%;
    }
}

@media (max-width:620px) {
    #container {
        width: 95%;
        margin: auto;
    }
    .g1,
    .g2,
    .g3,
    .g4,
    .g5 {
        width: 100%;
        min-width: 300px;
    }
    #propagent-detail .propagent-table .col-md-6 {
        width: 60%;
        margin: auto;
    }
}

@media (max-width: 520px) {
    .g3 {
        /* max-width: 90%; */
        margin: auto;
    }
}

.buttonContainer {
    position: fixed;
    left: 20px;
    bottom: 50px;
}

.backToTop {
    background-color: rgba(228, 241, 247, .7);
    width: 50px;
    height: 50px;
    display: inline-block;
    text-align: center;
    padding-top: 5px;
    font-size: 20px;
}

.g5.facebookiframe {
    display: block;
    margin: 0px;
}

