/* RESET  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++  */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  line-height: inherit;
  vertical-align: baseline;
  background: transparent;
}

strong{
  font-weight:bold;
}

:focus {
  outline: 0;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}

blockquote, q {
  quotes: "" "";
}

/* SKELETON ++++++++++++++++++++++++++++++++++++++++++++++++  */
html, body {
  height: 100%; /* + */
  background-color: #fff;
}

body {
  background: url(/media/pic/body_bg_left_nopaper.png) top left no-repeat;
  background-color: #fff;
  font-size: 62.5%;
  font-family: Arial, Verdana, sans-serif;
  min-width: 980px;
}

body.promo_paper {
  background: url(/media/pic/body_bg_left.png) top left no-repeat;
}

div#box {
  background: url(/media/pic/body_bg_right.png) top right no-repeat;
  /*border: solid 1px #c90;*/
  height: 100%; /* + */
}

div#container {
  background: url(/media/pic/body_bg_line.png) top right repeat-x;
  /*border: solid 2px #f99;*/
  min-height: 100%; /* + */
  overflow: hidden; /* + важно для Gecko */
  //overflow: visible; /* + */
}

* html div#container { 
  height: 100%; /* + ТОЛЬКО для ИЕ6, в 7-ом ненадо */
}

div#container, div#footer {
  position: relative; /* + */
}

div#page { /* + */
  /*border: solid #333 1px;*/
  margin-bottom: 231px;
  overflow: hidden;
  zoom: 1;
}

body.promo_paper div#page {
  min-height: 760px;
}

#Popup
{
   visibility: hidden;
   position: fixed;/*absolute;*/
   left: 50%;
   top: 50%;
   width: 400px;
   background-color: #FFF;
   /*padding: 10px;*/
   z-index: 6;
}

#Overlay
{
   visibility: hidden;
   position: absolute;
   left: 0;
   top: -100;
   width: 100%;
   height: 100%;
   background-color: #000;
   z-index: 5;
}

/* PAGE +++++++++++++++++++++++++++++++++++++++++++++++++++++ */
div.enter_exit {
  margin: 2px 10px 2px 2px;
  height: 13px;
  text-align: right;
}

div#page h1 {
  float: left;
  /*margin-top: 17px;*/
  margin-left: 74px;
  height: 110px;
  width: 381px;
}

* html div#page h1 { /* спрятать от ИЕ7 */
  margin-left: 37px;
}

* html div#page h1 a {
  cursor: hand;
  display: block;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/media/pic/logo_ie.png", sizingMethod="crop"); /* Для буратин с ИЕ6 картинка в 5 раз тяжелее */
  overflow: hidden;
  padding-top: 110px;
  height: 0px;
}

a:link {
    color: #326200;
}

a:visited {
    color: #326200;
}

div#page h1,
ul#menu {
  /*border: solid 1px #333;*/
}

/* MENU +++++++++++++++++++++++++++++++++++++++++++++++++++++ */
div#menu_holder {
  overflow: hidden;
  zoom: 1;
}

ul#menu {
  /*border: solid 1px #333;*/
  overflow: hidden;
  margin: auto;
  vertical-align: top;
  width: 510px;
  zoom: 1;
}

ul#menu li {
  display:-moz-inline-box; /* Фикс для второго Лиса, обновите уже браузер в 2009-м-то году ='( */
  display: inline-block;
  //display: inline;
  margin-right: 3px;
  overflow: hidden;
  vertical-align: top;
  zoom: 1;
}

ul#menu a {
  background-image: url(/media/pic/menu_buttons.png);
  background-repeat: no-repeat;
  /*border: solid #333 1px;*/
  display: block;
  height: 0;
  overflow: hidden;
}

ul#menu li.about {height: 179px;}
ul#menu li.about a {
  padding-top: 179px;
  width: 94px;
}

ul#menu li.about a:link,
ul#menu li.about a:visited {
  background-position: -1px 0;
}

