/**
 * Admin panel styles
 */

html, body, form, img, p, hr, h1, h2, h3, h4, h5, ol, ul, ol li, ul li {
    margin: 0;
    padding: 0;
}

body, div, td, th, input, select, option, textarea {
    font-family: Arial, Tahoma;
    font-size: 12px;
}

img {
    border: 0;
}

html {
    height: 100%;
}

body {
    color: #000;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    position: relative;
    text-align: left;
}

a {
    color: #0000cc;
    text-decoration: underline;
}

a:hover {
    color: #748fe7;
}

a:visited {
    color: #800080;
}

h1, h2, h3 {
    font-family: Tahoma, Arial;
    font-weight: normal;
    text-align: left;
    text-indent: 0;
}

h1 {
    color: #000;
    font-size: 30px;
    line-height: 22px;
}

h2 {
    color: #000;
    font-size: 18px;
    font-weight: normal;
    line-height: 22px;
}

h3 {
    color: #000;
    font-size: 12px;
    font-weight: bold;
    line-height: 12px;
}

ul, ol {
    margin: 6px 0 10px 20px;
}

a {
    color: #2b56d6;
    text-decoration: underline;
}

a:visited {
    color: #2b56d6;
}

a:hover {
    color: #2f6cff;
}

/* Quick Tip -------------------------------------------------------------------------------------------------------- */
.qtip-shadow .qtip-wrapper {
    position: absolute;
    z-index: 9999;
    max-width: 300px;
    -webkit-box-shadow: 0 0 5px #aaa;
    box-shadow: 0 0 10px #aaa;
}

/* jQuery UI -------------------------------------------------------------------------------------------------------- */
.ui-state-highlight {
    border: 1px solid #e4db58;
}

/* Miscellaneous ---------------------------------------------------------------------------------------------------- */
img.link {
    position: relative;
    top: 4px;
    margin-right: 2px;
}

.cke_contents {
    text-align: left;
}

.inline-block {
    display: inline-block;
}

.center {
    text-align: center;
}

/* Float blocks ----------------------------------------------------------------------------------------------------- */
.block {
    float: left;
}

.block10 {
    float: left;
    margin: 0 10px 10px 0;
}

.block20 {
    float: left;
    margin: 0 20px 20px 0;
}

.block40 {
    float: left;
    margin: 0 40px 40px 0;
}

/* Simple form ------------------------------------------------------------------------------------------------------ */
.simple-form {
    border-collapse: collapse;
}

.simple-form > tbody > tr > td,
.simple-form > tbody > tr > th {
    border: 1px solid #e3e3e3;
    padding: 8px 10px;
}

.simple-form > tbody > tr > th {
    background: #f7f6ff;
}

.simple-form label {
    position: relative;
    top: -2px;
    margin-left: 2px;
}

.simple-form td.names {
}

.simple-form td.elements {
}

.simple-form .label {
}

.simple-form .required {
    color: red;
    margin-left: 2px;
}

.simple-form .description {
    font-size: smaller;
    color: gray;
}

.simple-form .errors {
    color: red;
    background: #fffecc;
    border: 1px solid #ede45b;
    border-radius: 4px;
    margin-bottom: 2px;
}

.simple-form .errors > div {
    padding: 2px 4px;
}

.simple-form .element {
}

/* Simple table ----------------------------------------------------------------------------------------------------- */
.simple-table {
    border-collapse: collapse;
}

.simple-table > tbody > tr[even=yes] td {
}

.simple-table > tbody > tr[even=no] td {
}

.simple-table > tbody > tr > td,
.simple-table > tbody > tr > th {
    border: 1px solid #d1d1d1;
    padding: 8px 10px;
}

.simple-table > tbody > tr > th {
    background: #f7f6ff;
}

.simple-table > tbody > tr > th[order] {
    background: #939393;
    color: white;
}

.simple-table > tbody > tr > th[order] a {
    color: white;
}

.simple-table > tbody > tr > td[order] {
    background: #f4f7ff;
}

.simple-table > tbody > tr > th .ui-icon {
    display: inline-block;
    height: 15px;
    vertical-align: bottom;
}

.simple-table > tbody > tr > td {
}

/* Global messenger ------------------------------------------------------------------------------------------------- */
.messenger-layout-wrapper {
    position: fixed;
    right: 20px;
    width: 700px;
    z-index: 1000;
}

.global-messenger {
}

.global-messenger .item {
    padding: 15px;
    margin-bottom: 6px;
    text-align: left;
}

.global-messenger .item .ui-icon {
    float: left;
    margin-right: 6px;
}

.global-messenger .item .icon-close {
    float: right;
    position: relative;
    top: -12px;
    right: -18px;
    cursor: pointer;
}

