body {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  width: 100%;
  height: 100%;
  line-height: 138%;
  background: #f8f9fa;
  color: #505660;

  padding-top: 22px;
}
html {
  height: 100%;
}

/* ÎÁÙÈÅ */
a {
  color: #03c;
  background-color: inherit; background-image: none;
  text-decoration: underline;
}
a:hover {
  color: #36f;
  background-color: inherit; background-image: none;
  text-decoration: underline;
}
hr.hidden {display: none}
hr {
  border-style: solid;
  border-color: #2c8f87;
  border-width: 2px 0 0;
  padding: 0;
  height: 2px;
}

p {
  padding: 0;
  margin: 0 0 1em;
}

table {
  border-collapse:collapse;
  border-spacing: 0;
}
td {
  padding: 0;
}
ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  margin-bottom: 1em;
}
ul {
  margin-left: 2em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
ol {
  color: #b8c4d1;
  background-color: inherit;
  padding: 0 0 1em 25px;
}
  ol li {
    margin-bottom: 0.6em;
    padding-left: 1em;
  }
  ol li span {
    font-weight: bold;
  }

h1,h2,h3,h4 {
  margin: 1.6em 0 0.3em;
  padding: 0;
}
h1 {
  margin: 80px 0 0.8em 37px;
  color: #333;
  background-color: inherit;
  font-size: 24px;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
}
  h1 a, h1 a:hover {
    color: #333;
  }
h1.main {
  margin: 0 0 0.7em 20px;
  font-size: 28px;
}
h2 {
  font-weight: normal;
  line-height: 120%;
  font-size: 20px;
}
.nobr {
  white-space: nowrap;
}

span.plaquo {
  margin-right: 0.54em;
}
span.laquo {
  margin-left: -0.54em;
}
  a span.laquo {
    text-decoration: underline;
  }
span.pquot {
  margin-right: 0.32em;
}
span.quot {
  margin-left: -0.32em;
}
  a span.quot {
    text-decoration: underline;
  }

span.ldquo {
  margin-left: -0.32em;
}
  a span.ldquo {
    text-decoration: underline;
  }

img, .png {
  border: none;
  font-size: 130%;
  line-height: 70%;
}
.clr {
  clear: both;
}

/**********************************************/
#prewrap {
  width: 100%;
  height: 100%;
}
  #prewrap td {
    width: 11%;
  }
  #prewrap td#wrap {
    width: 78%;
    text-align: left;
    vertical-align: top;
  }
  td#wrap #wrapdiv {
    position: relative;
    padding: 22px 25px 0;
  }
    td#wrap .spacer {
      font-size: 1px;
      height: 1px;
      width: 905px;
      clear: both;
    }

h2.vmd {
  font-size: 18px;
  line-height: 130%;
  width: 180px;
  font-weight: normal;
  padding: 0 0 0 7px;
  margin: 0;
  margin-right: -400px;
  float: left;
  color: #000;
  background-color: inherit;
  position: absolute;
}
  h2.vmd span {
    font-size: 33px;
    font-weight: bold;
  }
  h2.vmd a {
    text-decoration: none;
    color: #000;
    background-color: inherit;
  }
  h2.vmd a:hover {
    color: #000;
    background-color: inherit;
    text-decoration: none;
  }

#topmenu {
  width: 60%;
  display: block;
  margin-left: 330px;
  margin-top: 23px;
  margin-right: 40px;
}
  #topmenu td {
    text-align: center;
    vertical-align: middle;
    width: 20px;
  }
  #topmenu td.sp {
    width: 20% !important;
    background: #f8f9fa;
    border: 1px solid #f8f9fa;
  }
  #topmenu td.sp div {
    width: 20px;
    height: 1px;
  }
    #topmenu td.sp:hover {
      background: none;
    }
    html>body #topmenu li {
      padding-right: 6%;
    }
    #topmenu a, #topmenu span {
      display: block;
      overflow: visible;
      font-size: 14px;
      color: #000;
      background-color: inherit;
      white-space: nowrap;
      text-decoration: none;
      padding: 6px 6px;
    }
    #topmenu a[class], #topmenu span[class] {
      /*width: inherit;*/
    }
    #topmenu span.hact, #topmenu a.subact {
      font-weight: bold;
    }
    #topmenu span.hinact {
      color: #ccc;
    }
    #topmenu a:hover {
      background: #39a87f url(../images/top_menu_bg.jpg) right top no-repeat;
      color: #fff;
    }

/**********************/
.left {
  float: left;
  width: 67%;
  position: relative;
}

