html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0 none;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0 none;
  padding: 0;
  vertical-align: baseline;
}

html {
  overflow-y: scroll;
}

body {
  color: #333;
  background-color: #fff;
  font-family: tahoma, verdana, arial, sans-serif;
  font-size: 80%;
}

a {
  color: blue;
}

h1,
.signup h2 {
  margin-bottom: 15px;
  font-size: 150%;
  color: #000;
}

h2,
.signup h3 {
  margin-bottom: 15px;
  font-size: 115%;
  font-weight: normal;
  color: #903030;
}

h3 {
  margin-bottom: 12px;
  font-size: 110%;
  font-weight: bold;
  color: #406090;
}

p {
  margin-bottom: 10px;
}

p.fine {
  font-size: 85%;
}

p.error,
span.error {
  color: red;
}

span.success {
  color: #58a639;
}

/* LOGIN */
div.login {
  margin: 0 auto;
  margin-top: 50px;
  padding: 105px 20px 50px 20px;
  overflow: hidden;
  width: 275px;
  background: #fff url(/affiliates/images/sbs-header-mobile-2022.svg) no-repeat center 50px/85%;
  border-radius: 10px;
}

/* SIGNUP */
div.signup {
  margin: 0 auto;
  margin-top: 50px;
  padding: 125px 50px 50px 50px;
  overflow: hidden;
  width: 800px;
  background: #ffffff url(/affiliates/images/sbs-header-mobile-2022.svg) no-repeat center 50px/75%;
  border-radius: 10px;
}

/* TOP NAVIGATION */
#cms_top_nav {
  height: 30px;
  margin: 0 10px;
  background: #0066cc;
}

/* MAIN CONTENT */
#cms_main {
  margin: 0 10px;
}

/* STATUS BAR */
#status_bar {
  padding: 5px 10px;
  background: #999;
  color: #fff;
  border-bottom: 1px solid #777;
}

#status_bar ul li {
  display: inline;
  margin-right: 20px;
}

/* CMS HEADER */
#cms_header {
  width: 100%;
  margin-bottom: 15px;
  background: #fff;
}

#cms_shortcuts {
  margin: 10px;
}

#header_right {
  float: right;
  width: 160px;
  height: 60px;
  padding: 10px 10px 0 10px;
  background-color: #ffffff;
  border-radius: 8px;
  text-align: right;
}

#header_right span.user {
  display: block;
  margin: 3px 0;
  font-size: 20px;
  color: #333;
}

#header_right a.logout {
  height: 15px;
  line-height: 15px;
  display: block;
  padding-right: 20px;
  font-weight: bold;
  color: #cc3300;
  font-size: 12px;
  text-decoration: none;
  background: transparent url(/affiliates/images/icon_logout.gif) no-repeat right top;
}

#header_right a.logout:hover {
  text-decoration: underline;
}

#header_left {
  height: 60px;
  margin-right: 188px;
  padding: 10px 10px 0 10px;
  border-radius: 8px;
  text-align: left;
}

ul.header_shortcuts {
  float: right;
  margin-top: 5px;
  height: 40px;
  list-style-type: none;
}

ul.header_shortcuts li {
  display: inline;
}

ul.header_shortcuts li img {
  width: 40px;
  height: 40px;
}

ul.header_alerts {
  float: right;
  margin-right: 20px;
  list-style-type: none;
}

ul.header_alerts li {
  display: inline;
}

ul.header_alerts li a {
  display: inline-block;
  padding-top: 35px;
  background-repeat: no-repeat;
  background-position: center top;
  text-decoration: none;
  color: #406090;
}

ul.header_alerts li a:hover {
  text-decoration: underline;
}

div.box {
  border: 2px solid #eee;
  clear: both;
  float: none;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 5px;
}

div.box_cont label {
  display: block;
  margin-bottom: 3px;
}

div.box_cont p.username {
  color: #333;
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
}

form input[type=text], input[type=password], form select, form textarea {
  padding: 2px;
  border: 1px solid #4095df;
  border-radius: 2px;
}

form input[type=text], input[type=password] {
  padding: 3px;
}

input.error {
  border-color: red !important;
  background-color: pink;
}

select.error {
  border-color: red !important;
  background-color: pink;
}

textarea.error {
  border-color: red !important;
  background-color: pink;
}

div.entry input[type=text], div.entry input[type=password] {
  background-color: #fefefe;
  border: 2px solid #4095df;
  border-radius: 3px;
  color: #333;
  font-family: tahoma, verdana, arial, sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
  padding: 7px;
  vertical-align: middle;
}

