#content {font-family:"細明體_hkscs","Microsoft JhengHei","STHeiti Light",Arial}

#content{
    overflow-x: hidden;
    margin-top: 0px; 
}

.nr td {
    padding-right: 5px;
    padding-bottom: 5px;
    min-width: 40px;
    height: 30px;
    vertical-align: top;
}

/*
tr:last-child > td:last-child{
height:55px;
}
*/

.nr-first-hand-title span {
    font-size: 15px;
    border-bottom: 3px solid #FADA26;
    margin: 0;
    padding: 0 0 0 0;
    color: #646464;
    display: inline-table;
}

.nr-first-hand-title {
    width: 100%;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 5px;
}

.cookie-more {
    margin: 5px 16px 0 0;
    background: #FADA26;
    color: #666;
    padding: 1px 8px;
    display: inline;
    float: right;
    font-size: 12px;
    cursor: pointer;
    cursor: hand;
    text-decoration: none;
}

.nopadding {
    padding: 0 !important;
}

.nr-first-hand-stock {
    margin-bottom: 25px;
    color: black;
}

.nr-first-hand-stock .placeholder {
    width: 100%;
    padding-bottom: 61%;
}

.nr-first-hand-stock .nr-thumb {
    padding: 0;
    overflow: hidden;
}

.nr-first-hand-stock .nr-info {
    padding: 15px 0 0 0;
}

.nr-first-hand-stock img {
    border: 1px solid #ccc;
    position: absolute;
    top: 0;
    left: 0;
}

.mb20 {
    margin-bottom: 20px;
}

.mb40 {
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    padding-top: 30px;
    height: 355px;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 335px;
	max-width:505px;
}


.nr .btn-default,
.nr .dropdown-toggle {
    background-color: transparent;
    padding: 8px 0;
    margin-right: 15px;
    color: #000;
    white-space: nowrap;
    border: 0 !important;
    border-radius: 0;
    /*    margin-bottom: -20px;*/

    margin-top: -5px;
    height: 60px;
}

.nr .btn-default.active,
.nr .btn-default.focus,
.nr .btn-default:active,
.nr .btn-default:focus,
.nr .btn-default:hover,
.nr .open > .dropdown-toggle.btn-default {
    /*    background-color: transparent;*/

    background-color: transparent;
    border-bottom: 5px solid #000 !important;
    /*    background-color: transparent;*/

    text-decoration: none;
    padding: 15px 0;
    margin-right: 15px;
    color: #000;
    white-space: nowrap;
    /*    border: 0 !important;*/

    border-radius: 0;
    /*    margin-bottom: -10px;*/
    /*    margin-top: -10px;*/
    /*    height: 40px;*/
}

.nr .dropdown-toggle.btn-default:hover,
.nr .open > .dropdown-toggle.btn-default {
    /*    height:65px;*/
    /*    margin-top:15px;*/

    padding: 20px 0 15px 0;
}

.nr .tab-pane {
    padding-top: 20px;
}

.nr .nav-tabs > li > a,
.nr .nav-tabs > li > a:focus,
.nr .nav-tabs > li > a:hover {
    color: #fff;
    cursor: default;
    background-color: #000;
    border: transparent;
    border-bottom: 4px solid #FADA26 !important;
    border-radius: 0;
    margin: 0;
}

.nr .nav-tabs > li.active > a,
.nr .nav-tabs > li.active > a:focus,
.nr .nav-tabs > li.active > a:hover {
    color: #000;
    cursor: default;
    background-color: #FADA26;
    border: transparent;
    border-bottom: 4px solid #FADA26;
}

.nr-property-name {
    text-align: center !important;
    font-size: 1.4em;
    padding: 5px;
}

.nr-property-table {
    font-size: 15px;
    margin: 0 !important;
    border: 0;
}

.nr-property-table td {
    padding: 5px;
    color: #333333;
}

.nr-property-table td.hdr {
    color: #666666;
}

.nr-property-table tr,
.nr-property-table td {
    margin: 0 !important;
    border: 0;
}

.nr-firsthand-filter {
    background-color: #fada26;
    font-size: 15px;
    margin-top: 85px;
}

.nr-firsthand-filter .btn-default {
    font-size: 15px;
}

.nr-filter-input-block {
    display: inline-block;
}

.nr-firsthand-filter input {
    margin: 0 0 0 20px;
    width: 110px;
    padding: 2px 5px;
    border: 0;
    border-radius: 5px;
}

ul.tagit {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: -7px;
}

.mb30 {
    margin-bottom: 30px;
}

.mt30 {
    margin-top: 30px;
}

