﻿  

/*.btn-primary {
    background-color: #51215c !important;
    border-color: #51215c !important;
}*/


.customNavMenu {
    background-color: #51215c !important;
    color: white !important;
}

.customNavMenu a:hover {
    background-color: #804d99 !important;
    color: white !important;
}


thead {
    background-color: rgb(129, 77, 153) !important;
    color: white !important;
    /*text-transform: uppercase;*/
    font-size: 12px;
    flex-grow: 1 !important;
}

.table thead th {
    white-space: normal !important;
}

/*Manual change in line 2734 blazor.css*/
.dxbs-gridview .dxbs-fixed > thead > tr > th, .dxbs-gridview .dxbs-fixed > tbody > tr > td, .dxbs-gridview .dxbs-fixed > tfoot > tr > td {
    white-space: normal;
}

.dxbs-gridview .dxbs-fixed > tfoot > tr > td {
    white-space: normal !important;
}

/*Labels*/
label {
    text-transform: uppercase;
    font-size: 11px !important;
    color: #51215c;
}


.myLabel {
    text-transform: uppercase;
    font-size: 11px !important;
    color: #51215c;
}

label.col-form-label.col-form-label-sm.dxbs-fl-cpt {
    font-weight: 100;
}



/*Buttons*/
.myButtons {
    background-color: #51215c !important;
    border-color: #51215c !important;
    color: white !important;
}


.close-btn {
    color: #51215c;
}

/*Clear Button*/
/*th, .btn-link {
    color: white !important;
}*/


/*Edit Forms*/
.modal-content {
    /*width: 600px !important;*/
    width: 100vw !important;
    margin-left: -20rem;
}






/************** Toastr - start                     ******************/


.blazored-toast-container.position-bottomcenter {
    z-index: 999999 !important;
}

/************** Toastr - end                       ******************/




/************** Sidebar - start                     ******************/

.sidebar {
    background: rgb(129, 77, 153);
    min-width: 250px;
}

li.nav-item {
    color: white;
}

.dxbs-tree.app-sidebar {
    background-color: rgb(129, 77, 153);
    margin-top: 5vh;
}

/************** Sidebar - end                       ******************/



/************** Header - start                      ******************/

.user-detail-header { 
    position: absolute !important;
    right: 0px;
    color: black;
    background-color: transparent !important;
}


.navbar.header-navbar {
    box-shadow: none;
    border-bottom: 1px solid lightgray;
    position: absolute;
    width: 100%;
    color: white;
    background-color: white;
    z-index: 1;
}

.ml-3.font-weight-bold.title.pr-4.header {
    color: black;
    padding-left: 1.2vw;
    font-size: 18px;
    font-weight: 100 !important;
    background: transparent;
}

.ml-3.font-weight-bold.title.pr-4 {
    color: white;
    padding: 12px;
    background: rgb(129,77,153);
    margin-left: 0px !important;
    padding-right: 117px !important;
}

.header-navbar .navbar-toggler {
    margin-bottom: -1px;
}



/************** Header - end                        ******************/

/************** Custom Body - start                 ******************/
html, body {
    font-size: 12px;
    font-family: Arial;
}

/************** Custom Body - end                   ******************/


/************** Content - end                       ******************/

.content.px-4 {
    background-color: #FAFAFA;
    padding-top: 5rem;
}

.content.px-4.custombody {
    padding-top: 5vh;
}

.table-sm, .table-sm td, .table-sm th {
    font-size: 1rem;
}

/************** Content - end                      ******************/

/************** Content Body Sub Menu - start      ******************/
.custombody-header-menu {
    width: 100%;
    position: sticky;
    height: 3vh;
    /*margin-top: -1.2vh;*/
    margin-bottom: 3vh;
    height: fit-content;
    /*border-bottom: 1px solid rgb(129,77,153);*/
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 0.3vw;
    /*padding-top: 2vh;*/
 
}

   
.custombody-header-menu > div > .notif {
    color: #f66b14;
    font-style: italic;
    padding-right: 10px;
    float: right;
    padding-top: 10px;
}

.custombody-header-menu > div > button {

}

/************** Content Body Sub Menu - end        ******************/


/************** Custom scroll bar - start          ******************/
.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgb(129, 77, 153);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgb(129, 77, 153);
}

    .sidebar::-webkit-scrollbar-thumb:hover {
        background: rgb(129, 77, 153);
    }
/************** Custom scroll bar - end            ******************/


/************** Custom bootstrap buttons - start   ******************/

