* {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/*@font-face {*/
    /*font-family: FZYouHK_504L;*/
    /*src: url("//f.sinaimg.cn/us/FZYouHK_504L.TTF");*/
/*}*/

/*@font-face {*/
    /*font-family: FZYouHK_508R;*/
    /*src: url("//f.sinaimg.cn/us/FZYouHK_508R.TTF");*/
/*}*/

:root {
    --yellow: #FCbd38;
    --blue: #4899f8;
    --grey: #4a4a4a;
    --lightgrey: #f9f9f9;
    --hoverblue: #2f7fe6;
}

body {
    max-width: 900px;
    font-family: "SimSun","Arial Narrow";
}

a:link {
    text-decoration: none;
}

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

li {
    display: inline;
    text-decoration: none;
}
.contact-button{
     position: fixed;
     bottom: 56px;
     left: 20px;
     z-index: 20;
}
#contact-button{
    position: fixed;
    bottom: 56px;
    left: 20px;
    padding: 10px 20px;
    color: white;
    background-color: #fcbd38;
    border-radius: 22px;
    cursor: pointer;
}
#contact-card{
    position: relative;
    bottom: 50px;
    background-color: white;
    color: black;
    padding:20px;
    border:3px solid #fcbd38;
    border-radius:10px;
    opacity: 0;
    -webkit-transition: opacity 0.8s, bottom 0.5s ease;
    transition: opacity 0.8s, bottom 0.5s ease;
}
#contact-card:before{
    content: "";
    position: absolute;
    bottom:-12px;
    left:20px;
    height: 0;
    border-top: 10px solid #fcbd38;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}
#contact-button:hover + #contact-card{
    opacity: 1;
    bottom:60px;
}

.main-body {
    padding: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: white;
}
.hedaer-nav {
    margin-top: 10px;
}

.TopNav {
    padding: 5px 0;
    border-top: solid 1px #3a3a3a;
    border-bottom: solid 1px #3a3a3a;
    font-size: 0.8em;
    display: flex;
    justify-content: center;
    margin: 10px;
}

.TopNav > div {
    margin: 0;
}

.TopNav a {
    color: black;
    padding: 0 4px;
    font-size: 1.2em;
}

.logo-row {
    display: flex;
    justify-content: space-between;
}

.logo-row a {
    margin: 0;
    flex: 1;
}

/*================agency-photo*/
.ad-slides {
    position: relative;
    flex: 4.5;
}

.ad-slides-child {
    position: absolute;
    opacity: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}
.first-showing{
    opacity: 1;
    z-index: 20;
}

/*==============================desk-nav + burger-nav*/
a {
    color: #4a4a4a;
}

.desk-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    grid-template-columns: 3fr 1fr;
}

.burger-nav-mob {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px 0;
    grid-row-gap: 10px;
}

.translation {
    align-self: flex-end;
    margin-left: 40px;
}

.burger-nav-mob .nca-logo {
    width: 8em;
}

.desk-nav ul, .burger-nav-mob ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #f9f9f9;
    display: grid;
    grid-column: 1/-2;
    position: relative;
}

.burger-nav-mob ul {overflow: hidden}

.desk-nav ul {
    grid-template-columns: repeat(4, auto);
}

.desk-nav ul li{
    display: inline-block;
}

.desk-nav li a, .burger-nav-mob li a {
    display: block;
    padding: 20px 20px;
    text-decoration: none;
}
.desk-nav a:hover{
    background-color: #4899f8;
    color: white;
}
.desk-nav ul ul{
    display: none;
    position: absolute;
    z-index: 10;
}
.desk-nav ul li:hover > ul {
    display: inherit;
    border-top: 1px solid gray;
}

.desk-nav ul li li{
    width:185px;
    float:none;
    display:list-item;
    position: relative;
}

.active-page {
    background-color: #fcbd38;
    border-bottom: 3px #4899f8 solid;
    width: 100%;
    text-align: center;
}

