@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;
}
@font-face {
  font-family: aviny;
  src: url('../fonts/aviny-700.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: dastnevis;
  src: url('../fonts/dastnevis.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.blink_me {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

h1, h2 { font-family: aviny; }
input, textarea, select, 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: 800px) {
    .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: 801px) {
    .ifLandscape{ display:block; }
    .ifPortrate{ display:none; }
    .PorL {
         width:25vw;
    }
    .PorL2 {
         width: calc(100% - 150px);
         font-size:3vw;
    }
    .myKeyBg{
        font-size:min(3.6vw,24px);
    }
}
.topBar{
   background-color:rgb(14,5,93); border:0; border-radius:5px 0 0 0; padding:3px;
}

.topBarText{
   background-color:orange; 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 orange;
    border-bottom: 0px solid transparent;
}

.myKey{
    border:none;
    position: relative;
    padding:0px;
    margin: 10px 20px;
    border-radius: 5px 0 0 15px;
    cursor:pointer;
}
.myKeyBg{
    height:62px;
    background-color:yellow;
    min-width:200px;
    box-shadow:-4px 4px 2px rgb(14,5,93);
    white-space: nowrap;
    line-height: max(65px,2vw);
    text-align: center;
    padding:0px 25px;
    border-radius: 5px 0 0 15px;
}
.myKeyShadow {
    height:67px;
    position: absolute;
    right:-10px;
    top:0px;
    /*box-shadow:0 4px 0 rgb(14,5,93);*/
}

/*loader*/
.loader {
  margin:100px 0;
  border: 16px dotted  #f3f3f3;
  border-radius: 50%;
  border-top: 16px dotted  #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/*end loader css*/

.hidden{display:none;}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

