@import "flags.css";
html {
    background-color: #222;
}

body {
    background: #222;
    font: 0.80em/1.5em sans-serif;
    margin: 0;
}

a {
    color: inherit;
}

a:hover {
    text-decoration: none;
}

input[type=text], button {
    display: inline-block;
    margin: 0 -5px;
    vertical-align: top;
    border: none;
    padding: 0 5px;
    font: inherit;
    box-sizing: border-box;
}

textarea {
    font: inherit;
    border: none;
    outline: 2px solid #333;
    padding: 10px;
    box-sizing: border-box;
}

.logo {
    width: 100px;
    float: left;
    margin: 20px;
}

.content {
    width: 90%;
    margin: 20px auto;
    max-width: 700px;
}

.main {
    float: left;
    margin: 39px 20px;
    width: 400px;
}

.map_list {
    font-size: 105%;
    list-style: circle;
    margin-bottom: 30px;
}

.map_list li {
}

.map_list a {
    text-decoration: none;
    font-weight: bold;
}

.map_list a:hover {
    color: #9d0007;
}

.error {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    padding: 9px 5%;
    text-align: center;
    background-color: #9d0007;
    color: #fff;
    font-weight: bold;
    display: none;
    z-index: 2000;
}

#settings {
    text-align: center;
}

#settings input {
    border: 2px solid #333;
    margin: 0 5px;
}

#legend {
    padding: 3px 18px;
    position: absolute;
    top: 0;
    left: 0;
    vertical-align: top;
    text-align: center;
    z-index: 100;
    background: #444;
    cursor: move;
    width: 340px;
    height: 33px;
    overflow: visible;
}

#legend ul, #legend li {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
    width: 68px;
    display: inline-block;
}

#legend ul {
    width: 500px;
}

#legend li {
    position: relative;
    height: 30px;
    overflow: hidden;
    transition: 0.2s linear all;
}

#legend li:hover {
    height: auto;
    overflow: visible;
    background: #fff;
}

#legend li.blue:hover {
    width: 140px;
}

#legend li > span, #legend li div.variations {
    width: 67px;
    height: 34px;
    overflow: hidden;
    margin: 0;
    display: inline-block;
}

#legend .tiles .variations {
    float: left;
    position: relative;
}

#legend .tiles .variations:hover {
    width: 500px;
    overflow-y: visible;
    z-index: 100;
    margin-left: 0;
}

#legend .tiles .variations span {
    margin: 0;
    width: 67px;
    height: 34px;
    border-style: solid;
    border-width: 2px 0 2px 2px;
    border-color: #fff;
    float: left;
}

#legend .tiles .variations span:last-child {
    border-width: 2px;
    width: 69px;
}

#legend .row {
    width: 70px;
    float: left;
}

.tile, .tiles span {
    background-image: url("_img/tiles_medium.png");
    background-repeat: no-repeat;
    background-position: 0 -600px;
    width: 74px;
    height: 59px;
    margin-bottom: -15px;
    float: left;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    line-height: 96px;
    font-size: 75%;
    box-sizing: border-box;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 1px rgba(0,0,0,0.9),1px 0 1px rgba(0,0,0,0.9),0 -1px 1px rgba(0,0,0,0.9),-1px 0 1px rgba(0,0,0,0.9);
    transition: 0.3s linear font-size;
}

.tiles .col {
    width: 65px;
    float: left;
    clear: none;
}

.map_maker .tile {
    opacity: 0.7;
    font-size: 100%;
}

.tile.highlighted {
    font-size: 80%;
    letter-spacing: normal;
}

.tile.highlighted.beach {
    text-shadow: 0 1px 3px rgba(255,255,255,0.6), 0 0 3px rgba(255,255,255,0.6), 0 1px 4px rgba(255,255,255,0.5), 0 0 5px rgba(255,255,255,0.5);
}

#legend .tiles span, span.tile {
    width: 65px;
    height: 30px;
    display: block;
    font-size: 90%;
    margin: 2px;
    font-weight: bold;
    padding: 0;
    float: none;
}

