@font-face { font-family: Arcade; src: url('fnt/ARCADECLASSIC.TTF'); } 
@font-face { font-family: Mayfair; src: url('fnt/MAYFAIR_B.ttf'); } 
@font-face { font-family: Mana; src: url('fnt/manaspc.ttf'); } 
@font-face { font-family: Ganon; src: url('fnt/retganon.ttf'); } 
@font-face { font-family: Lunchtime; src: url('fnt/lunchds.ttf'); } 
@font-face { font-family: Gridking; src: url('fnt/Gridking.ttf'); } 
@font-face { font-family: goldbox; src: url('fnt/goldbox.ttf'); } 
@font-face { font-family: DOS; src: url('fnt/DOS.ttf'); } 

html, body {
    height: 100%;
    margin: 0;
    background-color: #222222;
}

#prototypetext {

    position:relative;
    float:right; 
    width:50%;
    font-size: 10pt; 
    overflow: auto;
    max-height: 150px;
}


#cursor {

    border: 2px solid #fff;    
    position:fixed;
    padding: 0px;


}


.resvalue {
    float:right;
}


#page {

    border-style: solid;
    border-width: 0px;
    border-color: black;
    background-color: #222222;
    width: 90%;
    /* text-align:center; */
    font-family: Consolas;
    margin-left: auto;
    margin-right: auto;
    padding: 6px 6px;
    letter-spacing: 1px;
    height: 95%;    
    transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    -moz-transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    -webkit-transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    cursor: url(img/ffhand_default2.png) 20 6, auto;
}

#header {
    font-size: 20px;
    font-weight: bold;
    color:white;
    text-align: center;
    vertical-align: middle;
    margin-top: 10px;
    margin-bottom: 10px;
}


#stats {
    float: left;
    border: 1px solid #aaa;    
 	font-size: 11px;
    text-align: left;
    color:white;
    width: 133px;
    height: auto;
    padding: 6px 6px;
    background-color: #6a6a6a;
    text-shadow: 0px 1px 1px #000;
    transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    -moz-transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    -webkit-transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;

}

#maindiv {

    border-style: solid;
    border-width: 0px;
    border-color: black;
    display: inline-block;
    width:calc(100% - 150px);
    background-color: #292929;
    height: 99%;
    border-radius: 8px;
    position: relative;
    margin:auto;
}

.mainimg {
    background-color: #000000;
    width: auto;
    overflow: hidden;
    position: relative;
    height: 160px;
    background-position: center;
    background-repeat: repeat-x;
    border: 1px solid #555;
}


img.absolute {
  position: absolute;
}

#storagebgimg {
    position: relative;
    float:right;
    border-style: solid;
    border-color: white;
    border-width: 2px;
    border-radius: 3px;
    margin-right:50px;
    margin-top:7px;
    display: none;
    z-index: 75;
    /*animation:fadeOut 2s linear;*/
}

    #storagebgimg.fade {

    }

#clickables {
    margin-top: 3px;
    color: white;
}

 /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 200; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
    height: auto; /* Full height */
    margin-left: auto;
    margin-right: auto;
    border-style: solid;
    border-width: 2px;
    border-color: white;
    font-size: 14px;
    font-weight: normal;
    color:white;
    background-color: darkblue
}

/* The Close Button */
.close {
    color: #ffcc00;
    float: right;
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 2px;
    margin-top: 2px;
}


.close:hover,
.close:focus {
    color: #ffcc00;
    text-decoration: none;
    cursor: url(img/ffhand.png), auto;
    text-decoration: underline;
} 


/* The Yes Button */
.yesbutton {
    color: #ffcc00;
    float: left;
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 2px;
    margin-top: 2px;
}


.yesbutton:hover,
.yesbutton:focus {
    color: #ffcc00;
    text-decoration: none;
    cursor: url(img/ffhand.png), auto;
    text-decoration: underline;
} 


#combatarea {
    width: 95%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    border-style: solid;
    border-width: 2px;
    border-color: white;
    font-size: 14px;
    font-weight: normal;
    color:white;
    background-color: darkblue;
    text-align: left;
    margin-top: 5px;
    padding: 6px 6px;
    overflow: auto;

}

