*{
    /*
    box-sizing:border-box;
    -moz-box-sizing:border-box; // Firefox 
    -webkit-box-sizing:border-box; // Safari 
    padding:0px;
    margin:0px;
    border:0px;
    */
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}
html {
  background: url(../img/MapUI/Background.jpg) no-repeat center center fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow:hidden;
}

@font-face {
    font-family: "Upbolters";
    src: url("../fonts/UPBOLTERS.otf");
}

body {
    font-family: "Upbolters";
    width: 100vw; 
    height: 56.25vw; /* height:width ratio = 9/16 = .5625  */
    background: transparent;
    max-height: 100%;
    max-width: 177.78vh; /* 16/9 = 1.778 */
    margin: 0 auto; 
    position: absolute;
    top:0;
    bottom:0; /* vertical center */
    left:0;
    right:0; /* horizontal center */
}

@font-face {
    font-family:'icomoon';
    src:url('/global/fonts/icomoon/icomoon.eot');
    src:url('/global/fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype');
}
@font-face {
    font-family: 'icomoon';
    src:url('   ');
    src:url('/global/fonts/icomoon/icomoon.ttf');
    font-weight: normal;
    font-style: normal;
}

.header .btn-group.left {
    background: rgba(0, 0, 0, 0.4);
    margin-top: 0px;
    margin-left: 0px;
    padding: 8px;
}
.header .icon-arrow-left:after {
    font-family: 'icomoon';
    content: "\e09c";
}
.header a.hoc {
    font-size: 14px;
    font-family: Arial;
    color: #fff;
    text-decoration: none;
}
.header a.hoc:hover {
    color: #fff;
    text-decoration: underline;
}

.header {
    display:block;
    height:10%;
    width:100%;
    /*margin:0px auto;
    position:relative;*/
    position: absolute;
    z-index: 1;
}

.header .title {
    text-shadow: 2px 2px #2E9AFE;
    -webkit-text-stroke-width:0.7px;
    -webkit-text-stroke-color:#2E64FE;
    color:#CCC;    
    text-align:center;
    display:block;
    font-size: 2em;
    margin-top: -.55em;
    margin-left: 1%;
    font-weight: bold;
    width: 37%;
    height: 11%;
    border-top:10px solid transparent;
    z-index:9999;
    position:absolute;
    
}

.header .title.mid {
    left: 32%;
    width:37%;
}

.header .title.lb {
    left: 5%;
    width:33%;
}

.header .title.home {
    width:10%;
    left:39%;
}

.header .title.homeleft {
    width:13%;
    left:5%;
}

.header .title.mc {
    width:30%;
    right:0%;
}

.content {
    display:block;
    width:100%;
    height:100%;
    margin:0px auto;
    /*position:relative;*/
}


.footer {
    display:inline-block;
    width:93%;
    height:35%;
    margin:0px auto;
    position:absolute;
    bottom:52%;
}

.btn-group {
    display:block;
    background: url(../img/MapUI/Backdrop_Button_Panel.png) no-repeat center center;
    background-size: 100% 95%;
}

.btn-group .btn-row{
    position: absolute;
    display: block;
    height: 57%;
    width: 75%;
    top: 30%;
    right: 7.3%;
}

.header .btn-group .btn-row {
    right:50%;
    width:100%;
    height:100%;
}


.footer .btn-group {
    width:69%;
    height:67%;
    left:19.5%;
    bottom:23%;
    position:absolute;
}

.footer .btn-group .btn-row .btn:hover {
    cursor:pointer;
}

.btn-group .btn {
    font-size:1em;
    display:inline-block;
    width:26%;
    height:69%;
    padding-right:2%;
}

.btn-big {
    position:absolute;
    font-size:1em;
    color:#F0F0F0;
    background:#8258FA;
    border:1px solid #000;
    display:inline;
    vertical-align:middle;
    text-align:center;
    -webkit-text-stroke-width:0.2px;
    -webkit-text-stroke-color:#000;
    border-radius: 8px;
    width:35%;
    left:30%;
    padding:10px;
}

