html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    min-width: 795px;
    max-width: 1000px;
}

h1 {
    position: relative;
    margin: 0;
    padding: 0;
    width: 194px;
    height: 62px;
    overflow: hidden;
}

h1 span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 194px;
    height: 62px;
}

#bodywrap {
    padding: 10px; 
}

#header {
    padding: 0 0 0 10px;
}

#hmenu, #tmenu, #bmenu {
    list-style-type: none;
} 

#hmenu {
    float: right;
    margin: 25px 20px 0 0;
}

#hmenu li {
    float: left;
    padding: 0 10px 0 10px;
}

li#home {
    border: 0;
}

#tmenu,
#bmenu {
    position: relative;
    left: 156px;
    top: 5px;
    margin: 0;
    width: 700px;
    height: 28px;
    list-style-type: none;
}

#tmenu li,
#bmenu li {
    float: left;
    margin: 0 2px;
}

#tmenu li {
    position: relative;
    margin: 0;
    padding: 0;
    height: 23px;
    overflow: hidden;
    vertical-align: bottom;
    text-align: center;    
}

#tmenu li span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 23px;
    cursor: pointer;
}

li.services, li.services span {
    width: 85px;
}

li.ruservices, li.ruservices span {
    width: 85px;
}

li.customers, li.customers span {
    width: 94px;
}

li.rucustomers, li.rucustomers span {
    width: 86px;
}

li.technologies, li.technologies span {
    width: 112px;
}

li.rutechnologies, li.rutechnologies span {
    width: 96px;
}

li.company, li.company span {
    width: 79px;
}

li.rucompany, li.rucompany span {
    width: 83px;
}

li.solutions, li.solutions span {
    width: 87px;
}

li.rusolutions, li.rusolutions span {
    width: 78px;
}

ul#langs {
    list-style-type: none;
    float: right;
    margin: 8px 3px 0 0;
}

ul#langs li {
    float: left;
    margin: 0 2px;
}

#main {
    margin: 10px 0 0;
}

#main .bottom-right {
    padding: 0 10px;
}

#contentwrap {
    clear: both;
}

#tmenu {
    margin: 10px 0 0;
}

#content {
    margin: 0;
    padding: 0;
}

#content .bottom-right {
    padding: 5px 10px 5px 0;
    min-height: 560px;
}

#sidebar {
    clear: both;
    float: left;
    width: 195px;
    margin: -5px 10px -5px 0;
}

#sidebar .bottom-right {
    padding: 5px;
    height: 100%;
}

#sidebar .address {
  padding-top: 10px;
}

.clear {
    clear: both;
}

#footer {
    padding-bottom: 1px;
}

#copyright {
    margin: 5px 0 5px 3px;
}

#content ul li {
    margin-left: 2em;
}

body #content .bottom-right {
    padding-right: 0;
}

body #sidebar .bottom-right {
    padding-right: 10px !important;
}

ul#smenu {
    list-style-type: none;
    margin: 1em 0;
    padding: 0;
}

ul#smenu li {
    margin: 0;
    padding: 2px;
}

#text {
    margin-top: 0;
    padding-right: 150px;
}

#text h2 {
    margin: 0;
    padding: 0;
}

#content .home {
    padding-left: 15px;
}

#content h2 {
    display: inline;
    padding-bottom: 1px;
    border-bottom: 3px solid #9473b1;
}

#piter_image {
    margin: 0 10px 0 15px;
}
