html,
body {
    margin: 0;
    padding: 0;
    background-color: #333;
    overflow: hidden;
    font-family: sans-serif
}

#outerWrap {
    background-color: #333;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row
}

#leftbar {
    width: 40px;
    background-color: #333;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

#rightbar {
    width: 60px;
    background-color: #333;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

#game {
    flex: 1
}

#info {
    flex: 1;
    display: none;
    background-color: #111;
    color: #fff;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
    overflow-y: auto;
    cursor: pointer
}

#info p {
    font-size: 1.2em
}

#info a {
    color: #f88
}

.side-nav-btn {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center
}

.wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1
}

#header-as {
    justify-content: center;
    align-items: center;
    background: #333;
    display: flex;
    height: 60px;
    overflow: hidden
}

#content {
    display: flex;
    flex: 1;
    overflow: hidden;
    background-color: #000
}

#footer {
    height: 60px;
    background: #333;
    display: flex;
    overflow: hidden
}

.footer-nav {
    display: flex;
    flex: 1
}

.footer-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

@media(hover:hover) and (pointer:fine) {
    .btn:hover {
        background-color: #555
    }
}

.btn {
    color: #f2f2f2;
    text-decoration: none;
    font-size: .9rem;
    border: 1px solid #444
}

.sh-ad {
    padding: 0;
    width: 320px;
    height: 50px
}

#v-ad {
    padding: 0;
    width: 50px;
    height: 320px;
    overflow: hidden
}

.bigsidebar {
    width: 336px;
    margin-left: 10px;
    background-color: #000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden
}

#r-ad {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    max-height: 290px;
    overflow: hidden
}

#r-ad-top {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    overflow: hidden
}

#footer-as {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 4px;
    border: 1px solid #444;
    overflow: hidden
}

@media only screen and (min-width:850px) and (min-height:500px) {
    .btn {
        font-size: 1.2rem
    }
}

@media only screen and (max-height:590px) {
    #r-ad-top {
        display: none
    }
}