html, body, div, span,p, blockquote, pre, code,ul, ol, li,h1, h2, h3, h4, h5, h6,form, fieldset, legend, label, input, textarea,table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
}
img {  border: 0;}
body {
  background: #FFF;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;     /* web safe fonts */
  font-size: 75%;    /* 12px */
  font-weight: normal;
  line-height: 160%;    /* 19.2px */
  min-width:800px;
}
h1 {
  font-size: 2.5em;
  font-weight: normal;
}
h2 {
  font-size: 1.75em;
  font-weight: normal;
}
h3 {
  font-size: 1.25em;
  font-weight: bold;
}
h4 {
  font-size: 1.1em;
  font-weight: bold;
}
h5 {
  font-size: 1em;
  font-weight: bold;
}
h6 {
  font-size: 0.8em;
  font-weight: bold;
}

/*****************/
/* DEFAULT LINKS */
/*****************/
a {
  color: #27638C;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
a:link,a:visited { color: #27638C;}  
a:hover,a:active {  text-decoration: underline;}

/**********/
/* LAYOUT */
/**********/
html {
  background: #F4F7E7;                               /* background & font color */
  color: #666;
}
#page {
  background-color: #F4F7E7;
  margin: 0;
  width: 100%;
}
p {
  font-size: 1em;
  font-weight: normal;
  line-height: 160%;
  margin: 10px 0;
}

/*********/
/* LISTS */
/*********/
ul {
  margin: 0.5em 0 1em;
  padding: 0;
}
ol {
  margin: 0.75em 0 1.25em;
  padding: 0;
}
ol li, ul li {  margin: 0.4em 0 0.4em .5em;}
ul.menu li,.item-list ul li {  margin: 0.15em 0 0.15em 0.5em;}
ul.menu ul, .item-list ul ul {  margin-left: 0;}
ol li,ul li,ul.menu li,.item-list ul li,li.leaf {
  margin: 0.15em 0 0.15em 0;
  padding: 0.2em 0 0 1.333em;
}
ul li,ul.menu li,.item-list ul li,li.leaf {
  background: url('http://www.bti.secna.ru/sqm/seniorbti/images/raquo.png') no-repeat left 0.833em;
  list-style-image: none;
  list-style-type: none;
}
ol li {
  padding: 0 0 .3em;
  margin-left: 2em;
}
div.block ul {  padding: 0 0 3px;}
ul.links li,ul.links.inline {  background: transparent;}
/* remove list styling on login block and taxonomy */
#user-login-form div.item-list ul li,div.terms ul li {
  list-style-type: none;
  margin: 0;
}

/********/
/* MISC */
/********/
hr {  border: 1px solid #D6DDB9;}
div.content a.feed-icon img,div.content th img {border: 0;}

/* format initial startup page list nicely */
#first-time p { clear: both;}
#first-time ol {
  list-style-position: outside;
  margin-left: 2em;
}

/********************/
/* ALL PAGE REGIONS */
/********************/
/******************/
/* HEADER REGIONS */
/******************/
#header {
  background-color: #fff;
  padding-left: 0 px;
}
#header-wrapper {
  background-color: inherit;
  margin: 0 0;
  padding: 0;
}
#search-box {
  background-color: #E1E1E1;
  border: 1px solid #CCCCCC;
  float: right;
  padding: 8px;
  position: relative;
  top: 0;
  width: 20em;
  -moz-border-radius-bottomleft: 12px;
  -moz-border-radius-bottomright: 12px;
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px; 
}
#search-box input#edit-search-theme-form-1 {  width: 170px;}

