.box {
        margin: 0px;
        background: url('fakeimg.gif') no-repeat;
        background-attachment: fixed;
}

A IMG { border: none; }

/******************************
* FONTS
******************************/
a:link {
        color: #2B6DBC;
        text-decoration: none;
        font-family: Arial;
}
a:visited {
        color: #2B6DBC;
        text-decoration: none;
        font-family: Arial;
}
a:hover {
        text-decoration: underline;
        color: #2B6DBC;
        font-family: Arial;
}
.s9g {
        font-family: Arial;
        font-size: 9px;
        color: #333333;
}
.s10g {
        font-family: Arial;
        font-size: 10px;
        color: #333333;
}
.s10lightg {
        font-family: Arial;
        font-size: 10px;
        color: #999999;
}
.breadcrumb {
        font-family: Arial;
        font-size: 10px;
        color: #999999;
}
.breadcrumb a:link {
        font-family: Arial;
        font-size: 10px;
        color: #999999;
        text-decoration: underline;
}
.breadcrumb a:visited {
        font-family: Arial;
        font-size: 10px;
        color: #999999;
        text-decoration: underline;
}
.breadcrumb a:hover {
        font-family: Arial;
        font-size: 10px;
        color: #999999;
        text-decoration: none;
}
.s9w {
        font-family: Arial;
        font-size: 9px;
        color: #ffffff;
}
.s10w {
        font-family: Arial;
        font-size: 10px;
        color: #ffffff;
}
.s12g {
        font-family: Arial;
        font-size: 12px;
        color: #333333;
}
.s12w {
        font-family: Arial;
        font-size: 12px;
        color: #ffffff;
}
.s12lightg {
        font-family: Arial;
        font-size: 12px;
        color: #999999;
}
.s14g {
        font-family: Arial;
        font-size: 14px;
        color: #333333;
}
.s14w {
        font-family: Arial;
        font-size: 14px;
        color: #ffffff;
}
.s16g {
        font-family: Arial;
        font-size: 16px;
        color: #333333;
}
.s18g {
        font-family: Arial;
        font-size: 18px;
        color: #333333;
}
.s18g a:link{
        font-family: Arial;
        font-size: 18px;
        color: #2B6DBC;
        text-decoration: underline;
}
.s18g a:visited{
        font-family: Arial;
        font-size: 18px;
        color: #2B6DBC;
        text-decoration: underline;
}
.s18g a:hover{
        font-family: Arial;
        font-size: 18px;
        color: #2B6DBC;
        text-decoration: none;
}

.s18tours {
        font-family: Arial;
        font-size: 18px;
        color: #333333;
        text-decoration: none;
}
.s18tours a:link{
        font-family: Arial;
        font-size: 18px;
        color: #333333;
        text-decoration: none;
}
.s18tours a:visited{
        font-family: Arial;
        font-size: 18px;
        color: #333333;
        text-decoration: none;
}
.s18tours a:hover{
        font-family: Arial;
        font-size: 18px;
        color: #333333;
        text-decoration: none;
}

.s18w {
        font-family: Arial;
        font-size: 18px;
        color: #ffffff;
}
.s20g {
        font-family: Arial;
        font-size: 20px;
        color: #333333;
}
.s20r {
        font-family: Arial;
        font-size: 20px;
        color: #FF0000;
}
.dashed a:link{
        border-bottom: 1px dashed;
}
.dashed a:visited{
        border-bottom: 1px dashed;
}
.dashed a:hover{
        text-decoration: none;
        border-bottom: 0px;
}

.main_menu {
        font-family: Arial;
        font-size: 18px;
        color: #333333;
}
.main_menu a:link {
        font-family: Arial;
        font-size: 18px;
        color: #333333;
        text-decoration: none;
}
.main_menu a:visited {
        font-family: Arial;
        font-size: 18px;
        color: #333333;
        text-decoration: none;
}
.main_menu a:hover {
        font-family: Arial;
        font-size: 18px;
        color: #999999;
        text-decoration: underline;
}
.main_menu_selected {
        font-family: Arial;
        font-size: 18px;
        color: #ffffff;
        background-image: url("../decor/main_menu_str.gif");
        background-repeat: repeat;
}
.main_menu_selected a:link {
        font-family: Arial;
        font-size: 18px;
        color: #ffffff;
        text-decoration: none;
}
.main_menu_selected a:visited {
        font-family: Arial;
        font-size: 18px;
        color: #ffffff;
        text-decoration: none;
}
.main_menu_selected a:hover {
        font-family: Arial;
        font-size: 18px;
        color: #999999;
        text-decoration: none;
}
.register_part1 {
        background-attachment: scroll;
        background-image: url(../decor/register_decor1.gif);
        background-repeat: no-repeat;
        background-position: right top;
        margin: 0 13em 0 0;
}
.register_part2 {
        background-attachment: scroll;
        background-image: url(../decor/register_decor2.gif);
        background-repeat: no-repeat;
        background-position: right top;
        margin: 0 13em 0 0;
}

