body {
/*
    font-size: 0.8em;
*/
    font-family: Arial, Verdana, Tahoma;
    line-height: 1.5;
    color: black;
    background: #cccccc;
    margin: 3px;
    padding: 3px;
}

pre {
    font-family: Monospace, Courier, Serif, Arial, Verdana, Tahoma;
    line-height: 1.5;
    margin: 3px;
    padding: 3px;
}

/* default table */

table {
    border-collapse: collapse;
    border-style: none;
    border: none;
    margin: 12px;
    padding: 0px;
}

.w50 {
    width: 50%;
}

.w60 {
    width: 60%;
}

.w70 {
    width: 70%;
}

.w99 {
    width: 99%;
}

.small {
    font-size: 0.8em;
}

th, td {
    border: solid 1px #dddddd;
    padding: 3px;
    text-align: left;
    vertical-align: top;
}

th {
    font-weight: bold;
    text-align: center;
}

.num, .right {
    text-align: right;
}

.center {
    text-align: center;
}

.top {
    vertical-align: top;
}

.middle {
    vertical-align: middle;
}

.bottom {
    vertical-align: bottom;
}

code {
    font-family: Arial, Verdana, Tahoma;
    text-decoration: underline;
}







/* formating table with zero borders, paddings, etc */

table.zero, table.zero td, td.zero {
    margin: 0px;
    padding: 0px;
    border: none;
}

.clear {
    clear: both;
}

/* table with no border */

table.no_border th, table.no_border td {
    border: none;
}

/* highlighted table row */

tr.over, div.over, p.over {
    background: #eeeeee;
}

/* table with side borders */

table.side_border td.first, table.side_border td {
    border: none;
}

table.side_border th.first, table.side_border th {
    border: none;
    border-bottom: solid #dddddd 1px;
    font-weight: normal;
}

table.side_border td, table.side_border th {
    border-left: solid #dddddd 1px;
}

/* table with centered items */

table.tcenter td, table.tcenter th {
    text-align: center;
}

/* calendar */

table.calendar td {
    width: 190px;
    text-align: right;
}


/*** headers ***/

h1, h2, h4, p, dl {
    margin: 6px;
    padding: 6px;
    border: dotted blue 1px;
    border: none;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.2em;
}

/*** lists ***/

ul, ol {
    margin: 0px;
    padding: 0px;
    list-style-position: inside;
    border: green 1px solid;
    border: none;
}

li {
    margin: 3px;
    padding: 3px;
    margin-left: 18px;
    border: red 1px solid;
    border: none;
}

ul.categories li {
    margin: 0px;
    padding: 0px;
    margin-left: 18px;
    list-style-type: none;
}

ul.no_marker li {
    list-style-type: none;
}
/*** links ***/

a {
    color: blue;
    text-decoration: none;
/*
    color: #3db329;
    text-decoration: underline;
*/
}

a:hover {
}

/*** images ***/

img {
   padding: 0px;
   margin: 0px;
   margin-right: 6px;
   margin-bottom: 6px;
   border: none;
   float: none;
}

img.link {
   padding: 0px;
   margin: 0px;
}

img.captcha {
   cursor: pointer;
   border: none;
}

img.border {
   border: solid 1px black;
}

/*** other elements ***/

form {
    margin: 0px;
    padding: 0px;
}

hr {
    border: none;
    border-top: solid 1px #bbbbbb;
    width: 100%;
    height: 0px;
    text-align: center;
}

/* input fields

input[type="text"], input[type="password"], input[type="checkbox"], textarea, select {
    border: 2px #dfdfdf solid;
    padding: 3px;
}

input[type="radio"], input[type="checkbox"], input[type="text"] {
    border: 2px #dfdfdf solid;
    padding: 7px;
}
*/

nowrap {
    white-space: nowrap;
}

label {
    white-space: nowrap;
}

.frm_txt {
    width: 20em;
}

.frm_num {
    width: 3em;
}

.frm_date {
    width: 5em;
}

.frm_txt_100 {
    width: 97%;
}

/* widest left td in form table */
.frm_title {
    width: 1%;
    white-space: nowrap;
}

/* row for printed form */

/* other classes */
.last {
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

.req, .required {
    color: #00aa00;
    font-weight: bold;
}

.disabled {
    text-decoration: line-through;
}

.disabled_parent {
    color: #bbbbbb;
    color: #888888;
}

.current {
    text-decoration: underline;
}


/******************************************************************************/
dd, dt {
    padding: 3px;
    margin: 0;
}

dt {
    float: left;
    clear: both;
    width: 9em;
}

dl.reset dt {
    width: 4em;
}


/******************************************************************************/

/* page header for printed version */
    
div.header {
    float: left;
}

div.nav{
    float: right;
    text-align: right;
}

img.item_edit {
    float: left;
/*
    width: 100px;
*/
}

/* edit slider images */

div.slider_edit {
    float: left;
    width: 208px;
    height: 128px;
    padding: 6px;
}

img.slider_edit {
    float: left;
    width: 198px;
    margin: 3px;
}

/* items list */
div.item_list {
    float: left;
    width: 160px;
    height: 240px;
    padding: 6px;
    border: 1px blue solid;
    border: none;
    text-align: center;
}

img.item_list {
    float: none;
    vertical-align: top;
    margin: 0px;
    margin-bottom: 3px;
}



/*** media differences ***/

@media screen {

    .warning {
        font-weight: bold;
        color: red;
/*
        background: red;
*/
    }

    /* display only */
    .do {
    }

    /* printer only */
    .po {
        display: none;
    }

}

@media print {

    a {
        color: black;
        text-decoration: underline;
    }

    .warning {
        font-weight: bold;
    }

    .do {
        display: none;
    }

    .po {
    }

}
