



.pagearea {
    background-color: white;
}

.game{
    height: 480px;
}

#content {
    height: 460px;
}



/* Sliders */ 

.slidecontainer {
    color: black;
    width: 100%;
    text-align: left;
    margin-top: 3px;
}

span {
    display: inline-flex;
}

.slider{
    width: 25px;   
    vertical-align: middle;
}

#rangeShow {
    display: inline-block;
}

h2 {
    margin: 0px;
    color: black;
}

input.buttons {
    top: 12;
    right: 5;
    position: absolute;
    border: solid 4px white;
    padding: 5 15;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
}

#exit{
    top: 15px;
}

dl {
    width: 433px;
    text-align: left;
    margin: 5px 0 5px 260px;
    font-size: 13px;
}

dd {
    margin-left: 18px;width: 480px ;
}

#frontcover {
    visibility: hidden;
    height: 348px;
    width: 795px;
    margin: 24px 0 0 0px;
}

#Instructions {
    background: white;
    border-radius: 15px;

}


#Answers {
    margin: 14 0 20 0;
}


form#keypadForm {
    border: solid 3px grey;
}


div.start {
    display: inline-block;
    margin: 0 15px;
}

.start button {
    width: 150px;
    height: 80px;
    font-size: 24px !important;
    border: solid 5px white;
    border-radius: 10px;
    background: #6aaa64;
    color: white;
    margin: 4px 15px 0 15px;
    line-height: 1.25;
}

#frontcover #instructions .start button { 
    width: 205px;
    height: 45px;
    background: #6aaa64;
}

#fillthegrid {
    display: block;
}

#fillthegrid button {
    
     background: #1e90ff  !important;
}
    
#max button {
     background: #c9b458 !important;
}

#timesSq button {
    background: #6a64aa !important;
}

/* Table differences */


tr#midRow th {
    border:none;
    background-color: transparent;
}



div.tables-grid th, div.tables-grid td {
    font-size: 2em;;
    height: 40px;
    line-height: unset;
}

.leftcol {
    padding: 0 4;
}



table {
    margin: 25px 0px !important;
    width: 400px;
    table-layout: fixed;
    border-collapse: separate !important;
    border-spacing: 0 6px;
}



tr {

  height: 40px;
}

td {
  border: solid 1px lightgrey !important;
  text-align: center;
  font-size: 2em;
  margin: 0;
}


.dataRow td {
  width: 30px;

}



#rightpanel {
    margin: 14px 10 0 30px;
    width: unset;
}



div.tables-grid td.answerWidth {
    width: 80px !important;
    max-width: 80px !important;
}


.data {
    border: solid 1px lightgrey;
    width: 40px !important;
    max-width: 40px !important;
    
    white-space: nowrap; 
    overflow: hidden;
    
    background-color: unset;
}

.sign {
    width: 30px !important;
    max-width: 30px !important;
    border: none !important;
    color: lightslategrey;
}

.answer { 
    width: 80px !important;
    max-width: 80px !important;
    
    border-radius: 12px;
    background: #fca1a1;
}

.liveCells {
    background-color: white;
    /* border:solid 2px black !important; */
    caret-color: transparent;
}

.correct {
    background-color: #6aaa64;
    /* border:solid 2px black !important; */
    color:white;
}

.notfound {
    background-color: #787c7e;
    /* border:solid 2px black !important; */
    color:white;
}

.diffpos {
    background-color: #c9b458;
    /* border:solid 2px black !important; */
    color:white;
}

.current {
    background-color: #ccccff;
}



.check {
    width: 120;
    border-radius: 12px !important;
    background: #fca1a1;
    font-size: 22px;
}

.pinButton {
    border: solid 1px blue;
    text-align:center;
}


#share-button {
    background-color: #6aaa64;
    color: white;
    font-family: inherit;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    -webkit-tap-highlight-color: rgba(0,0,0,0.3);
    width: 80%;
    font-size: 20px;
    height: 52px;
    -webkit-filter: brightness(100%);
}