.settings_part1 {
        background-attachment: scroll;
        background-image: url(../decor/settings_decor1.gif);
        background-repeat: no-repeat;
        background-position: right top;
        margin: 0 13em 0 0;
}

.logon {
        background-attachment: scroll;
        background-image: url(../decor/logon_decor1.gif);
        background-repeat: no-repeat;
        background-position: right top;
        margin: 0 13em 0 0;
}

.news_links{
        font-family: Arial;
        font-size: 12px;
        color: #2B6DBC;
}
.news_links a:link{
        font-family: Arial;
        font-size: 12px;
        color: #2B6DBC;
        text-decoration: none;
}
.news_links a:visited{
        font-family: Arial;
        font-size: 12px;
        color: #2B6DBC;
        text-decoration: none;
}
.news_links a:hover{
        font-family: Arial;
        font-size: 12px;
        color: #2B6DBC;
        text-decoration: underline;
}

.news_body{
        font-family: Arial;
        font-size: 12px;
        color: #333333;
}
.news_body a:link{
        font-family: Arial;
        font-size: 12px;
        color: #2B6DBC;
        text-decoration: none;
}
.news_body a:visited{
        font-family: Arial;
        font-size: 12px;
        color: #2B6DBC;
        text-decoration: none;
}
.news_body a:hover{
        font-family: Arial;
        font-size: 12px;
        color: #2B6DBC;
        text-decoration: underline;
}

.small_hint{
        font-family: Arial;
        font-size: 9px;
        color: #444444;
        border-bottom: 1px dashed;
}
.small_hint a:link{
        font-family: Arial;
        font-size: 9px;
        color: #aaaaaa;
        text-decoration: none;
        border-bottom: 1px dashed;
}
.small_hint a:visited{
        font-family: Arial;
        font-size: 9px;
        color: #aaaaaa;
        text-decoration: none;
        border-bottom: 1px dashed;
}
.small_hint a:hover{
        font-family: Arial;
        font-size: 9px;
        color: #aaaaaa;
        text-decoration: none;
        border-bottom: 0px;
}
input.common_text, select.common_text{
        border: thin solid #cccccc;
        color: #333333;
        padding: 1px;
        margin: 2px;
        font-size:12px;
        background: #f9f9f9;
        border-width: 1;
        width: 350px;
}

input.common_text_small, select.common_text_small{
        border: thin solid #cccccc;
        color: #333333;
        padding: 1px;
        margin: 2px;
        font-size:12px;
        background: #f9f9f9;
        border-width: 1;
        width: 150px;
}

input.digits2{
        border: thin solid #cccccc;
        color: #333333;
        padding: 1px;
        margin: 2px;
        font-size:12px;
        background: #f9f9f9;
        border-width: 1;
        width: 30px;
}

input.digits4{
        border: thin solid #cccccc;
        color: #333333;
        padding: 1px;
        margin: 2px;
        font-size:12px;
        background: #f9f9f9;
        border-width: 1;
        width: 60px;
}

textarea.common_text{
        border: thin solid #cccccc;
        color: #333333;
        padding: 1px;
        margin: 2px;
        font-size:12px;
        background: #f9f9f9;
        border-width: 1;
        width: 100%;
}

.required {
        font-family: Arial;
        font-size: 9px;
        color: #bb3333;
        vertical-align: super;
}

.hint {
        font-family: Arial;
        font-size: 9px;
        color: #2B6DBC;
        cursor: pointer;
        vertical-align: super;
        text-decoration: underline;
}
input.common_submit{
        border: thin solid #cccccc;
        color: #333333;
        padding: 1px;
        margin: 2px;
        font-size:12px;
        background: #f9f9f9;
        border-width: 1;
        width: 100px;
}




/******************************
* COMMENTS
******************************/
div.ccomment {
    background-color:#F4F4F4;
    margin-bottom: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #A6B2A6;
}

div.ccomment div.container1 {
    padding: 6px 6px 6px 90px;
}

