* { font-family: 'Trebuchet MS'}
small {font-size: 11px;}

.logo { font-weight: bold; font-size: 17px; float: left; margin: -3px 20px 0 0; }
.logo img {
	width: 200px;
	margin-top: 3px;
}
.logo sup { font-weight: normal; font-size: 11px; }

.menus {float: right;}

.header { background: #ffffff; padding: 0 10px 10px 10px; height: 100px; margin: 0 auto; border: 0px solid red; } /*margin: 10px 0 20px 0;*/
.header .menus {float: right; }
.header .mini {border: 0px solid red; font-size: 11px; margin-bottom: 10px;}

.header .tabs a {display: block; color: #000000; height: 30px; padding: 10px 10px 0 10px; background: #ff9f65; float: left; margin-right: 5px; text-decoration: none;}
.header .tabs a:hover {text-decoration: underline;}
.header .tabs a.selected {background: #fdd5bd}

.header .submenu { border: 0px solid red; clear: both; text-align: right; background: #fdd5bd; padding: 3px 10px 3px 0; }
.header .submenu a { font-size: 12px; }

.footer {clear: both; font-size: 12px; padding-top: 30px; }
.body { width: 1000px; margin: 0 auto; border: 0px solid green;  }
.content {margin: 5px 10px 0px 10px; min-height: 420px; border: 0px solid red; position: relative; }

body { background-color: #fff; font-size: 14px; color: #4F5155; }

a { color: #003399; background-color: transparent; }
a:hover { text-decoration: none; }
a.selected { font-weight: bold; }

a.button { background-color: #fc5f00; padding: 7px; text-decoration: none; color: #ffffff; font-size: 13px;
  -webkit-border-radius: 7px; 
  -moz-border-radius: 7px;
  border-radius: 7px;
}

img {border: 0px}

table { border: 1px solid silver;  margin: 0px; padding: 0px; border-collapse: collapse; }
table tr { }
table tr td { border: 1px solid silver; padding: 5px; }
table tr th { font-weight: bold; border: 1px solid silver; padding: 5px; background: #eaeaea; }

table.compact tr td { font-size: 13px; }


table.noborder { border: 0px; }
table.noborder tr td { border: 0px; }


h1 { font-size: 17px; }

.menu_buttons { width: 100%; }
.menu_buttons form { float: left;  }

div.clear, div.clearing { clear: both; }


form input[type=text] { width: 400px; }
form input[type=submit] { min-width: 100px; }
form textarea { width: 400px; height: 300px; }


.day_graph { /*width: 200px;*/ border: 0px solid red; height: 9px; float: left; }
.day_graph div { height: 100%; }

.day_graph_affiliate div { background: #93bc16; float: left; }
.day_graph_affiliate2 div { background: #1100ff; float: left; }
.day_graph_vendor div { background: orange; }


/* каталог */
.product { width: 900px; min-height: 80px; float: left; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 2px dashed silver; }
.product:last-child { border-bottom: 0px; }



.product .image { width: 216px; height: 216px; text-align: center; float: left; }
.product .image img{ padding-top: 2px; }
.product .description { /*position: relative;*/ margin-left: 230px; }


.product .name { font-size: 17px; font-weight: bold; }

.product .actions { margin-top: 15px; min-height: 30px; line-height: 25px; }

.product .text { font-size: 12px; margin: 0px 0 5px 0; /*clear: both;*/ }

.product .description .variants { width: 100%; /*bottom: 6px; position: absolute; width: 466px;*/ }
.product .description .variants tr td { font-size: 12px; text-align: center; padding: 1px 5px 1px 5px; line-height: 15px; }
.product .description .variants tr td:first-child { text-align: left; }
.product .description .variants .main_variant { font-weight: bold; background: #FDD5BD; }


/*
.product .stats { font-size: 12px; }
.product .stats span { color: #fc5f00; font-weight: bold; }*/



.create_link h1{font-size: 15px;}
.create_link .href{ border: 1px solid black; color: #000000; font-weight: bold; width: 700px; margin-bottom: 10px; }
.create_link .link{ border: 1px solid #00008b; font-weight: bold; color: #00008b; width: 700px;  }


.main {background: #f5f5f5; border: 5px solid #e3e3e3; width: 420px; height: 300px; padding: 20px; float: left; }
.main h1 { font-size: 27px; margin-top: 0px; }



.analytics .settings div { border: 1px solid grey; float: left; padding: 5px; height: 45px; margin-right: 3px; }

.analytics .data { margin-left: 155px; width: 900px; border: 1px solid grey; }

.analytics .settings2 { width: 150px; height: 300px; float: left; border: 1px solid grey; }
.analytics .settings2 span { font-weight: bold; display: block; background: #EAEAEA; padding: 3px; margin-bottom: 3px; }
.analytics .settings2 a { display: block; margin: 0 0 2px 10px; font-size: 12px; }

.analytics #choose_date input[type=text]{ width: 100px; }

.analytics #chartdiv embed { z-index: 0; }
#ui-datepicker-div {z-index: 1; font-size: 0.8em;}


.main_statistic { float:left }
.main_statistic h1 { margin-top: 0px; }
.main_statistic table { font-size: 11px; }

.balance_statistic { float: left; margin-left: 70px; }
.balance_statistic h1 { margin-top: 0px; }

.miniblock { border: 0px solid silver; padding: 0px; }
.miniblock h2 { font-size: 17px; margin-top: 0px; border-bottom: 0px solid silver; }
.miniblock div { margin-top: 10px; }

.week_statistic td { padding: 0px 5px 0 5px; font-size: 13px; }
.days_statistic { border: none; }
.days_statistic td { padding: 0px 5px 0 5px; font-size: 13px; border: none; }

.analytics table { font-size: 12px; }


table.basic tr td{ vertical-align: top; }

.transaction_vendor { background: #ffffff }
.transaction_affiliate { background: #d6ffe4 } /*ffedd6*/
.transaction_affiliate2 { background: #ebebeb }


.red { color: red; }
.green { color: green; }

.error { border: 1px solid red; padding: 10px; color: red; margin: 4px 0 4px 0; }
.ok { border: 1px solid green; padding: 10px; color: green; margin: 4px 0 4px 0; }



.leaderboard div { font-size: 12px; height: 9px;}
.leaderboard div.me { color: green; }

.minilinks a {
	font-size: 12px;
	text-decoration: none; 
	border-bottom: 1px dashed;
}
