@charset "UTF-8";
/* CSS Document */

/* fonts */
@font-face {
	font-family: "RSU-Light";
	src: url(../fonts/RSU_light.ttf);
}

@font-face {
	font-family: "RSU-Normal";
	src:url(../fonts/RSU_Regular.ttf);
}

@font-face {
	font-family: "RSU-Bold";
	src: url(../fonts/RSU_Regular.ttf);
}

body {
	margin:0;
	padding:0;
	background-color: #333;
	color:#fff;
	font-family:"RSU-Normal";
	font-size:18px;
}

.Header-1, .TotalShare {
	font-size:2.8em;
	color:#0f0;
	display: block;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}

.Header-2 {
	font-size:2.8em;
	color:#f00;
	display: block;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}

.Header-3 {
	font-size:2.8em;
	color:#ff0;
	display: block;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}

.Header-4 {
	font-size:1.8em;
	color:#ff0;
	display: block;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}

.Header-5 {
	font-size:1.5em;
	color:#fff;
	display: block;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}
.Header-6 {
	font-size:1.5em;
	color:#ff0;
	display: block;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}
.Sub-1 {
	font-size:1em;
	color:#f00;
	display: block;
}

a:link, a:visited {
	color:#fff;
}

.btn-normal:link, .btn-normal:visited {
	padding:0.2em 1em;
	background-color:#fff;
	color:#000B44;
	box-sizing: border-box;
	border-radius: 5px;
	display: inline-block;
	text-decoration: none;
}

#SummaryInfo {
	width:100%;
	padding-top:1em;
	display: block;
	text-align: center;
	background: linear-gradient(#444, #222);
	font-size:1.2em;
}

footer {
	clear: both;
	width:100%;
	height:10vh;
	display:none;
	position:fixed;
	bottom:0;
}

table {
	width:95%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-color:#fff;
	border:1px solid #000;
	color:#000;
	border-collapse: collapse;
	padding:0;
	font-size:0.9em;
}

table.tbl-receive {
	font-size:0.5em;
	padding:0.2em;
}

table tr.header, table td.header {
	background-color:#222;
	color:#fff;
	text-align: center;
}

table tr td {
	border:1px solid #000;
	border-collapse: collapse;
	line-height: 40px;
	height:40px;
	padding:0 5px;
}

.link-MoreInfo {
	width:100%;
	height:100%;
	display: block;
	background-image: url(../images/icon-MoreInfo.png);
	background-size:80%;
	background-position: center;
	background-repeat: no-repeat;
}

.tbl-borderless {
	border:none;
	background:none;
	color:#fff;
	font-size:0.8em;
}

.tbl-borderless td {
	border:none;
	height: 30px;
	line-height: 1.5em;
}

.tbl-sumTable {
	border:none;
	background:none;
	color:#fff;
	font-size:0.8em;
}

.tbl-sumTable td {
	border:none;
	padding: 0.3em;
	line-height: 2em;
}

.tbl-disable {
	background-color:#999;
}

#section-left {
	width:49%;
	height: auto;
	display: inline-block;
	text-align: right;
	padding-right:1%;
	box-sizing: border-box;
}

#section-right {
	width:49%;
	height:auto;
	display: inline-block;
	text-align: left;
	padding-left:1%;
	box-sizing: border-box;
}

input[type="text"], input[type="password"] {
	width:40%;
	display: inline-block;
	padding:5px;
	border:1px solid #045900;
	border-radius: 5px;
	font-size:1em;
	font-family: "RSU-Normal";
	margin:3px;
    box-sizing: border-box;
}

textarea{
    padding:5px;
	border:1px solid #045900;
	border-radius: 5px;
	font-size:1em;
	font-family: "RSU-Normal";
	margin:3px;
    box-sizing: border-box;
}

#Cal-Option {
	font-size:0.7em;
}

#tbl-cal {
	font-size:0.6em;
}

#tbl-cal tr td {
	padding:2px;
}

#tbl-cal tr.header {
	background-color:#21384E;
	color:#fff;
}

#tbl-receive-sum {
	min-width: 50%;
	max-width: 90%;
	font-size:16px;
	margin-bottom: 1em;
}

#tbl-receive-sum td.head {
	background-color:#555;
	color:#fff;
}

.profile-info {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	margin-bottom: 2em;
}

.dark-box {
	background-color:rgba(0,0,0,0.5);
	width:95%;
	padding:2%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	margin-bottom: 1em;
}

.light-box {
	background-color:rgba(255,255,255,0.5);
	color:#000;
	width:95%;
	padding:2%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
.numberRight{
	text-align: right;
	padding-right: 1em;
}

.bil_note {
	background-color: #222;
	padding: 1em;
	color: #fff;
	margin-top: 1em;
	margin-bottom: 2em;
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}

.confirmListContainer {
	margin: 1em;
	padding: 1em;
	border: 1px solid #fff;
}

/* รายละเอียดยอดหักปันผล */
.guaInfo {
	width: 90%;
	display: flex;
	flex-direction: row;
	margin-left: auto;
	margin-right: auto;
}
.guaInfo-Item {
	text-align: start;
	flex-grow: 1;
}
.guaInfo-Amount {
	text-align: end;
	flex-grow: 1;
}

@media screen and (orientation:portrait) and (min-width:768px){
	body {
		font-size:30px;
	}
	
	table {
		font-size:1em;
	}
	
	table tr td {
		height:50px;
	}
	
	.tbl-borderless {
		font-size:1em;
		max-width: 80%;
	}
	
	#tbl-cal {
		font-size:1em;
	}
	
	.profile-info {
		text-align: center;
	}
}

@media screen and (orientation:landscape) and (max-width:1024px){
	body {
		font-size:26px;
	}
	
	table {
		font-size:1em;
	}
	
	table tr td {
		height:50px;
	}
	
	.tbl-borderless {
		font-size:1em;
		max-width: 80%;
	}
	
	#tbl-cal {
		font-size:1em;
	}
	
	table.tbl-receive {
		font-size:0.9em;
		padding:0.2em;
	}
	
	#tbl-receive-sum {
		min-width: 50%;
		max-width: 500px;
		font-size:16px;
		margin-bottom: 1em;
	}
	
	.profile-info {
		text-align: center;
	}
}

@media screen and (orientation:landscape) and (min-width:1025px){
	
	.link-MoreInfo {
		background-size:50%;
	}
	
	
	input[type="text"] {
		width:20%;
	}
	
	#tbl-cal {
		font-size:1em;
	}
	
	#tbl-cal tr td {
		padding:3px 1em;
	}
	
	footer {
		display: none;
	}
	
	table.tbl-receive {
		font-size:0.9em;
		padding:0.2em;
	}
	
	#tbl-receive-sum {
		min-width: 50%;
		max-width: 500px;
		font-size:16px;
		margin-bottom: 1em;
	}
}