﻿/*
    列印樣式-----------------
*/
@page {
	size: A4 portrait;
	/*orphans: 0; 此屬性影響分頁 */
	margin-top: 0.37in;
	margin-bottom: 0.1in;
	margin-left: 0.2in;
	margin-right: 0.2in;
}

@media print {
	.no-print {
		display: none !important;
	}

	* {
		//page-break-inside: avoid !important;
		//page-break-before: avoid !important;
		//page-break-after: avoid !important;
		color: #000 !important;
		border-color: #000 !important;
		font-weight: 400 !important;
		text-decoration: none !important;
		-webkit-print-color-adjust: exact;
		printer-colors: exact;
		color-adjust: exact;
	}
	body {
		-webkit-print-color-adjust: exact;
		background-color: #fff !important;
	}
	table {
		overflow-x: auto;
		overflow-y: hidden;
	}
	tr {
		page-break-inside: avoid;
		page-break-after: auto
	}

	/*  範例文字  */
	.authInfo h5 {
		background: none;
	}
	/*  簡表&詳表 - 標題背景顏色  */
	#list-main thead th,
	.detail-main th,
	.detail-info #title2 {
		background-color: #c1c1c1 !important;
	}

	/* 
		簡表 ---------------------------------------
	*/
	/* 頁腳 - 不列印 */
		#list-main table tfoot,
		#list-main table tbody tr td .subline,
		#list-main th .subline {
			display: none !important;
		}

	#list-main table tbody tr td br,
	#list-main th br {
		display: block !important;
	}

	#list-main table * {
		white-space: inherit !important;
	}
	/* 標題 */
	#list-main th {
		padding: 0 !important;
		height: 50px !important;
		background: none;
		border: solid 1px #000;
		font-weight: bold;
		font-size: 1.5vw !important;
	}
	#list-main table tbody tr td {
		font-size: 2.5vw !important;
	}
		#list-main table tbody tr td p b {
			font-size: 2.8vw !important;
		}
	/* 反藍 雙數號 去除底色 */
	#list-main table tr:nth-child(even) td,
	#list-main table tr.viewed td {
		background-color: #fff !important;
	}

	.ten {
		width: 10% !important;
	}
	/* 案號  */
	.twelve {
		width: 15% !important;
	}
	
	/* 總底價 */
	.total-price-text {
		width: 12% !important;
	}
	/* 點交 */
	.ten-beats {
		width: 8% !important;
	}
	.cross {
		margin-left: -4px;
	}
	/* 投標時間 */
	.bid-time {
		width: 8% !important;
	}
	/* 備註 */
	#list-main table td.remarks button {
		display:none;
	}
	#list-main table td.ten.remarks {
		padding: 5px !important;
	}
	#list-main table tr:nth-child(even) td {
		background: transparent;
	}

    #list-main table tbody tr td.serial-number {
        font-size: 20px!important;
    }

    /*案號*/
    .case-number {
        font-size: 25px;
        word-break: break-all;
        word-wrap: break-word;
    }
    /*拍次*/
    .beats {
        font-size: 20px !important;
    }

    /*點交*/
    .cross {
        font-size: 17px !important;
    }

    /*總底價*/
    .total-price {
        font-size: 18px !important;
        width: 10%!important;
    }

    /*投標時間*/
    .biddate {
        font-size: 15px !important;
    }


    /* 
		詳表 ---------------------------------------
	*/
    /* 導航區 */
    #Detail .section-top {
        border-top: none;
        padding-top: 0;
    }
	/* 人氣 */
	span[class^="popularity"] b,
	span[class^="popularity"] i {
		background: none !important;
	}
	span[class^="popularity"] b {
		border-right: solid 1px #000 !important;
	}
	/* 公設 */
	.item-detail-building {
		margin: 0 !important;
	}
	.item-detail-building > br {
		display: none !important;
	}
	#public_area .item-detail-building {
		padding-left:10px;
	}
	/* 總坪數 */
	.total-size {
		display: inline-block !important;
	}
	/* 標題 */
	.section-custom {
		position: relative;
	}
	#title1 td br {
		display:block !important;
	}
	#titleMobile td br {
		display: block !important;
	}
	#titlePC td br {
		display: block !important;
	}
	.item-detail-title {
		margin: 0;
	}
	.item-detail-address {
		margin-left: 0 !important;
		margin-top: 5px !important;
	}
	.item-detail-address span {
		display:none; 
	}
		.detail-main th, .detail-main td {
			padding: 5px 0 !important;
			line-height: 23px !important;
		}
	.detail-main th, .detail-main td, .detail-info td {
		font-size: 120% !important;
	}

	/* 拍次 */
	.detail-main .pa,
	.detail-info #title2 {
		width: 90px !important;
	}

	.detail-info #title2 {
		line-height: 15px !important;
		padding: 12px 0 !important;
	}

	/* 內文 */
	.detail-info td {
		padding: 6px 12px;
	}
	/* 內文 br */
	.detail-info br {
		margin: 10px 0 !important;
	}

		.detail-info .record br {
			margin: 0 !important;
			vertical-align: 0px !important;
		}

		.detail-info .increase br {
			margin: 5px 0 !important;
			vertical-align: -5px !important;
		}

		/* 圖片區塊 */
		.photo-area td {
			padding: 0;
			border: none;
		}

	.photo-area img,
	.photo-area .img {
		width: inherit;
		max-height: 300px;
		margin-top: 15px;
		display: inline-block;
	}
			/* 圖片準備中 & 照片carousel導航 - 不列印 */
			.photo-area .carousel-indicators,
			.photo-area .carousel-control-prev,
			.photo-area .carousel-control-next,
			.photo-area img[src='https://www.104woo.com.tw/wwwphoto/photo/0/b.jpg'] {
				display: none;
			}
		/* 單張圖片 */
		.photo-area .col-12 img {
			float: none;
		}

		.photo-area .col-12 center {
			text-align: left !important;
		}
		/* 雙張圖片 */
		.photo-area .col-md-6 {
			flex: 0 0 50%;
			max-width: 50%;
		}

    
	}