.btn-secondary {
    color: gray;
}

    .btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
        box-shadow: unset;
    }

/************** Custom bootstrap buttons - end    ******************/

/************** Custom buttons - end              ******************/

.body-sub-menu-actions {
    display: inline-flex;
    width: 100%;
}

    .body-sub-menu-actions > .btn {
        margin-right: 7px
    }

.button-icon-sad {
    width: 16px;
    height: 16px;
    background-image: url("../images/sad.svg");
    margin: 0 8px 0 0;
}

.button-icon-excel {
    width: 16px;
    height: 16px;
    background-image: url("../images/excel.svg");
    margin: 0 8px 0 0;
}
/************** Custom buttons - end               ******************/

/************** Custom tabs - start                ******************/


.nav-tabs .nav-link.active, .nav-tabs .nav-link.active:focus, .nav-tabs .nav-link.active:hover, .nav-tabs .nav-link:hover {
    border-bottom: 2px solid rgb(129, 77, 153);
}

.nav-tabs a {
    color: rgb(129, 77, 153);
}
/************** Custom tabs - end                  ******************/


/************** Custom DevExtreme grid - start    ******************/



.grid-header-template.card-header.p-0.bg-transparent {
    border: none;
}

.dxbs-toolbar:not(.dxbs-ta-nib) > .btn-toolbar > .btn-group:not(:last-child) {
    margin-right: 0rem;
    margin-top: -0.2rem;
    height: 20px;
    position: absolute;
    right: 0px;
}

.card {
    border-radius: 5px;
}

.card.dxbs-th.dxbs-group-panel-empty {
    margin-left: -1rem;
}

.card.dxbs-th.dxbs-group-panel-empty > div > span {
    color: #908F8F;
    font-weight: 100;
}

.dxbs-group-panel {
    max-width: 75%;
}

.dxbs-gridview > .card > .card-body {
    padding-top: 0em;
    margin-top: -0.5em;
}

button.btn.btn-secondary.btn-sm.dropdown-toggle.dxbs-dropdown-toggle.dx-hide-dropdown-mark {
    height: 28px;
}

.profileGridSideOptions {
    margin-right: 5px;
    position: relative;
    float: right;
    padding-bottom: 5px;
    top: 37px;
    right: 110px;
}

.profileGridSection {
    margin-top: -20px;
}

.dx-hide-row {
    display: none;
}

th.dxbs-cmd-cell > button.btn.btn-link { 
    color: white;
    text-decoration: underline;
}
.dxbs-filter-row .dxbs-cmd-cell > .btn.btn-sm.dx-btn.btn-link > span {
    color: white;
    text-decoration: underline;
}

.dxbs-table > tbody > .dxbs-data-row > .dxbs-cmd-cell > .btn-link > span {
    color: rgb(129, 77, 153);
    text-decoration: rgb(129, 77, 153);

}

.dxbs-table td.table-active.bg-primary.text-white.dxbs-cmd-cell > .btn-link > span {
    color: white !important;
}


/************** Custom DevExtreme grid - end    ******************/

/************** Custom DevExtreme modal - start ******************/


.dxbs-modal.modal {
    /*top: 5rem;*/
}

/************** Custom DevExtreme modal - end   ******************/


/************** Custom DevExtreme tabs - start  ******************/

.dxbs-tabs > .nav-tabs > .nav-item > a.nav-link.active:hover {
    color: rgb(129, 77, 153);
    
}

.dxbs-tabs ul.nav > li > a:not(.disabled):hover {
    border-bottom: 2px solid lightgray !important;
}

/************** Custom DevExtreme tabs - end  ******************/

/************** Custom DevExtreme file upload - start  ******************/

.drop-file-icon {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
    width: 42px;
    height: 42px;
    -webkit-mask-image: url(../images/DropFile.svg);
    mask-image: url(../images/DropFile.svg);
}

.upload-container, .upload-container > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}


.upload-container.disabled > .dxbs-uc {
    opacity: .65;
    box-shadow: none;
    pointer-events: none;
}

/************** Custom DevExtreme file upload - end  ******************/

/************** Custom textboxes - start        ******************/


.searchBox {
    width: 20vw;
}

/************** Custom textboxes - end         ******************/

/************** Profile details - start    ******************/
.profileDetails {
    min-width: 80vw;
}

.profileDetails > img {
    height: 50px;
    width: 50px;
}

.profileDetails img.profilepic {
    height: 130px;
    width: 130px;
    border-radius: 5px;
    /*border-radius: 100px; to make it round*/
}

