.action-btn {
    padding: 5px 7px 8px 8px;
    border-radius: 5px;
}

.breadcrumb > .active {
    color: #fff;
}

.edit {
    background-color: #23a8b5;
}

.print, .print:hover {
    padding: 6px 9px;
    color: #fff;
    background-color: #2378b5;
}

input.invalid {
    border: 1px solid #ec6969eb;
}

.right {
    float: right;
}

.bg-trash {
    background-color: #e20101;
    color: #fff;
}

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

.popup-wrap {
    position: absolute;
    z-index: 9;
}

.popup-wrap a {
    display: block;
}

.popup-content {
    position: absolute;
    background: #d8d3d3;
    padding: 8px 18px;
    right: 14px;
    top: -50px;
    box-shadow: 2px 2px 4px #ddd;
    min-width: 125px;
}

.popup-content:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 12px solid #d8d3d3;
    border-bottom: 8px solid transparent;
    position: absolute;
    right: -12px;
    top: 35%;
}

#user-table_wrapper, .table-responsive {
    overflow: scroll;
}

#user-table_filter {
    display: none;
}

.portlet-green > .portlet-heading {
    background-color: var(--primary-color);
}

.btn-green {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.portlet-green {
    border-color: var(--primary-color);
}

table.table-green thead {
    background-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #fff !important;
    background: var(--primary-color);
}

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

.mr-1 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 2rem;
}

.mr-3 {
    margin-right: 3rem;
}

.mr-4 {
    margin-right: 4rem;
}

.mr-5 {
    margin-right: 5rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.pr-0 {
    padding-right: 0;
}

.select2 {
    min-width: 100%;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 2.28571429 !important;
}

.select2-container .select2-selection--single {
    height: 34px !important;
    border-radius: 0 !important;
    border: 1px solid #cccccc !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
}

.table-responsive {
    position: relative;
}

.position-absolute {
    position: absolute !important;
}

.loader-absolute {
    top: 0;
    left: 10%;
}

a {
    text-decoration: none;
}

.main-wrap {
    background: #000;
    text-align: center;
}

.main-wrap h1 {
    color: #fff;
    margin-top: 50px;
    margin-bottom: 100px;
}

.col-md-3 {
    display: block;
    float: left;
    margin: 1% 0 1% 1.6%;
    background-color: #eee;
    padding: 50px 0;
}

.col:first-of-type {
    margin-left: 0;
}


/* ALL LOADERS */

.loader {
    /*width: 100px;
    height: 100px;*/
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
    display: none;
}

/* LOADER 1 */

#loader-1:before, #loader-1:after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 10px solid transparent;
    border-top-color: #3498db;
}

#loader-1:before {
    z-index: 100;
    animation: spin 1s infinite;
}

#loader-1:after {
    border: 10px solid #ccc;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* LOADER 2 */

#loader-2 span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #3498db;
    margin: 35px 5px;
}

#loader-2 span:nth-child(1) {
    animation: bounce 1s ease-in-out infinite;
}

#loader-2 span:nth-child(2) {
    animation: bounce 1s ease-in-out 0.33s infinite;
}

#loader-2 span:nth-child(3) {
    animation: bounce 1s ease-in-out 0.66s infinite;
}

@keyframes bounce {
    0%, 75%, 100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    25% {
        -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        -o-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

/* LOADER 3 */

#loader-3:before, #loader-3:after {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: calc(50% - 10px);
    background-color: #3498db;
    animation: squaremove 1s ease-in-out infinite;
}

#loader-3:after {
    bottom: 0;
    animation-delay: 0.5s;
}

@keyframes squaremove {
    0%, 100% {
        -webkit-transform: translate(0, 0) rotate(0);
        -ms-transform: translate(0, 0) rotate(0);
        -o-transform: translate(0, 0) rotate(0);
        transform: translate(0, 0) rotate(0);
    }

    25% {
        -webkit-transform: translate(40px, 40px) rotate(45deg);
        -ms-transform: translate(40px, 40px) rotate(45deg);
        -o-transform: translate(40px, 40px) rotate(45deg);
        transform: translate(40px, 40px) rotate(45deg);
    }

    50% {
        -webkit-transform: translate(0px, 80px) rotate(0deg);
        -ms-transform: translate(0px, 80px) rotate(0deg);
        -o-transform: translate(0px, 80px) rotate(0deg);
        transform: translate(0px, 80px) rotate(0deg);
    }

    75% {
        -webkit-transform: translate(-40px, 40px) rotate(45deg);
        -ms-transform: translate(-40px, 40px) rotate(45deg);
        -o-transform: translate(-40px, 40px) rotate(45deg);
        transform: translate(-40px, 40px) rotate(45deg);
    }
}