ul#menu li.about a:hover,
ul#menu li.about a:active,
ul#menu li.about a:focus {
  background-position: -1px -179px;
}

ul#menu li.music {height: 169px;}
ul#menu li.music a {
  padding-top: 169px;
  width: 98px;
}

ul#menu li.music a:link,
ul#menu li.music a:visited {
  background-position: -103px 0;
}

ul#menu li.music a:hover,
ul#menu li.music a:active,
ul#menu li.music a:focus  {
  background-position: -103px -179px;
}

ul#menu li.gallery {height: 157px;}
ul#menu li.gallery a {
  padding-top: 157px;
  width: 98px;
}

ul#menu li.gallery a:link,
ul#menu li.gallery a:visited {
  background-position: -204px 0;
}

ul#menu li.gallery a:hover,
ul#menu li.gallery a:active,
ul#menu li.gallery a:focus  {
  background-position: -204px -179px;
}

ul#menu li.guest {height: 178px;}
ul#menu li.guest a {
  padding-top: 178px;
  width: 96px;
}

ul#menu li.guest a:link,
ul#menu li.guest a:visited {
  background-position: -306px 0;
}

ul#menu li.guest a:hover,
ul#menu li.guest a:active,
ul#menu li.guest a:focus  {
  background-position: -306px -179px;
}

ul#menu li.amigos {height: 173px;}
ul#menu li.amigos a {
  padding-top: 173px;
  width: 93px;
}

ul#menu li.amigos a:link,
ul#menu li.amigos a:visited {
  background-position: -412px 0;
}

ul#menu li.amigos a:hover,
ul#menu li.amigos a:active,
ul#menu li.amigos a:focus  {
  background-position: -412px -179px;
}

ul#menu li.amigos {
  /*margin-right: 0;*/
}

/* INDEX +++++++++++++++++++++++++++++++++++++++++++++++++++ */
div#events {
  margin-top: 70px;
  margin-left: 46px;
  float: left;
        clear: left;
  width: 330px;
  text-align: center;
}

* html div#events {
  margin-left: 23px;
}

div#events p {
  font-size: 1.4em;
  line-height: 1.4em;
  margin-top: 20px;
  /*text-align: left;*/
}

div#events img {
  max-width: 300px;
}

* html div#events img.event_poster { /* Но вообще надо экспрешен намутить */
  width: 300px;
}

div#content {
  /*border: solid #c3c 1px;*/
  font-size: 1.4em;
  line-height: 1.4286em;
  margin-top: 30px;
  margin-right: 50px;
  margin-left: 420px;
  margin-bottom: 40px;
}

div#content h2 {
  font-size: 1.4286em; /* 20px */
  margin-bottom: 1em;
}

div#content h3 {
  font-size: 1.1429em; /* 16px */
  margin-bottom: .5em;
}

div#content p {
  margin-bottom: 1em;
}

a.more_events {
  background: url(/media/pic/events_title.png) 3px 3px no-repeat;
  display: block;
  margin: 0 auto 0 auto;
  padding-top: 27px;
  overflow: hidden;
  height: 0;
  width: 111px;
}

a.more_events:hover {
  background-color: #fc6;
}

/* NEWS */
div#content.news {
  background: url(/media/pic/block_corner_tr.png) right 43px no-repeat;
  margin-right: 38px;
}

div.top_corner_holder {
  background: url(/media/pic/block_corner_br.png) right bottom no-repeat;
  padding-right: 16px;
  padding-bottom: 6px;
}

div#content.news h2 {
  background: url(/media/pic/news_title.png) left top no-repeat;
  margin-bottom: .7em;
  overflow: hidden;
  padding-top: 21px;
  height: 0;
}

div.new {
  /*border: solid 1px #333;*/
  background-image: url(/media/pic/separator_hl.png);
  background-position: 70px 5px;
  background-repeat: no-repeat;
  margin-bottom: 1.4286em; /* 24px */
  overflow: hidden;
  /*padding-top: 16px;*/
  zoom: 1;
}