.profileDetails .editedTab > .nav-link:after {
    content: " *";
    color: #f66b14;
}

.profileDetails .editedTabWithError > .nav-link:after {
    content: "* !";
    color: #f66b14; 
}

.profileDetails .updatedTab > .nav-link:after {

}

.profileDetails .disabled-tablink {
    cursor: default;
    pointer-events: none;
    text-decoration: none;
}
.profileDetails .disabled-tablink>a {
    color: grey !important;
}
 
.profileDetails .workDisabled:after{
    position:absolute;
    height: 100%;
    width:100%;
    content:'';
    z-index:10; /* Make sure this value is higher than the z-index of the  .form class  */
    top:0;
    left:0;
    background-color:rgba(211,211,211,0.2);
}

.profileDetails .row {
    margin-left: .5px;
    margin-right: .5px;
}

.profile-list-control-checkbox > div > label {
    padding-top: 0.3vh !important;
}

/************** Profile details - end      ******************/

/************** Form Editors - start    ******************/
.radio-button {
}

.inline-switch {
    display: inline-flex;
    float: right;
}

.inline-switch-label {
    margin-left: -0.7vw;
    display: inline;
}

.inline-checbox-div {
    margin-top: 2vh;
}

.inline-checkbox {
    display: inline-flex;
    float: right;
    margin-right: 10px;
}

.inline-checkbox-label {
    margin-left: -0.7vw;
    display: inline;
}

.form-details-text {
    padding-left: 1vw;
    display: inherit;
    color: #C4C2C2;
    margin-top: -0.5vh;
}

.form-section-header {
    border-bottom: 1px solid rgb(129, 77, 153);
}

label.col-form-label.required:after {
    content: " *";
    color: #f66b14;
}

.required:after {
    content: " *";
    color: #f66b14;
}

.row > div.requiredField > div.form-group.row > label:after {
    content: " *";
    color: #f66b14;
}



.customTooltip {
    position: relative;
}

.customTooltip .tooltiptext {
    visibility: hidden;
    position: absolute;
    width: 400px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    top: -5px;
    left: 100%;
}

.customTooltip.wideTooltip .tooltiptext {
    width: 600px !important;
    z-index: 5;
}

.customTooltip.widerTooltip .tooltiptext {
    width: 800px !important;
    z-index: 5;
}


.customTooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 100%;
    /*margin-top: -10px;*/
    border-width: 5px;
    border-style: solid;
    border-color: transparent #555 transparent transparent; 
}

.customTooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.customTooltip .tooltiptext > table > tbody > tr > td {
    padding-left: 10px;
    vertical-align: top;
    text-align: left;
}

/************** Form Editors - end      ******************/

/************** Error Message List - start  **************/

.error-message-list {
    color: #ec6607;
}

/************** Error Message List - end    **************/

/************** ITChecklist Grid  - start  **************/


.ITChecklistGrid .modal-content {
    width: 76rem !important;
    margin-left: -10rem;
}

.ITChecklistGrid .dxbs-fl-ctrl.dxbs-fl-ctrl-nc {
    margin-left: -0.2rem;
    margin-bottom: 1rem;
}

.ITChecklistGrid .card-header {
    color: #6C4080;
    font-weight: bold;
    height: 2.5rem;
    padding: 5px;
}

/************** ITChecklist Grid - end    **************/


/************** PositionsGrid - start      *************/

.PositionsGrid .modal-content {
    width: 95rem !important;
    margin-left: -25rem;
}

.PositionsGridModalPopup .card-body {
    width: 93rem !important;
    min-height: 58rem;
}


.PositionsGrid tr.dxbs-grid-first-level-group {
    font-size: medium;
    color: purple;
    font-weight: bold;
    height: 3rem;
}

.PositionsGrid td.dxbs-toggle-cell {
    padding-top: 10px
}

.PositionsGrid label.col-form-label.col-form-label-sm.dxbs-fl-cpt {
    padding-top: 0.5rem;
    font-weight: 100;
}

.positions-popup-height {
    position: fixed !important;
    top: 10vh !important;
    left: 45vw !important;
}

.positions-popup-height > .modal-content {
    min-height: 200px;
    width: 50rem !important;
/*    position: absolute;
    left: 50%;
    top: 10vh;*/
}

.positions-popup-height .modal-content.dxbs-modal-content > div {
    padding-left: 1vw;
    padding-top: 1vh
}

