﻿body {
    color: #000000;
    overflow: hidden;
    font-size: 13px;
    padding: 0px;
}

.xp-leftbar {
    width: 200px;
}

.xp-topbar {
    background-color: #ffcc00;
    background-image: linear-gradient(to right, #ffcc00 0, #f7dc71 100%);
    background-repeat: repeat-x;
    position: relative;
    left: 0px;
    box-shadow: 1px 1px 9px 0px #7b7b7b;
    padding: 5px 15px;
}

.xp-rightbar {
    margin-left: 200px;
}

.xp-topbar .xp-userprofile a img {
    width: 30px;
}

.xp-vertical-menu {
    height: calc(100vh - 100px);
}

@media (max-width: 767px) {
    .xp-topbar {
        padding: 10px 10px;
    }
}

a:active {
    color: #343a40;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #d80613;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

.freezetableWrap::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: transparent;
}

.freezetableWrap::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #d80613;
}

.freezetableWrap::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

.xp-menu-hamburger .text-white {
    color: #cc0000 !important;
    font-weight: bold;
}

.xp-leftbar {
    background-color: #fc0;
    box-shadow: inset -8px 0px 4px -3px rgb(204, 0, 0);
}

.xp-vertical-menu>li>a {
    color: #000000;
    font-weight: bold;
    font-size: 95%;
}

.xp-vertical-menu .xp-vertical-submenu>li>a {
    font-size: 100%;
}

.xp-vertical-menu>li>a>i {
    display: inline-block;
    width: 30px;
    font-size: 180%;
    vertical-align: middle;
    line-height: 23px;
}

.xp-vertical-menu .xp-vertical-submenu>li>a {
    color: #000000;
    font-weight: bold;
}

.xp-footerbar {
    padding: 10px 30px;
    background: #343a40;
    color: white;
    position: fixed;
    font-size: 80%;
    padding: 10px 20px;
    left: 200px;
}

.xp-footerbar a {
    color: #ffcc00;
    font-weight: bold;
}

.xp-topbar .xp-page-title.lg {
    display: inline-block;
    color: #cc0000;
    margin-left: 10px;
    margin-bottom: 0px;
    font-size: 150%;
}

.xp-topbar .xp-page-title.sm {
    display: none;
}

.xp-auth-box .card {
    background: #ffcc00;
}

.btn {
    border-radius: 3px;
    font-size: 100%;
    padding: 5px 10px;
}

.xp-container .xp-auth-box {
    position: relative;
    width: 400px;
    margin: 0 auto;
}

.logBtn {
    width: 90% !important;
    margin: 0px auto;
}

@media (max-width: 767px) {
    .xp-topbar .xp-page-title.lg {
        display: none;
    }

    .xp-topbar .xp-page-title.sm {
        display: inline-block;
        color: #cc0202;
        line-height: 38px;
        margin-bottom: 0px;
    }

    .xp-topbar .xp-profilebar {
        display: inline-block;
        float: right;
    }

    .xp-footerbar {
        font-size: 80%;
    }
}

