/*
	前後台共用的CSS
*/
	/* 解決datepicker 在 bootstrap開啟modal時被壓在下面的問題 */
	.ui-datepicker{ z-index:1151 !important; }
	
	img{
		border:0px;
	}
	
	/*
		這個不適合用於需要用jquery 開啟 或 隱藏的DIV上，會有問題，除非另外加上 
	
		$('#i_startdatebycustom').removeClass('hide');
		
		例：
		HTML:
			<div style='display:none;' id='i_startdatebycustom'> 自訂日期要另外顯示的內容 </div>
		JAVASCRIPT:
			switch( parseInt($("input[name='i_startdatetype']:checked").val())){
				case 2://自訂日期 (需要顯示)
					$('#i_startdatebycustom').show();
					$('#i_startdatebycustom').removeClass('hide');
				break;
				default://同租約開始日期 (需要隱藏)
					$('#i_startdatebycustom').hide();
				break;
			};
	
	.hide{
		display:none;	
	}
	*/

	.clear{
		clear:both;
	}

	.left{
		text-align:left;
	}
	
	.center{
		text-align:center;
	}
	
	.right{
		text-align:right;
	}
	
	.top{
		vertical-align:top;
	}
	
	.middle{
		vertical-align:middle;
	}
	
	.bottom{
		vertical-align:bottom;
	}

	
	
	
	
	
	
	
	
	
	
	/* checkbox style end */
	
	/* topone_wait   (OLD)
	.topone_wait{
		z-index:99999;
		position:fixed;
		left:10px;
		bottom:60px;
		display:none;
		background:#FC0;
		padding:15px;
		color:#000 !important;
		
		-moz-border-radius: 15px;
		-webkit-border-radius: 15px;
		border-radius: 15px;

		opacity: 0.85;
		-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 85);

		filter: alpha(opacity = 85);
		
	}*/
	
	.topone_wait{
		-moz-border-radius: 9px;
		-webkit-border-radius: 9px;
		border-radius: 9px;
		/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
		opacity: 0.8;
		-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 80);
		/*-ms-filter must come before filter*/
		filter: alpha(opacity = 80);
		/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
		/*All filters must be placed together*/
		background:#000;
		padding:10px;
		text-align:center;
		font-size:12px;
		font-weight:normal;
		font-family:Century Gothic;
		z-index:1051; /*modal的z-index:1050*/

	}



	/* 2019/10/19 加入 控制全部placeholder的樣式 */
	::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	  color: #ccc;
	  opacity: 1; /* Firefox */
	}
	
	:-ms-input-placeholder { /* Internet Explorer 10-11 */
	  color: #ccc;
	}
	
	::-ms-input-placeholder { /* Microsoft Edge */
	  color: #ccc;
	}


/*
*************************************************************
** 以下為各專案CSS ********************************************
*************************************************************
*/
	.none{
		display:none;
	}

	.money{
		color: #d62672;font: 16px/16px Century Gothic;	
	}
	
	.money:before{content:" $ ";font-size:12px;}
	
	.justify {
		text-align-last: justify;
		text-align: justify;
		text-justify: distribute-all-lines;
	}

	.noselect {
			  -webkit-touch-callout: none; /* iOS Safari */
				-webkit-user-select: none; /* Safari */
				 -khtml-user-select: none; /* Konqueror HTML */
				   -moz-user-select: none; /* Old versions of Firefox */
					-ms-user-select: none; /* Internet Explorer/Edge */
						user-select: none; /* Non-prefixed version, currently
											  supported by Chrome, Edge, Opera and Firefox */
			}
			
	
	
	
	
	.table_row{
		display: table;
		width:100%; 
		margin-bottom:1px;
	}
	
	.table_title{
		display:table-cell;
		margin:1px;
		vertical-align:top;
		padding:16px 10px 10px 10px;
	}


	.colon::after{
		content:" ： ";
		width:10px;
		display:inline-block;
	}
	
	.table_content{
		vertical-align:middle;
		padding:10px;
	}
	/*用於無input時的一般TEXT欄位*/
	.table_content4normal{
		padding-top:16px !important;	
	}
	
	/* 最小500px (大於500px時) */
	@media (min-width: 500px) {
		.table_title{
			width:140px;
			text-align:justify;
			text-align-last:justify;
			text-justify:distribute-all-lines;
			
		}

		.table_content{
			display:table-cell;
			text-align:left;
		}

		
		
		.table_end{
			clear:both;	
		}
	}
	/* 最大500px (小於500px時) */
	@media (max-width: 500px) {
		.table_row{
			display:block;
		}
		
		.table_title{
			display:block;
			text-align:left;
			font-weight:bold;
			width:100%;
		}

		
		
		.table_content{
			display:block;
			text-align:right !important;
		}
		
		.table_end{
			
		}
	}
	