html, body, div, span, applet, object, h1, h2, h3, h4, h5, h6, p, a, em, img, strong, ol, ul, li, dl, dd, dt, form, label, input  {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    background: transparent;
}
html {
    height:100%;
}
:focus {
    outline: 0;
}
ul {
    list-style: none;
}
body {
    padding: 0;
    margin: 0;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 9pt;
    color: #a39383;
    height: 100%;
    min-height: 100%;
    background: #23150A url(images/bg.jpg) 0 0;
    text-align: center;
    line-height: 1;
}
#body {
    position: relative;
    min-height: 100%;
}
img {
    border: 0;
}
a:link, a:visited {
    outline: none;
    text-decoration: none;
    color: #a39282;
}
a:hover, a:active {
    text-decoration: underline;
}
.clear {
    clear: both;
    font-size: 0.3pt;
}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
#v-effect, #v-effect img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
* html #v-effect {
    display: none;
}
#container {
    width: 791px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 0 20px 0;
}
#counter {
    height: 43px;
    color: #908772;
    text-align: right;
    background: url(images/border-bg.png) 0 100% no-repeat;
}
* html #counter {
    background: url(images/border-bg.gif) 0 100% no-repeat;
}
#counter em {
    display: block;
    font-style: normal;
    padding: 27px 14px 0 0;
    font-size: 8.5pt;
}
#main {
    padding: 0 15px;
    background: url(images/border-bg.png) -791px 0 repeat-y;
}
* html #main {
    background: url(images/border-bg.gif) -791px 0 repeat-y;
}
#content {
    background: #3e1215 url(images/c-bg.jpg) -52px 94px;
    position: relative;
}
#lang {
    position: absolute;
    border: 1px solid #4a1f22;
    float: left;
    right: 0;
    top: 0;
    text-align: center;
    line-height: 18px;
    text-indent: -9999px;
}
* html #lang {
    right: -1px;
}
#rus #lang a:link, #rus #lang a:visited {
    display: block;
    width: 44px;
    height: 18px;
    background: url(images/lang.png) 0 0 no-repeat;
}
#rus #lang a:hover, #rus #active a:visited {
    background: url(images/lang.png) 0 -18px no-repeat;
}
#eng #lang a:link, #eng #lang a:visited {
    display: block;
    width: 44px;
    height: 18px;
    background: url(images/lang.png) 0 -36px no-repeat;
}
#eng #lang a:hover, #eng #active a:visited {
    background: url(images/lang.png) 0 -54px no-repeat;
}
#mail {
    position: absolute;
    border: 1px solid #4a1f22;
    float: left;
    right: 0;
    top: 19px;
    line-height: 19px;
    text-align: center;
}
* html #mail {
    right: -1px;
}
#mail a:link, #mail a:visited {
    width: 21px;
    height: 19px;
    display: block;
    text-indent: -9999px;
    background: url(images/lang.png) 0 -72px no-repeat;
}
#mail a:hover, #mail a:active {
    background: url(images/lang.png) 0 -91px no-repeat;
}

