body {
font-family: 'Open Sans', sans-serif;
padding:0;
margin:0;
}
.header-cont {
float:left;
width:auto;
padding-left:12px;
padding-right:12px;
padding-bottom:1px;
background: rgb(0, 0, 0);
background-color:rgba(0,0,0,0.8);
filter: alpha(opacity=80);
}
.meny-cont ul {
margin-top:0px;
display:block;
width:auto;
overflow:hidden;
}
#header {
position:absolute;
top:20px;
left:20px;
color:white;
padding:0;
z-index:2003;
width:800px;
}
#header-inner {
margin:0 auto;
width:800px;
}
#header img {
float:left;
}
.meny-cont {
float:left;
letter-spacing:1px;
overflow:hidden;
}
.menulistclear {
clear:both;
}
#topmenuinner {
overflow:hidden;
}
.meny-cont ul {
margin-top:0px;
display:block;
width:auto;
overflow:hidden;
}
.meny {
margin:0;
background-color:none;
list-style:none;
padding:5px;
}
ul {
padding:0;
margin:0;
}
li.meny {
text-transform:uppercase;
padding:0px 0px 0px 0px;
display:block;
float:left;
padding-left:1px;
padding-bottom:1px;
font-size:12px;
line-height:14px;
margin:0;
}
li.menyimg {
text-transform:uppercase;
padding:0px 0px 0px 0px;
display:block;
float:left;
padding-left:1px;
padding-bottom:1px;
font-size:12px;
margin:0;
}
li.version {
text-transform:uppercase;
padding:0px 5px 0px 5px;
display:inline;
font-size:0.8em;
}
li.meny a {
color:#fefefe;
text-decoration:none;
display:block;
padding:10px 16px 10px 16px;
background-color:rgba(0,0,0,0.8);
}
li.rightmeny a {
color:#fefefe;
text-decoration:none;
display:block;
padding:9px 16px 10px 16px;
background:#333333;
}
li.menyimg a {
display:block;
padding:0;
width:34px;
height:34px;
overflow:hidden;
background-color:rgba(0,0,0,0.8);
cursor:pointer;
}
li.twitter a:hover {
background:#1fa6d7;
}
li.facebook a:hover {
background:#2c4d8e;
}
li.tumblr a:hover {
background:#2d4965;
}
.minimize {
float:left;
padding-left:1px;
width:34px;
height:34px;
}
.minimize a {
background-color:rgba(0,0,0,0.8);
width:34px;
height:34px;
display:block;
cursor:pointer;
}
.minimize a:hover {
background:#d33b2f;
}
li.meny a:hover {
color:#222222;
background: rgb(255, 255, 255);
background-color:rgba(255,255,255,0.9);
filter: alpha(opacity=90);
}
li.rightmeny a:hover {
color:#222222;
background: rgb(255, 255, 255);
background-color:rgba(255,255,255,0.9);
filter: alpha(opacity=90);
}
li.rightmeny a.floatboxactive {
color:#fefefe;
background: #d33b2f;
}
li.meny a:active {
color:#111;
text-decoration:none;
}
li.active {
color:#dc7f22;
}
li.mactive a {
color:#dc7f22;
}
li.meny a.mactive {
text-decoration:none;
color:#dc7f22;
}
#sharefbox {
z-index:2010;
padding:15px;
background: rgb(255, 255, 255);
background-color:rgba(255,255,255,0.9);
filter: alpha(opacity=90);
display:none;
position:fixed;
left:251px;
top:89px;
}
.sharethis {
display:inline;
float:left; 
vertical-align: top }
.sharethis ul { margin:0 0 5px 0; padding:0 0 5px 0; list-style:none; }
.sharethis li { 
display:inline;
vertical-align: top;
float:left;
margin:0;
 }