.enemy {
    display: inline-block;
}

    .enemy:hover{
        border: 1px solid #ccc;
        background-color: #ffc;
        cursor: url(img/ffhand.png), auto;
    }

    .enemy.selected{
        border: 1px solid #ccc;
        background-color: #ffc;
        
    }


.note {
     padding: 6px 6px;
    overflow: hidden;
    position: fixed;
    z-index: 80;
    display: none;
    min-width:45px;
    text-shadow: 0px 2px 2px #000000;
    animation:fadeOut 1s linear;
    text-align: center;
}

.icon {
    padding: 6px 6px;
    overflow: hidden;
    position: fixed;
    z-index: 80;
    display: none;
    min-width:45px;
    text-shadow: 0px 2px 2px #000000;
    animation:fadeOut 1s linear;
    background-color: #0000cc;
    border: 1px solid #ccc;
    border-radius:4px;
    text-align: center;
}


.menu {
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    border-color: white;
    font-size: 12px;
    color:white;
    /*background-color: darkblue;*/
    background: rgba(0, 0, 139, 0.8);
    text-align: left;
    /*margin-top: 5px;*/
    padding: 6px 6px;
    overflow-y: auto;
    position: fixed;
    z-index: 100;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.5);
}
    .menu.heading {
        margin:auto;           
        text-align: center;
        position: static;
    }

    .menu#combatmenu {
        z-index: 80;
        border-color: #aaa;
        width:30%;
        margin:auto;
        position: static;
    }
    .menu.infomenu {
        z-index: 100;
        position: absolute;
    }
    .menu.noshadow {
        box-shadow: 0px 0px rgba(0, 0, 0, 0.5);
        position: relative;
    }

 .shadow {
    border-style: solid;
    border-width: 0px;
    border-radius: 10px;
    border-color: black;
    position: fixed; /* Stay in place */
    z-index: 50;  
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}
    .shadowturn {
        background-color: rgb(0,0,255); /* Fallback color */
        background-color: rgba(0,0,255,0.7); /* Black w/ opacity */

    }

#settings {
    font-size: 9pt;
    min-width: 250px;
}

    /* Change background color of buttons on hover */
    #button_settings:hover {
        background-color: #ddd;
        color: black;
    }


.hpbar {
    width: 10px;
    height: 14px;
    position: absolute;
    background-color: yellow;
    color: black;
    z-index: 200;
    vertical-align: middle;
    border-radius: 3px;
    border-top: 1px solid #785705;

}

.hpnumber {
    position: absolute;
    color: white;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;      
    z-index: 300;
    vertical-align: middle;
    font-size:8pt;
    margin-left: 3px;
    margin-top:0px;
    font-weight: bold;
}

.hpmaxbar {
    width: 10px;
    height: 15px;
    position: relative;
    background-color: red;
    color: black;
    z-index: 50;
    vertical-align: middle;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    border-color: #ffffff;
    padding: 0px;

}

.tiny {

    font-size:8pt;
    animation:fadeOut 2s linear;

}

#dialoguebox {
    position: relative;
    }

    #dialogue_controls {
        position: absolute;
        z-index: 51;
        margin-left: 15px;
        margin-top: 8px;
        margin-right: auto;
        padding: 6px 6px;
        opacity: 0.5;
    }

    #dialogue_controls:hover {
        opacity: 1;
        background: rgba(0, 0, 139, 1);
        border-style: solid;
        border-width: 1px;
        border-color: white;
        border-radius: 5px;

    }

    .dialogue {
        opacity: 1;
        transition: opacity 3s ease-in-out;
        -moz-transition: opacity 3s ease-in-out;
        -webkit-transition: opacity 3s ease-in-out;
        width:calc(70% - 30px);
        height: 80px;
     	margin-left: 10px;
        margin-top: 8px;
        margin-right: auto;
        border-style: solid;
        border-width: 2px;
        border-color: white;
        border-radius: 5px;
        font-size: 12px;
        font-weight: normal;
        color:white;
       	background-color: darkblue;
        text-align: left;
        padding: 6px 6px;
        overflow: auto;
        position: absolute;
        z-index: 50;
        background: rgba(0, 0, 139, 0.7);
    }

    #dialogue:hover {
        background: rgba(0, 0, 139, 1);

    }

