/* LOTRO Dynamic Map - Site Styles */

* {
    box-sizing: border-box;
}

body {
    background-color: #CCCCCC;
    font-family: Arial, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.abs {
    position: absolute;
}

div.cont {
    width: 100%;
    text-align: center;
}

/* Header options bar */
div.opts {
    padding: 5px 0;
    text-align: center;
}

div.opts select {
    margin: 0 5px;
}

/* Map container */
div.map {
    z-index: 1;
    margin: auto;
    width: 1024px;
    height: 768px;
    background-repeat: no-repeat;
    position: relative;
}

/* Markers */
div.marker {
    z-index: 2;
    background-repeat: no-repeat;
    cursor: pointer;
}

div.marker.hidden {
    display: none;
}

/* Tooltip */
div.tooltip {
    text-align: left;
    z-index: 3;
    border: 1px solid #000000;
    position: absolute;
    visibility: hidden;
    background-color: #CCCCCC;
}

div.tooltip > div {
    background-repeat: no-repeat;
    background-position: 5px center;
    padding: 2px 6px 2px 30px;
    white-space: nowrap;
}

/* Detail panel */
div.detailed {
    text-align: left;
    border: 1px solid #CC6600;
    padding: 0 6px 2px 6px;
    z-index: 4;
    visibility: hidden;
    background-color: #000000;
    color: #FFFFCC;
    font-family: Arial, sans-serif;
    font-size: 12px;
    position: absolute;
    min-width: 170px;
}

div.detailed .close {
    text-align: right;
}

div.detailed label {
    font-size: 13px;
}

div.detailed a {
    color: #FFFFFF;
}

div.detailed #d_name {
    margin: 2px;
    padding: 0 3px;
    border: 1px solid #E3B572;
    background-color: #A55A0A;
    width: calc(100% + 12px);
    position: relative;
    left: -6px;
    text-align: center;
    font-size: 15px;
}

div.detailed #d_type,
div.detailed #d_loc {
    position: relative;
    margin-left: 3px;
}

/* Filter pane */
div.filtercont {
    left: 100px;
    background-color: #C0C0C0;
    border: 1px solid #000000;
    padding: 5px;
    z-index: 5;
    visibility: hidden;
    position: absolute;
}

div.filterpane {
    background-color: #E6E6E6;
    width: 100%;
    height: 100%;
    text-align: left;
}

div.filterpane table {
    width: 100%;
}

div.filterpane table tr {
    vertical-align: top;
    font-size: 12px;
}

div.filterpane #filter_head td {
    text-align: center;
    width: 140px;
}

div.filterpane #filter_main th {
    text-align: center;
}

div.filterpane #filter_main td {
    border-left: solid 1px #808080;
    border-right: solid 1px #808080;
    width: 175px;
    padding: 5px;
}

div.filterpane label {
    cursor: pointer;
}

/* Semi-button styling */
.semibutton {
    background-color: #C76D0C;
    border: 1px solid #E3B572;
    margin: 2px;
    padding: 0 3px;
    width: 60px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    line-height: 28px;
}

.semibutton:hover {
    background-color: #D97D1C;
}

/* About panel */
#about {
    background-color: #C0C0C0;
    border: 1px solid #808080;
    padding: 0 3px;
    position: fixed;
    bottom: 2px;
    right: 2px;
    z-index: 4;
    cursor: pointer;
}

#aboutinf {
    background-color: #C0C0C0;
    visibility: hidden;
    border: 1px solid #808080;
    padding: 5px 10px;
    text-align: center;
    position: fixed;
    bottom: 2px;
    right: 2px;
    z-index: 5;
}

/* Banner */
#banner {
    text-align: center;
    margin: 5px 0;
}

#banner img {
    max-width: 100%;
}

/* Footer section */
.footer-section {
    text-align: center;
    padding: 10px;
}

/* Copyright */
#copyright {
    font-size: 11px;
    text-align: center;
    padding: 10px 0;
}

#copyright2 {
    font-size: 10px;
    padding: 3px 20px;
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
}

/* Home page styles */
.home-header {
    padding: 50px 20px 20px;
}

.home-header h1 {
    color: #333;
    margin-bottom: 10px;
}

.map-selector-container {
    padding: 20px;
}

.map-selector {
    font-size: 14px;
    padding: 8px 15px;
    min-width: 300px;
}

.language-selector {
    padding: 20px;
}

.language-selector a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
}

.language-selector a:hover {
    text-decoration: underline;
}

.language-selector a.active {
    font-weight: bold;
    color: #C76D0C;
}

/* Cursor position display */
#cursorpos {
    display: inline-block;
    width: 100px;
    text-align: left;
}

/* Blink animation */
#blink {
    z-index: 3;
}