#sidebar {
    padding: 0 26px 20px;
    float: left;
}
#logo {
    padding-bottom: 40px;
    font-size: 14pt;
    font-weight: normal;
    width: 126px;
    height: 169px;
    line-height: 169px;
    text-align: center;
}
#mainnav {
    width: 124px;
    background: url(images/mainnav.png) 0 0;
    padding: 17px 0 6px;
    border: 1px solid #481d21;
}
* html #mainnav {
    background: #330f13;
}
#mainnav li {
    padding-bottom: 8px;
    text-indent: -9999px;
}
#mainnav a:link, #mainnav a:visited {
    color: #efeacc;
    text-decoration: none;
    font-family: "Times New Roman", Times, serif;
    text-transform: uppercase;
    display: block;
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    font-size: 12pt;
    background: url(images/mainnav-a.png) -100px 0 no-repeat;
}
* html #mainnav a:link, * html #mainnav a:visited {
    background: #320e13;
}
#mainnav a span {
    display: block;
    padding: 0 10px 0 14px;
}
#rus #gallery span {
    background: url(images/fornav-ru.png) 0 -1px no-repeat;
}
* html #rus #gallery span {
    background: url(images/fornav-ru-ie.gif) 0 -1px no-repeat;
}
* html #rus #gallery a:hover span, * html #rus #gallery a:active span {
    background: url(images/fornav-ru-ie.gif) 0 -270px no-repeat;
}
#rus #gallery #active span {
    background: url(images/fornav-ru.png) 0 -134px no-repeat;
}
* html #rus #gallery #active span {
    background: url(images/fornav-ru-ie.gif) 0 -134px no-repeat;
}
#rus #services span {
    background: url(images/fornav-ru.png) 0 -34px no-repeat;
}
* html #rus #services span {
    background: url(images/fornav-ru-ie.gif) 0 -34px no-repeat;
}
* html #rus #services a:hover span, * html #rus #services a:active span {
    background: url(images/fornav-ru-ie.gif) 0 -303px no-repeat;
}
#rus #services #active span {
    background: url(images/fornav-ru.png) 0 -169px no-repeat;
}
* html #rus #services #active span {
    background: url(images/fornav-ru-ie.gif) 0 -169px no-repeat;
}
#rus #info span {
    background: url(images/fornav-ru.png) 0 -69px no-repeat;
}
* html #rus #info span {
    background: url(images/fornav-ru-ie.gif) 0 -69px no-repeat;
}
* html #rus #info a:hover span, * html #rus #info a:active span {
    background: url(images/fornav-ru-ie.gif) 0 -337px no-repeat;
}
#rus #info #active span {
    background: url(images/fornav-ru.png) 0 -202px no-repeat;
}
* html #rus #info #active span {
    background: url(images/fornav-ru-ie.gif) 0 -202px no-repeat;
}
#rus #contacts span {
    background: url(images/fornav-ru.png) 0 -102px no-repeat;
}
* html #rus #contacts span {
    background: url(images/fornav-ru-ie.gif) 0 -102px no-repeat;
}
* html #rus #contacts a:hover span, * html #rus #contacts a:active span {
    background: url(images/fornav-ru-ie.gif) 0 -371px no-repeat;
}
#rus #contacts #active span {
    background: url(images/fornav-ru.png) 0 -235px no-repeat;
}
* html #rus #contacts #active span {
    background: url(images/fornav-ru-ie.gif) 0 -235px no-repeat;
}
#eng #gallery span {
    background: url(images/fornav-en.png) 0 -1px no-repeat;
}
* html #eng #gallery span {
    background: url(images/fornav-en-ie.gif) 0 -1px no-repeat;
}
* html #eng #gallery a:hover span, * html #eng #gallery a:active span {
    background: url(images/fornav-en-ie.gif) 0 -270px no-repeat;
}
#eng #gallery #active span {
    background: url(images/fornav-en.png) 0 -134px no-repeat;
}
* html #eng #gallery #active span {
    background: url(images/fornav-en-ie.gif) 0 -134px no-repeat;
}
#eng #services span {
    background: url(images/fornav-en.png) 0 -34px no-repeat;
}
* html #eng #services span {
    background: url(images/fornav-en-ie.gif) 0 -34px no-repeat;
}
* html #eng #services a:hover span, * html #eng #services a:active span {
    background: url(images/fornav-en-ie.gif) 0 -303px no-repeat;
}
#eng #services #active span {
    background: url(images/fornav-en.png) 0 -169px no-repeat;
}
* html #eng #services #active span {
    background: url(images/fornav-en-ie.gif) 0 -169px no-repeat;
}
#eng #info span {
    background: url(images/fornav-en.png) 0 -69px no-repeat;
}
* html #eng #info span {
    background: url(images/fornav-en-ie.gif) 0 -69px no-repeat;
}
* html #eng #info a:hover span, * html #eng #info a:active span {
    background: url(images/fornav-en-ie.gif) 0 -337px no-repeat;
}
#eng #info #active span {
    background: url(images/fornav-en.png) 0 -202px no-repeat;
}
* html #eng #info #active span {
    background: url(images/fornav-en-ie.gif) 0 -202px no-repeat;
}
#eng #contacts span {
    background: url(images/fornav-en.png) 0 -102px no-repeat;
}
* html #eng #contacts span {
    background: url(images/fornav-en-ie.gif) 0 -102px no-repeat;
}
* html #eng #contacts a:hover span, * html #eng #contacts a:active span {
    background: url(images/fornav-en-ie.gif) 0 -371px no-repeat;
}
#eng #contacts #active span {
    background: url(images/fornav-en.png) 0 -235px no-repeat;
}
* html #eng #contacts #active span {
    background: url(images/fornav-en-ie.gif) 0 -235px no-repeat;
}
#mainnav a:hover, #mainnav a:active {
    background: url(images/mainnav-a.png) 0 0;
}
* html #mainnav a:hover, * html #mainnav a:active {
    background: #5a3c3a;
}
#mainnav li a#active {
    background: #c9bea7;
    color: #320e13;
}
#main-content {
    padding: 30px 0 27px;
    float: left;
    width: 505px;
}
#onindex {
    display: block;
    border: 10px solid #26170a;
    width: 496px;
    height: 327px;
    display: block;
}
#footer {
    color: #c8c2a7;
    text-align: center;
    background: url(images/border-bg.png) -1582px 0 no-repeat;
}
* html #footer {
    background: url(images/border-bg.gif) -1582px 0 no-repeat;
    height: 1%;
}
#footer em {
    font-style: normal;
    display: block;
    text-align: right;
    font-size: 8pt;
    padding: 7px 17px 9px 20px;
}
#keyw {
     background: url(images/keyw.png) 0 0;
     color: #b6ab96;
     border: 1px solid #3f1e1b;
     padding: 4px 4px;
     font-size: 7.5pt;
     margin: 0 12px;
}
* html #keyw {
     background: #301615;
}

