body {
    margin: 0px;
    padding: 0px;
    overflow-x: auto;
}

body, input, textarea, select, button {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
}

a {
    color: #04357f;
    text-decoration: none;
}

a:hover {
    color: #03204a;
    text-decoration: underline;
}

#header {
    background-color: #02204b;
    color: #ffffff;
    padding: 20px;
    user-select: none;
}

#header .logo {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}

#header .title {
    display: inline-block;
    margin-top: 20px;
    margin-right: 70px;
}

#header .title h1 {
    font-weight: normal;
    font-size: 20px;
    padding: 0px;
    margin: 0px;
}

#header .title h2 {
    color: #8abbce;
    font-weight: normal;
    font-size: 18px;
    padding: 0px;
    margin: 0px;
}

#header .user {
    position: absolute;
    top: 50px;
    right: 100px;
    color: #8abbce;
    font-weight: normal;
}

#header ul.right-bar {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    position: absolute;
    right: 10px;
    top: 30px;
}

#header ul.right-bar li {
    display: inline-block;
    width: 85px;
    text-align: center;
}

#header ul.right-bar span {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#header ul.right-bar li a {
    color: #ffffff;
    text-decoration: none;
}

#header ul.right-bar li i {
    display: block;
    font-size: 22px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: #04357f;
    line-height: 32px;
    text-align: center;
    margin: 0px auto 5px auto;
}

#header ul.right-bar li.update-mbll i {
    background-color: #b91e1e;
}

#header ul.right-bar li.admin-info i {
    background-color: #880063;
}

#header ul.right-bar li.user-info i {
    background-color: #00887a;
}

#header ul.right-bar li.user {
    width: auto;
    margin-right: 20px;
    font-weight: bold;
    position: absolute;
}

#header ul.right-bar li.user i {
    display: inline-block;
    font-size: 16px;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    background-color: #4068a0;
    line-height: 22px;
    text-align: center;
    margin: 0px 5px 0px 0px;
    vertical-align: middle;
}

#nav {
    background-color: #003580;
    color: #ffffff;
    text-align: center;
    user-select: none;
}

#nav ul.menu {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

#nav ul.menu li {
    display: inline-block;
    width: 95px;
    text-align: center;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    margin: 0px -2px;
    cursor: pointer;
}

#nav ul.menu li:hover, #nav ul.menu li.active {
    background-color: #4068a0;
}

#nav ul.menu li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 10px 5px 15px 5px;
}

#nav ul.menu li i {
    display: block;
    font-size: 30px;
    width: 46px;
    height: 46px;
    border-radius: 23px;
    line-height: 46px;
    text-align: center;
    margin: 0px auto 5px auto;
}

#submenu {
    text-align: center;
    background-color: #4068a0;
    color: #ffffff;
    padding:10px 5px;
    user-select: none;
}

#submenu ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

#submenu ul li {
    display: inline-block;
    margin: 0px 5px;
}

#submenu ul li a {
    padding: 10px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    display: block;
}

#submenu ul li a:hover, #submenu ul li a.active {
    background-color: #5478ab;
}

#content {
    padding: 20px;
    position: relative;
}

#content h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

#content h3 {
    color: #404040;
    font-size: 16px;
    font-weight: bold;
}

.elem {
    margin: 15px 0px;
}

.elem-extra {
    margin: 30px 0px 10px 0px;
}

.elem-table {
    margin-top: 10px;
    max-width: 500px;
}

label {
    margin-right: 10px;
}

.lbl {
    display: block;
    margin-bottom: 5px;
}

.inp, .select2 {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.resp .select2 {
    width: 100% !important;
}

.select-wrapper {
    display: inline-block;
}

.inp {
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    padding: 7px;
}

.inp:focus, select:focus {
    outline-color: #c9e8ff;
}

.btn {
    background-color: #0077cc;
    color: #ffffff;
    border: 0px;
    border-radius: 2px;
    text-align: center;
    padding: 7px 10px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    user-select: none;
}

.btn:hover {
    background-color: #006bb8;
}

.btn-inactive, .btn-inactive:hover {
    background-color: #adb1c1;
    cursor: not-allowed;
}

.center {
    text-align: center;
}

#login {
    width: 80%;
    max-width: 400px;
    margin: 60px auto 30px auto;
    border: 1px solid #e4e4e4;
    padding: 20px;
}

#btn-login {
    width: 100%;
    max-width: 200px;
}

.box {
    border: 1px solid #e4e4e4;
    padding: 20px;
}

.tbl {
    width: 100%;
    background-color: #fefefe;
    border: 1px solid #e4e4e4;
}

.tbl-clickable .tbl-row td {
    cursor: pointer;
}

.tbl td {
    padding: 5px;
}

.tbl tr:nth-child(even), .tbl tr.tbl-row-even {
    background-color: #fefefe;
}

.tbl tr:nth-child(odd), .tbl tr.tbl-row-odd {
    background-color: #f4f4f4;
}

.tbl tr.tbl-head {
    background-color: #f2f2f2;
    font-weight: bold;
    user-select: none;
}

.tbl tr.tbl-head td {
    border-bottom: 3px solid #e4e4e4;
}

.tbl tr.tbl-row:hover, .tbl-row-even:hover, .tbl-row-odd:hover {
    background-color: #fffff2;
}

.tbl tr.tbl-row-sel {
    background-color: #e2f2ff;
}

.tbl td[data-sort] {
    cursor: pointer;
}

.tbl td.break {
    word-break: break-all;
}

.res-count {
    margin-bottom: 20px;
    line-height: 33px;
}

.buttons {
    margin-bottom: 20px;
}

.req {
    color: #ff0000;
}

.search {
    margin-bottom: 30px;
    background-color: #f3f3f3;
    display: none;
}