.active-page a {
    color: white;
}

/* menu */
.transilation {
    margin-right: 30px;
}

.burger-nav-mob .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
    grid-column: 1/-1;
}

/* menu icon */

.burger-nav-mob .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 10px;
    position: relative;
    user-select: none;
    justify-self: end;

}

.burger-nav-mob .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
    justify-self: end;
}

.burger-nav-mob .menu-icon .navicon:before,
.burger-nav-mob .menu-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.burger-nav-mob .menu-icon .navicon:before {
    top: 5px;
}

.burger-nav-mob .menu-icon .navicon:after {
    top: -5px;
}

/* menu btn */

.burger-nav-mob .menu-btn {
    display: none;
}

.burger-nav-mob .menu-btn:checked ~ .menu {
    max-height: 100%;
}

.burger-nav-mob .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.burger-nav-mob .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.burger-nav-mob .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.burger-nav-mob .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.burger-nav-mob .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

.ad {
    text-align: center;
}

.ad > a {
    display: block;
    width: 100%;
}

.ad > a > img {
    width: 100%;
}

/* 30em = 480px */
@media (max-width: 30em) {
    .logo-row, .desk-nav {
        display: none;
    }

}

@media (min-width: 30em) {

    .burger-nav-mob li {
        float: left;
    }

    .burger-nav-mob li a {
        padding: 20px 30px;
    }

    .burger-nav-mob .menu {
        clear: none;
        max-height: none;
    }

    .burger-nav-mob .menu-icon {
        display: none;
    }

    .burger-nav-mob {
        display: none;
    }

    .wap-ad {
        display: none;
    }
}

/*=================slide show*/
#row1 {
    width: 100%;
    /*height: 314px;*/
    overflow: hidden;
    /*margin-bottom: 8px;*/
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;

}

.slides {
    position: relative;
    flex: 1 0 600px;
    margin: 0;
}

.slides img {
    width: 100%;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.arrow-bg {

}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 8px 5px 5px;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 1.125em;
    padding: 0.75em;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #0000007d;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 14px;
    padding: 3px 12px;
    position: absolute;
    top: 10px;
    right: 5px;
    z-index: 2;
    /*font-family: FZYouHK_508R;*/
    font-style: italic;
    font-weight: 600;
}

.numbertext-current {
    font-weight: 600;
    font-size: 20px;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 3s;
    animation-name: fade;
    animation-duration: 3s;
    transition-timing-function: ease-in-out;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

.orange-box {
    border: 1px var(--yellow) solid;
    flex: 1 0 280px;
    min-width: 280px;
    /*margin-bottom: 10px;*/
}

.orange-box ul {
    padding: 5px 8px;

}

.orange-box ul h2 {
    font-size: 1.25em;
    line-height: 1.5em;
}

.orange-box a p {
    color: gray;
    font-size: .87em;
    line-height: 1.5em;
}

.orange-box li a:visited h2 {
    color: #484848;
}

.orange-box li a:hover h2 {
    color: #2f7fe6;
}

.news {
    max-height: 322px;
    overflow: hidden;
    margin: 5px 5px 10px 5px;
}

/*============= express news*/
.section-title-box {
    display: flex;
    background-color: #fcbd38;
    padding: 5px;
    /*grid-template-columns: auto 1fr;*/
    /*width: 100%;*/
    justify-content: space-between;
}

.section-title-box a {
    color: white;
    margin: 0;

}

.col-title, .col-title-box {
    font-size: 1.1em;
    /*font-family: FZYouHK_508R;*/
    margin: 0;
}

.more-btn {
    grid-column: end;
}

hr {
    margin: 10px;
    text-align: center;
    opacity: 0.1;
}

#row2 {
    width: 100%;
    display: flex;
    /*grid-template-columns: 2fr 2fr 1fr;
    grid-gap: 10px;*/
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    flex-direction: row;
}

