/*
 * $Date: 2010/01/11 16:06:53 $
 * $Revision: 1.47 $
 */

/* Reset
-------------------------------------------------------------------*/
* { padding: 0; margin: 0; }
img { border: none; }


/* Body
-------------------------------------------------------------------*/
body {
  color: #333333;
  font: 12px/18px "Lucida Grande", Verdana, Helvetica, Arial, Geneva, sans-serif;
  background: #fafafa url(/img/bg.gif) repeat scroll 0 0;
}

img {
  border: medium none;
}

a:visited {
  color: #5371c5;
}

a:hover {
  color: #5371c5;
  text-decoration: underline;
}

a {
  color: #5371c5;
  text-decoration: none;
}

p { margin-bottom: 10px; }

h1 { font-size: 22px; line-height: 26px; margin-bottom: 10px; }
h2 { font-size: 20px; line-height: 24px; margin-bottom: 7px; }
h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }

h1, h2, h3 {
  color: #333333;
  font-family: "Trebuchet MS", Helvetica, Arial, Geneva, Sans-Serif;
  font-weight: normal;
}

h1 span { color: #999; }

ul, ol {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

form {
  margin: 0;
  padding: 0;
  position: relative;
  // display: inline-block;
}

div.form_container input !important,
div.form_container textarea,
div.form_container select {
  width: 95%;
}

div.form_container {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background-color: #f3f6f7;
  padding: .7em;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 100%;
  background-color: #ffffff;
}

input, textarea, select {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #999999;
  color: #000000;
  font-family: Verdana, Helvetica, Arial, Geneva, sans-serif;
  padding: 0.3em;
}

tr.required {
  background-color: #f9fbfc;
}

td.label {
  text-align: right;
  width: 30%;
  vertical-align: top;
  font-weight: bold;
}

td.image {
  width: 30px;
  padding: .1em;
}

div.form_container td,
div.form_container th {
  border: 1px solid #d4dde2;
  padding: 4px 7px 5px;
}

table td {
  padding: .3em;
}

td.input input,
td.input select {
  width: 90%;
}

form input.radio {
  display: inline;
  margin: 0;
  width: auto;
  vertical-align: middle;
  color: #628192;
}

form input.checkbox {
  float: left;
  clear: left;
  margin: .2em 0 0 0;
  width: auto;
  color: #628192;
  border: 0;
}

form label.checkbox {
  margin-left: 1.5em;
  color: #628192;
  line-height: 2.2em;
  display: block;
}

form label.baloon {
  display: none;
}

td.commented {
  cursor: help;
}

form label.radio {
  margin: 0 2em 0 0.2em;
  color: #628192;
  line-height: 1.5em;
}

tr.submit td {
  border-left: medium none;
}

tr.submit td:first-child {
  border-left: 1px solid #cccccc;
  border-right: medium none;
}

th {
  padding: 0.5em;
  font-size: 120%;
  color: #555555;
  font-weight: normal;
  text-align: left;
}

tr.item:hover,
li.item:hover {
  background-color: #f5f5f5;
}

.reload {
  font-size: 82%;
}


/* Container
-------------------------------------------------------------------*/
#container {
  margin: 20px auto;
  overflow: visible;
  padding-bottom: 10px;
  position: relative;
  width: 900px;
}

#wrapper {
  background: #d6dEd4 url(/img/sidebar-bg.gif) repeat-y scroll right top;
  float: left;
  width: 900px;
}


/* Header
-------------------------------------------------------------------*/
#logo a {
  left: 2%;
  position: absolute;
  top: -10px;
  z-index: 1000;
  cursor: pointer;
  position: absolute;
  background: transparent url(/img/zamango_logo.png) no-repeat scroll 0 0;
}

#logo a img {
  height: 60px;
  width: 171px;
}

#header {
  background: #fafafa url(/img/header-bg.gif) no-repeat scroll center center;
  float: left;
  width: 900px;
  height: 53px;
  position: relative;
}

