* {
    box-sizing: border-box;
    margin:0;
    padding:0;
}

body {
    margin: 0;
    padding: 0;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
    background: #808080;
    color: #fff;
    text-shadow: 0px 1px 0px #000;
}

body::-webkit-scrollbar {
    width: 1em;
}
 
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.9);
    outline: 1px solid slategrey;
}
 
body::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.1);
    outline: 1px solid slategrey;
}

nav {

}

a {
    color:#fff;
    text-shadow: 0px 1px 0px #000;
}

container {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

main {
    width:70vw;
    max-height: 70vh;
    overflow-y: auto;
    margin:0 auto;
    background: rgb(224,224,224);
    background: linear-gradient(180deg, rgba(224,224,224,1) 0%, rgba(255,255,255,0.5) 100%);
    border: 2px solid #fff;
    padding: 32px;
    border-radius: 6px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.33);
}

#main p {
    margin:1em;
}

#action-input {
    display: flex;
    justify-content: center;
}

#main-menu {
    margin: 0 auto;
    margin-bottom:0px;
    height:32px;
    width: 100%;
    line-height: 32px;
    border:1px solid #fff;
    background: rgb(224,224,224);
    background: linear-gradient(180deg, rgba(224,224,224,1) 0%, rgba(255,255,255,0.5) 100%);
    color:#000;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.33);
}

#main-menu ul { 
    margin: 0;
    padding: 0;
}

#main-menu ul li { 
    float: left;
    display:inline;
    color:#000;
    text-shadow: 0px 1px 0px #fff;
    border-left:1px solid #fff;
    border-right:1px solid rgba(0,0,0,0.5);
}

.menu-item {
    margin: 4px;
}

#main-menu ul li a {
    color:#000;
    text-shadow: 0px 1px 0px #fff;
    text-decoration: none;
    padding: 4px;
}

#main-menu ul li:first-child {
    border-left:0px;
}

#main-menu ul li:last-child {
    border-right:0px;
}

gametitle {
    display: block;
    margin:0 auto;
    width:600px;
}

gametitle a img {
    width:100%;
}

.select-language {
    width: 400px!important;
}

.select-language h1 {
    text-align: center;
}

.select-language ul {
    display: flex;
    margin-top: 2em;
    justify-content: space-around;
}

.login {
    width: 300px!important;
}

#logout-button {
    border-left: 2px solid rgba(0,0,0,0.5), 1px solid #fff;
    padding-right:8px;
}

#login-button a {
    text-decoration: none;
}

.blueglow {
    text-shadow: 0px 0px 6px royalblue;
}

.goldglow {
    text-shadow: 0px 0px 6px gold;
}

.hamburger { display:none; }

.main-menu-items { display: block; }

.search-alphabet {
    list-style: none;
}

.search-alphabet li {
    display: inline-block;
    margin: 6px;
}

.arena-item {
    width:250px;
    float: left;
    padding: 12px;
    margin: 12px;
}

.wardrobe-menu {
    width:100%;
}

.wardrobe-menu ul {
    list-style:none;
    margin-left: 0;
}

.wardrobe-menu li {
    background:#696969;
    border:1px solid white;
    float: left;
    display: block;
}

.gold-count {
    color: goldenrod!important;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0px 1px 0px #000!important;
    padding-left: 6px;
    padding-right: 6px;
}

/* MAP */
.legend {
    background: rgba(0,0,0,0.5);
    font-size: 16px;
    text-shadow: 0px 1px 0px #000;
    border-radius: 3px;
    border:1px solid goldenrod;
    width:30%;
    padding: 8px;
    margin: 8px;
    float: left;
}

.legend h2 {
    color:goldenrod;
    text-shadow: 0px 1px 0px #000;
    text-align:center;
}

.legend ul {
    list-style: none;
}

.legend a {
    text-decoration: none;
}

.right-menu {
    list-style: none;
}

.right-menu li {
    display: inline;
}

.right-menu li a {
    color:#fff;
    text-shadow: 0px 1px 0px rgba(0,0,0,0.5);
    text-decoration: none;
    padding-left: 4px;
    padding-right: 4px;
}

