.box {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgb(242, 48, 48);
    min-height: 360px !important;
    /* width: 100%; */
    width: 560px !important;
    }
    #keyPad_btn0{
        width: 91px;
    }
    @media only screen and (max-width: 540px) {
        a#keyPad_btn0 {
            width: 44px !important;
        }
    .box {
    min-height: 360px !important;
    /* width: 100%; */
    width: 359px !important;
    margin-left: 1%;
    }
    }
    @media only screen and (max-width: 420px) {
    .box {
    min-height: 360px !important;
    /* width: 100%; */
    width: 309px !important;
    margin-left: 1% !important;
    }
    }
    .calc_container {
        padding: 6px !important;
    }
    .form-control{
        margin-bottom: 10px;
    }
  
    ul li{
    padding-top: 30px;
    padding-left: 30px;
    color: white;
    font-size: 26px;
    text-decoration: underline;
    }
    div#wrapper{
    margin: 14px;
    }
    @media only screen and (max-width: 750px) {
    .box {
    width:317px !important;
    }
    ol, ul {
    padding-left: 0 !important;
    }
    ul li{
    padding-top: 30px !important;
    padding-left: 9px !important;
    font-size: 10px !important;
    }
    .form-control{
    width: 90% !important;
    }
    }
    @media only screen and (max-width: 350px) {
    .box {
    width: 253px !important;
    }
    ol, ul {
    padding-left: 0;
    }
    ul li{
    padding-top: 30px !important;
    padding-left: 9px !important;
    font-size: 10px !important;
    }
    .form-control{
    width: 90% !important;
    }
    }
    .content-box {
    justify-content: center;
    padding-bottom: 20px !important;
    }
    button.btn {
    background-color: darkgrey;
    border-radius: 0;
    }
    #calcform{
    color: white;
    }
    .content-box{
        justify-content: center;
        padding: 20px;
    }
    
    @media only screen and (max-width: 540px) {
    .keyPad_TextBox, .keyPad_TextBox1{
    width: 230px !important;
    }
    #keyPad a {
    font-size: 9px !important;
    font-weight: bold !important;
    height: 26px !important;
    line-height: 20px !important;
    text-align: center !important;
    margin-left: 1px !important;
    text-decoration: none !important; 
    vertical-align: middle !important;
    width: 21px !important;
    }
    #keyPad a.min {
    font-size: 9.5px !important;
    }
    #keyPad #keyPad_btnBack{
    width: 49px !important;
    }
    #keyPad_btnDot {
    width: 18px !important;
    }
    #keyPad #keyPad_btnEnter {
    line-height: 47px !important;
    margin-right: 13px !important;
    width: 22px !important;
    height: 54px !important;
    bottom: 33px !important;
    FONT-SIZE: 20px !important;
    right: 8px !important;
    }
    #keyPad #keyPad_btnClr, #keyPad #keyPad_btnInverseSign, #keyPad #keyPad_btnAllClr{
    width: 17px !important;
    }
    }
    @media only screen and (max-width: 420px) {
    .keyPad_TextBox, .keyPad_TextBox1{
    width: 275px !important;
    }
    #keyPad a {
    font-size: 9px !important;
    font-weight: bold;
    height: 24px !important;
    line-height: 20px !important;
    text-align: center !important;
    margin-left: 0px !important;
    text-decoration: none;
    vertical-align: middle !important;
    width: 20px !important;
    }
    #keyPad a.min {
    font-size: 8.5px !important;
    }
    #keyPad #keyPad_btnBack{
    width: 46px !important;
    }
    #keyPad_btnDot {
    width: 16px !important;
    }
    #keyPad #keyPad_btnEnter {
    line-height: 47px !important;
    margin-left: 6px !important;
    width: 22px !important;
    height: 54px !important;
    bottom: 33px !important;
    FONT-SIZE: 20px !important;
    right: 8px !important;
    }
    #keyPad #keyPad_btnClr, #keyPad #keyPad_btnInverseSign, #keyPad #keyPad_btnAllClr{
    width: 17px !important;
    }
    }
    .flex-column{
     align-items: center !important;
    }
    @media only screen and (max-width: 321px){
.keyPad_TextBox, .keyPad_TextBox1 {
    width: 216px !important;
}
#keyPad a { 
margin-left: -1px !important;
width: 15px !important;
font-size: 6px !important;
}
#keyPad #keyPad_btnBack {
    width: 29px !important;
}
#keyPad #keyPad_btnEnter{
    margin-right: 15px !important;
}
#keyPad a.min {
    font-size: 6.5px !important;
}
a#keyPad_btn0 {
    width: 32px !important;
}
    }