/* theming for header search box */
#search-box input.form-submit {
  background: #EFEBE7;
  border: 1px solid #ccc;
  color: #194765;
  cursor: pointer; 
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 1.1em;
  font-weight: normal;
  padding: 3px 3px 2px;
  outline: none;
  text-transform: none;
  -moz-border-radius: 0;
  -moz-outline-radius: 0;
  -webkit-border-radius: 0;
}
#search-box label,#search-box a.advanced-search-link {  display: none;}
#header-first { float: left;
background: #F6FAFB url('http://www.bti.secna.ru/sqm/seniorbti/w1.jpg') no-repeat left;
    font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  margin: 0px 0px 0 0;
 width:100%;
 padding-left: 0px;
 height: 60px;

}
#header-first #logo {                            /* logo postion.  default image replaced if you upload your own */
  
 float: left;
  margin: 0 14px 0 0;
}
#header-first h1 {    /* site name link */
  font-size: 3em;
  line-height: 80%;
  margin: 10px 0 15px 0;
}
#header-first h1 a {    /* site name link */
  text-decoration: none;
}
#header-first #slogan {                          /* site slogan */
  display: block;
  font-size: 1.166em;
  margin: 4px 0;
}
#header-middle {
  float: left;
  margin: 10px 20px 0 0;
  width: 230px;
}
#header-last {
  float: right;
  margin: 10px 0 0;
  width: 300px;
}
#header-bottom {
background: #F6FAFB url('http://www.bti.secna.ru/sqm/seniorbti/ee.jpg') no-repeat left;
  margin: 0px 0px 0 0;
  position: relative;
  width:100%;
  height: 108px;
  padding-left: 0px;  
z-index: 600;    /* fixes IE z-index bug */
}

/********************************/
/* PREFACE REGIONS */
/********************************/
#preface {
  background: #144A6E url('http://www.bti.secna.ru/sqm/seniorbti/images/preface-wrapper-bg.png') repeat-x top;
  min-height: 24px;
  padding-left: 15px;
}
#preface-wrapper {
  color: #fff;
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1.5em;
  margin: 0 auto;
  padding: 10px 0 8px 0;
}

/* correct button font size */
#preface-wrapper .form-submit {  font-size: 0.6em;}

/************************/
/*  MAIN AREA WRAPPER   */
/* (Sidebars + Content) */
/************************/
#main {
  background: transparent url('http://www.bti.secna.ru/sqm/seniorbti/images/content-gradient.png') repeat-x 0 1px;
  padding-left: 15px;
}
#main-wrapper {
  margin: 0 auto;
  margin-left:260px;
  margin-right:280px;
}
#main-wrapper a.active {
  color: #144A6E;
  text-decoration: underline;
}
/*******************/
/* SIDEBAR REGIONS */
/*******************/
#sidebar-first {  float: left;}
body.layout-first-main #sidebar-first {
  margin: 24px 14px 0 0;
  margin-left: -260px;
  width: 240px;
}
/*******************/
/* CONTENT REGIONS */
/*******************/
#content-wrapper { float: left; }
#content-top {  margin: 0 0 30px;}
#content {
  margin: 0 0 20px;               /* default spacing between content regions */
  width:99.9%;
}
#content-bottom {
  clear: both;
  margin: 20px 0 0;
}

/*****************/
/* FOOTER REGION */
/*****************/
#footer {
  border-bottom: 1px solid #D6DDB9;
  border-top: 1px solid #D6DDB9;
  clear: both;
  display: block;
  font-size: 0.9em;
  margin: auto 0;
  overflow: hidden;
  padding: 10px 0;
  text-align: center;
  width:100%;
}
#footer ul {
  display: inline;
  margin: 0;
  padding: 0 0 0 9px;
}
#footer ul li {
  background: transparent none repeat;
  border-left: 1px solid #CCC;
  display: inline;
  padding: 0 5px 0 9px;
}
#footer ul li.first {  border: none;}
#legal-notice {
  background: #F4F7E7;
  clear: both;
  color: #AAA;
  display: block;
  font-size: 0.9em;
  padding: 10px 0;
  text-align: center;
  width: 100%;
}
#legal-notice a {  color: #6699CC;}

