.tmodal {
    background-color: darkslategrey;
    color: white;
    position: fixed;
    top: 0;
    z-index: 10;
}

#tmodal-input-prompt, #tmodal-confirm-prompt {
    padding: 12px;
}

#tmodal-input-line {
    padding: 0 0 12px 12px;
}

#tmodal-input-value {
    width: calc(100% - 8px);
}

#tmodal-input-buttons, #tmodal-confirm-buttons {
    border-top: 1px solid white;
    padding: 12px;
    height: 44px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

#tmodal-input-buttons button, #tmodal-confirm-buttons button {
    margin-left: 12px;
    min-width: 80px;
    min-height: 32px;
}

.variable-name-list {
    margin-right: 0 8px 0 8px;
    font-size: 1rem;
    color: lightgray;
    font-style: italic;
    white-space: nowrap;
}

#variables-list-container, #functions-list-container, #class-list-container {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: transparent;
}

#variables-list {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    left: 0;
    right: 0;
    background-color: darkslategray;
    overflow-y: auto;
    opacity: 0.9;
    color: yellow;
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    text-align: center;
}

.panel-header-variables {
    background: darkslategray;
}

#functions-list {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    height: calc(100% - 70px);
    left: 0;
    right: 0;
    background-color: purple;
    overflow-y: auto;
    opacity: 0.9;
    color: yellow;
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    text-align: center;
}

.panel-header-functions {
    background: purple;
}

#functions-list-buttons {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    height: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: purple;
    overflow-y: auto;
    opacity: 0.9;
    color: yellow;
    display: flex;
    flex-direction: row;
    font-size: 1.6rem;
    align-items: center;
}

#class-list {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    height: calc(100% - 70px);
    left: 0;
    right: 0;
    background-color: navy;
    overflow-y: auto;
    opacity: 0.9;
    color: yellow;
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    text-align: center;
}

.panel-header-classes {
    background: navy;
}

#class-list-buttons {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    height: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: navy;
    overflow-y: auto;
    opacity: 0.9;
    color: yellow;
    display: flex;
    flex-direction: row;
    font-size: 1.6rem;
    align-items: center;
}

#variables-list div, #functions-list div, #class-list div {
    padding: 12px;
}

@media (max-width: 767.98px) {
    
    .tmodal {
        left: 0;
        right: 0;
    }

    #variables-list, #functions-list, #functions-list-buttons, #class-list, #class-list-buttons {
        width: 100%;
    }

}


@media (min-width: 768px) {

    .tmodal {
        left: calc(50% - 200px);
        width: 400px;
    }

    #variables-list, #functions-list, #functions-list-buttons, #class-list, #class-list-buttons {
        width: 80%;
    }

}