table.sudoku {
    margin-top: 15px;
    margin-left: 15px;
    border-collapse: collapse;
    font-family: Calibri, sans-serif;
    border-color: black;
}
.sudoku tr:first-child {
    border-top: solid medium;
}

.sudoku tr td:first-child {
    border-left: solid medium;
}

.sudoku tr:nth-of-type(3n) {
    border-bottom: solid medium;
}
.sudoku td:nth-of-type(3n) {
    border-right: solid medium;
}

.back table.sudoku, .back .sudoku td, .back .sudoku tr {
    border-color: #e0e0e0!important;
    color: #f0f0f0;
}

.back .sudoku td.puzzle-number{
    color: #e0e0e0;
}

.sudoku td {
    border: solid thin;
    height: 50px;
    width: 50px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    font-size: 30px;
    border-color: black;
}


.sudoku td:hover {
    background: #e0e0e0;
}

.back .sudoku td:hover {
    background: #ffffff;
    cursor: default;
}

.sudoku td.puzzle-number {
    font-weight: bold;
    cursor: default;
}

.back .sudoku td.puzzle-number {
    font-weight: normal;
    cursor: default;
}

.login-box {
    top: -130px;
}

#game {
    width: auto;
    height: 485px;
}

.game-itself {
    height: 100%;
}

.game-preparing .sudoku td, .game-preparing .sudoku tr {
    color: transparent!important;
    transition: color 0.4s, border-color 0.4s;
    border-color: #e0e0e0!important;
}

#sudoku-console {
    width: 200px;
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(127, 140, 141, 0.90);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    font-weight: bold;
    font-size: 36px;
    overflow: hidden;

    line-height: 60px;
}

.sudoku .current {
    position: relative;
    background: #3498db;
    font-weight: bold;
    border-color: #000;
    color: white;
}

.sudoku .current:hover {
    background: #3baefd;
}

.sudoku .notvalid {
    background-color: #dc3545;
}

.sudoku .notvalid:hover {
    background-color: #d43442;
}


#sudoku-console .num:hover, #sudoku-console .num.selected {
    background-color: #ffc107;
    color: white;
    cursor: pointer;
}

#sudoku-console .num.selected:hover {
    background-color: #edb207;
}

#sudoku-console .note:hover {
    background: none;
    color: #ffc107;
}

#sudoku-console .note.selected:hover {
    background-color: #edb207;
    color: #fff;
}

#sudoku-console .remove:hover {
    background-color: #dc3545;
}

#sudoku-console .num {
    flex-grow: 1;
    width: 33%;
    border: 1px solid #bdc3c7;
    height: 60px;
    padding: 0;
}

#sudoku-console .num.remove {
    width: 66%;
}

body.sudoku-console-open .modal-backdrop.show {
    opacity: 0.02;
}

#sudoku-console-modal .modal-content {
    width: 215px;
}

.sudoku .note {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 15px;
    font-weight: normal;
    display: inline-block;
}

.sudoku td {
    line-height: 0;
}