body {
    background: #fff;
}

header {
    background: #2e3aa1;
    width: 100%;
    padding: 10px;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    line-height: 30px;
    z-index: 1000;
}

header a,
header a:hover {
    color: #fff;
    text-decoration: none;
}

header .site-name {
    display: inline-block;
    width: calc(100% - 140px);
}

header .site-name > div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}

header .header-right {
    float: right;
}

header .header-right > div {
    float: left;
}

header .header-right .onoffswitch {
    position: relative;
    width: 60px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-transform: none;
    margin-right: 10px;
    margin-top: 3px;
}

header .header-right .onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

header .header-right .onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 20px;
    margin: 0;
}

header .header-right .onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin ease-in 0.2s;
}

header .header-right .onoffswitch-inner:before,
header .header-right .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 20px;
    padding: 0;
    line-height: 20px;
    font-size: 11px;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

header .header-right .onoffswitch-inner:before {
    content: "On";
    padding-left: 10px;
    background-color: #04ca0c;
    color: #FFFFFF;
}

header .header-right .onoffswitch-inner:after {
    content: "Off";
    padding-right: 10px;
    background-color: #EEEEEE;
    color: #999999;
    text-align: right;
}

header .header-right .onoffswitch-switch {
    display: block;
    width: 26px;
    height: 26px;
    margin: -1px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 36px;
    border: 2px solid #999999;
    border-radius: 20px;
    transition: all ease-in 0.2s;
}

header .header-right .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

header .header-right .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

header .header-right .notification {
    position: relative;
    text-transform: none;
    font-weight: normal;
    line-height: 1.42857;
    color: #333;
    z-index: 1;
    margin-right: 10px;
}

header .header-right .notification .btn-show {
    font-size: 22px;
    display: block;
}

header .header-right .notification .num {
    position: absolute;
    top: 0px;
    right: -8px;
    background: red;
    width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 18px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    z-index: 1;
}

header .header-right .notification .num:empty {
    display: none;
}

header .header-right .notification .dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    z-index: 1001;
}

header .header-right .notification .dropdown-menu .head {
    background: #2e3aa1;
    padding: 10px;
    font-size: 20px;
    color: #fff;
}

header .header-right .notification .dropdown-menu .head a.back {
    float: left;
    padding: 0 5px;
}

header .header-right .notification .dropdown-menu .head a.back:active {
    color: #aaa;
}

header .header-right .notification .dropdown-menu .head a.view {
    float: right;
    padding: 0 5px;
}

header .header-right .notification .dropdown-menu .head a.view:active {
    color: #aaa;
}

header .header-right .notification .dropdown-menu ul.list-notification {
    font-size: 13px;
    padding: 0;
    margin: 0;
    overflow: auto;
    height: calc(100% - 48px);
}

header .header-right .notification .dropdown-menu ul.list-notification > li {
    padding: 10px;
    cursor: pointer;
    color: #999;
    user-select: none;
}

header .header-right .notification .dropdown-menu ul.list-notification > li + li {
    border-top: 1px solid #aaa;
}

header .header-right .notification .dropdown-menu ul.list-notification > li.no-view {
    background: #fff3fe;
    color: #222;
}

header .header-right .notification .dropdown-menu ul.list-notification > li .name {
    font-size: 18px;
    font-weight: bold;
}

header .header-right .notification .dropdown-menu ul.list-notification > li.no-view .name {
    color: #008eff;
}

header .header-right .notification .dropdown-menu ul.list-notification > li .desc {
    margin: 5px 0;
}

header .header-right .notification .dropdown-menu ul.list-notification > li.no-view .time {
    color: #027fe2;
}

header .header-right .notification .view-content-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    display: none;
}

header .header-right .notification .view-content-notification .head {
    background: #2e3aa1;
    padding: 10px;
    font-size: 20px;
    color: #fff;
    height: 50px;
}

header .header-right .notification .view-content-notification .head .back {
    float: left;
}

header .header-right .notification .view-content-notification .content {
    position: relative;
    height: calc(100% - 50px);
    overflow: auto;
    background: #fff;
    padding: 10px;
    font-size: 14px;
}

