/* gurps.css */

:link {
    font-family: serif;
}
:visited {
    font-family: serif;
}
/*
:active {
    font-family: serif;
}
*/

/****************************************************************************/
/* top menu */
/*
fg rgb()
bg rgb()
*/
table.menu {
    background-color: rgb(200,200,200);
    /* border-top: 3px solid rgb(255, 204, 0); */
    /* border-bottom: 3px solid rgb(255, 204, 0); */
}
table.menu td {
    border-top: 1px solid silver;
    border-left: 1px solid silver;
    border-bottom: 2px solid black;
    border-right: 2px solid black;
    margin:0;
    padding-top: 0em;
    padding-left: 0.2em;
    padding-right: 0.2em;
    padding-bottom: 0px;
    font-size: 80%;
    white-space: nowrap;
    /* background-color: rgb(200,200,200); */
}
table.menuright td {
    padding-right: 4em;
}
table.menu td:hover {
    border-top: 2px solid black;
    border-left: 2px solid black;
    border-bottom: 1px solid silver;
    border-right: 1px solid silver;
}
table.menu td.menuoptional {
    border: 0;
    margin: 0;
    padding: 0;
}
td.menuoptional:hover {
    border: 0;
    margin: 0;
    padding: 0;
}
a.menu {
    color:black;
    text-decoration: none;
    font-weight: bold;
}
/****************************************************************************/
/* http://www.howtocreate.co.uk/tutorials/testMenu.html */
ul.makeMenu, ul.makeMenu ul {
    /* width: 8em; */                     /* sets the size of the menu blocks */
    border: 0px solid rgb(255, 204, 0);   /* puts a border around the menu blocks */
    background-color: rgb(200,200,200);   /* - a bg-color MUST be included for IE to work properly! */
    padding-left: 0em;                    /* 0 stops the usual indent from ul */
    padding-right: 0em;
    cursor: default;                      /* gives an arrow cursor */
    margin-top: 0em;
    margin-left: 0.3em;
    margin-right: 0.3em;
    margin-bottom: 0px;
}
ul.makeMenu li {
    list-style-type: none;              /* removes the bullet points */
    margin: 0px;                        /* Opera 7 puts large spacings between li elements */
    position: relative;                 /* makes the menu blocks be positioned relative to their parent menu item
                                           the lack of offset makes these appear normal, but it will make a difference
                                           to the absolutely positioned child blocks */
    color: #000000;
    font-weight: bold;
    margin-left: 0.3em;
    margin-right: 0.3em;
    /* border-bottom: 1px solid black; */
}
/* drop-down */
ul.makeMenu li > ul {                   /* using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
    display: none;                      /* hides child menu blocks - one of the most important declarations */
    position: absolute;                 /* make child blocks hover without leaving space for them */
    top: 1.2em;                         /* position slightly lower than the parent menu item */
    left: 0.1em;                        /* this must not be more than the width of the parent block, or the mouse will
                                           have to move off the element to move between blocks, and the menu will close */
    border: 1px solid black;   /* puts a border around the menu blocks */
    background-color: rgb(200,200,200);
    padding-bottom: 2px;
}
ul.makeMenu li:hover, ul.makeMenu li.CSStoHighlight {
    color: #000000;                     /* makes the active menu item text black */
    background-color: rgb(200,200,200);
    margin-left: 0.3em;
    margin-right: 0.3em;
    /* border-bottom: 1px solid white; */
}
ul.makeMenu ul.CSStoShow {              /* must not be combined with the next rule or IE gets confused */
  display: block;                       /* specially to go with the className changes in the behaviour file */
  border: 1px solid black;              /* puts a border around the menu blocks */
  background-color: rgb(127,127,127);
  padding-bottom: 2px;
}
ul.makeMenu li:hover > ul {             /* one of the most important declarations - the browser must detect hovering over arbitrary elements
                                           the > targets only the child ul, not any child uls of that child ul */
  display: block;                       /* makes the child block visible - one of the most important declarations */
}
/* and some link styles */
ul.makeMenu li a { color: #fff; display: block; width: 100%; text-decoration: none; }
ul.makeMenu li a:hover, ul.makeMenu li a.CSStoHighLink { color: #000; }
ul.makeMenu li:hover > a { color: black } /* supports links in branch headings - should not be display: block; */



/* common */

.large {
    font-size:200%;
    font-weight:bold;
}
.hand {
    font-family: sans-serif; /*, Arial, Monotype Corsiva, "Jennifer's Hand Writing", Journal, Kristen ITC, Viner Hand ITC, Arial, Pristina, Viner Hand ITC, serif; */
    text-align:center;
    color: #603000;  /* #804000;  #8B4513; blue; */
    font-weight:normal;
}
.frame {
    border: 1px solid black;
    /* width: 100%; */
}
.datenote {
    COLOR: #333333;
    FONT-WEIGHT: normal
}
.number {
    text-align: right;
}
.left {
    text-align:left;
}
.indent {
    padding-left: 1em;
}
.icon {
    vertical-align: middle;
}

body {
    BACKGROUND: #EFE6BF;
    BACKGROUND: #FFFFFF;
    COLOR: #000000;
    /* FONT-FAMILY: "Times New Roman", "Arial", "Papyrus", "Viner Hand ITC", "Old English Text MT", Frankenstein, "Lucida Blackletter", Faustus, "Manuscript", Algerian, "Colonna MT", Georgia, Palatino, "New York", Times, serif;*/
}
div.header {
    border-top: 0px solid black;
    border-bottom: 0px solid black;
    /* font-size: 80%; */
    background-color: #eeeeee;
    margin-top: 0;
    margin-bottom: 0.1em;
}
div.footer {
    border-top: 1px solid black;
    font-size: 80%;
    background-color: #eeeeee;
    margin-top: 1em;
}
div.section {
    border-top: 1px solid black;
    font-size: 110%;
    font-weight: normal;
    background-color: #eeeeee;
}
div.info {
    background-color: #eeeeee;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}
span.fineprint {
    font-size: 70%;
}
.error {
    color: red;
}
div.error {
    background-color: #FFCCCC;
    color: black;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}



/****************************************************************************/
figuretable {
    border: 1px solid #888888;
}
figuretable td {
    text-align: center;

}

/****************************************************************************/
HR {
    BORDER-BOTTOM: #ddffff 1px solid;
    BORDER-LEFT: #ddffff 1px solid;
    BORDER-RIGHT: #ddffff 1px solid;
    BORDER-TOP: #ddffff 1px solid;
    COLOR: #ddffff
}
A.bold {
	FONT-WEIGHT: bold
}
A.footnote {
    FONT-SIZE: 70%;
    MARGIN-BOTTOM: 1px;
    MARGIN-LEFT: 15px;
    MARGIN-TOP: 1px;
    PADDING-BOTTOM: 1px
}
a.title {
    color: black;
}
a.btn {
    margin-top: 0;
    padding-left: 0.7em;
    padding-right: 0.7em;
    padding-top: 0px;
    padding-bottom: 0px;
    background: #D4D0C8;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #808080;
    border-right: 1px solid #808080;
    color: #000000;
    text-align: center;
    text-decoration: none;
    FONT-SIZE: 100%;
}
span.btn {
    margin: 0px;
    padding-top:    1px;
    padding-left:   0px;
    padding-bottom: 1px;
    padding-right:  0px;
    border-top:    1px solid #ffffff;
    border-left:   1px solid #ffffff;
    border-bottom: 1px solid #000000;
    border-right:  1px solid #000000;
}
/*
UL {
    MARGIN-BOTTOM: 0;
    MARGIN-TOP: 0;
}
LI {
    MARGIN-BOTTOM: 0px;
    MARGIN-TOP: 0px
}
*/

TR {
    VERTICAL-ALIGN: top;
}
TH {
    background-color:#DDDDDD;
}
TD {
}


TD.small {
    FONT-SIZE: 80%;
}

TD.inputcell {
    PADDING-TOP: 0;
    PADDING-BOTTOM: 0;
    BORDER-BOTTOM: black 0px solid;
    BORDER-TOP: black 0px solid;
    BORDER-LEFT: black 0px solid;
    BORDER-RIGHT: black 0px solid;
}


/****************************************************************************/
table.header {
    border-bottom: 1px solid black;
    background-color: #eeeeee;
}
table.header td {
    vertical-align: top;
    padding-left:1em;
}


table.referencetable {
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
}
th.referencetable, table.referencetable th {
    background-color: #eeeeee;
    padding-left:0.25em;
    padding-right:0.25em;
    border-top: 1px solid silver;
    border-left: 1px solid silver;
}
td.referencetable, table.referencetable td {
    padding-left:0.25em;
    padding-right:0.25em;
    border-top: 1px solid silver;
    border-left: 1px solid silver;
}
td.plain {
    border:0px;
}
tr.even, td.odd {
    background-color: #EEEEFF;
}
tr.odd, td.odd {
    background-color: #EEFFEE;
}
table.rowtable {
}
table.rowtable th {
    padding-left: 0.5em;
    padding-right: 0.5em;
}
table.rowtable td {
    border-top: 1px solid #eeeeee;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

th.rowHeader {
    text-align: right;
    padding-right: 0.5em;
}


/****************************************************************************/
table.characterlist {
}

table.characterlist th {
    vertical-align: bottom;
    padding-left: 0.25em;
    padding-right: 0.25em;
    font-weight: bold;
}
table.characterlist td {
    padding-left: 0.25em;
    padding-right: 0.25em;
}

td.icon {
    vertical-align:middle;
}

/****************************************************************************/
/* campagnedit.css */
table.campaignlist {
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    border-top: 1px solid silver;
    border-bottom: 1px solid silver;
}

table.campaignlist th {
    vertical-align: bottom;
    padding-left: 0.25em;
    padding-right: 0.25em;
    font-weight: bold;
    text-align:left;
    /* border-bottom: 1px solid silver; */
}
table.campaignlist th:first-child {
}
table.campaignlist td {
    padding-left: 0.25em;
    vertical-align: top;
    border-left: 1px solid white;
    border-top: 1px solid white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
}
table.campaignlist td:first-child:hover {
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-right: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
}
table.campaignlist td:first-child {
}
table.campaignlist div.section {
}


/* after campaignlist for precedence */
table.advantageedittable {
}
table.advantageedittable th, th.advantageedittable {
    font-weight: bold;
    text-align: right;
    padding-bottom: 0.1em;
    vertical-align: middle;
}
table.advantageedittable td {
    padding-bottom: 0.1em;
}



a.plain {
    text-decoration: none;
    /*
    border-left: 1px solid silver;
    border-top: 1px solid silver;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    */
}
a.plain:link {
    color: black;
}
a.plain:visited {
    color: black;
}
a.plain:active {
    color: black;
}
a.plain:hover {
    background: #eeeeee;
    /*
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-bottom: 1px solid silver;
    border-right: 1px solid silver;
    */
}
div.groups {
    padding-left: 1.0em;
}
div.groups a {
    text-decoration: none;
}
div.groups a:link {
    color: black;
}
div.groups a:visited {
    color: black;
}
div.groups a:active {
    color: black;
}
div.groups a:hover {
    background: #eeeeee;
}


img.plusminus {
    padding-left: 0em;
    padding-right: 0.5em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}


/****************************************************************************/
table.attributes {
    vertical-align: middle;
}
table.attributes th {
    background: white;
    text-align: right;
}
table.attributes th.normal {
    font-weight: normal;
}
table.attributes td {
    vertical-align: middle;
}
table.attributes td.value {
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}
table.attributes td.top {
    border-top: 1px solid black;
}


/****************************************************************************/
table.advantages {
}
table.advantages tr.normal {
}
table.advantages tr.highlight {
    background-color:#DDDDDD;
}
table.advantages th {
    text-align:left;
    padding-left:1px;
    padding-right:0.25em;
    font-style: italic;
}
table.advantages th:first-child {
    padding-left:1px;
    padding-right:1px;
    width: 1px;
    vertical-align:middle;
}
table.advantages th.number {
    text-align:right;
}
table.advantages td {
    padding-left:1px;
    padding-right:0.25em;
}
table.advantages td:first-child {
    padding-left:1px;
    padding-right:1px;
    width: 1px;
}


/****************************************************************************/
table.encumbrance {
    /* font-size:90%; */
}
table.encumbrance td.dim {
    color:#888888;
}
table.encumbrance tr.highlight {
    background-color:#DDDDDD;
}
table.encumbrance td.highlight {
    background-color:#DDDDDD;
}
table.encumbrance th {
    padding-left:0.25em;
    padding-right:0.25em;
    font-style: italic;
}
table.encumbrance th:first-child {
    padding-left:1px;
    padding-right:1px;
    width: 1px;
    vertical-align:middle;
}
table.encumbrance td {
    padding-left:0.25em;
    padding-right:0.25em;
}
table.encumbrance td:first-child {
    padding-left:1px;
    padding-right:1px;
    width: 1px;
    vertical-align:middle;
}
table.encumbrance img {
    padding-left:0.25em;
}


/****************************************************************************/
.equipment {
    /* font-family: serif, Arial, Kristen ITC, Pristina, Viner Hand ITC, serif; */
}
table.equipment {
}
table.equipment th {
    /*font-family: sans-serif;*/
    font-style: italic;
    padding-left: 4px;
    padding-right: 4px;
    vertical-align: bottom;
    background-color: #DDDDDD;
    border-left: 1px solid silver;
}
table.equipment th:first-child {
    padding-left:1px;
    padding-right:1px;
    width: 1px;
    vertical-align:middle;
    border-left: 0px solid silver;
}
table.equipment td {
    /* font-size: 90%; */
    padding-left: 0.25em;
    padding-right:0.25em;
    border-left: 1px solid silver;
}
table.equipment td:first-child {
    padding-left:1px;
    padding-right:1px;
    /* width: 1px; */
    vertical-align:middle;
    border-left: 0px solid silver;
}
table.equipment td.equipmentheader {
    background-color:#DDDDDD;
    font-weight: bold;
    font-style: italic;
}
table.equipment td.equipmentsubheader {
    /* background-color:#EEEEEE; */
    /* border-top: 1px solid black; */
}

table.equipment td.nested {
    /* font-size:60%; */
    /* color: #444444; */
}

table.equipmentchoices div {
  /* font-size:80%; */
}



/****************************************************************************/
table.attacks  {
}
table.attacks th {
    padding-left: 0.25em;
    padding-right: 0.25em;
    font-style: italic;
}
table.attacks th:first-child {
    vertical-align: middle;
    padding-left: 0;
    padding-right: 0;
}
table.attacks td {
    padding-left: 0.25em;
    padding-right: 0.25em;
    border-bottom: 1px solid #eeeeee;
}



/****************************************************************************/
table.armor  {
    /* font-size:90%; */
}
table.armor th {
    padding-left: 0.25em;
    padding-right: 0.25em;
    text-align: center;
    font-style: italic;
}
table.armor th:first-child {
    width: 1px;
    vertical-align: middle;
    padding-left: 0;
    padding-right: 0;
}
table.armor th.left {
    text-align: left;
}
table.armor td {
    padding-left: 0.25em;
    padding-right: 0.25em;
    text-align: center;
    white-space: nowrap;
}
table.armor td:first-child {
}
table.armor td.lined {
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
}
table.armor td.left {
    text-align: left;
}
table.armor td.number {
    text-align: right;
}



/****************************************************************************/
table.skills  {
}
table.skills td {
    padding-left: 0.25em;
    padding-right: 0.25em;
}
table.skills td:first-child {
    vertical-align: middle;
    padding-left: 0;
    padding-right: 0;
}
table.skills td.skillheader {
    background-color: #DDDDDD;
    font-weight: bold;
    font-style: italic;
}
table.skills td.nested {
    padding-left: 1em;
}
table.skills td.notes {
    /* font-size: 90%; */
    text-align: left;
}
table.skills div.draggable {
    padding-left: 1em;
}

/**********************************/
table.campaignform {
    /* border: 1px solid black; */
}

table.campaignform th {
    vertical-align: middle;
}
table.campaignform td {
    vertical-align: middle;
    border: 0px;
}


/****************************************************************************/
FORM {
    margin-top : 0;
    margin-bottom : 0;
}
INPUT.button {
    margin: 2px;
    PADDING-TOP: 1px;
    PADDING-LEFT: 1px;
    PADDING-BOTTOM: 1px;
    PADDING-RIGHT: 1px;
    BACKGROUND: #888888;
    BORDER-BOTTOM: #000000 2px solid;
    BORDER-LEFT: #ffffff 2px solid;
    BORDER-RIGHT: #000000 2px solid;
    BORDER-TOP: #ffffff 2px solid;
    COLOR: #000000;
    FONT-SIZE: 7pt;
    TEXT-ALIGN: left
}
INPUT.rightalign {
	TEXT-ALIGN: right
}
INPUT.readonly {
    BACKGROUND: transparent;
    BORDER: 1px solid transparent;
}

/****************************************************************************/
/* drag -n- drop */

div.draggable {
    border: 1px solid white;
    /* padding-left: 2em; */
    /* padding-top: 1px; */
    /* padding-bottom: 1px; */
    position:relative;
}

table.equipmentchoices div.draggable {
    border-left: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}
table.equipmentchoices div.draggable:hover {
    border-left: 1px solid #888888;
    border-top: 1px solid #888888;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    cursor: move;
}
/*
div.draggable:hover {
    border: 1px solid blue;
    cursor: move;
}
*/
div.target {
    border: 1px solid #eeeeee;
    /* position:relative; */
}

/*
div.wastarget:hover {
    border: 1px solid blue;
}
*/
div.shoppingHeader {
    background: #eeeeee;
    border-bottom: 1px solid black;
}

div.popUpMenu {
  position: relative;
  background: white;
  padding: 1em;
}
div.popup {
    position:relative;
    border: 1px solid #888888;
    background-color: #eeeeee;
}

/*********************************/

table.hptable {
    font-size: 7px;
}
table.hptable td.chkbox {
    font-size: 12px;
    text-align:left;
    font-family: monospace;
}
table.hptable td.deathchk {
    font-size: 12px;
    font-family: monospace;
    text-align:right;
    padding-left:0.5em;
}


a.hpattr {
    text-decoration: none;
    color: #603000;  /* see 'hand' */
    /* font-family: sans-serif, Purisa; */
}
a.hpattr:link {
    /* font-family: sans-serif; */
    color: #603000;  /* see hand */
}
a.hpattr:visited {
    /* font-family: sans-serif; */
    color: #603000;  /* see hand */
}
a.hpattr:active {
    /* font-family: sans-serif; */
    color: #603000;  /* see hand */
}
a.hptable {
    text-decoration: none;
    color: #603000;  /* see 'hand' */
    font-family: monospace;
}
a.hptable:link {
    color: #603000;  /* see hand */
}
a.hptable:visited {
    color: #603000;  /* see hand */
}
a.hptable:active {
    color: #603000;  /* see hand */
}
td.hand {
    font-family: sans-serif, Purisa;
}

a.header {
    text-decoration: none;
    color: black;
}
a.header:link {
    color: black;
}
a.header:visited {
    color: black;
}
a.header:active {
    color: black;
}

img.share {
    border: 1px solid #eeeeee;
}
img.editimg {
}
img.editimg:hover {
    cursor: pointer;
}
table.editform th {
    text-align:right;
}
th.button, td.button {
    background-color: #DDDDDD;
    border-left: 1px solid white;
    border-top: 1px solid white;
    border-right: 1px solid black;
    border-bottom: 1px solid black;    
}
th.button:hover, td.button:hover {
    background-color: #eeeeee;
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    cursor: pointer;  
}
td.hoverable {
    border-left: 1px solid #eeeeee;
    border-top: 1px solid #eeeeee;
    border-right: 1px solid #888888;
    border-bottom: 1px solid #888888;
}
td.hoverable:hover {
    border-left: 1px solid #888888;
    border-top: 1px solid #888888;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    cursor: pointer;
}

