h3 {
    margin-bottom: 26px;
}

#frontcover {
    height: 355px;
    margin: 0px 0px 0px 10px !Important;
}

#settings {
    position: absolute;
    top: 11px;
    right: 20px;
    border: solid 2px black !important;
    border-radius: 18px;
    padding: 5px 25px;
}

#settings h2 {
    color: black;
}

#Question {
    margin: -35px auto 0 auto;
    color: black;
}

ol {
        margin: 15px 0px 15px 50px ;
    }

/* Sliders */ 


#rangeShow {
    float: right;
}


/* Table differences */

tr#midRow th {
    border:none;
    background-color: transparent;
}



div.tables-grid th, div.tables-grid td {
    font-size: 2.2em;
    width: 34px;
    max-width: 34px;
    height: 50px;
    
}

.leftcol {
    padding: 0 4;
}



table {
  width: 440px;
}



tr {
display: table-row;
  height: 50px;
}

td {
  border: none !important;
  text-align: center;
  font-size: 2.2em;
  margin: 0;
    
}

.gap {
  width: 40px !important;
}

.data {
  border: solid 1px black !important;
  width: 55px;
}

.midRow td {
    width: 50px;
    color: black;
}

.dataRow td {
  width: 30px;

}

#start {
    clear: both;
}




@media (orientation: portrait) {

    
    body {
        touch-action: none;
        background: white;
    }    
    
    
    .game {
        /* left: 0px !important; */
    }
    
    .pagearea {
        background-color: white;
        left: 1px;
        right: 1px;
    }

    
    h2, h3 {
        margin-top: 10px;
        color: black;
    }
    
    h3 {
        margin-bottom: 16px !important ;
    }
    
    
    table {
        width: 410px;
    }
    
    h2 {
        display: none;
        font-size: 2.2em
    }
    
    
    #rightpanel {
        float:none;
        display: grid;
        clear:both;
        margin: 0px 10px 5px 65px;
        
    }
    
    .game {
        
        width: 410px !important;
        height: 800px !important;
        
       /* top: 5px !important; */
    }
    
    
  #content  {
      width: 410px !important;
      height: 790px !important;
        }    
    
    #content {
        
       /* transform: scale(1.5,1.5);*/
    }
    
    
    #frontcover {
        width: 410px !important;
        margin: 5px 0px !important;
        height: 710px !important;
        border: solid 3px lightslategrey;
        background: white;
        z-index: 1;
    }
    
    #settings {
        top: unset !important;
        bottom: 20px;
    }
        
        
    .slidecontainer {
        color: black;
        width: 365px;
        margin: 28px 18px;
    }
    
    

    
    .tables-grid {
        margin-left: 0px;
    }
    
    .tables-grid table {
        margin: 8px 0px 10px 0px;
    }
    
    div.tables-grid th, div.tables-grid td {
        font-size: 40px !important;
        width: 34px !important;
        max-width: 34px !important;
    }
    
    div.tables-grid th {
        font-size: 24px !important;
    }
    
    #Question {
        display: none;
    }
    
    #Timer {
        color: black;
        margin: 5px 0px;
    }
    
    #reset input {
        position: absolute;
        right: 15px;
        top: 15px;
        font-size: 12px;
    }
    
    #exit {
        left: 5px;
        top: 15px;
    }
    
    #Instructions img{
        height: 250px;
    }

    
    ol {
        margin: 15px 0px 15px 50px ;
    }
    
    #Instructions ol {
        margin: 15px 0px 5px 55px;
        width: 340px;
        line-height: 150%;
    }
    
    #Instructions li {
        width: 320px;
        margin-top: 20;
    }    
    
    
    #copyright {
        position:inherit !important;
        color:gray;
    }
    
    form#keypadForm {
        box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 30%);
    }
    
    
    @media print {
        
        div#content {
            float: left;
            margin-left: 0;
            width: 450px;
        }
        
    }
    
}




