*{margin: 0;padding: 0;} /* for footer at the bottom of the page */
html{height: 100%;} /* for footer at the bottom of the page */
* html body {height: 100%} /* for footer at the bottom of the page */

body
{
    margin:0;
    padding:0;
    font-family:Arial;
    color:#fff;
    font-size:14px;
    background:#ffffff;
    min-height: 100%; /* for footer at the bottom of the page */
    position: relative; /* for footer at the bottom of the page */
}
.clear{clear: both;}
p{margin: 0; padding: 0 0 15px 0;}
a{color: #2b6a7d;}
a:hover{text-decoration: none;}
ul{margin: 0;padding: 0; list-style: none;}
img{border: none;}
table{width: 100%; border-collapse: collapse; border: 0px;}
input[type="button"]::-moz-focus-inner { border: none; }


/* wrapper */
#wrapper
{
    background: url(../images/content-bg.jpg) repeat-y center 427px;
    position: relative;
    min-height: 100%; /* for footer at the bottom of the page */
    padding-bottom: 115px; /* for footer at the bottom of the page */
}
#wrapper .inner
{
    width: 860px;
    margin: auto;
    position: relative;
}
/* end wrapper */

/* header */
#header
{
    height: 427px;
    background: url(../images/header-bg.jpg) no-repeat center 0;
}
#header .left-header
{
    float: left;
    width: 349px;
}
#header .left-header .header-text
{
    padding-top: 150px;
    padding-left:  43px;
    line-height: 32px;
    width: 237px;
    text-align: center;
    color: #696969;
    font-size: 24px;
    font-family: Segoe UI;
    text-transform: uppercase;
    text-shadow: -1px -1px 0 #f2f2f2;
    -moz-text-shadow: -1px -1px 0 #f2f2f2;
    -webkit-text-shadow: -1px -1px 0 #f2f2f2;
    -o-text-shadow: -1px -1px 0 #f2f2f2;
    /*-moz-transform: rotate(2deg);*/
    /*-webkit-transform: rotate(2deg);*/
    /*-o-transform: rotate(2deg);*/
    /*writing-mode: tb-rl;*/

    behavior: url(/pie/pie.htc);
}
#header .left-header .header-text span
{
    display: block;
    text-align: right;
}
#header .right-header
{
    float: left;
    position: relative;
    width: 511px;
    height: 427px;
}

/*video*/
#header .right-header .video-box
{
    padding: 81px 0 0 28px;
    position: relative;
    height: 346px;
}
#header .right-header .video-box .video
{
    display: none;
}
#header .right-header .video-box .video.active
{
    display: block;
}
#header .right-header .video-box .fr-top
{
    position: absolute;
    background: url(../images/frame-top.png) no-repeat 0 0;
    top: 0;
    left: 0;
    height: 81px;
    width: 511px;
}
#header .right-header .video-box .fr-left
{
    position: absolute;
    background:#000 url(../images/frame-left.png) no-repeat 0 0;
    top: 81px;
    left: 0;
    height: 345px;
    width: 28px;
}
#header .right-header .video-box .fr-right
{
    position: absolute;
    background: url(../images/frame-right.png) no-repeat 0 0;
    top: 81px;
    right: 0;
    height: 345px;
    width: 32px;
}
#header .right-header .video-box .fr-bottom
{
    position: absolute;
    background: url(../images/frame-bottom.png) no-repeat 0 0;
    bottom: 1px;
    right: 32px;
    height: 81px;
    width: 451px;
}
/*end video*/

/* end header */

/* content */
#content
{
    position: relative;
}
#content .inner
{
    height: 1173px;
    min-height: 1173px;
    height: auto;
}

/*coffin box*/
#content .coffin-box1
{
    position: absolute;
    top: 20px;
    left: 0;
    height: 240px;
    width: 860px;
    background: url(../images/coffin-bg1.png) no-repeat 0 0;
}
#content .coffin-box2
{
    position: absolute;
    top: 250px;
    left: 0;
    height: 240px;
    width: 860px;
    background: url(../images/coffin-bg2.png) no-repeat 0 0;
}
#content .coffin-box3
{
    position: absolute;
    top: 478px;
    left: 0;
    height: 240px;
    width: 860px;
    background: url(../images/coffin-bg3.png) no-repeat 0 0;
}
#content .coffin-box4
{
    position: absolute;
    top: 695px;
    left: 0;
    height: 240px;
    width: 860px;
    background: url(../images/coffin-bg4.png) no-repeat 0 0;
}
#content .coffin-box5
{
    position: absolute;
    top: 940px;
    left: 0;
    height: 240px;
    width: 860px;
    background: url(../images/coffin-bg5.png) no-repeat 0 0;
}
#content a.name
{
    text-align: center;
    position: absolute;
    display: block;
    width: 80px;
    color: #fff;
    text-decoration: none;
}
#content a.name span
{
    display: block;
    text-transform: uppercase;
}
#content a.name:hover
{
    text-decoration: underline;
}
#content .coffin-box1 a.name1
{
    top: 100px;
    left: 20px;
}
#content .coffin-box1 a.name2
{
    top: 145px;
    left: 201px;
}
#content .coffin-box1 a.name3
{
    top: 85px;
    left: 395px;
}
#content .coffin-box1 a.name4
{
    top: 150px;
    left: 583px;
}
#content .coffin-box1 a.name5
{
    top: 100px;
    left: 762px;
}
#content .coffin-box2 a.name1
{
    top: 120px;
    left: 20px;
}
#content .coffin-box2 a.name2
{
    top: 150px;
    left: 201px;
}
#content .coffin-box2 a.name3
{
    top: 115px;
    left: 395px;
}
#content .coffin-box2 a.name4
{
    top: 154px;
    left: 574px;
}
#content .coffin-box2 a.name5
{
    top: 120px;
    left: 762px;
}
#content .coffin-box3 a.name1
{
    top: 100px;
    left: 20px;
}
#content .coffin-box3 a.name2
{
    top: 145px;
    left: 203px;
}
#content .coffin-box3 a.name3
{
    top: 87px;
    left: 393px;
}
#content .coffin-box3 a.name4
{
    top: 150px;
    left: 585px;
}
#content .coffin-box3 a.name5
{
    top: 100px;
    left: 760px;
}
#content .coffin-box4 a.name1
{
    top: 120px;
    left: 20px;
}
#content .coffin-box4 a.name2
{
    top: 142px;
    left: 200px;
}
#content .coffin-box4 a.name3
{
    top: 140px;
    left: 397px;
}
#content .coffin-box4 a.name4
{
    top: 145px;
    left: 575px;
}
#content .coffin-box4 a.name5
{
    top: 115px;
    left: 762px;
}
#content .coffin-box5 a.name1
{
    top: 120px;
    left: 19px;
}
#content .coffin-box5 a.name2
{
    top: 143px;
    left: 201px;
}
#content .coffin-box5 a.name3
{
    top: 140px;
    left: 396px;
}
#content .coffin-box5 a.name4
{
    top: 150px;
    left: 575px;
}
#content .coffin-box5 a.name5
{
    top: 120px;
    left: 762px;
}
/*end coffin box*/

/* end content */

/* footer */
#footer
{
    padding-top: 15px;
    height: 100px;
    width: 100%;
    position: absolute; /* for footer at the bottom of the page */
    bottom: 0; /* for footer at the bottom of the page */
}
#footer a
{
    color: #fff;
}
#footer .inner
{
    width: 860px;
    margin: auto;
    border-top: 1px solid #bdbab7;   
}
#footer .inner .bottom-logo
{
    float: left;
    padding: 15px 0 10px 60px;
    background: url(../images/footer-icon.png) no-repeat 0 10px;
    font-size: 14px;
}
#footer .inner .bottom-logo span.memory
{
    display: block;
    font-size: 12px;
}
#footer .inner .autor
{
    float: right;
    font-size: 12px;
    padding-top: 15px;
}
#footer .inner .autor a
{
    font-size: 12px;
    display: block;
}
/* end footer */


/*share*/
#share42 {display: inline-block; padding: 6px 0 0 6px; background: #FFF; border: 1px solid #E9E9E9; border-radius: 4px; position: absolute; top: 20px;right: 64px;}
#share42:hover {background: #F6F6F6; border: 1px solid #D4D4D4; box-shadow: 0 0 5px #DDD;}
#share42 a {opacity: 0.5}
#share42:hover a {opacity: 0.7}
#share42 a:hover {opacity: 1}

#switch_version {
display: inline-block; padding: 6px 6px 6px 6px; border: 1px solid #E9E9E9; border-radius: 3px; color: #000000;
opacity: 0.7;
font-size: 12px;
position: absolute; left: 20px; top: 20px; 
background-color: #ffffff;
}

#switch_version a {
text-decoration: none;
color: #000000;
}

#switch_version a:hover {
text-decoration: underline;
}


#switch_text {
background-repeat: no-repeat; background-position: right;
padding-right: 21px;
}

.ru_flag {
background: url('../images/ru_flag.gif');
}

.en_flag {
background: url('../images/en_flag.gif');
}
