html, body
{
  width: 580px;
  margin: 0;
  padding: 0;
  float:right;
  font-family: arial, helvetica, sans-serif;
  font-size: 12px;
  color: #333;
}

body
{
  margin-top: 10px;
}

h1
{
  border-bottom: 1px solid #CC0044;
  color: #CC0044;
  font-size: 16px;
  margin: 0 0 20px 0;
  padding: 0 5px;
}

h2
{
  border-bottom: 1px dashed #e1e0de;
  color: #CC0044;
  font-size: 14px;
  margin: 0 0 0 0;
  padding: 0 5px;
}

h3
{
  border-bottom: 1px solid #ff6633;
  color: #ff6633;
  font-size: 16px;
  margin: 0 0 10px 0;
  padding: 0 5px;
}

h4
{
  border-bottom: 1px solid #993366;
  color: #993366;
  font-size: 16px;
  margin: 0 0 10px 0;
  padding: 0 5px;
}
label
{
  display: block;
  width: 400px;
  float: left;
  font-size: 13px;
  color: #505050;
  margin-bottom: 10px;
  font-weight: bold;
  margin-top: 2px;
}

input
{
  width: 100px;
  font-size: 13px;
  color: #003366;
  text-align: center;
  border: 2px solid #CC0044;
  font-weight: bold;
}

select
{
  font-size: 13px;
  color: #003366;
}

input[type=submit]
{
  background-color: #666;
  border: 2px solid #990033;
  color: white;
}

.error
{
  width: 100%;
  color: red;
  font-weight: bold;
  text-align: center;
}

span.num
{
  display: block;
  float: left;
  width: 20px;
  font-weight: bold;
  color: #FF0000;
}

div#calculator
{
  margin-top: 30px;
}

.hr
{
  border-top: 1px solid #e2e2e2;
  margin: 6px auto 10px auto;
  width: 100%;
}

span#utalvany {
	height: 30px;
	list-style: none;
	margin: 0 120px 0 30px;
	background: url('images/osszesen.jpg');
}

span#ber {
	height: 30px;
	list-style: none;
	margin: 0 320px 0 30px;
}

.imgleft {
	float: left;
	margin: 0 0 0 0;
}

span#erteke
{
  margin: 0 30px 0 30px;
}

#calculator table thead tr th,
#calculator table td.header
{
  text-align: center;
  font-weight: bold;
  color: white;
  /* background-color: #666; */
  background-color: #990033 !important;
}

#calculator table tr td
{
  text-align: right;
}

#calculator table tr td:first-child
{
  font-weight: bold;
  text-align: left !important;
  background-color: #DFDFDF;
}

#calculator table td,
#calculator table th
{
  padding: 3px;
}

#calculator table td,
#calculator table th
{
  border: 1px solid black;
}

#calculator table
{
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}

#calculator table tr td.row-1
{
  /* background-color: #FF99CC; */
}

#calculator table tr td.row-2
{
  /* background-color: #FFCC99; */
}

#calculator table tr td.row-3
{
  /* background-color: #C0C0C0; */
}

#calculator table tr td.row-bottom
{
  background-color: #FFFF99;
  text-align: center;
  color: #B02B2C;
}

#calculator table tr td.row-bigger
{
  font-size: 22px;
}

#calculator table tr td.row-separator
{
  border: none;
  background-color: transparent;
}

#calculator table thead tr th.countwidth
{
  width: 110px;
}

#calculator table tr td.row-sepfirst
{
  border: none;
  background-color: transparent;
}

#calculator p.comment
{
  padding: 0;
  margin: 0;
  text-align: right;
  font-style: italic;
}

#calculator span.utalvany
{
  padding: 0;
  margin: 0;
  width: 90px;
  height: 30px;
  text-align: center;
  font-style: italic;
  background: url(bg_ktg.jpg)  no-repeat right;
}

#graph
{
  display: block;
  height: 380px;
  margin: 0 auto 5px;
}
