@font-face {
    font-family: 'cultist';
    src: url('ec_cultist.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    background: #000000;
    margin: 0px;
    font-family: 'cultist';
    font-size: 24px;
}

img#load {
    position: absolute;
    display: block;
    top: 296px;
    margin: 0 auto;
    left: 0; right: 0;
    z-index: 99;
	opacity: 0;
	pointer-events: none;
}

div#everything {
    width: 1024px;
    height: 768px;
    margin: 10px auto auto auto;
    background: url("general/bg.gif");
    
    overflow: auto;
}

div.label {
    position: relative;
    top: 10px;
    left: 10px;
    width: 213px;
    height: 55px;
    background: url("general/button.png") no-repeat;
    color: #FF9900;
    font-family: 'cultist';
    font-size: 32pt;
    text-align: center;
    padding: 6px 5px 0px 0px;
    float: left;
}

div#mainContainer {
    position: relative;
    top: 24px;
    height: 616px;
    left: 24px;
    width: 976px;
    
    overflow-x: hidden;
    overflow-y: auto;
}

div.contentPiece {
    width: 976px;
    margin: 0px auto;
    overflow: hidden;
}

div.contentPiece[data-view="main"] {
    text-align: center;
}
div.contentPiece[data-view="main"] > img {
    border: none;
    position: relative;
    top: -69px;
    pointer-events: none;
}
div.contentPiece[data-view="main"] > input[type="button"] {
    background: url("general/tutorialbutton.png") no-repeat;
    border: none;
    position: relative;
    right: -446px;
    width: 83px;
    height: 69px;
}

div.tutList {
    position: relative;
    top: 100px;
    left: 0px;
    width: 230px;
    height: 485px;
    overflow-x: hidden;
    overflow-y: auto;
    float: left;
}
div.tutlist > input[type="button"] {
    background: url("general/button-small.png") no-repeat;
    width: 220px;
    height: 50px;
    font-family: 'cultist';
    font-size: 24pt;
    color: #FF9900;
    border: none;
    padding: 0px 8px 3px 0px;
}
div.infoPane {
    background: url("tutorial/ztemplate.png") no-repeat;
    position: relative;
    top: 5px;
    left: 240px;
    width: 735px;
    height: 575px;
} 
div.infoPane > img {
	position: relative;
	width: 685px;
	height: 169px;
	top: -579px;
	left: 21px;
}
div.infoPane > input[type="button"][data-fn="prev"] {
    background: url("general/directleft.png") no-repeat;
    position: relative;
    width: 67px;
    height: 65px;
    border: none;
    padding: 0px 8px 3px 0px;
    top: 493px;
    left: 258px;
}
div.infoPane > div.pagedisp {
    position: relative;
    font-family: 'cultist';
    font-size: 30pt;
    color: #FF9900;
    top: 20px;
    left: 548px;
    text-align: center;
    width: 100px;
}
div.infoPane > input[type="button"][data-fn="next"] {
    background: url("general/directright.png") no-repeat;
    position: relative;
    width: 69px;
    height: 65px;
    border: none;
    padding: 0px 8px 3px 0px;
    top: -32px;
    left: 639px;
}

div.contentPiece[data-view="skl"] > img {
    width: 964px;
}
img.statWindow {
    position: relative;
    top: -48px;
    left: -14px;
}
img.equipSlot {
    position: relative;
}
div.equipMenu {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    width: 309px;
    height: 323px;
    top: -77px;
    left: -8px;
}
img.inventory {
    position: relative;
    left: 102px;
}

input[type="button"][data-fn="back"] {
    position: relative;
    left: -50px;
    width: 101px;
    margin: 7px 5px;
    height: 35px;
    font-family: 'cultist';
    font-size: 32pt;
    background: url("general/buttonBack.png") no-repeat;
    color: #FF9900;
    border: none;
    padding: 0px 8px 0px 0px;
    z-index: 100;
}

div.menu {
    position: relative;
    top: 10px;
    left: 98px;
    width: 660px;
    height: 590px;
    overflow-x: hidden;
    overflow-y: auto;
    float: left;
}

div.menu > input[type="button"] {
    background: url("general/menuBtn.png");
    border: none;
    width: 636px;
    height: 85px;
    margin-bottom: 3px;
}

div.menu > img { 
	margin-bottom: 7px;
}

div.dyn {
    position: relative;
    top: -55px;
    left: -3px;
    width: 965px;
    height: 590px;
    overflow-x: hidden;
    float: left;
    overflow-y: hidden;
}

div#footerContainer {
    position: relative;
    height: 128px;
    left: 0px;
    width: 100%;
}

div#footer {
    margin: auto;
    padding-left: 52px;
}

div#footer > input[type="button"] {
    width: 220px;
    margin: 7px 5px;
    height: 55px;
    font-family: 'cultist';
    font-size: 32pt;
    background: url("general/button.png");
    color: #FF9900;
    border: none;
    padding: 0px 8px 3px 0px;
}

div.links {
    position: relative;
    float: right;
    width: 275px;
    top: -379px;
    left: 2px;
    height: 364px;
    overflow-x: hidden;
    overflow-y: auto;
}

div.links > input[type="button"] {
    border: none;
    font-family: 'cultist';
    font-size: 24pt;
    padding: 0px 8px 3px 0px;
    color: #FF9900;
    width: 260px;
    height: 55px;
}

div.links > input[data-type="mpd"] {
    background: url("general/sidelinkcreature.png") no-repeat;
}

div.links > input[data-type="obj"] {
    background: url("general/sidelinkitem.png") no-repeat;
}

div.links > input[data-type="smc"] {
    background: url("general/sidelinkskill.png") no-repeat;
}

input[type="button"]:focus {
    outline: none;
}

div#footer > input.select[type="button"] {
    background: url("general/buttons.png");
    color: white;
}

div#footer > input[type="button"][data-view=""] {
    background: url("general/buttond.png");
}

area[data-act="f"] {
    cursor: default;
}

/* Scrollbar Stuffs */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #F90;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px #F90;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #2B1A00;
}

/* OLD SHIT BECAUSE BROKEN WEBKIT SCROLLBAR

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    border-width: 6px;
    border-image: url("general/track.png") 6 6 6 6 stretch;
}
::-webkit-scrollbar-thumb {
    border-width: 6px;
    border-image: url("general/thumb.png") 6 6 6 6 stretch;
}
::-webkit-scrollbar-button {
    border-width: 6px;
    border-image: url("general/thumb.png") 6 6 6 6 stretch;
}
::-webkit-scrollbar-corner {
    background: #FF9800;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

*/