#float, #sharef {
cursor:pointer;
}
#floatmenu {
z-index:2010;
display:none;
padding-top:0px;
width:180px;
margin-top:54px;
position:fixed;
cursor:pointer;
}
#floatmenu ul {
border-bottom:5px solid black;
padding:5px 0;
margin:0;
background: rgb(255, 255, 255);
background-color:rgba(255,255,255,0.9);
filter: alpha(opacity=90);
}
#floatmenu li {
padding:0;
margin:0;
list-style:none;
}
#floatmenu a {
display: block;
width:90%;
height:100%;
padding:8px 5%;
font-size:12px;
color:#111111;
text-transform:uppercase;
border-bottom:1px solid #dddddd;
text-decoration:none;
}
#floatmenu a:hover {
background:#dddddd;
color:#dc7f22;
}
.floattitle {
padding-left:10px;
font-size:12px;
font-weight:bold;
}
/**
 * Map
 */
#map {
width:100%;
height:500px;
-ms-touch-action: none;
}
#loadingmap {
width:100%;
background:#333333;
position:absolute;
z-index:2002;
}
#memaptitle {
color:#eeeeee;
text-align:center;
}
.l1 {
text-transform:uppercase;
font-weight:300;
font-size:22px;
letter-spacing:2px;
}
.l3 {
text-transform:uppercase;
font-weight:600;
font-size:42px;
letter-spacing:2px;
line-height:42px;
}
#wrapper {
position:relative;
margin:0 auto;
overflow:hidden;
width:100%;
}
#map-container {
position:relative;
overflow:hidden;
-ms-touch-action: none;
}
image, polyline, circle {
  cursor:pointer;
}
/**
 * Tools
 */