#main_text {
  left: 20px;
  width: 59%;
}


.right {
  float: right;
  width: 29%;
  min-width: 280px;
  position: relative;
}
.right[id] {
  width: 32%;
}
  .right img.image {
    display: block;
    margin: 100px auto 0;
  }
.right hr.pad {
  margin-right: 6px;
}
#content {
  background: #f1f4f6;
  color: inherit;
  border-top: 2px solid #2c8f87;
  padding: 20px 0 80px 70px;
}

#hk {
  font-size: 80%;
  background: #e7ebef;
  padding: 2px 10px;
  color: #1f476e;
}



/*********************/

#copyright {
  height: 150px;
  position: relative;
  clear: both;
}
  #copyright span.copy {
    position: absolute;
    top: 80px;
    left: 7%;
  }
  #copyright div.counter {
    width: 88px;
    height: 21px;
    padding: 2px 0 4px;
    background: url(../images/liru.gif) top left no-repeat;
    position: absolute;
    left: 40%;
    top: 78px;
  }
  #copyright div.vm {
    position: absolute;
    top: 80px;
    right: 7%;
  }
  #valid {
    background: url(../images/valid1.gif);
    height: 16px;
    width: 16px;
    display: block;
    position: absolute;
    right: 7px;
    margin-top: -23px;
  }
    #valid:hover {
      background: url(../images/valid2.gif);
    }

/******* MAIN *******/
#main_projects {
  margin-top: 45px;
  border-top: 2px solid #2c8f87;
  color: inherit;
  background: #f1f4f6;
  padding: 3px 7px 14px;
  margin-bottom: 50px;
}
  #main_projects table {
    border-collapse: separate;
    border-spacing: 15px;
    margin-top: 6px;
    width: 100%;
  }
    #main_projects td {
      background: #f6f8f9;
      border: 1px solid #e2e4e5;
      color: inherit;
      vertical-align: middle;
      text-align: center;
      height: 185px;
      line-height: 150%;
      width: 25%;
    }
    #main_projects td a.aimp {
      text-decoration: none;
    }
#main_years {
  float: right;
  margin-top: -52px;
  padding-right: 97px;
  position: relative;
}
  .years span {
    float: left;
    height: 17px;
    width: 36px;
    text-align: center;
    line-height: 17px;
    color: #fff;
    background-color: inherit;
    margin-left: 12px;
    display: block;
  }
    .years span a, .years span span {
      display: block;
      font-size: 11px;
      margin: 0;
      white-space: nowrap;
    }
    .years .text {
      width: auto;
    }
    .years span span {
      background: #339d82 url(../images/main_year_bg.jpg) center top no-repeat;
      color: inherit;
    }
    .years span a {
      color: #999999;
      background-color: inherit;
      text-decoration: none;
    }
      .years span a:hover {
        color: #666666;
      }
#main_paint1 {
  position: absolute;
  display: block;
  right: 2px;
  top: 210px;
  width: 164px;
  height: 136px;
  background: url(../images/paint_top.png) left top no-repeat;
  cursor: pointer;
}
#main_paint2 {
  position: absolute;
  display: block;
  right: 54px;
  top: 346px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 1;
}
#main_paint_shadow {
  width: 25px;
  height: 30px;
  position: absolute;
  right: -3px;
  top: 33px;
  overflow: hidden;
}
  #main_paint_shadow div.shadow {
    width: 25px;
    height: 30px;
    position: absolute;
    top: 0;
    background: url(../images/paint_shadow.png) 0 0 no-repeat;
  }
  #main_paint_shadow div.bg {
    width: 25px;
    height: 30px;
    position: relative;
    background: url(../images/paint_shadow2.png) 0 0 no-repeat;
  }
#main_paint_drop {
  position: absolute;
  right: 6px;
  top: 405px;
  background: url(../images/paint_drop.png) left top no-repeat;
  width: 24px;
  height: 13px;
  z-index: 10;
}

#main_ul {
  list-style: none;
  margin-top: 25px;
}
  #main_text .dicon {
    background-repeat: no-repeat;
    padding-left: 106px;
    height: 104px;
    min-height: 104px;
    overflow: visible;
    margin-bottom: 5px;
    padding-top: 10px;
  }
    html>body #main_text .dicon {
      height: 100%;
    }
  #main_ul h3 {
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #505660;
    background-color: inherit;
    border-bottom: 1px solid #e6e6e2;
  }
  #main_ul p {
    margin: 0;
  }
  #main_ul a {
    text-decoration: none;
    color: #333;
  }