#header h1 {
  color: #333333;
  font: 24px Verdana;
  margin: 0 0 0 200px;
  padding: 12px 0 0 15px;
}

#header h1 a {
  color: #333333;
  text-decoration: none;
  text-shadow: 1px 1px 1px #ffffff;
  margin-left: -164px;
}

/* Navigation
-------------------------------------------------------------------*/
#nav {
  width: 900px;
  height: 33px;
  background: #fafafa url(/img/nav-bg.gif) repeat-x scroll 0 0;
  float: left;
  position: relative;
}

#zmg_login {
  margin: 0;
  padding: .5em 0 0 1.5em;
  font-size: 82%;
}

#zmg_login input {
  font-size: 100%;
  margin: 0 1em 0 .5em;
}

#zmg_submit {
  cursor: pointer;
  background-color: #eeeeee;
  padding: 0.25em 0.5em;
}

#zmg_welcome {
  font-size: 110%;
  font-family: "Trebuchet MS", Helvetica, Arial, Geneva, Sans-Serif;
  font-weight: bold;
  display: inline;
}

#flags {
  margin: 0.3em 1em;
  padding: 0;
  position: absolute;
  right: 0;
  top: 3px;
}

#flags li {
  float: left;
  display: inline;
  padding: 0 0 0 5px;
}

#flags li a {
  float: left;
  margin: 0;
  padding-left: 5px;
  color: #555555;
  font-weight: bold;
  line-height: 20px;
  text-decoration: none;
  text-shadow: 1px 1px 1px #ffffff;
}

#flags li a img {
  height: 20px;
  width: 30px;
}


/* Content
-------------------------------------------------------------------*/
#content {
  width: 670px;
  background: #ffffff none repeat scroll 0 0;
  float: left;
  padding: 15px;
  position: relative;
}

#content .title {
  margin-bottom: 20px;
}

#content ul {
  list-style-type: none;
  padding: 0 0 1em 1em;
}

#content ul li {
  line-height: 2;
  padding-bottom: .3em;
}

/* Sidebar
-------------------------------------------------------------------*/
#sidebar {
  color: #555555;
  float: left;
  font-size: 11px;
  margin-bottom: 15px;
  width: 200px;
}

#sidebar div {
  overflow: hidden;
  padding: 15px 7px 15px 15px;
}

#sidebar div.controls {
  background: transparent url(/img/sidebar-block-bg.gif) no-repeat scroll center bottom;
}

#sidebar h3 {
  color: #333333;
  font-family: Verdana;
  font-size: 12px;
  font-weight: bold;
  line-height: normal;
}

#sidebar ul li {
  background: transparent url(/img/arrow.gif) no-repeat scroll 0 3px;
  padding-left: 18px;
}

#sidebar ul a {
  color: #333333;
  text-decoration: none;
}

#sidebar ul a:hover {
  color: #777777;
}


/* Footer
-------------------------------------------------------------------*/
#footer {
  background: #fafafa url(/img/footer-bg.gif) no-repeat scroll 0 0;
  clear: both;
  float: left;
  height: 29px;
  position: relative;
  width: 900px;
}

#footer p {
  color: #333333;
  font-size: 11px;
  line-height: 28px;
  margin: 0;
  padding-left: 15px;
}


/* Zamango
-------------------------------------------------------------------*/
h2.error {
  color: #990000;
  line-height: 1.6;
}

.align_left {
  float: left;
}

.form_error {
  font-size: 85%;
  color: #dd0000;
  display: block;
  margin: .5em 0;
}

.hidden {
  display: none;
}

.clear {
  clear: both;
  font-size: 1px;
  height: 1px;
}

.meta {
  margin: 1em 0;
}

.comment {
  font-size: 82%;
  color: #777777;
}

.br_x {
  background: transparent url(/img/br_x.gif) repeat-x scroll center center;
  height: 1px;
  margin: .5em 0;
  width: 95%;
}

