body, html {
    margin: 0;
    padding: 0;
    position: relative;
    font-family: Arial;
    display: block;
    width: 100%;
    height: 100%;
}

header {
    position: relative;
    display: block;
    border-bottom: 1px solid black;
    font-size: 12px;
    padding: 10px 0;
}

header #top {
    position: relative;
    display: block;
    height: 30px;
    background: #9A2A70;
    margin: -10px 0 10px 0;
    border-bottom: 3px solid #821659;
}

header #top #name a {
    position: relative;
    display: block;
    height: 30px;
    line-height: 30px;
}

header #top #name a span {
    font-size: 20px;
    height: 30px;
    line-height: 30px;
    display: block;
    float: left;
    margin: 0 10px 0 0;
}

header #top #name a span.add {
    font-size: 12px;
    float: none;
    display: inline-block;
    opacity: 0.8;
}

header #top #name,
header #top #user {
    position: absolute;
    top: 0px;
    right: 20px;
    color: white;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

header #top #name {
    right: auto;
    left: 20px;
}

header #top #name a {
    color: white;
}

header #exportOptions {
    display: flex;
    height: 60px;
    width: 530px;
    float: right;
    align-items: center;
    justify-content: space-between;
}

header #exportOptions label {
    cursor: pointer;
    position: relative;
    display: block;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: white;
    background: #9A2A70;
    text-align: center;
    text-transform: uppercase;
    float: left;
    margin: .25rem;
    width: auto;
    padding: .10rem .45rem;
}

header #exportOptions label img {
    max-height: 15px;
    display: inline-block;
    margin: -3px 0 0 10px;
    vertical-align: middle;
}

header #exportOptions label.disabled {
    opacity: 0.8;
    pointer-events: none;
}

header #exportOptions label:hover {
    background: #821F5D;
}

header #menuOptions {
    position: relative;
    display: block;
    height: 60px;
    width: 150px;
    float: left;
}

header #menuOptions ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header #menuOptions ul li {
    display: block;
    margin: 0;
    padding: 0;
}

header #menuOptions ul li a {
    display: block;
    height: 19px;
    line-height: 19px;
    padding: 0 10px;
    font-size: 12px;
}

header #searchOptions {
    position: relative;
    display: block;
    height: 60px;
    float: left;
}

header #searchOptions table {
    border: none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

header #searchOptions .big {
    font-size: 20px;
    display: block;
    width: 55px;
    line-height: 30px;
    text-align: center;
    margin: 0 10px 0 0;
}

header #searchOptions label[for="unsetFilter"] span {
    color: #9A2A70;
    cursor: pointer;
}

header #searchOptions .table {
    width: auto;
    float: left;
}

header #searchOptions .cell input {
    width: 61px;
    height: 19px;
    line-height: 19px;
}

header .filterRow {
    position: relative;
    display: block;
    margin: 3px 10px 1px 0;
}

header .filterRow label {
    position: relative;
    display: block;
    width: 100px;
    height: 25px;
    line-height: 25px;
    font-size: 12px;
    float: left;
}

header .filterRow select {
    position: relative;
    display: block;
    width: 100px;
    height: 25px;
    line-height: 25px;
    float: left;
    -webkit-appearance: none;
    border-radius: 0;
    padding: 0 10px;
    outline: none;
    border: 1px solid rgb(100, 100, 100);
}

header .filterRow label + input {
    position: relative;
    display: block;
    width: 112px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    float: left;
    padding: 0 10px;
    margin: 0;
    border: 1px solid rgb(100, 100, 100);
    outline: none;
}

header .filterRow .table + label,
header .filterRow label + input + label {
    width: 25px;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    color: #9A2A70;
}

header .filterRow .table + label span,
header .filterRow label + input + label span {
    font-size: 16px;
    display: block;
    height: 25px;
    line-height: 25px;
}

header .disabled > * {
    opacity: 0.3;
    pointer-events: none;
}

section {
    overflow: hidden;
    font-size: 14px;
}

section .niceTable#orders {
    margin: 0;
}

section .wrapper {
    padding: 0 20px 20px 20px;
    display: block;
}

section .wrapper h1 {
    padding: 0;
}

