html {
    font-size: 14px;
    height: 100%;
    letter-spacing: 0.01rem;
}

html body {
    height: 100%;
    background-color: #F8F8F8;
    direction: ltr;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    margin: 0 !important;
}

* {
    font-family: 'Open Sans', sans-serif;
}


/* Not used */

html body .content {
    padding: 0;
    position: relative;
    -webkit-transition: 300ms ease all;
    transition: 300ms ease all;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    min-height: calc(100% - 4rem);
    margin-left: 260px;
}


/* Text Colours Starts*/

.text-success {
    color: #23a036 !important;
}

.text-primary {
    color: #2b77d4 !important;
}

.text-danger {
    color: #e3001a !important;
}

.text-warning {
    color: #ffab40 !important;
}
.text-warning-dark {
    color: #d98923 !important;
}
.text-primary-light {
    color: #4ba0de  !important;
}

.text-info {
    color: #7e4bff !important;
}

.text-sub {
    color: #737474 !important;
}

.text-muted {
    color: #777 !important;
}

.text-light-grey {
    color: #7C7889 !important;
}

.text-grey {
    color: #5F5C6A !important;
}


/* -----------Text Colours ends------------ */


/* Badge */

.next-badge {
    font-size: 11px;
    border: 1px solid transparent;
    margin-right: 5px;
    padding: 2px;
    border-radius: 3px;
}

.next-batch-success {
    background: #C5E1A5 !important;
    ;
    color: #23a036 !important;
    ;
}

.next-batch-primary {
    background: #C5CAE9 !important;
    color: #2b77d4 !important;
}

.next-batch-pending {
    background: #FFF9C4 !important;
    color: #ffab40 !important;
}

.next-batch-danger {
    background: #FFCDD2 !important;
    color: #e3001a !important;
}

.next-batch-grey {
    background: #eae9e6 !important;
    color: #504e4e !important;
}


/*********************/


/* Text Wrapping */

.text-wrap-1line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 20px;
}

.text-wrap-2lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 40px;
}

.text-wrap-3lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 60px;
}

.text-wrap-4lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    height: 80px;
}

.text-wrap-5lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    height: 100px;
}


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


/* Background colours */

.bg-info {
    color: #7e4bff !important;
}

.bg-success {
    background: #23a036 !important;
}

.bg-primary {
    background: #2b77d4 !important;
}

.bg-warning {
    background: #ffab40 !important;
}

.bg-danger {
    background: #e3001a !important;
}


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


/* Text Size */

.font-small {
    font-size: 13px;
}

.font-medium {
    font-size: 14px;
}

.font-large {
    font-size: 4rem;
}


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


/*** Roundicons ****/

.nxt-roundicons {
    font-size: 1.5rem;
    border: 1px solid transparent;
    padding: 8px;
    border-radius: 50%;
}

.icon-primary {
    color: #2b77d4 !important;
    background: #4854fd30;
}

.icon-success {
    color: #23a036 !important;
    background: #4caf5030;
}

.icon-warning {
    color: #ffab40 !important;
    background: #ff980030;
}

.icon-danger {
    color: #e3001a !important;
    background: #f443362b;
}


/************Ends**************/


/* --------Grid Image View-------- */

.imgList {
    overflow-x: hidden;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    transition: transform .4s ease-in-out, -webkit-transform .4s ease-in-out;
}

.imgListItem {
    border-radius: 5px;
    border: 2px solid #e8e9ea;
    margin-right: 15px;
    width: 120px;
    height: 120px;
    -o-object-fit: contain;
    object-fit: contain;
}


/************Ends**************/


/* ------Unread Messages----- */

.unread-message {
    background: #eee !important;
}

.dark-theme .unread-message {
    background: #453644 !important;
}


/************Ends**************/


/*---------Auth------------*/