div.entry select {
  background: #fefefe;
  border: 2px solid #4095df;
  border-radius: 3px;
  color: #333;
  font-family: tahoma, verdana, arial, sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
  padding: 7px;
  vertical-align: middle;
}

div.login input[type=text], div.login input[type=password] {
  font-size: 16px;
  width: 90%;
}

div.login select {
  margin-bottom: 20px;
  font-size: 16px;
  width: 95%;
}

div.entry div.row {
  margin: 0;
  padding: 0;
}

div.entry span.column {
  float: left;
  padding-right: 10px;
}

/* FORMS */
div.row {
  margin: 3px 2px;
  padding: 2px;
  clear: both;
}

div.row span.label {
  float: left;
  width: 150px;
  text-align: right;
  padding-top: 3px;
  margin-right: 5px;
  font-weight: normal;
}

div.row span.form {
  margin: 2px 0 2px 0;
  text-align: left;
}

div.row span.data {
  float: left;
  padding-top: 3px;
  text-align: left;
}

div.row span.filter_item {
  padding: 3px 23px 3px 7px !important;
  background: #e7edf2 url(/affiliates/images/icon_delete_filter.png) no-repeat right 50%;
  border: 1px solid #acc0d4;
  border-radius: 2px;
  cursor: pointer;
}

div.row span.filter_item:hover {
  background-color: #dbe1e6;
}

input.go {
  font-weight: bold;
  color: green;
}

input.cancel {
  color: red;
}

input.fake {
  border: none !important;
  background-color: transparent;
}

input[disabled=disabled] {
  color: #ccc;
}

/* CONTAINERS */
#ajaxport {
  margin-bottom: 30px;
  padding: 20px 10px 10px 10px;
  border: 1px solid #406090;
  border-radius: 0 8px 8px 8px;
}

#ajaxport img.loading {
  display: block;
  margin: 0 auto;
  padding: 100px;
}

#ajaxport p.message {
  margin: 20px;
}

#ajaxport p.note {
  text-align: right;
  margin-bottom: 20px;
}

#ajaxport p.message strong, p.note strong {
  font-weight: bold;
  text-transform: uppercase;
}

div.box_head_main {
  margin: 0 0 10px 0;
  padding: 5px 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  background: #698cc9;
  border-radius: 3px;
}

div.multi_col {
  width: 100%;
  display: table;
  table-layout: fixed;
}

div.col {
  display: table-cell;
  padding-right: 20px;
}

div.multi_col div.col:last-child {
  padding-right: 0;
}

div.controls_head {
  margin-bottom: 20px;
  background: #e2e0d1;
  color: #9b9670;
  border-bottom: 1px solid #c8c5ad;
  border-radius: 3px;
}

div.box_content_main {
  padding: 10px;
  margin: 0 0 20px 0;
  background: #f8f8f8;
  border: 1px solid #698cc9;
  border-radius: 3px;
}

div.controls {
  margin-top: -20px;
  padding: 12px;
  background: #f5f4ea;
  border: none;
  border-radius: 0 0 3px 3px;
}

div.controls div.row {
  margin: 2px 2px 10px 2px;
  padding: 4px;
}

div.controls div.row span {
  padding-right: 12px;
}

div.controls div.row:last-child {
  margin-bottom: 2px;
}

#add_filters div.row span {
  padding-right: 12px;
}

div.actions {
  padding: 10px 15px;
  text-align: right;
  background: #ddd;
  border-color: #999;
}

div.actions input {
  margin-left: 20px;
}

#bo_dialog {
  display: none;
  margin: 15px 20px 0 20px;
}

/* MESSAGES */
div.bar_message {
  width: 750px;
  height: 30px;
  margin: 0 auto;
  margin-bottom: 20px;
  padding-left: 20px;
  line-height: 30px;
  border-radius: 15px;
  font-weight: bold;
  text-align: center;
}

