body,div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,input,fieldset,p,blockquote,th,td {
  margin:0;
  padding:0;
}

html {
  background-color: #F4DBA5;
}

body {
  color: black;
  font-size: 12px;
  line-height: 18px;
  font-family: Tahoma, Arial, sans-serif;
}

html>body {
  font-size: 12px;
  line-height: 18px;
}

p {
  font-size: 1em;
  line-height: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-family: "Times New Roman", serif;
}

h1 {
  font-size: 2em;
  line-height: 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
  font-weight: normal;
  /* border: 1px solid red; */
}

h2 {
  color : #842507;
  font-size: 1.5em;
  line-height: 1.5em;
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

h3 {
  color : #35383D;
  font-size: 1.3em;
  font-weight:bold;
  line-height: 1.2em;
  margin-top: 0em;
  margin-bottom: 0.2em;
}


/************************ forms **************************/
form {
}

.form-element {
  margin-bottom: 10px;
}

.form-element label {
  font-weight: bolder;
  display: block;
}

input {
}

input.text {
  border: 1px solid #5588be;
  height: 21px;
}

/* firefox */
input.text {
  height: 17px;
  padding: 2px 2px;
}

input.image {
  height: 21px;
}

.question-name, .question-text {
  width: 250px;
}

.question-text {
  width: 350px;
  height: 150px;
  border: 1px solid #5588be;
}

input.submit {
  height: 23px;
  color: #FFFFFF;
  background-color: #3176BF;
  border-top: 1px solid #327ECC;
  border-left: 1px solid #327ECC;
  border-right: 1px solid #3C6B9B;
  border-bottom: 1px solid #3C6B9B;
}
/************************ forms **************************/

/************************ tables **************************/
table {
  border-collapse: collapse;
  width: 100%;
}
table td {
  vertical-align: top;
  padding-right: 1em;
}

/*** photoalbum hack ***/

table.pgThumbTable {
  margin: 0em;
  padding: 0em;
  /* border: 1px solid red; */
}

table.pgThumbTable td {
  padding: 0em;
  margin: 0em;
}

td.pgThumbImageTitle {
  padding: 0px;
}

td.pgThumbText p {
  margin-top: 0em;
}

/*** bordered tables ***/
table.bordered th {
  background-color: #99B8D9;
  border: 1px solid #777;
  padding: 0.1em 0.3em;
}

table.bordered td {
  border: 1px solid #777;
  padding: 0.2em;
}

/************************ tables **************************/

a {
  color : black;
  text-decoration : underline;
}
a:visited {
  color : black;
  text-decoration : underline;
}
a:hover {
  color : #1A4D94;
  text-decoration : underline;
}

a img {
  border: none;
}

img {
  margin : 0em;
}
img.left {
  float : left;
  margin : 1em 1em 0 0;
}
img.right {
  float : right;
  margin : 1em 0 0 1em;
}

.disabled {
  color: gray;
}

ul {
  list-style: square;
  padding: 0em;
  margin: 0em 0em 1em 0em;
}

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

/* IE 6 */
* html ul {  
  padding: 0em 0em 0em 1.5em;
  margin: 0em 0em 1em 0em;
}
* html ol {
  padding: 0em 0em 0em 1.5em;
  margin: 0em 0em 1em 0em;
}

/* IE 7 */
*:first-child+html ul {  
  padding: 0em 0em 0em 1.5em;
  margin: 0em 0em 1em 0em;
}

*:first-child+html ol {  
  padding: 0em 0em 0em 1.5em;
  margin: 0em 0em 1em 0em;
}


/************************** списки ссылок *******************/
div.links ul {
  list-style: none;
}

/* IE 6 */
* html div.links ul {
  padding: 0em;
}

div.links ul li {
  margin-bottom: 0.3em;
}

div.links li.selected {
  font-weight: bold;
}

div.links h1 {
  color: black; 
  font-size: 1.6em;
  line-height: 1.5em;
    margin-top: 1.5em;
  margin-bottom: 1em;
  font-weight: normal;  
}

div.links h2 {
  font-family: Tahoma, Arial, sans-serif;
  color: black;
  font-size: 1.2em;
  line-height: 22px;
  min-height:22px;
    margin-top: 0em;
  margin-bottom: 0.5em;
  font-weight: normal;
  background: transparent url('img/nav_arrow.png') no-repeat 0em 0em;
  padding-left: 30px;
}

div.links h2.selected { 
  background: transparent url('img/nav_sel_arrow.png') no-repeat 0em 0em;
}

div.links.leveled ul {
  padding-left: 30px;
}

/* IE 6 */
* html div.links.leveled ul {
  padding-left: 30px;
}

.nounderline a {
  text-decoration: none;
}
.nounderline a:hover {
  text-decoration: underline;
}

.inline ul li {
  display: inline;
  padding-right: 0.5em;
}
/****************************/


#main {
  margin : auto;
  max-width : 980px;
  min-width : 980px;
  width : auto !important;
  width : 980px;
}

#header-wrapper {
  background: #F4DBA5 url('img/body_bg.png') repeat-x top left;
}

#header {
  margin : auto;
  max-width : 980px;
  min-width : 980px;
  width : auto !important;
  width : 980px;
}

