@charset "utf-8";

body {
	font: 100%/1.4 微軟正黑體;
	background: url(../image/bg/bgg.jpg) center center fixed no-repeat;
	background-size:cover; 
	margin: 0;
	padding: 0;
	overflow-x:hidden; 
}

img{max-width:100%}

/* ~~ 元素/標籤選取器 ~~ */
ul, ol, dl { /* 由於瀏覽器之間的差異，最佳作法是在清單中使用零寬度的欄位間隔及邊界。為了保持一致，您可以在這裡指定所要的量，或在清單包含的清單項目 (LI、DT、DD) 上指定所要的量。請記住，除非您寫入較為特定的選取器，否則在此執行的作業將重疊顯示到 .nav 清單。 */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 /* 移除上方邊界可以解決邊界可能從其包含的 Div 逸出的問題。剩餘的下方邊界可以保持 Div 不與接在後面的元素接觸。 */
	padding-right: 15px;
	padding-left: 15px; /* 將欄位間隔加入至 Div 內元素的兩側 (而不是 Div 本身)，即可不需執行任何方塊模型的計算作業。具有側邊欄位間隔的巢狀 Div 也可當做替代方法。 */
}
a img { /* 這個選取器會移除某些瀏覽器在影像由連結所圍繞時，影像周圍所顯示的預設藍色邊框 */
	border: none;
}

* a {
	text-decoration: none!important;
}

.image-max{
	width: 100%;
}
.marlef{
	margin: 0 .5% 0 .5%!important;
}
.right{
	float: right!important;
}

.showup{
	display: block;
}

.shownone{
	display:none;
}

.fix-size-images {
	width: 190px;
	height: 142px;
}

/* ~~ 網站連結的樣式設定必須保持此順序，包括建立滑過 (Hover) 效果的選取器群組在內。~~ */
/*a:link {
	color:#414958;
	text-decoration: underline; 
}
a:visited {
	color: #4E5869;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
	text-decoration: none;
}  */

.box{
    display:inline-flex;
    align-items: center;
    flex-direction:row;
    min-height:60px;
  }

  .inline{
  	display: inline-block;
  }

/* ~~ 這個容器環繞著所有其他的 Div，並依百分比設定其寬度 ~~ */
.container {
	width: 100%;
	/*max-width: 1920px;/* 建議您使用最大寬度，如此版面在大型螢幕上就不致於過寬，讓行保持比較方便閱讀的長度。IE6 並不適用這項宣告。 */
	/*min-width: 1024px;/* 建議您使用最小寬度，如此版面在大型螢幕上就不致於過窄，讓行在側欄中保持比較方便閱讀的長度。IE6 並不適用這項宣告。 */
	height:100%;
	min-height: auto;
	padding-bottom: 0px;
	/*background:rgba(0,0,0,.4);*/
	background:#efefef;
	float: left;
	margin: 0 auto; /* 兩側的自動值與寬度結合後，版面便會置中對齊。如果將 .container 的寬度設為 100%，就不需要這麼做。 */
	overflow: auto;
}

/* ~~ 頁首沒有指定的寬度，而會橫跨版面的整個寬度。頁首包含影像預留位置，必須由您自己的連結商標加以取代 ~~ */
.header {
	background-color: #222;
	box-shadow: 0px 1px 2px #333;
	width: 100%;
	height: 32px;
	position: fixed;
	padding: 0px 20px ;
	overflow: hidden;
	z-index: 999;
	color:#FFF;
	/*border-bottom:4px solid #ef705b;*/
}

.header {
	width:50%;
}

.hearder span{
	color:#FFF!important;
}


.sidebar {
	width: 240px;
	/*width: 20%;*/
	top:0px;
 	height: 100%;
	position: sticky;
	background: #252c35;/**/
	border-right:1px solid #ccc;
	float: left;
	z-index: 3;
	/*padding: 18px 0 0 0;*/
	overflow: auto;
}

.logos{
	background: #252c35;
    text-align: left;
}

.allnum{
	float: right;
    background: #2B333E;
    padding: 0px 0px;
    border-radius: 27px;
    line-height: 25px;
    width: 25px;
    text-align: center;
    height: 25px;
    font-size: 12px;
    margin: -3px 0 0 0;
    border:1px solid #454545;
}

.sec{
   
}
.sec a{
	 background-color: #252c35;
    color: #fff!important;
    border-left-color: #f3bd43!important;
}
.sec a span{
	color: #f5a300!important;
}

.content2 {

	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: calc(100% - 240px);
    height: 100%;
    padding-top:60px;
    left: 0;
    position: relative;
    float: right;
    background-color: #fafafa;
}

.wrapper{
	margin:0px;
	position: relative;
	/*background-color: #f00;*/
	width: 100%;
	height:100%;
	padding: 30px 25px;
	float: left;
	overflow: auto;
	color: #858585;

}
.menu{
	float:left;
	width:100%;
	margin: 0px 0 0 0;
	border-top:1px solid #666;
	max-width: 260px;
}