.btn-big:hover {
    background:#642EFE;
}

.data-row {
    background: url(../img/Leaderboard/TextBox_Leaderboard.png) no-repeat center center;
    background-size: 100% 100%;
    height: 76%;
    width: 100%;
}

.data-row .data-tab {
    display: inline-block;
    padding: 9%;
    padding-top: 4%;
}

.avatar-row {
    display: inline;
}

.avatar-row .avatar-tab {
    display: inline;
}

.avatar-row .avatar-tab img {
    height: 180%;
    margin: -4.5%;
}

td.avatars.small .avatar-row .avatar-tab img {
    height: 500%;
    margin: -4.5%;
}

.box {
    display:inline-block;
    margin:1px 0px 1px 5px;
    border-radius:8px;
    position: absolute;
}

.box.style-1 {
    height:82.5%;
    width:33%;
    top:12.5%;
    right:-1%;
    z-index:1;
}

.box.style-2 {
    top:14.75%;
    height:10%;
    width:40%;
    z-index:2;
    left:24.25%;
    background: url(../img/MapUI/Backdrop_Button_Panel.png) no-repeat center 31%;
    /*background: url(../img/MapUI/Border.png) no-repeat center center;*/
    background-size: 112.5% 120%;
    margin:auto;
    padding-top:6%;
    padding-left:6%;
    padding-right:6%;
    padding-bottom:6%;
    /*background-color: black;*/
    border:0;
    overflow:hidden;
}
.box.style-2 .btn{
    width: 100%;
    height: 50%;
    background: url(../img/Leaderboard/TextBox_LeaderName.png) no-repeat center center;
    background-size:97.5% 95%;
    z-index:4;
    margin:auto;
    text-align:center;
    /*font-family: "Upbolters";*/
    /*background-color:blue;*/
    font-size:1.5vw;
    line-height:175%;
    color:lightblue;
}
.box.style-2 .btn:link{
    color:lightblue;
}
.box.style-2 .btn:visited {
    color:lightblue;
}
.box.style-2 .btn:hover {
    cursor:pointer;
    color:orange;
}
.box.style-2 .btn:active {
    color:#E2A76F;
    z-index:4;
}

.box.style-3 {
    height:67.5%;
    width:90%;
    bottom:0%;
    z-index:2;
    right:5%;
}

.textbox {
    background: url(../img/Leaderboard/TextBox_Leaderboard.png) no-repeat center center;
    background-size: 100% 100%;
    height: 8.9%;
    width: 43%;
    position: absolute;
}

.stone {
    background: url(../img/MapUI/Window_Notifications.png) no-repeat center center;
    background-size: 99% 100.3%;
}

.overflow {
    position: absolute;
    top:12.5%;
    left:5%;
    overflow:hidden;
    width:90%;
    height:100%;
}

input.searchbar {
    display:block;
    font-size:1.6vw;
    width:20%;
    left:4%;
    position:relative;
}

.lb-container {
    position: absolute;
    top:9.65%;
    height: 85%;
    overflow-y: auto;
    overflow-x: hidden;
    //background-color:black;
    margin-left:2.5%;
    width:94.75%;
}

table.tablestyle-1 {
  table-layout:fixed;
  border-collapse: collapse;
  /*border: 2px transparent #2E2E2E;*/
  font-size: 1.2vw;
  height:100%;
  width:100%;
  margin-bottom:10%;
  color:#FFF;
}

table.tablestyle-2 {
  table-layout:fixed;
  border-collapse: collapse;
  display:table;
  font-size: 1.6vw;
  position:relative;
  color:#FFF;
  width: 94.6%;
  z-index: 1;
  left:2.8%;
}

table.tablestyle-1 td, th {
  /*border: 5px solid transparent;*/
  border-right: 5px solid transparent;
  /*border-bottom: 10px transparent #B18904;
  padding-top: 3px;
  padding-bottom: 3px;*/
  padding-left: 5px;
  padding-right: 15px;
  text-align: left;
  word-wrap: break-word;
  height: 7vh;
  white-space:nowrap;
}

