/*
 *  Main Style Sheet for Wasteland 1 Character Editor
 *  2014 Jesse Pearce
*/

@font-face{
    font-family: c64;
    src: url('C64_Pro_Mono-STYLE.woff');   
}

body{
    background-color: #b3aea7;
    color: #33B100;
    font-family: c64;


    
    -webkit-user-select:none;
    -moz-user-select:none;
    -moz-appearance:none;
    -ms-user-select:none;
    -o-user-select:none;
    user-select:none;

    cursor: url('cursor.cur'), auto;
}

img{
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

div{
    cursor: url('cursor.cur'), auto;
    font-size: 12px;
    
    
}

#mainBox{
    background-image: url('scanline2.png');
    background-repeat: repeat;
    
    border: 6px inset;
    border-radius: 25px;
    border-color: #cdc7bf;
    
    width: 1425px;
    height: 800px;

    position: absolute;
    margin: -400px 0 0 -712px;
    top: 50%;
    left: 50%; 
    cursor: url('cursor.cur'), auto;
    
    text-align: center;
}

#borderBox{
    z-index:5;
    border: 6px inset;
    border-radius: 25px;
    border-color: #cdc7bf;
    
    width: 1425px;
    height: 800px;

    position: absolute;
    margin: -400px 0 0 -712px;
    top: 50%;
    left: 50%;
    
    cursor: url('cursor.cur'), auto;
    pointer-events: none;
}



#editorBox{    
    
    position: absolute;
    top: 90px;
    width: 1425px;
    height: 700px;
    overflow: auto;    
    cursor: url('cursor.cur'), auto;
    
    text-align: left;
}



.charColumn{
    position: absolute;
    display: block;
    
    font-family: c64;
    color: #33B100;

    background-color: rgba(0,0,0,0);
    
    padding: 4px;
    border: 3px solid;
    border-color: #117700;
    border-top:none;
    
    top: 0px;
    width: 180px;
    height: 3605px;

    cursor: url('cursor.cur'), auto;
}

.charName{
    position: absolute;
    display: block;
    
    font-family: c64;
    color: #33B100;

    padding: 4px;
    border: 3px solid;
    border-color: #117700;
    border-bottom:none;
    
    top: 50px;
    width: 180px;
    height: 30px;

    cursor: url('cursor.cur'), auto;
}

.button{
    color: #000;
    background: #33B100;
    padding: 3px;
    border: 3px solid;
    border-color: #33B100;
    border-bottom:none;
}

#saveFileBtn{
    margin-top: 10px;
    display: inline-block;
}



input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number] {
    -moz-appearance:textfield;
}

.numInput{
    font-family: c64;
    color: #33B100;
    font-size: 12px;

    background-color: rgba(0,0,0,0);

    padding: 4px;
    border: 3px solid;
    border-color: #117700;

    width: 40px;
    
    cursor: url('cursor.cur'), auto;
    
}

.moneyInput{
    font-family: c64;
    color: #33B100;
    font-size: 12px;

    background-color: rgba(0,0,0,0);

    padding: 4px;
    border: 3px solid;
    border-color: #117700;

    width: 75px;
    
    cursor: url('cursor.cur'), auto;
}

.textInput{
    font-family: c64;
    color: #33B100;
    font-size: 12px;

    background-color: rgba(0,0,0,0);

    padding: 4px;
    border: 3px solid;
    border-color: #117700;
 
    width: 166px;
    
    cursor: url('cursor.cur'), auto;
}

:disabled {
    background-color: #555;
    color: #000;
}

select{
    -moz-appearance:window;
    
    font-family: c64;
    color: #33B100;
    font-size: 12px;

    background-color: #000F00;
    background-image: url('scanline2.png');
    background-repeat: repeat;
    
    padding: 4px;
    border: 3px solid;
    border-color: #117700;
 
    width: 180px;
    
    cursor: url('cursor.cur'), auto;
    
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';

}

select::-ms-expand {
    display: none;
}

    @-moz-document url-prefix() {
        .numInput {
            margin-top: 3px;
        }
        select{
            margin-top: 3px;
            -moz-appearance: none;
            text-indent: 0.01px;
            text-overflow: '';
        }
/*        .select-moz{
            background-image: url('blank.png');
            background-repeat: no-repeat;
            background-position: right center;
            padding-right: 20px;    
        }*/
}





/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */

.jspContainer
{
	overflow: hidden;
	position: relative;
}

.jspPane
{
	position: absolute;
}

.jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 12px;
	height: 100%;
	background: rgba(0,0,0,0);
}

.jspHorizontalBar
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 12px;
	background: rgba(0,0,0,0);
}

.jspCap
{
	display: none;
}

.jspHorizontalBar .jspCap
{
	float: left;
}

.jspTrack
{
    background-color: rgba(0,0,0,0);
    left: -15px;
    width: 12px;
    height: 400px;
    
    padding: 0x;
    border: 3px solid;
    border-top: none;
    border-color: #117700;
    
	position: relative;
}

.jspDrag
{
	background: #117700;
	position: relative;
	top: 0;
	left: 0;
	cursor: url('cursor.cur'), auto;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

.jspArrow
{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
	padding: 0;
	margin: 0;
}

.jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

.jspVerticalBar .jspArrow
{
	height: 16px;
}

.jspHorizontalBar .jspArrow
{
	width: 16px;
	float: left;
	height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
	outline: none;
}

.jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
	margin: 0 -3px 0 0;
}