#viewpaths-container {
    position:absolute;
    right:-200px;
    top: 170px;
    z-index:751;
}
.tooltitle {
    text-transform:uppercase;
    background: #111111;
    background: rgba(0, 0, 0, 0.8);
    filter: alpha(opacity=80);
    color:white;
    padding: 10px 16px 10px 16px;
    float:right;
    width:50px;
    font-size:12px;
    line-height:14px;
    cursor:pointer;
}
.tooltitle:hover {
    background: #222222;
    background: rgba(0, 0, 0, 0.5);
    filter: alpha(opacity=100);
}
.toolssubtitle {
    text-transform:uppercase;
    color:#111111;
    font-weight:bold;
    font-size:12px;
}
#viewpaths {
    width:180px;
    float:right;
    background:#ffffff;
    padding:5px 10px;
    font-size:14px;
}
#viewevents-container {
    position:absolute;
    right:-200px;
    top: 205px;
    z-index:751;
}
#viewevents {
    width:180px;
    float:right;
    background:#ffffff;
    padding:5px 10px;
    font-size:14px;
}
#viewplaces-container {
    position:absolute;
    right:-200px;
    top: 135px;
    z-index:751;
}
#showpanel {
    z-index:751;
    text-transform:uppercase;
    position:absolute;
    right:0px;
    top:100px;
    background: #111111;
    background: rgba(0, 0, 0, 0.8);
    filter: alpha(opacity=80);
    color:white;
    padding: 10px 16px 10px 16px;
    text-align:left;
    font-size:12px;
    line-height:14px;
    cursor:pointer;
}
#showabout {
    z-index:751;
    text-transform:uppercase;
    position:absolute;
    right:0px;
    top:240px;
    background: #111111;
    background: rgba(0, 0, 0, 0.8);
    filter: alpha(opacity=80);
    color:white;
    padding: 10px 16px 10px 16px;
    text-align:left;
    font-size:12px;
    line-height:14px;
    cursor:pointer;
}
#showdonate {
    z-index:751;
    text-transform:uppercase;
    position:absolute;
    right:0px;
    top:275px;
    background: #111111;
    background: rgba(0, 0, 0, 0.8);
    filter: alpha(opacity=80);
    color:white;
    padding: 10px 16px 10px 16px;
    text-align:left;
    font-size:12px;
    line-height:14px;
    cursor:pointer;
}
#totheapp {
    z-index:751;
    text-transform:uppercase;
    position:absolute;
    right:0px;
    top:316px;
}
#totheapp a {
    background: #111111;
    background: rgba(0, 0, 0, 0.8);
    filter: alpha(opacity=80);
    color:white;
    padding: 10px 16px 10px 16px;
    text-align:left;
    font-size:12px;
    line-height:14px;
    cursor:pointer;
    text-decoration:none;
}
#totheapp a:hover {
    background: #222222;
    background: rgba(0, 0, 0, 0.7);
    filter: alpha(opacity=100);
}
#showsearch {
    position:absolute;
    right:-200px;
    top: 65px;
    z-index:751;
}
#search {
font-size:16px;
padding:5px;
color:#333333;
width:170px;
border:1px solid #cccccc;
}
.ui-autocomplete {
list-style:none;
width:140px;
background:#eeeeee;
z-index:1000;
}
.ui-autocomplete li {
padding:5px 10px;
cursor:pointer;
}
#viewsearch {
    width:180px;
    float:right;
    background:#ffffff;
    padding:5px 10px;
    font-size:14px;
}
#tobeleriand {
    z-index:751;
    text-transform:uppercase;
    position:absolute;
    right:0px;
    top:20px;
    border:1px solid #333333;
    background: #fefefe;
    background: #eeeeee;
    color:#000000;
    padding: 10px 16px 10px 16px;
    text-align:left;
    font-size:12px;
    line-height:14px;
    cursor:pointer;
    border-right:none;
}
#tobeleriand a {
text-decoration:none;
color:#000000;
}
#tobeleriand:hover a, #tobeleriand a:hover {
color:#fefefe;
}
#showdonate > img {
margin-bottom: -3px;
margin-right: 5px;
}
#showpanel:hover,#showabout:hover, #showdonate:hover, #tobeleriand:hover, #showhidemenu:hover {
    background: #222222;
    background: rgba(0, 0, 0, 0.7);
    filter: alpha(opacity=100);
}
#viewplaces {
    width:180px;
    float:right;
    background:#ffffff;
    padding:5px 10px;
    font-size:14px;
}
div.olControlZoom {
position: absolute;
top: 100px;
left: 20px;
background: rgba(255,255,255,0.4);
border-radius: 4px;
padding: 2px;
}
#bone {
position:absolute;
z-index:3000;
right:50%;
width:130px;
height:421px;
background:url('http://lotrproject.com/timedistance/bone.png');
}
#btwo {
position:absolute;
z-index:3000;
right:-400;
top:800;
width:208px;
height:189px;
background:url('http://lotrproject.com/timedistance/btwo.png');
}
#bthree {
position:absolute;
z-index:3000;
top:500;
right:-500;
width:256px;
height:242px;
background:url('http://lotrproject.com/timedistance/bthree.png');
}
/**
 * Panel
 */
#panel {
display:none;
width:370px;
-webkit-box-shadow: -3px 0px 14px 0px rgba(10, 10, 10, 0.8);
-moz-box-shadow:    -3px 0px 14px 0px rgba(10, 10, 10, 0.8);
box-shadow:         -3px 0px 14px 0px rgba(10, 10, 10, 0.8);
height:552px;
overflow-y:scroll;
background:#eeeeee;
position:absolute;
z-index: 2000;
right:0;
top:0;
}
.panel-title {
color:#333;
margin:15px;
font-size: 32px;
padding:25px 0;
text-align:center;
border-bottom:1px solid #cccccc;
border-top:1px solid #cccccc;
font-family: 'Playfair Display', serif;
font-style:italic;
}
#panelcontent {
width: 370px;
}
/**
 * Timeline
 */