div.new span.name {
  /*border: solid 1px #333;*/
  display: block;
}

div.new span.date {
  /*border: solid 1px #333;*/
  color: #F0C062;
  display: block;
  font-size: .8em;
  /*font-weight: normal;*/
}

/* EVENT */
div#events.details {
  margin-top: 20px;
}

.event_poster {
    text-align: center;
    vertical-align: top;

}

/* PHOTOS */
div.photos {
  margin-right: 3%;
  margin-left: auto!important;
  width: 90%;
}

ul.gallery {
  clear: both;
  overflow: hidden;
  zoom: 1;
}

ul.gallery li.photo, 
ul.gallery li.gall_desc {
  float: left;
  //float: none;
  //display: inline;
  overflow: hidden;
  zoom: 1;
}

ul.gallery li.photo {
  margin: 0 0 20px 20px;
  height: 197px;
  width: 248px;
}

ul.gallery li.gall_desc {
  margin: 0 0 50px 50px;
  width: 230px;
}

li.gall_desc h3 {
  line-height: 1.4em;
}

li.gall_desc h3 a {
  text-decoration: none;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding: 4px 0 2px 0;
}

li.gall_desc h3 a:link,
li.gall_desc h3 a:visited {
  border-bottom-color: #ccc;
  color: #333;
}

li.gall_desc h3 a:hover,
li.gall_desc h3 a:active,
li.gall_desc h3 a:focus {
  background-color: #333;
  border-bottom-color: #fc6;
  color: #fc6;
}

/* ALBUMS */
div.albums {
  /*border: solid 1px #333;*/
  margin: 40px auto 0 auto!important;
  overflow: hidden;
  width: 74%;
  //zoom: 1;
}

div.album {
  /*border: solid 1px #ccc;*/
  clear: both;
  margin-bottom: 50px;
  overflow: hidden;
  //zoom: 1;
}

div.albums img.art {
  display: block;
  float: left;
  height: 150px;
  width: 150px;
}

table.album_songs {
  /*border: solid 1px #333;*/
  float: right;
  font-size: 1.2857em; /* 18px */
  position: relative;
  width: 78%;
  zoom 1;
}

table.album_songs tr.odd {
  background-color: #F6F6F6;
}

table.album_songs tr.odd td {
  //background-color: #F6F6F6;
}

table.album_songs tr:hover { /* В ИЕ6 не работает, надо заменять скриптом */
  background-color: #ffc;
}

table.album_songs td.number {
  color: #333;
  padding-right: .5555em;
  text-align: right;
  width: 1.3445em;
  //width: 1.9em;
}

table.album_songs td.number span {
  /*background-color: #333;*/
}

table.album_songs td.title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  width: auto;
  zoom: 1;
}

table.album_songs td.title a {
  /*background-color: #666;*/
  color: #333;
  display: block;
  text-decoration: none;
  zoom: 1;
}

table.album_songs td.rating {
  text-align: center;
  width: 115px;
  vertical-align: middle;
}

table.album_songs td {
  padding-top: .1111em;
  padding-bottom: .1111em;
}

/*Guestbook +++++++++++++++++++++++++++++++++++++++++++++++++ */
div#guest_main { 
    clear: right;
    float: right;
}

div.new_message { 
  vertical-align: top;
  margin-bottom: 5em;
}

div.new_message label {
  display: inline-block;
  vertical-align: top;
  width: 7em;
}

div.new_message p.button_parent {
  padding-left: 7.3em;
}

div.new_message .new_message_text{
  /*padding: 15px 16px 15px 15px;*/
  padding: 5px 7px 5px 5px;
  background-color: rgb(255, 222, 159);
}
div.new_message textarea{
  border: 1px solid rgb(191, 191, 191);
  width: 100%;
  //width: 99%;
  height: 150px;
}

.message { 
    padding-top: 20px;
    padding-bottom: 20px;
}

.message_table{
  width:100%;
}