/* LOADER 4 */

#loader-4 span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #3498db;
    /*margin: 35px 5px;*/
    opacity: 0;
}

#loader-4 span:nth-child(1) {
    animation: opacitychange 1s ease-in-out infinite;
}

#loader-4 span:nth-child(2) {
    animation: opacitychange 1s ease-in-out 0.33s infinite;
}

#loader-4 span:nth-child(3) {
    animation: opacitychange 1s ease-in-out 0.66s infinite;
}

@keyframes opacitychange {
    0%, 100% {
        opacity: 0;
    }

    60% {
        opacity: 1;
    }
}

/* LOADER 5 */

#loader-5 span {
    display: block;
    position: absolute;
    left: calc(50% - 20px);
    top: calc(50% - 20px);
    width: 20px;
    height: 20px;
    background-color: #3498db;
}

#loader-5 span:nth-child(2) {
    animation: moveanimation1 1s ease-in-out infinite;
}

#loader-5 span:nth-child(3) {
    animation: moveanimation2 1s ease-in-out infinite;
}

#loader-5 span:nth-child(4) {
    animation: moveanimation3 1s ease-in-out infinite;
}

@keyframes moveanimation1 {
    0%, 100% {
        -webkit-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
        transform: translateX(0px);
    }

    75% {
        -webkit-transform: translateX(30px);
        -ms-transform: translateX(30px);
        -o-transform: translateX(30px);
        transform: translateX(30px);
    }
}

@keyframes moveanimation2 {
    0%, 100% {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
    }

    75% {
        -webkit-transform: translateY(30px);
        -ms-transform: translateY(30px);
        -o-transform: translateY(30px);
        transform: translateY(30px);
    }
}

@keyframes moveanimation3 {
    0%, 100% {
        -webkit-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
        -o-transform: translate(0px, 0px);
        transform: translate(0px, 0px);
    }

    75% {
        -webkit-transform: translate(30px, 30px);
        -ms-transform: translate(30px, 30px);
        -o-transform: translate(30px, 30px);
        transform: translate(30px, 30px);
    }
}

/* LOADER 6 */

#loader-6 {
    top: 40px;
    left: -2.5px;
}

#loader-6 span {
    display: inline-block;
    width: 5px;
    height: 20px;
    background-color: #3498db;
}


#loader-6 span:nth-child(1) {
    animation: grow 1s ease-in-out infinite;
}

#loader-6 span:nth-child(2) {
    animation: grow 1s ease-in-out 0.15s infinite;
}

#loader-6 span:nth-child(3) {
    animation: grow 1s ease-in-out 0.30s infinite;
}

#loader-6 span:nth-child(4) {
    animation: grow 1s ease-in-out 0.45s infinite;
}

@keyframes grow {
    0%, 100% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        -o-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(1.8);
        -ms-transform: scaleY(1.8);
        -o-transform: scaleY(1.8);
        transform: scaleY(1.8);
    }
}

/* LOADER 7 */

#loader-7 {
    -webkit-perspective: 120px;
    -moz-perspective: 120px;
    -ms-perspective: 120px;
    perspective: 120px;
}

#loader-7:before {
    content: "";
    position: absolute;
    left: 25px;
    top: 25px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    animation: flip 1s infinite;
}

@keyframes flip {
    0% {
        transform: rotate(0);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(180deg) rotateX(180deg);
    }
}

/* LOADER 8 */

#loader-8:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: calc(50% - 10px);
    left: 0px;
    background-color: #3498db;
    animation: rotatemove 1s infinite;
}

@keyframes rotatemove {
    0% {
        -webkit-transform: scale(1) translateX(0px);
        -ms-transform: scale(1) translateX(0px);
        -o-transform: scale(1) translateX(0px);
        transform: scale(1) translateX(0px);
    }

    100% {
        -webkit-transform: scale(2) translateX(45px);
        -ms-transform: scale(2) translateX(45px);
        -o-transform: scale(2) translateX(45px);
        transform: scale(2) translateX(45px);
    }
}

.has-error .select2-selection--single {
    border: 1px solid #a94442;
}

.modal .has-error .help-block {
    text-align: left;
}


receive-qr-modal .modal-footer {
    text-align: left;
}

.receive-qr-modal .modal-footer #qr_code_data {
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
}

.receive-qr-modal .message {
    padding: 10px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 15px;
    text-align: center;
    margin-top: 5px;
    border-radius: 6px;
}