header .header-right .notification .view-content-notification iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

header .header-right .user-login {
    text-transform: none;
}

header .header-right .user-login .dropdown {
    display: inline-block;
}

header .header-right .user-login .dropdown .btn-action-header {
    cursor: pointer;
    user-select: none;
    padding: 0 10px;
    font-size: 28px;
    display: inline-block;
}

header .header-right .user-login .dropdown .dropdown-menu {
    position: fixed;
    top: 48px;
    right: 0;
    width: 230px;
    height: calc(100vh - 48px);
    padding: 0;
    border-radius: 0;
    color: #333;
    font-size: 16px;
    border-color: #ddd;
    overflow: auto;
}

header .header-right .user-login .dropdown .dropdown-menu li {

}

header .header-right .user-login .dropdown .dropdown-menu li:first-child {
    padding: 10px;
    border-bottom: 1px dotted #ddd;
    line-height: 24px;
}

header .header-right .user-login .dropdown .dropdown-menu li .avatar {
    float: left;
    width: 50px;
}

header .header-right .user-login .dropdown .dropdown-menu li .avatar img {
    width: 100%;
    height: 50px;
    object-fit: contain;
    border: 1px solid #ddd;
}

header .header-right .user-login .dropdown .dropdown-menu li .name {
    float: left;
    margin-left: 5px;
    width: calc(100% - 55px);
}

header .header-right .user-login .dropdown .dropdown-menu li .name .type {
    font-size: 12px;
    font-weight: normal;
}

header .header-right .user-login .dropdown .dropdown-menu li a {
    padding: 15px 10px;
}

#content {
    margin-top: 50px;
    padding: 10px;
    min-height: calc(100vh - 50px);
    background: #fff;
}

.my-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
}

.my-alert .bg {
    position: absolute;
    top: 60px;
    left: 50%;
    width: 500px;
    margin-left: -250px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px #888;
    opacity: 0;
}

.my-alert .bg .title {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #006ec5;
}

.my-alert .bg .content {
    padding: 10px;
    overflow: auto;
    max-height: 400px;
}

.modal.full {
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 100% !important;
    padding-right: 0 !important;
}

.modal.full .modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
}

.modal.full .modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.modal .modal-content {
    overflow: hidden;
}

.modal.full .modal-content .modal-body {
    height: calc(100% - 46px);
    overflow: auto;
}

.modal.full .modal-content .modal-body.is-footer {
    padding-bottom: 58px;
}

.modal.full .modal-content .modal-body .fix-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    height: 58px;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 100;
}

.modal .modal-header {
    background: #378038;
    color: #fff;
}

.modal .modal-title {
    font-size: 18px;
}

.modal .close {
    font-size: 30px;
    line-height: 24px;
    margin: 0;
    color: #fff;
    opacity: 1;
}

.modal .list-btn button.btn {
    min-width: 100px;
    font-weight: bold;
}

div.table-responsive table.table thead th {
    white-space: nowrap;
}

div.table-responsive table.table td {
    white-space: normal;
}

.box-image-upload {
    position: relative;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.box-image-upload .bg {
    background: #efefef;
    color: #111;
    text-align: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
    padding: 10px;
    height: 200px;
}

.box-image-upload .bg:hover {
    background: #eaeaea;
}

.box-image-upload .bg .preview {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 1;
    display: none;
}

.box-image-upload.active .bg .preview {
    display: block;
}

.box-image-upload .bg em {
    display: block;
    font-size: 40px;
    line-height: 200px;
}

.box-image-upload button {
    vertical-align: 70px;
    margin-left: 5px;
    display: none;
}

.box-image-upload.active button {
    display: inline;
}

.box-image-upload .progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    border-radius: 0;
    margin-bottom: 0;
    background: #fff;
}

.box-image-upload .progress .progress-bar {
    line-height: 10px;
}

.map {
    width: 100%;
    height: 400px;
    border: 2px solid #ddd;
}

.order {
    margin-bottom: 50px;
}

.order .sortable {
    margin-top: -18px;
    padding-top: 18px;
}

.order hr {
    margin: 10px 0;
}

.order .panel-info > .panel-heading {
    background-color: #b3e5ff;
}

