/* В первой части использована Malo-CSS Library  автор: Vladimir Carrer */
html,body,div,p{margin:0;padding:0;border:0;}
html{overflow:-moz-scrollbars-vertical;} /* Всегда показывать прокрутку в FF */
.dp20,.dp25,.dp33,.dp50,.dp75,.dp100{float:left;display:inline;*margin-left:-0.04em;}
/* CSS Grid For center layout   Define your default width in %,px or em  .main{margin:0 auto;width:85%;}*/
/* IE margin hack;dp = div percet */
.dp20{width:20%;}
.dp25{width:25%;}
.dp33{width:33.33%;}
.dp50{width:50%;}
.dp75{width:75%;}
.dp100{width:100%;}
.dp960{width:960px; margin:0 auto;}

.clear{clear:both;}
.main{margin:0 auto;width:100%;}

body{width:100%;background:#d1d1d1;font:80% Helvetica, Arial, sans-serif; color:#353535;line-height:150%;}
h1,h2, h3{margin:0 0 10px 0;padding:0px; color:#3F3B3B; clear:both; font-weight:normal;}

h1 {font-size:18pt; margin-top:10px;}
h2{font-size:13pt;color:#2F4B61;}
h3{font-size:13pt;color:#993333;}

p,ul, table {margin:0 0 20px 0;padding:0px;}

#inside_content p { text-align:justify}

#inside_content ul {padding-left:30px;}

a:link{color:#2F4B61}
a:visited{color:#476C8F}
a:hover{color:#993333}
a:active{color:#2E3C00}
a img{border:0}

h1 a:link, h1 a:visited {color:#353535; text-decoration:none;}
h1 a:hover, a:active {color:#7CA2C7; text-decoration:underline;}


hr {border: 0;width: 80%; 	color: #aeaeae;	background-color: #8F8F8F;	height: 1px;	margin: 10px 0;}

/* Шапка */
#header{height:326px; background:#2F4B61 url(/bsystem/templates/base_template/images/headerbg.jpg) top center no-repeat; border-bottom:5px solid #DFDFDF; color:#f8fcf8; font-size:140%;}
#header b span {color:#a4b4c3;}
#header small {font-size:11px; color:#a4b4c3;}
#ftHolder { width: 100%; height: 326px;}
#ft {width:100%; text-align:center}
#base_template #header {height:230px;}

#logo{margin:40px 0 0 30px;padding:0px;}
#tel {padding:30px 0 0 45px; font-size:140%;}
#begstroka {margin-top: 20px; text-align:center; font-size:160%;}

.columns div p, .columns div h3, .columns div h2 {padding: 0 10px;}
.columns div ul {padding: 0 0 0 20px;}
.columns div h2 {}

/* Навигация по сайту */
#menu1{padding:0; margin-top:10px; cursor:default; border-top:1px solid #aeaeae;border-bottom:1px solid #aeaeae;}
#menu1 a:link, #menu1 a:visited{outline: none; font-weight: bold; font-size: 12px; margin-right:5px; display:inline; height:34px; padding:10px; line-height:34px; color:#000000;text-transform:uppercase;text-decoration:none;}
#menu1 a:hover,#menu1 a.active{outline: none;color:#CFE7FF;background:#2F4B61;}
/* Навигация по сайту */
#inside_content #menu2 {padding:20px 0;} 
#menu2 {cursor:default;}
#menu2 a:link, #menu2 a:visited {background:#DFDBD1; display:block; float:left; padding:7px 11px; margin:0 2px 0 0; border:0; margin-bottom:2px;}
#menu2 a:hover, #menu2 a.active{color:#fff; background:#993333; text-decoration:none;}

.menu3{padding:0; cursor:default; margin-bottom:5px;}
.menu3 a:link, .menu3 a:visited{border:0; display:block; font-weight:normal; color:#6F6F6F; padding:5px 0 5px 20px; margin:0; background:#EFEFEF; text-decoration:underline;font-size:85%;}
.menu3 a:hover,.menu3 a.active{text-decoration:none;  background:#DFDFDF}
/* content */
#content{padding:2% 0; overflow:hidden;}

#office {padding:20px 0; clear:both;}
#office div {text-align:center}
#office img {border:5px solid #DFDFDF;}

#inside_content {padding: 0 20px; background:#fff; }

.sidebar {padding:20px 10px 20px 15px; background: #fff;}
.sidebar h3 {margin-top:20px; text-align:right; border-bottom:1px solid #DFDED1;}

#ask {position:absolute; left:0; top:40%;}

/* Подвал */
#footer{border-top:2px solid #aeaeae; clear:both; padding:2% 0; font-size:85%;}

  #parts-p {padding:20px 0 0 0; overflow:hidden; height:280px;}
  #parts-p div {display:none;}
  ul#parts-links {list-style:none; padding: 20px 20px 0 20px;}
  #parts-links li {}
  #parts-links a:link,#parts-links a:visited {outline:none; display:block; padding:5px 10px;}
  #parts-links a:hover, #parts-links a:active {background:#dedede; text-decoration:none;}

      .slide-out-div {
          padding: 20px;
          width: 350px;
          background: #DFDFDF;
          border: 3px solid #fff;
          z-index:200;
      } 

      .slide-out-div2 {
          padding: 20px;
          width: 350px;
          background: #DFDFDF;
          border: 3px solid #fff;
          z-index:199;
      } 

.gallery{width:100%; list-style:none;padding:0px;margin:0;}
.gallery li {padding:0px; width:200px; border:2px solid #7F7A6F; height:133px; overflow:hidden; float:left; margin: 0 20px 20px 0;*margin-left:-0.04em;}
.gallery li img{width:200px;}

#svamitabotayut td {background:#DFDFDF; border-top:3px solid #BFBFBF; padding:10px 0 20px 0; text-align:center;}
#svamitabotayut td img {}

/* Спасибо за внимание! Удачи! */