#share-button game-icon{
    width: 24px;
    height: 24px;
    padding-left: 8px; 
}
   


#Timer {
    color: black;
    font-size: 17px;
}

#copyright {
    font-size: 10px;
    bottom: 10px;
    color: black;
}

.container {
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    left:7.5%;
}

.container {
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 23px 0 rgb(0 0 0 / 20%);
    position: fixed;
    top: 0%;
    z-index: 1;
    background: white;
    visibility:hidden;
    
}

.close-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 16px;
    right: 16px;
    background-image: url("close.png");
    background-size: contain;
}

.container h3 {
    font-size: 24px;
    color: black;
    margin-bottom: 5px;
}

#statistics {
    display: flex;
    margin: 0 0 20 0;
}

.statistic-container {
    flex: 1;
    margin: 0 8px;
}

.statistic-container .statistic {
    font-size: 32px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.05em;
    font-variant-numeric: proportional-nums;
}

.statistic-container .label {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#guess-distribution {
        width: 80%;
}



.graph-container {
    width: 100%;
    height: 28px;
    display: flex;
    align-items: center;
    padding-bottom: 4px;
    font-size: 15px;
    line-height: 22px;
    font-weight: bold;
}

.graph {
    width: 100%;
    height: 100%;
    padding-left: 4px;
    
}

.graph-bar {
    min-width: 25px;
    
}

.graph-container .graph .graph-bar {
    height: 100%;
    //width: 0%;
    position: relative;
    background-color: #787c7e;
    display: flex;
    justify-content: right;
    color: white;
    padding-right: 7px;
    
}
.footer {
    display: flex;
    width: 100%;
    margin: 20 0 0 0;
}

.countdown {
    border-right: 1px solid #ccc;
    padding-right: 12px;
    width: 50%;
}

.share {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 12px;
    width: 50%;
}

#message {
    z-index: 5;
    position: absolute;
    display: grid;
    background: black;
    color: white;
    font-size: 26px;
    line-height: 60px;
    width: 50%;
    margin: 15px 25%;
    border-radius: 15px;
}

//For Keypad

.pinButton:hover {
  box-shadow: none !important;
}

.clear:hover {
  box-shadow: none !important;
}

.enter:hover {
  box-shadow: none !important;
}

/* Settings CSS   */

#settings {
    float: right;
}

#settings p {
    float: left;
    margin: 0 5px;
}


.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slide {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slide:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slide {
  background-color: #2196F3;
}

input:focus + .slide {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slide:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slide.round {
  border-radius: 20px;
}

.slide.round:before {
  border-radius: 50%;
}




/* Extra small devices (phones, 600px and down in portrait mode) */
@media (orientation: portrait) {

    
body {
        
    touch-action: none;
            
    }    

    
    #rightpanel {
        float:none;
        display: grid;
        clear:both;
        
    }
    
    .game, #content  {
        
        width: 440px !important;
        height: 855px !important;
        
        /*top: 5 !important;*/
    }
    
    #content {
        
       /* transform: scale(1.5,1.5);*/
    }
    
    #header {
        margin: 20px 0 0 0;
    }
    
    #frontcover {
        width: 94% !important;
        margin: 24px 3% !important;
        height: 660px !important;
    }
    
    .container {
        height: 700px;
        top: 60px;
    }
    
    .tables-grid {
        margin-left: 20px;
    }
    
    #instructions img {
        height: 125px;
        margin: 20px 0;
    }
    
    #instructions a img {
        height: 40px;
    }
    
    #Instructions dl {
        margin: 15px 0 15px 40px;
        width: 340px;
    }
    
    #Instructions dd {
        width: 320px;
    }    

    #frontcover #instructions .start button {
        width: 265px;
        height: 75px;
    }
    
    #daily {
        margin-bottom: 25px;
    }
    
    
    #copyright {
        position:inherit !important;
    }
    
    
    
}