.panel-sm {
    margin-bottom: 10px;
}

.panel-sm .panel-heading {
    padding: 8px;
    font-size: 15px;
}

.panel-sm .panel-heading a {
    color: inherit;
}

.panel-sm .panel-body {
    padding: 10px;
}

.panel-xs {
    margin-bottom: 10px;
}

.panel-xs .panel-heading {
    padding: 5px 8px;
    font-size: 13px;
}

.panel-xs .panel-heading a {
    color: #fff;
}

.panel-xs .panel-body {
    padding: 10px;
}

.order .panel-heading [data-toggle="collapse"] {
    display: block;
}

.order [data-toggle="collapse"] .fa-chevron-down {
    transform: rotate(-180deg);
    transition: all .25s ease-in-out;
}

.order [data-toggle="collapse"][aria-expanded="true"] .fa-chevron-down {
    transform: rotate(0deg);
}

.order .order-info {
    font-size: 12px;
}

.order .order-info .panel:last-child {
    margin-bottom: 0;
}

.order .order-info .panel .panel-body {
    padding: 10px;
}

.order .order-info .panel p {
    margin-bottom: 2px;
}

.order .order-info .panel p.margin-bottom {
    margin-bottom: 10px;
}

.order .order-info .panel p:last-child {
    margin-bottom: 0;
}

.order .call-customer {
    color: green;
}

.order .status-text-0 {
    color: #03d2de;
}

.order .status-text-1 {
    color: #6fbcff;
}

.order .status-text-2 {
    color: #e027d9;
}

.order .status-text-3 {
    color: #04ca08;
}

.order .status-text-4 {
    color: #a94442;
}

.order ul.images {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}

.order ul.images li {
    display: inline-block;
    width: auto;
    margin-right: 5px;
}

.order ul.images li img {
    width: auto;
    height: 50px;
    object-fit: contain;
    padding: 0;
    background: #fff;
    border: 1px solid #ddd;
}

.control-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    padding: 8px;
    background: #fff;
    overflow: auto;
    border-top: 1px solid #ddd;
    box-shadow: 0 -1px 2px #ddd;
    z-index: 100;
}

.control-footer ul {
    padding: 0;
    margin: 0;
    display: table;
    width: 100%;
}

.control-footer ul li {
    display: table-cell;
    padding: 0 3px;
}

.control-footer ul li .btn {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
}

.control-footer .action-change-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
    display: none;
}

.control-footer .action-change-map span.display-table {
    float: left;
    width: 60%;
    height: 100%;
    padding: 0 5px;
}

.control-footer .action-change-map button {
    float: right;
    margin-top: 12px;
    margin-right: 10px;
}

.control-footer .action-change-map .address-changed {
    position: fixed;
    bottom: 56px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px;
    display: none;
    font-size: 12px;
    border-bottom: 1px solid #ddd;
    color: green;
    z-index: 100;
}

.control-footer .action-change-map .address-changed:before {
    content: '\f061';
    font-family: fontawesome;
    margin-right: 5px;
}

.order-add {
    position: relative;
    width: 100%;
    height: calc(100vh - 130px);
}

.order-add .map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.order-add #distance {
    display: inline-block;
    background: #fafafa;
    width: auto;
}

.order-add ul.list-type {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.order-add ul.list-type li {
    display: inline-block;
    margin: 0 10px;
}

.order-add ul.list-type li label {
    font-size: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0;
}

.order-add ul.list-type li input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-top: 0;
}

.order-add ul.list-type li input[type=radio]:checked:before {
    width: 10px;
    height: 10px;
    background-color: #378038;
}

.md-input {
    position: relative;
}

.md-input .btn-clear-input {
    position: absolute;
    top: 3px;
    right: 2px;
    cursor: pointer;
    font-size: 24px;
    padding: 0 8px;
    background: #fff;
    line-height: 34px;
    display: none;
}

.order-add .list-shop-address {
    padding: 0;
    margin: 0;
}

.order-add .list-shop-address li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #ddd;
}

.order-add .list-shop-address li label {
    font-weight: normal;
    display: block;
    user-select: none;
    cursor: pointer;
}

