body{
    font-family:verdana;
    font-size:0.8em;
}
table{
    vertical-align:middle;
    margin:0 auto;
}
h1{
    font-size:1.4em;
    text-align:center;
}
h2{
    font-size:1.2em;
    text-align:center;
    display:none;
}
p{
    display:inline-block;
    padding-left:20px;
}
.formula{
    font-family: monospace;
    font-style:italic;
    font-size:1.2em; 
    display:inline;
}
.content{
    margin:0 auto;
    text-align:center;
    background:#dddddd; 
    border-radius:5px; 
    width:80%;
}
.text-matrix{
    vertical-align:middle;
    display:inline-block;
    text-align:left;
    width:50%;
    padding:10px 0;
}
input[type="text"]{
    text-align:center;
    width:50px;
}
input[type="number"]{
    width:30px;
}
input[type="button"]{
    margin-bottom:20px;
    margin-top:10px;
}
input[type="checkbox"]{
    margin-top:20px;
}
#results{
    margin-top:10px;
    padding:10px 0;
    display:none;
}
#results>p{
    width:100%;
    margin-top:20px;
    text-align:left;
}
#results table{
    display:inline-block;
    margin:0 5px;
    border-left:1px solid black;
    border-right:1px solid black;
    border-radius:10px;
    text-align:center;
}
#results>table{
    margin-bottom:10px;
}
#results td{
    min-width:50px;
    padding:2px;
}
#results td:nth-child(4){
    border-right:1px solid black;
}