/* Legacy Content/shortcuts.css: the keyboard shortcuts box ("?" or the menu's "Atalhos de teclado") over a dark
   background, on every page (legacy-shortcuts.js). */
#dark-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2147483001;
}

#shortcuts-tutorial {
    display: none;
    margin: auto;
    position: fixed;
    width: 1080px;
    height: 560px;
    z-index: 2147483002;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}

    #dark-bg.show,
    #shortcuts-tutorial.show {
        display: block;
    }

    #shortcuts-tutorial p, #shortcuts-tutorial h3, #shortcuts-tutorial h2, #shortcuts-tutorial h1, #shortcuts-tutorial h4,
    #shortcuts-tutorial i:before, #shortcuts-tutorial td, #shortcuts-tutorial i {
        color: #fff;
    }

    #shortcuts-tutorial .container-shortcuts {
        width: 100%;
        height: 502px;
        padding-bottom: 36px;
    }

    #shortcuts-tutorial tr {
        border: solid 1px #777;
        border-right: none;
        border-left: none;
    }

    #shortcuts-tutorial td {
        font-size: 11px;
        width: 100%;
    }

    #shortcuts-tutorial .table_wrapper {
        padding: 0 24px;
        width: 50%;
        float: left;
    }

        #shortcuts-tutorial .table_wrapper td:last-child {
            padding-left: 24px;
            white-space: nowrap;
        }

        #shortcuts-tutorial .table_wrapper td:first-child {
            font-weight: bold;
        }

        #shortcuts-tutorial .table_wrapper i,
        #shortcuts-tutorial .glyphicons {
            margin-right: 12px;
        }

    #shortcuts-tutorial h3 {
        padding-bottom: 8px;
        margin: 24px 16px 8px 16px;
        font-size: 20px;
    }

    #shortcuts-tutorial code {
        border: 0.5px solid #ccc;
        background-color: #2b2b2b;
        color: #fff;
        font-weight: bold;
        box-shadow: 3px 3px #888;
        margin-right: 4px;
        padding: 2px 6px !important;
        border-radius: 0;
        font-size: inherit;
    }

    #shortcuts-tutorial .onecol .table_wrapper {
        float: none;
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

        #shortcuts-tutorial .onecol .table_wrapper td {
            padding: 8px 16px;
        }

    #shortcuts-tutorial .icon-keyboard {
        font-family: FontAwesome, "Font Awesome 6 Free";
        font-weight: 900;
        font-style: normal;
        display: inline-block;
    }

        #shortcuts-tutorial .icon-keyboard:before {
            content: "\f11c";
        }

@media only screen and (max-width: 1080px) {
    #shortcuts-tutorial {
        overflow-x: hidden;
        height: 100%;
        overflow-y: auto;
        left: 0;
        top: 0;
        width: 100%;
        transform: none;
    }

        #shortcuts-tutorial .table_wrapper {
            float: left;
            width: 100%;
            padding-bottom: 24px;
        }
}
