* {
    margin: 0;
}
html, body {
    height: 100%;
}
body {
    margin:0;
    padding:0;
    border:0;
    background-color:#FFFFFF;
    color:#616060;
    font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
    font-weight:normal;
    font-size:13px;
    line-height:1.307em; /* 14x1.285=18 */
}
a {
    color:#4487d1;
}
a.ajax {
    text-decoration:none;
    border-bottom:1px dotted #4487d1;
}
p {
    padding:0.5em 0;
}
img {
    border:0;
}
/*input, select {*/
    /*border-width:1px;*/
/*}*/
h1, h2, h3, h4 {
    font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
    font-weight:normal;
/*font-size:1em;*/
    padding:1em 0 0.5em 0;
    color:#543626;
}
h1 {
    padding-top:0;
    font-size:22px;
}
h2 {
    font-size:14px;
    font-weight:bold;
}
h3 {
    font-size:14px;
}

ul {
    margin:0;
    padding:0;
    border:0;
}
li {
    margin:0 0 0 2em;
    padding:0.5em 0;;
    border:0;
}
em {
    font-weight:normal;
}
.clear {
    width:100%;
    overflow:hidden;
}
.hidden {
    display:none;
}
.content_left {
    float:left;
    width:50%;
}
.content_right {
    margin-left:50%;
}
.page_wrapper {
    /*width:964px;*/
    width:760px;
    margin:0 auto;
    overflow:hidden;
}

.not_inited {
    color:#999999;
}
/*.ft_wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -8em;
}
.ft_footer, .ft_push {
    height: 8em;
}
.ft_footer {
    background-color:#ffffff;    
}*/
.footer, .header, .menu, .content {
    overflow:hidden;
}
.footer {
    background-color:#eae7e6;
    /*border-top:1px solid #FF854C;*/
}
.footer_content {
    padding:23px 19px 22px 19px;
}
.footer_content a {
    margin-left:20px;
}
/*.footer p {
    font-size:0.833em;
} */

.header {
    width:100%;
    position: relative;
}
.header a {
    /*color:#000;
    text-decoration:none;*/
}
.login_wrapper {
    float:right;
    padding:44px 0 0 0;
    text-align:right;
    line-height: 140%;
}
.logo_wrapper {
    float:left;
    font-weight:bold;
    padding:29px 0 25px 9px;
}
.logo_wrapper a {
    float:left;
}

.menu {
    width:100%;
    /*height:31px;*/
    line-height:31px;
}
.menu ul {
    list-style-type:none;
    margin:0;
    padding:0;
    height:31px;
    background-color:#f1f0ef;
}
.menu ul#loginMenu {
    float:right;
}
.menu ul#mainMenu {
    float:left;    
}
.menu ul li {
    float:left;
    margin:0;
    padding:0;
}
.menu ul li a {
    float:left;
    background:transparent url(../i/m1/b.png) repeat-x 0 0;
    color:#543626;    
    text-decoration:none;
}
.menu ul#loginMenu li a {
    color:#d35412
}

.menu ul li a div div, .menu ul li a.first div div {    
    padding:0 17px;
    background:transparent url(../i/m1/s.png) no-repeat right 0;
}
.menu ul li a.last div div, .menu ul#loginMenu li a div div {
    background:transparent url(../i/m1/r.png) no-repeat right 0;
}
.menu ul li a.first div, .menu ul#loginMenu li a div {
    background:transparent url(../i/m1/l.png) no-repeat 0 0;
}
.menu ul li.menu_active a.first div, .menu ul li a.first:hover div, .menu ul#loginMenu li a:hover div {
    background:transparent url(../i/m1/la.png) no-repeat 0 0;
}
.menu ul li.menu_active a.last div div, .menu ul li a.last:hover div div, .menu ul#loginMenu li a:hover div div {    
    background:transparent url(../i/m1/ra.png) no-repeat right 0;
}

.menu ul li.menu_active a, .menu ul li a:hover {
    background-image:url(../i/m1/ba.png)!important;
    color:#ffffff!important;
}
.menu ul li.menu_active a div div, .menu ul li a:hover div div {
    background:none;
}
.content {
    padding:40px 17px 2em 17px;
}
.content2 {
    padding:40px 0 2em 0;
}
.mainPage {
    margin:0 -17px 0 -17px;
}
ul.mainList {
    list-style-type:none;
}
ul.mainList li {
    margin:0;
    padding:0.5em 0 0.5em 17px;
    background:transparent url(../i/li.gif) no-repeat 0 11px;
}
ul.mainList li.last {
    background:none;
}
.createChatButton {
    display:block;
    background:transparent url(../i/createchat.png) no-repeat 0 0;
    width:185px;
    height:39px;
    text-indent:-300px;
    outline:none;
}
ul.blogposts {
    list-style-type:none;
}
ul.blogposts li {
    margin:0;
}
.blogpost {
    padding:0.5em 0;
}
ul.blogposts li em, .blogpost em {
    color:#666666;
    margin-left:1em;
}
/* forms */
table.tableform {
    border:0;
    border-collapse:collapse;
}
table.tableform td {
    border:0;
    padding:0.64em 0;
    vertical-align:top;
}
table.tableform td.label {
    width:220px;
}
table.tableform td.value input.text {
    width:220px;
}
div.error {
    font-weight:bold;
    color:#ff0000;
    padding-top:3px;
}
input.captcha {
    width:60px;
}
/* table */
table.t {
    border:1px solid #ece9e8;
    border-collapse:collapse;
    margin:1em 0;
}
table.t th {
    background-color:#ece9e8;
    border:1px solid #ece9e8;
    padding:0.3em;
    color:#543626;
    font-weight:normal;
}
table.t td {
    vertical-align:top;
    border:1px solid #ece9e8;
    padding:1em;
    word-wrap: break-word;
}
.returnToChats {    
    padding-bottom:1em;
}
.p_link {
    text-decoration:none;
    padding:2px 6px;
    color:#616060;
}
.p_active, .p_link:hover {
    padding:2px 6px;
    background-color:#ECE9E8;
    color:#543626;
}
.p_active span {
    font-weight:bold;
}
.promobox_wrapper {
    margin:33px 0 16px 0;
}
.promobox {
    border:1px solid #c3c1c0;    
    /*width:273px;*/
}
.promobox div {
    padding:14px 15px;
}
.promobox img {
    display:block;
    margin-bottom:5px;
}
.header .lenta {
    position: absolute;
    width: 32px;
    height: 54px;
    background:transparent url(../i/lenta.png) no-repeat 0 0;
    left: 178px;
    top: 25px;
    text-decoration: none;
}
.header .ubiley {
    position: absolute;
    width: 62px;
    height: 40px;
    background:transparent url(../i/ubiley.png) no-repeat 0 0;
    left: 171px;
    top: 35px;
    text-decoration: none;
}
a.profunc {
    background-color: #f0ad4e;
    padding: 1px 6px;
    color: #fff;
    text-decoration: none;
    font-size: 8pt;
    border-radius: 3px;
}
a.profunc:hover {
    text-decoration: underline;
}