/****************************************/
/*          COLUMN LAYOUTS              */
/*                                      */
/* Classes for different column layouts */
/* that are applied to the <body> tag.  */
/****************************************/

/**************************/
/*   TWO COLUMN LAYOUT    */
/* (Sidebar:Main Content) */
/**************************/
body.layout-first-main #content-wrapper {
  margin: 34px 0 0 0;
  width:100%;
}

/******************/
/* HELPER CLASSES */
/******************/
.hide {
  display: none;
  visibility: hidden;
}
.left {  float: left;}
.right {  float: right;}
.clear {  clear: both;}
.clearfix:after {                                 /* add .clearfix class to clear floats after an element */
  clear: both;                                    /* (IE version is in ie6-fixes.css) */
  content: "."; 
  display: block;
  font-size: 0;
  height: 0; 
  visibility: hidden;
}

/************/
/* HEADINGS */
/************/
h1.title {                                        /* page titles */
  border-bottom: 1px solid #D6DDB9;
  border-top: 1px solid #D6DDB9;
  clear: left;
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1.833em;
  font-weight: 600;
  line-height: 1.272em;
}  
h2.title {                                        /* block titles, node titles */
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1.333em;
  font-weight: 600;
  text-transform: uppercase;
}  
h2.title a:hover,h2.title a:active {
  color: #619CBE;
  text-decoration: none;
}  
div.node h2.title {
  border-bottom: 1px solid #d6ddb9;
}

/*********/
/* NODES */
/*********/
div.node {
  margin: 0 0 30px;
  overflow: hidden;
}
#content-content .node ul.links li,#content-content .node ul.inline li,#content-content .node .links a {
  background: transparent;
  padding: 0 14px 0 0;
}
div.node .read-more a,div.node .more-link a,div.node .links a {
  font-size: 0.9em;
  font-weight: bold;
  margin: 0;
}  
#content-content .node ul.links li.comment_forbidden a {  padding-right: 4px;}
.submitted,.terms {                                      /* styling for byline and tags */
  font-size: 0.9em;
}
.vocab-name {  font-weight: bold;}
.terms {  line-height: 130%;}
#content-content .terms ul.taxonomy li {
  background: transparent;
  margin: 10px 0 5px;
  padding: 0;
}
#content-content .terms ul.taxonomy ul.vocab-list,#content-content .terms ul.taxonomy li.vocab-term {
  background: transparent;
  display: inline;
  padding: 0 0 0 2px;
}
div.node.full-node div.content {  border-bottom: 1px solid #D6DDB9;}
.node-form .standard {  clear: none;}
.picture {
  float: right;
  margin: 0 0 2px 4px;
  padding: 2px;
}

/**********/
/* BLOCKS */
/**********/
div.block {  position: relative;}
div.block-region {
  background-color: #FFFF66;
  color: #000;
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 16px;
  margin-bottom: 4px;
  margin-top: 4px;
  padding: 3px;
  text-align: center;
}
div.block-wrapper {                    /* spacing between blocks */  margin: 10px 0;}
div.block div.content {  overflow: hidden;}
#user-login-form .item-list ul li,div.terms ul li {
  list-style-type: none;
  margin: 2px 0 0 16px;
}
#header-middle h2.block-title,#header-last h2.block-title {
  color: #51748C;
  font-size: 1.833em;
  margin: 0;
  padding: 0;
}
#preface-wrapper h2.block-title {
  background-color: transparent;
  color: #94CE18;
  font-size: 1em;
  padding: 0;
}
#preface-wrapper .block .content {  margin: 10px 0 0;}
body.layout-first-main-last #sidebar-first .block-wrapper,body.layout-first-main-last #sidebar-last .block-wrapper {
  margin: 0 0 10px;
}
/* rounded blocks styles -= layout-first-main-last & layout-first-main blocks */
#sidebar-first h2.block-title,#sidebar-last h2.block-title,#postscript-wrapper h2.block-title {
  background-color: #94CE18;
  color: #fff;
  padding: 8px 8px 6px 46px;
  text-align: right;
  text-shadow: #545454 1px 1px; 
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
}
#sidebar-first div.block div.content,#sidebar-last div.block div.content,
#postscript-wrapper div.block div.content {
  background: transparent url('http://www.bti.secna.ru/sqm/seniorbti/images/block-gradient.png') no-repeat center bottom;
  border-bottom: 3px solid #F1F5F7;
  padding: 10px 10px 8px;
  -moz-border-radius-bottomleft: 6px;
  -moz-border-radius-bottomright: 6px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px; 
}