.order-add .list-shop-address li label input[type="radio"] {
    width: 20px;
    height: 20px;
    float: left;
}

.order-add .list-shop-address li label input[type="radio"]:checked:before {
    width: 10px;
    height: 10px;
    background-color: green;
}

.order-many-add ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
}

.order-many-add ol li {
    padding: 10px 10px 1px 10px;
}

.order-many-add .form-control {
    font-size: 14px;
}

.order-many-add .box-phone {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 10px;
    z-index: 10000;
    display: none;
    overflow: auto;
}

.order-many-add .box-phone > ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    height: calc(100% - 180px);
    overflow: auto;
}

.order-many-add .box-phone > ul > li {
    padding: 10px 0;
}

.order-many-add .box-phone > ul > li + li {
    border-top: 1px solid #ddd;
}

.order-many-add .box-phone > ul > li label {
    margin-bottom: 0;
    user-select: none;
    cursor: pointer;
    font-weight: normal;
}

.order-many-add .box-phone > ul > li label input {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.order-many-add .box-phone > ul > li label input:checked:before {
    width: 10px;
    height: 10px;
    background-color: #06750b;
}

.order-many-add .box-district {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 10px;
    z-index: 10000;
    display: none;
    overflow: auto;
}

.order-many-add .box-district ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.order-many-add .box-district ul li + li {
    border-top: 1px solid #ddd;
}

.order-many-add .box-district ul li a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.order-many-add .box-district ul li a:hover,
.order-many-add .box-district ul li a:active {
    background: #efefef;
}

.order-many-add .box-district ul li ul {
    padding-left: 20px;
    border-top: 1px solid #ddd;
}

.order-many-add .box-shop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 10px;
    z-index: 10000;
    display: none;
    overflow: hidden;
}

.order-many-add .box-shop .list-shop-address {
    padding: 0;
    margin: 0;
    overflow: auto;
    width: 100%;
    height: calc(100% - 120px);
}

.order-many-add .box-shop .list-shop-address li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #ddd;
}

.order-many-add .box-shop .list-shop-address li label {
    font-weight: normal;
    display: block;
    user-select: none;
    cursor: pointer;
}

.order-many-add .box-shop .list-shop-address li label input[type="radio"] {
    width: 20px;
    height: 20px;
    float: left;
}

.order-many-add .box-shop .list-shop-address li label input[type="radio"]:checked:before {
    width: 10px;
    height: 10px;
    background-color: green;
}

.order-many-add .box-shop .control {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px;
    text-align: center;
    z-index: 1;
    width: 100%;
    border-top: 1px solid #ddd;
    box-shadow: 0 -1px 3px #aaa;
}

.btn.loading {
    position: relative;
    overflow: hidden;
}

.btn.loading:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../../assets/images/load_bar.gif);
    background-color: rgba(0, 0, 0, 0.5);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
}

.panel-heading {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
}

.pac-container {
    z-index: 1100;
}

.pac-container .pac-item {
    font-size: 18px;
    padding: 10px;
}

.pac-container .pac-item .pac-item-query {
    font-size: 16px;
    padding-right: 6px;
}

textarea {
    resize: none;
}

.my-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
}

.my-loading .bg {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 300px;
    margin-left: -150px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px #000;
    text-align: center;
    padding: 20px;
}

.my-loading .bg img {
    width: 60px;
}

hr {
    border-color: #aaa;
}

.cart-info {

}

.cart-info ul {
    font-size: 17px;
    padding-left: 20px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

input[type="radio"],
input[type="checkbox"] {
    margin-top: 0;
}

.fs12 {
    font-size: 12px;
}

.fs20 {
    font-size: 20px;
}

.vote-shipper {
    color: #999;
    font-size: 16px;
    position: relative;
    display: inline-block;
}

.vote-shipper .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: transparent;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1;
}

.vote-shipper .bg em {
    color: #da9d13;
}

#modal_cancel ul.list-group li.list-group-item {
    padding: 8px;
}

#modal_cancel ul.list-group li.list-group-item label {
    display: block;
    margin-bottom: 0;
    font-weight: normal;
}

