/* angular material classes */

.mat-form-field-appearance-outline .mat-form-field-infix {
    padding: 10px !important;
    margin: 5px 0 7px !important;
}

.mat-form-field-infix {
    padding: 0 !important;
    border-top: 0 !important;
}

.mat-form-field-label-wrapper {
    top: -0.84375em !important;
    padding-top: 0.84375em !important;
}

.mat-form-field-appearance-outline .mat-form-field-suffix {
    top: 0.6em !important;
}

.mat-raised-button.mat-primary {
    background-color: #2B78D4 !important;
}

.mat-raised-button {
    color: #fff;
}

.mat-form-field {
    width: 100%;
}

.mat-toolbar-multiple-rows,
.mat-toolbar-row,
.mat-toolbar-single-row {
    /* background: #2B78D4 !important; */
    background: #2F6EB9;
}

.mat-row-link {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}


/* ------------------------ */


/* angular material table */

.next-table-responsive {
    position: relative;
    overflow: auto;
}

.next-table-th {
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    color: #585d61 !important;
}

.next-table-td {
    color: #868181 !important;
}

td.mat-cell {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    border-bottom: 0px !important;
}


/* ------------------ */


/* File upload */

.not-upload {
    width: 75%;
    margin: 20px auto;
    height: 230px;
    border: 2px dashed #9E9E9E;
    text-align: center;
}

.not-upload i {
    font-size: xx-large;
}

.not-upload p {
    font-size: larger;
    font-weight: 600;
}

.not-upload input {
    position: absolute;
    margin: 0 auto;
    left: 14.5%;
    padding: 0;
    width: 71%;
    height: 220px;
    outline: none;
    opacity: 0;
}


/* -----Ends----- */


/** next-search  ***/

.next-search {
    display: flex;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    height: 100%;
    min-width: 304px;
    width: calc(100% - 390px);
    margin: 0 auto 0 12px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.header-form-search {
    display: inline-block;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.23);
    width: 100%;
    height: 30px;
    max-width: 564px;
    position: relative;
}

.search-bar {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    border-radius: 2px;
    background-color: #fff;
    width: 100%;
    height: 30px;
}

.next-search-div {
    position: relative;
    display: inline-block;
    width: 100%;
    top: -1px;
}

.next-search-input {
    padding: 0 16px;
    border-radius: 2px 0 0 2px;
    border: 0;
    outline: 0 none;
    font-size: 14px;
    height: 30px;
    width: 100%;
    position: relative;
    top: -2px;
}

.next-search-btn {
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    border: 1px solid #fff;
    background-color: #fff;
    height: 30px;
    width: 44px;
    border-radius: 2px;
    cursor: pointer;
    padding: 4px 12px 0 8px;
}


/* -----Ends----- */


/*------- Loader animated-------------*/