.message_name {
    font-size: 1em;
    background-color: #ffcc66;
    padding: 1px 10px 1px 10px;
}

.message_date { 
    text-align: right;
    background-color: #ffcc66;
    padding: 1px 10px 1px 10px;
}

.message_text {
    padding-top: 10px;
    text-align: justify;
}

.message_answer {
    padding-top: 15px;
    padding-left: 5em;
    /*background-color: #ffcf6f;*/
}

/* AMIGOS +++++++++++++++++++++++++++++++++++++++++++++++++++ */
.city_select {
    /*text-align: center;
    padding: 20px;*/
    margin-bottom: 20px;
}

.user_list {
    text-align: left;
}

.paginator{
  clear:both;
}

.user_avatar {
    text-align: center;
    vertical-align: middle;
    padding: 5px;
  height: 105px;
  width: 125px;
}

div.userlist_element {    
  background: url(/media/pic/block_corner_br.png) right bottom no-repeat;
  cursor: pointer;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  padding-top: 15px;
  padding-right: 16px;
  padding-bottom: 6px;
  height: 150px;
  width: 360px;
}

ul.user_info {
  overflow: hidden;
  zoom: 1;
}

ul.user_info li.avatar {
  float: left;
  margin-right: 25px;
  padding: 5px;
  height: 150px;
  width: 100px;
}

ul.user_info li.nickname {
  font-size: 1.2857em; /* 18/14 */
  margin-bottom: 1.2222em; /* 22/18 */
}

ul.user_info li.nickname sup {
  color: #666;
  font-size: .6666em; /* 12/18 */
  margin-left: .1666em; /* 2/12 */
  vertical-align: super;
}

ul.user_info li.attendance,
ul.user_info li.favalb,
ul.user_info li.city {
  margin-bottom: .5714em; /* 8/14 */
}

ul.user_info li.about {
  font-size: .8571em; /* 12/14 */
}

ul.user_info li.closebutton {
  margin-right: -12px;
  padding-top: 2px;
  height: 12px;
  text-align: right;
  vertical-align: top;
}

ul.user_info.popup {
  font-size: 1.6em;
  padding: 0 14px 14px 14px;
}


/* Registration Form */
div.edit_profile label {
  display: inline-block;
  vertical-align: top;
  width: 13em;
}

div.edit_profile p.button_parent {
  padding-left: 13.3em;
}

ul.errorlist {
  /*background-color: #f99;
  border: solid 1px #f00;*/
  color: #f00;
  margin-bottom: 4px;
}

input#id_captcha_1 {
  vertical-align: top;
}

form.form_with_captcha img {
  /*display: block;*/
}

/* FORMS +++++++++++++++++++++++++++++++++++++++++++++++++++ */
div.cont_small {
  margin-right: 30%!important;
  margin-left: 30%!important;
}

div.login {
  margin-right: auto!important;
  margin-left: auto!important;
  width: 40%;
}


div.login form label {
  display: inline-block;
  vertical-align: top;
  width: 5em;
}

div.login p.button_parent {
  padding-left: 5.3em;
}


/* LightBox overlay fix */

div#overlay {
  visibility: hidden;
}

/* MUSIC - SONGS ++++++++++++++++++++++++++++++++++++++++++++ */
.write_comment{
  margin-top:30px;
}

/* FOOTER +++++++++++++++++++++++++++++++++++++++++++++++++++ */
div#footer {
  background: url(/media/pic/footer_bg.png) top left repeat-x;
  line-height: 1.4em;
  margin-top: -231px; /* + */
  padding-top: 10px;
  position: relative; /* + */
  height: 221px; /* + */
}

div#footer p.contacts {
  background-color: #fff;
  margin-left: 130px;
  padding: 2px;
  width: 148px;
}

/* EVENTS ++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.event_comments td{
    padding: 5px;
    vertical-align: top;
    
}

.event_poster {
    padding: 10px;
}

.event_table td {
    padding: 10px;
}

.song_comments  td{
    padding: 5px;
    vertical-align: top;
    
}