body {
    background-color: #888;
    margin: 0px; }

.calculatorwrap {
    border-radius: 10px;
    padding: 25px 10px 15px 10px;
    background-color: rgba(50,50,50,1);
    max-width: 192px; 
    margin-left: auto; 
    margin-right: auto; 
    margin-top: 50px; 
    box-shadow: -8px -8px 8px rgba(0,0,0,0.5), inset -2px -2px 3px rgba(255,255,255,.7); }

.mainscreen {
    font-family: threefourtwotwo; 
    font-size: 24px;
    font-weight: 100;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    border-radius: 2px 2px 0px 0px;
    height: 20px;
    max-width: 100%;
    background-color: silver; 
    text-align: right; 
    box-shadow: inset -2px 0px 1px rgba(0,0,0,0.5); }

.smallscreen {
    margin-bottom: 10px;
    font-family: threefourtwotwo; 
    font-size: 12px;
    font-weight: 100;
    padding-top: 3px;
    color: black;
    padding-left: 6px;
    border-radius: 0px 0px 2px 2px;
    background-color: silver;
    max-width: 100%;
    height: 15px; 
    box-shadow: inset -2px -2px 1px rgba(0,0,0,0.5); }

.buttonrow {
    display: block; }

.button {
    margin: 5px;
    padding: 0px 0px;
    font-size: 10pt;
    color: white;
    width: 35px;
    height: 35px;
    background-color: rgba(110,110,110,1);
    border-radius: 2px;
    border-width: 2px;
    border-bottom-color: darkgray; 
    border-right-color: darkgray; 
    border-top-color: dimgray; 
    border-left-color: dimgray; }

#ac, #back {
    background-color: rgba(230,100,100,1); }

#plus, #minus, #multiply, #divide, #exponent {
    color: white;
    background-color: rgba(50,50,50,1); }

#equal {
    color: black;
    background-color: rgba(240,200,40,1); }

.button:hover {}

.button:active {
    transform: translate(1px, 1px); }