#craftingarea {
    max-height:250px;
    display:inline-block;
     overflow-y: scroll;
     width:99%;
}

#dialoguecontinue {
    color: white;
    text-align: right;
    font-weight: bold;
}

.help {
    color:black;
    background-color: white;
    font-size: 8pt;
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
    padding: 3px 3px;
    display: none;
}



.dev {
    display: none;
}

.highlight {
    color:yellow;
}

.dmg {
    color:#ff1a1a;
    text-shadow:
        -1px -1px 0 #800,
        1px -1px 0 #800,
        -1px 1px 0 #800,
        1px 1px 0 #800;      
}

.highlight2 {
    color:#ccddff;
}

.subtitle {
    color:white;
    font-weight: bold;
}


.menu2 {
    padding: 2px;
    border: 0px transparent #ccc;    
}

.menu2:hover {
    padding: 1px;
    background-color: #ddd;
    color: #333;
    border: 1px solid #333;
    cursor: url(img/ffhand.png), auto;
}


a {
    color: #ffcc00;
    text-shadow: 0px 1px 1px #000;    
    text-decoration: none;
    cursor: url(img/ffhand.png), auto;
}
    a:hover {
        text-decoration: underline;
    }
    a.explore {
        border: 2px solid #222;
        border-radius:8px;
        padding: 6px 6px;

    }
    a.encyclopedia {
        /* color: white; */
        color: inherit;
        text-shadow: none;
        text-decoration: underline;
    }
    a.helpencyclopedia {
        color: inherit;
        text-shadow: none;
        text-decoration: underline;
    }
    a.lastentry {
        font-size: 8pt;
    }

.small {
    font-size: 8pt;
}

.total {
    border-top: 1px solid white;
    float:right;
}

.elec {
    color: yellow;
}
.heat {
    color: orange;
}
.cold {
    color: cyan;
}
.arcane {
    color: purple;
}
.rune {
    color: grey;
}

.tooltip {    
    position: fixed;
    /*background-color: #646464;*/
    background-color: #0000cc;
    border-radius:4px;
    padding: 6px 12px;
    font-family: arial;
    font-size: 12px;
    text-shadow: 0px 1px 1px #000;
    /*color: #ffc64a;*/
    color: #ffffff;
    z-index:210;
    border: 1px solid #ccc;
}

.tooltip:before {
    content : " ";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    /*border-top: 10px solid #646464;*/
    position:absolute;
    bottom:-5px;
    left:5px;
}


#settings {
	text-align: right;
    margin-top: 10px;
}


#dmg {
    background-image: url("img/dmg.png");
    text-align: center;
    font-size: 8pt;
    vertical-align: middle;
    text-shadow: 0px 2px 2px #500;
    padding-top: 6px;
    position: fixed;
    display: none;
    animation:fadeOut 2s linear;

}

#pdmg {
    background-image: url("img/dmg.png");
    text-align: center;
    font-size: 8pt;
    vertical-align: middle;
    text-shadow: 0px 2px 2px #500;
    padding-top: 6px;
    position: fixed;
    display: none;
    animation:fadeOut 2s linear;
}

@keyframes fadeOut {
   0% {opacity: 1;}
   100% {opacity: 0;} 
} 

#pdmg.none {
  display:none
}

.block {
    color:white;
    padding: 10px;

}

.turn {
    border: 2px solid #6699ff;

}

.flash {
    animation: colorFade 2s linear;
}

