* { margin: 0; padding: 0 }

body
{
  margin-top: 15px;
  font-family: Tahoma, Arial, Helvetica;
  background-color: #FFFFFF;
  background-image: url('../images/background.gif');
  background-repeat: repeat-x;
  overflow-y: scroll; 
}

.left { text-align: left; }

.right { text-align: right; }

a
{
  color: #D10111;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

img { border: 0; }

h2, h3
{
  text-align: center;
  font-size: 18px;
  padding: 10px;
}

p { padding: 5px; }

p.centered { text-align: center }

input { border: 1px solid black; }

input.quantity_field { text-align: center; }

input:hover { border: 1px solid red; }

input.submit
{
  text-align: center;
  font-weight: bold;
}

/* Tables */

table, td, th
{
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
}

tr:hover, li.field:hover { background-color: #A3B8CD; }

table { width: 100%; }

.noborder, .noborder th, .noborder td
{
  border: 0px solid red;
  padding: 5px;
}

/* Form lists */

fieldset
{
  text-align: center;
  border: 0px;
}

li.field, li.field_red
{
  list-style-type: none;
  margin: auto;
}

li.field_red
{
  background-color: #ED171F;
  color: white;
}

li label
{
  display: inline-block;
  width: 180px;
  text-align: right;
  padding: 5px;
}

/* Stogai */

img.stogai
{
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Montavimas lists */

ol.montavimas li
{
  height: 123px;
  border-bottom: 2px solid black;
  padding: 10px;
  list-style-type: none;
}

ol.montavimas li img { float: right; }

ul.montavimas li
{
  list-style-type: none;
  border-bottom: 2px solid black;
  clear: both;
  padding: 30px;
}

ul.montavimas img { float: left; }

ul.montavimas p { padding-left: 215px; }

/* Page layout */

#header
{
  background-image: url('../images/header_background.gif');
  background-repeat: no-repeat;
  height: 123px;
  width: 905px;
  margin-left: auto;
  margin-right: auto;
}

#title_img
{
  top: 13px;
  left: 31px;
  position: relative;
  float: left;
}

#menu
{
  top: 67px;
  right: 60px;
  position: relative;
  float: right;
  border: 0;
}

#menu img { margin-right: -5px; }

#submenu
{
  top: 64px;
  left: -150px;
  position: relative;
  float: left;
  color: white;
  font-weight: bold;
}

#content
{
  background-image: url('../images/content_background.gif');
  width: 845px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#content_left
{
  background-image: url('../images/content_left_background.png');
  padding: 10px;
  font-size: 14px;
}

#footer
{
  background-image: url('../images/footer_background.gif');
  height: 26px;
  width: 905px;
  margin-left: auto;
  margin-right: auto;
}

