@font-face {
  font-family: Parastoo;
  src: url('../fonts/Parastoo-FD.eot');
  src: url('../fonts/Parastoo-FD.eot?#iefix') format('Parastoo-FD-opentype'),
       url('../fonts/Parastoo-FD.woff') format('woff'),
       url('../fonts/Parastoo-FD.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body { font-family: Parastoo;}
table {border:0; border-collapse:collapse; border-spacing: 0px;}
td {text-align: center; border:0; margin:auto; padding:0 2px; border-collapse:collapse; border-spacing: 0px;}
a {cursor:pointer; text-decoration:none;}

/* hide arrow in numeric input */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  text-align: center;
  font-family: Parastoo;
  font-size: 16px;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  text-align: center;
  font-family: Parastoo;
  font-size: 16px;
}

button{font-family: Parastoo;}

@media screen and (max-width: 600px) {
    .ifLandscape{ display:none; }
    .ifPortrate{ display:block; }
    .smallFont { font-size:12px; }
    .PorL {
         width:50vw;
    }
    .PorL2 {
         width: calc(100% - 100px);
         font-size:4vw;
    }
    .myKeyBg{
        font-size:min(4.6vw,52px);
    }
    .topBarText{
        font-size:16px;
    }
}
@media screen and (min-width: 601px) {
    .ifLandscape{ display:block; }
    .ifPortrate{ display:none; }
    .PorL {
         width:25vw;
    }
    .PorL2 {
         width: calc(100% - 150px);
         font-size:3vw;
    }
    .myKeyBg{
        font-size:min(3.6vw,24px);
    }
}
@media screen and (orientation: portrate) {
    .ifLandscape{ display:none; }
    .ifPortrate{ display:block; }
    .smallFont { font-size:12px; }
    .PorL {
         width:50vw;
    }
    .PorL2 {
         width: calc(100% - 100px);
         font-size:4vw;
    }
}
@media screen and (orientation: landscape) {
    .ifLandscape{ display:block; }
    .ifPortrate{ display:none; }
    .PorL {
         width:30vw;
    }
    .PorL2 {
         width: calc(100% - 150px);
         font-size:3vw;
    }
}

.topBar{
   background-color:rgb(14,5,93); border:0; border-radius:5px 0 0 0; padding:3px;
}

.topBarText{
   background-color:yellow; padding:0px 15px; text-align:right;
}

.topBarBox{
    border:solid 3px rgb(14,5,93); border-top:0px; border-radius:0 0 5px 5px; box-shadow:2px; padding:10px 5px;
}

.Mosallas{
    margin:0 -2px 0 0;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-right: 50px solid yellow;
    border-bottom: 0px solid transparent;
}

.myKey{
    border:none;
    position: relative;
    padding:0px;
    margin: 20px 20px;
}
.myKeyBg{
    height:72px;
    background-color:yellow;
    min-width:200px;
    box-shadow:0px 2px 2px gray;
    white-space: nowrap;
    line-height: max(65px,2vw);
    text-align: center;
    padding:0px 5px;
}
.myKeyShadow {
    position: absolute;
    right:-10px;
    top:0px;
    box-shadow:0px 1px 0px gray;
}