@keyframes placeHolderShimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.animated-background {
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: placeHolderShimmer;
    background: #f6f7f8;
    background: linear-gradient(to right, #eee 8%, #ddd 18%, #eee 33%);
    background-size: 800px 104px;
    height: 35px;
    margin-bottom: 20px;
    position: relative;
}


/*---- Advance Search---------*/

.not-advance-search {
    position: absolute;
    z-index: 14;
    visibility: visible;
    width: 100%;
    top: 44px;
}

.not-advance-search .not-as-div {
    position: absolute;
    width: 94%;
    max-width: 600px;
    min-width: 334px;
    background-color: #fff;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.not-advance-search .not-as-body {
    -webkit-font-smoothing: antialiased;
    font-size: 0.875rem;
    letter-spacing: 0.2px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 24px;
}

.dark-theme .not-as-div {
    background-color: #303030 !important;
}


/*--------------*/


/*------- Right Sidenav --------------*/

.next-right-sidenav {
    position: fixed;
    z-index: 155;
    right: -30px;
    top: 0;
    height: 100vh;
    transform: translate(400px);
    transition: all 0.2s;
    box-shadow: -0.46875rem 0 2.1875rem rgba(4, 9, 20, 0.03), -0.9375rem 0 1.40625rem rgba(4, 9, 20, 0.03), -0.25rem 0 0.53125rem rgba(4, 9, 20, 0.05), -0.125rem 0 0.1875rem rgba(4, 9, 20, 0.03);
}

.right-sidenav-open {
    transform: translate(0);
    right: 0;
}

.next-right-sidenav .right__inner {
    background: #fff;
    width: 400px;
    height: 100vh;
    padding: 0;
}

.scrollbar-container {
    position: relative;
    height: 100%;
}

.next-right-sidenav .options-heading {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    background: #2b78d4;
    padding: 0.938rem 1.5rem;
    border-bottom: #2b78d4 solid 1px;
    border-top: #2b78d4 solid 1px;
    display: flex;
    align-items: center;
    align-content: center;
}

.next-right-sidenav .options-heading a {
    right: 10px;
    position: absolute;
    color: white;
}

.not-scrollbar {
    width: 100%;
    position: absolute;
    height: calc(100% - 52px);
    overflow: auto;
}

.close-right-sidenav {
    background-color: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    display: block;
    z-index: 10;
}

.side-footer {
    padding: 15px 16px;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #d4d1d1;
    width: 100%;
    background: #fff;
}

.dark-theme .side-footer {
    background-color: #424242!important;
}


/* -----Ends----- */

.next-report-table thead {
    background-color: aliceblue;
}

.next-unclaimed {
    margin: 25px 0px 40px;
    border: 1px solid transparent;
    padding: 25px 10px;
    border-radius: 10px;
    background-color: #e4f0f3;
}

.unclaimed-sub h4 {
    margin-bottom: 3%;
}

.small,
small {
    font-size: 70%;
    font-weight: 400;
    font-style: italic;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 5px;
}

.next-profile i {
    font-size: 1.3rem;
    color: #2b78d4;
    margin-right: 5px;
    position: relative;
    top: 2px;
}

.next-profile h4 {
    font-size: 19px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.emp-heading {
    position: relative;
    font-size: 21px;
    margin-bottom: 50px;
}

.emp-heading::after {
    content: "";
    display: block;
    width: 50px;
    border: 2px solid #2b78d4;
    border-radius: 2px;
    position: absolute;
    top: 120%;
}

#icons {
    font-size: 2rem;
    color: #8c8787;
    margin-right: 10px;
    top: 2px;
    position: relative;
    padding: 7px;
    border-radius: 10px;
    box-shadow: 0px 4px 13px -2px #000 52;
}

p.emp-info {
    margin-bottom: 5px;
}

.emp-subinfo {
    display: flex;
    font-size: 16px;
}

.mb-10 {
    margin-bottom: 30px;
}

button.mat-menu-item {
    outline: unset !important;
}

#side-icon {
    color: #2b78d4;
    margin-right: 5px;
    /* margin-bottom: 10px;
    top: 2px;
    position: relative;
    padding: 7px; */
    font-size: 15px;
}

.breadcrumb {
    background: unset;
    padding: 0;
    margin-bottom: 0px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    border-radius: .25rem;
}

.breadcrumb ul li {
    display: inline;
}

.breadcrumb li {
    line-height: unset;
    text-decoration: none;
    font-size: 11px;
    font-family: 'Segoe UI', 'Open Sans';
}

.breadcrumb li a {
    /* font-size: 14px; */
    line-height: unset;
    text-decoration: none;
    font-size: 11px;
    font-family: 'Segoe UI', 'Open Sans';
}

.breadcrumb ul li a:hover {
    color: #01447e;
    text-decoration: underline;
}

.bread-icon {
    position: relative;
    top: 2px;
    font-size: 12px;
}

.text-results {
    color: #989898;
    font-size: 13px;
    position: absolute;
    bottom: 14px;
}

button {
    outline: unset !important;
}

.grid-img {
    width: 100%;
    height: 170px;
    padding: 15px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: aliceblue;
}

.logo-only {
    width: 50px;
    border: 2px solid transparent;
    padding: 5px;
    box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    border-radius: 0.5rem;
    height: 50px;
    background-color: #fff;
}

.login-card {
    background: #fff;
}

.login-form {
    padding: 35px 10% 15px;
}

.active .mat-list-item-content {
    /* background: #2B78D4; */
    /* color: #fff; */
    color: #000000DE;
    font-weight: 400;
    border-radius: 4px;
    border-left: 5px solid #6CABD5;
    background: #D2E2F9
}

.mat-list-item-content:hover{
    background: rgba(0,0,0,.04) !important;
}
.active .mat-list-item-content .feather{
    /* color: white !important; */
    color: #000000DE;
}

.light-theme .mat-list-option:hover, .light-theme .mat-list-option:focus, .light-theme .mat-nav-list .mat-list-item:hover, .light-theme .mat-nav-list .mat-list-item:focus, .light-theme .mat-action-list .mat-list-item:hover, .light-theme .mat-action-list .mat-list-item:focus {
    background: rgb(212 68 68 / 0%) !important;
}


.ql-toolbar.ql-snow+.ql-container.ql-snow {
    height: 300px ;
}

.not-card-stats {
    display: flex;
}

.not-card-stats div {
    margin-right: 1rem;
    padding: .875rem;
    text-align: center;
}

.contractedheader {
    display: flex;
    flex-direction: row;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
    width: 100%;
}

