/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

a{
    text-decoration: none !important;
}

.image-div{
    height: 100px;
    width: 100px;
    object-fit: contain;
}


.image-div img{
    height: 100%;
    width: 100%;
}

.h-100{
    height: 100%;
}

.p-0{
    padding: 0px !important;
}

/* file input styles */

.MultiFile-list{
    position: absolute !important;
    top: 10 !important;
    left: 134 !important;
    display: flex !important;
}

.MultiFile-list .MultiFile-label{

    margin-right: 15px !important;
    background: #f8bd2c !important;
    color: #fff !important;
    border: 1px solid #f8bd2c !important;
    border-radius: 5px !important;
    padding: 4px 10px !important;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.MultiFile-list .MultiFile-remove{
    color: red !important;
    /* background: #fce9e9;
    border: 1px solid #fce9e9; */
    border-radius: 50% !important;
    /* height: 5px;
    width: 5px; */
    padding: 2px !important;

}

#payslip_files::placeholder {
    opacity: 0 !important; 
    visibility: hidden !important;
  }

  #bank_statements::placeholder {
    opacity: 0 !important; 
    visibility: hidden !important;

  }

  #mpesa_files::placeholder {
   
    visibility: hidden !important;

  }

.currency-input{
    font-weight: bold;
}

.s_allow_columns strong{
    color: #222 !important;
}

.fileupload{
    margin-bottom: 15px;
}

/*==================== IMage preview ======================*/




.dropzone:not(.dz-clickable) {
    cursor: not-allowed;
    opacity: .5
}

.dropzone.dz-drag-hover {
    border-style: solid;
    border-color: var(--bs-primary)
}

.dropzone.dz-drag-hover .dz-message {
    opacity: .5
}

.dz-message {
    color: var(--bs-heading-color);
    font-size: 1.5rem;
    font-weight: 500;
    margin-block:8rem 3rem;margin-inline:0;text-align: center
}

.dz-message .note {
    display: block;
    color: var(--bs-body-color);
    font-size: .9375rem;
    font-weight: 400;
    margin-block-start:.5rem}

.dz-message::before {
    position: absolute;
    display: inline-block;
    border-radius: 6px;
    background: var(--bs-dz-icon-bg);
    background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 17V19C4 20.1046 4.89543 21 6 21H18C19.1046 21 20 20.1046 20 19V17' stroke='%23808390' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M7 9L12 4L17 9' stroke='%23808390' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M12 4V16' stroke='%23808390' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
    block-size: 40px;
    content: "";
    inline-size: 40px;
    inset-block-start: 5rem;
    inset-inline-start: calc(50% - 23px)
}

.dz-browser-not-supported.dropzone-box {
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: default !important;
    inline-size: auto !important;
    min-block-size: auto !important;
    transition: none
}

.dz-browser-not-supported .dz-message {
    display: none !important
}

.dropzone.dz-started .dz-message {
    display: none
}

.dz-preview {
    position: relative;
    box-sizing: content-box;
    /* border:0 solid var(--bs-border-color); */
    border-radius: .375rem;
    background: var(--bs-paper-bg);
    box-shadow: var(--bs-box-shadow);
    cursor: default;
    font-size: .8125rem;
    margin-block:calc(1.25rem - .25rem);margin-inline:calc(1.25rem - .25rem) calc(1.25rem - 1rem)}

@media(min-width: 576px) {
    .dz-preview {
        display:inline-block;
        inline-size: 11.25rem;
    }
}

.dz-filename {
    position: absolute;
    overflow: hidden;
    background: var(--bs-paper-bg);
    inline-size: 100%;
    padding-block:.625rem 0;padding-inline:.625rem;text-overflow: ellipsis;
    white-space: nowrap
}

.dz-filename:hover {
    text-overflow: inherit;
    white-space: normal
}

.dz-size {
    color: var(--bs-secondary-color);
    font-size: .6875rem;
    font-style: italic;
    padding-block:1.875rem .625rem;padding-inline:.625rem}

.dz-preview .progress,.dz-preview .progess-bar {
    block-size: .5rem
}

.dz-preview .progress {
    position: absolute;
    z-index: 30;
    inset-block-start: 50%;
    inset-inline: 1.3rem;
    margin-block-start:-0.25rem}

.dz-complete .progress {
    display: none
}

.dz-thumbnail {
    position: relative;
    box-sizing: content-box;
    padding: .625rem;
    background: var(--bs-gray-25);
    block-size: 7.5rem;
    border-block-end:1px solid var(--bs-border-color);text-align: center;
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px)
}

.dz-thumbnail>img,.dz-thumbnail .dz-nopreview {
    position: relative;
    display: block;
    inset-block-start: 50%;
    margin-block:0;margin-inline:auto;transform: translateY(-50%) scale(1)
}

.dz-thumbnail>img {
    max-block-size: 100%;
    max-inline-size: 100%
}

@media(min-width: 576px) {
    .dz-thumbnail {
        inline-size:10rem
    }
}

.dz-nopreview {
    color: var(--bs-secondary-color);
    font-size: .6875rem;
    font-weight: 500;
    text-transform: uppercase
}

.dz-thumbnail img[src]~.dz-nopreview {
    display: none
}

.dz-remove {
    display: block;
    border-block-start:1px solid var(--bs-border-color);color: var(--bs-body-color);
    font-size: .75rem;
    padding-block:.375rem;padding-inline:0;text-align: center;
    border-bottom-right-radius: calc(0.375rem - 1px);
    border-bottom-left-radius: calc(0.375rem - 1px)
}

.dz-remove:hover,.dz-remove:focus {
    background: rgba(var(--bs-base-color-rgb), 0.1);
    border-block-start-color:rgba(0,0,0,0);color: var(--bs-body-color);
    text-decoration: none
}

.dz-error-mark,.dz-success-mark {
    position: absolute;
    display: none;
    border-radius: 50%;
    background-color: rgba(var(--bs-dark-rgb), 0.5);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1.875rem 1.875rem;
    block-size: 3.75rem;
    box-shadow: 0 0 1.25rem rgba(var(--bs-pure-black), 0.06);
    inline-size: 3.75rem;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    margin-block-start:-1.875rem;margin-inline-start:-1.875rem}

.dz-success-mark {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E")
}

.dz-error-mark {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E")
}

.dz-error-message {
    position: absolute;
    z-index: 40;
    display: none;
    overflow: auto;
    padding: .75rem;
    background: rgba(var(--bs-danger-rgb), 0.8);
    color: var(--bs-white);
    font-weight: 500;
    inset: -1px;
    text-align: start;
    border-top-left-radius: .375rem;
    border-top-right-radius: .375rem
}

.dz-error .dz-error-message {
    display: none
}

.dz-error .dz-error-mark {
    display: block
}

.dz-error:hover .dz-error-message {
    display: block
}

.dz-error:hover .dz-error-mark {
    display: none
}

.dz-success .dz-success-mark {
    display: block
}

.app-ecommerce .dz-message {
    margin-block-start:5rem}

.app-ecommerce .dz-message::before {
    inset-block-start: 3rem
}

[data-bs-theme=dark] {
    --bs-dz-icon-bg: #373b50
}