.apache_error {
  text-align: center;
  padding-top: 1em;
}

.hint {
  top: 1em;
  right: 1em;
  background: #ffffee url(/img/hint.gif) no-repeat scroll 7px 8px;
  border: 1px solid #eeeedd;
  font-size: 80%;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  padding: 0.5em 1em 0.5em 30px;
  margin-bottom: 1em;
}

/* Zamango settings
-------------------------------------------------------------------*/
.affiliate_settings tr td { padding: 0.2em 0; }

.settings .hint { width: 65%; }


/* Zamango channels
-------------------------------------------------------------------*/
.warning {
  width: 24px;
  height: 24px;
  background: url(/img/warning.png) no-repeat 50% 50%;
}

#download {
  width: 24px;
  height: 24px;
  background: url(/img/download.png) no-repeat 50% 50%;
  float: left;
  margin: -0.25em .5em 0 0;
}

#edit {
  width: 24px;
  height: 24px;
  background: url(/img/edit.png) no-repeat 50% 50%;
  cursor: pointer;
}

#delete {
  width: 24px;
  height: 24px;
  background: url(/img/delete.png) no-repeat 50% 50%;
  cursor: pointer;
}

ul#channel_list { padding-left: 0; }

ul#channel_list li {
  padding: 10px 30px;
  margin-bottom: 1em;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

input.submit {
  width: auto;
  cursor: pointer;
  background-color: #eeeeee;
}

input.submit:hover { background-color: #e6f3ff; }

#add {
  width: 24px;
  height: 24px;
  background: url(/img/add.png) no-repeat 50% 50%;
  float: left;
  margin: -.5em .5em 0 0;
}

.form_container .list tr { border: 1px solid #cccccc; }

#affiliates_recommended {
  display: none;
}

#affiliates {
  margin: 0 0 0 -1em;
  padding: 0;
}

#affiliates li {
  margin-bottom: 2px;
  padding-left: 1em;
  width: 89%;
  background-color: #f9f9e9;
  border: 1px solid #dddddd;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  position: relative;
  cursor: move;
}

#affiliates li.aff_inactive {
  background-color: #eeeeee;
  color: #aaaaaa;
}

.aff_icon {
  vertical-align: middle;
  margin-right: 1em;
  width: 16px;
  height: 16px;
}

.aff_remove {
  position: absolute;
  right: 8px;
  top: 6px;
  cursor: pointer;
}

.aff_add {
  position: absolute;
  right: 8px;
  top: 6px;
  cursor: pointer;
}

/* Zamango reports
-------------------------------------------------------------------*/
#wait_load_stats {
  height: 100%;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  background-color: #000000;
  opacity: .75;
  display: none;
}

#wait_load_stats .overlay {
  -moz-box-shadow: 0 4px 30px #000000;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin-left: -300px;
  margin-top: -150px;
  width: 600px;
  height: 300px;
  background: #f0f3f5 none repeat scroll 0 0;
  border: 1px solid #555555;
  position: fixed;
  left: 50%;
  top: 50%;
  text-align: center;
  z-index: 102;
  font-size: 113%;
  font-weight: bold;
  padding: 1em 0;
}


#loading {
  background: url(/img/loading.gif) no-repeat 50% 50%;
  width: 48px;
  height: 48px;
  text-align: center;
  margin: 2em auto 0 auto;
}

.form_hint { color: #999999; }

.report_form {
  background-color: #efefef;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 1em;
  margin-bottom: 2em;
}

.report_form h4 { margin-bottom: .3em; }

.report_form .left_block,
.report_form .right_block {
  float: left;
  width: 47%;
}

.report_form .bottom_block {
  border-top: 1px solid #cccccc;
  padding-top: 1em;
  text-align: center;
}

.report_form .top_block { border-bottom: 1px solid #cccccc; }

.report_form div { margin-bottom: 1em; }

#custom_report select {
  width: 95%;
  font-size: 95%;
}

#custom_period select,
#channels select {
  width: 95%;
  font-size: 95%;
}