div.ccomment div.tl {
    margin: -1px 0px 0px -1px;
    background: url(../decor/comments/dcommens_1_1.gif) left top no-repeat;
}
div.ccomment div.tr {
    margin: -1px -1px 0px 0px;
    background: url(../decor/comments/dcommens_1_2.gif) right top no-repeat;
}
div.ccomment div.br {
    margin: 0px 0px -2px 0px;
    background: url(../decor/comments/dcommens_1_3.gif) right bottom no-repeat;
}
div.ccomment div.bl {
    margin: 0px 0px 1px 0px;
    background: url(../decor/comments/dcommens_1_4.gif) left bottom no-repeat;
}

div.container2 div.ctl {
    margin: -1px 0px 0px -1px;
    background: url(../decor/comments/dcommens_2_1.gif) left top no-repeat;
}
div.container2 div.ctr {
    margin: -1px -1px 0px 0px;
    background: url(../decor/comments/dcommens_2_2.gif) right top no-repeat;
}
div.container2 div.cbr {
    margin: 0px 0px -2px 0px;
    background: url(../decor/comments/dcommens_2_3.gif) right bottom no-repeat;
}
div.container2 div.cbl {
    margin: 0px 0px 1px 0px;
    background: url(../decor/comments/dcommens_2_4.gif) left bottom no-repeat;
}

div.ccomment div.container2 {
    background-color:#E2ECEB;
    border-style: solid;
    border-width: 1px;
    border-color:#C9D1C8;
}

div.ccomment div.container3 {
    padding: 12px;
}

div.ccomment div.caption {
    font-family: Arial;
    font-size: 20px;
    color: #333333;
    min-height: 30px;
    min-width: 11px;
    margin: -6px 0px 0px -22px;
    padding: 0px 0px 0px 22px;
    background: url(../decor/comments/dcommens_2_decor.gif) left bottom no-repeat;
}

div.ccomment span.date {
    font-family: Verdana;
    font-size: 9px;
    color: #aaaaaa;
}

div.ccomment div.avatar1 {
    min-height: 64px;
    min-width: 64px;
    max-height: 64px;
    max-width: 64px;
    width: 64px;
    margin: -36px 0px 0px -95px;
    background-color:#E2ECEB;
    border-style: solid;
    border-width: 1px;
    border-color:#C9D1C8;
}

div.ccomment div.avatar {
    float: left;
    min-height: 64px;
    min-width:  64px;
    max-height: 64px;
    max-width:  64px;
    width:      64px;
    margin: -30px 0px 0px -95px;
    background-color:#E2ECEB;
    border-style: solid;
    border-width: 1px;
/*    border-color:#C9D1C8; */
    border-color:#bbbbbb;
}

div.ccomment img.avatar {
    margin-right: 0px;
}

div.ccomment div.comment {
    min-width: 100px;
    font-family: Arial;
    font-size: 12px;
    color: #333333;
}

div.ccomment div.reply {
    font-family: Arial;
    font-size: 12px;
    color: #333333;
    margin: 25px 0px -1px -75px;
}


/******************************
* BREADCRUMB
******************************/
#nav, #nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
  width: 100%;
}
#nav li {
  float: left;
  position: relative;
  background: #515151;
  back\ground: none;
}
#nav li ul {
  display: none;
  position: absolute;
  background: url("../decor/breadcrumb_bg.gif");
  border: 1px solid #cccccc;
  padding: 2px 2px 2px 2px;
  width: 126px;
  top: 13px;
  left: 0px;
}
#nav a {
  display: inline;
  padding: 0px 8px 0px 0px;
  background: url("../decor/breadcrumb_div.gif") repeat-y right;
}
#nav a:hover {
  color: #000;
  background: #ccc;
}
#nav li:hover,
#nav li.jshover {
  background: #333;
}

#nav li li a
{
  display:list-item;
  width: 118px;
  background: none;
}
#nav li:hover ul,
#nav li.jshover ul {
  display: block;
}
#nav li:hover li ul,
#nav li.jshover li ul {
  display: none;
  width: 138px;
  top: -9px;
  left: 133px;
}
#nav li:hover li:hover ul,
#nav li.jshover li.jshover ul {
  display: block;
}

/******************************
* OTHER
******************************/

.iePNG A { position: relative; }

