/*************************************************
Lineage][ Manor Tool
by Ithil on Lineage2 Gigarent
ithil.l2 [at] gmail [dot] com

Use this wherever you want, but please keep
this comment at the top of this file.
*************************************************/

html, body {
    margin: 0;
    padding: 0;
}
body {
    background-color: #000;
    color: #FFF;
    font: 1em Verdana, sans-serif;
    margin: 1em;
}
h1, h2, h3, h4 {
    margin: 0.25em 0;
    padding: 0;
}
h1 { font-size: 2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.1em; margin:2em 0 1em; }
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*=== nav ===*/
#nav {
    margin: 0 0 1em;
}
#nav li {
    display: inline-block;
}
#nav a:link, #nav a:visited, #nav a:focus, #nav a:hover, #nav a:active {
    border: 1px solid #09F;
    color: #09F;
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
#nav a:focus, #nav a:hover, #nav a:active {
    background-color: #09F;
    color: #000;
}
/*=== /end nav ===*/

/*=== form ===*/
fieldset {
    border: 1px solid #333;
    margin: 0;
    padding: 1em;
}
legend {
    padding: 0 10px;
}
fieldset div {
    display: inline-block;
    margin: 1em;
}
label {
    padding: 0 5px 0 0;
}
select, input {
    font-size: 1em;
}
input[type=number] {
    width: 5em;
}
input[type=button] {
    
}
/*=== /end form ===*/

.content {
    margin: 1em 0 0;
}
.el {
    margin: 0 0 1em;
}
.el > div {
    display: inline-block;
    margin:0.5em 0 0;
}
.close {
    border-bottom:1px solid #333;
    border-left:1px solid #333;
    cursor: pointer;
    display: block;
    float: right;
    font-size: 1em;
}
.close:after {
    content: 'X';
    font-weight: bold;
}
span[data-calc] {
    color: #09F;
    cursor: pointer;
}

/*=== definition list ===*/
dl {
    margin: 0 0 1em;
    width: 400px;
}
dt {
    color: #CCC;
    float: left;
    font-style: italic;
    margin: 0;
    padding: 1%;
    width: 38%;
}
dd {
    border-color: #333;
    border-style: solid solid solid;
    border-width: 0 1px 1px;
    margin: 0;
    padding: 1% 1% 1% 40%;
    width: 59%;
}
dd:first-of-type {
    border-width: 1px;
    font-variant: small-caps;
    font-weight: bold;
    letter-spacing: 1px;
}
dd[data-seed], dd[data-mat], dd[data-city], dd[data-lvl] {
    color: #09F;
    cursor: pointer;
}
dd[data-seed]:hover, dd[data-mat]:hover, dd[data-city]:hover, dd[data-lvl]:hover {
    background-color: #333;
}
/*=== /end definition list ===*/

/*=== calc ===*/
.el form {
    display: inline-block;
    vertical-align:top;
}
.el fieldset {
    display:inline-block;
    margin:-0.1em 0 0 1em;
    vertical-align:top;
    width: 14em;
}
.el legend {
    padding: 0;
}
.el label {
    display:block;
    line-height:1.6em;
    margin:0 0 1em;
    padding:0;
}
.el label:after {
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
.el input[type=number], .el select {
    float: right;
}
.el input[type=button] {
    width: 100%;
}
.el fieldset dl {
    font-size:1em;
    margin:1em 0 0;
    width:100%;
}
.el fieldset dt {
/*    border-top:1px solid #333333;*/
    display:inline-block;
    float: none;
/*    height:1.3em;
    overflow:hidden;*/
    vertical-align:top;
    width:48%;
}
.el fieldset dd {
/*    border-width:0 0 1px;*/
    border-width: 0;
    display:inline-block;
    font-variant:normal;
    font-weight:normal;
/*    height:1.3em;*/
    letter-spacing:0;
/*    overflow:hidden;*/
    padding:1% 1% 1% 0;
    position: relative;
    text-align: right;
    vertical-align:bottom;
    width:49%;
}
.el fieldset dd:after {
    border-bottom: 1px solid #333;
    bottom: 0;
    content: '';
    display: block;
    left: -100%;
    position: absolute;
    width: 200%;
}
/*=== /end calc ===*/

/*=== table ===*/
table {
    background-color: #000;
    border-collapse: collapse;
    color: #CCC;
    text-align: left;
}
tr:nth-child(odd) {
    background-color: #222;
}
tr:hover {
    background-color: #333;
    color: #09F;
}
tr:first-child, tr:first-child:hover {
    background-color: #CCC;
}
th {
    border-left: 1px solid #CCC;
    color: #000;
    font-weight: bold;
}
td {
    border: 1px solid #333;
}
th, td {
    padding: 0.3em 2em;
}
#tab2 table:nth-of-type(2) td:nth-child(3),
#tab2 table:nth-of-type(2) td:nth-child(4),
#tab3 table td:nth-last-child(3),
#tab3 table td:nth-last-child(2),
#tab3 table td:nth-last-child(1)
{
    text-align: right;
}
/*=== /end table ===*/

noscript {
    display: block;
    margin: 100px auto;
    text-align: center;
}
noscript h2 {
    color: #F00;
}