/* non-rounded blocks styles = prefaces & layout-main-last blocks */
#preface-wrapper div.block div.content,body.layout-main-last #sidebar-last div.block div.content {  border: none;}
body.layout-main-last #sidebar-last div.block-wrapper {  margin: 0 0 30px;}
#preface-wrapper div.block div.content,body.layout-main-last #sidebar-last div.block div.content,
#footer div.block div.content {
  background: none;
  border-bottom: none;
  margin: 0;
  padding: 0;
}
body.layout-main-last #sidebar-last div.block div.content {  padding: 6px;}
body.layout-main-last #sidebar-last h2.block-title {
  border-bottom: 1px solid #D6DDB9 ;
  background-color: transparent;
  color: #666;
  padding: 0;
  text-align: left;
  text-shadow: none;
  width: 400px;
}
#footer h2.block-title {
  background: transparent;
  color: #666;
}

/***************/
/* BLOCK MENUS */
/***************/
div.block ul li a,div.block ul.menu li a {								
  font-size: 1em;
  font-weight: bold;
}
div.block ul.menu li,div.block .item-list ul li {  margin: 0;}
#footer div.block ul li a,#footer div.block ul.menu li a {  font-weight: normal;}

/*****************************************/
/* ROUNDED CORNERS FOR BLOCKS (optional) */
/*****************************************/
div.rounded-block {
  margin-top: -1px;                               /* use negative margin to overlap stacked blocks */
}
p.rounded-topspace {
  margin-top: -14px;                                  /* removes unwanted space */
}
p.rounded-bottomspace {
  margin-bottom: -10px;                               /* removes unwanted space */
}
div.rounded-block-top-left, div.rounded-block-top-right, div.rounded-block-bottom-left, div.rounded-block-bottom-right { 
  background: transparent url('http://www.bti.secna.ru/sqm/seniorbti/images/rounded-block.png') no-repeat;                         /* combined rounded corner image */
  font-size: 2px;                                 /* IE div correction */
  height: 11px;                                   /* height of an image corner */
}
body.layout-main-last #sidebar-last div.rounded-block-top-left, 
body.layout-main-last #sidebar-last div.rounded-block-top-right, 
body.layout-main-last #sidebar-last div.rounded-block-bottom-left, 
body.layout-main-last #sidebar-last div.rounded-block-bottom-right { 
  background: none;
  font-size: inherit;
  height: auto;
}
div.rounded-block-top-left, div.rounded-block-bottom-left { 
  margin-right: 11px;                             /* width of an image corner */
}
div.rounded-block-top-right {                        /* anchor image in top right */
  background-position: 100% 0;
}
div.rounded-block-top-right,div.rounded-block-bottom-right { 
  margin-left: 11px;                              /* width of an image corner */
  margin-top: -11px;                              /* height of an image corner */
}
body.layout-main-last #sidebar-last div.rounded-block-top-right,
body.layout-main-last #sidebar-last div.rounded-block-bottom-right {   margin: 0;}
div.rounded-block-bottom-left  { 
  background-position: 0 -11px;                   /* negative height of an image corner */
}
div.rounded-block-bottom-right { 
  background-position: 100% -11px;                /* negative height of an image corner */
}
div.rounded-outside,div.rounded-inside {
  background: transparent url('http://www.bti.secna.ru/sqm/seniorbti/images/rounded-block-inner.png') repeat-y right;
  padding-right: 8px;
}
body.layout-main-last #sidebar-last div.rounded-outside,body.layout-main-last #sidebar-last div.rounded-inside {
  background: none;
  margin: 0;
  padding: 0;
}
div.rounded-inside {
  background-position: left;
  padding: 0 0 0 8px;
}

