.partner #header {
	height: 162px;
}
.partner #exchange-menu {
	top: 72px;
    right: auto;
    left: 21px;
}
.partner #content-top {
	top: -32px;
	height: 50px;
}
.partner #content-top {
	background-image: url('../images/partner/ugol_top2.gif');
}

#content-inner {
	padding-top: 30px;
}

.partner-name {
	position: absolute;
	top: 80px;
	left: 706px;
	background: url('../images/partner/bg_partner_name.png') no-repeat;
	width: 230px;
	height: 32px;
	line-height: 32px;
	color: #000;
	padding-left: 30px
}
.logout {
	position: absolute;
	left: 0px;
	top: 0px;
    width: 260px;
    height: 100%;
    background: url('../images/partner/btn_logout.gif') no-repeat 235px center;
    text-decoration: none;
    text-indent: -9999px
}

.partner #content h2 {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: normal;
	background: none;
	color: #000;
}

/* {{{ partner menu */
.partner-menu {
	position: absolute;
	top: -31px;
	left: 38px;
	z-index: 9999;
}
.user-area .partner-menu {
    background: url(/images/partner/ugol_top2.gif) no-repeat 0 -1px;
    width: 1003px;
    height: 50px;
    padding-left: 38px;
    left: 0;
    top: -20px;
}
.user-menu {
	position: absolute;
	top: -20px;
	left: 38px;
	z-index: 9999;
}
.user-area .user-menu {
    background: url(/images/partner/ugol_top2.gif) no-repeat 0 -1px;
    width: 1003px;
    height: 50px;
    padding-left: 38px;
    left: 0;
    top: -20px;
}
.partner-menu li {
	float: left;
	height: 50px;
	line-height: 50px;
}
.partner-menu li:hover {
	background: #f5f6f6 url('../images/partner/bg_pm_hover.gif') repeat-x top;
}
.partner-menu li.current {
	background: #f5f6f6 url('../images/partner/bg_pm_hover.gif') repeat-x top;
}
.user-menu li {
	float: left;
	height: 50px;
	line-height: 50px;
}
.user-menu li:hover {
	background: #f5f6f6 url('../images/partner/bg_pm_hover.gif') repeat-x top;
}
.user-menu li.current {
	background: #f5f6f6 url('../images/partner/bg_pm_hover.gif') repeat-x top;
}
#content .partner-menu a,
#content .partner-menu b {
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader;
	float: left;
	height: 100%;
	color: #313131;
	font-size: 18px;
	font-weight: normal;
	background-image: url('../images/partner/partner_menu_icons.gif');
	background-repeat: no-repeat; padding-left:33px; padding-right:15px; padding-top:0; padding-bottom:0
}
#content .partner-menu a:hover {
	text-decoration: none;
	color: #313131;
}

#content .user-menu a,
#content .user-menu b {
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader;
	float: left;
	height: 100%;
	color: #313131;
	font-size: 18px;
	font-weight: normal;
	background-image: url('../images/partner/partner_menu_icons.gif');
	background-repeat: no-repeat; padding-left:33px; padding-right:15px; padding-top:0; padding-bottom:0
}
#content .user-menu a:hover {
	text-decoration: none;
	color: #313131;
}
.h-stat, .p-stat * {
	background-position: 5px 3px;
}
.h-history, .p-history * {
	background-position: 5px -47px;
}
 .h-reg-rapida, .p-reg-rapida * {
	background-position: 5px -243px;
}
 .h-temp-rapida, .p-temp-rapida * {
	background-position: 5px -290px;
}
.h-banners, .p-banners * {
	background-position: 5px -97px;
}
.h-calc, .p-calc * {
	background-position: 5px -147px;
}
.h-setts, .p-setts * {
	background-position: 5px -197px;
}
/* }}} partner menu */

.partner h1 {
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader;
	font-weight: bold;
	color: #dd6230;
	background-image: url('../images/partner/partner_menu_icons.gif');
	background-repeat: no-repeat;
	padding-left: 33px;
	height: 50px;
	line-height: 50px;
    margin-bottom: 10px; font-style:normal; font-variant:normal; font-size:36px; font-family:Arial, Helvetica, sans-serif
}
#change {
	font: 36px Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #dd6230;
	background-repeat: no-repeat;
	padding-left: 33px;
	height: 50px;
	line-height: 50px;
    margin-bottom: 10px;
}
.partner h1.no-ico {
    background: none;
    padding-left: 0;
}


