/*
html { 
  background: url(../img/MapUI/BackgroundMap.png) no-repeat center center fixed; 
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow:hidden;
}
*/


@font-face {
    font-family: "Berlin Sans Fb Demi Bold";
    src: url("../fonts/berlin-sans-fb-demi-bold.ttf");
}

body {
    font-family: "Berlin Sans Fb Demi Bold";
	-webkit-user-select: none; /* SAFARI, CHROME */
    -moz-user-select: none; /* FIREFOX */
    -ms-user-select: none; /* IE */
    user-select: none; /* CSS3 */
    margin: 0;
    padding: 0;
    background-color: #40311c;
}

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

.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: -0.55em;
    margin-bottom: 0.2em;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    width:28%;
    height:auto;
    border-top:10px solid transparent;
    z-index:9999;
    position:absolute;
    left:36%;
}
.header .title img {
    margin-top: 10px;
    width: 400px;
}

@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.3);
    margin-top: 0px;
    margin-left: 0px;
}
.header .icon-arrow-left:after {
    font-family: 'icomoon';
    content: "\e09c";
}
.header a.hoc {
    color: #fff;
    text-decoration: none;
}
.header a.hoc:hover {
    color: #fff;
    text-decoration: underline;
}

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

/*     background: url(../img/MapUI/BackgroundMap.png) no-repeat center center fixed;  */
/*     background-size: 100% 100%; */
    background-image: url(/courses/code-commander/img/MapUI/BackgroundMap.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow:hidden;
}

.footer {
    display:inline; 
    //display:none;
    width:50%;
    margin:0px auto;
    position:absolute;
    bottom:0%;
}

.btn-group {
    display:table;
    border-spacing:30px 10px;
}

.btn-group .btn-row{
    display:table-row;
    position:relative;
}

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


.footer .btn-group {
    width:80%;
    left:17%;
}

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

.btn-group .btn {
    font-size:1em;
    display:table-cell;
    table-layout: fixed;
    text-align:center;
    vertical-align:middle;
    word-wrap:break-word;
    /*border:2px solid #CCC;*/
    height:auto;
    border-radius: 8px;
}

/*
.btn-group .btn:hover {
    background:#CCC;
    cursor: pointer;
}
*/

.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;
}

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

.box.style-1 {
    height:98%;
    width:43%;
    bottom:0%;
    right:2.5%;
    position:absolute;
}

.box.style-2 {
    height:70%;
    width:100%
}

.box.style-3 {
    height:30%;
    width:100%
}

.box.style-4 {
    height:30%;
    width:100%
}

.box.help.stone{
    height:98%;
    width:43%;
    bottom:0%;
    right:2.5%;
    position:absolute;
    background: url(../img/MapUI/Stone_Window.png) no-repeat;
    background-size: 99% 100.3%;
}

.box.help.stone.notifications {
    width:100%;
    height:60%;
    left:0%;
    top:4%;
    margin:0 auto;
    background: url(../img/MapUI/Notifications_Window.png) no-repeat center center;
    background-size: 87% 91%;
}

.getting-started.title{
    position:absolute;
    top:15%;
    width:70%;
    left:19%;
    font-size: 2.0vw;
}

.getting-started.text{
    position:absolute;
    top:25%;
    width:70%;
    left:20%;
    font-size: 1.2vw;
}
.stone {
    background: url(../img/MapUI/Stone_Window.png) no-repeat;
    background-size: 99% 100.3%;
}

.play {
    position:absolute;
    height:30%;
    width:50%;
    bottom:12%;
    left:31%;
}
.play img {
    height:100%;
    width:100%;
    position:absolute;
    right:18%;
}

.play img:hover{
    cursor: pointer;
}

.overflow {
    position: absolute;
    top:25%;
    left:15%;
    overflow:hidden;
    width:69.5%;
    height:65%;
}

table.tablestyle-1 {
  table-layout:fixed;
  border-collapse: collapse;
  /*border: 2px transparent #2E2E2E;*/
  /*font-size: 2.8vh;  /* 110%;*/
  font-size: 14px;
  height:100%;
  margin-bottom:10%;
}

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