/****************/
/* PRIMARY MENU */
/****************/
#primary-menu {                                   /* menu layout */
  display: block;
  float: right;
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1em;
  font-weight: bold;
  margin-top: 77px;
  padding: 0;
  position: relative;
  text-transform: uppercase;
}

/************************************/
/* PRIMARY MENU WITH DROPDOWNS      */
/* - used with menu_tree theming of */
/* $primary_links in page.tpl.php   */
/************************************/
#primary-menu ul.menu li {                        /* top item layout */
  background: transparent url('http://www.bti.secna.ru/sqm/seniorbti/images/tab-left.png') no-repeat left 0;
  display: block;
  float: left;
  margin: 0 4px 0 0;
  padding: 0 0 0 0.833em;    /* 0 0 0 10px */
  position: relative;
  width:  auto;
}
#primary-menu ul.menu li:hover,#primary-menu ul.menu li.hover,#primary-menu ul.menu li.active-trail {
  background-position: left -29px;
}
#primary-menu ul.menu li a {
  background: transparent url('http://www.bti.secna.ru/sqm/seniorbti/images/tab-right.png') no-repeat right 0;
  color: #154B70;
  display: block;
  padding: 0.416em 0.833em 0.083em 0;    /* 5px 10px 1px 0 */
  text-decoration: none;
}
#primary-menu ul.menu li a:hover,#primary-menu ul.menu li:hover a,#primary-menu ul.menu li.hover a,
#primary-menu ul.menu li.active-trail a {
  background-position: right -29px;
  color: #fff;
}
#primary-menu ul.menu li ul {
  background: transparent url('http://www.bti.secna.ru/sqm/seniorbti/images/drop-bottom.png') no-repeat 0 bottom;
  left: -999em;
  opacity: 0.95;
  margin: 0 0 0 -10px;
  padding: 2px 0 4px;
  position: absolute;
  width: 144px;
  z-index: 2;
}
#primary-menu ul.menu li:hover ul,#primary-menu ul.menu li.hover ul {
  display: block;
  left: auto;
}
#primary-menu ul.menu li ul li {
  background: #94CE18;
  border-bottom: 1px solid #83A638;
  float: left;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.916em;
  height: auto;
  margin: 0;
}
#primary-menu ul.menu li ul li.last {  border-bottom: none}
#primary-menu ul.menu li ul li a,#primary-menu ul.menu li ul li a:link,#primary-menu ul.menu li ul li a:visited {
  background: transparent;
  color: #154B6F;
  display: block;
  margin: 0;
  padding: 4px 0;
  text-transform: none;
  width: 135px;
}
#primary-menu ul.menu li ul li a:hover {
  color: #fff;
  display: block;
  margin: 0;
  padding: 4px 0;
  text-decoration: none;
}
#primary-menu ul.menu li ul li ul.menu {
  left: -999em;
  margin: 0 0 0 -14px;
  padding: 6px 0 4px;
}
#primary-menu ul.menu li ul li:hover ul.menu,#primary-menu ul.menu li ul li.hover ul.menu {
  display: block;
  left: 154px;
  top: -6px;
}
#primary-menu ul.menu li ul li ul.menu li a {
  padding: 4px;
  width: 128px;
}
  
