﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

tr .sortable-th {
    cursor: pointer;
}

/* SKELETON LOADER */
.skeleton__placeholder {
    display: block;
    background-color: #dfe3e6;
    height: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 30%;
    min-width: 100px;
}

.skeleton__header {
    background-color: #f2f4f5;
    padding: 1rem;
}

.skeleton__header .skeleton__headline {
    background-color: #dfe3e6;
}

.skeleton__header:before {
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.skeleton__text {
    width: 55%;
}

.skeleton__content {
    margin: 1rem;
    padding: 1rem;
    background-color: #f2f4f5;
    border-radius: 4px;
    min-height: 200px;
    height: 50vh;
}

.skeleton__content .skeleton__headline {
    width: 40%;
}

.skeleton__line {
    background-color: #e7e9ea;
    height: 4px;
    margin-left: -1rem;
    margin-right: -1rem;
}

.skeleton__loading {
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.skeleton__loading:after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    opacity: 0.5;
    content: "";
    width: 1000px;
    height: 1000px;
    transform-origin: 0;
    transform: translate3d(-50%, -50%, 0);
    background-color: transparent;
    background-image: linear-gradient(-45deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%, transparent 100%);
    background-repeat: no-repeat;
    transition: all 1s ease-in-out;
    animation: skeleton-loading 2.2s linear infinite;
    z-index: 100;
}

@keyframes skeleton-loading {
    from {
        transform: translate3d(-50%, -200%, 0);
    }

    to {
        transform: translate3d(-50%, 100%, 0);
    }
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #7A5FDF;
    border-color: #7A5FDF;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.fas[data-count] {
    position: relative;
}

.fas[data-count]:after {
    position: absolute;
    right: -0.75em;
    top: -.75em;
    content: attr(data-count);
    padding: .5em;
    border-radius: 10em;
    line-height: .9em;
    color: white;
    background: rgba(255, 0, 0, .75);
    text-align: center;
    min-width: 2em;
    font: bold .4em sans-serif;
}

img[data-count] {
    position: relative;
}

img[data-count]:after {
    position: absolute;
    right: -0.75em;
    top: -.75em;
    content: attr(data-count);
    padding: .5em;
    border-radius: 10em;
    line-height: .9em;
    color: white;
    background: rgba(255, 0, 0, .75);
    text-align: center;
    min-width: 2em;
    font: bold .4em sans-serif;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@font-face {
    font-family: 'Raleway' !important;
    src: url('../assets/fonts/Raleway-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Rockwell';
    src: url('../assets/fonts/ROCK.TTF') format('truetype');
}

body {
    font-family: 'Raleway', sans-serif !important;
    font-size: 13px;
    min-height: 100%;
}

.ui-widget.ui-widget-content {
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
}

.container-fluid {
    height: 100vh;
}

/* IOS Checkbox */
.form-switch {
    display: inline-block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.form-switch i {
    position: relative;
    display: inline-block;
    margin-right: .5rem;
    width: 46px;
    height: 26px;
    background-color: #e6e6e6;
    border-radius: 23px;
    vertical-align: text-bottom;
    transition: all 0.3s linear;
}

.form-switch i::before {
    content: "";
    position: absolute;
    left: 0;
    width: 42px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
    transition: all 0.25s linear;
}

.form-switch i::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
    transform: translate3d(2px, 2px, 0);
    transition: all 0.2s ease-in-out;
}

.form-switch:active i::after {
    width: 28px;
    transform: translate3d(2px, 2px, 0);
}

.form-switch:active input:checked+i::after {
    transform: translate3d(16px, 2px, 0);
}

.form-switch input {
    display: none;
}

.form-switch input:checked+i {
    background-color: #4BD763;
}

.form-switch input:checked+i::before {
    transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0);
}

.form-switch input:checked+i::after {
    transform: translate3d(22px, 2px, 0);
}

.text-black {
    color: #000;
}

.notification-ul li {
    border-bottom: 1px solid #c1c1c18c;
    margin-bottom: 15px;
}


/* END OF IOS Checbox */

/* DROP OFF */
body .user-mgt-container .dropoff-menu {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

body .user-mgt-container .dropoff-menu .card-body {
    display: flex;
    justify-content: space-evenly;
}

body .user-mgt-container .dropoff-menu a {
    font-size: 15px;
}

body .user-mgt-container .dropoff-menu .btn-add-new-order {
    background: #ed2772;
    border: none;
    border-radius: 50px;
    font-size: 12px;
}

body .user-mgt-container .dropoff-menu .btn-add-new-order:active,
body .user-mgt-container .dropoff-menu .btn-add-new-order:hover {
    outline: unset;
    box-shadow: unset;
    background: #ed2772;
}

body .btn-my-order-nav button.btn-light {
    background: #bfbfbf26;
    padding: 10px 40px;
}

body .btn-my-order-nav button.btn-light.btn-active {
    background-color: #17a2b8;
    color: #fff;
}

body .btn-my-order-nav button.btn-light.btn-active:focus,
body .btn-my-order-nav button.btn-light.btn-active:active {
    background-color: #17a2b8;
    color: #fff;
}

ul+notification-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(24, 84, 109, 0.3);
    /* border-radius: 10px; */
    background-color: #F5F5F5;
}

ul+notification-content::-webkit-scrollbar {
    width: 8px;
    height: 10px;
    background-color: #F5F5F5;
}

ul+notification-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(24, 84, 109, 0.3);
    background-color: #555;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(24, 84, 109, 0.3);
    /* border-radius: 10px; */
    background-color: #F5F5F5;
}

body::-webkit-scrollbar {
    width: 8px;
    height: 10px;
    background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(24, 84, 109, 0.3);
    background-color: #555;
}

.modal::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(24, 84, 109, 0.3);
    /* border-radius: 10px; */
    background-color: #F5F5F5;
}