div.bar_message img.dismiss {
  float: right;
  margin: 6px 6px 0 0;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

div.message_true {
  border: 1px solid #cee3c5;
  background: #d9efd0 url(/affiliates/images/icon_tick.png) no-repeat 6px 50%;
  color: #58a639;
}

div.message_false {
  border: 1px solid #e7c5c0;
  background: #f1d2cd url(/affiliates/images/icon_cross.png) no-repeat 6px 50%;
  color: #ae4230;
}

div.message_info {
  border: 1px solid #c7d5de;
  background: #d4e0e9 url(/affiliates/images/icon_info.png) no-repeat 6px 50%;
  color: #4a7593;
}

div.message_warn {
  border: 1px solid #fff8a5;
  background: #fffcbd url(/affiliates/images/icon_warn.png) no-repeat 10px 2px;
  color: #666;
}

/* REPORT TABLES */
table.report {
  width: 100%;
  margin-bottom: 20px;
  padding: 3px;
  border: none;
  border-collapse: collapse;
  font-family: verdana;
}

table.orders caption, table.report caption {
  margin-bottom: 20px;
  padding: 5px;
  white-space: nowrap;
  font-family: tahoma, verdana, arial, sans-serif;
  font-weight: bold;
  font-size: 120%;
  text-align: left;
}

table.orders caption span.date_range_disp, table.report caption span.date_range_disp {
  float: left;
  padding-top: 15px;
  font-weight: normal;
  font-size: 80%;
  color: #903030;
}

table.orders caption span.date_range, table.report caption span.date_range {
  display: none;
  float: left;
  padding-top: 15px;
  font-weight: normal;
  font-size: 80%;
}

table.orders caption span.user, table.report caption span.user {
  display: none;
  float: right;
  padding-top: 15px;
  font-weight: normal;
  font-size: 80%;
}

table.report tr {
  height: 30px;
  background: #f5f5f5;
}

table.report tr:hover {
  background: #e9e9e9;
}

table.report tr.alert {
  background: #ff9999;
}

table.report tr.break {
  background: #e9eff5;
  font-weight: bold;
  text-align: right;
}

table.report tr.spacer {
  height: 30px;
}

table.report tr.break td {
  padding: 6px;
}

table.report tfoot tr {
  background: #e9eff5;
  font-weight: bold;
  text-align: right;
}

table.report tr.tfoot {
  background: #e9eff5;
  font-weight: bold;
  text-align: right;
}

table.report th {
  padding: 8px;
  background: #ccc;
  font-weight: normal;
  white-space: nowrap;
  border: 1px solid #000;
}

table.report th.rowhead {
  text-align: left;
}

table.report td {
  margin: 3px;
  padding: 4px 7px;
  border: 1px solid #000;
  vertical-align: middle;
}

table.report td span.sub {
  font-size: 80%;
  color: #903030;
}

table.report td a {
  color: #333;
  text-decoration: none;
}

table.report td a:hover {
  text-decoration: underline;
}

table.report td.id {
  width: 75px;
  text-align: center;
}

table.report td.order {
  width: 120px;
  text-align: center;
}

table.report td.select {
  width: 50px;
  text-align: center;
}

table.report td.qty input[type=text] {
  text-align: center;
}

table.report td.boolean {
  width: 50px;
  text-align: center;
}

table.report td.prod_status {
  width: 51px;
  text-align: center;
}

table.report td.prod_status_2 {
  width: 18px;
  text-align: center;
}

table.report td.status {
  width: 75px;
  text-align: center;
}

table.report td.price {
  width: 100px;
  text-align: right;
}

table.report td.qty {
  width: 75px;
  text-align: center;
}

table.report td.loc {
  width: 100px;
  text-align: center;
}

table.report td.center {
  text-align: center;
}

table.report td.plain {
  background: #fff;
  border: none;
}

table.report td.link {
  width: 20px;
  text-align: center;
  background: #fff;
  border: none;
}

table.report td.graph {
  background: #fff;
  border: none;
  text-align: center;
}

/* ORDER TABLES */
table.orders {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

table.orders th {
  padding: 6px;
  background: #fff;
  white-space: nowrap;
  font-weight: bold;
  color: #333;
  border: 1px solid #fff;
  border-bottom: 5px solid #fff;
}

table.orders td {
  padding: 3px 7px;
  border: 1px solid #fff;
  vertical-align: middle;
}

table.orders td.spacer {
  height: 30px;
  border: none;
}

table.orders td select {
  width: 150px;
}

table.orders tr.order {
  height: 31px;
  font-weight: bold;
}

table.orders tr.order span.phone {
  float: right;
  padding-right: 5px;
  font-weight: normal;
}

table.orders td.center {
  text-align: center;
}

table.orders td.id {
  width: 75px;
  text-align: center;
}

table.orders td.boolean {
  width: 50px;
  text-align: center;
}

table.orders tr.order td.check {
  width: 20px;
  text-align: center;
}

table.orders td.actions {
  width: 150px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

table.orders td.actions_po {
  width: 80px;
}

table.orders td.actions input {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

table.orders td.actions input.disable {
  cursor: not-allowed;
}

table.orders tr.order td.date {
  width: 80px;
  text-align: center;
}

table.orders tr.order td.process {
  background: #00cc00;
}

table.orders tr.order td.price {
  width: 60px;
  text-align: right;
}

table.orders td.status {
  width: 75px;
  text-align: center;
  font-weight: normal;
}

table.orders tr.order td.update {
  width: 160px;
  text-align: center;
}

table.orders tr.order td.method {
  width: 50px;
  font-weight: bold;
  text-align: center;
}

table.orders tr.order td.ups {
  background: #633d06;
  color: #f6c544;
}

table.orders tr.order td.rm {
  background: #ee2224;
  color: #fde61b;
}

table.orders tr.list {
  font-weight: normal;
  background-color: #ddddff;
}

table.orders tr.list:hover {
  background-color: #e9e9ff;
}

table.orders tr.po {
  background-color: #f5d8ca;
}

table.orders tr.web {
  background-color: #ddddff;
}

table.orders tr.tel {
  background-color: #ffdddd;
}

table.orders tr.ret {
  background-color: #ddffdd;
}

table.orders tr.eby {
  background-color: #ffe699;
}

table.orders tr.item {
  height: 31px;
  background-color: #f5f5f5;
}

table.orders tr.item:hover {
  background-color: #e9e9e9;
}

table.orders tr.item td {
  overflow: hidden;
}

table.orders tr.item td span.desc_link {
  float: right;
  padding-right: 5px;
}

table.orders tr.item td span.desc_link a {
  color: blue;
  text-decoration: underline;
}

table.orders tr.item td.check {
  text-align: center;
}

table.orders tr.item td.price {
  text-align: right;
}

table.orders tr.item td.link {
  text-align: center;
}

table.orders tr.item td.update {
  text-align: center;
}

table.orders tr.item td a {
  color: #333;
  text-decoration: none;
}

table.orders tr.item td a:hover {
  text-decoration: underline;
}

/* GENERAL RESULTS TABLES */
table.cms {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

table.cms tr {
  height: 31px;
  background-color: #ddddff;
}

table.cms tr:hover {
  background-color: #e9e9ff;
}

table.cms th {
  padding: 6px;
  background: #fff;
  white-space: nowrap;
  font-weight: bold;
  color: #333;
  border: 1px solid #fff;
  border-bottom: 5px solid #fff;
}

table.cms td {
  padding: 3px 7px;
  border: 1px solid #fff;
  vertical-align: middle;
}

table.cms td a {
  color: #333;
  text-decoration: none;
}

table.cms td a:hover {
  text-decoration: underline;
}

table.cms td.id {
  width: 75px;
  text-align: center;
}

table.cms td.boolean {
  width: 50px;
  text-align: center;
}

table.cms td.date {
  width: 80px;
  text-align: center;
}

table.cms td.price {
  width: 70px;
  text-align: right;
}

table.cms td.status {
  width: 75px;
  text-align: center;
}

table.cms td.check {
  width: 20px;
  text-align: center;
}

table.cms td.center {
  text-align: center;
}

table.cms td.title {
  border-right: none;
}

table.cms td.actions {
  border-left: none;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

table.cms td.actions input {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

table.cms td.actions input.disable {
  cursor: not-allowed;
}

table.cms td span.sub {
  font-family: verdana;
  font-size: 80%;
  color: #903030;
}

/* STATUS TD */
table td.prod_status_Y {
  background-color: #ccffcc;
}

table td.prod_status_N {
  background-color: #ff9999;
}

table td.prod_status_C {
  background-color: #ffcc66;
}

table td.prod_status_H {
  background-color: #ffcc66;
}

table td.prod_status_X {
  background-color: #ffaaff;
}

/* TABS */
#tabs {
  height: 30px;
  white-space: nowrap;
}

#tabs ul {
  height: 30px;
  list-style: none;
  color: #fff;
}

#tabs ul li {
  display: inline-block;
  margin: 0;
}

#tabs ul li.spacer {
  width: 10px;
}

#tabs ul li a {
  display: inline-block;
  height: 29px;
  line-height: 29px;
  padding: 0 15px;
  border: 1px solid #fff;
  border-bottom: 1px solid #406090;
  border-radius: 5px 5px 0 0;
  color: #406090;
  background: #efefef;
  text-align: center;
  text-decoration: none;
}

#tabs ul li a:hover {
  background: #ddd;
}

#tabs ul li a.active {
  padding-right: 35px;
  border: 1px solid #406090;
  border-bottom: 1px solid #fff;
  background: #fff url(/affiliates/images/icon_reload.gif) no-repeat right 50%;
  color: #406090;
  font-weight: bold;
}