#title {
  background : #E1ECF7 url('img/header_bg.png') no-repeat left top;
  height: 113px;
  padding: 0px 3em;
}

#logo {
  float:left;
  width: 73%;
}

#logo img {
  height: 113px;
  float: left;
  margin: 0px;
  margin-right: 2em;
  margin-left: 10px;
}
#logo h1 {
  font-size: 2.5em;
  margin: 0px;
  padding-top: 40px;
  padding-bottom: 0.05em;
  line-height: 1em;
}
#logo p {
  font-size: 1.25em;
  margin: 0px;
}

#search {
  margin-top: 40px;
  float: right;
  width: 23%;
}

#search dd input {
  float: left;
  margin-right: 7px;
}

#search dd input.text {
  width: 165px;
}

#menu { 
  margin: 0px;
  padding: 10px 20px 0px 20px;
  background : transparent url('img/menu_bg.png') no-repeat left top;

  height: auto !important;
  height: 28px;
}

#menu ul {
  list-style: none;
  padding: 0px;
  margin: 0px;  
  margin-left: 45px;
}
#menu li {
  float: left;
  margin: 0px 1px;
  padding: 0px;
  background: transparent url('img/navitem_r.gif') no-repeat right top;
  font-size: 90%;
}

#menu li a {
  display: block;
  color : #ffffff;
  padding : 12px 13px 8px 13px;
  background: transparent url('img/navitem_l.gif') no-repeat left top;
}

#menu li a:hover {  
}

#menu li.selected {
  background: transparent url('img/navitem_sel_r.gif') no-repeat right top;
}

#menu li.selected a {
  color: black;
  padding: 12px 19px 8px 17px;
  background: transparent url('img/navitem_sel_l.gif') no-repeat left top;
  text-decoration: none;
}

#menu li.selected a:hover {
}

#content {
  background: transparent url('img/content_bg.png') repeat-y top left; 
  height: auto !important;
  height: 1%;
  overflow: hidden;
  padding: 0px 3em;
  padding-bottom: 3em;
  clear:both;
  margin-top: 0px;
}

#pagecontent {
  float: left;
  width: 48%;
  padding-right: 1%;
}

#pagecontent h2 a {
  color: #842507;
}

.noextra#pagecontent {
  float: left;
  width: 74%;

  /* border: 1px solid red; */
}


#navinfo {
  float: left;
  width: 21%;
  padding-right: 4%;

  /* border: 1px solid red; */
}

#extra {
  float: right;
  width: 23%;
  padding-top: 3.5em;
}

.quicklink {
  margin-bottom: 1.5em;
}

#footer {
  background: transparent url('img/footer_bg.png') no-repeat bottom left; 
  height: 120px;
  padding: 0em 3em;
  font-size: 95%;
}

#copyright {
  margin-top: 24px;
  float: left;
  width: 53%;
  padding-right: 1%;
}

#madeby {
  margin-top: 40px;
  float: left;
  width: 21%;
  padding-right: 1%;
  text-align:center;
}

#buttons {
  margin-top: 40px;
  float: right;
  width: 23%;
}

/************************ subnodes *********************/
.clearer { clear: both; }

.subnode {
  clear: both;
  width: 100%;
  margin-bottom: 1.5em;
}

.gallery {
  clear: both;
  min-height: 80px;
  width: 100%;
  margin: 0em 0em 1.5em 0em;
}

* html .gallery {
  height: 80px;
}

img.photo {
  float: left;
  margin-right: 1.5em;
}

.subnode .details {
  float:left;
  width: 60%;
}

.phone {
  margin: 1em 0em 0em 0em;
  font-size: 150%;
}
/************************ subnodes *********************/

/************************ feedback *********************/
.feedback {
  margin-bottom: 1.5em;
}

.feedback blockquote.question, .feedback blockquote.thanks, div.questionDate {
  font-style: italic;
  min-height: 50px;
  padding-left: 55px;
  margin-bottom: 0.5em;
}

.feedback blockquote.question {
  background: transparent url('img/question.png') no-repeat top left;
}

.feedback blockquote.thanks {
  background: transparent url('img/exclamation.png') no-repeat top left;
}

div.questionDate {
  text-align: right;
}

* html .answer {
  height: 50px;
}

.feedback blockquote p, .answer p {
  padding: 0px;
  margin: 0px;
}
/************************ feedback *********************/

.floatl {
  float: left;
  margin: 0em 1.5em 1.5em 0em;
}

.floatr {
  float: right;
  margin: 0em 0em 1.5em 1.5em;
}

/************************ voting *********************/
div.voting {
  color: #000000;
  background: #ffffff;
  padding: 5px 5px 5px 5px;
  margin: 5px 0px 0px 0px;
}
div.voting p {
  padding: 0px;
}
div.voting select {
  width: 180px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 8pt;
}
table.voting td {
  background-color: #ffffff;
  padding: 5px 0px 0px 0px;
}

table.voting td.answer {
  border-bottom: 1px solid #CCCCCC;
}
table.voting td h2 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 8pt;
  font-weight: bold;
}
input.radio {
  vertical-align: middle;
}
img.vote-result-line {
  border: 1px solid #DDE8F3;
  background-color: #96B5D7;
  height="10px"
}
