* {
  line-height: 130%;
}

html, body {
  margin: 0px;
  padding: 0px;
}

.main-table, .footer {
  font-family: Tahoma,Geneva,Kalimati,sans-serif;
  font-size: 12px;
  color: #3e3d3d;
}

body {
  background: #f8f4d3;
}

.main-table table {
  border-collapse: collapse;
  border-spacing: 0px;
  border: 0px;
}

.footer table {
  border-collapse: collapse;
  border-spacing: 0px;
  border: 0px;
}

.footer td {
  padding: 0px;
  vertical-align: top;
  text-align: left;
}

.main-table td {
  padding: 0px;
  vertical-align: top;
  text-align: left;
}



.clear-both {
  clear: both;
}

.header, .content-table, .footer {
  clear: both;
  width: 100%;
}

/*Header*/
  .header-table {
    border-collapse: collapse;
    border: 0;
  }

  #top-banners {
    border-collapse: collapse;
    border: 0;
    border-spacing: 0px;
    width: 100%;
  }
  
  #top-banners #banner {
    vertical-align: middle;
    text-align: center;
    padding: 10px 0px;
  }
  
  #top-banners #banner a img {
    border: solid 1px #939393;
  }
  
  
  .top-logo {
    display: block;
    width: 229px;
    height: 122px;
    background: url('http://hitech.tomsk.ru/templates/simple/images/logo.png') no-repeat;
    filter: expression(fixPNG(this));
  }
  
  .top-logo-link {
    display: block;
    /*margin-left: 20px;*/
    margin-top: 10px;
    width: 229px;
    height: 122px;
  }
  
  /*Top Menu*/
    .top-menu-table {
      width: 100%;
    }
    
    td.top-menu-header {}
    table.top-menu-header-table {
      width: 100%;
    }
    
    table.top-menu-header-table td.top-menu-categories {
      vertical-align: bottom;
    }
    
    .active-category {
      background-position: 0px -36px !important;
      color: #343839 !important;
    }
    
    table.top-menu-header-table td.top-menu-categories .top-menu-category {
      color: #efece5;
      font-size: 14px;
      font-family: Tahoma;
      font-weight: bold;
      text-decoration: none;
      display: block;
      height: 24px;
      float: left;
      margin-right: 1px;
      letter-spacing: 0px;
    }
    
    table.top-menu-header-table td.top-menu-categories .top-menu-category div {
      margin-top: 3px;
    }
    
    table.top-menu-header-table td.top-menu-categories .top-menu-category:hover {
      color: #343839;
      text-decoration: none;
    }
    
    table.top-menu-header-table td.top-menu-categories .menu-category {
      width: 66px;
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/menu-category.gif') 0px 0px no-repeat;
    }
    
    table.top-menu-header-table td.top-menu-categories .menu-category:hover {
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/menu-category.gif') 0px -36px no-repeat;
    }
    
    table.top-menu-header-table td.top-menu-categories .menu-category div {
      margin-left: 10px;
    }
    
    table.top-menu-header-table td.top-menu-categories .news-category {
      width: 86px;
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/news-category.gif') 0px 0px no-repeat;
    }
    
    table.top-menu-header-table td.top-menu-categories .news-category:hover {
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/news-category.gif') 0px -36px no-repeat;
    }
    
    table.top-menu-header-table td.top-menu-categories .news-category div {
      margin-left: 12px;
    }
    
    table.top-menu-header-table td.top-menu-categories .articles-category {
      width: 75px;
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/articles-category.gif') 0px 0px no-repeat;
    }
    
    table.top-menu-header-table td.top-menu-categories .articles-category:hover {
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/articles-category.gif') 0px -36px no-repeat;
    }
    
    table.top-menu-header-table td.top-menu-categories .articles-category div {
      margin-left: 12px;
    }
    
    table.top-menu-header-table td.search-form {
      text-align: right;
      vertical-align: bottom;
      padding-right: 2px;
      width: 184px;
    }
    
    td.top-menu-content {
      width: 100%;
    }
    
    table.top-menu-content-table {
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/bg-menu.jpg') repeat-x;
      width: 100%;
    }
    
    td.left-of-top-menu-content {
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/bg-left.gif') left top no-repeat;
      width: 10px;
    }
    
    td.right-of-top-menu-content {
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/bg-right.gif') right top no-repeat;
      width: 10px;
    }
    
    td.all-sub-menus {
      width: 100%;
    }
    
    table.sub-menu-container {
      margin-top: 5px;
      position: absolute;
    }
    
    table.sub-menu-container td.submenus {}
    
    table.sub-menu-container td.submenus .top-sub-menu {
      color: #ffffff;
      font-family: Tahoma;
      font-size: 12px;
      display: block;
      margin-top: 4px;
      margin-right: 20px;
      clear: both;
    }
    
    .top-search-button {
      padding: 0px;
      margin: 0px;
      margin-top: 1px;
      width: 19px;
      height: 21px;
      display: block;
      margin-right: 1px;
      background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/search-button.gif') no-repeat;
    }
    
    .search-button-content {
      padding: 0px;
      margin: 0px;
      margin-top: 1px;
      width: 19px;
      height: 21px;
      display: block;
      margin-right: 1px;
      background: url('http://hitech.tomsk.ru/templates/simple/images/search-button-content.gif') no-repeat;
    }
    
    .search-result-category {
      font-size: 11px;
      padding-top: 1px;
    }
    
    .search-result-category a {
      font-size: 11px;
    }
    
    .attention {
      width: 66px;
      height: 56px;
      background: url('http://hitech.tomsk.ru/templates/simple/images/warning.gif') no-repeat;
    }
    
    .s_field {
      border: solid 1px #939393;
      height: 17px;
      width: 158px;
      color: #3e3d3d;
      padding: 0px;
      padding-top: 2px;
      padding-left: 2px;
    }
    
    .hide {
      display: none;
    }
    
    /* Login Form */
      td.login-form {
        width: 210px;
      }
    
      .login-form-table {
        background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/left-of-login-form.gif') left top no-repeat;
        height: 105px;
        width: 220px;
      }
      
      .left-login-form-td {
        padding-left: 20px !important;
      }
      
      .login-submit {
        padding: 0px;
        margin: 0px;
        margin-top: 1px;
        width: 19px;
        height: 21px;
        display: block;
        margin-right: 1px;
        background: url('http://hitech.tomsk.ru/templates/simple/images/top-menu/login-button.gif') 0px 0px no-repeat;
        border: 0px;
      }
      
      .login-form-table td a {
        color: #ffffff !important;
        font-size: 10px !important;
        text-decoration: underline;
      }
      
      .login-form-table td a:hover {
        text-decoration: none;
      }
    
    /*// Login Form */
    
  /*//Top Menu*/
  