.hidden {
  display: none;
}

/************************************************************************/


#main_text .browser {
  background: url(../images/main_icons/browser.php) 0 0 no-repeat;
}
  #main_text .browser:hover, #main_text .browser_hover {
    background: url(../images/main_icons/browser.php) 0 -1000px no-repeat;
  }
#main_text .seo {
  background: url(../images/main_icons/seo0.gif) 0 0 no-repeat;
}
  #main_text .seo:hover, #main_text .seo_hover {
    background: url(../images/main_icons/seo0.gif) 0 -1000px no-repeat;
  }
#main_text .support {
  background: url(../images/main_icons/support0.gif) 0 0 no-repeat;
}
  #main_text .support:hover, #main_text .support_hover {
    background: url(../images/main_icons/support0.gif) 0 -1000px no-repeat;
  }
#main_text .hosting {
  background: url(../images/main_icons/hosting0.gif) 0 0 no-repeat;
}
  #main_text .hosting:hover, #main_text .hosting_hover {
    background: url(../images/main_icons/hosting0.gif) 0 -1000px no-repeat;
  }
#main_text .poly {
  background: url(../images/main_icons/poly0.gif) 0 0 no-repeat;
}
  #main_text .poly:hover, #main_text .poly_hover {
    background: url(../images/main_icons/poly0.gif) 0 -1000px no-repeat;
  }


#main_news {
  margin-top: -60px;
}
  #main_news h3 {
    font-size: 23px;
    font-family: "Times New Roman", Times, serif;
    font-weight: normal;
    color: #333;
    background-color: inherit;
    margin-bottom: 40px;
  }
  #main_news p {
    margin-bottom: 0;
  }
  #main_news div {
    margin-bottom: 2em;
  }
  #news_archive {
    float: right;
    background: url(../images/news_archive.gif) top right no-repeat;
    padding-top: 43px;
    width: 144px;
    height: 78px;
  }
    #news_archive a {
      margin-left: 18px;
      width: 60px;
    }
    .bubble {
      color: #0e7089;
      background-color: inherit;
      font-size: 13px;
      display: block;
      line-height: 100%;
      font-weight: bold;
    }
#contacts {
  clear: both;
  border-left: 9px solid #dfe5e9;
  background: #f1f4f6 url(../images/contacts_bg.gif) top left repeat-y;
  color: inherit;
  position: relative;
  z-index: 10;
  height: 155px;
}
  #teaser_phone {
    width: 219px;
    height: 68px;
    background: url(../images/teaser_phone.gif) bottom left no-repeat;
    font-size: 19px;
    color: #26242d;
    position: absolute;
    left: 7%;
    padding-top: 40px;
  }
    #teaser_phone a {
      margin-left: 56px;
      margin-top: 15px;
      width: 40px;
    }
  #teaser_zayavka {
    width: 219px;
    height: 119px;
    background: url(../images/teaser_zayavka.jpg) bottom left no-repeat;
    font-size: 19px;
    color: #26242d;
    position: absolute;
    left: 40%;
  }
    #teaser_zayavka a {
      margin-left: 23px;
      margin-top: 74px;
      width: 60px;
    }
  #note_sm {
    height: 80px;
  }
  #note {
  }
  .note {
    width: 145px;
    background: url(../images/note.gif) top left no-repeat;
    position: absolute;
    z-index: 50;
    right: 30px;
    margin-top: -44px;
    font-size: 11px;
    color: #0a4b40;
    padding: 22px 31px 48px 42px;
    overflow: hidden;
    line-height: 18px;
    cursor: pointer;
  }
    .note .text {
      position: relative;
      z-index: 100;
    }
    .note .quote {
      color: #bfbda3;
      background-color: transparent;
      font-size: 35px;
      height: 22px;
      line-height: 27px;
      position: absolute;
    }
    .note .quote.l {
      margin-left: -23px;
      margin-top: -10px;

    }
    .note .quote.r {
      margin-top: -10px;
      margin-left: -37px;
    }

/****** NEWS ********/
.date {
  color: #979797;
  background-color: inherit;
  font-size: 90%;
}
div.news {
  padding-left: 90px;
  margin: 2em 0;
}
  div.news .date {
    display: block;
    margin-bottom: -1em;
    line-height: 8px;
    margin-left: -90px;
  }

.bigyear {
  font-size: 18px;
  line-height: 18px;
  margin: 0.5em 0;
  margin-left: 40px;
  text-decoration: none;
  display: block;
  width: 80px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
}
span.bigyear {
  color: #999;
}