.year-cont {
background:#fefefe;
padding:7px 0px;
border-top: 5px solid #eeeeee;
}
.year {
background:#da4949;
color:#fefefe;
font-weight:300;
padding:2px 5px;
display: inline-block;
font-size: 12px;
}
.date {
background:#fefefe;
color:#000000;
font-size: 14px;
font-weight:600;
padding:5px 7px;
padding-bottom:0px;
margin-top: 1px;
}
.event {
font-size: 12px;
font-weight:300;
padding:5px 7px;
background: #fefefe;
margin-bottom:1px;
}
.hascoords {
padding-left:5px;
background:url(http://lotrproject.com/timeline/hascoords.png) no-repeat left center;
margin-left:-5px;
cursor:pointer;
}
.nocoords {
padding-left:5px;
margin-left:-5px;
}
.small {
font-size:10px;
padding:5px;
cursor:pointer;
}
._jsPlumb_endpoint {
z-index:3000;
}
._jsPlumb_connector {
z-index:3000;
}
.eventclick {
color:#fefefe;
background:#333333;
}
.border-left {
border-left:7px solid #555;
margin-left:15px;
margin-bottom:20px;
padding:0 15px;
}
.age-title {
margin-left:20px;
margin-bottom:15px;
margin-top:15px;
font-size:24px;
color:#333;
}
.eventhover {
color:#fefefe;
background:#555;
}
.olPopup {
margin-top: -2px;
margin-left: 0px;
}
#pathpopup_contentDiv {
background: #333333;
text-align:center;
border-radius:5px;
}
#pathpopup_FrameDecorationDiv_0 {
display:none;
}
#pathpopup_FrameDecorationDiv_1 {
display:none;
}
#pathpopup_FrameDecorationDiv_2 {
display:none;
}
#pathpopup_FrameDecorationDiv_3 {
display:none;
}
#pathpopup_close {
display: none;
}
.popuptitle {
color:#fefefe;
text-transform:uppercase;
margin-bottom:10px;
font-weight:bold;
font-size:16px;
}
.popuptg, .popuptglink {
margin-top:20px;
}
.popuptg a, .popuptglink a {
color:#eee;
text-decoration:none;
font-size:12px;
padding:4px;
border:1px solid #cccccc;
}
.popuptg a:hover, .popuptglink a:hover {
color:#fefefe;
text-decoration:none;
font-size:12px;
padding:4px;
border:1px solid #eeeeee;
}
.olFramedCloudPopupContent {
font-size:12px;
color:#fefefe;
}
.featurePopup_GroupDiv {
margin-left:3px;
margin-top:3px;
}
#closepopup {
width: 17px;
height: 17px;
position: absolute;
right: 13px;
top: 45px;
z-index: 1;
}
.sititle {
font-size:14px;
font-weight:600;
margin-bottom:10px;
}
.sidesc {
font-size:14px;
font-weight:300;
margin-bottom:10px;
}
/**
 * Infopanels
 */
