body
{
	background-color: #F5F5F5;
	padding-left: 10px;
	/*font-family: Arial, sans-serif;*/
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
}
h1
{
	font-size: 28px;
	margin: 10px 0px 20px 0px;
}
input[type="text"], input[type="number"]
{
	width: 100px;
	border: 0px solid transparent;
	border-bottom: 1px solid #ccc;
	border-radius: 0px;
	/*box-shadow: inset 0px 0px 5px rgba(0,128,0,.9);*/
}
input[type="text"]:focus, input[type="number"]:focus
{
	outline: none;
	border-bottom: 1px solid rgb(0,204,0);
}
input.edited
{
	/*border: 1px solid #0c0;*/
	/*box-shadow: inset 0px 0px 5px rgba(255,0,0,.9);*/
	/*border-bottom: 1px solid rgb(204,0,0);*/
	border-bottom: 1px solid rgb(0, 119, 204);
}
table
{
	border-collapse: collapse;
	/*margin-bottom: 30px;*/
}
th, td
{
	/*border: 1px solid black;*/
	
	min-width: 100px;
	height: 25px;
}
th
{
	padding: 3px;
}
td
{
	padding: 0px;
}
td>div
{
	padding: 3px;
}
td>input[type="text"], td>input[type="number"]
{
	width: inherit;
	height: inherit;
	padding: 3px;
}
#monthly_data_div
{
	border: 0px solid black;
	border-radius: 2px;
	width: 848px;
	padding: 0px 0px 0px 0px;
	margin-bottom: 8px;
	background-color: #FFF;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
#monthly_data
{
	table-layout: fixed;
	width: 848px;
}
#monthly_data td, #monthly_data th
{
	border-bottom: 1px solid #eee;
}
#monthly_data th:nth-child(1)
{
	width: 70px;
}
#monthly_data th:nth-child(2)
{
	width: 100px;
}
#monthly_data th:nth-child(3)
{
	width: 100px;
}
#monthly_data th:nth-child(4)
{
	width: 100px;
}
#monthly_data th:nth-child(5)
{
	width: 100px;
}
#monthly_data th:nth-child(6)
{
	width: 110px;
}
#monthly_data th:nth-child(7)
{
	width: 110px;
}
#monthly_data th:nth-child(8)
{
	width: 110px;
}
#monthly_data tr:last-child td
{
	border-bottom: none;
}
#monthly_data td
{
	text-align: center;
	overflow: hidden;
}
#monthly_data input[type="text"], #monthly_data input[type="number"]
{
	text-align: center;
}
.editable
{
	display: inline-block;
	padding: 0px;
	position: relative;
}
.editable>input[type="text"], .editable>input[type="number"]
{
	padding: 3px;
	height: 25px;
	width: 100px;
	/*border-style: none;*/
}
.editable:after
{
	/*content: "\270E";
	position: absolute;
	right: 0px;
	color: #999;*/
}
#monthly_data td:nth-child(2)
{
	width: 100px;
}
#monthly_data tr:nth-child(13) td, #monthly_data tr:nth-child(25) td
{
	/*border-bottom-width: 3px;*/
	border-bottom-color: #bbb;
}
#monthly_data tr:hover, #monthly_data tr:hover input
{
	background-color: #eee;
}
#calc_data_div
{
	border: 0px solid black;
	border-radius: 2px;
	width: 600px;
	padding: 20px 5px;
	margin-bottom: 20px;
	margin-top: 20px;
	background-color: #FFF;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
#calc_data
{
	margin-left: auto;
	margin-right: auto;
}
#data_input_div
{
	border: 0px solid black;
	border-radius: 2px;
	width: 600px;
	padding: 20px 5px;
	background-color: #FFF;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
#data_input
{
	margin-left: auto;
	margin-right: auto;
}
#data_input th
{
	text-align: right;
}
#data_input td, #data_input th
{
	padding: 1px;
}
#data_input input[type="text"], #data_input input[type="number"]
{
	width: 100px;
}
.tip
{
	border: 1px solid gray;
	width: 12px;
	height: 12px;
	border-radius: 12px;
	font-size: 10px;
	text-align: center;
	line-height: 12px;
	background-color: #ddd;
	cursor: pointer;
	display: inline-block;
	margin: 1px;
	position: relative;
	font-weight: normal;
	padding: 0px;
}
.tip>.tiptext
{
	position: absolute;
	top: 0px;
	left: 16px;
	/*border: 1px solid gray;*/
	border-radius: 2px;
	background-color: #fff;
	width: 200px;
	min-height: 40px;
	font-size: 14px;
	padding: 4px;
	text-align: left;
	cursor: default;
	display: none;
	line-height: 1.3em;
	/*box-shadow: 1px 1px 3px rgba(0,0,0,.5);*/
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
	z-index: 999;
}
#calc_data th
{
	text-align: right;
}

.only_mobile
{
	display: none;
}

#welcome
{
	box-sizing: border-box;
	width: 846px;
	min-height: 154px;
	margin-bottom: 20px;
	padding: 1px 10px 10px 10px;
	color: #000;
	
	border: 0px solid black;
	border-radius: 2px;
	background-color: #FFF;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

#narrowarea
{
	float: left;
}

#topbanner
{
	box-sizing: border-box;
	width: 846px;
	height: 100px;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 20px;
	color: #555;
	
	border: 0px solid black;
	border-radius: 2px;
	background-color: #FFF;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
#sidebanner
{
	box-sizing: border-box;
	float: left;
	width: 216px;
	height: 608px;
	margin-left: 20px;
	padding: 20px;
	color: #555;
	
	border: 0px solid black;
	border-radius: 2px;
	background-color: #FFF;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

@media all and (max-width: 850px)
{
	body
	{
		padding: 3px;
		font-size: 12px;
	}
	.only_mobile
	{
		display: block;
	}
	#narrowarea
	{
		float: none;
	}
	#topbanner, #sidebanner
	{
		display: none;
	}
	#welcome
	{
		width: 100%;
	}
	#data_input_div, #calc_data_div, #monthly_data_div
	{
		box-sizing: border-box;
		width: 100%;
	}
	#calc_data
	{
		table-layout: fixed;
	}
	#calc_data th:nth-child(1), #calc_data td:nth-child(1)
	{
		width: 50%;
	}
	#data_input input[type="text"], #data_input input[type="number"]
	{
		width: 60px;
	}
	#monthly_data
	{
		width: 100%;
	}
	#monthly_data th:nth-child(1)
	{
		width: 40px;
	}
	#monthly_data th:nth-child(2)
	{
		width: 60px;
	}
	#monthly_data th:nth-child(7)
	{
		width: 60px;
	}
	#monthly_data th:nth-child(8)
	{
		width: 60px;
	}
	#monthly_data td:nth-child(2)
	{
		width: 60px;
	}
	.editable>input[type="text"], .editable>input[type="number"]
	{
		width: 60px;
		font-size: inherit;
	}
	#calc_data th, #calc_data td
	{
		height: 25px;
	}
	th, td
	{
		min-width: 60px;
	}
	.col_3, .col_4, .col_5, .col_6
	{
		display: none;
		width: 0;
		height: 0;
		opacity: 0;
		visibility: collapse;
	}
}

@media print
{
	*
	{
		float: none;
		box-shadow: none !important;
	}
	.tip
	{
		display: none;
	}
	#data_input_div, #calc_data_div
	{
		border: 1px solid black;
	}
	#data_input input[type="text"]
	{
		border: 1px solid black;
	}
	#monthly_data
	{
		page-break-before: always;
	}
	#monthly_data input[type="text"]
	{
		border-color: transparent;
		background-color: transparent;
	}
	#monthly_data td, #monthly_data th
	{
		border-bottom: 1px solid #000;
	}
	#monthly_data tr:last-child td
	{
		border-bottom: none;
	}
	#monthly_data tr:nth-child(13) td, #monthly_data tr:nth-child(25) td
	{
		border-bottom-width: 2px;
		border-bottom-color: #000;
	}
	#welcome, #topbanner, #sidebanner
	{
		display: none;
	}
}