.next-auth {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.next-auth .next-auth-left .next-logo-left {
    margin: 15px 0 40px;
}

.next-auth .next-auth-left h4 {
    font-weight: 600;
}

.next-auth .next-auth-left h2 {
    opacity: 0.5;
}

.next-auth .next-auth-left .next-img {
    text-align: center;
}

.next-auth .next-auth-left .next-img img {
    width: 60%;
}

.next-auth .next-auth-right {
    height: auto;
    min-height: 530px;
    padding: 30px 40px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 8px;
    display: block;
    margin: 0 auto;

}

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

.next-auth .next-auth-right .next-auth-span {
    color: #1a73e8;
    line-height: 1.4286;
    margin: 8px;
    font-weight: 400;
    float: left;
    cursor: pointer;
}

.next-auth .next-auth-right button {
    margin-left: auto;
}

.next-auth .next-auth-right h4 {
    text-align: center;
    margin-bottom: 25px;
    color: #202124;
    padding-bottom: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3333;
    padding-top: 16px;
}

.next-auth .next-auth-right .next-auth-logo {
    text-align: center;
    margin-top: 40px;
}

.next-auth .next-auth-right .widget-subheading {
    opacity: 0.5;
    font-size: medium;
    margin: 0px 5px 16px;
}

.next-auth:before,
.next-auth:after {
    -webkit-box-flex: 1;
    box-flex: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    content: "";
    display: block;
    height: 24px;
}

.next-auth-bg {
    background: #fcfcfc;
    overflow: hidden;
}

.next-auth-bg .next-c {
    background-color: aliceblue;
    width: 350px;
    height: 350px;
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    left: -60px;
    z-index: -9;
}


/*--------- End ------------*/


/* Cards */

.card {
    margin-bottom: 2.2rem;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    padding: 0px !important;
}

.card {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #FFFFFF;
    background-clip: border-box;
    border-radius: 0.5rem;
}

.card .card-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: none;
    padding: 1.5rem 1.5rem 0;
    background-color: transparent;
}

.card-header:first-child {
    border-radius: calc(0.5rem - 1px) calc(0.5rem - 1px) 0 0;
}

.card .card-title {
    font-weight: 600;
    font-size: 1.4rem;
}


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

.not-content-grey {
    background-color: #f1f3f4;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mat-tab-label .mat-tab-label-content {
    font-weight: 600;
}

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

.tabs-Content {
    padding: 15px 0;
}

.tabs-Content .row {
    margin: 0px;
}

.card-footer {
    background-color: transparent;
}

.card-link {
    font-weight: 700;
}

.next-margin-bottom-5 {
    margin-bottom: 5px;
}

.next-title-h5 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.next-title-h4 {
    color: #333;
    font-size: 20px;
    line-height: 1em;
    margin-top: 0.1em;
    margin-bottom: 0.4em;
}

.emp-detail-section {
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    font-size: 13px;
    padding: 12px 5px 15px;
    margin-bottom: 5px;
}

.emp-detail-section h5 {
    font-size: 17px;
}

.emp-detail-section td {
    padding: 4px 3px 4px 0px;
}

.next-employee-net-pay {
    text-align: center;
    padding: 10px;
    border: 1px solid #e3e3e3;
}

.ind-action-items {
    padding: 0 10px;
}

.ind-action-items .icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    fill: currentColor;
    margin-right: 5px;
}

.vertical-align-middle {
    vertical-align: middle;
}

a,
a:host,
a:focus,
a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
    cursor: pointer;
    color: #768bd8;
}

.pull-right {
    float: right!important;
}

.back-img {
    height: 100%;
    background: #fff;
    background-size: cover;
    overflow-x: hidden;
}

.back-img::before {
    box-flex: 1;
    flex-grow: 1;
    content: "";
}

.back-img::after {
    box-flex: 1;
    flex-grow: 1;
    content: "";
}

.next-router {
    outline: unset;
    cursor: pointer;
}

.login-box {
    background: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2);
    transition: .3s;
    border-radius: 5px;
}