.contractedheader-text {
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    -webkit-box-flex: 1;
    box-flex: 1;
    -ms-flex-positive: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.contractedheader-actions {
    display: flex;
}

.templateview-preview {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    -ms-high-contrast-adjust: none;
}

.templateview-preview img {
    display: block;
    width: 100%;
}

.templateview-preview:hover,
.templateview-preview:focus {
    border-color: #2B78D4;
}

.docs-grid-item {
    border: 1px solid #dfe1e5;
    border-radius: 3px;
    box-shadow: none;
    cursor: pointer;
    opacity: 1;
    width: 100%;
    display: inline-block;
}

.docs-grid-item-thumbnail {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    height: 170px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 225px auto;
    background-position: center center;
    border: none;
    display: block;
    position: relative;
}

.docs-grid-item-metadata-container {
    border-top: 1px solid #e2e2e2;
    padding: 15px;
    position: relative;
}

.con-input-upload {
    background: #f5f5f5;
    width: 150px;
    height: 150px;
    margin: 5px 0 0 5px;
    box-sizing: border-box;
    border-radius: 8px;
    position: relative;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.con-input-upload input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    left: 0;
    top: 0;
    cursor: pointer;
}

.con-input-upload .material-icons {
    position: absolute;
    top: 0px;
    right: 5px;
    cursor: pointer;
}

.next-thumbnail-images {
    display: flex;
    list-style: none;
    padding-inline-start: 0;
    overflow-x: scroll;
}

.next-thumbnail-images::-webkit-scrollbar {
    display: none;
}


/*------------------------*/


/* Pay rolls */

.pay-info {
    padding: 25px;
    border: 1px solid;
    background: linear-gradient(to left, #152ead, #039fe8);
    color: #fff;
    border-radius: 10px;
    font-size: 17px;
    width: 90%;
}

.pay-info-column {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-top: 10px;
}

.pay-info-column .pay-info-item {
    padding-left: 15px;
    border-left: 4px solid;
}

.pay-info-column .pay-info-item.netpay {
    border-color: #47D9A0;
}

.pay-info-column .pay-info-item.deductions {
    border-color: #FF6979;
}

.pay-info-column .pay-info-item.grosspay {
    border-color: #C9CEDE;
}

.pay-info-column .pay-info-item:not(:last-child) {
    margin-bottom: 25px;
}

.pay-info-column label {
    font-weight: 400;
    margin-bottom: 5px;
}

.pay-info-column .font-moderate {
    font-size: 18px;
}

.payslip-content {
    padding: 0px 15px;
    margin: 2em 2.5em;
}

.payslip-table {
    width: 100%;
    margin-bottom: 1.2em;
    table-layout: fixed;
    font-size: 12px;
}

.payslip-table thead td {
    background: #F5F5F5;
}

.payslip-table td.amount-field {
    text-align: right;
    padding-left: 5px;
}

.payslip-table td {
    padding: 8px 5px 5px 5px;
}

.payslip-table .total-row td {
    border-top: 1px solid #e3e3e3;
    padding: 8px 5px;
}

.net-pay-band {
    background: #e9f7e7;
    padding: 14px 42px 14px;
    font-size: 16px;
    width: 100%;
}

.netpay-line {
    color: #4EAD5B;
    font-weight: bolder;
}

.net-pay-large {
    margin-top: 5px;
    margin-bottom: 7px;
    color: #47d9a0;
}


/* -----Ends----- */

@media (max-width: 480px) {
    .pay-info {
        width: 100%;
    }
    .next-payslips .col-12 {
        padding: 0px !important;
    }
    .next-payslips .card-body {
        padding: 0px;
    }
    .next-payslips .card {
        margin-bottom: 0px;
    }
    .next-payslips .payslip-content {
        margin: 1em 0;
    }
    .next-payslips .pl-0,
    .next-payslips .pr-0 {
        padding: 0px !important;
    }
    .next-payslips .net-pay-band {
        padding: 15px;
        margin-bottom: 10px;
    }
    .next-search {
        display: none;
    }
}

.mat-raised-button.mat-primary.custom-btn-disabled {
    background-color: #e6e1e1 !important;
    color: #2b262642 !important;
    cursor: not-allowed !important;
  }

  .swal2-redirect-btn {
    background-color: #007bff !important;
    color: white !important;
    padding: 6px 12px !important;
    border: none !important;
    border-radius: 4px !important;
    margin: 0 5px !important;
    cursor: pointer;
  }
   
  .swal2-close-btn {
    background-color: #b0b0b0 !important;
    color: white !important;
    padding: 6px 12px !important;
    border: none !important;
    border-radius: 4px !important;
    margin: 0 5px !important;
    cursor: pointer;
  }