table.tablestyle-2 td, th {
  text-align: center;
  word-wrap: break-word;
  height: 10px/*7vh*/;
  white-space:nowrap;
}

table.tablestyle-2.battleboard td, th {
    text-align: left;
}

table.tablestyle-2 tr.current{
    background-color:rgba(150,200,170,0.7);
}

table.tablestyle-2 td.userdata {
    width:46%;
}
@-moz-document url-prefix() {
    /* FF table sizing behavior is different from Chrome,Safari */
    table.tablestyle-2 td.userdata {
        width:46%;
        height:100%;
    }
}

table.tablestyle-2 td.rank, td.level, td.wins, td.battles {
    width:3%;
    padding:1%;
}

table.tablestyle-2 td.result {
    text-align: center;
    width:6%;
}

table.tablestyle-2 td.username {
    background: url(../img/Leaderboard/TextBox_LeaderName.png) no-repeat center center;
    background-size: 70% 75%;
    width:30%;
}

table.tablestyle-2 td.username-small {
    width:4.75%;
    padding-left:0%;
}

table.tablestyle-2 td.avatars {
    padding-left:1%;
    padding-top:1%;
    text-align: left;
}

table.tablestyle-2 td.avatars.small{
    width:4.5%;
    padding-top:0.6%;
    overflow:hidden;
}

tr.clickable-row {
  width:100%;
  background:url(../img/MapUI/Text_Box_Box.png) no-repeat left center;
  background-size:98% 70%;
  display:block;
  color: #FFF;
}
@supports (-ms-accelerator:true) {
    .tr.clickable-row {     
        width:100%;
        background:url(../img/MapUI/Text_Box_Box.png) no-repeat left center;
        background-size:98% 70%;
        display:block;
        color: #FFF;
    } 
}

tr.clickable-row.seen {
   color: #AAA;
}

tr.clickable-row:hover {
    cursor:pointer;
    background-color:#CCC;
}

tr.clickable-row td.detail {
    padding-right: 0px;
    width:80%;
}

tr.clickable-row td.detail .holder{
    width:100%;
    word-wrap: break-word;
    white-space:nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


tr.clickable-row td.date{
  background:url(../img/MapUI/Text_Box_Line.png) no-repeat center center;
  background-size:100% 77%;
  width:15%;
}


.right {
    position:absolute;
    right:0%;
}

.left {
    position:absolute;
    left:0%;
}

.middle {
    width: 50%;
    margin: 0 auto;
}

.bottom {
    position:absolute;
    bottom:0%;
}

.notifications.top {
    position:absolute;
    top:0%;
    width:100%;
    height: 100%;
    background-color:none;
}

.centered {
    position: absolute;
    top: 21.5%;
    left:16%;
    width: 67.5%;
    height:50%;
    overflow-y:auto;
    /*background-color: magenta;*/
}

.box.style-0 {
    height:80%;
    width:60%;
    left:4%;
    bottom:2.5%;
    z-index:0;
    background-color:transparent;
    background-size: 100% 100%;
    overflow: hidden;
    border: 10px solid #999999;
    /*display: none;/**/
}

#progression {
    width:50%;
    height:70%;
    top:25%;
    left:10%;
    position:absolute;
    /*background-color: grey;
    opacity: .75;*/
    background-color: transparent;
}

#progression-BG {
    background: url(../img/MapUI/CM_Map_2016.jpg) no-repeat center center;
    z-index:1;
    position: absolute;
    width:100%;
    height:100%;
    background-size:100% 100%;
}

.arrow {
    z-index:2;
    position: absolute;
    width: 10%;
    height: 20%;
    /*display: none;*/
}

.arrow.arrowright {
    right: 0%;
    top: 40%;
    background: url(../imgs/arrow_right.png) no-repeat center center;
    background-size: 100% 100%;
}

.arrow.arrowleft {
    left: 0%;
    top: 40%;
    background: url(../imgs/arrow_left.png) no-repeat center center;
    background-size: 100% 100%;
}

