
#menu
{
    float: right;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

#menuDiv
{
    display: none;
    z-index: 5;
    position: absolute;
    right: 5px;
    top: 2em;
    border: 1px solid black;
    background-color: white;
    padding: 1em;
}

#importExportDiv
{
    display: none;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: white;
    position: fixed;
}

#importExportDiv textarea
{
    margin: 2em;
    width: 90%;
    height: 70%;
}

.calendar
{
    float: right;
    margin-right: 30%;
}

h1
{
    font-size: 18pt;
}

h2
{
    font-size: 14pt;
}


table
{
    border-collapse: collapse;
}

.blue
{
    text-align: left;
    margin: 20px;
}

.blue td
{
    text-align: center;
    background: #E8EDFF;
    border-bottom: 1px solid white;
    color: #669;
    border-top: 1px solid transparent;
    padding: 8px;
}

.blue th
{
    font-size: 13px;
    font-weight: normal;
    background: #B9C9FE;
    border-top: 4px solid #AABCFE;
    border-bottom: 1px solid white;
    color: #039;
    padding: 8px;
}

.leaders th
{
    text-align: center;
}

.notVacant
{
    opacity: 0.5;
}

.summary
{
    display: inline-block;
}

.edicts
{
    display: inline-block;
    margin-left: 30px;
}

.expando
{
    cursor: pointer;
}

#addPersonButton
{
    margin-left: 20px;
}

.buildingSite
{
    background-color: orange;
}

img.buildingSite
{
    opacity: 0.5;
}

#buildSelect
{
    position: absolute;
    display: none;
    background-color: white;
    z-index: 5;
    padding: 5px;
    padding-left: 10px;
    border: 1px solid black;
}

.twoColumn
{
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-gap: 50px;
    -moz-column-gap: 50px;
    -webkit-column-gap: 50px;
    column-rule: 1px solid black;
    -moz-column-rule: 1px solid black;
    -webkit-column-rule: 1px solid black;
}

.noWrap *
{
    white-space: nowrap;
}

.city
{
    border: 12px solid white;
}

.city td
{
    border-spacing: 0;
    padding: 0;
}

.itemslots span {
    border: 1px solid blue;
    padding: 0 5px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
}

.itemslots span.Minor {
    background-color: #aea;
}

.itemslots span.Medium {
    background-color: #aae;
}

.itemslots span.Major {
    background-color: #eae;
}

.itemslots span.cheap {
    font-style: italic;
    color: red;
}

.cityDistrict
{
    display: inline-block;
    position: relative;
    height: 552px;
    width: 552px;
    background-color: tan;
    border: 12px solid tan;
}

.cityDistrict .square
{
    border: 1px dotted black;
    width: 72px;
    height: 72px;
    position: absolute;
}

.cityDistrict .square:hover
{
    border: 1px solid black;
}

.cityDistrict .border
{
    border: 1px dotted black;
    position: absolute;
}

.cityDistrict .border:hover
{
    border: 1px solid black;
}

.cityDistrict .top
{
    width: 600px;
    height: 24px;
    top: -25px;
    left: -25px;
}

.cityDistrict .bottom
{
    width: 600px;
    height: 24px;
    left: -25px;
    bottom: -25px;
}

.cityDistrict .left
{
    width: 24px;
    height: 600px;
    top: -25px;
    left: -25px;
}

.cityDistrict .right
{
    width: 24px;
    height: 600px;
    top: -25px;
    right: -25px;
}

.cityDistrict img
{
    position: absolute;
}

.problem
{
    color: red;
}

.resources th:first-child
{
    width: 30em;
}

.resources td:first-child
{
    text-align: left;
}

.ruin
{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");	/* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ and Safari 6+ */
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

