* {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: verdana, arial;
    font-size: 10px;
    color: #ddd;
    padding: 10px;
    margin: 0 auto;
    /*height: 100%;*/
    background: #222222; /* Old browsers */
    /*background: -moz-linear-gradient(top, #222222 0%, #333333 42%, #0a0105 100%); *//* FF3.6+ */
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #222222), color-stop(42%, #333333), color-stop(100%, #0a0105)); *//* Chrome,Safari4+ */
    /*background: -webkit-linear-gradient(top, #222222 0%, #333333 42%, #0a0105 100%); *//* Chrome10+,Safari5.1+ */
    /*background: -o-linear-gradient(top, #222222 0%, #333333 42%, #0a0105 100%); *//* Opera 11.10+ */
    /*background: -ms-linear-gradient(top, #222222 0%, #333333 42%, #0a0105 100%); *//* IE10+ */
    /*background: linear-gradient(to bottom, #222222 0%, #333333 42%, #0a0105 100%); *//* W3C */
    /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#0a0105', GradientType=0); *//* IE6-9 */
    cursor:url(/gfx/my-cursor.png), auto !important;
}

h2 a {
    color: #fff;
}

#raster {
    width: 800px;
    height: 600px;
    position: relative;
}

.origin {
    background: url("../gfx/origin.png") no-repeat;
    position: relative;
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
    cursor:url(/gfx/my-cursor.png), auto !important;
}
.origin:hover {
    opacity: 0.9;
    background-color: #fff;
}


button {
    width: 50px;
    height: 50px;
    background: #333;
    border: 1px solid #666;
    margin: 0;
    padding: 0;
    float: left;
    cursor:url(/gfx/my-cursor.png), auto;
}

button:hover {
    background: #eee;
    opacity: 0.2;
}

select#startpointx,
select#startpointy,
select#levels,
select#themes {
    width: 150px;
}

input#import,
input#savetostorage,
input#loadfromstorage,
input#generate,
input#play,
input#levelname,
input#author,
input#nightmoderadius,
input#sendmail,
input#reset,
textarea {
    width: 150px;
    background: #222;
    border: 1px solid #666;
    color: #ddd;
    padding: 10px;
}
input#play{
    background: url(../gfx/player-small.png) no-repeat 10px 7px #222;
}

input#sendmail {
    background: url(../gfx/apple-mail-icon.png) no-repeat 10px 10px #222;
}

textarea {
    height: 100px;
    width: 285px;
}

img.thumb {
    width: 30px;
    height: 30px;
    cursor:url(/gfx/my-cursor.png), auto !important;
    opacity: 0.7;
}

img.thumb:hover {
    opacity: 1;
}

p {
    margin: 10px 0;
}

#history {
    list-style-type: none;
    width: 150px;
    height: 600px;
    display: block;
    overflow: auto;
}

#history .item {
    padding: 4px
}


#history .item:hover {
    background-color: #444;
}


.tilelist {
    width: 60px;
}
.tilelist:hover {
    background-color: #111;
}

.tilelist label {
    padding: 4px;
    display: inline-flex;
}

input[type=radio]:checked + label {
    background-color: #060;
}


.lightbox {
    display:none;
}