.w-85 {
    width: 85% !important;
}

.modal::-webkit-scrollbar {
    width: 8px;
    height: 10px;
    background-color: #F5F5F5;
}

.modal::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(24, 84, 109, 0.3);
    background-color: #555;
}

/* END OF DROP OFF */
.btn {
    font-size: 13px;
}

.break-word {
    word-break: break-word;
}

.w-80 {
    width: 80%;
}

.w-15 {
    width: 15%;
}

.w-5 {
    width: 5%;
}

.font-12 {
    font-size: 12px !important;
}

.paymentDetailsValue {
    font-size: 15px !important;
}

.mxd-10 {
    max-width: 10px;
}

.mxd-140 {
    max-width: 140px;
}

.mxd-95 {
    max-width: 0;
}

.mxd-100 {
    max-width: 100px;
}

.mxd-110 {
    max-width: 100px;
}

.kcargo-link {
    text-decoration: underline !important;
    color: #7a5fdf !important;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* START SWITCH ANIMATION */


.animate-switch {
    padding: 50px;
}

.animate-switch.ng-animate {
    transition: all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.animate-switch.ng-leave.ng-leave-active,
.animate-switch.ng-enter {
    top: -100px;
}

.animate-switch.ng-leave,
.animate-switch.ng-enter.ng-enter-active {
    top: 0;
}

/* END SWITCH ANIMATION */

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /*Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    /*Vertically center the text there */
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.slant-text {
    -webkit-transform: rotate(-25deg);
    -moz-transform: rotate(-25deg);
    -ms-transform: rotate(-25deg);
    -o-transform: rotate(-25deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    left: 100px;
    top: 500px;
    position: absolute;
    color: #ff6c6c;
    text-transform: uppercase;
    font-size: 26px;
    font-weight: bold;
    opacity: 40%
}

.lg-backdrop {
    z-index: 1050 !important;
}

.rockwell {
    font-family: 'Rockwell', serif !important;
}

.table-badge {
    padding: 5px;
    font-size: 9px;
}

.warning {
    color: #ed2870;
}

.koboom-star {
    width: auto;
    height: 15px;
    padding: 0px 0px 3px;
    margin: 0px 3px 0px 0px;
}

.to-ship-package-found {
    background-color: #2d2d41;
    color: white;
    border: 1px solid #f2f2f2;
}

input.large-check-header {
    width: 20px;
    height: 20px;
}
input.large-check {
    width: 20px;
    height: 20px;
    margin-top: -5px;
}

.bg-danger-white {
    background-color: #dc3545 !important;
    color: white;
}

.courier-img-fed-ex {
    width: 160px;
    height: auto;
}
.courier-img-width {
    width: 120px;
    height: auto;
}

.courier-img-fed-ex-mob {
    width: 150px;
    height: auto;
}

.courier-img-mob-width {
    width: 110px;
    height: auto;
}

.courierShippingFee {
    font-size: 25px !important;
    font-weight: bold;
}
.courierDeliveryDays {
    font-size: 15px !important;
    font-weight: bold;
    color: #71797E;
}
.courierDeliveryNote {
    font-size: 15px !important;
    font-weight: bold;
    color: #71797E;
}
.courierFedExNameOffset {
    margin-top: -12px;
    font-weight: bolder;
    letter-spacing: 1px;
}
.courierFedExOffsetTd {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
input.large-radio-button {
    width: 20px;
    height: 20px;
}

.mu-shipout-icon {
    background-color: green;
    padding: 3px;
    margin: 1px;
    border-radius: 5px;
    color: white;
    margin-right: 1px;
}

.mu-discard-icon {
    background-color: red;
    padding: 3px;
    margin: 1px;
    border-radius: 5px;
    color: white;
    margin-right: 1px;
}

.mu-link-icon {
    background-color: blue;
    padding: 3px;
    margin: 1px;
    border-radius: 5px;
    color: white;
    margin-right: 1px;
}

.dashboard-number {
    font-family: Arial, sans-serif;
}

/* Kpasabuy Applicant Form Popup */

/* === Overlay === */
.applicant-form-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center; /* default = centered */
    justify-content: center;
    z-index: 1050;
    overflow-y: auto;
    padding: 20px;
}

    /* Hide when ng-show = false */
    .applicant-form-popup.ng-hide {
        display: none !important;
    }

    /* Modal Box */
    .applicant-form-popup .modal-content {
        background: #fff;
        border-radius: 8px;
        max-width: 650px;
        width: 100%;
        padding: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
        position: relative;
        animation: fadeInScale 0.25s ease-in-out;
    }

    /* Header */
    .applicant-form-popup .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #e5e5e5;
    }

        .applicant-form-popup .modal-header h5 {
            margin: 0;
            font-size: 1.25rem;
        }

    .applicant-form-popup .close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        line-height: 1;
        padding: 0;
    }

    /* Body */
    .applicant-form-popup .modal-body {
        padding: 20px;
    }

    /* Footer */
    .applicant-form-popup .modal-footer {
        padding: 15px 20px;
        border-top: 1px solid #e5e5e5;
        text-align: right;
    }

/* Animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Fix */
@media (max-width: 768px) {
    .applicant-form-popup {
        align-items: flex-start; /* stick modal to top */
    }

        .applicant-form-popup .modal-content {
            margin-top: 20px; /* little breathing room */
            height: auto; /* let it grow naturally */
        }
}

/* Kpasabuy Applicant Form Popup */