.work-time {
	height: 45px;
	line-height: 45px;
	padding-left: 55px;
	background: url('../images/partner/ico_clock.gif') no-repeat left;
	font-size: 18px;
	color: #010101
}
.work-time span {
	color: #b8b8b8;
}
.work-time b {
	font-weight: normal;
	color: #f26c28;
}

/* {{{ partners counters and status */
.partner-counters,
.partner-status {
	border-collapse: collapse;
	width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}
.partner-counters th,
.partner-status th {
	text-align: left;
	color: #000;
	font-size: 18px;
	font-weight: normal;
	border-bottom: 3px solid #d6d6d6;
	padding: 10px 0;
}
.partner-counters td,
.partner-status td {
	border-bottom: 1px solid #d6d6d6;
	padding: 8px 0;
	font-size: 12px;
}
.partner-counters .last td,
.partner-status .last td {
	border-bottom: none;
}

.partner-status .num {
	color: #000;
    font-size: 14px;
}

.partner-status th {
	font-size: 18px;
}
.partner-status th.current {
	font-size: 24px;
	color: #f26c28;
    padding: 7px 0;
}
.partner-status td.current {
	font-size: 16px;
	color: #f26c28;
    padding: 6px 0;
}
.partner-status th,
.partner-status td {
	text-align: center;
	color: #000;
}
.partner-status th.l,
.partner-status td.l {
	text-align: left;
}
.partner-status td.l {
	color: #6a6a6a;
}
/* }}} partners counters and status */

.vt { vertical-align: top; }

.bill-state {
	margin-bottom: 30px;
    margin-top: 10px;
}
.bill-state-wrapper {
	border-left: 1px solid #d6d6d6;
	border-right: 1px solid #d6d6d6;
}
.bill-state table {
	width: 100%;
}
.bill-state .arrow {
	background: url('../images/partner/arrow.gif') no-repeat center;
	width: 16px
}
.bill-state .sum span {
	font-size: 18px;
	color: #f26c28;
	text-decoration: underline;
}
.bill-state-wrapper img {
    vertical-align: middle;
}

#content .bill-state .sum a {
    font-size: 10px;
    margin-right: 5px;
    color: #0066CC;
}
#content .bill-state .sum a:hover {
    color: #0066CC;
}
.bill-state .nul span {
	color: #838383;
	font-size: 18px;
}
.bill-state td td {
	padding: 6px;
}

/* {{{ history table */
.history {
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
}
.history .header th {
	/*background: #fff2e4;*/
	border-bottom: 1px solid #d7a48a;
	padding: 10px 0 10px 15px;
	text-align: left;
	color: #000;
	font-size: 18px;
    font-weight: normal;
}
.history .header2 th {
	text-align: left;
	background: #f7f7f7;
	padding: 2px 15px;
	font-weight: normal;
    color: #000;
}
.history .header2 th.filter-toggler {
	padding: 0;
}
.history #filter td, .history tbody td {
	padding: 5px 15px;
	border-bottom: 1px solid #ebebeb;
}
.history tbody td td {
	border-bottom: none;
}
.history .total th,
.history .total td {
	border-bottom: none;
	background: #f3f3f3;
}
.history .total th,
.history .total .comment {
	font-size: 18px;
	color: #616161;
    text-align: left;
    font-weight: normal;
}
.history .date {
	color: #000;
	font-size: 14px;
    white-space: nowrap;
}
.history .in span,
.history .out span {
	/*color: #000;
	font-size: 10px;*/
	float: left;
	padding: 3px 0 2px;
}
.history .in,
.history .out {
	white-space: nowrap;
	font-size: 14px;
	color: #000;
}
.history .in b,
.history .out b {
	
	font-size: 18px;
	/*display: block;*/
	float: left;
	font-weight: normal;
	margin-right: 5px;
}
.history .in b {
	color: #5c9841;
}
.history .out b {
	color: #000;	
}
.history .comment {
	font: 14px Arial, Helvetica, sans-serif;
}

.type-mo 
{
/* color: #7f0000; */
color: #5C9841;
 
}
.type-pw { 
/* color: #3DBD3D; */ 
/* color: #616161; */
color: #963995;
}
.type-pr { 
/* color: #fb00fc; */ 
color: #616161;
}
.type-exch { 
/* color: #fb881d; */ 
color: #616161;
color: #F26C28;
color: #1D72C8;
}
.type-sell { 
/* color: #8006ff; */
/* color: #616161; */
color: #963995;
color: #1D72C8;

}
.type-buy { 
/* color: #0078f4; */ 
/* color: #616161; */
color: #1D72C8;
color: #1D72C8;
}
.type-ut { 
/* color: #f26c28; */
/* color: #616161; */
color: #F26C28;
}
.type-st { 
/* color: #5c9841; */
/* color: #616161; */
color: #5C9841;
}
.type-obm { 
/* color: red;*/  
 color: #616161; 
}

