html {
    padding: env(safe-area-inset);
    width: 100%;
    height: 100%;

    background: #33ccff; /* Old browsers */
    background: -moz-linear-gradient(top, #33ccff 0%, #F5F5DC 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #33ccff 0%, #F5F5DC 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #33ccff 0%, #F5F5DC 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33ccff', endColorstr='#57471e', GradientType=0); /* IE6-9 */
    overflow: hidden;
}

body {
    color: #61443e;
    font-family: Helvetica, serif;
    font-size: 13px;
    text-align: center;
    margin: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

button {
    font-family: Helvetica, serif;
    font-weight: bold;
    border-radius: 10px;
    background-color: green;
    border: none;
    color: whitesmoke;
    padding: 15px 15px;
    margin: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

button:hover {
    background-color: #4CAF50;
    transform: translateY(-2px);
}

.button-red {
    color: white;
    font-weight: bold;
    font-size: 12pt;
    width: 200px;
    height: 75px;
    background-color: #FF0000;
}

.button-red:hover {
    background-color: #FF6666;
}

.button-blue {
    color: white;
    font-weight: bold;
    font-size: 12pt;
    width: 200px;
    height: 75px;
    background-color: #0000FF;
}

.button-blue:hover {
    background-color: #6666FF;
}

.button-green-small-disabled {
    width: 100px;
    padding: 10px 10px;
    margin: 5px;
    font-size: 10px;
    cursor: auto;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.0);
}
.button-green-small-disabled:hover {
    transform: translateY(0px);
    background-color: green;
}

.button-white-small {
    color: black;
    width: 100px;
    background-color: #e5e5e5;
    padding: 10px 10px;
    margin: 5px;;
    font-size: 10px;
}

.button-white-small:hover {
    background-color: #f2f2f2;
}

.button-orange-small {
    color: black;
    width: 100px;
    background-color: #FFA500;
    padding: 10px 10px;
    margin: 5px;;
    font-size: 10px;
}

.button-orange-small:hover {
    background-color: #ffc04c;
}

.button-sound {
    opacity: 0.6;
    color: black;
    width: 100px;
    background-color: #e5e5e5;
    padding: 10px 10px;
    margin: 5px;
    font-size: 9px;
}

.button-sound:hover {
    background-color: #f2f2f2;
}

.button-red-small {
    width: 100px;
    background-color: #E50000;
    padding: 10px 10px;
    margin: 5px;
    font-size: 10px;
}

.button-red-small:hover {
    background-color: #FF6666;
}

.button-blue-small {
    width: 100px;
    background-color: #0000E5;
    padding: 10px 10px;
    margin: 5px;
    font-size: 10px;
}

.button-blue-small:hover {
    background-color: #6666FF;
}

.button-gray-small {
    width: 100px;
    background-color: gray;
    padding: 10px 10px;
    margin: 5px;
    font-size: 10px;
}

.button-gray-small:hover {
    background-color: #A6A6A6;
}

.cloud {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

#container {
    width: 100%;
    height: 100%;
    display: block;
}

#label {
    font-size: 16pt;
    font-weight: bold;
    color: #000000;
    width: 200px;

    position: absolute;
    top: 5px;
    left: 5px;
}

#gameSoundPanel {
    color: #000000;
    opacity: 0.6;
    font-size: 10px;
    width: 250px;

    position: absolute;
    bottom: 5px;
    left: 10px;
    right: 0;
    margin-left: 10px;
    margin-right: auto;
}

#gamePanel {
    color: #000000;
    font-size: 10px;
    width: 200px;

    position: absolute;
    top: 100px;
    left: 10px;
    right: 0;
    margin-left: 10px;
    margin-right: auto;
}

#gameTableau {
    color: #000000;
    font-size: 14pt;
    width: 500px;

    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

#spBlock {
    color: #000000;
    font-size: 12pt;
    width: 700px;

    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

#mpRightBlock {
    color: #000000;
    font-size: 12pt;
    width: 350px;
    height: 300px;

    position: absolute;
    top: 80px;
    left: 50%;
    right: auto;
    margin-left: 50px;
    margin-right: auto;
}

#mpLeftBlock {
    color: #000000;
    font-size: 12pt;
    width: 350px;
    height: 300px;

    position: absolute;
    top: 80px;
    left: auto;
    right: 50%;
    margin-left: auto;
    margin-right: 50px;
}

#footer {
    color: #000000;
    font-size: 12pt;

    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.mapName {
    height: 150px;
    padding-top: 100px;
    font-weight: bold;
    font-size: 14pt;
}

.tableau_column {
    float: left;
    width: 35%;
}

.tableau_column_step {
    float: left;
    width: 30%;
}

.tableau_row {
    padding-left: 10px;
}

.tableau_row:after {
    content: "";
    display: table;
    clear: both;
}

.spColumn {
    float: left;
    width: 50%;
}
.spRow:after {
    content: "";
    display: table;
    clear: both;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The Modal (background) */

.hiddenModal {
    display: none;
}

.pie-modal {
    /*display: block;*/ /* 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 */
    text-align: left;
}

/* Modal Content/Box */
.pie-modal-content {
    background-color: #fefefe;
    margin: 1% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    font-size: 16px;
}

.pie-modal-header {
    text-align: right;
    margin-top: -20px;
}

.pie-modal-container {

}

.pie-modal-footer {
    text-align: right;
}

.modalClose {
    color: black;
    font-size: 14pt;
    font-weight: bold;
    cursor: pointer;
}

.modalClose:hover {
    color: gray;
    transform: translateY(-2px);
}

.redLabel {
    color: #FF0000;
    font-weight: bold;
}

.blueLabel {
    color: #0000FF;
    font-weight: bold;
}