.search .inp {
    width: 100px;
}

.s-space {
    margin-right: 10px;
    white-space: nowrap;
}

.icon {
    cursor: pointer;
    color: #737373;
    font-size: 16px;
    margin: 0px 5px;
}

.icon:hover {
    color: #333333;
}

ul.pager {
    list-style-type: none;
    margin: 20px 0px 0px 0px;
    padding: 0px;
}

ul.pager li {
    display: inline-block;
    margin-right: 5px;
}

ul.pager li a {
    display: block;
    border: 1px solid #e4e4e4;
    padding: 5px;
    text-align: center;
    color: #777777;
}

ul.pager li span.active {
    display: block;
    border: 1px solid #e4e4e4;
    padding: 5px;
    text-align: center;
    font-weight: bold;
}

ul.pager li a:hover {
    background-color: #f6f6f6;
    text-decoration: none;
}

.icon-up {
    display: none;
    position: fixed;
    right: 5px;
    bottom: 10px;
    font-size: 40px;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.ind {
    display: inline-block;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    cursor: help;
    padding: 0px 2px;
}

.ind-wide {
    min-width: 50px;
}

.ind-link {
    cursor: pointer;
}

.ind-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.ind-blue {
    background-color: #04357f;
    color: #ffffff;
}

.ind-green {
    background-color: #20582e;
    color: #ffffff;
}

.ind-orange {
    background-color: #99590e;
    color: #ffffff;
}

.ind-maroon {
    background-color: #990e0e;
    color: #ffffff;
}

.ind-pink {
    background-color: #6a066b;
    color: #ffffff;    
}

.ind-brown {
    background-color: #3f3927;
    color: #ffffff;
}

.ind-cyan {
    background-color: #327395;
    color: #ffffff;
}

.ind-olive {
    background-color: #556b2f;
    color: #ffffff;
}

.ind-tomato {
    background-color: #ff6347;
    color: #ffffff;
}

.ind-crimson {
    background-color: #dc143c;
    color: #ffffff;
}

.small {
    color: #777777;
    font-size: 12px;
    margin-top: 5px;
}

.monospace {
    font-family: "Courier New", monospace;
    font-size: 12px;
    white-space: pre;
}

.upper {
    text-transform: uppercase;
}

.left {
    float: right;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.user-logo {
    height: 75px;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
@media screen and (max-width: 850px) {
    #header .title, .user-logo {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    #nav ul.menu li {
        padding: 10px 0px;
    }
}

.form-left {
    float: left;
    width: 40%;
}

.form-right {
    float: left;
    width: 40%;
    margin-left: 30px;
}

@media screen and (max-width: 640px) {

    .form-left, .form-right {
        float: none;
        width: 100%;
        margin-left: 0px;
    }

}

.para {
    margin-top: 10px;
}

.para-extra {
    margin-top: 20px;
}

.order-left {
    float: left;
    width: 260px;
    margin-right: 30px;
}

.order-right {
    float: left;
    width: 300px;
}

.order-tbl {
   max-width: 600px;
}

@media screen and (max-width: 640px) {

    .order-left, .order-right {
        float: none;
        width: 100%;
        margin-right: 0px;
    }

}

.dlg-left {
    float: left;
    width: 49%;
}

.dlg-right {
    float: right;
    width: 49%;
}

.dlg-left .inp, .dlg-right .inp {
    width: 199px;
}

.dlg-left .rng, .dlg-right .rng {
    width: 94px;
}

.dlg-left table, .dlg-right table {
    border-spacing: 0px;
}

.dlg-left table td, .dlg-right table td {
    padding: 2px;
    padding-left: 0px;
}

.search-narrow .dlg-left {
    float: none;
    width: 100%;
}

@media screen and (max-width: 860px) {

    .dlg-left, .dlg-right {
        float: none;
        width: 100%;
    }

}

.title-left {
    float: left;
}

.title-right {
    float: right;
}

@media screen and (max-width: 640px) {

    .title-left, .title-right {
        float: none;
        width: 100%;
    }

}

.upload-image {
    vertical-align: middle;
    margin-right: 30px;
}

ul.boxed-links {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul.boxed-links li {
    display: block;
    width: 240px;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

ul.boxed-links li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e4e4e4;
    padding: 10px;
    text-decoration: none;
    background-color: #fefefe;
}

ul.boxed-links li a:hover {
    background-color: #e2f2ff;
}

ul.boxed-links li a .icon:hover {
    color: #737373;
}

.lbl-grid {
    display: inline-block;
    width: 120px;
    margin-right: 5px;
    vertical-align: top;
}

.easy-autocomplete {
    display: inline-block;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.s-results {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.s-item {
    cursor: pointer;
    padding: 5px;
    margin-bottom: 10px;
}

.s-item:hover {
    background-color: #e6f7ff;
}

.sm-item {
    margin-bottom: 0px;
}

.box-customer {
    position: relative;
    margin-top: 10px;
}

.box-controls {
    margin-top: 10px;
}

.tbl-return-items {
    margin-top: 10px;
}

.waypoints {
    margin-top: 10px
}

.waypoint {
    border: 1px solid #e4e4e4;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 3px;
    background-color: #fefefe;
    cursor: move;
    user-select: none;
    position: relative;
}

.waypoint:hover {
    background-color: #f4f4f4;
}

.icon-waypoint {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #737373;
}

.tabs li a, .tabs li a:hover {
    font-size: 14px;
    font-weight: normal;
}

table.tbl-simple {
    border-collapse: collapse;
    border: 1px solid #e4e4e4;
    margin-bottom: 10px;
}

table.tbl-simple td {
    border: 1px solid #e4e4e4;
    padding: 5px;
}