tr.clickable-row td.detail {
  background:url(../img/MapUI/Text_Box.png) no-repeat left center;
  background-size:88% 70%;
  width: 100%;
}

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

tr.clickable-row td.date{
  background:url(../img/MapUI/Date_Box.png) no-repeat center center;
  background-size:90% 70%;
}

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

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

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

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

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

.top {
    position:absolute;
    top:0;
}

#progression {
    width:100%;
    height:100%;
}

#progression-BG {
    z-index:1;
    width:100%;
    height:100%;
}

#progression .tab {
    display:inline-block;
    height:auto;
    width:8%;
}

#progression .tab.active {
    cursor:pointer;
}

#progression .tab img {
    background-color:transparent;
}

.arena {
    position:absolute;
    bottom: 28%;
    left: 25%;
    width: 48%;
    height: 100%;
    margin: 0px auto;
}

#arena-cover{
	position:absolute;
	bottom: 28%;
	left: 25%;
	width: 48%;
	height: 100%;
	margin: 0px auto;
	z-index:100;
}

.arena #infotext {
    position:absolute;
    left:5%;
    top:25%;
    font-size:2vw;
    display:none;
    text-align:center;
    vertical-align:middle;
    z-index:1;
    color:#FFF;
}

.arena #arena-image {
    position:absolute;
}


/*
.arena #arena-image:hover {
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier /
}
*/

.notifications {
    width:100%;
    height:60%;
    left:0%;
    top:4%;
    margin:0 auto;
    background: url(../img/MapUI/Notifications_Window.png) no-repeat center center;
    background-size: 87% 91%;
}

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

/* Modal Popup windows */
/* Z-index of #mask must lower than #boxes .window */
#mask {
    position:absolute;
    z-index:9000;
    background-color:#000;
    display:none;
    top:0%;
    left:0%;
    background-color: rgba(0,0,0,0.5);
}
  
#boxes .window {
    position:fixed;
    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:auto; 
    height:auto;
    padding-bottom:7%;
    visibility:visible;
    background: url(../img/MapUI/ScrollBorder_Window.png) no-repeat center center;
    /*background: url(../img/MapUI/Dialogue_Popup.png) no-repeat center center;*/
    background-size: 100% 100%;
}

#boxes #dialog .detail {
    padding:15%;
    display:block;
    font-size:1.5vw;
}

a.close{
left:15%;
bottom:18%;
font-size:1.5vw;
display:block;
}

#back-button
{
 display:block;
 position:absolute;
 top:70%;
 right:75%;
}

#back-button:hover{
cursor:pointer;
}

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

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

#Scrollbar-Container {
}

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

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

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

.Scrollbar-Track {
    background: url(../img/MapUI/Scroll_Bar.png);
    position: absolute;
    top:20.5%;
    right:1%;
    width: 5%; height: 52%;
    background-size: 100% 100%;
}

.Scrollbar-Handle {
    background: url(../img/MapUI/Scroll_Button.png) no-repeat center center;
    position: absolute;
    top:10%;
    right:1%;
    width: 100%; height: 20%;
    background-size: 80% 100%;
}

#player-bar{
//display: none;
position:absolute;
right:15%;
top:-1%;
width:60%;
height:10%;
}
#board{
position:absolute;
z-index:0;
left:0; 
top:5%; 
width:100%;
height:100%;
}
#avatar{
z-index:999;
position:absolute;
left:20%;
height:110%;
width:25%;
cursor:pointer;
}
#coin{
z-index:999;
position:absolute;
top:27%;
right:7%;
width:10%;
height:50%;

}
#board-lvl{
position:absolute;
z-index:999;
right:81%;
top:20%;
font-size:2.1vw;
color:white;
}
#board-gold{
position:absolute;
z-index:999;
right:18%;
top:25%;
font-size:2vw;
color:yellow;
}
#board-expreq{
position:absolute;
z-index:999;
right:81%;
top:60%;
font-size:.6vw;
color:yellow;
}

button {
    font-family: "Berlin Sans Fb Demi Bold";
    background:none!important;
     border:none; 
     padding:0!important;
    font-size: 1.5vw;
     color:blue;
     cursor:pointer;
}
button:hover{
         text-decoration:underline;
}

button:focus { outline-style: none; }
button:active {color:red;}