#calendar select {
  font-size: 75%;
}

#categories,
#genres {
  overflow: auto;
  border: 1px solid #cccccc;
  font-size: 75%;
  background-color: #ffffff;
  width: 100%;
}

.form_container #categories td,
.form_container #genres td {
  border: none;
}

.report_form #categories {
  max-height: 150px;
}

.report_form #genres {
  max-height: 250px;
}

.report_form table {
  border-color: #cccccc;
}

.report_form td {
  padding: .1em .1em .1em 2em;
  line-height: 2.5em;
}

form td.checkbox {
  padding-left: 1em;
  width: 20px;
}

form .parent_item {
  padding-left: .1em !important;
  cursor: pointer;
  font-weight: bold;
}

form #genre_actions {
  background-color: #e6f3ff;
  border: 1px solid #cccccc;
  padding: .5em;
  margin-bottom: .5em;
}

.top_tab {
  margin-bottom: 1em;
  // display: inline-block;
}

.bottom_tab { margin: .5em 0; }

div.tab_inactive,
div.tab_active {
  float: left;
  padding: .5em;
  text-align: center;
  font-weight: bold;
  margin-right: .3em;
}

div.tab_active {
  background-color: #dfdfdf;
}

div.tab_active a {
  text-decoration: none;
  cursor: default;
  color: #777777;
}

#stats {
  font-size: 95%;
  line-height: 16px;
}

#stats td:first-child {
  width: 30%;
}

#stats tr:nth-child(odd) {
  background-color: #efefef;
}

#stats tr.header th {
  background-color: #dfdfdf;
  line-height: 16px;
  font-size: 110%;
  font-weight: bold;
}

#stats tr.header th span {
  font-size: 82%;
}

#stats tr.genre_header th {
  color: #000000;
  font-weight: bold;
  font-size: 100%;
  padding: 1em 0;
}

#stats tr.genre_header th:first-child {
  padding-left: 2em;
}

#graph {
  text-align: center;
  margin-bottom: 1em;
}

#graph div {
  text-align: center;
}


/* Zamango alert
-------------------------------------------------------------------*/
#alert_frame {
  position: absolute;
  margin-top: -150px;
  margin-left: -150px;
  width: 300px;
}

#alert_box {
  position: absolute;
  margin-top: -150px;
  margin-left: -150px;
  z-index: 10000;
  width: 300px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  border: 1px solid #cccccc;
  background-color: #ffffee;
  text-align: center;
}

#alert_box h1 {
  text-align: left;
  margin: 0;
  padding: .2em .7em;
  font-size: 100%;
  font-weight: bold;
  border-bottom: 1px solid #cccccc;
  -moz-border-radius-bottomleft: 8px;
  -moz-border-radius-bottomright: 8px;
  -webkit-border-radius-bottomleft: 8px;
  -webkit-border-radius-bottomright: 8px;
  border-radius-bottomleft: 8px;
  border-radius-bottomright: 8px;
}

#alert_box div {
  text-align: left;
  background: #ffffee url(/img/hint.gif) no-repeat scroll 7px 8px;
  font-size: 80%;
  padding: .5em 1em .5em 30px;
}

#alert_box #close_alert {
  background-color: #ffffcc;
  cursor: pointer;
  width: auto;
  border: 1px solid #333333;
  color: #000000;
  padding: .3em;
  margin: .5em 0;
  font-size: 82%;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}


/* Zamango pagebar
-------------------------------------------------------------------*/
div.pagebar {
  text-align: center;
  color: #777777;
  padding-top: .3em;
}

div.pagebar span.arrows {
  font-size: 170%;
}


div.pagebar span.numbers {
  font-weight: bold;
  font-size: 120%;
  margin: 0 0.5em;
}

div.pagebar span.numbers span {
  margin: 0 0.5em;
}

.pagebar_active {
  padding: 2px 5px;
  background-color: #999999;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  cursor: default;
}
