.fa-spinner {
    color: #ffff;
}
.menu {
    width: max-content;
    position: inherit;
    opacity: 0;
}
.keyMap{
    width: 10%;
    max-height: 23px;
    text-align: center;
}
.keyMapTool{
    width: 100%;
    max-height: 23px;
    text-align: center;
}
.keyMap:read-only:focus, .keyMapTool:read-only:focus {
    background-color: yellow;
}
#keyMapA{
    position: absolute;
    top: 155px;
    right: 30px;
}
#keyMapB{
    position: absolute;
    top: 170px;
    right: 105px;
}
#keyMapUp
{
    position: absolute;
    top: 95px;
    left: 68px;
}
#keyMapDown
{
    position: absolute;
    top: 175px;
    left: 68px;
}
#keyMapRight
{
    position: absolute;
    top: 136px;
    left: 130px;
}
#keyMapLeft
{
    position: absolute;
    top: 136px;
    left: 7px;
}
#keyMapStart{
    position: absolute;
    top: 214px;
    left: 142px;
}
#keyMapSelect{
    position: absolute;
    top: 245px;
    left: 67px;
}
#keyMapR{
    position: absolute;
    right: 50px;
    top: 30px;
}
#keyMapL{
    position: absolute;
    top: 30px;
    left: 50px;
}

#container{
    padding: 30px 15px;
}

.post.post-row .post-meta {
    margin-top: 15px;
}

.post-meta .post-category {
    margin-right: 0px;
    display: inline-block;
    margin-top: 5px;
    background-color: #5bc0de !important;
    text-transform: capitalize;
}

.list-game-link{
    font-size: 18px;
    color: #337AB8;
}

#control-info .col-md-6, #control-info .col-md-12{
    padding: 0px;
}

.page-header i p{
    margin: 0px 0px 0px;
}
.page-header .note{
    margin-top: 20px;
}

#gameContainer{
    width:100%;
    height:480px;
    max-width:100%;
}

.areaSaveGame button{
    width: 100%;
    white-space: normal;
    margin-top: 10px;
    margin-bottom: 10px;
}

#main {
    margin-bottom: 5px;
}

@media screen and (min-aspect-ratio: 1/1){
    html, body {
        font-family: inherit;
        background: inherit;
        overflow: inherit;
    }
    #game canvas {
        /* width: 720px !important;
        height: 480px !important;
        cursor: auto;          
        background-color: #333;
        margin-left: 0px; */
        /* width: 480px !important;
        height: 320px !important; */
    }

    div#menu {
        position: relative;
    }

    .buttonContainer{
        position: absolute;
        left: 40%;
    }
    #btnPlay{
        width: 135%;
        line-height: 2;
        font-size: 25px;
        padding: 0px;
    }
    #container{
        /* width: 1170px !important; */
        height: auto !important;
        padding: 30px 15px;
    }
    .post.post-row {
        margin-bottom: 0px;
    }
    .post.post-row .post-img {
        width: 17%;
        float: left;
    }
    .post.post-row .post-img > img {
        max-height: 150px;
    }
    .post.post-row .post-body {
        margin-left: calc(17% + 30px);
    }
}

@media screen and (max-aspect-ratio: 1/1) {
    html, body {
        font-family: inherit;
        background: inherit;
        overflow: inherit;
    }
    #main {
        position: inherit;
    }
    #game canvas {
        /* width: 100% !important;
        height: 251px !important;
        cursor: auto;          
        background-color: #333;
        margin-left: 0px; */
    }
    .touch-controls {
        position: inherit;
    }

    div#menu {
        position: relative;
    }
    #btnPlay{
        width: 100%;
        line-height: 2;
        font-size: 25px;
        padding: 0px;
    }
    #control-info{
        display: none;
    }
    .game-name{
        margin-top: 10px;
    }
    .menu {
        width: min-content;
        position: inherit;
        opacity: 0;
    }

}

@media all and (min-width: 401px) and (max-width: 499px) {
    #game canvas {
        /* height: 300px !important; */
    }
}

@media all and (min-width: 500px) and (max-width: 600px) {
    #game canvas {
        /* height: 321px !important; */
    }
}

@media all and (min-width: 600px) and (max-width: 700px) {
    #game canvas {
        /* height: 385px !important; */
    }
    /* .ejs_virtualGamepad_button.b_start {
        left: 160px !important;
    }
    .ejs_virtualGamepad_button.b_select {
        left: -95px !important;
    } */
}

@media all and (min-width: 757px) and (max-width: 991px) {
    .buttonContainer {
        position: absolute;
        left: 25%;
    }

    .post.post-row .post-img {
        width: 25%;
        float: left;
    }

    .post.post-row .post-body {
        margin-left: calc(25% + 30px);
    }
    #gameContainer{
        width:100%;
        height:480px;
        max-width:100%;
    }
}