.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.help-block {
    font-size: 12px;
}

.has-error .help-block-error, .has-error .help-block {
    color: #a94442;
}

.has-error .input-group-alternative {
    box-shadow: 0 1px 3px rgba(169, 68, 66, .15), 0 1px 0 rgba(169, 68, 66, .5);
}

.has-error input {
    border: 1px solid #a94442;
}

.login-bg {
    background-image: url('../img/background/bg-1.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.btn {
    font-weight: 400;
    padding: .5rem 1.25rem;
}

.card-header h3.title {
    line-height: 36px;
}

.table tr[data-role=redirect] {
    cursor: pointer;
}

.table tr[data-role=redirect]:hover {
    background: #f6f9fc;
}

.mb40 {
    margin-bottom: 40px !important;
}

.detail-view tbody tr th:first-child {
    width: 25%;
}

.form-group input[type='file'] {
    display: block;
}

.card .table td, .card .table th {
    padding: .7rem .5rem;
    min-width: 130px;
}
.card .table td:first-child, .card .table th:first-child {
    min-width: 50px;
}

.p20 {
    padding: 20px;
}

.state-orange {
    background-color: rgba(255, 189, 123, 0.6) !important;
}

.state-blue {
    background-color: rgba(166, 239, 255, 0.61) !important;
}

.state-violet {
    background-color: rgba(210, 156, 255, 0.6) !important;
}

.state-green {
    background-color: rgba(170, 255, 170, 0.6) !important;
}

.state-red {
    background-color: rgba(255, 147, 147, 0.6) !important;
}

.table {
    margin-bottom: 1rem !important;
}

#map {
    position: relative;
    width: 100%;
    height: 600px
}

ul.pagination {
    padding-left: 20px;
    padding-right: 20px;
}

ul.pagination > li:not(.active) a {
    cursor: pointer;
}

ul.pagination > li > a, ul.pagination > li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 3px;
    border-radius: 50% !important;
    width: 36px;
    height: 36px;
    font-size: .875rem;
    position: relative;
    line-height: 1.25;
    color: #8898aa;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

ul.pagination > li.active > a {
    z-index: 1;
    color: #fff;
    background-color: #2F4B75;
    border-color: #2F4B75;
}

.courier-state {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    margin-right: 10px;
}

.online {
    background-color: lawngreen;
}

.offline {
    background-color: #fc2f34;
}

#filterForm .form-control {
    height: calc(1.5em + 1.25rem);
    border-radius: .25rem;
    border: 1px solid #e1e1e1!important;
}

.modal-backdrop.show {
    opacity: .5;
}

.detail-view td {
    white-space: normal;
}

.bold, .bold td {
    font-weight: 600;
}

.select2-dropdown {
    width: auto;
    display: contents;
    background: #fff;
}

.select2-container {
    z-index: 99999;
}

.fin-section .select2-container {
    z-index: 10;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 0px;
    margin: 0px;
    background: #fff;
    padding: 0px 0px 0px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    margin: 0px;
    padding: 0px;
    background: none;
    border: 0px;
    margin-right: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li:after {
    content: ',';
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    display: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0px;
    display: flex;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.select2-results__option {
    padding-right: 15px;
}

.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    width: 1rem;
    height: 1rem;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    background-color: #fff;
    margin-right: 8px;
    vertical-align: middle;
}

.select2-results__option[aria-selected=true]:before {
    background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 8 8\'%3e%3cpath fill=\'%23fff\' d=\'M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z\'/%3e%3c/svg%3e');
    content: "";
    background-color: #2F4B75;
    border: 0;
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-size: 68%;
    background-position: center;
    background-repeat: no-repeat;
}

.select2-results {
    background: #fff;
}
.grid-view .summary {
    display: none;
}

.dam {
    background: #ffff00;
}
.kech {
    background: #fb6340;
    color: #fff;
    font-weight: bold;
}
.kemagan {
    background: #f5365c;
    font-weight: bold;
}

.btn-group.open,
.btn-group.show {
    position: relative;
}
.btn-group.open .dropdown-menu,
.btn-group.show .dropdown-menu {
    display: block;
    padding: .5rem;
    left: auto;
    right: 0;
}