.auth {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    width: 100%;
    background: #F8F8F8;
    overflow: hidden;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.login-img {
    width: 100%;
    margin: 25px;
}

.auth::before,
.auth::after {
    flex-grow: 1;
    content: "";
    display: block;
    height: 24px;
}

.next-btn {
    display: inline-block;
    margin: 10px 70px;
    border-radius: 10px;
    border: 1px solid #1686ab!important;
    cursor: pointer;
}

.logo-img {
    margin-top: 80px;
    width: 160px;
}

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

.table-img .avatar-round {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    height: 45px;
    width: 45px;
    position: relative;
    top: -10px;
}

.emp-title {
    display: inline-block;
    margin-left: 15px;
    margin-top: 10px;
}

.emp-name {
    font-size: 16px;
    margin-bottom: 0;
    color: #768bd8;
}

.sub-name {
    font-size: 12px;
    color: #868181;
}

.next-td {
    padding: 10px 15px;
    border-bottom: 0px;
}

.next-tr {
    background: #e8eef3c4;
    height: 50px;
}

.next-td-title {
    margin: 5px 0px;
}

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

.payment-icon {
    font-size: 25px;
    color: #909090;
}

.next-link-icon {
    border: 1px solid transparent;
    padding: 3px;
    border-radius: 50%;
    color: #fff;
    background: #c5c5c5;
}

.example-section {
    display: flex;
    align-items: center;
    height: 20px;
    margin-top: 15px;
}

.example-margin {
    margin: 0 10px;
}

td {
    padding: 5px 15px;
    border-bottom: 0px;
}

th {
    padding: 5px 15px;
}

.example-half-width {
    width: 75%;
}

.sub-name {
    font-size: 12px;
    color: #868181;
}

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

table.next-card-table {
    border-collapse: separate !important;
    border-spacing: 0 1.3rem !important;
}

.next-card-table tr {
    background-color: #ffffff !important;
    box-shadow: rgba(0, 0, 0, 0.05) 0 4px 20px 0;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

table.dataTable {
    width: 100% !important;
}

.doc-icon-bg {
    border: 1px solid transparent;
    padding: 3px;
    border-radius: 3px;
    background: #d8bf11;
    color: #fff;
}

.choose {
    position: absolute;
    width: 75px;
    height: 25px;
    margin-top: -3px;
    z-index: 10;
    opacity: 0;
}

.not-card-border-top {
    border-top: 10px solid #2b78d4;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}


/* light-theme */

.light-theme .mat-table {
    background: #fafafa !important;
}


/* dark-theme */

.dark-theme .text-grey,
.dark-theme .next-table-td,
.dark-theme .sub-name {
    color: #d0ced8 !important;
}

.dark-theme .next-unclaimed,
.dark-theme .next-tr {
    background-color: #696b6b !important;
}

.dark-theme .not-content-grey {
    background-color: #424242;
}

.dark-theme .logo-only {
    background-color: #424242;
}

.dark-theme .card-secondary {
    background-color: #696b6b !important;
}

.dark-theme .card-secondary .next-title-h4 {
    color: #fff;
}

.dark-theme .text-muted,
.dark-theme .font-small {
    color: #d0ced8 !important;
}

.dark-theme .card-secondary .net-pay-band,
.dark-theme .card-secondary .payslip-table thead td {
    background: #9ea2a2;
}

.dark-theme .emp-detail-section {
    border-top: 1px solid #9ea2a2;
    border-bottom: 1px solid #9ea2a2;
}

.dark-theme hr {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dark-theme table.next-card-table {
    background-color: #303030 !important;
}

.dark-theme .next-card-table tr {
    background-color: #424242 !important;
}

.dark-theme .next-right-sidenav .right__inner {
    background: #262626 !important;
}

.dark-theme .text-primary {
    color: #71c0ff;
}

.dark-theme .text-warning {
    color: #ffc529;
}

.dark-theme .text-danger {
    color: #ff6969;
}

.dark-theme .text-success {
    color: #66dbc7;
}

.dark-theme .text-info {
    color: #bb85fa;
}

.dark-theme .text-sub {
    color: #dee2e6;
}

.dark-theme .text-title {
    color: #ffffff;
}

.dark-theme .bg-info {
    color: #bb85fa !important;
}

.dark-theme .bg-success {
    background: #66dbc7 !important;
}

.dark-theme .bg-primary {
    background: #71c0ff !important;
}

.dark-theme .bg-warning {
    background: #ffc529 !important;
}

.dark-theme .bg-danger {
    background: #ff6969 !important;
}