#links {
      margin: 16px -40px 0 -47px;
      height: 30px;
      position: relative;
}
#links li {
      padding-left: 13px;
      float: left;
}
#links li a:link, #links li a:visited {
      display: block;
      border: 1px solid #2d1413;
      background: #412827;
}
#links li a span {
      display: block;
      width: 108px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      cursor: pointer;
      text-indent: -9999px;
      overflow: hidden;
}
#behance a:link span, #behance a:visited span {
    background: url(images/links.png) 0 0 no-repeat;
}
#behance a:hover span, #behance a:active span {
    background: url(images/links.png) 0 -28px no-repeat;
}
#revision a:link span, #revision a:visited span {
    background: url(images/links.png) 0 -56px no-repeat;
}
#revision a:hover span, #revision a:active span {
    background: url(images/links.png) 0 -84px no-repeat;
}
#ruscre a:link span, #ruscre a:visited span {
    background: url(images/links.png) 0 -112px no-repeat;
}
#ruscre a:hover span, #ruscre a:active span {
    background: url(images/links.png) 0 -140px no-repeat;
}
#cg a:link span, #cg a:visited span {
    background: url(images/links.png) 0 -168px no-repeat;
}
#cg a:hover span, #cg a:active span {
    background: url(images/links.png) 0 -196px no-repeat;
}
#free-lance a:link span, #free-lance a:visited span {
    background: url(images/links.png) 0 -224px no-repeat;
}
#free-lance a:hover span, #free-lance a:active span {
    background: url(images/links.png) 0 -252px no-repeat;
}
#weblancer a:link span, #weblancer a:visited span {
    background: url(images/links.png) 0 -280px no-repeat;
}
#weblancer a:hover span, #weblancer a:active span {
    background: url(images/links.png) 0 -308px no-repeat;
}
#lj a:link span, #lj a:visited span {
    background: url(images/links.png) 0 -336px no-repeat;
}
#lj a:hover span, #lj a:active span {
    background: url(images/links.png) 0 -364px no-repeat;
}

/* For gallery */

#gallery-list li {
    width: 508px;
    height: 138px;
    padding-bottom: 22px;
}
#gallery-list li a:link, #gallery-list li a:visited {
    width: 500px;
    height: 130px;
    padding: 4px;
    display: block;
    background: url(images/forgallery.gif) 0 0 no-repeat;
}
#gallery-list li a:hover, #gallery-list li a:active {
    background: url(images/forgallery.gif) 0 -138px no-repeat;
}

/* For services */

#services-list {
    border: 1px solid #4b1e21;
    background: url(images/ctcs.png) 0 0;
    min-height: 327px;
    margin: 7px 0 11px;
}
* html #services-list {
    background: #310f13;
    height: 327px;
}
#services-list ul {
    padding: 10px 0 10px;
}
#services-list li strong {
    color: #efeacc;
    display: block;
    font-family: "Times New Roman", Times, serif;
    font-size: 16pt;
    font-weight: normal;
    padding: 2px 0;
}
#services-list li a:link strong, #services-list li a:visited strong {
    color: #efeacc;
}
#services-list li strong#ed {
    color: #89744c;
}
#services-list li {
    color: #7e675e;
    font-size: 8.5pt;
    padding: 0 0 0 135px;
    line-height: 1.1;
}
#services-list li span {
    padding: 0 0 0 40px;
    display: block;
}
#services-list a:link, #services-list a:visited {
    color: #7e675e;
    display: block;
}
#services-list a:hover, #services-list a:active {
    color: #b7a995;
    text-decoration: none;
}
#eng #services-list ul {
    padding: 75px 20px 35px 135px;
    line-height: 1.1;
}
#eng #services-list ul li {
    padding: 0 0 15px 0;
    color: #efeacc;
    font-family: "Times New Roman", Times, serif;
    font-size: 16pt;
}

