table {
    border: 1px solid black;
    margin-left: 3px;
    margin-right: 3px;
    background-color: #EEEEEE;
    border-radius: 0px 8px 8px 8px;;
}

button[type="vihrea"] {
    width: 53px;
    height: 27px;
    background-color: #B8F397;
    color: black;
    font-size: 17px;
    font-weight: none;
    border: 1px solid black;
    border-radius: 5px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

button[type="tummanvihrea"] {
    width: 53px;
    height: 27px;
    background-color: #2B2B2B;
    color: white;
    font-size: 17px;
    font-weight: none;
    border: 1px solid black;
    border-radius: 5px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}


button[type="keltainen"] {
    width: 53px;
    height: 27px;
    background-color: #A0CFD0;
    color: black;
    font-size: 17px;
    font-weight: none;
    border: 1px solid black;
    border-radius: 5px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

button[type="lime"] {
    width: 53px;
    height: 27px;
    background-color: #D9E7CB;
    color: black;
    font-size: 17px;
    font-weight: none;
    border: 1px solid black;
    border-radius: 5px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}


button[type="valkoinen"] {
    width: 53px;
    height: 27px;
    background-color: #FFFFFF;
    color: black;
    font-size: 17px;
    font-weight: none;
    border: 1px solid black;
    border-radius: 5px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}


button[type="punainen"] {
    width: 53px;
    height: 27px;
    background-color: #BA1A1A;
    color: white;
    font-size: 17px;
    font-weight: none;
    border: 1px solid black;
    border-radius: 5px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}
button:hover{
	background-color: #DDDDDD;
}
button[type="punainen"]:hover{
	background-color: #DDDDDD;
	color: black;
}
button:active{
	background-color: #B4B4B4;
}

button[type="laskuhistoriaJaMuisti"] {
    width: 300px;
    height: 40px;
    background-color: #EEEEEE;
    color: black;
    font-size: 22px;
    font-weight: none;
    border: 1px solid black;
    border-radius: 8px;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 1px;
    margin-bottom: 1px;
}

input[type="input"] {
    width: 270px;
    padding: 4px;
    font-size: 18px;
    font-weight: none;
    text-align: right;
    background-color: #FFFFFF;
    border: 1px solid black;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
}

input[type="input"]:focus{
    outline: 3px solid black;
    outline-offset: 2px;
}

input[type="result"]:focus{
    outline: none;
}

input[type="result"] {
    padding: 4px;
    width: 270px;
    font-size: 18px;
    font-weight: none;
    text-align: right;
    border-radius: 5px 5px 0px 0px;
    border: 1px solid black;
    background: transparent;
    background-color: #D3D3D3;
    margin-left: 2px;
    margin-right: 2px;
    margin-top:0px;
    margin-bottom: 1px;
}

input[type="merkki"] {
	width: 35px;
    padding: 8px;
    font-size: 18px;
    font-weight: none;
    text-align: left;
    border-radius: 0px 0px 0px 0px;
    border: 1px solid black;
    background-color: #FFFFFF;
    margin-left: 2px;
    margin-right: -2px;
    margin-top: 1px;
    margin-bottom: 1px;
}

.HistoriaLasku {
	border-radius: 8px;
	font-size: 20px;
	margin-left: 20px;
	padding: 1px;
}

.HistoriaKaunis {
	font-size: 24px;
	margin-left: 20px;
}

div[type="historia"] {
  border: 2px solid black;
  padding: 5px;
  margin: 5px;
  height: 400px;
  overflow: auto;
  background-color: #EEEEEE;
}

div {
  border: 1px solid black;
  padding: 1px;
  margin: 5px;
  border-radius: 8px;
  background-color: white;
  padding-bottom: 10px;
}

label {
    top: 24px;
    left: 8px;
    color: red;
    display: block;
    position: relative;
    z-index: -1;
}

.mainos {
    background-color: #01759a;
    bottom: 0;
    left: 0;
    width: 98%;
    font-size: 0.7cm;
    font-weight: 600;
    line-height: 1;
    color: white;
    font-family: "Helvetica";
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
}

p {
  margin-top: 10px;
  }