section h1 {
    font-size: 22px;
    font-weight: lighter;
    padding: 0 10px;
}

section h2 {
    font-size: 18px;
    font-weight: lighter;
}

footer {
    position: relative;
    background: #EFEFEF;
    padding: 10px;
}

footer table {
}

footer table tr {
}

footer table tr td {
    font-size: 12px;
    padding: 0 10px 0 0;
}

footer table tr td:last-child {
    font-weight: bold;
}

.niceTable {
    position: relative;
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 0 0 15px 0;
    padding: 0px;
}

.niceTable .eshopName td {
    background: #9A2A70;
    color: white;
    border-bottom: 2px solid #821659;
    border-top: 2px solid #821659;
}

.niceTable tr {
}

.niceTable tr td {
    position: relative;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    border: 1px solid #D4D4D4;
    border-right: none;
    vertical-align: middle;
    overflow: hidden;
}

.niceTable tr td span {
    display: block;
    height: 30px;
    line-height: 30px;
}

.niceTable tr td span span {
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: middle;
}

.niceTable tr.error td {
    background: #FFC6C6 !important;
}

.niceTable tr td [class^="icon-"],
.niceTable tr td [class*=" icon-"] {
    display: inline-block;
}

.niceTable tr td.hovered {
    overflow: visible;
}

.niceTable tr td.hovered span {
    position: absolute;
    top: 0px;
    left: 10px;
    background: inherit;
    white-space: nowrap;
}

.niceTable tr td.orderCell {
    width: 65px;
}

.niceTable tr td.odateCell {
    width: 95px;
}

.niceTable tr td.imageCell {
    width: 20px;
}

.niceTable tr td.pcodeCell {
    width: 65px;
}

.niceTable tr td.amounCell {
    width: 20px;
}

.niceTable tr td.checkCell {
    width: 20px;
}

.niceTable tr td.ppricCell {
    display: none;
}

.niceTable tr td.trackCell {
    width: 30px;
    padding: 0;
    text-align: center;
}

.niceTable tr td.trackCell span a {
    display: block;
    text-align: center;
}

.niceTable tr td.trackCell span a span {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    opacity: 1;
    color: #9A2A70;
}

.niceTable tr td.trackCell span span {
    opacity: 0.5;
    color: gray;
    margin: 0;
    display: block;
    text-align: center;
}

.niceTable tr td.addreCell {
}

.niceTable tr td.addreCell .icon-alert {
    margin: 0 0 0 -10px;
    width: 30px;
    text-align: center;
    position: relative;
}

.niceTable tr td.status1 {
    color: #9A2A70;
}

.niceTable tr td.status2 {
    color: black;
}

.niceTable tr td.status3 {
    color: #BDBDBD;
}

.niceTable tr td.status4 {
    color: gray;
}

.niceTable tr td.status5 {
    color: #FF8600;
}

.niceTable tr td.status6 {
    color: blue;
}

.niceTable tr td.status7 {
    color: green;
}

.niceTable tr td.phoneCell {
    white-space: nowrap;
    width: 200px;
    padding-right: 0;
}

.niceTable tr td.phoneCell > span,
.niceTable tr td.phoneCell > span .length {
    margin: 0 !important;
}

.niceTable tr td.phoneCell .length {
    float: right;
    text-align: right;
}

.niceTable tr.header {
}

.niceTable tr.header td {
    background: rgb(240, 240, 240);
    border: none;
}

.niceTable tr td.thin {
    width: 50px;
}

.niceTable tr td label {
    cursor: pointer;
    display: block;
}

.niceTable tr:hover {
    background: rgb(245, 245, 245);
}

.niceTable tr.active {
    background: #CDFFD5;
}

.niceTable tr.success td {
    background: #DDFFDD;
}

.niceTable tr.failure td {
    background: #FFB3B3;
}

.niceTable tr.odd,
.niceTable tr.odd td {
    background: white;
}

.niceTable tr.even,
.niceTable tr.even td {
    background: #FBFBFB;
}

.niceTable tr.odd:hover,
.niceTable tr.odd:hover td,
.niceTable tr.even:hover,
.niceTable tr.even:hover td {
    background: #FFECF8;
}