.positions-popup-footer {
    float: right;
    position: absolute;
    right: 1vw;
    bottom: 2vh;
}


.PositionsUpload .disabled:after {
    position: absolute;
    height: 100%;
    width: 100%;
    content: '';
    z-index: 10; /* Make sure this value is higher than the z-index of the  .form class  */
    top: 0;
    left: 0;
    background-color: rgba(211,211,211,0.2);
}

.positions-attachement-grid {
    width: 815px;
}


.positions-form-hidden {
   display: none;
}

.position-photo-box{
    height: 0px;
}

.position-margin-top{
    margin-top: -28px;
}

.position-margin-left {
    margin-left: 235px;
}
.position-margin-left-negative {
    margin-left: -35px;
}
.position-padding-right-zero {
    padding-right: 0px;
    min-width: 69.5rem !important;
}

.position-padding-right-left-zero {
    padding-right: 0px;
    padding-left: 0;
    min-width: 32rem;
}

.col-md-5.position-margin-left .dxbs-fl-ctrl {
    margin-right: 20px; 
}
.col-md-5.position-margin-left-negative .dxbs-fl-ctrl {
    margin-right: 20px;
}

.position-line-break {
    height: 10px;
    border-bottom: 1px solid #EEEDEF;
    margin-bottom: 1rem;
}


.PositionsGrid .card-header {
    color: #6C4080;
    font-weight: bold;
    height: 2.5rem;
    padding: 5px;
}


.PositionsGrid .dxbs-grid-first-level-group td span {
    margin-left: -6.3rem;
    text-transform: uppercase;
}


.PositionsGrid .dxbs-grid-first-level-group .dxbs-toggle-cell span {
    margin-left: 0rem;
}


.PositionsGrid .dxbs-grid-first-level-group {
    background-color: #F3F1F4;
}

.PositionsGrid tr.dxbs-data-row.hideSelect > td.dxbs-select-cell .dx-blazor-checkbox {
    display: none;   
}

.PositionsGrid tr.dxbs-data-row.disableSelect > td.dxbs-select-cell .dx-blazor-checkbox {
    cursor:not-allowed;
}


.PositionsGrid td.table-active {
    background-color: #F5EEF8;
}

.position-margin-top-left {
    margin-top: -2.5rem;
    padding-left: 0px;
}


.position-padding-left-zero {
    padding-left: 0px;
}


.position-padding-right-left-zero-top {
    margin-top: -2.5rem;
    padding-right: 0px;
    padding-left: 0;
    min-width: 32rem;
}


.PositionsGrid tr.dxbs-data-row.hideSelect.table-active-custom-single td {
    background-color: cornsilk;
}


.PositionsGrid tr.dxbs-data-row.hideSelect.table-cannot-be-active-custom td {
    background-color: white;
}

.PositionsGridForm .tabWithError > .nav-link:after {
    content: " !";
    color: red;
}

.arrow {
    border: solid #808080;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 20px;
    float:right;
}


.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    margin-top: 5px;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-bottom: 2px;

}

.positionAccordionGroup {
    font-weight: bold;
    color: purple;
    background-color: #F3F1F4;
    border-top-left-radius: 5px;
    padding: 5px;
    border-top-right-radius: 5px;
    margin-top: 10px;
}

/************** PositionsGrid - end        *************/

/**************  EmployeeLeaving page  - start        *************/


.employee-leaving-label > .row > .col-form-label {
    /*margin-right: 6.5rem;*/
    width: 125px !important;
}


/************** EmployeeLeaving page - end        *************/

.cbxPeopleADGRoup {
    width: 200px;
    display: inline-block;
}

.tabs-css-editform{
    width:500px !important;
}

.txt-width-editform{
    width:200px;
}


/************** Actioners - end        *************/

.actionersGrid .modal-content {
    width: 95rem !important;
    margin-left: -25rem;
}
.actioners-cbx{
    width:150px;
}


.actionersGrid .card-header {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
    color: #6c4080;
    font-weight: 900;
}

.actionersGrid .card-header {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
    color: #6c4080;
    font-weight: 900;
}


.defaultadgrp-css-label > label{
    width:130px !important;
}

.btnCommands {
    float: right;
    margin-top: 15px;
    margin-right: 10px;
}
.btnCommands-2 {
    float: right;
    margin-top: 15px;
    margin-right: 10px;
}

