* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  color: #333333;
  font-size: 10pt;
  font-family: arial, helvetica;
  line-height: 1.35;
}

#layout {
  height: 100%;
  width: 100%;
  border: none;
}

  table td #left {
    width: 300px;
/*    width: 210px; */
    vertical-align: top;
  }

  table td #center {
    vertical-align: top;
  }

  table td #right {
    width: 200px;
    vertical-align: top;
  }

/* -------------------------------------------------------------------------- */

#menu {
  height: 32px;
  margin-right: 15px;
  float: right;
}

  #menu span {
    color: #ffffff;
  }

  #menu ul {
    list-style-type: none;
  }

  #menu ul li {
    float: right;
  }

  #menu ul a {
    color: #ffffff;
    line-height: 32px;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 10pt;
    font-weight: normal;
  }

  #menu ul a#last {
    padding-right: 0;
  }

  #menu ul a:hover {
    text-decoration: underline;
  }

#searching {
  color: #ffffff;
  height: 32px;
  margin-left: 15px;
  width: 250px;
}

#filter_price {
  color: #ffffff;
  height: 32px;
  margin-left: 15px;
}

  #searching .edit {
    line-height: 32px;
    height: 16px;
    margin-top: 6px;
    width: 150px;
    border: 1px solid #ffffff;
   }

  #searching span, #filter_price span {
    line-height: 32px;
  }

  #filter_price .edit {
    line-height: 32px;
    height: 16px;
    margin-top: 6px;
    width: 50px;
    border: 1px solid #ffffff;
  }

  #searching input.button, #filter_price input.button {
    height: 18px;
    width: 52px;
    border: 1px solid #ffffff;
    background-color: #eee9df;
    padding-left: 4px;
    padding-right: 4px;
    color: #000000;
    font-weight: bold;
    font-size: 8pt;
  }

/* -------------------------------------------------------------------------- */

#page {
  padding: 0px 20px 0px 20px;
}

td.product_wrap {
  padding: 10px 10px 40px 10px;
}

  td.product_wrap img {
    margin: 5px 15px 5px 5px;
  }

/* -------------------------------------------------------------------------- */

div.block_wrapper {
  background-image: url('/images/block_shadow.png');
  background-position: bottom left;
  background-repeat: no-repeat;
  margin: 0px 15px 20px 0px;
  padding-bottom: 9px;
  width: 198px;
  border: 0px solid red;
}

div.block_wrapper2 {
  /*background-image: url('/images/block_shadow.png');*/
  background-position: bottom left;
  background-repeat: no-repeat;
  margin: 0px 0px 20px 15px;
  padding-bottom: 9px;
/*  width: 198px;*/
  width: 288px;
  border: 0px solid red;
}

/* -------------------------------------------------------------------------- */

div.header {
  background-color: #9cc0e4;
  padding: 1px 10px 1px 10px;
  border-right: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  width: 165px;
  margin-left: auto;
  margin-right: auto;
}

  div.header h1 {
    font-size: 11pt;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
  }

#auth, #statuses_list, #actions_list, #personal_menu{
  background-color: #e4eef8;
  padding: 10px;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  width: 165px;
  margin-left: auto;
  margin-right: auto;
}

#catalog {
  background-color: #f5f9fc;
  padding: 10px;
  border-right: 1px solid #e4eef8;
  border-left: 1px solid #e4eef8;
  border-top: 1px solid #e4eef8;
  border-bottom: 1px solid #e4eef8;
/*  width: 165px;*/
  width: 255px;
  margin-left: auto;
  margin-right: auto;
}

  #auth div.caption {
    margin-bottom: 0px;
  }

  #auth div.field {
    margin-bottom: 2px;
   }

  #auth input.small {
    width: 63%;
    height: 17px;
    border: 1px solid #999999;
    background-color: #ffffff;
  }

  #auth a {
    font-size: 8pt;
  }

  #personal_menu ul {
    list-style-type: none;
  }

  #personal_menu li a {
    padding-left: 0px;
    padding-right: 15px;
    color: #3378bd;
    line-height: 1.4;
  }

  #personal_menu h1 {
    font-size: 12pt;
    margin: 0px 0px 10px 0px;
    font-weight: bold;
    color: #666666;
  }

/* -------------------------------------------------------------------------- */

#footer {
  height: 35px;
  background-color: #d4e3f3;
  text-align: center;
}

  #footer span {
    color: #555555;
    line-height: 35px;
  }

/* -------------------------------------------------------------------------- */