.xp-topbar .xp-userprofile .dropdown-menu .dropdown-item:first-child {
    background-color: #cc0303;
    background-image: linear-gradient(to right, #cd0404 0, #d82b2b 100%);
    background-repeat: repeat-x;
    padding: 8px !important;
}

.xp-vertical-menu>li:hover>a,
.xp-vertical-menu>li.active>a {
    background-color: #cc0000;
    background-image: linear-gradient(to right, #cc0000 0, #d23b3d 100%);
    background-repeat: repeat-x;
}

.xp-vertical-menu .xp-vertical-submenu>li.active>a,
.xp-vertical-menu .xp-vertical-submenu>li>a:hover {
    color: #cc0708;
}

.btn.btn-primary,
.btn-primary {
    background-color: #cc0202;
    border-color: #cc0202;
}

a {
    color: #cc0202;
}

a:hover {
    color: #098eb7;
}

.btn-primary:focus,
.btn-primary:hover {
    background-color: #fecf14;
    border-color: #fdcf18;
    color: #cc0303;
    font-weight: bold;
}

.btn-danger {
    color: #ffffff;
    background-color: #cc0202;
    border-color: #cc0202;
}

.form-control {
    font-size: 100%;
}

.bootstrap-select>.dropdown-toggle {
    font-size: 100%;
}

.form-control:focus {
    background-color: #ffeda8;
    border-color: #fbecaf;
    box-shadow: none;
    color: #232323;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before,
.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color: #cc0202;
    border-color: #cc0202;
}

.custom-control-label {
    user-select: none;
}

.custom-control-label::after {
    top: 2px;
}

.nav-tabs .nav-link.active {
    color: #cc0202;
}

.ModalLayout .xp-rightbar {
    margin-left: 0px;
}

.xp-contentbar {
    padding: 15px;
    margin-bottom: 0px;
    overflow: scroll;
    -ms-overflow-x: hidden;
    -ms-scrollbar-base-color: rgba(210, 215, 222, 1);
    -ms-scrollbar-track-color: transparent;
    -ms-scrollbar-arrow-color: rgba(204, 3, 3, 1);
    -ms-scrollbar-face-color: rgba(204, 3, 3, 1);
    -ms-scrollbar-shadow-color: rgba(204, 3, 3, 1);
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.ModalLayout .xp-contentbar {
    padding: 10px;
    margin-bottom: 0px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.ModalLayout .xp-rightbar {
    min-height: auto !important;
}

.ModalLayout h5.card-title {
    color: #cc0202 !important;
    margin-bottom: 0px !important;
    font-size: 120%;
    line-height: 31px;
}

.ModalLayout h5.card-title .btn {
    border-radius: 3px;
    font-size: 80%;
    padding: 5px 15px;
}

.xp-container .xp-auth-box .xp-web-logo img {
    margin: 0px 0;
    height: auto;
}

.xp-sidebar .xp-logobar a img {
    max-width: 70%;
    height: auto;
}

.xp-breadcrumbbar {
    padding: 20px 20px 0 20px;
}

a[title="Delete"]:hover {
    background: #ff4b5b !important;
    border-color: #ff4b5b !important;
}

.xp-container .xp-auth-box .custom-checkbox {
    padding-left: 0px;
    float: left;
}

.xp-container .xp-auth-box .forgot-psw {
    float: right;
}

.xp-container .xp-auth-box .custom-checkbox .custom-control-label {
    padding-left: 1.5rem;
    color: #cc0202;
}

.xp-container .xp-auth-box .custom-checkbox .custom-control-label:before {
    left: 0px;
}

.xp-container .xp-auth-box .custom-checkbox .custom-control-label::after {
    left: 0px;
}

.table td,
.table th {
    padding: .30rem;
}

.form-row label,
label {
    margin-bottom: 0px;
    font-size: 80%;
    font-weight: bolder;
    color: #343a40;
}

.form-group {
    margin-bottom: 5px;
}

.mt_10 {
    margin-top: 10px;
}

.mb_10 {
    margin-bottom: 10px;
}

.mb_5 {
    margin-bottom: 5px;
}

/*Datepicker CSS*/
.ui-datepicker {
    padding: 0px;
    border-radius: 5px;
    font-family: "Comfortaa", cursive;
}

.ui-datepicker .ui-datepicker-calendar {
    margin-bottom: 0px;
    padding: 2px;
    background: #565a5f;
    color: white;
}

.ui-datepicker .ui-widget-header {
    border: 1px solid #d80613;
    background: #d80613;
    color: #ffffff;
    font-weight: bold;
    padding: 1px 5px;
}

.ui-datepicker .ui-datepicker-title select {
    border-radius: 5px;
    padding: 1px 5px;
    margin-right: 5px;
    font-family: "Comfortaa", cursive;
    border: 1px solid #d80613;
}

.ui-datepicker .ui-widget-content {
    border: 1px solid #dddddd;
    background: #343a40;
    color: #ffffff;
}

.ui-datepicker .ui-state-default,
.ui-datepicker .ui-widget-content .ui-state-default {
    text-align: center;
    border: 1px solid #ffcc00;
    background: #ffcc00;
    border-radius: 5px;
}

.ui-datepicker .widget-content .ui-state-hover,
.ui-datepicker .ui-state-default.ui-state-hover {
    border: 1px solid #7b7b7b !important;
    background: #7b7b7b !important;
    font-weight: normal !important;
    color: #ffffff !important;
}

.ui-datepicker .ui-state-active,
.ui-datepicker .ui-widget-content .ui-state-active {
    border: 1px solid #d80613;
    background: #d80613;
    font-weight: normal;
    color: #ffffff;
}

.ui-datepicker .ui-state-highlight,
.ui-datepicker .ui-widget-content .ui-state-highlight,
.ui-datepicker .ui-widget-header .ui-state-highlight {
    border: 1px solid #343a40;
    background: #7b7b7b;
    color: #ffffff;
    font-weight: bold;
}

/*New responsive grid css*/
.ResGrid {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    border-collapse: collapse;
    font-size: 100%;
}

.ResGrid th {
    background: var(--navbarBG);
    color: var(--white);
    font-weight: 600;
    text-align: center;
}

.ResGrid th,
.ResGrid td {
    vertical-align: middle !important;
    z-index: 1;
}

table.ResGrid tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}

table th a,
.headerRow th a {
    text-decoration: none;
    color: var(--blue);
}

table th a:hover,
.headerRow th a:hover {
    color: var(--sanmolLogo);
}

table th .fa-arrow-up:before,
table th .fa-arrow-down:before {
    font-family: 'Font Awesome 5 Free';
}

.ResGrid tr.view:hover {
    background: #e4e4e4 !important;
}

.ResGrid>tbody>tr.view .expandIcon {
    transition: all .3s ease-in-out;
    margin-right: 5px;
    color: #343a40;
    vertical-align: middle;
    user-select: none;
}

.ResGrid>tbody>tr.view .expandIcon:hover {
    cursor: pointer;
}

.ResGrid>tbody>tr.view .expandIcon:before {
    font-size: 23px;
}

.ResGrid>tbody>tr.view.open .expandIcon {
    transform: rotate(-180deg);
    color: #d80613;
    ;
}

.ResGrid>tbody>tr.view .expandIcon.collapse:not(.show) {
    display: inline-block;
}

.ResGrid>tbody>tr.view .expandIcon.collapse.smallDevice,
.smallDevice {
    display: none;
}

.ResGrid>tbody>tr.fold {
    display: none;
}

.ResGrid>tbody>tr.fold.open {
    display: table-row;
}

.ActionCell {
    text-align: center;
    white-space: nowrap;
}

.noWhite {
    text-align: center;
    white-space: nowrap;
}

.TableCell[data-label="Status"],
.TableCell[data-label="Date"],
.TableCell[data-label="Created By"],
.TableCell[data-label="Due Date"],
.TableCell[data-label="Active"],
.TableCell[data-label="Hours"] {
    white-space: nowrap;
    text-align: center;
}

.TableCell[data-label="Tag"],
.TableCell[data-label="Task No"],
.TableCell[data-label="Reviewer"] {
    text-align: center;
}

.ActionCell .dropbtn {
    display: none;
}

.ActionCell a {
    font-size: 110%;
    display: inline-block;
    width: 31px;
    height: 31px;
    line-height: 23px;
    padding: 3px;
    border-radius: 50%;
    color: #343a40;
    border: 1px solid transparent;
    border-color: #afafaf;
    box-shadow: 0 2px 6px 0 rgb(68, 68, 68);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.ActionCell a:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #cc0202;
    border-color: #cc0202;
}

.TopSearch {
    padding: 0px 0px 10px 0px;
}

.tab-pane .TopSearch {
    padding: 0px;
}

.TopSearch [class^="col-"] {
    padding-right: 5px;
}

.TopSearch .xp-button .btn {
    margin-bottom: 0px;
    font-size: 110%;
    padding: 5px 10px;
}

.TopSearch .xp-button .btn span {
    display: none;
}

a.customdropdown:not([href]):not([tabindex]),
.customdropdown {
    color: #23b7e5;
}

a.customdropdown:not([href]):not([tabindex]):hover {
    color: white;
    cursor: pointer;
}

a.customdropdown.dropdown-toggle::after {
    display: none;
}

.customDropShow.dropdown-menu {
    left: -40px !important;
}

.customDropShow.dropdown-menu.show a {
    display: flex;
    padding: 0px 10px;
    border-radius: 0px;
    width: 100%;
    border: none;
    height: auto;
    color: black;
    box-shadow: none;
    font-size: 100%;
}

@media only screen and (max-width: 600px) {
    .ResGrid {
        display: grid;
        border: 1px solid #e8e8e8;
    }

    .view {
        position: relative;
        display: block;
        border-bottom: 1px solid #ccc;
    }

    .headerRow {
        display: none;
    }

    .ResGrid>tbody>tr.view .expandIcon.collapse.smallDevice,
    .smallDevice {
        display: inline-block;
    }

    .TopSearch [class^="col-"] {
        padding-right: 15px;
    }

    .TopSearch .form-control {
        margin-bottom: 10px;
    }

    .TopSearch .xp-button .btn {
        margin-bottom: 5px;
        padding: 2px 5px;
        font-size: 100%;
    }

    .TopSearch .xp-button .btn span {
        display: inline-block;
        margin-left: 5px;
        font-size: 80%;
    }

    .AdSearch {
        display: inline-block;
        background: transparent;
        color: var(--navbarBG) !important;
        border: none;
        border-color: transparent;
        padding: 0px;
        margin-bottom: 5px;
        font-size: 23px;
    }

    .AdSearch:active {
        box-shadow: none;
    }

    .AdSearch i {
        line-height: 30px;
        font-size: 40px;
    }

    .AdSearch i:focus,
    .AdSearch i:hover {
        box-shadow: none;
        outline: 0;
    }

    #modal_body .topForm {
        display: block;
    }

    .topForm {
        display: none;
    }

    .TableCell {
        display: block;
        position: relative;
        height: auto;
        line-height: 30px;
        text-align: left;
    }

    .TableCell[data-label="Date"],
    .TableCell[data-label="Created By"],
    .TableCell[data-label="Due Date"],
    .TableCell[data-label="Status"],
    .TableCell[data-label="Active"],
    .TableCell[data-label="Hours"],
    .TableCell[data-label="Tag"],
    .TableCell[data-label="Task No"],
    .TableCell[data-label="Reviewer"] {
        white-space: nowrap;
        text-align: left;
    }

    .view .TableCell:nth-of-type(n+2) {
        display: none;
    }

    .view.open .TableCell:nth-of-type(n+2) {
        display: block;
        background: #eeeeee;
        border-bottom: 1px solid #bbbbbb;
        word-break: break-word;
    }

    .view.open .MainColumn~.TableCell:before {
        content: attr(data-label);
        width: 100%;
        border-radius: 0px;
        height: auto;
        line-height: 22px;
        color: #1b1b1b;
        display: block;
        font-size: 100%;
        font-weight: bold;
        font-family: inherit;
    }

    .ResGrid>tbody>tr.fold.open {
        display: grid;
        background: #eeeeee;
    }

    .view.open>.TableCell.ActionCell {
        top: 45px;
        position: absolute;
        right: 0px;
        width: auto;
        height: auto;
        text-align: center;
        padding-right: 10px;
        padding: 0px !important;
        background: #bb9706;
        z-index: 2;
    }

    .view.open>.TableCell.ActionCell:before {
        color: white;
        padding: 2px 5px;
    }

    .ActionCell a {
        font-size: 21px;
    }

    .ActionCell .dropbtn {
        display: none;
        background: var(--navbarBG);
        border-radius: 50%;
        width: 30px;
        height: 30px;
        margin: 0px auto;
        color: var(--white);
        border: 1px solid #0065bd;
        font-size: 18px;
        outline: 0;
    }

    .ActionCell .DropMenu {
        display: block;
        background: #ffcc00;
        padding: 5px 0px;
    }

    .ActionCell .dropbtn:hover .DropMenu {
        display: block;
    }

    .ActionCell .DropMenu a {
        color: white;
        display: block;
        position: relative;
        margin: 5px auto;
        padding: 0px;
        line-height: 1.8;
        background: #cc0202;
        font-size: 110%;
        width: 30px;
        height: 30px;
        border-color: #cc0202;
        box-shadow: 0 2px 6px 0 rgb(204, 2, 2);
    }

    .ActionCell .DropMenu .LettersBtn {
        display: block;
        margin-bottom: 8px;
        top: 2px;
    }

    .ActionCell .DropMenu a:hover {
        color: #ffffff;
        background: #cc020285;
        border-color: #cc020285;
        box-shadow: 0 2px 6px 0 #cc020285;
        outline: 0;
    }

    .TableCell.text-right,
    .TableCell.text-center,
    .TableCell.capitalCenter {
        text-align: left !important;
    }

    .TotalBlock {
        display: flex;
    }

    .TotalBlock td {
        width: -webkit-fill-available;
    }
}

.capital {
    text-transform: capitalize;
}

.NoWrap {
    white-space: nowrap;
}

.capitalCenter {
    text-transform: capitalize;
    text-align: center
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.noPadding {
    padding-left: 0px;
    padding-right: 0px;
}

.inputTable .TableCell {
    padding: 0px !important;
}

.inlineBlock {
    display: inline-block;
}

.inputTable .TableCell[data-label="Actual Hrs"] input,
.inputTable .TableCell[data-label="Adjusted Hrs"] input,
.inputTable .TableCell[data-label="Paid Vacation Hrs"] input,
.inputTable .TableCell[data-label="Rate"] input,
.inputTable .TableCell[data-label="Pension"] input,
.inputTable .TableCell[data-label="Bonus"] input,
.inputTable .TableCell[data-label="Insuarance"] input,
.inputTable .TableCell[data-label="Misc"] input,
.inputTable .TableCell[data-label="Prof Tax"] input,
.inputTable .TableCell[data-label="TDS"] input,
.inputTable .TableCell[data-label="Loan"] input,
.inputTable .TableCell[data-label="Net Pay"] input {
    text-align: right;
}

.inputTable .TableCell input,
.inputTable .TableCell select {
    margin-bottom: 0px;
    padding: 3px;
    background: transparent;
}

.inputTable .bootstrap-select.form-control {
    margin-bottom: 0px !important;
}

@media only screen and (max-width: 760px) {

    .inputTable .TableCell[data-label="Actual Hrs"] input,
    .inputTable .TableCell[data-label="Adjusted Hrs"] input,
    .inputTable .TableCell[data-label="Paid Vacation Hrs"] input,
    .inputTable .TableCell[data-label="Rate"] input,
    .inputTable .TableCell[data-label="Pension"] input,
    .inputTable .TableCell[data-label="Bonus"] input,
    .inputTable .TableCell[data-label="Insuarance"] input,
    .inputTable .TableCell[data-label="Misc"] input,
    .inputTable .TableCell[data-label="Prof Tax"] input,
    .inputTable .TableCell[data-label="TDS"] input,
    .inputTable .TableCell[data-label="Loan"] input,
    .inputTable .TableCell[data-label="Net Pay"] input {
        text-align: left;
    }

    .inputTable .MainColumn .fa {
        float: left;
        margin-top: 8px;
    }

    .inputTable .MainColumn input {
        width: 87%;
    }
}

.profileBlock {
    text-align: center;
}

.profileBlock img {
    width: 100%;
    margin-bottom: 10px;
}

.profileUL {
    padding: 0px;
}

.profileUL .list-group-item {
    background-color: transparent;
}

.ContactsList {
    margin-bottom: 0px;
}

.ContactsList .media:first-child {
    margin-top: 0px !important;
}

.ContactsList .media:last-child {
    margin-bottom: 0px !important;
}

.ContactsList .rounded-circle {
    width: 64px;
    height: 64px;
}

.pagination {
    margin: 5px auto;
    width: 100%;
    padding: 0px 10px;
    display: inline-block;
    margin-bottom: 0px;
}

.pagination span {
    float: right;
}

.pagination a {
    background-color: #cc0202;
    border: 1px solid #cc0202;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    display: inline-block;
    height: 25px;
    line-height: 23px;
    margin-bottom: 5px;
    min-width: 25px;
    width: auto;
    padding: 0px 3px;
    box-shadow: 0 2px 6px 0 rgb(138, 138, 138);
}

.pagination a:hover {
    background-color: #ffcc00;
    color: black;
    border: 1px solid #ffcc00;
}

.pagination .current,
.pagination .Current {
    background-color: #cc0202;
    color: white;
    border: 1px solid transparent;
}

.inputGrid td {
    padding: 0px;
}

.inputGrid td input {
    border-radius: 0px;
}

.inputGrid .form-control {
    background: white;
}

.seartrf {
    display: block;
    position: relative;
}

.seartrf .searchTariff {
    position: absolute;
    right: 10px;
    top: 10px;
}

.freezetableWrap {
    overflow-y: scroll;
}

.EntryTabsNav {
    position: relative;
}

.EntryTabsNav .card-title {
    position: absolute;
    left: 45%;
}

.EntryTabsNav .HeadBtn {
    position: absolute;
    right: 10px;
}

@media screen and (max-width: 600px) {
    .freezetableWrap {
        overflow: visible;
        max-height: max-content !important;
    }

    .pagination {
        text-align: left !important;
    }

    .pagination .current,
    .pagination .Current {
        text-align: center;
    }
}