@media print and (-webkit-min-device-pixel-ratio:0) {
	.section-custom .order-lg-8 {
		order: 8;
		flex: 0 0 45%;
		max-width: 45%;
		position: absolute;
		right: 0;
	}

	.section-custom .order-lg-1 {
		order: 1;
		flex: 0 0 60%;
		max-width: 60%;
		white-space: nowrap;
	}
}
/*
	print for (ie10 、 ie11) ----------------------------------------
*/
@media print and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	/* 簡表標題 */
	#list-main thead th {
		font-size: 1vw;
	}

	#list-main table tbody tr td {
		font-size: 1vw;
	}
	/* 內文 br */
	.detail-info br {
		margin: 0 !important;
		height: 0 !important;
	}
	/* 內文 br */
	.detail-info br {
		vertical-align: -10px !important;
	}
}
/*
	print for (Firefox) ----------------------------------------
*/
@media print and (min--moz-device-pixel-ratio:0) and (min-resolution: 3e1dpcm) {
	#list-main table {
		font-size: 113% !important;
	}
		#list-main table tbody tr td {
			line-height: 1.5rem !important;
		}
	/* 內文 br */
	.detail-info br {
		margin: 5px !important;
	}
}
/* 
	後台 : 停訂客戶名單 ---------------------------------------
*/
@media print {
	.userList {
		background: #fff !important;
	}

		.userList #list-main .table-bordered thead th {
			background: #fff !important;
			height: inherit !important;
			padding: 5px;
		}

	.table-bordered thead th,
	.table-bordered td {
		border: solid 1px #000 !important;
	}

	.print-only {
		display: block;
	}

}

.print-only {
	display: none;
}

/* 
	詳文特殊處理 ---------------------------------------
*/

/*
@media print{
	#titleMobile {
		display: none;
	}
	#titlePC {
		display: block;
	}
}
@media only screen and (min-width: 768px) {

	#titleMobile {
		display: none;
	}
	#titlePC {
		display: block;
	}
}
@media only screen and (max-width: 768px) {

	#titleMobile {
		display: block;
	}
	#titlePC {
		display: none;
	}
}
	*/