.item-category {
    list-style:none;
}

.item-category li {
    display: inline;
}

.mini-button {
    background: rgba(0,0,0,0.75);
    border:1px solid #fff;
    border-radius:3px;
    padding:2px 6px 2px 6px;
    text-decoration: none;
}
.small-button {
    border-radius: 3px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    margin-bottom: 6px;
    text-decoration: none;
    line-height: 100%;
    display: inline-block;
    width: fit-content;
    font-size: 18px;
    cursor: pointer;
    text-shadow: 0px 1px 0px #000;
    border: 1px solid #fff;
    padding: 4px;
}

.small-button a {
    text-decoration: none;
}

.adventure-box {
    width:100%;
    min-height:400px;
    background:#000;
    border:1px solid #fff;
    border-radius:4px; color:#fff;
    padding:12px;
    overflow-y:scroll;
}

.chrome {
    background: rgb(9,51,121)!important;
    background: linear-gradient(0deg, rgba(9,51,121,1) 0%, rgba(32,107,233,1) 44%, rgba(118,169,255,1) 44%, rgba(9,51,121,1) 100%)!important;
    border:2px solid rgba(100%,100%,100%,0.25)!important;
}

.brown-gradient {
    background: rgb(107,78,15)!important;
    background: linear-gradient(0deg, rgba(107,78,15,1) 0%, rgba(189,133,15,1) 100%)!important;
    border:2px solid #f2af23!important;
}

#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.85);
    width:100%;
    color:#fff;
    margin-top:1em;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
}

#footer a {
    color:#fff;
    text-shadow:0px 1px 0px rgba(0,0,0,0.5);
    text-decoration: none;
}


#footer ul li {
    vertical-align: middle;
    display:inline-block;
}

textarea, input, select {
    background:rgba(0,0,0,0.75);
    padding:16px;
    color:#fff;
    text-shadow: 0px 1px 0px #000;
    border:1px solid #fff;
    margin: 6px;
}

textarea {
    width:96%;
    min-height: 250px;
}

button, input[type=submit], .button {
    border-radius: 6px;
    background:rgba(0,0,0,0.75);
    padding:16px;
    color:#fff;
    margin: 6px;
    border:0px;
    text-decoration: none;
    line-height: 100%;
    display: inline-block;
    width: fit-content;
    font-size: 18px;
    cursor: pointer;
    text-shadow: 0px 1px 0px #000;
}

.button a {
    text-decoration: none;
}

#chatlog {
    box-sizing: border-box;
    height: 88vh;
    position: relative;
    min-width: 700px;
    max-width: 90%;
    margin: 10px auto;
    background-color: transparent;
    overflow: auto;
    border: 1px outset #000;
    border-radius: 6px;
    padding: 12px;
    background: rgba(0,0,0,0.1);
}

.adventurelog {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-size: cover;
}

h3 {
    text-align: center;
}

hr {
    width: 80%;
    color: green;
    margin-left: 0;
}

.user_name {
    color: rgb(16, 45, 178);
}

.bot_name {
    color: rgb(204, 0, 0);
}

#shameless_plug, #urlwarning {
    position: absolute;
    right: 10px;
    bottom: 10px;
    border: 1px solid red;
    box-sizing: border-box;
    box-shadow: 2px 2px 2px 0 #808080;
    padding: 5px;
    border-radius: 5px;
}

#urlwarning {
    right: auto;
    left: 10px;
    width: 50%;
    font-size: large;
    font-weight: bold;
    background-color: white;
}

.leftside {
    text-align: right;
    float: left;
    width: 48%;
}

.rightside {
    text-align: left;
    float: right;
    width: 48%;
}

.centerthis {
    width: 90%;
}

#chatdiv {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.userTitle {
    color: rgb(77, 38, 204);
    font-weight: bold;
    text-shadow:0px 1px 0px #000;
}

.botTitle {
    color: rgb(61, 176, 23);
    font-weight: bold;
    text-shadow:0px 1px 0px #000;
}

