html,
body {
    height: 100%;
}

html {
    scrollbar-gutter: stable;
}

h1{
    margin-bottom: 18px;
}

select[data-role="table-filter"]:invalid { color: #999; }
select[data-role="table-filter"] option { color: #555; }

.clear {
    clear: both;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -191px;
    /*    padding: 0 0 220px;*/
}

.wrap > .container {
    min-height: 600px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer {
    border-top: 1px solid #ddd;
    background-color: #383838;
    height: auto;
    padding-top: 0;
    display: none;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.pagination > li > a, .pagination > li > span {
    color: #d72a20;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #d72a20 !important;
    background-color: #f8f0f0 !important;
    border-color: #941e17 !important;
    z-index: 1;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #d72a20 !important;
    border-color: #d72a20 !important;
    color: #fff !important;
}

.pagination a {
    outline: none;
}

.pagination {
    margin: 0;
    border-radius: 0 !important;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#header {
    padding: 35px 0 21px;
    border-bottom: none;
    background-color: #d72a20;
}

#header > .container {
    width: 100%;
    max-width: 1492px;
}

.main-logo {
    float: left;
    margin-right: 30px;
}

.nav > li > a.logout-button {
    display: inline-block;
    width: 15px;
    height: 16px;
    padding: 0;
    margin-top: 16px;
    background-image: url(/images/out.png);
}

.navbar-nav li a,
.navbar-nav li a:not([href]):hover {
    color: #ffffff;
    font-size: 14px;
}

.navbar-nav > li > a:hover, .navbar-nav > li > a:focus {
    background-color: transparent;
}

.top-menu {
    float: right;
    margin-right: 80px;
}

.top-menu li {
    float: left;
    margin-left: 10px;
}

.login-menu li {
    position: relative;
}


.top-menu li a, .login-menu li a {
    text-transform: uppercase;
    padding: 14px;
}

.top-menu li a {
    display: table-caption;
    text-align: center;
    padding: 12px 23px;
}

.top-menu > li > a, .top-menu > li > a:hover {
    background-color: #ffffff;
    color: #d72a20;
    white-space: nowrap;
}

.login-menu {
    float: right;
    margin-top: -3px;
}

.login-menu li {
    float: right;
}

.login-menu .active a {
    color: #f9ff20;
}

.top-menu > li > a:hover, .top-menu > li > a:focus,
.login-menu > li > a:hover, .login-menu > li > a:focus {
    color: #ffa4a4;
}

.top-menu .active .arrow {
    border-color: transparent;
    border-style: solid;
    display: block;
    height: 0;
    position: absolute;
    width: 0;
    border-bottom-width: 0;
    border-top-color: rgba(0, 0, 0, 0.25);
    bottom: -12px;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-top-color: #fff;
}

.navbar-nav li a .counter{
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background-color: #539b1c;
    position: absolute;
    color: #ffffff;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    right: 4px;
    top: 7px;
}

.date-filter .form-control:focus {
    border: 1px solid #03aa0a;
}

.text-attention {
    color: #d72a20;
}

.strong {
    font-weight: bold;
}

.date-filter .form-group {
    position: relative;
}

.filter-form .form-group {
    margin-bottom: 0;
    margin-left: 15px;
}

.filter-form {
    margin-bottom: 15px;
    overflow: hidden;
}

.filter-form label {
    margin-right: 5px;
    margin-bottom: 0;
    font-weight: normal;
    line-height: 34px;
    position: relative;
}

.filter-form .form-control {
    display: inline-block;
    width: 140px;
    padding-right: 22px;
    color: #000000;
    box-shadow: none;
}

.input-block {
    display: inline-block;
    position: relative;
}

.filter-form .help-block  {
    margin: 0;
}

.filter-form > div .form-group:first-child  {
    margin-left: 0;
}

.filter-form > .right .form-group:first-child {
    margin-left: 15px;
}

.filter-form button {
    margin-left: 10px;
}

.right {
    float: right;
}

.left {
    float: left;
}

.filter-form .row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.filter-message {
    margin-left:10px;
    margin-top: 5px;
}

.ui-datepicker, .ui-datepicker-header, .ui-datepicker .ui-datepicker-buttonpane button {
    border-radius: 0;
}

.ui-datepicker {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.ui-datepicker .ui-datepicker-header, .ui-datepicker-header .ui-state-hover {
    background-image: none;
    background-color: rgb(219, 219, 219);
    border: none;
    padding: 1px 0;
}

.ui-datepicker .ui-datepicker-next-hover {
    top: 2px;
    right: 2px;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev-hover {
    top: 2px;
    left: 2px;
    cursor: pointer;
}

.ui-datepicker th {
    color: #777;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: none;
    background: none;
    color: #000000;
}

.ui-datepicker-week-end .ui-state-default {
    color: #777;
}

.ui-datepicker td a {
    text-align: center;
}

.ui-datepicker-today .ui-state-default,
.ui-widget-content .ui-state-hover {
    background-color: rgb(241, 241, 241);
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    background-color: #d72a20;
    color: #ffffff;
}

.ui-datepicker .ui-datepicker-buttonpane {
    border-top: none;
    margin: 0;
    padding: 0;
}

.ui-datepicker-close {
    display: none;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    width: 100%;
    background-color: rgb(219, 219, 219);
    margin: 0;
    padding: 3px 0;
}

.ui-datepicker .ui-datepicker-buttonpane button:hover {
    background-color: rgb(241, 241, 241);
}

.ui-datepicker-trigger {
    position: absolute;
    right: 12px;
    bottom: 9px;
}

.ui-datepicker-trigger:hover {
    cursor: pointer;
    opacity: 0.5;
    -webkit-animation: fadeOut 0.5s ease-out;
    -moz-animation: fadeOut 0.5s ease-out;
    -o-animation: fadeOut 0.5s ease-out;
    animation: fadeOut 0.5s ease-out;
}

.form-control.hasDatepicker {
    padding-right: 38px;
}

.data-table {
    min-height: 150px;
}

.grid-view {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
}

.table {
    border: 1px solid #ddd;
    width: 100%;
    font-size: 13px;
}

.table td, .table th {
    border: none;
    padding: 8px 5px;
    text-align: center;
}

.table td {
    vertical-align: middle;
}

.table > thead > tr > th {
    border-bottom: 2px solid #d72a20;
    color: #777;
    font-weight: normal;
    vertical-align: bottom;
}

.table td.left, .table th.left {
    text-align: left;
}

.table td:first-child, .table th:first-child {
    padding-left: 10px;
}

.table td:last-child, .table th:last-child {
    padding-right: 10px;
}

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

.table .active .glyphicon-refresh {
    display: block;
    line-height: unset;
}

.table .glyphicon-refresh {
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
    display: none;
}

.table tr {
    border-bottom: 1px solid #ddd;
}

.table .filteredDropDown {
    overflow: hidden;
}

.table select::-ms-expand {
    display: none;
}

.table select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    padding: 0 22px 0 0;
    border-color: #ddd;

}

.dataTables_filter {
    /*display: none;*/
}

.spining.glyphicon-refresh {
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
    vertical-align: sub;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        display: none;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: block;
        opacity: 0.5;
    }
}

@-moz-keyframes fadeOut {
    0% {
        display: none;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: block;
        opacity: 0.5;
    }
}

@-o-keyframes fadeOut {
    0% {
        display: none;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: block;
        opacity: 0.5;
    }
}

@keyframes fadeOut {
    0% {
        display: none;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: block;
        opacity: 0.5;
    }
}


.site-login {
    width: 327px;
    margin: 40px auto 0;
    border: 1px solid #ccc;
    padding: 46px;
}

.site-login h1 {
    font-size: 24px;
    margin: 0 0 32px;
}

.site-login .form-group {
    margin: 0 0 20px;
}

.site-login .form-control {
    height: 42px;
}

.big-button {
    width: 100%;
    text-transform: uppercase;
    border: none;
    height: 42px;
    margin-top: 20px;
}

.small-button {
    padding: 0 14px;
    border: none;
    height: 20px;
    display: inline-block;
    line-height: 15px;
    font-size: 12px;
    cursor: pointer;
}

.middle-button {
    padding: 0 22px;
    border: none;
    height: 30px;
    display: inline-block;
    line-height: 26px;
    cursor: pointer;
}

.bordered-button {
    border: 1px solid #ddd;
}
.bordered-button[disabled] {
    color: #999;
}

.red-button {
    color: #ffffff;
    background-color: #d72a20;
}

.red-button[disabled] {
    background-color: #D7897E;
}

.red-button:hover {
    color: #ffa4a4;
    text-decoration: none;
}

.red-button[disabled]:hover {
    background-color: #D7897E;
    color: #ffffff;
}

.red-button.inverse {
    color: #d72a20;
    background-color: #ffffff;
    border: 2px solid #d72a20;
}

.red-button.inverse:hover {
    color: #ffa4a4;
}
select.form-control::-ms-expand {
    display: none;
}

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background: url(/images/ico3.png) no-repeat right;
    background-origin: content-box;
    cursor: pointer;
}

.btn {
    outline: none !important;
}

[data-role="input-clr-btn"],
[data-role="input-clr-btn"]:hover,
[data-role="input-clr-btn"]:focus,
[data-role="input-clr-btn"]:active,
[data-role="input-accept-btn"],
[data-role="input-accept-btn"]:hover,
[data-role="input-accept-btn"]:focus,
[data-role="input-accept-btn"]:active
{
    color: #d72a20 !important;
    font-weight: bold !important;
}
[data-role="input-accept-btn"] i {
    font-size: .7em;
}

.form-control + .input-group-addon,
.input-group-addon + .input-group-addon {
    border-left: 0;
}

.dataTables_paginate .prev .glyphicon,
.dataTables_paginate .next .glyphicon {
    display: none;
}

th.sorting, th.sorting_asc, th.sorting_desc {
    cursor: pointer;
}

.dt-table-style .sorting_asc:after, .dt-table-style .sorting_desc:after, .dt-table-style .sorting:hover:after {
    content: ' ';
    position: relative;
    left: 10px;
}

.dt-table-style .sorting_desc:hover:after, .dt-table-style .sorting_asc:after, .dt-table-style .sorting:hover:after {
    top: auto;
    border: 5px solid transparent;
    bottom: 10px;
    border-bottom-color: #d72a20;
}

.dt-table-style .sorting_asc:hover:after, .dt-table-style .sorting_desc:after {
    border: 5px solid transparent;
    top: 12px;
    border-top-color: #d72a20;
}

.edit-button {
    background: url(/images/icons/pencil.svg);
}

.remove-button {
    background: url(/images/icons/xmark.svg);
}

.check-button {
    background: url(/images/icons/check-to-slot.svg);
}

.edit-field {
    display: flex;
    align-items: center;
    position: relative;
}

.edit-field > i {
    position: absolute;
    top: 9px;
    right: 12px;
    height: 16px;
    width: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    cursor: pointer;
    display: none;
}

.login-menu .warehouse-reset {
    float: none;
    clear: both;
}

.login-menu .warehouse-reset a {
    padding: 0;
    line-height: 0;
    text-transform: capitalize;
    font-size: 12px;
    text-align: center;
    text-decoration: underline;
    text-decoration-style: dashed;
}

.red-button + .red-button {
    margin-right: 10px;
}

.trucks-table-wrapper .row-buttons {
    float: right;
    position: relative;
}

.view-pager {
    float: left;
}

table.dataTable tbody > tr.selected {
    background-color: #f7f7f7;
}

table.dataTable th.sorting:hover::after {
    opacity: .3;
    color: #ff0000;
}

.table > tbody > tr > td.select-row {
    text-align: center;
    font-size: 25px;
    cursor: pointer;
    font-weight: bold;
    line-height: 18px;
}

.modal-body .container {
    width: auto;
}

.modal-body .loader {
    background-image: url("/images/spinner.gif");
    width: 16px;
    height: 16px;
    display: block;
    margin: 0 auto;
}

table.dataTable th.select-checkbox:before,
table.dataTable td.select-checkbox:before {
    content: ' ';
    border: 1px solid black;
    border-radius: 3px;
    display: block;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    margin: 0 auto;
}

table.dataTable tr th.select-checkbox.selected::after,
table.dataTable tr.selected td.select-checkbox::after {
    position: absolute;
    margin-top: -12px;
    margin-left: -3px;
    content: "\2714";
    color: black;
    text-align: center;
    line-height: 8px;
}

table.dataTable .select-checkbox {
    cursor: pointer;
}

.progress-submit {
    background-image: url("data:image/gif;base64,R0lGODlhEAAQAPIAAP///wB9ecLg30OfnAB9eWOvrYLAvpLIxiH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOw==");
    background-repeat: no-repeat;
    background-position: center center;
}

.attention-ico {
    margin-right: 7px;
    width: 14px;
    height: 20px;
    background: url(/images/ico4.png) no-repeat center transparent;
    display: inline-block;
    vertical-align: middle;
}

.site-about {
    font-size: 16px;
}

.site-about .level-1 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

.site-about .level-2 {
    margin-top: 30px;
    margin-left: 20px;
    font-size: 18px;
}

.site-about p {
    text-align: justify;
}

.subject-prefix {
    font-weight: normal;
    color: #777777;
    padding-left: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.input-group-button {
    color: #777;
}
.input-group-button:hover {
    color: #333;
}

.editable-list-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.editable-list-group ul > li {
    display: block;
}

.form-group.required > label::after {
    content: '*';
    color: red;
    padding-left: 4px;
}

.color-red {
    color: red;
}

.mb-0 { margin-bottom: 0; }
.mb-5px, .my-5px { margin-bottom: 5px; }
.mb-10px, .my-10px { margin-bottom: 10px; }
.mb-20px, .my-20px { margin-bottom: 20px; }
.mb-30px, .my-30px { margin-bottom: 30px; }
.mt-0, .my-0px { margin-top: 0; }
.mt-5px, .my-5px { margin-top: 5px; }
.mt-10px, .my-10px { margin-top: 10px; }
.mt-20px, .my-20px { margin-top: 20px; }
.mt-30px, .my-30px { margin-top: 30px; }
.pb-0, .py-0px { padding-bottom: 0; }
.pb-5px, .py-5px { padding-bottom: 5px; }
.pb-10px, .py-10px { padding-bottom: 10px; }
.pb-20px, .py-20px { padding-bottom: 20px; }
.pb-30px, .py-30px { padding-bottom: 30px; }
.pt-0, .py-0px { padding-top: 0; }
.pt-5px, .py-5px { padding-top: 5px; }
.pt-10px, .py-10px { padding-top: 10px; }
.pt-20px, .py-20px { padding-top: 20px; }
.pt-30px, .py-30px { padding-top: 30px; }

.ml-0 { margin-left: 0; }
.ml-5px, .mx-5px { margin-left: 5px; }
.ml-10px, .mx-10px { margin-left: 10px; }
.ml-20px, .mx-20px { margin-left: 20px; }
.ml-30px, .mx-30px { margin-left: 30px; }
.mr-0, .mx-0px { margin-right: 0; }
.mr-5px, .mx-5px { margin-right: 5px; }
.mr-10px, .mx-10px { margin-right: 10px; }
.mr-20px, .mx-20px { margin-right: 20px; }
.mr-30px, .mx-30px { margin-right: 30px; }
.pl-0, .px-0px { padding-left: 0; }
.pl-5px, .px-5px { padding-left: 5px; }
.pl-10px, .px-10px { padding-left: 10px; }
.pl-20px, .px-20px { padding-left: 20px; }
.pl-30px, .px-30px { padding-left: 30px; }
.pr-0, .px-0px { padding-right: 0; }
.pr-5px, .px-5px { padding-right: 5px; }
.pr-10px, .px-10px { padding-right: 10px; }
.pr-20px, .px-20px { padding-right: 20px; }
.pr-30px, .px-30px { padding-right: 30px; }

.text-center ul {
    list-style: none;
    padding-inline-start: 0;
}

.text-center ul > li:before {
    content: "\2022";
    margin-right: 5px;
}

.bordered-top {
    border-top: 2px solid #d72a20;
}

.bordered-bottom {
    border-bottom: 2px solid #d72a20;
}

.bordered-gray {
    border: 1px solid #ccc;
    border-radius: 4px;
}


.disabled-icon {
    opacity: .5;
}

.help-block-uncolored {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
}

.help-block-error {
    color: #d72a20;
}

label {
    font-weight: normal;
}

h3 {
    font-size: 20px;
}

.bg-tender-gray {
    background-color: #fafafa;
}

.d-block {
    display: block;
}

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

.v-align-middle {
    vertical-align: middle;
}

.btn-rect {
    border-radius: 0 !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #d72a20 !important;
    border-color: #d72a20 !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active  {
    color: #fff !important;
    background-color: #941e17 !important;
    border-color: #941e17 !important;
}

.btn-primary[disabled] {
    color: #fff !important;
    background-color: #d77b76 !important;
    border-color: #d77b76 !important;
}

.btn-primary-inverse {
    color: #d72a20 !important;
    background-color: transparent !important;
    border-color: #d72a20 !important;
}

.btn-primary-inverse:hover, .btn-primary-inverse:focus, .btn-primary-inverse:active  {
    color: #d72a20 !important;
    background-color: #f8f0f0 !important;
    border-color: #941e17 !important;
}

.btn-primary-inverse[disabled] {
    color: #d77b76 !important;
    background-color: #f7e6e6 !important;
    border-color: #d77b76 !important;
}

/**************
    Helpers
**************/

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

.flex-row { display: flex; }
.flex-row > * + * { margin-left: 5px; }

/*************/