body { margin:0; padding:0; background: url(/gallery/themes/matrix/images/fon.gif) repeat; }
a { color: #7f4b2e; text-decoration: none; }
a:hover { color: #AE8F7D; text-decoration: underline; }
a:active { outline:none; }
img { border:0; } 
td { vertical-align:top; }

div, a  { _zoom:1; }

/* old styles */
.style48 { color: #CCCCCC; }
.style49 { font-style: inherit; font-size: 16px; color: #7f4b2e; background-attachment: scroll; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
.style50 { font-family: Georgia, "Times New Roman", Times, serif; font-size: 14px; color: #595959; }
.style78 { font-size: 12px; color: #7f4b2e; background-attachment: scroll; text-decoration: none; font-family: Arial, Helvetica, sans-serif;	font-style: inherit; }
.style87 { font-style: inherit; font-size: 14px; color: #7f4b2e; background-attachment: scroll; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
.style88 { font-size: 14px; color: #7f4b2e; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-style: inherit; }
.style31 { color: #666666; font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 14; }
.style52 { color: #666666; font-size: 14px; }



/* top */
#contact_top { text-align:left; width:250px; height:165px;  margin:0; padding:0;  background: url("/gallery/themes/matrix/images/contact_top.jpg") 0 0 no-repeat; font-size:14px; line-height:15px;}
#contact_top div { padding:30px 0 0 90px; margin:0; }
#contact_top div.space { padding:0; margin:0; display: block; height:16px; }


/* left menu */
ul.menu_left {  list-style:none; margin:0px;  background: url(/gallery/themes/matrix/images/menu_bg.jpg) 0 60px no-repeat; padding:84px 10px 0 10px; font: bold 17px/17px Arial; overflow:visible; }
ul.menu_left li { margin:0px; padding:0;  _display:inline-block;  }
ul.menu_left a { display:block;  margin:0; padding:4px 0 4px 20px; text-decoration:none;  background: url(/gallery/themes/matrix/images/arrow.gif) no-repeat 2px 6px; border-bottom:1px solid #CECABF; }
ul.menu_left li a:hover { color:#f27d00; font-weight:bold; text-decoration:none; }
ul.menu_left li a.this { font-weight:bold; color:#f27d00; }

/* 2 level */
ul.menu_left ul { margin:6px 0px 10px; _margin-bottom:3px; padding:0;  list-style:none; font-size: 15px; line-height:15px; font-weight:normal;  }
ul.menu_left ul li { margin:0px; padding:0;  background: url(/gallery/themes/matrix/images/arrow2.gif) no-repeat 0 9px; _display:inline-block; }
ul.menu_left ul a { color:#000; padding:6px 0 6px 20px; border:0; }
ul.menu_left ul a.this, ul.menu_left ul a:hover { color:#b6004d;  }

/* 3 level */
ul.menu_left ul ul { margin:0px 0 6px 18px;  padding:3px 0 0; font-size: 14px; line-height:14px; font-weight:normal;   }
ul.menu_left ul ul li { margin:0; padding:0; background: url(/gallery/themes/matrix/images/arrow3.gif) no-repeat 0 6px; _display:inline-block;  }
ul.menu_left ul ul a { padding:4px 0 4px 20px;  }
ul.menu_left ul ul a.this, ul.menu_left ul ul a:hover { color:#006bb6;   }
 
/* border-bottom:1px solid #CECABF; */

/* 4 level */
ul.menu_left ul ul ul { margin:0 0 6px; _margin-bottom:3px;  padding:0; font-size: 13px; line-height:13px;   }
ul.menu_left ul ul ul li { background:none; margin:0; padding:0; _display:inline-block;  }
ul.menu_left ul ul ul a { margin-left:16px; padding:3px 0 3px 4px; background:#efefef;  }





#content_col { background: #CECABF url(/gallery/themes/matrix/images/images_3.jpg) no-repeat; padding: 60px 0 0px 20px; width:664px;  }
td#content_col { padding-bottom:40px; }

#content_col p { font-family: Georgia, "Times New Roman", Times, serif; font-size: 14px; line-height:100%; margin: 2px 0 3px; } 



/* таблица галереи, 4 колонки, рисунки 150x150, с тенью, названием и описанием */
.gal { margin-top:20px; }
.gal td { width:25%; font-family: Georgia, "Times New Roman", Times, serif; font-size: 12px; text-align:center; padding:0 4px 10px;  }

.gal div.image { display:block; margin:0 auto; width:156px; height:170px; background: url("/gallery/themes/matrix/images/shad.jpg") 0 156px no-repeat; padding:0; }
.gal div.image img { border:3px solid #b4afa0; margin:0; padding:0; height:150px; width:150px; }

#content_col .gal p { margin:0; padding:0; text-align:left; font-size:12px; line-height:100%; font-family: Arial, Helvetica, sans-serif;}
#content_col .gal p.title, #content_col .gal p.title a { font-size:12px; color:#942000; font-weight:bold; text-align:center; font-family: Georgia, "Times New Roman", Times, serif; margin-bottom:4px; text-decoration:none;}
#content_col .gal p.title a:hover { text-decoration:underline; }
#content_col .gal p.descr { font-size:10px; color: #404040; text-align:justify; }

/* navigation pages */
#nav-pages { font-family:Arial; font-size:12px; line-height:13px; list-style: none; margin:20px 0 30px; padding:0; display:block; height:22px;  }
#nav-pages li { float: left; margin:0; padding:0; }
#nav-pages a { margin-right: 3px; padding: 3px 4px; display: block; text-decoration: none; }
#nav-pages a { border: 1px solid #b4afa0; color: #404040; }
#nav-pages a:hover { border: 1px solid #404040;}
#nav-pages a.now { font-weight: bold; font-style: normal; color: #404040; background: #b4afa0; border: 1px solid #b4afa0; }

/* классы подстроенные под имеющееся */

#nav-pages { margin:0; padding:0; list-style: none; }
#content_col .block-core-Pager, #content_col .block-core-Navigator { font-family:Arial; font-size:12px; margin:20px 0 0px; padding:0; display:block; clear:both; }
#content_col .block-core-Pager span a { border: 1px solid #b4afa0; color: #404040; font-weight: normal; text-decoration: none; display: inline;  padding: 3px 4px; }
#content_col .block-core-Pager span { font-weight: bold; margin:0 2px; }
#content_col .block-core-Pager span a:hover { border: 1px solid #404040; }

#content_col .block-core-Navigator a { border: 1px solid #b4afa0; color: #404040; font-weight: normal; text-decoration: none; margin-right:10px; padding: 3px 4px;  }
#content_col .block-core-Navigator a:hover, #content_col .block-core-Pager span a:hover { border: 1px solid #404040; }

#content_col .next-and-last, #content_col .first-and-previous { height:22px; margin-bottom:3px; }
#content_col .next-and-last { float: right; }
#content_col .first-and-previous { float:left; }

#content_col .block-core-Pager { height:20px; padding-top:4px; margin-bottom:20px; }
#content_col .block-core-Navigator div { padding-top:4px;}

/*
.next-and-last .next, .first-and-previous .previous { display:none; }
*/


#content_col #gsImageView img { border:5px solid #b4afa0; display:block; margin:0 auto;  }
#content_col #gsImageView {  }

#g-nav { margin:20px 0 10px; width:200px; height:45px; position:relative; }
#g-nav a.gbut {  width:45px; height:45px;  display:block; position:absolute; top:0; }
#g-nav a.gbut-m { width:30px; height:30px;  display:block; position:absolute; top:8px; }

#g-nav a#g-first { left:0; background:url(/gallery/themes/matrix/images/g-first.gif) no-repeat 0 0; }
#g-nav a#g-last { right:0; background:url(/gallery/themes/matrix/images/g-last.gif) no-repeat 0 0; }
#g-nav a#g-first:hover { background-position: 0 -30px; }
#g-nav a#g-last:hover { background-position: 0 -30px; }

#g-nav a#g-prev { left:48px; background:url(/gallery/themes/matrix/images/g-prev.gif) no-repeat 0 0; }
#g-nav a#g-next { right:48px;  background:url(/gallery/themes/matrix/images/g-next.gif) no-repeat 0 0;  }
#g-nav a#g-prev:hover { background-position: 0 -45px; }
#g-nav a#g-next:hover { background-position: 0 -45px;  }



div.block-core-PhotoSizes { padding:0px 0 0 16px; width:100%; margin:10px 0; border-left:2px dotted #7f4b2e;  }
div.block-core-PhotoSizes a { font-weight:bold; }
div.block-core-PhotoSizes, div.block-core-PhotoSizes select, div.block-core-PhotoSizes select option { font-size: 12px; line-height:20px; }



/* catalog of materials */


img.pbig { border:6px solid #b4afa0; margin:0; padding:0; height:80px; width:80px;  margin-top:6px; margin-bottom:20px; display:block; }

#content_col div.pdesc p { font-size:13px; line-height:130%; }
#content_col div.pdesc { margin-bottom:20px; }

table.ptech { background:#f4f3f1; font-family: Arial, sans-serif; font-size:14px; text-align:center; }
table.ptech th, table.ptech td { padding:5px 12px; }
table.ptech th { background: #b4afa0; font-size:11px; color:#000;}
table.ptech td { border-bottom:1px solid #b4afa0; }

a.pdownload { font-family: Arial, sans-serif; font-size:13px; font-weight:bold; padding-left:28px; background: url(/gallery/themes/matrix/images/icon_download.gif) 8px 2px no-repeat; margin:6px 0; display:block; color:#7f4b2e; text-decoration:none; }
a.pdownload:hover { text-decoration:underline; }

#content_col p.ppal { text-align:center; width:92px; font: 11px Arial; letter-spacing:2px; background:#b4afa0; color:#fff;  }


ul.pgal { list-style:none; padding:0; margin:0; overflow:hidden; width:100%; margin-left:2px; }
ul.pgal li { padding:0; margin:0; width:42px; height:42px; float:left; padding:1px; }
ul.pgal li a { display:block; padding:1px; }
ul.pgal li a:hover { background: #fff;} 
ul.pgal li a img { width:40px; height:40px; }



.gal2 { margin-top:0px; margin-bottom:0px; }
.gal2 td { width:130px; text-align:center; }
.gal2 a img { border:3px solid #b4afa0; margin:0; padding:0; height:120px; width:120px; _display:block; }
.gal2 a { margin:0; padding:0; text-align:center; line-height:100%; font: bold 11px Arial, Helvetica, sans-serif; color:#806f5a; text-decoration:none;   }
.gal2 a:hover { color:#7f4b2e; text-decoration:none; }


#content_col p.pcontact { margin:20px 0; padding:6px 16px 10px; background: #7f4b2e; color:#fff; font: 14px Arial; }


hr { width:100%; background:none; height:0px; font-size:1px; display:block; border:0; border-bottom:4px double #b4afa0; margin:18px 0;}




table.cat1 { width:auto; margin:0; padding:0; margin-top:10px;  }
table.cat1 td { width:210px; font: 18px/17px Georgia, sans-serif;  padding-bottom:30px; text-align:center; vertical-align:middle; }
table.cat1 td div { background:url(/gallery/themes/matrix/images/shad1.jpg) no-repeat 50% 0; display:block; padding:0 20px; margin-bottom:6px; }
table.cat1 td img { width:150px; height:150px; text-align:center; border:6px solid #b4afa0; margin:0; padding:0;  }
table.cat1 td a:hover img {  border:6px solid #f4f3f1;   }
table.cat1 td a:hover { text-decoration:none;  }



table.cat2 { width:100%; margin:0; padding:0;  }
table.cat2 td { font: 15px Georgia, sans-serif;  padding-bottom:16px; }
table.cat2 td img { width:90px; height:90px; text-align:left; border:4px solid #b4afa0; margin:0; padding:0;  }
table.cat2 td a:hover img {  border:4px solid #f4f3f1;   }
table.cat2 a.acat2 { display: inline-block; font-weight:bold;  padding: 1px 44px 2px; line-height:16px; margin-top:6px;  background:#b4afa0; color:#f4f3f1; }
table.cat2 a.acat2:hover { color:#b6004d; text-decoration:none; }

#content_col h1 { text-align:left; margin:0; margin-bottom:26px; padding:2px 0px 2px 120px; color:#7f4b2e; font: bold 26px/26px serif; background:url(/gallery/themes/matrix/images/title1.gif) 24px 6px no-repeat;  font-variant:small-caps; }

#content_col h2 { text-align:left; margin:0; margin-bottom:16px; padding:2px 0px 2px 164px; color:#b6004d; font: bold 20px/20px serif; background:url(/gallery/themes/matrix/images/title2.gif) 120px 6px no-repeat;   }

#content_col.content_gal h2 { margin:20px 0 10px; padding-left:0; font-size: 14px; font-family: Arial, sans-serif; color:#942000; background:none;  }

#content_col h3, #content_col h3.pname { text-align:left; margin:0; margin-bottom:10px; padding:2px 0px 2px 120px; color:#006bb6; font: bold 20px/20px serif;  background:url(/gallery/themes/matrix/images/title1.jpg) 0 0 no-repeat; }

#content_col h4 { color: #006bb6; font: bold 13px/16px Arial, sans-serif; text-transform: uppercase; letter-spacing:1px; margin:0; padding:0; text-align:left; padding-left:8px; margin-top:10px; }




table.cat4 td a { margin-right:6px; }
table.cat4 td { padding-bottom:10px; }

#content_col .p-int { text-align:justify; line-height:130%; margin-bottom:10px;}

.seo { margin:100px 0 20px; padding:0px 10px; }