html {
}

body, body * {
    box-sizing: border-box;
    outline: none;
}

body {
    position: relative;
    display: flex;
    flex-flow: column;
    min-width: 1050px;
    min-height: 619px;
    margin: 0;
    padding: 5px;
    overflow-y: hidden;
    overflow-x: auto;
    background-color: #d5d5d5;
    font-family: Muli, sans-serif;

    /* 💩 pour désactiver la surbrillance qui est faite sur les objets tapés sur les tablettes (vu sur samsung/chrome) */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    /* 💩 à tester: pour désactiver la selection des textes lors de certains interactions (vu sur iPad/safari) */
    -webkit-touch-callout: none;
}

h2 {
    margin: 0;
}

textarea, input[type="text"], input[type="button"], input[type="submit"] {
    resize: none;
    border: solid black 2px;
    border-radius: 10px;
    padding: 5px;
    margin: 10px;
    background-color: white;
}

.deeper, .higher {
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
}

.deeper {
    box-shadow: 5px 5px 10px #ffffff,
    -5px -5px 10px #aaaaaa,
    inset 5px 5px 10px #aaaaaa,
    inset -5px -5px 10px #ffffff;
}

.higher {
    box-shadow: 5px 5px 10px #aaaaaa,
    -5px -5px 10px #ffffff,
    inset 5px 5px 10px #ffffff,
    inset -5px -5px 10px #aaaaaa;
}

.knowledges {
    display: flex;
    flex-flow: row;
    flex-grow: 1;
    min-height: 0;
}

.knowledges > * {
    display: flex;
    flex-flow: column;
    width: 50%;
    height: 100%;
}

input[type="button"], input[type="submit"] {
    cursor: pointer;
    box-shadow: 5px 5px 10px #aaaaaa,
    -5px -5px 10px #ffffff;
}

input[type="button"]:active, input[type="submit"]:active {
    box-shadow: 5px 5px 10px #ffffff,
    -5px -5px 10px #aaaaaa;
}

.fileButtons {
    position: absolute;
    top: 5px;
    left: 5px;
    margin-left: 10px;
}

.fileButtons > input {
    display: block;
    padding: 8px;
    width: 215px;
    text-align: left;
}

.statsTrigger {
    position: absolute;
    padding: 8px;
    right: 15px;
    top: 40px;
}

.dateDebug {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 10px;
}

.version {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
    opacity: 0.8;
}

.specialCharCodes {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    opacity: 0.8;
}

.knowledgeList {
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
}

.pendingKnowledgeList {
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
}

.pendingKnowledgeList .remainingWorkText {
    padding: 3px 5px 3px 40px;
}

.knowledgeCreation textarea {
    height: 100px;
    flex-grow: 1;
    margin: 10px;
}

.knowledgeCreation .submission {
    display: flex;
    flex-flow: column;
    height: 100px;
    text-align: center;
}

.knowledgeCreation .submission input[type="submit"] {
    height: 80px;
}

.currentKnowledge .question {
    padding: 5px;
    margin: 10px;
}

.currentKnowledge .inputs {
    display: flex;
    flex-flow: row;
}

.modal {
    position: absolute;
    display: flex;
    inset: 0;
    background-color: #d5d5d5b3;
    padding: 40px;
}

.modal > div {
    position: relative;
    margin: auto;
    background-color: #d5d5d5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: inset 5px 5px 10px #ffffff,
    inset -5px -5px 10px #aaaaaa;
}

input.closeModal {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
}

table.stepsCounts {
    border-collapse: collapse;
    border: solid black 1px;
}

table.stepsCounts thead tr {
    border-bottom: solid black 1px;
}

table.stepsCounts thead tr th:not(:last-child) {
    border-right: solid black 1px;
}

table.stepsCounts thead tr th {
    padding: 3px;
}

table.stepsCounts tbody tr:not(:last-child) {
    border-bottom: solid #AAA 1px;
}

table.stepsCounts tbody tr td:not(:last-child) {
    border-right: solid #AAA 1px;
}

table.stepsCounts tbody tr td {
    padding: 0 3px;
}

.knowledgeEditor {
    width: 500px;
}

.knowledgeEditor textarea {
    height: 100px;
    width: 100%;
    margin: 0;
}

.knowledgeEditor .reverseControlCheckBoxFrame {
    border: solid transparent 2px;
}

.importWarningModal {
    text-align: center;
    width: 400px;
}

.importWarningModal input[type="button"] {
    text-align: left;
    width: 200px;
}

.loadLocalStorageModal {
    text-align: center;
    width: 400px;
}
