/*** COPYRIGHT 2005 "web.sol" Ltd. ***/
/*** Autortiesības 2005 SIA "web.sol" ***/

/*** BACKGROUND ***/

body,
table.menu td.m, table.menu th.m,
table.img td.m, table.img td.img
{
 background-color: #FFF;
}

table.page
{
 background-color: #808080;
}

input, textarea
{
 background-color: transparent;
}

th.header
{
 background-image: url(/img/bg/vi.jpg);
}

th.footer
{
 background-image: url(/img/bg/vo.jpg);
}

table.menu td.tr
{
 background-image: url(/img/bg/menu/t.png);
}

table.menu td.b, table.menu td.br
{
 background-image: url(/img/bg/menu/b.png);
}

table.menu td.m, table.menu th.m
{
 background-image: url(/img/bg/menu/r.png);
}

table.img td.t
{
 background-image: url(/img/bg/imgbox/t.png);
}

table.img td.b
{
 background-image: url(/img/bg/imgbox/b.png);
}

table.img td.r
{
 background-image: url(/img/bg/imgbox/r.png);
}

table.img td.l
{
 background-image: url(/img/bg/imgbox/l.png);
}

table.img td.tl
{
 background-image: url(/img/bg/imgbox/tl.png);
}

table.img td.tr
{
 background-image: url(/img/bg/imgbox/tr.png);
}

th.header, th.footer,
table.menu td.tr, table.menu td.br,
table.img td.t, table.img td.b
{
 background-repeat: repeat-x;
}

table.menu th.m, table.menu td.m
{
 background-repeat: repeat-y;
}

table.img td.t, th.footer
{
 background-position: bottom;
}

table.menu td.m
{
 background-position: right;
}

table.img td.tl, table.menu td.tr
{
 background-position: bottom right;
}

table.img td.tr
{
 background-position: bottom left;
}

/*** BORDERS ***/

a img
{
 border: none;
}

input[type="text"], textarea
{
 border: 1px inset #808080;
}

input[type="submit"]
{
 border: 1px outset #808080;
}

/*** COLORS ***/

a
{
 color: #000080;
}

h1 a, h2 a
{
 color: #000;
}

a:hover
{
 color: #800000;
}

/*** FONT, SIZE, WEIGHT, STYLE ***/

body, table
{
 font-family: "Verdana", "Tahoma", sans-serif;
 font-size: small;
}

.img.thumb, input, label, textarea
{
 font-family: "Tahoma", sans-serif;
 font-size: 85%;
}

h1, h2
{
 font-family: "Times New Roman", "Times", serif;
}

h1
{
 font-size: 2.5em;
}

h2
{
 font-size: 1.6em;
}

h1, h2, table.menu a
{
 font-weight: bold;
}

table.menu a.child
{
 font-weight: normal;
}

h1
{
 font-style: italic;
}

table.menu td.tr, table.menu td.br, table.menu td.m
{
 text-align: right;
}

a
{
 text-decoration: none;
}

table.menu td, table.menu th, .img.thumb,
textarea#list
{
 white-space: nowrap;
}

td.tr img
{
 vertical-align: bottom;
}

/*** POSITION, ALIGNMENT ***/

div.logo,
table.img
{
 float: left;
}

h1, h2,
table.img td.img, table.img td.m,
table.page td.main
{
 text-align: center;
}

table.menu td.tr, table.menu td.br
{
 text-align: right;
}

td
{
 vertical-align: top;
}

table.img td.img
{
 vertical-align: middle;
}

div.label
{
 text-align: left;
}

/*** WIDTH, HEIGHT, MARGINS, PADDING ***/

th.header, th.footer
{
 height: 85px;
 padding: 5px 5px 0px;
}

table.menu td.t, table.menu td.tr, table.menu td.b, table.menu td.br,
table.img td.t, table.img td.tr, table.img td.b, table.img td.br
{
 height: 14px;
}

table.page, table.menu, table.img
{
 border-spacing: 0px;
}

body, table.page, table.menu td, table.img td
{
 margin: 0px;
 padding: 0px;
}

h1, table.menu h3
{
 margin-top: 0px;
 margin-bottom: 5px;
}

h2
{
 margin-top: 0px;
}

th.header h1, th.header h2
{
 margin-bottom: 0px;
}

table.menu td.m
{
 padding: 5px 20px 5px 10px;
}

table.img.thumb td.img
{
 height: 130px;
 width: 135px;
}

table.page, table.page td.main, table.fullimg, table.img.full td.img
{
 width: 100%;
}

table.img td.img
{
 height: 100%;
}

table.img.full, table.fullimg td table
{
 margin: auto;
}

table.img.full
{
 width: 525px;
 height: 550px;
}

table.fullimg td.prev, table.fullimg td.next
{
 width: 200px;
}

input[type="text"]
{
 width: 100px;
 padding-left: 3px;
}

textarea
{
 width: 115px;
}