.niceTable .nowrap,
.niceTable .nowrap > * {
    white-space: nowrap;
}

.formTable {
    position: relative;
}

.formTable input[type="text"],
.formTable input[type="password"] {
    vertical-align: middle;
    width: 200px;
    border: 1px solid #C3C3C3;
    background: white;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    margin: 0;
    border-radius: 3px;
    outline: none;
}

.formTable input[type="text"]:focus,
.formTable input[type="password"]:focus {
    border: 1px solid #9A2A70;
}

.formTable label:not(.button) {
    display: inline-block;
    vertical-align: middle;
    padding: 0 20px 0 0;
}

.formTable select {
    width: 220px;
    padding: 0 20px;
    height: 30px;
    line-height: 30px;
    border-radius: 3px;
}

.table {
    position: relative;
    width: 100%;
    border-collapse: collapse;
    display: table;
}

.table .cell {
    display: table-cell;
}

.titleTip {
    position: absolute;
    z-index: 9999;
    font-size: 12px;
    background: #9A2A70;
    color: white;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border-radius: 3px;
    margin: -32px 0 0 -10px;
    white-space: nowrap;
}

.titleTip::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 5px 0 5px;
    border-color: #9A2A70 transparent transparent transparent;
}

#system-message {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 40px;
    line-height: 40px;
    margin: -20px 0 0 0;
    z-index: 999;
    color: white;
    padding: 0 20px;
    font-size: 14px;
}

#system-message.success {
    background: green;
}

#system-message.failure {
    background: red;
}

.icon-checkmark {
    color: green;
}

.icon-cross {
    color: red;
}

.icon-alert {
    color: #0089FF;
}

.gr {
    color: gray;
}

a {
    color: #9A2A70;
    text-decoration: none;
}

.hidden {
    display: none !important;
}

.after:after,
.wrapper:after {
    clear: both;
    content: "";
    display: block;
}

form {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

#login {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: auto;
    z-index: 2;
    padding: 10px;
    background: white;
    margin: -150px 0 0 -135px;
    border-radius: 3px;
}

#login table {
    border: none;
    margin: 0;
}

#login table tr td {
    border: none;
    padding: 0;
}

#login input {
    position: relative;
    display: block;
    height: 30px;
    line-height: 30px;
    border: 1px solid rgb(200, 200, 200);
    margin: 0 0 5px 0;
    padding: 0 10px;
    width: 229px;
}

#login input[type="submit"] {
    cursor: pointer;
    width: 250px;
    margin: 0;
    background: #9A2A70;
    color: white;
    border: none;
    height: 32px;
    line-height: 32px;
}

#login input[type="submit"]:hover {
    background: purple;
}

#loginBg {
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    width: 100%;
    height: 100%;
    background: url('../images/background.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.red {
    color: red;
}

.orange {
    color: orange;
}

.green {
    color: green;
}

.icon-alert:before {
    content: "\e917";
}

.icon-target:before {
    content: "\e902";
}

.icon-package:before {
    content: "\e903";
}

.button {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
    border-radius: 3px;
    background: #9A2A70;
    border: 1px solid #821659;
    color: white;
    border-bottom-width: 3px;
}

.button:hover {
    background: #821659;
}

#system-messages {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
}

#system-messages .system-message {
    position: relative;
    display: block;
    padding: 10px;
    border: 1px solid red;
    background: #FB5757;
    color: white;
    font-size: 12px;
    margin: 0 0 5px 0;
}

#system-messages .system-message.inform:before {
    content: "\e917";
    font-family: 'icomoon';
    margin: 0 10px 0 0;
}

.button-secondary,
header #exportOptions label.button-secondary {
    background-color: transparent;
    color: #821659;
}

.button-secondary:hover,
header #exportOptions label.button-secondary:hover {
    background-color: #821659;
    color: white;
}

.dhl-export-button {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
}

.dhl-export-button input {
    max-width: 90px;
    text-align: center;
    height: 28px;
    border-radius: 3px 0 0 3px;
    border: 1px solid #821659;
    border-bottom-width: 3px;
    margin-right: -5px;
    padding: .20rem 0;
}
