#main {
    max-width: revert;
}

.table {
    color: var(--color-black);
}

.popover .close {
    padding-left: 10px;
}

.grid-solver-main {
    font-family: Helvetica, Arial, sans-serif;
    text-align: center;
    background-color: var(--color-gray-light);
    padding: 0;
    margin: 0;
    background-image: url('../img/bg-noise.png');
    text-shadow: 0 1px 0 var(--color-white-light);
    color: var(--color-black);
}

#logo-shine {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
}

#header {
    padding-top: 10px;
    padding-bottom: 10px;
}

#header span {
    font-size: 2.5em;
    text-shadow: 0 -1px 1px var(--color-gray), 0 1px 1px var(--color-white-light);
    color: #70BD10;
}

#copyright {
    color: var(--color-gray);
}

.griddle-control {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.griddle-control .btn {
    color: var(--color-black);
}

.control-button {
    cursor: pointer;
}

.griddle-control-slider-container {
}

.griddle-control-slider-container .slider-handle {
    background: var(--color-main-bright);
}

.griddle-control-slider-container .slider-selection {
    background: var(--color-main);
}

.griddle-control-slider-container .slider-track-low {
    background: var(--color-gray);
}

.griddle-control-slider-container .slider-track-high {
    background: var(--color-gray);
}

.griddle-footer {
    position: fixed;
    height: 80px;
    bottom: 0;
    width: 100%;
    left: 0;
    background: var(--color-white);
    z-index: 1;
    padding-top: 16px;
    box-shadow: 0 8px 12px 6px var(--color-gray);
}

.griddle-footer-left {
    width: 33%
}

.griddle-footer-middle {
    width: 33%
}

.griddle-footer-right {
    width: 33%
}

.overview-table {
    border: 1px solid;
    border-collapse: collapse;
    border-spacing: 0;
}

.overview-table td {
    width: 1px;
    height: 1px;
}

.gridtable {
    padding-bottom: 13px;
}

.gridtable table {
    color: #050404;
    border: 2px solid;
    border-collapse: collapse;
    border-spacing: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    font-size: 0.8em;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.innercell {
    border: 1px solid;
    width: 23px;
    height: 23px;
    text-align: center;
    vertical-align: middle;
}

.spec {
    background-color: #CCD;
}

.spec .highlight {
    text-shadow: 0 0 3px blue;
}

.cell-hover {
    background-color: var(--color-blue);
    opacity: 0.5;
}

.colspec {
    border: 1px solid;
    text-align: center;
    vertical-align: bottom;
}

.rowspec {
    border: 1px solid;
    text-align: center;
    vertical-align: central;
}

.rowspec div {
    float: right;
}

.rowspec-item {
    width: 20px;
    float: left;
}

.cellgroup-left {
    border-left: 2px solid;
}

.cellgroup-bottom {
    border-bottom: 2px solid;
}

.cell-empty {
    background-color: white;
}

.cell-filled {
    background-color: var(--color-gray);
}

.overlay {
    background-color: rgba(var(--color-main-rgb), 0.5);
    border: 2px solid var(--color-main);
    box-shadow: 0 0 10px var(--color-main);
    position: absolute;
    width: 23px;
    height: 23px;
}

.del-overlay {
    position: relative;
    top: -20px;
    background-color: var(--color-red);
    padding: 4px 8px;
    color: var(--color-white-light);
    border-radius: 200px;
    border-color: var(--color-black);
    border: 3px solid;
    margin: -4px;
}

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -100px; /* half width of the spinner gif */
    margin-top: -101px; /* half height of the spinner gif */
    text-align: center;
    z-index: 1234;
    overflow: auto;
    width: 205px; /* width of the spinner gif */
    height: 219px; /*hight of the spinner gif +2px to fix IE8 issue */
    background-color: rgba(var(--color-main-rgb), 0.1);
    border-radius: 10px;
    padding: 10px;
}

.spinner span {
    display: block;
    margin-top: 10px;
}

.spinner img {
    /*	position: fixed;
        top: 50%;
        left: 50%;
    */
    margin-left: -16px;
    margin-top: 5px;
}

.solving-hint {
    font-size: smaller;
}

.black-translucent {
    background-color: rgba(var(--color-black-rgb, 0, 0, 0), 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#grid-input p {
    padding-top: 20px;
}

#grid-input form p span {
    padding-right: 40px;
}

#grid-input table {
    margin-left: auto;
    margin-right: auto;
    text-align: right;
}

#grid-input td {
    padding: 10px;
}

.big-button {
    padding-top: 20px;
}

.big-button span {
    background-color: #70BD10;
    border-radius: 5px;
    padding: 10px 30px;
    color: var(--color-white-light);
    text-shadow: 0 -1px 0 var(--color-gray);
    border-bottom: 1px solid rgba(var(--color-black-rgb, 0, 0, 0), 0.5);
    border-right: 1px solid rgba(var(--color-black-rgb, 0, 0, 0), 0.5);
    border-top: 1px solid rgba(var(--color-white-rgb, 255, 255, 255), 0.5);
    border-left: 1px solid rgba(var(--color-white-rgb, 255, 255, 255), 0.5);
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.2));
    background-image: linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.2));
    background-repeat: repeat-x;
    cursor: pointer;
}

.big-button span:hover {
    text-shadow: 0 -1px 0 var(--color-gray), 0 0 10px var(--color-white-light);
}


.fileinputs {
    position: relative;
    width: 300px;
    margin: 10px auto;
}

div.fakefile {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
}

.fakefile .text {
    height: 10px;
    width: 150px;
    font-size: 8px;
    box-shadow: inset 3px 3px 7px var(--color-gray);
    border-radius: 14px;
    border: 0;
}

.griddle-upload {
    position: relative;
    overflow: hidden;
}
.griddle-upload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

/* Forms */

.grid-input {
    padding-bottom: 40px;
}

.grid-input textarea,
.grid-input input[type="text"],
.grid-input input[type="password"] {
    width: 400px;
    height: 30px;
    box-shadow: inset 3px 3px 7px var(--color-gray);
    border-radius: 14px;
    border: 0;
    outline: 0;
    padding: 6px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
}

.modal-content {
    border: 1px solid var(--color-gray);
    background-color: var(--color-white);
    border-color: var(--color-gray);
}

.modal-header {
    border-bottom: 1px solid var(--color-gray);
}

.modal-footer {
    border-top: 1px solid var(--color-gray);
}