#infopanel {
bottom: 20px;
left: 20px;
background: rgba(0, 0, 0, 0.8);
position: absolute;
z-index: 2000;
width: 432px;
padding: 20px;
}
#infopanel a {
color:#fefefe;
}
#closeip, #closetline {
position:absolute;
right:10px;
top:0px;
padding:4px;
padding-top:10px;
background:#000000;
line-height: 14px;
cursor:pointer;
}
#closeip:hover {
background:#444444;
}
#firsttime > div.ptitle {
font-size: 28px;
color: #f9d276;
margin-bottom: 20px;
text-align:center;
font-weight: 300;
}
#donate {
display:none;
}
#pleasedonate {
padding:20px;
border:1px solid #cccccc;
background:#eeeeee;
text-align:center;
font-size:12px;
}
.donatetitle {
font-weight:600;
margin-bottom:10px;
font-size:14px;
}
.commentstitle {
font-weight:600;
margin-bottom:10px;
font-size:18px;
text-transform:uppercase;
}
#firsttime {
color:#fefefe;
line-height:24px;
}
@media (max-width: 840px) {
#header {
position:absolute;
top:0px;
left:10px;
color:white;
padding:0;
z-index:2004;
width: 145px;
}
#header-inner {
margin:0 auto;
width: 145px;
}
.header-cont {
float:none;
width: 56px;
height: 70px;
padding-left: 12px;
padding-right: 12px;
padding-bottom: 1px;
background: #111111;
}
.minimize {
float:left;
padding-left:0px;
width:34px;
height:34px;
margin-top:1px;
}
.meny-cont {
float:left;
letter-spacing:1px;
overflow:hidden;
background:#111111;
margin-top:1px;
margin-right:1px;
}
.l1 {
text-transform:uppercase;
font-weight:300;
font-size:16px;
letter-spacing:1px;
padding:0px 10px;
}
.l3 {
text-transform:uppercase;
font-weight:600;
font-size:24px;
letter-spacing:1px;
line-height:24px;
padding:0px 10px;
}
li.meny a, li.menyimg a, .minimize a {
background-color:#111111;
}
li.facebook {
clear:both;
}
div.olControlZoom {
position: absolute;
top: 120px;
left: 10px;
background: #111111;
border-radius: 0px;
padding: 2px;
}
#infopanel {
bottom: 20px;
left: 20px;
right: 20px;
background: #111111;
position: absolute;
z-index: 2001;
max-width: 432px;
max-height:380px;
width:auto;
padding: 20px;
}
#firsttime {
font-size:14px;
line-height:22px;
}
#showhidemenu {
    z-index: 1999;
    text-transform:uppercase;
    position:absolute;
    right:0px;
    top:20px;
    background: #fefefe;
    border:1px solid #000000;
    background: #111111;
    color:#fefefe;
    padding: 10px 16px 10px 16px;
    text-align:left;
    font-size:12px;
    line-height:14px;
    cursor:pointer;
    border-right:none;
}
#tobeleriand {
    z-index: 1999;
    top: 370px;
    z-index:752;
}
#totheapp {
    z-index:751;
    top:323px;
}
#showpanel {
    z-index: 1999;
    top: 107px;
    background: #111111;
}
#showsearch {
    z-index: 1999;
    top: 72px;
}
#viewplaces-container {
    z-index: 1999;
    top: 142px;
}
#viewpaths-container {
    z-index: 1999;
    top: 177px;
}
#viewevents-container {
    z-index: 1999;
    top: 212px;
}
#showabout {
    z-index: 1999;
    top: 247px;
    background: #111111;
}
#showdonate {
    z-index: 1999;
    top:282px;
    background: #111111;
}
.tooltitle {
    background: #111111;
}
#eventPopup_contentDiv {
    overflow:auto;
}
.sharethis li {
display: block;
vertical-align: top;
float: none;
margin: 0;
}
#sharefbox {
z-index: 2010;
padding: 15px;
background: rgb(255, 255, 255);
background-color: rgba(255,255,255,0.9);
filter: alpha(opacity=90);
position: fixed;
left: 118px;
top: 224px;
}
}
@media (max-width: 640px) {
/**
 * Panel
 */
#panel {
display:none;
width:220px;
-webkit-box-shadow: -3px 0px 14px 0px rgba(10, 10, 10, 0.8);
-moz-box-shadow:    -3px 0px 14px 0px rgba(10, 10, 10, 0.8);
box-shadow:         -3px 0px 14px 0px rgba(10, 10, 10, 0.8);
height:552px;
overflow-y:scroll;
background:#eeeeee;
position:absolute;
z-index: 2000;
right:0;
top:0;
}
.panel-title {
color:#333;
margin:15px;
font-size: 22px;
padding:25px 0;
text-align:center;
border-bottom:1px solid #cccccc;
border-top:1px solid #cccccc;
font-family: 'Playfair Display', serif;
font-style:italic;
}
#panelcontent {
width: 220px;
}
}