/******** PORTFOLIO ********/
#portfolio div.item {
  height: 60px;
  min-height: 60px;
  border-bottom: 1px solid #e6e6e2;
  background: url(../images/portfolio_bg.jpg) top left no-repeat;
  padding-left: 25px;
  padding-top: 15px;
  color: #445352;
  background-color: inherit;
  clear: both;
}
  #portfolio div.item[class] {
    height: auto;

  }
  #portfolio div.item .short {
    margin-left: 92px;
    display: block;
  }
  #portfolio div.item img, #portfolio div.item .png  {
    margin-right: 17px;
    float: left;
    vertical-align: top;
    margin-top: -15px;
  }
  #portfolio div.item .date {
    line-height: 100%;
    display: block;
    margin-left: 92px;
    margin-bottom: 5px;
  }
  #portfolio .years {
    margin-bottom: 20px;
    padding-bottom: 1px;
	margin-left: -20px;
	position: relative;
  }

div.portfolio_item img, img.border {
  border: 1px solid #ccc;
}
div.portfolio_item a img {
  border: 1px solid #cdcdcd;
}
  div.portfolio_item {
    padding-top: 1.8em;
    overflow: visible;
    margin-right: -250px;
    padding-right: 250px;
  }

.leftright {
  position: absolute;
  right: 40px;
  margin-top: -5px;
  width: 400px;
  height: 50px;
  font-size: 35px;
  text-align: right;
}
  .leftright span {
    color: #ccc;
  }
  .leftright a, .leftright a:hover {
    text-decoration: none !important;
  }
  #portfolio_ctrl {
    font-size: 80%;
    line-height: 100%;
  }

/***** form *******/
input {
  padding: 1px 3px;
}
input, select {
    height: 16px;
}
input.button {
    color: #505660;
    background: #f6f4f2 url(../admin/images/button_bg.gif) repeat;
    padding: 0 1em;
    font-size: 14px;
    font-weight: bold;
    height: 24px;
    width: auto !important;
    cursor: pointer;
}
form {
  margin: 0;
  padding: 0;
}
input, select, textarea, iframe {
  border: 1px solid #ccc;
}
input.w600 {
  width: 244px;
}
textarea.w600 {
  width: 250px;
  font-family: Arial, Helvetica, sans-serif;
}
table.form td {
  padding: 4px 5px;
}
.red {color: #f66;background-color: inherit; background-image: none}
.grey {color: #b1b1b1;background-color: inherit; background-image: none}

input.w600file {
  width: 252px !important;
  height: auto;
}


.client_item {
  margin-right: 20px;
  width: 140px;
  text-align: center;
  height: 200px;
  float: left;
  line-height: 120%;
}
  .client_item .img {
    display: block;
    height: 135px;
  }
  .client_item img {
    display: block;
    margin: 0 auto;
    border: none;
  }

  .client_item .name {
    font-family: "Times New Roman", Times, serif;
  }


.works .item {
  width: 100px;
  margin-right: 10px;
  height: 120px;
  float: left;
  text-align: center;
}

.times {
  font-family: "Times New Roman", Times, serif;
}

.doc_item {
  text-align: center;
  float: left;
  width: 200px;
  color: #000;
  margin-right: 20px;
}
  .doc_item img {
    border: 1px solid #999;
    display: block;
  }
  .doc_item span.times {
    display: block;
    margin-top: -1em;
  }


#mainuslugi{
position:relative;margin-left:-10px;height:160px;width:100%;background:url(../images/t1.gif) 0 0 repeat-x;margin-top:63px
}

  #mainuslugi .t1{
height:160px;width:100%;background:url(../images/t2.gif) 0 0 no-repeat
}

#mainuslugi .t3{
height:160px;width:100%;background:url(../images/t3.gif) top right no-repeat;padding-top:27px;
}

#mainuslugi .lft{
margin-left:65px
}

#mainuslugi .lft p{
margin-bottom:10px;font-size:120%;font-weight:bold
}


#clients{ font-size:120%; 
font-weight:bold; 
background: url(../images/textura.jpg) top right no-repeat; 
width: 296px; 
height: 89px; 
padding: 30px 0 0 5px; }



div.client {margin-right: 40px; margin-bottom:30px; float: left; width: auto; position: relative; }
div.prompt {border: 1px solid #ccc;padding: 5px 7px; background: #eee; width: 120px; position: absolute; top: 75px; right: -80px; display: none;z-index: 50;}