.arrow.arrowup {
    left: 48%;
    top: 0%;
    background: url(../imgs/arrow_up.png) no-repeat center center;
    background-size: 100% 100%;
}

.arrow.arrowdown {
    left: 48%;
    bottom: 0%;
    background: url(../imgs/arrow_down.png) no-repeat center center;
    background-size: 100% 100%;
}
.mapzoom{
    z-index:2;
    position: absolute;
    width: 5%;
    height: 7%;
    /*display: none;*/
}
#mapplus {
    right: 0%;
    bottom: 7%;
    background: url(../img/MapUI/mapplus.png) no-repeat center center;
    background-size: 100% 100%;
}

#mapminus {
    right: 0%;
    bottom: 0%;
    background: url(../img/MapUI/mapminus.png) no-repeat center center;
    background-size: 100% 100%;
}

#mapinfo {
    right: 0%;
    top: 0%;
    background: url(../img/MapUI/mapinfo.png) no-repeat center center;
    background-size: 100% 100%;
}

.tab {
    display:inline-block;
    width:10%;
    height:20%;
    overflow:hidden;
}

.tab.active {
    cursor:pointer;    
}

.tab img {
    background-color:transparent;
}

.tab-startpoint {
    display:inline-block;
    width:7.5%;
    height:15.5%;
}

.tab-endpoint {
    display:inline-block;
    width:7.6%;
    height:13.9%;
}

.tab-encounter {
    display:inline-block;
    width:26%;
    height:20%;
}

.tab-encounter:hover{
    cursor:pointer;
}

.tab-generic:hover{
    cursor:pointer;
}

#leaderboard-BG {
    background: url(../img/Leaderboard/Window_Leaderboard.png) no-repeat center center;
    background-size: 100% 101%;
    width:90%;
    height:90%;
    left: 5%;
    top: 10%;
    position: absolute;
}

#battleboard-BG {
    background: url(../img/Leaderboard/Window_Arena.png) no-repeat center center;
    background-size: 100% 101%;
    width:90%;
    height:90%;
    left: 5%;
    top: 10%;
    position: absolute;
}

#battle-result {
    color: rgba(107,225,239,0.8);
    position: absolute;
    top: 13.5%;
    right: 14%;
    z-index: 1;
    font-size: 2vw;
}

.notifications {
    width:100%;
    height:100%;
    left:.05%;
    top:4%;
    margin:0 auto;
    background: url(../img/MapUI/Window_Notifications.png) no-repeat center center;
    background-size: 105% 103%;/*95% 91%;/////////////////////////////////////////////////////////////////////////////////////*/
}

.notifications .btn-big:hover{
    background:#8258FA;
    cursor:default;
}
.quickHelp {
    position:absolute;
    width:100%;
    height:100%;
    left:-2.5%;
    top:2.5%;
    margin:0 auto;
    background: url(../img/MapUI/welcomenotificationwindow.png) no-repeat center center;
    background-size: 105% 103%;/*95% 91%;/////////////////////////////////////////////////////////////////////////////////////*/
}

.quickHelp .btn-big:hover{
    background:#8258FA;
    cursor:default;
}

.quickHelp .title{
    left: 35%;
    top: 2.5%;
    color:white;
    position:absolute;
    font-size:2em;
    display:block;
    z-index:3;
}

.quickHelp .actionshot{
    width:85%;
    left: 7.5%;
    top: 0%;
    color:white;
    position:relative;
}
.quickHelp .container{
    color:lightblue;
    background-color:transparent;
    width:85%;
    height: 82.5%;
    left:5%;
    position:absolute;
    top:12.5%;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: Arial, Times, serif;
    background-color: rgba(0,0,0,0.15);
    padding-left:2%;
    padding-right:2%;
/*     font-size:2.75vh; */
    font-size:1em;
    border-radius: 25px;
}
.quickHelp li{
    border-radius: 2px;
    background-color: rgba(0,0,0,0.15);
    margin:0px;
    padding-bottom:1px;
    padding-top:1px;
}
.quickHelp a:link{
    color:red;
}
.quickHelp a:visited{
    color:red;
}
.quickHelp a:hover{
    color:red;
}
.quickHelp a:active{
    color:red;
}

