﻿@charset "utf-8";

html,
body {
    height: 100%;
    width: 100%;
}

/************Table*****************/
#page-wrap {
	margin-top: 15px;
	margin-right: 0px;
	margin-bottom: 5px;
}
#page-wrap h4{
	font-weight: 600;
}
table { 
		width: 100%; 
		border-collapse: collapse; 
	}
	/* Zebra striping */
	tr:nth-of-type(odd) {
	background-color: rgba(255,242,242,1.00);
	}
	th {
	background-color: rgba(51,62,72,1.00);
	color: white;
	font-weight: bold;
	}
	td, th { 
		padding: 6px; 
		border: 1px solid #ccc; 
		text-align:center; 
	}

	
	
#footer ul{
	list-style: none;
}

@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		table, thead, tbody,tfoot, th, td, tr { 
			display: block; 
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr {
	       position: absolute;
	       top: -9999px;
	       left: -9999px;
		}
		th {
	       background-color: rgba(51,62,72,1.00);
	       color: white;
	       font-weight: bold;
	        }
		tbody tr { border: 1px solid #ccc; }
		
		thead ,tbody td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #CFCFCF; 
			position: relative;
			padding-left: 50%; 
		}
		
		tbody td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}
	    tfoot tr { border: 1px solid #ccc; }
		
		tfoot td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
			
		}
		
		tfoot td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}
		/*
		Label the data
		*/
		tbody td:nth-of-type(1):before { content: "股票代號"; }
		tbody td:nth-of-type(2):before { content: "股票簡稱"; }
		tbody td:nth-of-type(3):before { content: "昨收淨值"; }
		tbody td:nth-of-type(4):before { content: "預估淨值"; }
		tbody td:nth-of-type(5):before { content: "淨值漲跌幅%"; }
		tbody td:nth-of-type(6):before { content: "昨收市價"; }
		tbody td:nth-of-type(7):before { content: "最新市價"; }
		tbody td:nth-of-type(8):before { content: "市價漲跌幅%"; }
		tbody td:nth-of-type(9):before { content: "折溢價幅%"; }
        tbody td:nth-of-type(10):before { content: "即時追蹤差距%"; }      
        tbody td:nth-of-type(11):before { content: "基金營業日"; }
		tbody td:nth-of-type(12):before { content: "資料時間";}
		
	}
	.details	tbody td:nth-of-type(1):before { content: "股票代號"; }
	.details	tbody td:nth-of-type(2):before { content: "股票簡稱"; }
	.details	tbody td:nth-of-type(3):before { content: "昨收淨值"; }
	.details	tbody td:nth-of-type(4):before { content: "預估淨值"; }
	.details	tbody td:nth-of-type(5):before { content: "淨值漲跌幅%"; }
	.details	tbody td:nth-of-type(6):before { content: "昨收市價"; }
	.details	tbody td:nth-of-type(7):before { content: "最新市價"; }
	.details	tbody td:nth-of-type(8):before { content: "市價漲跌幅%"; }
	.details	tbody td:nth-of-type(9):before { content: "折溢價幅%"; }
	.details	tbody td:nth-of-type(10):before { content: "即時追蹤差距%"; }      
	.details	tbody td:nth-of-type(11):before { content: "基金營業日"; }
	.details	tbody td:nth-of-type(12):before { content: "資料時間";}
	}
/*tfoot*/
		tfoot td:nth-of-type(1):before { content: "即時匯率"; }
	