.receive-qr-modal .success-msg {
    background-color: #adf892;
}

.receive-qr-modal .error-msg {
    background-color: #f89292;
}

#warehouse_qr_code_data {
    font-weight: bolder;
    border-radius: 6px;
}

.copyright-section {
    font-size: 16px;
    padding-top: 10px;
    color: var(--primary-color);
    list-style: none;
}

.copyright-section a {
    color: #737373;
}

.copyright-text {
    padding-right: 20px;
}

.login-copyright-text {
    text-align: center;
    background-color: var(--primary-color);
    padding: 10px;
    color: #fff;
}

.login-copyright-text a {
    color: #fff;
}

#dms-alert-modal {
    overflow: hidden;
}

#dms-alert-modal .modal-header {
    position: relative;
    border-radius: 5px 5px 0 0;
}

#dms-alert-modal .close {
    position: absolute;
    right: 20px;
    top: 32%;
    color: #fff;
    opacity: 1;
}

#dms-alert-modal .modal-content-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#dms-alert-modal .modal-content-inner i {
    margin-right: 10px;
}

#dms-alert-modal button.btn, #dms-alert-modal .btn {
    border: 1px solid;
}

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}

/* Ticket style start */
.success-ticket-created {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.ticket-created {
    background-color: #d0f2d0;
    padding: 10px;
    border: 1px solid #97e497;
    border-radius: 5px;
    margin-bottom: 15px;
}

.ticket-detail-card {
    border: 1px solid #dddbdb;
    border-radius: 8px;
}

.ticket-detail-card .detail-item {
    padding: 15px;
    font-size: 16px;
    border-bottom: 1px solid #dddbdb;
}

.ticket-detail-card .detail-item:last-child {
    border-bottom: 0;
}

.mt-3 {
    margin-top: 15px;
}

.reply-history {
    margin-top: 20px;
}

.reply-card {
    border: 1px solid #dddbdb;
    margin-bottom: 10px;
}

.operator-card {
    border: 1px solid #b4e6ff;
}

.card-head, .reply-container {
    padding: 8px 10px;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f2f2f2;
    column-gap: 5px;
}

.operator-card .card-head {
    background-color: #def4ff;
}

.name-card {
    display: flex;
}

.name-card .user_image_container {
    width: 40px;
    height: 40px;
    margin-right: 8px;
}

.name-card .user_image_container img {
    width: 100%;
}

.reply-name span {
    background-color: #04a900;
    color: #fff;
    padding: 2px 5px;
}

.operator-card .reply-name span {
    background-color: #5bc0de;
}

.cancel_n_reply_container {
    margin-top: 10px;
}

.reply_button_style {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

/* Ticket style end */

#delivery_rate {
    background-color: rgba(142, 237, 123, 0.5);
    padding: 6px 13px;
    color: #000;
    border-radius: 5px;
    font-size: 20px;
    margin-top: 22px;
}

.ui-sortable-handle:hover {
    cursor: move;
}

/** Comment section start **/
.comment-wrap {
    padding: 20px;
    background-color: #ffffff9c;
    font-size: 16px;
}

.comment-item {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.comment-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #cccccc4d;;
    margin: -15px -15px 0;
    padding: 12px;
}

.comment-title span {
    color: var(--primary-color);
    font-weight: 700;
}

.comment-title .commented-date {
    font-size: 12px;
    color: rgba(0, 0, 0, .48);
    font-weight: normal;
}

.comment {
    padding: 15px 0;
}

.comment-footer .reply-btn {
    margin: 0 0 15px;
}

.comment-wrap .btn i {
    padding-right: 5px;
}

.reply-form {
    display: none;
}

.comment-replies-wrap {
    margin-left: 15px;
    margin-bottom: 15px;
}

.comment-replies-wrap .comment-item {
    background-color: #f3f3f3;
    border: none;
}


.comment-replies-wrap .comment-title {
    background-color: transparent;
}

/** Comment section end **/

table.packages-list tr {
    cursor: pointer;
}

.gap-1 {
    column-gap: 5px;
}

.ml-1 {
    margin-left: 5px;
}

.mr-1 {
    margin-right: 5px;
}

.pl-1 {
    margin-left: 5px;
}

.pr-1 {
    margin-right: 5px;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.api-key-wrap .api-key-copy {
    padding: 9px 12px;
    cursor: pointer;
    text-decoration: none;
}

.api-key-wrap .api-key-copy:hover {
    opacity: 0.5;
}

.api-key-wrap .tooltip {
    position: relative;
    display: inline-block;
    opacity: 1;
}

.api-key-wrap .tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.api-key-wrap .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.api-key-wrap .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 0;
}

.package-view-wrap .checklist {
    margin-top: 0;
    border-bottom: 1px solid rgb(3, 119, 172, 0.26);
}

.package-view-wrap .checklist:last-child {
    border-bottom: 0;
}

.package-view-wrap .checklist label {
    cursor: default !important;
}

.package-view-wrap .checklist label span:first-child {
    font-weight: 600;
}

.package-view-wrap table.table-green thead {
    background-color: var(--primary-light);
}

.align-center {
    align-items: center;
}

.package-view-wrap .pull-right {
    display: flex;
    justify-content: flex-end;
}

.show-api-key, .hide-api-key {
    cursor: pointer;
    padding: 10px;
}

.commission-wrap i {
    padding: 10px;
    background-color: #cccccc;
}

.smtp-response {
    padding: 30px;
    min-height: 250px;
    background: #cccccc21;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.announcement-wrap p {
    margin: 0;
}

.announcement-wrap .date {
    font-style: italic;
    font-size: 12px;
}

.announcement-wrap td a {
    color: inherit;
    text-decoration: none;
}

.announcement-wrap td a:hover {
    color: #2980b9;
}

.announcement-box-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.announcement-box-title > div {
    width: 90%;
}

.announcement-details {
    padding: 3rem 15rem;
}

.announcement-details, .announcement-details p {
    font-size: 12px;
    font-weight: 400;
    line-height: 2;
}

.announcement-details .portlet {
    -webkit-box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);
    box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);
    border: none;
}