/*
#catalog {
  background-color: #f5f9fc;
  margin: 0px 0px 0px 15px;
  padding: 10px;
  border-top: 1px solid #dedede;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  border-left: 1px solid #dedede;
}
*/

  #catalog h1 {
    font-size: 12pt;
    margin: 0px 0px 10px 0px;
    font-weight: bold;
    color: #555555;
  }

  #catalog a {
    font-size: 10pt;
    text-decoration: none;
    color: #555555;
  }

  #catalog a:hover {
    color: #3378bd;
  }

/* -------------------------------------------------------------------------- */

#ajax_cart {
}

/* -------------------------------------------------------------------------- */

div.line {
  clear: both;
  position: relative;
  height: 25px;
}

div.multyline {
  clear: both;
  position: relative;
  height: 80px;
}

div.title {
  position: relative;
  float: left;
  width: 250px;
  padding-right: 10px;
  margin-bottom: 5px;
}

div.input {
  position: relative;
  float: left;
  margin-bottom: 5px;
}

/* -------------------------------------------------------------------------- */

table.product_list {
  width: 100%;
  font-size: 10pt;
  border-right: 1px solid #d3e3f3;
  border-left: 1px solid #d3e3f3;
}

  table.product_list th {
    padding: 5px;
    text-align: left;
    background-color: #9cc0e4;
    color: #ffffff;
  }

  table.product_list td {
    text-align: left;
    border-bottom: 1px solid #d3e3f3;
  }

  table.product_list td.supheader {
    text-align: left;
    padding: 1px 15px 1px 5px;
    background-color: #f5f9fc;
  }

  table.product_list tr.dark {
    background-color: #f0eedc;
  }

  table.product_list tr.light {
    background-color: #ffffff;
  }

  table.product_list td.code {
    padding: 3px 10px 3px 5px;
    width: 1%;
  }

  table.product_list td.count {
    text-align: right;
    padding: 3px 5px 3px 10px;
    width: 1%;
  }

  table.product_list td.caption {
    padding: 3px 15px 3px 5px;
  }

  table.product_list td.price {
    text-align: right;
    padding: 3px 5px 3px 5px;
    width: 1%;
  }

  table.product_list td.available {
    text-align: left;
    padding: 3px 5px 3px 10px;
    width: 1%;
  }

  table.product_list a {
    text-decoration: none;
    color: #3378bd;
  }

  table.product_list a:hover {
    text-decoration: underline;
    color: #3378bd;
  }

table.products {
  width: 100%;
}

  table.products a {
    color: #3378bd;
  }

  table.products td {
    vertical-align: top;
    width: 50%;
  }

table.product_details {
  width: 100%;
}

  table.product_details td {
    vertical-align: top;
    padding: 10px;
  }

/* -------------------------------------------------------------------------- */

h1.products_caption {
  font-size: 12pt;
}

div.message {
  padding: 5px;
  margin-bottom: 10px;
}

  div.message span {
    color: #dd0000;
  }

/* -------------------------------------------------------------------------- */

span.required {
  color: #ff0000;
}

input, select {
  border: 1px solid #999999;
}

input.big, select.big {
  width: 300px;
  border: 1px solid #999999;
  height: 17px;
}

input.small, select.small {
  width: 38px;
  border: 1px solid #999999;
  height: 17px;
}

div.error {
  border: 1px solid #ff0000;
  margin: 5px 0px 10px 0px;
  padding: 5px;
}

div.error span {
  color: #ff0000;
}

textarea {
  width: 300px;
  border: 1px solid #999999;
  height: 75px;
}

input.button {
  border: 1px solid #9cc0e4;
  border-left: 5px solid #9cc0e4;
  background-color: #f5f9fc;
  padding-left: 4px;
  padding-right: 4px;
  color: #333333;
  height: 20px;
}

a {
  color: #3378bd;
}

#cart_header {
  height: 25px;
  color: #ffffff;
  padding: 0px 10px 0px 10px;
  border: 1px solid #d3e3f3;
}

a.wide {
  line-height: 25px;
  color: #555555;
  padding: 0px 10px 0px 5px;
  text-decoration: none;
}

a.white {
  color: #ffffff;
}

h1 {
  font-size: 12pt;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #555555;
}

h1.first {
  /*
  margin-top: 0px;
  margin-bottom: 10px;
  color: #555555;
  */
}

h2 {
  font-size: 10pt;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #555555;
}

#page ul, #page ol {
  margin-left: 40px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 10px;
  line-height: 1.35;
}

img {
  border: none;
}

input.radio {
  border: none;
}

/* For splash window */

#overlay {
  padding-top: 30%;
  visibility: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 1000;
}

#overlay div {
  width: 140px;
  margin-left: auto;
  margin-right: auto;
  background-color: #eee9df;
  border: 2px solid #cccccc;
  padding: 15px;
  text-align: center;
}