.mt30 td {
    padding-right: 1em;
}

.mt20 {
    margin-top: 20px;
}

.nr .pagination > li {
    border-radius: 0;
}

.nr .pagination > li > a {
    border-radius: 0;
    color: black;
}

.mt15 {
    margin-top: 15px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

/*
.btn-search {
    display: inline-block;
    background-color: black;
    color: #FADA26;
    padding: 3px 5px !important;
    border-radius: 5px !important;
    /*    width:50px!important;*/
/*
}
*/

.nr-info-badge {

    bottom: 0;
    color: #fff;
    position: absolute;
    right: 0;
    width: 50px;
    height: 50px;
    padding: 0;

    background-image: url(../img/corner-right-bottom.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.btn-more {
    background-color: #f0f0f0;
    color: #333;
}

.nr-prop-detail {
    border-left: 5px solid #FADA26;
    background-color: #f7f7f7;
    color: #333;
}

.nr-prop-detail a {
    font-size: 1.2em;
}

.nr-prop-detail .hdr {
    color: #999999;
}

.nr-head {
    border-left: 5px solid #FADA26;
    padding-left: 5px;
    font-weight: 900;
    color: #000000;
}

.nr-small {
    color: #666666;
    font-size: 0.85em;
    font-weight: 500;
}

.nr-caption {
    color: #333333;
    padding: 5px;
    font-size: 0.9em;
}

.nr .dropdown {
    width: 50px;
    display: inline-block;
    border: none;
    margin: 0;
}

.nowrap {
    white-space: nowrap;
}

#relatedNews .thumbnail .caption{
	padding-top: 0px;
}


.modal-dialog {
    top: 130px;
}
.modal-content {
    height: auto;
}
.firsthand-video {
    position: relative;
    padding-bottom: 64.25%;
    margin-bottom: 15px;
}
.firsthand-video iframe, .firsthand-video object, .firsthand-video embed{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height:auto;
}
@media screen and (min-width: 768px) {
    .modal-dialog  {
        width: 768px;
    }
    .firsthand-video {
        padding-bottom: 59.25%;
    }
    .firsthand-video iframe, .firsthand-video object, .firsthand-video embed{
        right: 0;
        width: 96%;
        margin: 0 auto;
    }
}
.hotLineNo {
    padding-right: 20px;
    display: inline-block;
}
.hotLineNo a {
    color: #333;
}
.nr-property-table-video {
    width: 100%;
}
.listing-video-button-td {
    text-align: center;
}
.listing-video-button {
    border-radius: 14px;
    color: #3cc;
    background: #FFF;
    border: 1px solid #3cc;
    text-decoration: none;
    padding: 5px 20px;
}.listing-video-button:hover {
    border-radius: 14px;
    color: #FFF;
    background: #3cc;
    border: 1px solid #3cc;
    text-decoration: none;
    padding: 5px 20px;
}
.firsthand-video-button {
    margin-top: 10px;
    border-radius: 9px;
    width: 100%;
    color: #FFF;
    background: #3cc;
    border: 1px solid #FFF;
    height: 50px;
}
.modal-header {
    border-bottom: none;
padding: 15px 15px 30px 15px;
}
.modal-body {
    text-align: left;
    padding-top:0px;
}

.detail-firsthand-video {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    margin-bottom: 15px;
}

.detail-firsthand-video iframe, .detail-firsthand-video object, .detail-firsthand-video embed{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height:auto;
}

.detail-video-icon {
    background: url(//resrc.midland.com.hk/images/icon/firsthand_detail_play.png) no-repeat;
    background-size: 60% auto;
    content: '';
    position: absolute;
    top: 4px;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50px;
    width: 50px;
    margin-left: 32px;
}

.detail-video-icon:hover {
    background: url(//resrc.midland.com.hk/images/icon/firsthand_detail_play_hover.png) no-repeat;
    background-size: 60% auto;
    content: '';
    position: absolute;
    top: 4px;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50px;
    width: 50px;
    margin-left: 32px;
}

@media screen and (min-width: 414px) {
.detail-video-icon, .detail-video-icon:hover {
background-size: 100% auto;
    top: 0;
}}

.detail-video-title {
    font-size: 16px;
    color: #6169AB;
    font-weight: 600;
}
.detail-video-title:hover {
    color: #7A86DE;
}

.video-thumbnail {
    position: relative;
}

.video-thumbnail:before {
	position: absolute;
    font-family: 'dashicons';
    bottom: 0px;
    left: 26px;
    content: "\f236";
    color: #fff;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.62);
    font-size: 32px;
}

.video-thumbnail.hide-video-icon:before {
    content: '';
}

.video-section{
	padding: 0px;
}
 
@media screen and (max-width: 480px) {
	.videoListMobile{
		padding-left: 0px;
		padding-right: 0px;
	}
	
    .nr-flow-cells-xs {
        display: block;
    }

    .nr-flow-cells-xs tr {
        display: block;
        padding-bottom: 10px;
    }

    .nr-flow-cells-xs td {
        display: block;
        height: 24px;
    }
    
    .nr-first-hand-stock {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 767px) {
    .nr-search-bar::before {
        clear: both;
    }
    .nr-search-bar {
        display: block;
        margin-left: 0;
        float: left;
        margin-top: 10px !important;
        padding-top: 10px;
        width: 100%;
    }
    .nr-search-bar input {
        /*        display: block;*/

        margin-left: 0;
        /*        float: left;*/
        /*        margin-top: 10px !important;*/
        /*        padding-top:10px;*/

        width: 80%;
    }
    .nr-filter-input-block {
        /*        display: block;*/

        margin-top: 10px;
        margin-left: -30px;
        /*        float: left;*/
    }
    .nr-prop-detail {
        padding: 10px 0;
    }
	.nr-prop-detail .hdr{
		margin-left: 15px;
	}
	.video-section{
		padding: 0 12px;
	}
}

.nr-blue {
    color: #2489bd;
}

.nr-h4 {
    color: #666666;
}

.nr-h4 .nr-blue {
    color: #00a2ff;
}

.nr-doc-title {
    color: #065e7e;
}

.nr-link-blue {
    color: #0086be;
}

.nr-detail a:link {
    color: #0086be;
}

.nr-detail a:visited {
    color: #0385b6;
}

.nr-dept {
    color: #666666;
}

.nr-website {
    color: #333333;
}

.nr-website a:link {
    color: #188fd3;
}

.nr-website a:visited {
    color: #0385b6;
}

.nr-list a:link {
    color: #0693c1;

}

.nr-list a:visited {
    color: #0385b6;
}

.nr-second-name {
    margin-left: 1.2em;
}

a.btn-more:link {
    background-color: #f0f0f0;
    color: #333333;
    font-size: 15px;
}

.btn-search {
    background-image: url(../img/icon-search.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    border: none;
    vertical-align: middle;
    margin-left: 5px;
}

#departments.mt30 td:first-child + td {
    white-space: normal;
}
#departments.mt30 td {
    white-space: nowrap;
}

.nr-property-declare table {
    width: 100%;
    border: 1px solid black;
}

.nr-property-declare table caption {
    color: black;
}

.nr-property-declare table th {
    text-align: center;
}
.nr-property-declare table td.nr-col-date {
    white-space: nowrap;
}
.nr-property-declare-desc {
    margin-top: 15px;
}

.sales_info{
	font-size:15px;
	color:#22bdbf !important;
}

.sales_info_desc{
	color:#22bdbf;
}

.hotLineNo{
	padding-right: 20px;
	display: inline-block;
}
  
.phone-icon{
	vertical-align:text-bottom;
}

.carousel-inner > .item > a > img {
	max-height:253px;
	margin: auto;
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.newsTitle{
	font-size: 16px;
    font-weight: bold;
    color: #197acd;
    padding: 5px 0px;
}

.newsExcerpt, .newsExcerpt a:link{
	font-size: 13px;
	color: #333;
}
#topBannerImage {
    margin: 15px auto 0;
    width: 820px;
    height: 115px;
}

@media screen and (min-width: 767px) {
	#properties{
		display:flex; flex-wrap: wrap;
	}
}

@media screen and (min-width: 768px) {
	.nr-firsthand-filter {
        margin-top: 0px;
    }
}

@media screen and (min-width: 991px) {
    .nr-firsthand-filter input {
        width: 250px;
    }
}

@media screen and (max-width: 991px) {
	#videoList{
		height:auto;
	}
	#relatedNews{
		margin-top: 85px;
	}
}

@media screen and (max-width: 768px) {
	#relatedNews:before{
		content:"";
		display:block;
		height: 85px;
		margin:-85px 0 0;
	}
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .newsTitle {
		font-size: 14px;
	}
	.newsExcerpt {
		font-size: 12px;
	}
}
@media (max-width: 767px) {
	#topBannerImage {
	    margin: 15px auto 0;
	    width: auto;
	    height: auto;
	}
}

.fhvideo-box-title {
	margin: 35px 0 10px 0;
}
@media screen and (max-width: 768px) {
	.fhvideo-box-title {
		margin: 0px 0 10px 0;
	}
}
