body,html {margin: 0px;padding: 0px;background-color: #fff;height: 100%;}

.clear {clear:both; font-size:0; line-height:0; height:0; border:none; float:none}
table {border-collapse: collapse;}
td {margin: 0px;padding: 0px;}

.header {height: 138px; background-image: url('http://www.gemsdesign.ru/img/head.jpg'); background-repeat: no-repeat; vertical-align: bottom; text-align: right;}
#header { height: 20px; width: 380px;  position: absolute;  top: 85px;left: 390px;}
.linkMain{height: 60px; width: 380px;  position: absolute;  top: 35px;left: 390px;}
table.main {width: 100%;height: 100%; }

td.line, td.line2 {background-position: center; text-align: right;}
td.line {height: 4px; background-image: url('http://www.gemsdesign.ru/img/line-top.png');}
td.line2 {height: 3px; background-image: url('http://www.gemsdesign.ru/img/footer-line.png');}
td.menu {height: 38px; background-image: url('http://www.gemsdesign.ru/img/title-menu-bg.gif');  background-repeat: repeat-x;}

.menu table {width: 100%; max-width: 900px; }
.menu table td {padding: 0px 10px;  height: 38px; text-align: center;}
.menu table td:hover, .curr {background-image: url('http://www.gemsdesign.ru/img/title-menu-act-bg.gif'); background-repeat: repeat-x;  color: #024A92;}
#menu {float:left; min-width: 790px;}
#menu-c {float:right;width: 238px; text-align: right;}

table.lheader {width: 196px;height: 100%;}
.lheader {width: 196px;height: 100%;margin-top: -2px; min-height: 100%;}

#search_m {width: 169px;height: 24px;  margin-left: 14px; margin-top: 20px; background-position: left; background-repeat: no-repeat; background-image: url('http://www.gemsdesign.ru/img/search_m_bg.png');}
 .input_m {width: 70px;height: 16px;border: 0px; margin-left: 10px;  background-color: #eff1f3;}


td.lheader-title {height: 48px;background-image: url('http://www.gemsdesign.ru/img/left-head.png');  background-repeat: no-repeat;}

.lheader-txt  {width: 192px;height: 100%;}
.lheader-txt1 {width: 192px;height: 24px;}

td.blgr, td.brgr {width: 2px; height: 100%; vertical-align: top;}
td.lgr, td.rgr {width: 2px;vertical-align: top;background-color: #84abd6; background-image: url('http://www.gemsdesign.ru/img/left-gr.png'); background-repeat: repeat-x; height: 100%;}

td.footer {height: 42px;background-image: url('http://www.gemsdesign.ru/img/footer-gr.png'); background-repeat: repeat-x; text-align: center; line-height: 40px;}
td.left {width: 196px; vertical-align: top; height: 100%; min-height: 100%;}
td.lheader-txt, td.right-txt {width: 192px;vertical-align: top; background-image: url('http://www.gemsdesign.ru/img/left-gr.png'); background-repeat: repeat-x; background-color: #84abd6; height: 100%; min-height: 100%;}

.lheader-txt ul {list-style-position: inside; list-style-type: none; color: #fff; font-size: 17px; font-style: italic; padding-left: 10px;}
.lheader-txt ul ul {list-style-position: inside;list-style-type: disc;font-size: 15px;padding-left: 10px;}
.lheader-txt ul ul li { margin-top: 5px;}
.lheader-txt ul ul ul li { margin-top: 0px;}
.lheader-txt ul ul ul {list-style-type: none; font-size: 13px; font-style: normal; padding-left: 20px;}

td.right {width: 198px;vertical-align: top; height: 100%;}
table.righmenu {width: 198px;height: 100%;}

td.maintxt {vertical-align: top; height: 100%; width: 100%; min-width: 650px;  padding: 10px;background-image: url('http://www.gemsdesign.ru/img/c5.png'); background-repeat: no-repeat; background-position: top right;  padding-bottom: 50px; }

table.title {background-image: url('http://www.gemsdesign.ru/img/razdel-bg.png'); background-repeat: no-repeat; height: 40px; width: 100%; min-width: 400px; padding-right: 30px;}
.title_h {padding-left: 85px; padding-top: 4px; width: 240px; min-width: 240px;}
.title_search {width: 266px; height: 35px; background-image: url('http://www.gemsdesign.ru/img/search.jpg'); background-repeat: no-repeat; min-width: 266px;  padding-right: 25px;}
 .input {width: 136px;height: 16px;border: 0px; background-color: #eff1f3;}

#maintable {width:100%;height: 100%; min-width: 500px;}
#maintable td{vertical-align: top;}
#mt1 {width: 100%; height: 420px; vertical-align: top;}
#mt2 {width: 100%; height: 10px;	 padding-bottom: 30px;}
#mt3 {width: 100%; height: 290px;}
.mt4 {padding-top:10px;padding-bottom: 10px; width: 30%; padding-right: 25px;}
.mt5 {padding-top:10px;padding-bottom: 3px;}

#card_left {width: 50%;height: 30px;text-align: center; background-image: url('http://www.gemsdesign.ru/img/card_left_bg_top.png'); background-repeat: repeat-x;} 
 #card_left_in {width: 100%;height: 30px; background-image: url('http://www.gemsdesign.ru/img/card_left_top.png'); background-position: left; background-repeat: no-repeat;} 
#card_centr_top {width: 6px;height: 30px;background-image: url('http://www.gemsdesign.ru/img/card_right_bg_top.png');} 
#card_right {width: 50%;height: 30px;  text-align: center;background-image: url('http://www.gemsdesign.ru/img/card_right_bg_top.png'); background-repeat: repeat-x;} 
 #card_right_in {width: 100%;height: 30px; background-image: url('http://www.gemsdesign.ru/img/card_right_top.png');background-position: right; background-repeat: no-repeat;} 
 
#card_centr { min-width: 290px;height: 294px;background-image: url('http://www.gemsdesign.ru/img/card_bg_centr.png');background-repeat: repeat-x;}
#card_left_main {width: 9px;height: 294px;padding-left: 9px;background-image: url('http://www.gemsdesign.ru/img/card_left_centr.png');background-repeat: no-repeat;} 
#card_centr_main {height: 294px;width: 100%;  background-image: url('http://www.gemsdesign.ru/img/card_bg_centr.png');background-repeat: repeat-x;}
#card_right_main {width: 8px;height: 294px; padding-right: 8px; background-image: url('http://www.gemsdesign.ru/img/card_right_centr.png');background-repeat: no-repeat;} 
 
 
#card_left1 {width: 50%;height: 30px; text-align: center;} 
 #card_left_in1 {width: 100%;height: 30px;} 
 .tabL{background-image: url('http://www.gemsdesign.ru/img/new/card_left_top-no-b.png'); background-position: left; background-repeat: no-repeat; cursor: pointer;}
 .tabR{background-image: url('http://www.gemsdesign.ru/img/new/card_right_top-no-b.png'); background-position: right; background-repeat: no-repeat; cursor: pointer;}
 .tabL-act{background-image: url('http://www.gemsdesign.ru/img/new/card_left_top-b.png'); background-position: left; background-repeat: no-repeat; color: #000;}
 .tabR-act{background-image: url('http://www.gemsdesign.ru/img/new/card_right_top-b.png'); background-position: right; background-repeat: no-repeat; color: #000;}
#card_centr_top1 {width: 6px;height: 30px;} 
#card_right1 {width: 50%;height: 30px; text-align: center;} 
 #card_right_in1 {width: 100%;height: 30px;background-image: url('http://www.gemsdesign.ru/img/card_right_top1.png');background-position: right; background-repeat: no-repeat;} 
 .actMini{
   border: 1px solid #000;
 }
 #tabRtext{display: none;}
#card_centr1 {min-width: 290px;width: 100%;height: 100%;background-image: url('http://www.gemsdesign.ru/img/card_bg.png'); background-position: bottom; background-repeat: repeat-x;}
#card_left_main1 {width: 2px;height: 100%;padding-left: 2px;background-image: url('http://www.gemsdesign.ru/img/card_bgl.png');  background-repeat: repeat-y;}
#card_centr_main1 {height: 100%;width: 100%; padding-left: 12px;padding-right: 12px;padding-bottom: 15px;}
#card_right_main1 {width: 2px;height: 100%;padding-right: 2px; background-image: url('http://www.gemsdesign.ru/img/card_bgr.png'); background-repeat: repeat-y;}

.card_but {margin: 0;text-align: center; padding-top: 7px;}

 #buy_card {width: 100%; height: 146px; line-height: 14px;}
 #buy_card1 {width: 100%; height: 100%; line-height: 14px;}
 #buy_card1 p {margin-top: 0px;}

  #card_photo_t {width: 300px;height: 5x;background-image: url('http://www.gemsdesign.ru/img/r_t.png');background-repeat: no-repeat;background-position: bottom;}  
  #card_photo_d {width: 300px;height: 5x;background-image: url('http://www.gemsdesign.ru/img/r_d.png');background-repeat: no-repeat;}
  #card_photo_l {width: 5px;height: 224x;background-image: url('http://www.gemsdesign.ru/img/r_l.png');background-repeat: no-repeat;}
  #card_photo_r {width: 5px;height: 224x;background-image: url('http://www.gemsdesign.ru/img/r_r.png');background-repeat: no-repeat;}
  
#card_n {min-width: 270px;  max-width: 600px;}

#card_bgb {width: 100%;height: 2px; background-image: url('http://www.gemsdesign.ru/img/card_bgb.png'); background-repeat: repeat-x; }
#card_t {width:100%;height: 395px; }
 #card_p {width:320px;height: 395px;vertical-align: top; }
 #card_c {width:100%;height: 395px; padding-left:20px;max-width: 600px; vertical-align: top;}
 
#card_dop {width: 300px;margin-top: 10px;}

.dop {width: 30%;height: 310px;float: left;margin-right: 7px;margin-left: 7px;min-width: 190px;}
.dop1 {width: 30%;height: 180px;float: left;margin-right: 7px;margin-left: 7px;min-width: 190px;}
.dop_buy {height: 218px;width: 189px;background-image: url('http://www.gemsdesign.ru/img/dop_buy_bg.png');background-repeat: no-repeat;}
.dop_buy1 {height: 187px; width: 187px; text-align: center; border: 1px solid #8c8a8b;}
.dop_buy2 {height: 31px; width: 166px; text-align: center;}
.dop_com {height: 50px; width: 166px; text-align: center;}

.buy1 {float: left;  margin-top: 4px; }
.buy2 {float: left;margin-top: 4px;margin-left: 10px;margin-bottom: 2px; width: 98px; height: 28px; background-image: url('http://www.gemsdesign.ru/img/buy.png'); background-repeat: no-repeat;}
 #buy2 {padding-top: 6px; padding-left: 18px}
 #buy3 {padding-left: 36px; padding-top: 6px;}
 
.select {width: 100px;}
.select1 {width: 200px;}
.select2 {width: 40px;}

.card_dop {width: 85px;height: 72px;float: left;margin-left: 10px;background-repeat: no-repeat;}
.card_dop_navl {width: 10px;height: 75px;float: left;margin-right: 4px;}
.card_dop_navr {width: 10px;height: 75px;float: left;margin-left: 6px;}

#cor_tov {
  height: 108px;
  width: 194px;
  background-image: url('http://www.gemsdesign.ru/img/c8.png');
  background-repeat: no-repeat;
  background-position: top;
  padding-top: 50px;
  
}

#right-m1 {width: 194px; height: 35px; background-image: url('http://www.gemsdesign.ru/img/right_m1.png'); background-repeat: no-repeat;  padding-top: 10px;}
.right-m2 {width: 194px;  height: 29px;  background-image: url('http://www.gemsdesign.ru/img/right_m2.png'); background-repeat: no-repeat; margin-top: 4px; padding-top: 4px;}

.ban {margin-top: 10px;}
.ban img {margin-top: 10px; border: 1px solid #ccbc8e;}

#form {padding-left: 30px;padding-top: 3px;width: 149px;height: 27px;float:left;}
#but {padding-left: 5px;  padding-bottom: 4px;  //padding-bottom: 6px;  width: 69px;  height: 27px;  float:left;}
#line {background-image: url('http://www.gemsdesign.ru/img/line.png');	background-repeat: repeat-x;	height: 1px;width: 100%;} 



#line_main {height: 33px; width: 100%; text-align: center;  margin-bottom: 20px; margin-top: 20px;}
#line_main1 {height: 4px; width: 100%; text-align: center;  margin-bottom: 20px; margin-top: 20px;}
#maintxt {height: 33px; width: 100%; text-align: center;  margin-bottom: 20px; margin-top: 20px;}
#main { width: 90%;}

:root #but  {
   padding-bottom: 6px\9;
}
#but [id=but] { padding-bottom: 6px ; }

*>#but { padding-bottom: 6px ; }

img {border: 0;}

.new{ width: 620px; height: 245px; margin: 0 auto;}
.pos{
  width: 170px;
  float: left;
  margin: 15px 6px;
}
.control{
  width: 25px;
}
.control img{
  margin-top: 36px;
}
.pos div.top, .pos div.bot{
  background-image: url('http://www.gemsdesign.ru/img/new-gr.png');
  height: 29px;
  background-repeat: repeat-x;
}
.pos div.top{
  background-position: top left;
}
.pos div.bot{
  background-position: bottom left;
}
.top .uglt, .top .ugrt, .bot .uglb, .bot .ugrb{
  width: 6px;
  height: 29px;
  background: url('http://www.gemsdesign.ru/img/new-ug.png');
}
.top .uglt, .bot .uglb, .control{
  float:left;
}
.top .uglt{
  background-position: bottom right;
}
.top .ugrt{
  background-position: bottom left;
}
.bot .uglb{
  background-position: top right;
}
.bot .ugrb{
  background-position: top left;
}
.top .ugrt, .bot .ugrb{
  float:right;
}
.bot .txt, .top .txt{
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 158px;
  height: 29px;
}
.pos .cnt{
  display: table-cell;
  vertical-align: middle;
  height: 170px;
  width: 170px;
  text-align: center;
  background-color: #bbcbdd;
}
div.txt{
  padding: 0px 20px;
}
.scrollable{
  position: relative;
  overflow: hidden;
  width: 550px;
  height: 270px;
  float: left;
}
.scrollable .items{
  position: absolute;
  width:20000em;
}
.prev, .next{
  cursor: pointer;
}
td.error{
    color: #fe3700;
    font-weight: bold;
    margin: 10px;
}
input.error{
    border: 1px solid red;
    background-color: pink;
}
@-moz-document url-prefix () { #but { padding-bottom: 6px ; } }