/* Admin layout ----------------------------------------------------------------------------------------------------- */
#admin {
    width: 100%;
    height: 100%;
    min-width: 980px;
}

/* Notify area */
#admin td.notify {
    vertical-align: top;
    width: 40px;
    min-width: 40px;
    padding: 28px 0px 28px 0px;
    text-align: center;
}

#admin td.notify img {
    margin-bottom: 10px;
}

#admin td.menu {
    vertical-align: top;
    width: 220px;
    min-width: 220px;
    padding: 28px 0px 28px 0px;
    background: url(/img/admin/menu_bg.gif) right repeat-y;
}

#admin td.content {
    vertical-align: top;
    padding: 28px 24px 28px 24px;
}

#admin td.content > .title {
    font-size: 17px;
    font-family: Verdana;
    color: #525151;
    margin-bottom: 25px;
}

#admin td.content > .title img {
    position: relative;
    top: 2px;
}

#admin td.content > .title .arrow {
    position: relative;
    top: 2px;
    display: inline-block;
}

/* Menu ------------------------------------------------------------------------------------------------------------- */
#menu {
}

#menu > .item {
    background: url(/img/admin/menu_item_bg.gif) #e1ebff top repeat-x;
    padding: 11px 0 7px 10px;
    margin-bottom: 1px;
}

#menu > .item h3 {
    margin-bottom: 8px;
    color: #393838;
}

#menu > .item div {
    padding: 2px 5px 5px 12px;
}

#menu > .item div.current {
    background: #fff url(/img/admin/menu_arrow.gif) no-repeat 190px 50%;
    border-radius: 4px 0 0 4px;
}

#menu > .item .icon {
    display: inline-block;
    width: 16px;
    height: 16px;
}

#menu > .item .icon > img {
    position: relative;
    top: 3px;
    left: -5px;
}

#menu a,
#menu a:visited {
    color: #012ebb;
}

#menu a:hover {
    color: #2f6cff;
}

#menu .toproduct * {
    font-size: 10px;
}

/* Tree ------------------------------------------------------------------------------------------------------------- */
.tree-path {
    font-size: 13px;
    font-weight: bold;
}

.tree-path .item {
    margin-right: 5px;
    white-space: nowrap;
}

.tree-path .item .text {
    margin: 0 4px;
}

.tree-path .item img {
    vertical-align: bottom;
}

.tree-path .item .next-icon {
    display: inline-block;
    vertical-align: bottom;
}

.tree-path .item.current {
    color: #1c1c1c;
}

.tree-path .item.disabled > a {
    color: #909090;
}

table.tree {
    margin-top: 20px;
    border-spacing: 0;
}

table.tree > tbody > tr {
    vertical-align: top;
}

table.tree .title {
    font-size: 15px;
    color: #989898;
    margin-bottom: 10px;
}

table.tree .title img {
    vertical-align: bottom;
    margin-left: 4px;
}

table.tree .count {
    font-size: smaller;
    color: #c0c0c0;
}

table.tree .content {
    padding-left: 20px;
}

.tree-sub-nodes > div {
    font-size: 13px;
    font-weight: bold;
    margin: 6px 0;
    white-space: nowrap;
}

.tree-sub-nodes > div .text {
    margin: 0 4px;
}

.tree-sub-nodes > div img {
    vertical-align: bottom;
}

.tree-sub-nodes > div > .buttons {
    display: inline-block;
    width: 40px;
    margin-left: 4px;
}

.tree-sub-nodes > div > .count {
    display: inline-block;
    color: #c0c0c0;
    font-weight: normal;
    font-size: smaller;
}

.tree-sub-nodes > div.disabled > a {
    color: #909090;
}

table.tree .add {
    margin-top: 20px;
}

table.tree .add > a > img {
    vertical-align: bottom;
}

table.tree .info {
    margin-top: 40px;
    color: #a0a0a0;
    font-size: 11px;
    width: 200px;
}

/* Table handlers --------------------------------------------------------------------------------------------------- */
.table-handlers {
    margin-bottom: 16px;
}

.table-handlers .item {
    margin-right: 16px;
}

/* Filter form ------------------------------------------------------------------------------------------------------ */
.filter-form {
    margin-bottom: 20px;
}

/* Pagination ------------------------------------------------------------------------------------------------------- */
.pagination-control {
    margin: 16px 0;
}
.pagination-control a {
    color: #000000;
}
.pagination-control .item {}
.pagination-control .item .prev {}
.pagination-control .item .next {}
.pagination-control .item .current {}

/* Product images and other files ----------------------------------------------------------------------------------- */
.items {
    float: left;
    margin-left: 20px;
}

.items > div {
    padding: 16px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.items .actions {
    opacity: 0.2;
    margin-top: 8px;
}

.items .actions:hover {
    opacity: 1;
}

.items .actions > a.delete {
    color: red;
}