#tabs ul li a.loading {
  color: transparent;
  background: #efefef url(/affiliates/images/loading_tab.gif) no-repeat 50% 50%;
}

#tabs ul li a.label {
  border: none;
  color: #777;
  background: #bbb;
  text-transform: uppercase;
  text-shadow: #ccc -1px -1px;
  cursor: default;
}

#tabs ul li a.orders {
  background: #bbb url(/affiliates/images/icon_tab_orders.gif) no-repeat 50% 50%;
}

#tabs ul li a.despatch {
  background: #bbb url(/affiliates/images/icon_tab_despatch.gif) no-repeat 50% 50%;
}

#tabs ul li a span {
  font-weight: normal;
}

/* PAGINATION */
div.pagination {
  margin-bottom: 20px;
}

div.pagination ul {
  height: 24px;
  list-style: none;
  color: #406090;
  text-align: center;
  text-transform: uppercase;
  background: #ddd;
}

div.pagination ul li {
  display: inline-block;
  margin: 0;
  border-left: 5px solid #fff;
  border-right: 5px solid #fff;
}

div.pagination ul li a {
  display: inline-block;
  width: 25px;
  height: 16px;
  padding: 3px 0;
  border: 1px solid #406090;
  color: #406090;
  background: #fff;
  text-align: center;
  text-decoration: none;
}