/* цвета для истории операций в личном кабинете */
.user-type-sell { 
color: #963995;

}
.user-type-buy { 
color: #1D72C8;
}
.user-type-ut { 
color: #F26C28;
}
.user-type-st { 
color: #5C9841;
}

.history .asc {
	background: url('../images/partner/ico_asc.gif') no-repeat right;
	padding-right: 10px
}
.history .desc {
	background: url('../images/partner/ico_desc.gif') no-repeat right;
	padding-right: 10px
}
#content .history .header th a {
	color: #000;
}

/* {{{ filter */
.filter-toggler div {
	background: #eeeeee url('../images/partner/ico_filter.gif') no-repeat 14px center;
	float: left; padding-left:25px; padding-right:15px; padding-top:5px; padding-bottom:5px
}
#content .filter-toggler a {
	color: #313131;
	text-decoration: none;
	border-bottom: 1px dashed #313131;
}
#filter {
	background: #eee;
}
#filter td {
	border-bottom: 6px solid #e6e6e6;
	vertical-align: top;
}
#filter td td {
	padding: 2px;
	border-bottom: none;
}
#filter th {
	text-align: right;
	background: #eee;
	padding: 2px;
	font-weight: bold;
}
#filter table {
	width: 100%;
	border-collapse: collapse;
}

#filter td.middle {
	padding: 15px 0 0 30px;
}

#filter td.middle table {
	table-layout: fixed;
}

#filter td.middle tbody td h3 {
	margin: 0;
}

#filter td.middle tbody td {
	padding: 0;
	height: 40px;
	vertical-align: middle;
}

.s-container {
	padding: 2px;
}
.s-container h3 {
	float: left;
}
.s-container select {
	margin: 14px 0 12px 5px;
}
#filter h3 {
	color: #000;
	font-size: 12px;
}
#filter .btn-apply {
	margin-top: 1.2em;
}
.rel { position: relative; zoom: 1; }
#filter .btn-clear {
	position: absolute;
	top: 0px;
	right: 0;
}
/* }}} filter */

/* {{{ history navigation */
#history-nav-u {
	margin: 10px 0;
}
#history-nav-u span {
	display: block;
}
#history-nav-u a {
	text-decoration: none;
	color: #3366cc;
	padding: 1px 1px;
	font-weight: 700;
	font-size: 8.3pt;	
}
#history-nav-u a .next2 {
	text-decoration: none;
	color: blue;
	padding: 1px 1px;
	font-weight: bold;	
}
#history-nav-u b {
	font-weight: 700;
	font-size: 8.3pt;
	color: #ccc;
	padding: 1px 1px;

}
#history-nav-u .current-page b {
	border: 1px dotted #000;
	color: #3366cc;
}
#history-nav-u .prev-next {
	font-size: 14px;
	margin-bottom: 10px;
	padding: 1px 1px;
}
#history-nav-u .prev-next * {
//	margin-right: 8px;
	
}
#history-nav-u .pages {
	font-size: 12px;
}
#history-nav-u .pages * {
	margin-right: 8px;
}
/* }}} history navigation */
/* {{{ history navigation */
#history-nav {
	margin: 10px 0;
}
#history-nav span {
	display: block;
}
#history-nav a {
	text-decoration: none;
	color: #000;
}
#history-nav b {
	font-weight: normal;
	color: #949494;
}
#history-nav .prev-next {
	font-size: 14px;
	margin-bottom: 10px;
}
#history-nav .prev-next * {
	margin-right: 18px;
}
#history-nav .pages {
	font-size: 24px;
}
#history-nav .pages * {
	margin-right: 18px;
}
/* }}} history navigation */

.history-top-block {
    position: relative;
}
#curr-logo {
    position: absolute;
    top: 7px;
    left: 400px;
}
/* }}} history table */



/* {{{ wait exchanges table */
#content .wait-exchange {
    color: #000;
    border-collapse: collapse;
}
#content .wait-exchange td,
#content .wait-exchange th
{
    padding: 5px;
    border: 1px solid #ededed;
}

/* }}} wait exchanges table */