/*//Header*/


/*Main Table*/
table.main-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  border: 0px;
}

table.main-table td {
  padding: 0px;
}

/* QUOTE */        
        .title_quote {
          padding: 3px 20px;
          margin: 5px 0 -5px 10px;
          border: solid 1px #cdcdcd;
          border-bottom-width: 0px;
          font-weight: bold;
        }
        
        .quote {
          margin: 5px 0 5px 10px;
          padding: 10px 20px;
          background: #f9f7df;
          font-style: italic;
          border: solid 1px #cdcdcd;
        }
/* //QUOTE */
         
/* Spoiler */        
        .title_spoiler {
          background: #f9f7df;
          padding: 5px;
          margin: 5px 0px 0px 0px;
          border: solid 1px #cdcdcd;
        }
        
        .title_spoiler a {
          font-size: 11px;
          font-weight: bold !important;
        }
        
        .text_spoiler {
          padding: 10px 20px;
          border: solid 1px #cdcdcd;
          border-top-width: 0px;
        }
/* //Spoiler */  
      


/*Footer*/
.footer {
  height: 75px;
  background: url('http://hitech.tomsk.ru/templates/simple/images/footer-bg.gif') repeat-x;
  border-top: solid 1px #ffffff;
  margin-top: 20px;
  <!--[if IE 6]>
  margin-top: expression('0px');
  <![endif]-->
}

.footer .footer-content {
  border-collapse: collapse;
  border-spacing: 0px;
  border: 0;
  width: 100%;
}

.footer .footer-content .footer-counters {
  width: 326px;
  text-align: left;
  vertical-align: top;
  padding: 0px !important;
}

.footer div.counter {
  float: left;
  margin-left: 10px;
  margin-top: 5px;
}


.footer .footer-copyright {
  color: #FFFFFF;
  font-size: 11px;
  vertical-align: top;
  text-align: left;
  padding-left: 20px;
  padding-top: 10px;
}

.footer-copyright a {
  color: #FFFFFF !important;
  font-size: 11px;
  text-align: left;
}

img {
  padding: 0px;
  margin: 0px;
  border: 0;
}


/*//Footer*/


/* 
 * ========================================
 * Выпадающее меню
 * ========================================
 */ 

#dropmenudiv{
  border: solid 1px #3e3d3d;
  border-bottom-width: 0;
  text-align: left;
}

#dropmenudiv a{
  padding: 5px;
  background: #F4F4F4 !important;
  color: #1c80d5 !important;
  text-decoration: none !important;
  font-size: 10px !important;
  display: block;
  border-bottom: 1px solid #3e3d3d;
  font-family: Tahoma,Geneva,Kalimati,sans-serif !important;
}

#dropmenudiv a:hover{ /*hover background color*/
  background: #3e3d3d !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 10px !important;
  font-weight: bold;
  font-family: Tahoma,Geneva,Kalimati,sans-serif !important;
}

/* 
 * ====================================================================
 * Показ оригинальной картинки загруженной на сайт из уменьшенной копии
 * ====================================================================
 */
.highslide-active-anchor img {
	visibility: hidden;
}
.highslide-image-blur {
}
.highslide-html {
	background-color: white;
}
.highslide-html-content {
	display: none;
}
.highslide-loading {
    display: block !important;
        color: white !important;
        font-size: 9px !important;
        font-weight: bold !important;
    text-decoration: none !important;
        padding: 3px !important;
        border: 1px solid white !important;
    background-color: black !important;
}
a.highslide-full-expand {
	background: url(../dleimages/fullexpand.gif) no-repeat;
	display: block;
	margin: 0 10px 10px 0;
	width: 34px;
	height: 34px;
}
.highslide-footer {
	height: 11px;
}
.highslide-footer .highslide-resize {
	float: right;
	height: 12px;
	width: 11px;
	background: url(../dleimages/resize.gif);
}
.highslide-resize {
    cursor: nw-resize;
}
.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}

/* 
 * ========================================
 * Форум
 * ========================================
 */
 
 .forum-copyright a {
 	font-size: 10px;
 	text-decoration: none !important;
 }
 
 /* 
 * ========================================
 * BB Коды
 * ========================================
 */ 

.editor_button {
	float:left;
	cursor:pointer;
	padding-left: 2px;
	padding-right: 2px;
}

.editor_buttoncl {
	float:left;
	cursor:pointer;
	padding-left: 1px;
	padding-right: 1px;
	border-left: 1px solid #BBB;
	border-right: 1px solid #BBB;
}
.editbclose {
	float:right;
	cursor:pointer;
}
.editor_button select {
        font-family: tahoma;
        font-size: 11px;
}