div.pagination ul li a:hover {
  color: #fff;
  background: #406090;
}

div.pagination ul li.prev {
  float: left;
  border-left: none;
}

div.pagination ul li.prev a {
  width: 95px;
}

div.pagination ul li.current a {
  color: #fff;
  background: #406090;
}

div.pagination ul li.next {
  float: right;
  border-right: none;
}

div.pagination ul li.next a {
  width: 95px;
}

div.pagination ul li.disabled a {
  border-color: #ccc;
  color: #ccc;
  background: transparent;
}

/* OPTIONS */
#box_options {
  margin: 20px 50px;
}

#box_options table {
  margin-bottom: 20px;
}

#box_options table tr:hover input[type=text] {
  background-color: #e9e9ff;
}

#box_options table th {
  text-align: center;
}

#box_options table td {
  padding: 2px;
}

#box_options table td.label {
  width: 30px;
  text-align: right;
}

#box_options table td.ref {
  width: 120px;
}

#box_options table td.ref input {
  width: 115px;
}

#box_options table td.size {
  width: 80px;
}

#box_options table td.size input {
  width: 75px;
}

#box_options table td.title {
  width: 250px;
}

#box_options table td.title input {
  width: 245px;
}

#box_options table td.title {
  width: 200px;
}

#box_options table td.title input {
  width: 195px;
}

#box_options table td.price {
  width: 60px;
}

#box_options table td.price input {
  width: 55px;
}

#box_options table td.qty {
  width: 40px;
  text-align: center;
}

#box_options table td.qty input {
  width: 35px;
}

#box_options table td.image {
  width: 120px;
}

#box_options table td.image input {
  width: 115px;
}

/* IMG PREVIEW */
#img_prev {
  position: fixed;
  top: 25px;
  left: 25px;
  padding: 10px;
  background-color: #fff;
  border: 3px solid #c8c5ad;
  border-radius: 5px;
}

/* FANCY RADIO & CHECKBOXES */
.has-js .label_check {
  padding: 5px 5px 5px 30px;
  cursor: pointer;
}

.has-js .label_check {
  background: url(/affiliates/images/icon_cross.png) no-repeat 50% 50%;
}

.has-js label.c_on {
  background: url(/affiliates/images/icon_tick.png) no-repeat 50% 50%;
}

.has-js .label_check input {
  position: absolute;
  left: -9999px;
}

/* TOOLBAR */
#toolbar_placeholder {
  height: 100px;
}

#toolbar {
  padding: 3px 8px;
  background: #999;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
}

#toolbar.scroll {
  position: fixed;
  bottom: 0px;
  left: 10px;
  right: 10px;
}

#toolbar.stop {
  position: relative;
}

#toolbar div.row {
  margin-bottom: 10px;
  padding: 4px;
}

#toolbar div.row span {
  padding-right: 40px;
}

#toolbar div.row:last-child {
  margin-bottom: 2px;
}

#toolbar input[type=button] {
  padding: 1px 5px;
}

#toolbar input[type=text] {
  padding: 3px;
  border: 1px solid #666;
  border-radius: 2px;
}