.popup-search {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 10px;
    z-index: 1000;
    border-top: 1px solid #ccc;
    box-shadow: 0 -1px 5px #ccc;
    display: none;
}

.popup-search .suggest ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.popup-search .suggest ul li {
    display: inline-block;
    margin-bottom: 5px;
}

.popup-search .suggest ul li a {
    display: block;
    padding: 4px 8px;
    background: #000;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

.popup-search .btn-group {
    width: max-content;
}

.customer-deliver {
    position: relative;
    overflow: auto;
    max-height: calc(100% - 110px);
}

.customer-deliver .title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.customer-deliver ul.images {
    padding: 0;
    margin: 0;
    list-style: none;
}

.customer-deliver ul.images li {
    display: inline-block;
    width: 30%;
    margin: 3px;
    border: 1px solid #333;
    border-radius: 3px;
}

.customer-deliver ul.images li img {
    width: 100%;
    height: auto;
}

.customer-deliver .step-status {
    text-align: center;
    position: relative;
    z-index: 1;
}

.customer-deliver .step-status ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 80%;
    height: 40px;
    margin: 0 auto;
    overflow: hidden;
}

.customer-deliver .step-status ul li {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #fff;
    padding: 5px;
    z-index: 2;
}

.customer-deliver .step-status ul li:nth-child(1) {
    left: 0;
    z-index: 4;
}

.customer-deliver .step-status ul li:nth-child(2) {
    left: 50%;
    margin-left: -20px;
    z-index: 3;
}

.customer-deliver .step-status ul li:nth-child(3) {
    right: 0;
}

.customer-deliver .step-status ul li:nth-child(2).line:before,
.customer-deliver .step-status ul li:nth-child(3).line:before {
    content: '';
    border-bottom: 1px dashed #f3001e;
    position: absolute;
    right: 100%;
    top: 20px;
    width: 100vw;
    z-index: 2;
}

.customer-deliver .step-status ul li span {
    display: block;
    width: 30px;
    height: 30px;
    background: #e4e4e4;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
}

.customer-deliver .step-status ul li.active span {
    background: #f3001b;
    border-color: #d00017;
}

.customer-deliver .step-status ul li.active span:after {
    content: '\f00c';
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 20px;
}

.customer-map {
    position: relative;
    height: calc(100vh - 110px);
    z-index: 1;
}

.customer-map .btn-back,
.customer-map .btn-reload {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #efefef;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: #333;
    text-align: center;
    line-height: 32px;
    border: 1px solid #ccc;
    font-size: 20px;
    z-index: 1;
}

.customer-map .btn-reload {
    left: auto;
    right: 15px;
}

.customer-map .map {
    height: 100%;
    border: none;
}

.box-shipper-info {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #9E9E9E;
    box-shadow: 0 -2px 5px #dadada;
    z-index: 20;
}

.box-shipper-info img {
    float: left;
    width: 60px;
    height: 65px;
    border-radius: 8px;
    margin-right: 5px;
    background: #ddd;
    object-fit: contain;
}

.box-shipper-info .info {
    float: left;
    width: calc(100% - 130px);
    padding: 0 5px;
    font-size: 13px;
}

.box-shipper-info .info h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.box-shipper-info .info span.label {
    font-size: 10px;
    padding: 1px 4px;
}

.box-shipper-info .call {
    float: left;
    width: 60px;
    margin-top: 8px;
    margin-left: 5px;
}