td.logo{
        background-image: url("../decor/logo_main.gif");
        background-repeat: no-repeat;
        width: 240px;
        text-align: right;
        vertical-align: bottom;
        font-size: 15px;
        color: #313131;
        font-family: arial;
        padding: 0px 20px 10px 0px;
}
td.logon_top{
        width: 500px;
        text-align: left;
        vertical-align: middle;
        font-size: 12px;
        color: #313131;
        font-family: arial;
        padding: 0px 0px 0px 14px;
}
td.search_top{
        text-align: right;
        vertical-align: middle;
        font-size: 12px;
        color: #313131;
        font-family: arial;
        padding: 0px 14px 0px 0px;
}
td.right{
        text-align: right;
        font-size: 12px;
        color: #313131;
        font-family: arial;
}
td.left{
        text-align: left;
        font-size: 12px;
        color: #313131;
        font-family: arial;
}
td.top{
        vertical-align: top;
        font-size: 12px;
        color: #313131;
        font-family: arial;
}
td.footer{
        text-align: left;
        font-size: 11px;
        color: #666666;
        font-family: arial;
}
#search_top{
        margin: 0px;
}

.inputbox{
        border: thin solid #999999;
        color: #333333;
        padding: 0px;
        margin: 2px;
        font-size:14px;
        background: #f9f9f9;
        border-width: 1;
}
.inputbutton{
        border: thin solid #999999;
        color: #333333;
        padding: 1px;
        margin: 2px;
        font-size:12px;
        background: #f9f9f9;
        border-width: 1;
}

div.div_videoplayer_hint{
        text-align: left;
        font-size: 9px;
        color: #313131;
        font-family: arial;
}
span.bluexml{
        cursor: pointer;
        color: #2B6DBC;
}
/******************************
* LIGHTBOX2
******************************/

#lightbox{        position: absolute;        left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(http://portal27.ru/lightbox2/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://portal27.ru/lightbox2/images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%        ; }

#imageData{        padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold;        }
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;        }
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

/******************************
* Instant Gallery
******************************/
.instant_gallery_table {
  background: url(../decor/loading.gif) center center no-repeat;
}

/**************************
* calendar
**************************/

* {
        /* old-style reset here :) */
        border: 0px;
        padding: 0px;
}
.cal table {
        border-collapse: separate;
        border: 1px solid #9DABCE;
        border-width: 0px 0px 1px 1px;
        margin: 10px auto;
        font-size: 20px;
}
.cal td {
        width: 81px;
        height: 81px;
        text-align: center;
        vertical-align: middle;
        background: url(../../calendar/cells.png);
        color: #444;
        position: relative;
        font-weight: bold;
        z-index: 100;
}
.cal th {
        width: 81px;
        height: 81px;
        text-align: center;
        vertical-align: middle;
        background: url(../../calendar/cells.png);
        color: #444;
        position: relative;
        font-weight: bold;
        z-index: 100;
}
.cal th {
        height: 30px;
        font-weight: bold;
        font-size: 14px;
}
.cal td:hover, th:hover {
        background-position: 0px -81px;
        color: #222;
}
.cal td.date_has_event {
        background-position: 162px 0px;
        color: white;
}
.cal td.date_has_event:hover {
        background-position: 162px -81px;
}
.cal td.padding {
        background: url(../../calendar/calpad.jpg);
}
.cal td.today {
        background-position: 81px 0px;
        color: white;
}
.cal td.today:hover {
        background-position: 81px -81px;
}

.cal_small table {
        border-collapse: separate;
        border: 1px solid #9DACBE;
        border-width: 0px 0px 1px 1px;
        margin: 10px auto;
        font-size: 12px;
}
.cal_small td {
        width: 27px;
        height: 27px;
        text-align: center;
        vertical-align: middle;
        background: url(../../calendar/cells.png);
        color: #444;
        position: relative;
        font-weight: bold;
        z-index: 100;
}
.cal_small th {
        width: 27px;
        height: 27px;
        text-align: center;
        vertical-align: middle;
        background: url(../../calendar/cells.png);
        color: #444;
        position: relative;
        font-weight: bold;
        z-index: 100;
}
.cal_small th {
        height: 27px;
        font-weight: bold;
        font-size: 14px;
}
.cal_small td:hover, th:hover {
        background-position: 0px -81px;
        color: #222;
}
.cal_small td.date_has_event {
        background-position: 162px 0px;
        color: white;
}
.cal_small td.date_has_event:hover {
        background-position: 162px -81px;
}
.cal_small td.padding {
        background: url(../../calendar/calpad.jpg);
}
.cal_small td.today {
        background-position: 81px 0px;
        color: white;
}
.cal_small td.today:hover {
        background-position: 81px -81px;
}