/*********/
/* FORMS */
/*********/
form {
  margin: 0;
  padding: 0;
}
select.form-select,input.form-text,
textarea.form-textarea {                                      /* default styling for all text fields */
  background: #F6F9FB url('http://www.bti.secna.ru/sqm/seniorbti/images/form-bg.png') left top;
  color: #666666;
  border: 1px solid #9BABB0;
  padding: 2px 0;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
body.layout-first-main-last select.form-select,body.layout-first-main-last input.form-text,
body.layout-first-main-last textarea.form-textarea,body.layout-first-main-last div.resizable-textarea,
body.layout-first-main-last div.resizable-textarea .grippie {  max-width: 325px;}
input.form-submit,
input.teaser-button {                                    /* default styling for all form buttons */
  background: transparent url('http://www.bti.secna.ru/sqm/seniorbti/images/blue-button.png') no-repeat left center;
  border: 1px solid #fff;
  color: #fff;
  cursor: pointer;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.916em;
  font-weight: bold;
  margin: 0 4px;
  padding: 2px 4px;
  text-transform: uppercase;
  outline: 1px solid #9BABB0;
  -moz-border-radius: 4px;
  -moz-outline-radius: 4px;
  -webkit-border-radius: 4px;
}
input.form-submit:hover,input.teaser-button:hover  {
  background-position: right center;
  cursor: pointer;
}  
fieldset {
  border: 1px solid #D6DDB9;
  margin: 15px 0;
  padding: 10px;
}
fieldset legend {  font-weight: bold;}
html.js fieldset.collapsible legend a {  font-weight: bold;}
form#system-theme-settings select,form#system-theme-settings input.form-text {  width: 95%;}
#user-login-form {  text-align: left;}
div.form-item label {  font-weight: normal;}
html.js input.form-autocomplete {  background-position: 100% 5px;}

/**********/
/* PAGERS */
/**********/
#main-wrapper .item-list .pager {
  clear: both;
  margin: 0 0 20px;
  text-align: center;
}
#preface-wrapper .item-list .pager li,#main-wrapper .item-list .pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 2px;
}
#main-wrapper .item-list .pager a.active {
  color: #27638C;
  font-size: 1em;
  font-weight: bold;
  padding: 4px;
  text-decoration: none; 
}
#main-wrapper .pager li.pager-current {
  background-color: #D9DBCD;
  border: 1px solid #266996;
  color: #333;
  margin: 0 4px;
  padding: 4px;
}
#main-wrapper .pager-first,#main-wrapper .pager-next,#main-wrapper .pager-previous,
#main-wrapper .pager-item,#main-wrapper .pager-last {
  background-color:#FDFFEF;
  border: 1px solid #266996;
  margin: 0 4px;
  padding: 4px;
}
#main-wrapper .pager-first:hover,#main-wrapper .pager-next:hover,#main-wrapper .pager-previous:hover,
#main-wrapper .pager-item:hover,#main-wrapper .pager-previous:hover,#main-wrapper .pager-last:hover {
  background-color: #EAEFCB;
}

/***************/
/* PRINT STYLE */
/***************/
@media print {
  body {
    background: white;
    font-size: 10pt;
  }
  #header,  #header-top,  #header-wrapper,  #header-bottom,  #sidebar-first,  #sidebar-last,  #preface-wrapper,
  #content-tabs,  #mission,  #slogan,  #postscript-wrapper,  #footer-top,  #footer,  #primary-menu,  #search-box,
  #logo {    display: none;  }
  #page,  #main-wrapper,  #content-wrapper,  #content-top,  #content,  #content-bottom {
    background: transparent none;
    border: 0;
    color: black;
    float: none !important;
    margin: 0;
    padding: 0;
    width: auto;
  }
  #content-wrapper {    margin: 0 3%;  }
}

#x li{
	margin-left:20px;	
	margin-right:20px;
	float:left; 
}
#x{
	width:240px;
	padding-right:120px;
}
#z{width:240px;height:auto;}
#right div.block-icon { left:175px;}
#right #sidebar-first h2.block-title{text-align: left;}
#right  #sidebar-first{
  float:right;
  margin-right: -260px;
}