html, body {
  height: 100%;
}

body {
  min-width: 970px;
}

#container {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 0 -170px 0;
  background: #B9DCF1 url(../images/body.png) center top no-repeat;
  min-width: 970px;
}

#header {
  width: 960px;
  margin: 0 auto;
  height: 80px;
  position: relative;
}

#header h2 {
  display: block;
  position: absolute;
  text-indent: -9000px;
  width: 235px;
  height: 45px;
  background: url(../images/maxim.png) no-repeat;
  bottom: 10px;
  margin: 0;
  padding: 0;
}

#header h2 a {
  display: block;
  width: 235px;
  height: 45px;
}

#header ul {
  position: absolute;
  bottom: 8px;
  right: 0px;
  color: #287DB6;
  font-size: 14px;
}

#header ul li {
  display: inline;
  margin: 0 0 0 15px;
}

#header .phones {
  position: absolute;
  top: 22px;
  right: 0px;
}

#header .phones b {
  margin: 0 0 0 15px;
}

#content {
  width: 960px;
  margin: 0 auto;
  position: relative;
  clear: both;
  background: #FFF url(../images/content.png) no-repeat;
  overflow: hidden;
  color: #333;
}

#content .left {
  float: left;
  width: 170px;
  padding: 30px 35px;
}

#content .left .cart {
  padding: 5px 0 0 70px;
  height: 65px;
  margin: 0 0 0 -6px;
  background: url(../images/maxim.png) -390px 0 no-repeat;
  font-size: 11px;
}

#content .left .cart.empty {
  padding: 15px 0 0 70px;
  background-position: -670px 0;
}

#content .left .sub {
  font-size: 14px;
  margin: 30px 0 0 0;
}

#content .left .sub a {
  display: block;
  margin: 0 0 10px 0;
}

#content .left .sub b {
  display: block;
  margin: 0 0 10px 0;
}

#content .left .sub a b {
  margin: 0;
}

#content .left .sub.gray a {
  color: #333;
}

#content .left .sub.gray a:hover {
  color: #CC0000;
}

#content .left .sub.gray a:active {
  color: #FF0000;
}

#content .left .sub.green a {
  color: #33af33;
}

#content .left .search {
  padding: 10px 0 0 0;
}

#content .left .search input {
  width: 130px;
}

#content .left .search button {
  text-indent: -9000px;
  background: url(../images/maxim.png) -246px 2px no-repeat;
  border: none;
  width: 30px;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

#content .text {
  float: left;
  width: 650px;
  padding: 30px 35px;
}

#content .news {
  float: left;
  width: 300px;
  padding: 0 25px 0 0;
}

#content .art {
  float: left;
  width: 300px;
  padding: 0 0 0 25px;
}

#content h2.green, #content h2.red, #content h2.yellow, #content h2.blue {
  background: url(../images/maxim.png) no-repeat;
  height: 42px;
  margin: 30px 0 0 0;
  padding: 6px 12px 0 10px;
  color: #FFF;
  display: inline-block;
  font-size: 21px;
}

#content h2.green {
  background-position: 0 -90px;
}

#content h2.red {
  background-position: 0 -190px;
}

#content h2.yellow {
  background-position: 0 -140px;
}

#content h2.blue {
  background-position: 0 -240px;
}

#content img {
}

#content .goods {
  margin: 0 -115px 0 -30px;
}

#content .item {
  display: inline-block;
  //display:inline;
  zoom: 1;
  vertical-align: top;
  width: 140px;
  padding: 10px 0 40px 30px;
  text-align: center;
}

#content .item a {
  text-decoration: none;
}

#content .item img {
  border: none;
}

#content .item a h3 {
  color: #0066CC;
  text-decoration: underline;
  margin: 10px 0 5px 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

#content .item a:hover h3 {
  color: #CC0000;
}

#content .item a:active h3 {
  color: #FF0000;
}

#content .item a:visited h3 {
  color: #793D7C;
}

#content .item a:hover:visited h3 {
  color: #CC0000;
}

#content .item p {
  color: #333;
  font-size: 11px;
  margin: 0 0 0 0;
  text-align: left;
}

#content .item .price {
  color: #000;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  width: 105px;
  line-height: 28px;
  background: url(../images/maxim.png) -280px 0;
  margin: 1px 0 0 0;
}

#content .one .big {
  text-align: center;
  float: left;
  width: 400px;
  margin: 0 30px 30px 0;
}

#content .one .big img {
  border: 0;
  margin: 0;
}

#content .one .desc {
  font-size: 11px;
  color: #666;
  float: right;
  width: 200px;
  margin: 0 0 20px 0;
}

#content .one .price {
  color: #000;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  width: 105px;
  line-height: 28px;
  background: url(../images/maxim.png) -280px 0;
  margin: 1px 0 0 0;
}

#content .one b {
  display: block;
  width: 105px;
  text-align: center;
}

#content .one b {
  color: #000;
  font-size: 13px;
  font-weight: bold;
}

#content .one .submit {
  margin: 3px 0 15px 0;
  padding: 4px 10px;
  width: 105px;
}

#content .one .nal {
  margin: 5px 15px;
  padding: 0 0 0 20px;
  background: url(../images/maxim.png) -400px -90px;
  color: #44A344;
}

#content .one .no.nal {
  margin: 5px 5px;
  background: url(../images/maxim.png) -400px -110px;
  color: red;
}

#content .links {
  margin: 0 0 20px 0;
}

#content .links a, #content .links b {
  margin: 0 2px 0 0;
  padding: 2px 4px;
}

#content .links b {
  background: url(../images/maxim.png) -290px 0;
}

#content .links a:visited {
  color: #287DB6;
}

#content .links a:hover:visited {
  color: #CC0000;
}

#footer {
  clear: both;
  font-size: 12px;
  height: 170px;
  color: #333;
  background: url(../images/footer.png) center top no-repeat;
}

#footer .fix {
  width: 960px;
  margin: 0 auto;
}

#footer .links {
  float: left;
  width: 240px;
  padding: 50px 30px 0 0;
  line-height: 1.8;
}

#footer .ņounters {
  float: left;
  padding: 50px 0 0 0;
  line-height: 1.8;
}

#footer .design {
  float: right;
  padding: 50px 0 0 0;
  line-height: 1.8;
}

#push {
  clear: both;
  height: 170px;
}


div.preview_line div {float:left;width:105px;height: 105px; margin: 4px 5px 0 0;border:5px solid white;background-repeat: no-repeat; background-position: 50% 50%;cursor: pointer;}
div.preview_line div.selected {border:5px solid #d7dfec;}