@keyframes colorFade {
  0%   { background-color: #f1f442; }
  100%  { background-color: transparent; }
}

/*.block:hover {
    border: 1px solid #ccc;

}

.subblock:hover {
    border: 1px solid #ccc;

}
*/

.subblock {
    color:white;
    padding: 10px;
    border: 1px transparent;

}

.pblock {
    color:white;
    border-style: solid;
    border-width: 0px;
    border-color: blue;
    font-size: 12px;
    text-align: left;
    margin-top: 4px;
    width: 133px;
    height: auto;
    padding: 6px 6px;
    /*display: none;*/
    border: 1px solid #111;
    text-shadow: 0px 1px 1px #000;
    transition: opacity 2s ease-in;
    -moz-transition: opacity 2s ease-in;
    -webkit-transition: opacity 2s ease-in;
}


.submenu {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #555;
    width:100%;
    height:17px;
    color:white;
    padding: 10px;
    background-color: #a1a1a1;
    text-shadow: 0px 1px 1px #000;
    transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    -moz-transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    -webkit-transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
}


.fullblock {
    color:white;
    width:100%;
    border: 0px solid #ccc;

}

.disabled {
    color: grey; 
}

img.disabled {
    -webkit-filter: grayscale(90%); /* Safari */
    filter: grayscale(90%);
}

img.dmg {
    filter: grayscale(90%) drop-shadow(1px 1px red);
}

.label {
    display: block;
    width:100%;
    color: white;
    text-shadow: 0px 1px 1px #000;
    font-weight: bold;
    border-bottom: 1px solid #555;
    margin-bottom: 2px;

}

    .label:span {
        width:100%;
    }

.sublabel {
    margin-top: 8px;
    margin-bottom: 2px;
    display: block;
    width:100%;
    color: white;
    text-shadow: 0px 1px 1px #000;
    font-weight: bold;
}


.divTable {
    display: table;
    align-self: center;
    align-content: center;
    }
    .divTable.arena {
        margin:auto;
        table-layout: fixed;
        width:1px;
        border: 4px solid #fff;
        box-shadow: 5px 5px rgba(0, 0, 0, 0.5);
        box-sizing: border-box;
}

.divTableRow {
    width: 100%;
    display: table-row;
    }
    .divTableRow.arena {
        box-sizing: border-box;
}

.divTableCell {
    display: table-cell;
    border: 0px solid #fff;
    padding: 2px;
    }
    .divTableCell.arena {
      border: 0px solid #333;
      height:45px;
      width: 45px;
      padding:0px;
      background-image: contain;
      box-sizing: border-box;
      text-align: center;
      vertical-align: middle;
        }
        .divTableCell.arena:img {
            overflow: visible;
            }
        .divTableCell.arena:hover {
            background-color: #555;
            opacity: 0.6;
            }   



 .speech {    
    position: absolute;
    background: #646464;
    background-color: white;
    color:black;
    border-width: 1px;
    border-style: solid;
    border-radius:4px;
    padding: 6px 12px;
    font-family: arial;
    font-size: 12px;
    z-index: 50;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.5);
  }
  .speech:before,
  .speech:after {
    content : " ";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
    position:absolute;
    bottom:5px;
    left:-7px;
    z-index: 51;
  }

/* Style the tab */
div.tabmenu {
    transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    -moz-transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
    -webkit-transition: height 1s, width 1s, padding 1s, visibility 1s, opacity 2s ease-in;
	width:auto;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    color: black;
}

    /* Style the buttons inside the tab */
    div.tabmenu button {
        background-color: inherit;
        float: left;
        border: 1px transparent;
        outline: none;
        cursor: url(img/ffhand.png), auto;
        padding: 14px 14px;
        color: black;
        font-family: Consolas;

    }

    /* Change background color of buttons on hover */
    div.tabmenu button:hover {
        background-color: #ddd;
        color: black;
    }

    /* Create an active/current tablink class */
    div.tabmenu button.active {
        background-color: #ccc;
        color: black;
    }

div.tablinks {
    color: black;
}

.sublinks {

}

/* Change background color of buttons on hover */
.sublinks:hover {
    background-color: #ddd;
    color: white;
}

/* Create an active/current tablink class */
.sublinks.active {
    background-color: #ccc;
    color: white;
}


/* Style the tab content */
.tabcontent {
    display: none; /* inline-block; */ 
    /*padding: 6px 12px;*/
    border: 0px solid #ccc;
    width: 100%;
    height: auto;
    font-size: 10pt;
    text-align: left;
    color:white;
    overflow: hidden;
    /* border-top: none;  */
}
    .tabcontent.arena {
        width:90%;
        margin:auto;
        overflow: visible;

    }

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.fade {
   opacity: 1;
   transition: opacity 2s ease-in-out;
   -moz-transition: opacity 2s ease-in-out;
   -webkit-transition: opacity 2s ease-in-out;
   }