#content .partner-login-form {
    color: #000;
}


.banners-table {
    color: #000;
}
.banners-table td {
    padding: 5px 0px;
}


#visitor_currency_form {
    color: #000;
}


b.ncorners {
	display:block;
}
b.ncorners * {
	border-style:solid;
	border-width:0pt 1px;
	display:block;
	font-size:1px;
	height:1px;
	line-height:1px;
	overflow:hidden;
	background-color:#fff;
	border-color:#d6d6d6;
}
b.r1 { margin:0pt 3px; background: #d6d6d6; border-left-width:2px; border-right-width:2px; border-top-width:0pt; border-botto:0pt }
b.r2 { margin:0pt 2px; }
b.r3 { margin:0pt 1px; }
b.r4 { height:2px; }

#content .sys-setts {
    border-collapse: collapse;
    color: #000;
    margin-top: 20px;
}
.sys-setts th {
    text-align: left;
    background: #ededed;
    padding: 5px;
    border: 1px solid #ededed;
}
.sys-setts td {
    padding: 5px;
    border: 1px solid #ededed;
}


.current-state-links {
    padding-top: 10px;
}
.current-state-links h3 {
    color: #000;
    font-size: 14px;
}
.current-state-links a {
    display: block;
    margin: 3px 0;
}

.not-active {
    background: #fff9c4;
    padding: 20px 25px;
    border: 1px solid #ffdaaf;
    position: relative;
    zoom: 1;
    margin-bottom: 10px;
}
.not-active h3 {
    background: url('../images/ico_warn.gif') no-repeat left;
    padding-left: 38px;
    color: #d11717;
    margin-bottom: 10px; font-style:normal; font-variant:normal; font-weight:normal; font-size:18px; font-family:Arial, Tahoma, sans-serif
}
#content .not-active p {
    color: #000;
    margin: 0;
    padding: 0;
}
.not-active span {
    position: absolute;
    background: url('../images/ico_close_warn.gif') no-repeat left 5px;
    padding-left: 10px;
    top: 10px;
    right: 10px
}
#content .not-active a {
    color: #000;
}
.partner h3 {
    font-size: 14px;
    color: #000;
    margin: 10px 0 0;
}
.banner-size {
    font-size: 11px;
}

.user-area .history .in b {
	/* font-size: 22px; */
}
#content .user-area .data:hover {
	background-color: transparent;
	cursor: default;
}

#content .history .more {
    font-size: 12px;
    text-decoration: none;
    color: #f00;
    font-weight: bold;
}


#content .history .more {
    font-size: 12px;
    text-decoration: none;
    color: #f00;
    font-weight: bold;
}


.details-block {
    display: none;
}
.history .more-info {
    border-collapse: collapse;
}
.history .more-info td.r {
    font-weight: bold;
}
.history .more-info td {
	padding: 2px;
    color: black;
    font-size: 80%;
    border: 1px solid #dedede;
}
#content .history .status {
    font-size: 10px;
    color: #000;
}

.banner-size {
    font-size: 11px;
}

#content .exch-banner td { font-size: 12px; color:#000; vertical-align: top; text-align: left;}
#content .exch-banner td.banner-desc p {  text-align: left; padding-bottom: 5px;}
#content .exch-banner td h2 { font-size:14px; font-weight: bold; text-align: center;}
#content .exch-banner td span.personal { color: #00F; }
#content .exch-banner td.banner-desc { width: 500px; }
#content .exch-banner td table td { padding-right: 10px;}
#content .exch-banner td table td.banner-code, 
td.banner-code { font-size: 12px; border: 1px solid #7F9DB9;  padding: 10px; }
#content .exch-banner td table td  a{ color: #df451b; }
#content .exch-banner td table.sys-setts th { padding: 5px 10px 5px 10px; }

/* ---------------------в партнерке двигаем логотипы-----------------------------*/

.logo_wm_usd { background-position: -12px -108px; }
.logo_wm_ru { background-position: -12px -72px; }
.logo_wm_eur { background-position: -12px -36px; }
.logo_wm_wmu { background-position: -12px 0px; }
.logo_yandex { background-position: -12px -180px; }
.logo_e-gold { background-position: -12px -144px; }
.logo_mail_ru { background-position: 0px -288px; }
.logo_mail_usd { background-position: 0px -216px; }
.logo_mail_eur { background-position: 0px -252px; }
.logo_rbk_rur { background-position: -12px -324px; }
.logo_wm_wmb { background-position: -12px -360px; }