.logo{
	width: 100%;
	float: left;
	padding: 0 0% 5% 0;
	text-align: center;
	background: #444;
}

.names{
	width: 100%;
	float: left;
	padding: 5% 2%;
	background: #2ea7e0;
	color:#FFF;
	margin: 0 0 3% 0;
}
.set,.out{
	float: left;
	width: 48%;
	margin: 0 1%;
	padding: 2% 2%;
	border-radius: 3px;
	border:1px solid #777;
	color: #999;
}
.set:hover,.out:hover{
	cursor: pointer;
	color: #f00;
	border:1px solid #fff;
}
footer{
	width:100%;
	padding: 5px 15px;
	color: #666;
	position:relative!important;/* 這會為 IE6 提供 hasLayout 以進行適當的清除動作 */
	bottom: 10px;
	font-size: 12px;
	text-align: center;
}




/* ~~ 這個群組選取器會在 .content 區域空間中提供清單 ~~ */

/* ~~ 頁尾 ~~ */
.footer {
	width:60%;
	padding: 8px 0;
	color: #bcbcbc;
	/*background-color: #6F7D94;*/
	position:absolute;/* 這會為 IE6 提供 hasLayout 以進行適當的清除動作 */
	bottom: 10px;
	clear: both; /* 這個 clear 屬性可以強制 .container 辨識欄結束於何處以及包含欄的位置 */
	font-size: 10px;
}

/* ~~ 其他 float/clear 類別 ~~ */
.fltrt {  /* 這個類別可用來讓元素在頁面中浮動，浮動的元素必須位於頁面上相鄰的元素之前。 */
	float: right;
	margin-left: 8px;
}
.fltlft { /* 這個類別可用來讓元素在頁面左方浮動，浮動的元素必須位於頁面上相鄰的元素之前。 */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* 這個類別可放置在 <br /> 或空白的 Div 上，當做接在 #container 內最後一個浮動 Div 後方的最後一個元素 (如果從 #container 移除或取出 #footer) */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}




/* 上方TITLE / EX:最新消息  新增
---------------------------------------------------------*/

.con-head{
	float:left;
	margin:1% 0%;
	width: auto;
	padding: 0% 0;
	color: #666464;
	letter-spacing: 2px;
}

.con-head span{
	float:left;
	position:relative;
}

.con-head .con-title{
	color:#666;
	margin:0 15px 0 0%;
	padding: 0% 0px; 
	float: left;
}




/*物件列表頁
----------------------------------------------*/

.housepic{
	padding: 0 10px 0 0;
}
.goback{
	margin: 1.5% 0 1% .5%;
	padding: .4% 0%;
	text-align: center;
	line-height: 24px;
	border-radius: 3px;
	border:1px solid #999;
	color: #999;
	width:110px!important;
}
.goback:hover{
	border:1px solid #0091cd;
	color: #0091cd;
}

/*物件內容回上一層
---------------------------------------------*/
.prelevel{
	margin: 50px 0 20px 0;
}
.pagelist{
	width:390px;
	height:100px;
	/*background:#f00;*/
	margin:10px auto;
}

.pages{
	font-size: 14px;
	padding:5px 2px ;
	float:left;
	margin:10px 0px 0 0;
	text-align:center;
	color: #ccc;
	
}
.total{
	margin: 0 0 5px 0;
}

.pages a{
	text-decoration:none;
	color:#00AAFF;
	margin: 0 3px;
}

.pages a:hover{
	color:#00a0f0;
}

.pages .nowon {
	color:#f00;
}


.seperate{
	padding: 10px 20px;
	background: #dcdcdc;
	color: #666;
	margin: 5px 15px 20px 0;
}

.seperatenow{
	background: #df405a;
	color: #fff;
}

.buy{
	background: #e1e1e1!important;
    color: #252c35!important;
    border-left: 6px solid #f3bd43;
}


/*客戶資訊-----------------------------------*/

.cushead th{
  background-color:#252c35!important;
  padding: 20px 18px!important;
  color: #fff!important; 
}

.cushead td{

  padding: 20px 18px!important;
}

.builingsets{
	margin: 5px 10px!important;
}

.recordlist{

	height: 220px;
	overflow-y: auto;
	line-height: 28px;
}

/*物件列表-------------------------------------*/

@media only screen and (max-width: 1500px){

	.content2 {
    	width: calc(100% - 230px);
	}

	.sidebar {
		max-width: 230px;
		min-width: 230px;
		width: 230px;
	}

	.builingsets {
	    margin: 2px 10px!important;
	}

}

footer{
	
	position:absolute!important;/* 這會為 IE6 提供 hasLayout 以進行適當的清除動作 */
	text-align: left;
	
	
	
}