.box-shipper-info .call a {
    background: #ddd;
    border-radius: 5px;
    padding: 8px 0;
    display: block;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.box-shipper-info form {
    height: 0;
    overflow: hidden;
    transition: height ease-in-out .3s;
    -webkit-transition: height ease-in-out .3s;
    -moz-transition: height ease-in-out .3s;
    -ms-transition: height ease-in-out .3s;
    -o-transition: height ease-in-out .3s;
}

.box-shipper-info.active form {
    height: 335px;
}

.earnings .list-type-time {
    width: calc(100% + 20px);
    margin: -10px 0 0 -10px;
}

.earnings .list-type-time ul {
    display: table;
    box-shadow: 0 1px 4px #888;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.earnings .list-type-time ul li {
    display: table-cell;
    border-bottom: 3px solid transparent;
}

.earnings .list-type-time ul li.active {
    border-bottom-color: #458cff;
}

.earnings .list-type-time ul li a {
    display: block;
    padding: 12px 10px 10px 10px;
    text-align: center;
    color: #333;
}

.earnings .list-type-time .tab-content > div {
    display: none;
}

.earnings .list-type-time .tab-content > div.active {
    display: block;
}

.earnings .list-type-time .change-day {
    margin-bottom: 10px;
}

.earnings .list-type-time .change-day > div {
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 15px;
}

.earnings .list-type-time .change-day > div > div {
    float: left;
}

.earnings .list-type-time .change-day > div .prev,
.earnings .list-type-time .change-day > div .next {
    padding: 10px;
    width: 60px;
    user-select: none;
    -webkit-user-select: none;
}

.earnings .list-type-time .change-day > div .prev.disabled,
.earnings .list-type-time .change-day > div .next.disabled {
    opacity: .6;
}

.earnings .list-type-time .change-day > div .center {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 10px;
    font-weight: bold;
    width: calc(100% - 120px);
}

.earnings .list-type-time .change-day > div .center input {
    width: 90px;
    border: none;
    outline: none;
    background: transparent;
    color: #007eff;
    font-weight: bold;
}

.earnings .list-type-time .change-week {
    margin-bottom: 10px;
}

.earnings .list-type-time .change-week > div {
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 15px;
}

.earnings .list-type-time .change-week > div > div {
    float: left;
}

.earnings .list-type-time .change-week > div .prev,
.earnings .list-type-time .change-week > div .next {
    padding: 10px;
    width: 60px;
    user-select: none;
    -webkit-user-select: none;
}

.earnings .list-type-time .change-week > div .prev.disabled,
.earnings .list-type-time .change-week > div .next.disabled {
    opacity: .6;
}

.earnings .list-type-time .change-week > div .center {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 10px;
    font-weight: bold;
    width: calc(100% - 120px);
}

.earnings .list-type-time .change-month {
    margin-bottom: 10px;
}

.earnings .list-type-time .change-month > div {
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 15px;
}

.earnings .list-type-time .change-month > div > div {
    float: left;
}

.earnings .list-type-time .change-month > div .prev,
.earnings .list-type-time .change-month > div .next {
    padding: 10px;
    width: 60px;
    user-select: none;
    -webkit-user-select: none;
}

.earnings .list-type-time .change-month > div .prev.disabled,
.earnings .list-type-time .change-month > div .next.disabled {
    opacity: .6;
}

.earnings .list-type-time .change-month > div .center {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 10px;
    font-weight: bold;
    width: calc(100% - 120px);
}

.earnings .result {
    margin-top: 15px;    
}

.earnings .result > .panel {
    background-image: url(../images/bg_earnings.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 300px auto;
}

.earnings .result .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.earnings .result ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.earnings .result ul li {
    font-size: 16px;
}

.earnings .result ul li + li {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

.earnings .program {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    display: none;
}

.earnings .program .head {
    background: #2e3aa1;
    padding: 10px;
    font-size: 20px;
    color: #fff;
    height: 50px;
}

.earnings .program .head .back {
    float: left;
    color: #fff;
}

.earnings .program .content {
    position: relative;
    height: calc(100% - 50px);
    overflow: auto;
    background: #fff;
    padding: 10px;
    font-size: 14px;
}

.money-bonus {
    min-height: calc(100vh - 130px);
    background-color: #fff;
    background-image: url(../images/bg_earnings.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 300px auto;
}

.money-bonus .panel {
    background: transparent;
}

.btn-deliver {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.btn-deliver .btn {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: bold;
}

body.offline {
    position: relative;
}

body.offline header {
    background: #40478a;
}

body.offline .btn-deliver {
    display: none;
}

@media (max-width: 767px) {
    .table thead tr th {
        white-space: nowrap!important;
    }

    .display-block-mb {
        display: block;
    }

    .vote-shipper {
        font-size: 14px;
    }

    .my-alert .bg {
        left: 10%;
        width: 80%;
        margin-left: 0;
    }
}