.quickHelp .detail{
    display:none;
    color:orange;
    padding-top:0;
    padding-left:10%;
    padding-right:10%;
    padding-bottom:2%;
}

#quickHelpClose {
    font-family: Arial, Times, serif;
    text-align: center;
    background-color: rgba(0,0,0,0.15);
    padding:0%;
    font-size:20px;
    bottom:1.25%;
    right:12.5%;
    font-family: "Upbolters";
    text-align: center;
    background-color: rgba(0,0,0,0);
    opacity: .5;
    color:white;
    position:absolute;
}


/* Modal Popup windows */
/* Z-index of #mask must lower than #boxes .window */
#mask {
    width:100%;
    height:100%;
    position:absolute;
    z-index:9000;
    background-color:#000;
    display:none;
    top:0%;
    left:0%;
    background-color: rgba(0,0,0,0.5);
}
  
#boxes .window {
    width:30%;
    height:auto;
    display:none;
    z-index:9999;
    padding:20px;
    background-color:#CCC;
}
/* Customize your modal window here, you can add background image too */
#boxes #dialog {
    width:50%;
    height:50%;
    background: url(../img/MapUI/Backdrop_Button_Panel.png) no-repeat center center;
    background-size: 100% 100%;
    color:#FFF;
    position:absolute;
    left:20%;
    top:20%;
}

#boxes #dialog .detail, a.close{
    font-family: Arial, Times, serif;
    text-align: center;
    background-color: rgba(0,0,0,0.15);
    padding:0%;
/*     font-size:2.75vh; */
    font-size:22px;
}

#boxes #dialog .centered{    
    border-radius: 10px;
}

#boxes #dialog a.close{
    bottom:20%;
    right:20%;
    font-family: "Upbolters";
    text-align: center;
    background-color: rgba(0,0,0,0);
    opacity: .5;
    color:white;
}

@media screen and (max-width: 40rem) {
    #boxes #dialog .detail, a.close {
        font-size: 14px;
    }

    #boxes #dialog a.close {
        font-size: 18px;
    }
}

btn, img{
   max-width: 100%;
   height: auto;
}

/* Custom Scroller styles */
#Scroller { 
  position: absolute; 
  overflow: hidden;
  width: 93.3%;
  height: 80%;
  z-index:3;
}

#Scrollbar-Container {
  top: -2%;
  height: 90%;
  width: 100%;
  right: 0%;
  position: absolute;
}

.Scroller-Container {
  position: absolute;
  top: 0%; 
  left: 0%;
}

.Scrollbar-Up {
  cursor: pointer;
  position: absolute;
  top: 8%; 
  right: 0%;
  width: 7%; height: 8%;
  z-index: 1;
}

.Scrollbar-Down {
  cursor: pointer;
  position: absolute;
  bottom: 14%; 
  right: 0%;
  width: 7%; height: 8%;
  z-index: 1;
}

.Scrollbar-Track {
    background: url(../img/MapUI/Scroll_Bar.png);
    position: absolute;
    top:15.8%;
    right:2.2%;
    width: 2.5%; height: 62.5%;
    background-size: 100% 100%;
}

.Scrollbar-Handle {
    background: url(../img/MapUI/Scroll_Button.png) no-repeat center center;
    position: absolute;
    top:10%;
    width: 250%; 
    height: 15%;
    left: -75% !important;
    background-size: 100% 100%;
}
/*
a:link - a normal, unvisited link
a:visited - a link the user has visited
a:hover - a link when the user mouses over it
a:active - a link the moment it is clicked
*/
/* Link Colors for the matchup page */
.matchupLink:link{
    color:lightblue;
}
.matchupLink:visited {
    color:lightblue;
}
.matchupLink:hover {
    color:orange;
}
.matchupLink:active {
    color:#E2A76F;
}