#sbBot_id {
    margin-right: 35px;
}

.botsay {
    overflow: auto;
    color: red;
    font-weight: bold;
    height: 100%;
    width: 100%;
    max-height: 100px;
}

.usersay {
    overflow: auto;
    max-height: 150px;
    color: green;
    font-weight: bold;
}

.center {
    margin: 0 auto;
    width: 450px;
}

.clear {
    clear: both;
}

.triangle-border, .triangle-border-right {
    padding: 5px;
    margin: 0.5em 0 1em;
    color: #333;
    background: #fff;
    /* css3 */
    border: 5px solid #5a8f00;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.blue {
    border: 5px solid lightblue;
}

.orange {
    border: 5px solid orange;
}

.triangle-border.left {
    margin-left: 3px;
}


.triangle-border-right {
    margin-right: 3px;
}

.triangle-border:before, .triangle-border-right:before {
    content: "";
    position: absolute;
    bottom: -20px; /* value = - border-top-width - border-bottom-width */
    left: 40px; /* controls horizontal position */
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #000 transparent;
    /* reduce the damage in FF3.0 */
    display: block;
    width: 0;
}

.triangle-border-right:before {
    left: auto;
    right: 40px;
}

.blue:before {
    border-color: lightblue transparent;
}

.orange:before {
    border-color: orange transparent;
}

/* creates the smaller  triangle */
.triangle-border:after, .triangle-border-right:after {
    content: "";
    position: absolute;
    bottom: -13px; /* value = - border-top-width - border-bottom-width */
    left: 47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
    border-width: 13px 13px 0;
    border-style: solid;
    border-color: #fff transparent;
    /* reduce the damage in FF3.0 */
    display: block;
    width: 0;
}

.triangle-border-right:after {
    left: auto;
    right: 47px;
}

h3 {
    text-align: center;
}

hr {
    width: 80%;
    color: green;
    margin-left: 0;
}

.user_name {
    color: rgb(16, 45, 178);
}

.bot_name {
    color: rgb(204, 0, 0);
}

#urlwarning {
    right: auto;
    left: 10px;
    width: 50%;
    font-size: large;
    font-weight: bold;
    background-color: white;
}

.leftside {
    text-align: right;
    float: left;
    width: 48%;
}

.rightside {
    text-align: left;
    float: right;
    width: 48%;
}

.centerthis {
    width: 90%;
}

#chatdiv {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

p.center {
    text-align: center;
}

hr.center {
    margin: 0 auto;
}

#convo_id {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid red;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-shadow: 2px 2px 2px 0 #808080;
    padding: 5px;
    border-radius: 5px;
}

hr.thick {
    border-bottom: 3px solid black;
    box-shadow: 3px 3px 8px -1px #696969;
    margin: 1.5em auto;
}

.m0a {
    margin: 0 auto;
}
#conversation {
    border: 1px solid black;
    border-radius: 1em;
    padding: 1em;
    margin: 0.5em auto;
    min-height: 4em;
    max-height: 20em; /* Adjust this as you see fit. */
    overflow: auto;
}

.input {
    color: #B22222;
    font-weight: bold;
    margin: 6px;
    padding: 6px;
}

.response {
    color: #0000CD;
    font-weight: bold;
}

.blog-header {
    padding:1em;
    background-image: url('/images/magicsmoke_bg.jpg');
    background-size: cover;
    color:#fff;
    text-shadow: 0px 1px 0px #000;
    border:1px solid #000;
}

#roadmap {
    border-radius:8px;
    color:#000;
    padding:2em;
    background:rgba(100%,100%,100%,0.9);
}

.cloudsbg {
    background:url('/images/desert_stadium_smaller.jpg');
    width:100%;
    height:100%;
    z-index: -212000;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size: cover;
}
        
.citybg {
    background:url('/images/MegaMathScroll.jpg');
    width:100%;
    height:100%;
    z-index: -212000;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size: cover;
}

.dungeonbg {
    background:url('/images/DungeonScroll.jpg');
    width:100%;
    height:100%;
    z-index: -212000;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size: cover;
}