/* For contacts */

#forcontacts {
    border: 1px solid #4b1e21;
    background: url(images/ctcs.png) 0 0;
    min-height: 327px;
    margin: 7px 0 11px;
}
* html #forcontacts {
    background: #310f13;
    height: 327px;
}
#forcontacts ul {
    padding: 80px 20px 50px 135px;
}
#forcontacts ul li {
    padding: 0 0 17px 0;
}

/* For info */

#photo {
    border: 11px solid #26170a;
}
#inform {
    background: url(images/inform.png) 0 0;
    border: 1px solid #4c1f22;
    padding: 8px 8px 15px 8px;
    margin-top: 14px;
    line-height: 1.1;
}
* html #inform {
    background: #311014;
}
#inform em {
    font-style: italic;
}
#inform h2 {
    color: #efeacc;
    font-size: 14pt;
    padding-bottom: 20px;
    font-weight: bold;
}
#inform div {
    padding-bottom: 20px;
}
#inform h3 {
    color: #efeacc;
    font-size: 10pt;
    padding-bottom: 10px;
    font-weight: bold;
}
#inform h3 a:link, #inform h3 a:visited {
    font-weight: normal;
    text-decoration: underline;
    color: #a39282;
}
#inform h3 span {
    font-weight: normal;
    color: #a39282;
}
#inform ul, #inform ol {
    padding: 0 0 0 15px;
}
#inform ol {
    list-style-position: inside;
}
#inform ol li {
    padding-bottom: 7px;
}
#inform ul li {
    padding-bottom: 2px;
}
#inform ol ul li {
    padding: 0 0 0 15px;
    background: url(images/dot.gif) 7px 5px no-repeat;
}
#inform strong {
    text-align: center;
    line-height: 1.2;
    padding-top: 25px;
    display: block;
}
#inform strong a:link, #inform strong a:visited {
    text-decoration: underline;
}
#eng #inform strong {
    padding-top: 5px;
}

/* For view */

#view {
    margin: 0 auto;
    padding: 77px 0 10px;
    position: relative;
    z-index: 3;
    font-family: "Times New Roman", Times, serif;
    font-size: 11pt;
    line-height: 1.1;
    width: 400px;
}
#view div {
    text-align: left;
    padding: 0 0 10px 40px;
    color: #ebe6c8;
}
#view div#customer {
    padding: 0 0 7px 11px;
    color: #89744c;
}
#view p {
    padding: 0 0 41px;
}
#view img {
    border: 9px solid #26170a;
}

/* For services (pages) */

#forservices {
    width: 440px;
    margin: 0 auto;
    padding: 10px 0 20px;
    text-align: left;
    line-height: 1.1;
    position: relative;
    z-index: 3;
}
#forservices #servicesimg {
    border: 14px solid #26170a;
}
#forservices h1 {
    color: #89744c;
    font-family: "Times New Roman", Times, serif;
    font-size: 16pt;
    font-weight: normal;
    padding: 5px 0 10px;
    text-align: center;
}
#forservices ul {
    height: 70px;
    margin-bottom: 10px;
    padding: 0 10px 0 90px;
    font-size: 8.5pt;
}
#forservices ul li {
    padding: 0 2px 0 15px;
    color: #9d947d;
    background: url(images/dot.gif) 7px 5px no-repeat;
}
#forservices div {
    margin: 0 14px 12px;
    border: 1px solid #462120;
    color: #dcd5ba;
    padding: 5px;
    background: #2f0f13;
}
#forservices div ul {
    color: #a19381;
    font-size: 9pt;
    height: auto;
    margin: 0;
    padding: 7px 0 0;
}
#forservices div ul li {
    padding: 2px 3px 2px 23px;
    background: url(none);
}

/* For 404 */

#error404 {
    color: #ebe6c8;
    text-align: center;
    padding: 200px 0 100px;
    width: 364px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    line-height: 1.1;
}
#error404 div {
    padding: 10px 0 23px;
    border: 1px solid #421e1d;
    background: url(images/mainnav.png) 0 0;
}
* html #error404 div {
    background: #2d1112;
}
#error404 a:link, #error404 a:visited {
    color: #ebe6c8;
    text-decoration: underline;
}
#error404 h1 {
    font-size: 70pt;
    font-weight: bold;
}
#error404 p {
    padding: 0 10px 12px;
}