.p-10 {
    padding: 10px;
}

.pl-10 {
    padding-left: 10px;
}

.pr-10 {
    padding-right: 10px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-20 {
    padding-bottom: 20px;
}

.pb-30 {
    padding-bottom: 30px;
}

.text-white {
    color: #fff !important;
}

.rate-results {
    background: #e5e5e5;
    padding: 44px;
    margin: 15px auto;
    border-radius: 15px;
    border: 1px solid #c7c5c5;
}

.rate-results h3 {
    font-size: 35px;
}

.rate-results .h2 {
    font-size: 60px;
}

.badge {
    display: inline-block;
    padding: .35em .5em;
    font-size: 77%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.badge-success {
    color: #fff;
    background-color: #11c15b;
}

.badge-info {
    color: #fff;
    background-color: #00bcd4;
}
#page-wrapper.edit-log-view-page-wrap {
    background-color: #fff;
}
.details-wrapper {
    padding: 20px;
    margin-bottom: 20px;
    background: #e5e5e5;
    border-radius: 15px;
    border: 1px solid #c7c5c5;
    line-height: 2;
}
.edit-log-view-wrap .table-wrap, .edit-log-view-wrap .table-wrap table {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #c7c5c5;
}
.edit-log-view-wrap table thead {
    background-color: var(--primary-light) !important;
}

@media (min-width: 1024px) {
    .display-flex {
        display: flex;
        align-items: start;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .main {
        display: flex;
        flex-wrap: wrap;
        margin-top: 50px;
    }

    .main .navbar-side {
        position: inherit;
        width: 225px;
        transition: all 0.5s ease-in-out;
    }

    .main .navbar-collapse {
        padding: 0;
    }

    .main .navbar-side .side-nav {
        position: relative;
    }

    .main #page-wrapper {
        margin: 0;
        width: calc(100% - 225px);
        transition: all 0.5s ease-in-out;
        min-height: 45vw;
    }

    .main #page-wrapper.collapsed {
        width: 100%;
    }

    .package-view-wrap .checklist .task-time {
        font-size: 12px;
        font-style: italic;
        line-height: 20px;
    }
}

@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
}

@media screen and  (max-width: 1024px) {
    .copyright {
        text-align: center;
        display: flex;
        flex-direction: column;
    }
}

@media screen and  (max-width: 991px) {
    .ticket-detail-card {
        margin-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .delivery-modal label {
        display: block;
    }

    .delivery-modal .select2 {
        width: 100%;
    }

    .package-view-wrap .checklist .task-time {
        display: block;
    }
}

@media screen and (max-width: 425px) {
    .package-view-wrap .checklist label {
        display: flex;
    }

    .package-view-wrap .checklist label span:first-child {
        width: 40%;
    }

    .package-view-wrap .checklist .task-time {
        display: flex;
        font-size: 12px;
        font-style: italic;
        line-height: 20px;
        width: 60%;
    }
}