.docksbg {
    background:url('/images/DocksScroll.jpg');
    width:100%;
    height:100%;
    z-index: -212000;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size: cover;
}


.labyrinthbg {
    background:url('/images/LabyrinthScroll.jpg');
    width:100%;
    height:100%;
    z-index: -212000;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size: cover;
}

.adventurebg {
    background:url('/images/LabyrinthScroll.jpg');
    width:100%;
    height:100%;
    z-index: -212000;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size: cover;
}

.magicsmokebg {
    background:url('/images/magicsmoke_bg.jpg');
    width:100%;
    height:100%;
    z-index: -212000;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size: cover;
}

.guildcastlebg {
    background:url('/images/guildcastle_bg.jpg');
    width:100%;
    height:100%;
    z-index: -212000;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size: cover;
}

.panel-tiled-bg {
    background:url('/images/panel-tile.png');
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -10000;
}

.landscapebg {
    filter: blur(1px);
    background:url('/images/landscapebg.jpg');
    background-size: cover;
    background-position: bottom center;
    min-height:100px;
    width:100%;
    box-shadow:0px 1px 0px rgba(100%,100%,100%,0.35);
    position:absolute;
    top:0;
    z-index:-100002;
}

.nightskybg {
    filter: blur(1px);
    background:url('/images/morning-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height:100px;
    width:100%;
    box-shadow:0px 1px 0px rgba(100%,100%,100%,0.35);
    position:absolute;
    top:0;
    z-index:-100002;
}

.dayskybg {
    filter: blur(1px);
    background:url('/images/aura-sky-day.png');
    background-size: cover;
    background-position: bottom center;
    min-height:100px;
    width:100%;
    box-shadow:0px 1px 0px rgba(100%,100%,100%,0.35);
    position:absolute;
    top:0;
    z-index:-100002;
}

.daysky2bg {
    filter: blur(1px);
    background:url('/images/aura-sky-day.png');
    background-size: cover;
    background-position: top center;
    min-height:100px;
    width:100%;
    box-shadow:0px 1px 0px rgba(100%,100%,100%,0.35);
    position:absolute;
    top:0;
    z-index:-100002;
}

.daysky3bg {
    filter: blur(1px);
    background:url('/images/aura-sky-day.png');
    background-size: cover;
    background-position: center center;
    min-height:100px;
    width:100%;
    box-shadow:0px 1px 0px rgba(100%,100%,100%,0.35);
    position:absolute;
    top:0;
    z-index:-100002;
}

#cookie-message {
    position: absolute;
    bottom: 4em;
    left: 0;
    right: 0;
}


@media only screen and (max-width: 680px) {

    #container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        position: relative;
    }

    #main {
        width:95%;
        max-height: none;
        padding: 16px;
    }

    #main-menu {
        position: relative;
        height: auto;
        width:95%;    
        min-height: 32px;
    }

    #main-menu ul li { 
        float: none;
        display:block;
        padding-top: 2px;
        padding-bottom: 2px;
        border-left:0px;
        border-right:0px;
        border-top:1px solid #000;
        border-bottom:1px solid #fff;
    }

    #main-menu ul li:last-child {
        border-bottom: 1px solid #000;
    }

    #mobile-menu {
        width:100%;
        top: 0;
        height: 32px;
        position: absolute;
    }

    .hamburger {
        position: absolute;
        display: block;
        width:16px;
        height:16px;
        top:2px;
        right:6px;
        float: right;
        filter: invert();
    }

    .main-menu-items { 
        margin-top:32px!important;
        background: rgba(0,0,0,0.25);
        box-shadow: 0px 2px 2px rgba(0,0,0,0.25) inset;
        float: none; 
    }

    .login {
        width: 100%;
    }

    #roadmap {
        padding:1em;
    }

    #footer {
        position: relative;
        padding-bottom:1em;
        padding-top:0.5em;
        border-top:1px solid rgba(100%,100%,100%,0.5);
    }

    #footer ul li {
        display:block;
        padding:6px;
    }


}