.info {
    /*grid-gap: 10px;*/
    justify-content: start;
    align-items: start;
    width: 100%;
    margin: 0 5px 0px 5px;
    flex: 2;
}

.info ul li {
    display: block;
    display: list-item;
    list-style-type: disc;
    color: #2f7fe6;
    list-style-position: inside;
    padding-left: 5px;
}

.info li a {
    line-height: 2em;
    font-size: 1em;
    color: black;
    list-style-type: disc;

}

.info a:hover {
    color: #2f7fe6;
}

.process {
    margin: 0 5px 10px 5px;
    flex: 2;
}

.album {
    display: flex;
    padding: 10px;
    /*grid-template-columns: 100px 1fr;
    grid-gap: 10px;*/
    align-items: center;
}

.album-details {
    margin-left: 10px;
}

.album h2 {
    font-size: 1.25em;
    line-height: 1.5em;
}

.album p {
    color: gray;
    font-size: .87em;
    line-height: 1.5em;
}

.process a:hover h2 {
    color: #2f7fe6;
}

/*====================agency row*/
.agency {
    margin: 10px 5px;
}
.agency-photo {
    display: flex;
    background-color: #f1efef47;
    padding: 10px;
}
.agency-photo a {
    background-color: white;
    color: #484848;
    text-align: center;
    margin: 15px 16px;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.agency-photo a img {
    margin-bottom: 5px;
    border-radius: 50%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2)
}
.agency-photo .agent {
    margin-bottom: 8px;
}
.agency-photo a p {
    font-size: 0.9em;
    letter-spacing: 1px;
}
.agency-photo a h3 {
    /*font-family: FZYouHK_508R;*/
    font-size: 1em;
}
.agency3.agency-photo a {
    position: relative;
    flex: 1;
    width: 250px;
}
.agency3.agency-photo a img {
    width: 116px;
}
.agency3.agency-photo a p {
    line-height: 1.4em;
}
.agency4.agency-photo {
    flex-wrap: wrap;
    background-color: #f1efef47;
    padding: 10px;
}
.agency4.agency-photo a {
    display: flex;
    flex: 1 30%;
    align-items: center;
}
.agency4.agency-photo .text-info{
    text-align: left;
}
.agency4.agency-photo a img {
    width: 92px;
}
.agency4.agency-photo a p {
    line-height: 1.6em;
    max-width: 199px;
}

.process {
    margin: 0 5px 0px 5px;
    flex: 2;
}

.album {
    display: flex;
    padding: 10px;
    /*grid-template-columns: 100px 1fr;
    grid-gap: 10px;*/
    align-items: center;
}

.album h2 {
    font-size: 1.25em;
    line-height: 1.5em;
}

.album p {
    color: gray;
    font-size: .87em;
    line-height: 1.5em;
}

@media (max-width: 590px) {
    .info, .process, .weibo-box {
        flex: 1;
    }
    .slides {
        flex: 1 0 100%;
    }

    .agency-photo {
        flex-wrap: wrap;
    }

    .agency-photo a {
        flex: auto;
    }
    .contact-button {
        display: none;
    }
}

/*=====================最新房源*/
#row3 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: none;
    margin-bottom: 50px;
}

.resource {
    background-color: #fcbd38;
    margin: 0 5px 10px 5px;

}

.house-card {
    padding: 8px;
    background-color: #f1efef47;
    width: 100%;
    max-height: 324px;
    border-radius: 3px;
    flex: 1;
    min-width: 287px;
    margin: 5px 4px;
}

.house-photo {
    width: 100%;
    min-height: 200px;
    object-fit: cover;
    max-height: 200px;
}

.tip-card-text {
    display: block;
    /*grid-gap: 10px;*/
    justify-content: start;
    margin-top: 10px;

}

.tip-card-text p {
    color: black;
    font-size: 0.9em;
    margin: 0;
}