.loading-test {
    margin-top: -270px;
    width: 280px;
    z-index: 10000;
    background-color: #F0f0f0;
    position: absolute;
    padding-top: 120px;
    margin-left: 35%;
    padding-bottom: 20px;
    border-radius: 5px;
    padding-left: 20px;
}


.checkbox-grid{
    width:20px;
    height:20px;
}
.checkbox-grid-display-center{
    margin-left: 50px;
}

/*.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    width: 20px;
    height: 20px;
}

 .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {*/
/* margin-left: 20px; */
/*width: 20px;
}
.dx-blazor-checkbox .custom-control.custom-checkbox .custom-control-label:after, .dx-blazor-checkbox .custom-control.custom-radio .custom-control-label:after {
    height: 20px;
}

 .dx-blazor-checkbox .custom-control.custom-checkbox .custom-control-label:before, .dx-blazor-checkbox .custom-control.custom-radio .custom-control-label:before {
    height: 20px;
    width: 20px;
    margin-bottom: 5px;
}*/
/*:indeterminate*/
/*.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    background-color: white !important;
    box-shadow: none;
}*/
/*.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    background-color: rgba(129,77,153,.5);
    width: 20px;
    height: 20px;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
    height: 20px;
    width: 20px;
}*/
/*:checked*/
/*.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: rgba(129,77,153,.5);
    height: 20px;
    width: 20px;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    width: 20px;
    height: 20px;
}*/
/*.custom-checkbox .custom-control-input:not(:checked) ~ .custom-control-label::before {
    background-color: white !important;
    box-shadow: none;
}

.custom-checkbox .custom-control-input:not(:checked) ~ .custom-control-label::before {
    background-color: rgba(129,77,153,.5);
    width: 20px;
    height: 20px;
}*/
/*Zero/False*/
/*.custom-control-input: ~ .custom-control-label::before, .custom-control-input[disabled] ~ .custom-control-label::before {
    width: 20px;
    height: 20px;
}

.custom-control-input:not(:checked) ~ .custom-control-label::before {
    width: 20px;
    height: 20px;
}*/
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    width: 1.5rem;
    height: 1.5rem;
}

.custom-control-input:checked ~ .custom-control-label::before {
    width: 1.5rem;
    height: 1.5rem;
}

.dx-blazor-checkbox .custom-control-label::before {
    width: 1.5rem;
    height: 1.5rem;
}

/*
.custom-control {
    margin-left: 50px;
}

.dx-blazor-checkbox.dx-blazor-checkbox-align-center {
    margin-left: -50px;
}*/



.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(1rem);
}


.dx-blazor-checkbox.valid.modified .custom-switch .custom-control-label::before {
    opacity: 0.5 !important;
    border: unset;
    height: 12px;
    width: 24px;
}
.custom-switch .custom-control-label::before {
    border-radius: 0.5rem;
    height: 12px;
}

.custom-switch .custom-control-label::before {
    height: 12px !important;
    width: 2rem !important;
}

/*.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(0.8rem);
}*/

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    background-color: white !important;
    box-shadow: none;
}

.btn-select-photo-profile {
    margin-left: 40px;
    margin-top: -15px;
    margin-bottom: 15px;
}

#uploadProfilepic > .upload-container, .upload-container > div:first-child {
    width: 95%;
}

.btn-yes-returning {
    width: 70px;
}
.btn-no-returning {
    width: 70px;
    margin-right: -40px;
    margin-left: 20px;
}

.date-auditlog{
    width:150px
}

.date-marginstart {
    margin-left: 15px;
    margin-right: 10px;
}

.date-marginend {
    margin-left: 10px;
}

.data-grid-copy{
    height:300px;
    padding:30px;
}

.btn-manager-css{
    width:100px;
}

.positions-leave-grid {
    width: 815px;
    margin-left: -50px;
    height: 100px;
}

.dxbs-month-table{
    width:380px !important;
}

.dxbs-calendar .calendar-row {
    width: 400px !important;
   
}
.dxbs-gridview > .card > .dxgvHSDC + .dxgvCSD {
    height: 70px !important;
    overflow: auto !important;
}

.chx-box-leave-grid{
    margin-top:-10px;
}

.icon-warning {
    background-image: url(../images/warning.png);
    height: 22px;
    width: 22px;
    transform: scale(0.7,0.7);
}
.icon-notes {
    background-image: url(../images/note.png);
    height: 22px;
    width: 22px;
    transform: scale(0.8,0.8);
    display: inline-flex;
    top: 5px !important;
    position: relative;
}

.disabledModal {
    pointer-events: none;
    opacity: 0.4;
}