#legend .tiles span{
    float: left;
    position: relative;
}
/*
#legend .tiles li > span {
    clear: left;
}
*/
#legend .tiles li .flag_0 {
    width: 64px;
    background: #ddd;
}

#legend .tiles li.active {
    outline: 4px solid #333;
}

.notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #3eae00;
    color: #fff;
    font-size: 120%;
    padding: 10px;
    text-align: center;
    display: none;
}

button {
    background-color: #4c0;
    box-shadow: 3px 3px 0 #190;
    color: #fff;
    font-weight: bold;
    padding: 3px 7px;
    margin: 5px 0;
    cursor: pointer;
}

button:disabled {
    cursor: default;
    box-shadow: none;
    background-color: #bbb;
}

button:focus {
    outline: none;
    background-color: #5d0;
    text-shadow: 1px 1px 0 #3b0;
    box-shadow: 3px 3px 0 #170;
}

input[type=number] {
    width: 60px;
    text-align: center;
}

input[type=submit] {
    background-color: #63bf23;
    border-color: #63bf23;
    color: #fff;
    font-weight: bold;
}

input:focus {
    outline: 2px solid #fa0;
}

.wrapper {
    margin: 30px auto 10px;
}

.info {
    background-color: #222;
    color: #fff;
    padding: 7px;
    font-size: 80%;
    position: relative;
}

.info .search {
    position: absolute;
    top: 7px;
    right: 12px;
    width: 100px;
}

.map {
    height: 550px;
    background-color: #222;
    margin: 0 auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tile.blank, .tiles .blank { opacity: 0; cursor: default; }
.tile.beach, .tiles .beach { opacity: 0.85; font-weight: bold; }
.tile.c_search, .tiles .c_search { background-position: -75px -600px; }


.tile.offset {
    margin-left: 37px;
}

.tile.beach {
    color: #000;
    text-shadow: 0 1px 1px rgba(255,255,255,0.7),1px 0 1px rgba(255,255,255,0.7),0 -1px 1px rgba(255,255,255,0.7),-1px 0 1px rgba(255,255,255,0.7)
}

ul.inline li, ul.inline {
    list-style: none;
    display: inline-block;
    padding: 0 5px;
}

ul.inline {
    margin: 0 20px;
    padding: 0;
}

ul.inline li {
    cursor: pointer;
}

.guilds {
    width: 320px;
    padding: 5px;
    border: 3px solid #444;
    position: absolute;
    background-color: #333;
    right: 0;
    cursor: move;
    top: 0;
    color: #fff;
}

.guilds span, .guilds input {
    float: left;
    margin: 0 7px 0 0;
}

.guilds .tile {
    font-size: inherit;
    font-weight: normal;
    line-height: inherit;
    height: 30px;
    width: 68px;
    zoom: 0.75;
}

.guilds .name, .guilds input {
    padding: 0;
    background-color: transparent;
    box-sizing: border-box;
    color: inherit;
}

.guilds input:focus {
    padding-left: 4px;
    padding-right: -4px;
 }

.guilds .sectors {
    width: 5%;
}

.guilds .might {
    width: 5%;
    text-align: center;
    font-weight: bold;
    border-radius: 3px;
}

.guilds .might.bronze {
    background-color: #ce6935;
    text-shadow: 1px 1px 0 #b0582f;
    color: #fff;
}

.guilds .might.silver {
    background-color: #a7cace;
    text-shadow: 1px 1px 0 #87a3a6;
    color: #fff;
}

.guilds .might.gold {
    background-color: #ffd600;
    text-shadow: 1px 1px 0 #eab427;
    color: #fff;
}

.dump {
    display: none;
    width: 100%;
}

.import {
    position: fixed;
    left: 50%;
    top: 10px;
    margin-left: -250px;
    width: 500px;
    height: 50px;
    font-family: 'Consolas', monospace;
}

footer {
    clear: both;
    background-color: #eee;
    margin-left: -50px;
    border-top: 50px solid #fff;
    padding: 10px;
    font-size: 80%;
    overflow: auto;
}

footer .logo {
    width: 48px;
    margin: 10px 40px 90px 90px;
}

footer .map_list {
    float: left;
    width: 200px;
}

footer section {
    float: left;
    width: 300px;
}