.i-t {
    display: flex;
    /*
      grid-template-columns: 20px auto;
      grid-gap: 4px;*/
    justify-content: start;
    margin: 0;
    margin-bottom: 5px;
}

.i-t img {
    margin: 0 5px 5px 0;
    align-self: start;
}

/*#content{
  padding: 10px 5px;
}*/
@media (max-width: 30em) {
    #row1, #row2, #row3 {
        grid-template-columns: 1fr;

    }

    #row3 .house-card {
        max-height: 400px;
    }

}

/*================weibo box*/
.weibo-title img {
    width: 100%;
}

.weibo-title {
    font-size: 1em;
    /*font-family: FZYouHK_508R;*/
    padding: 2px 0px;
    color: #2f7fe6;
    display: grid;
    grid-template-columns: 23px 1fr;
    grid-gap: 5px;
}

.weibo-title p {
    margin: 0;
    align-self: center;
}

.weibo-title-bottom-border {
    height: 2px;
    background: linear-gradient(
            to right,
            #Fd2929, #ffca94);
    margin-bottom: 10px;

}

.weibo-avatar {
    border-radius: 50%;
    width: 56px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.weibo-name-tag {
    display: inline-flex;
    margin-bottom: 8px;
}

.weibo-name-tag h3 {
    color: #484848;
    font-size: 0.85em;
    /*font-family: FZYouHK_508R;*/
    letter-spacing: 1px;
    margin: 0;
}

.weibo-name {
    padding-top: 7px;
    margin-left: 9px;

}

.weibo-name img {
    margin-left: 4px;

}

.weibo-name li {
    padding-right: 0;
}

.weibo-name > li {
    display: -webkit-box;
}

.weibo-name-tag .button {
    padding: 5px 8px;
    background: #FB3E3E;
    border-radius: 3px;
    color: white;
    letter-spacing: 1px;
    width: 20px;
    font-size: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.weibo-box {
    min-width: 200px;
    padding: 5px;
    flex: 1;
    margin: 0 5px 0px 5px;
}

.weibo-text a p {
    color: #484848;
    font-size: 1em;
    line-height: 19px;
}

.weibo-text ul {
    font-size: 0.8em;
    display: flex;
    justify-content: space-between;
    letter-spacing: 1px;
    margin-top: 8px;
    color: #2f7fe6;
}

.weibo-text ul li {
    margin: 0;
}

.weibo-text ul li a {
    color: #2f7fe6;
}

.weibo-text ul a:hover {
    color: #2f7fe6;
}

/*=================read more box*/
.archive {
    width: 100%;
    margin: 0 auto;
}

.entry {
    position: relative;
    overflow: hidden;
}

.more-link {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 12px;
    color: white;
    background: #Fcb036;
    text-align: center;
    text-decoration: none;
    /*font-family: FZYouHK_508R;*/
}

.more-link:after {
    content: "\2913";
    margin-left: 8px;
    font-size: .8em;
}

.more-link.open:after {
    content: "\2912";
}

/*=======================back to top button*/
.cd-top {
    display: inline-block;
    height: 50px;
    width: 50px;
    border-radius: 40px;
    position: fixed;
    bottom: 100px;
    right: 10px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: var(--yellow) url(//n.sinaimg.cn/us/up.png) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 1;
}

.no-touch .cd-top:hover {
    background-color: #144c8e;
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 60px;
        width: 60px;
        right: 30px;
        bottom: 30px;
    }
}

/*================footer*/
footer {
    text-align: center;
    padding: 35px 10px;
}

footer ul {
    padding-bottom: 20px

}

footer ul a {
    font-size: 0.8em;
    color: #484848;
    padding: 0 5px;
    /*font-family: FZYouHK_508R;*/
}

footer ul a:hover {
    color: #2f7fe6;
}

footer p {
    font-size: .8em;
    color: gray;
}

