
.wrap {
    width:760px;
    margin: 0px auto;
    padding:12px;
}
.cal {
    width:320px;
    height:auto;
    padding:10px 0;
    margin: auto;
    background:#EAEEFF;
    border:#ABAEBD 1px solid;
    border-radius:7px;
    -webkit-border-radius:7px;
    -moz-border-radius:7px;   
    overflow: hidden;
    text-align: center;
    float: left;
}
.screen{
   width: 294px !important;
    height:70px;
    margin: 10px auto 2px;
    padding:15px 15px;
    color:#fff;
    text-align: right;
    font-size: 34px;
	font-weight:500;
    letter-spacing: 1px;
    overflow:hidden;
    background: #1D45EF;
    border:#eceff1 1px solid;
    border-radius:.25rem;
    -webkit-border-radius:.25rem;
    -moz-border-radius:.25rem;
    box-shadow:0 0 0 0.1rem rgba(176, 190, 197, .5)
    -webkit-box-shadow:0 0 0 0.1rem rgba(176, 190, 197, .5)
    -moz-box-shadow:0 0 0 0.1rem rgba(176, 190, 197, .5)
   
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}
.wrap .title{
    font-size: 1.2em;
}
.buttons{
    padding:0;
    width:294px;
    margin:auto;
    overflow: hidden;
    list-style: none;
}
.buttons li{
    display:inline;
    float:left;
    padding:0px;
    margin-right:2px;
    margin-bottom:2px;
}
/* remove margin-right on every fourth button */
.buttons li:nth-child(4n){
    margin-right:0;
}
.buttons a{
    display:block;
    width:70px;
    height:50px;
    padding:10px 0 0px;
    color:#141F44 !important;
    font-size:20px;
    font-weight: 500;
    letter-spacing: 0px;    
    border: #607d8b 1px solid;
    border-radius:2px;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    text-align: center;
    text-decoration: none;  
    background-color:#EAEEFF;
    box-shadow: inset rgba(255,255,255,0.1) 0px 1px 0px, inset rgba(0,0,0,0.2) 0px -2px 2px;
    -webkit-box-shadow: inset rgba(255,255,255,0.1) 0px 1px 0px, inset rgba(0,0,0,0.2) 0px -2px 2px;
    -moz-box-shadow: inset rgba(255,255,255,0.1) 0px 1px 0px, inset rgba(0,0,0,0.2) 0px -2px 2px;
    
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    cursor: pointer;
}
.buttons a:hover {opacity:0.8;color:#000;
    text-decoration: none;}
.buttons a:active{
    box-shadow: inset rgba(0,0,0,0.5) 0px 2px 8px;
    background:#607d8b;
    border: #607d8b 1px solid;
    color:#000;
    text-decoration: none;
       
}
.buttons a.clear{background: #FFEBEB;border-color:#d32f2f;color:#E84A34 !important;}
/* tall = button */
.tall{height:103px !important;}
/* Wide 0 */
.wide{width:142px !important;}
/* shift last row up, because the tall button pushes it down */
.shift{margin-top:-53px;}



.h1{
    text-align: center;
    color:#fff;
    font-weight: 400;
    font-size: 4em;
    line-height: 0;
    margin-top:80px;
    margin-bottom:-60px;
    text-shadow:#000 0px -1px 0px;
}
.wrap p{
    color:#fff;   
    font-size:1.2em;
    line-height: 2em;
}
.wrap a{
    color:#000;
}
.history{width:320px;float: left; background:#EAEEFF; border:#ABAEBD 1px solid;border-radius:7px;-webkit-border-radius:7px;-moz-border-radius:7px;margin: 0 0 0 10px;max-height:470px;overflow:auto;}
.clear_his {
    display: block;
    margin: 10px;
    font-size: 14px;
    font-weight:500;
    text-align: center;
    cursor: pointer;
    color:#1D45EF;
}

.history ul {
    list-style-type: none;
    padding:9px;
    margin: 10px;    
    background: #fff;
    
}
.history li {
    padding: 8.5px;
    color: #000;
    border-top:1px dotted #607d8b ;
}
.history li:first-child {border-top: 0 none}
.history li:last-child {border-bottom: 0 none}

.cal{padding:0;border: none;}
.screen{margin:0 auto 2px; width:auto !important;border-radius: 5px; height:60px!important;max-height:60px;}
.buttons li{margin:0 1px 1px;}
.buttons a{border: #fff 2px solid;box-shadow:none;}
.equal.tall {line-height: 400%;}
.buttons a{width:77px !important;}
.buttons a.wide{width: 156px !important;}
.buttons{width:auto !important;}
.buttons a.clear{border-color: #fff !important;}

.history{border:none;}
.history ul{background: none;margin: 10px 5px 0;padding: 0;}
.history li{border-radius: 5px !important;background: #fff;padding: 10px;margin: 0 0 5px;border: none;}
.history li span {display: block;padding: 0 0 5px;margin: 0 0 5px;border-bottom: solid 1px #EAEEFF;}
.history li br {display: none;}