/**
 * Author: Somesh B 
 * Version: v1
 * Created: 09/20/2023
 * Description: Created to maintain common css code.
 */

/* COMMON CSS FOR THEME - START */

/* Dashboard start */
.page-title-box {
    padding-bottom: 10px;
}

.page-content {
    /*padding: calc(60px + 24px) calc(24px / 2) 60px calc(24px / 2);*/
    /*padding: calc(90px + 24px) calc(24px / 2) 40px calc(24px / 2);*/
    padding: calc(140px + 24px) calc(24px / 2) 40px calc(24px / 2);
    min-height: 96.1vh;
}

#page-topbar {
    z-index: 1800;
}

.megamenu-list li {
    padding: 2px 0;
}

.dropdown-megamenu[style] {
    padding: 10px;
}

.dropdown-megamenu ul {
    margin-bottom: 0rem;
}

#sidebar-menu ul li a {
    padding: 0.3rem 1.0rem;
}

#sidebar-menu ul li ul.sub-menu li a {
    padding: 0.3rem 1.0rem 0.3rem 1.0rem !important;
}

#sidebar-menu ul li a:hover {
    background: #00000036; /*#eff2f7;*/
}

/* CODE ADDED BY: SOMESH; DATE: 07-15-2024; SUB: ADDED BACKGROUND COLOR FOR ACTIVE MENUS - Start */
#sidebar-menu ul li a.active, #sidebar-menu ul li.mm-active a.active, #sidebar-menu ul li.mm-active a.has-arrow {
    background: #6e9e2d;
}

#sidebar-menu ul.sub-menu li.mm-active a, #sidebar-menu ul.sub-menu li a.active {
    background: inherit;
}
/* End */

/*#sidebar-menu ul .mm-active > a {*/
/*background: #00000036;*/
/*background: #0000006e;
}*/

.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > ul a,
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > ul {
    width: 230px;
    background: #323849;
}

body[data-sidebar="dark"].vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > ul a:hover {
    color: #d7e4ec;
}

.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a {
    width: calc(230px + 70px);
}

#sidebar-menu ul li a img {
    width: 30px;
    height: 30px;
}

#sidebar-menu ul li ul.sub-menu {
    background: #323849;
}

.vertical-collpsed .vertical-menu #sidebar-menu > ul > li > a {
    padding: 0.4rem 20px;
    min-height: 30px;
}

/* CODE ADDED BY: SOMESH; DATE: 01-04-2023; SUB: SET MENU ZINDEX - Start */
.vertical-collpsed .vertical-menu {
    z-index: 1799; /*1800;*/
}
/* End */

.card {
    margin-bottom: 10px;
}

.card-body {
    padding: 0.5rem 0.5rem;
}

.nav-com-details {
    z-index: 1002;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.nav-com-details-card-body {
    padding: 0.48rem 0.5rem;
}

#preloader {
    z-index: 99999;
}

.form-controls, .form-selects {
    /*border: 1px solid #b5b5b5;*/
    border: 1pt solid #dfaf39 !important;
    border-radius: 2px;
    padding: 0px 10px;
    font-weight: 400;
    line-height: 1.5;
    color: #505d69;
    background-color: #fff;
    background-clip: padding-box;
}

/* CODE UPDATED BY: SOMESH; DATE: 12-20-2023; SUB: CHANGED INPUT BOX SIZES (XS,SM,LG,XL) - Start */
.input-xs-sp {
    height: 20px;
    font-size: 10pt;
    padding: 0px 10px;
}

.input-sm-sp {
    height: 24px;
    font-size: 10pt;
    padding: 0px 10px !important;
}

.input-md-sp {
    height: 30px;
    font-size: 10pt !important;
    padding: 0px 10px !important;
}

.input-lg-sp {
    height: 34px;
    font-size: 11pt;
    padding: 0px 10px;
}

.input-xl-sp {
    height: 40px;
    font-size: 12pt;
    padding: 0px 10px;
}

.btn-xs {
    padding: .1rem .25rem;
    font-size: 8pt;
    border-radius: .2rem;
}
/* End */

.w-100-sp {
    width: 100px;
}

.w-150-sp {
    width: 150px;
}

.w-200-sp {
    width: 200px;
}

.w-250-sp {
    width: 250px;
}

.w-300-sp {
    width: 300px;
}

.w-350-sp {
    width: 350px;
}

.w-400-sp {
    width: 400px;
}

.w-450-sp {
    width: 450px;
}

.w-500-sp {
    width: 500px;
}

.w-550-sp {
    width: 550px;
}

.w-600-sp {
    width: 600px;
}

.w-650-sp {
    width: 650px;
}

.w-700-sp {
    width: 700px;
}

.w-750-sp {
    width: 750px;
}

.w-800-sp {
    width: 800px;
}

.w-850-sp {
    width: 850px;
}

.w-900-sp {
    width: 900px;
}

.w-950-sp {
    width: 950px;
}

.w-1000-sp {
    width: 1000px;
}

.w-1050-sp {
    width: 1050px;
}

/* min width common classes */
.min-w-100-sp {
    min-width: 100px;
}

/* min-vw-100 - class already present bootstrap.css */
.min-vw-150 {
    min-width: 150vw !important;
}

.min-vw-200 {
    min-width: 200vw !important;
}

.min-vw-300 {
    min-width: 300vw !important;
}

.min-vw-400 {
    min-width: 400vw !important;
}

.min-vw-500 {
    min-width: 500vw !important;
}

/* mb-100-sp - to set margin botton to 100px */
.mb-100-sp {
    margin-bottom: 90px !important;
}
/* mb-200-sp - to set margin botton to 200px */
.mb-200-sp {
    margin-bottom: 180px !important;
}

.control-sm-sp {
    height: 20px;
    padding: 0px 8px;
    text-align: left;
}

.badge {
    border-radius: 0.1rem;
}

.blink_me {
    animation: blinker 3.5s linear infinite;
    /*-webkit-animation: 2s linear infinite condemned_blink_effect;
    background-color: #6633b2;
    border: 1px solid #57289d;*/
    color: red;
    width: 100px;
    background-color: yellow; /*#3eb489;*/
    border: 1px solid #797901; /*#70B09B;*/
    font-weight: 600;
    text-transform: uppercase;
}

@keyframes blinker {
    50% {
        opacity: 0.2;
    }
}

.sp-company-header {
    margin-top: 2px;
    margin-bottom: 2px;
}

.sp-company-details .badge {
    font-weight: 600;
    background: #74943d;
    color: white;
    /*font-size: 11pt;*/
}

.sp-proxy-links a:hover {
    cursor: pointer;
    text-decoration: underline !important;
}

.cursor-pointer-sp {
    cursor: pointer;
}

.hyplink-xs-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 11px;
}

.hyplink-sm-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
}

.hyplink-md-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.hyplink-lg-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
}

.hyplink-xl-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
}

.hyplink-sm-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
}

.hyplink-md-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.hyplink-lg-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
}

.hyplink-xl-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
}

.hyplink-sm-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
}

.hyplink-md-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.hyplink-lg-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
}

.hyplink-xl-sp {
    color: #5BA601;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
}

/* added by: amol date:10-20-2023; sub: header height increased - start */
.navbar-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 auto;
    height: 150px !important;
    padding: 0 calc(24px / 2) 0 0;
}

.vertical-menu {
    width: 240px;
    z-index: 1800;
    background: #fff;
    bottom: 0;
    margin-top: 0px;
    position: fixed;
    top: 150px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    -webkit-box-shadow: 1px 0 20px rgba(0,0,0,.05);
    box-shadow: 1px 0 20px rgba(0,0,0,.05);
}

.navbar-brand-box {
    padding: 0 1.5rem;
    text-align: center;
    width: 240px;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    padding-left: 8px !important;
    /*padding-top: 40px !important;
    padding-bottom: 40px !important;*/
}

#vertical-menu-btn {
    height: 150px;
}

/*.sp-company-details .badge {
    font-weight: 600;
    padding: 7px 10px !important;
    margin: 5px 5px 5px 5px !important;
}*/

.noti-icon {
    height: 150px;
}

#page-header-user-dropdown {
    height: 150px;
}

footer {
    /* bottom: 0px !important; */
    padding: 16px calc(24px / 2) !important;
    position: absolute !important;
    /* right: 0 !important; */
    /* color: #6c757d !important; */
    left: 0px !important;
    height: 60px !important;
    /* -webkit-box-shadow: 1px 0 20px rgba(0, 0, 0, .05) !important; */
    /* box-shadow: 1px 0 20px rgba(0, 0, 0, .05) !important; */
    /* background-color: #fff !important; */
    /* margin-top: 14px !important; */
    margin-bottom: -8px !important;
}

.footer-parent {
    margin-bottom: 0px;
    position: relative;
    margin-top: 15px;
}
/* by amol - end */

/* Dashboard end */









/* Tabs - start */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: rgb(111, 208, 136);
}
/* Tabs - end */








/* JQWidgeds start */
#jqxTabs ul li:first-child {
    margin-left: 30px;
}
/* CODE ADDED BY: SOMESH; DATE: 01-04-2023; SUB: TO SET JQX COMBOBOX MULTICHECK DDL ARROW WIDTH - Start */
.jqx-combobox-multicheck-sp .jqx-combobox-arrow-normal {
    width: 27px !important;
}

.jqx-combobox-textarea-sp {
    width: calc(100% - 40px);
    z-index: 50;
    position: absolute;
    overflow: auto;
    resize: none;
    height: 79px;
}

/* common jqx grid header titles alignment set to top */
.jqx-grid-column-header > div > div {
    line-height: 13.5pt !important;
    white-space: normal;
    margin-top: .5rem !important;
}

.jqxgrid-col-notextwrap-sp > div > div {
    white-space: inherit;
}

.jqxgrd-col-textwrap-mt-2-sp > div > div.iconscontainer {
    margin-top: 0rem !important;
}

.jqxgrd-col-textwrap-mt-1-sp > div > div {
    line-height: 13.5pt !important;
    white-space: normal;
    margin-top: .25rem !important;
}

.jqxgrd-col-textwrap-mt-1-sp > div > div.iconscontainer {
    margin-top: 0rem !important;
}

.jqxgrd-col-textwrap-mt-2-sp > div > div {
    line-height: 13.5pt !important;
    white-space: normal;
    margin-top: .5rem !important;
}

.jqxgrd-col-textwrap-mt-2-sp > div > div.iconscontainer {
    margin-top: 0rem !important;
}

.jqxgrd-col-textwrap-mt-3-sp > div > div {
    line-height: 13.5pt !important;
    white-space: normal;
    margin-top: 1rem !important;
}

.jqxgrd-col-textwrap-mt-3-sp > div > div.iconscontainer {
    margin-top: 0rem !important;
}

.jqxgrd-col-textwrap-mt-4-sp > div > div {
    line-height: 13.5pt !important;
    white-space: normal;
    margin-top: 1.5rem !important;
}

.jqxgrd-col-textwrap-mt-4-sp > div > div.iconscontainer {
    margin-top: 0rem !important;
}
/* jqx grid header column colors - start */
.jqxgrd-col-header-cyan-sp {
    background: #0098bb !important;
}

.jqxgrd-col-header-blue-sp {
    background: #6464b5 !important;
}

.jqxgrd-col-header-brown-sp {
    background: #b06f60 !important;
}

.jqxgrd-col-header-orange-sp {
    background: #e6a935 !important;
}

.jqxgrd-col-header-black-sp {
    background: #353535 !important;
}

.jqxgrd-col-header-pink-sp {
    background: #ce5689 !important;
}

.jqxgrd-col-header-brightgray-sp {
    background: #eaf6ea !important;
    color: #000 !important;
}

.jqxgrd-col-header-gray-sp {
    background: #e8e8e8 !important;
    color: #000 !important;
}
/* jqx grid header column colors - end */
/* jqx grid cell colors - start */
.jqxgrd-cell-pink-sp {
    margin: 0px !important;
    background-color: rgb(255, 215, 227);
    width: 100%;
    height: 100%;
    padding-top: 4px;
    color: #222;
}
.jqxgrd-cell-pink-sp:hover {
    background-color: rgb(255, 203, 218);
}

.jqxgrd-cell-yellow-sp {
    margin: 0px !important;
    background-color: rgb(255, 239, 200);
    width: 100%;
    height: 100%;
    padding-top: 4px;
    color: #222;
}
.jqxgrd-cell-yellow-sp:hover {
    background-color: rgb(255, 230, 168);
}

.jqxgrd-cell-blue-sp {
    margin: 0px !important;
    background-color: rgb(178, 241, 255);
    width: 100%;
    height: 100%;
    padding-top: 4px;
    color: #222;
}
.jqxgrd-cell-blue-sp:hover {
    background-color: rgb(150, 236, 255);
}
/* jqx grid cell colors - end */

/* CODE ADDED BY: SOMESH; DATE: 01-11-2023; SUB: TO SET JQX ACTIVE TAB HEIGHT - Start */
.jqx-tabs-title-selected-top {
    min-height: 17px;
    padding-bottom: 5px;
}
/* End */
.FillButton {
    font-family: Calibri;
    background: #03a549;
    color: white;
    border: 1px solid #74943d;
    /*padding: 1px;*/ /* 0.15rem 0.25rem 0.15rem 0.15rem;*/
    font-size: .7875rem;
    border-radius: .2rem;
    cursor: pointer;
    /* CODE ADDED BY: SOMESH; DATE: 01-11-2023; SUB: TO SET JQX ACTIVE TAB HEIGHT - Start */
    padding: 0rem 0.15rem; /* 0px 2px; */
    position: relative;
    top: -9px;
    /* End */
}
/* End */
/* JQWidgeds end */








/* added by: dattatray deshmukh; date: 10-17-2023 - start */
.AddRow {
    text-align: right;
}

.gapcontrole {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
}

label {
    font-weight: 500;
}

/* CODE ADDED BY: SOMESH; DATE: 01-04-2023; SUB: TO SET JQX COMBOBOX MULTICHECK DDL ARROW WIDTH - Start */
.btn-success {
    background: #03a549;
    border-color: #03a549;
}

.btn-success:hover,
.btn-check:focus + .btn-success, .btn-success:focus,
.btn-success.disabled, .btn-success:disabled {
    background-color: #00873a; /*#03a549;*/
    /*border-color: #59a66d;*/
}
/* CODE ADDED BY: SOMESH; DATE: 02-14-2024; SUB: ADDED TOASTR OPTIONS - Start */
.toast-success {
    border: 2px solid #87b44a !important;
    background-color: #03a549d6 !important; /*#6e9e2dd6*/
}
.toast-warning {
    border: 2px solid #ffb534 !important;
    background-color: #bf8905c9 !important;
}
/* End */

.modal {
    z-index: 1800 !important;
}

/* custom fieldset - start */
fieldset {
    border: solid 1px rgb(192, 192, 192);
    padding-top: 5px;
    padding-right: 12px;
    padding-bottom: 10px;
    padding-left: 12px;
    border-radius: .25rem;
}

legend {
    float: none;
    width: inherit;
    padding: 0px 5px;
    font-size: inherit;
}
/* custom fieldset - end */

/* bootstrap custom classes - start */
.visibility-initial {
    visibility: initial;
}
.d-block-ruby {
    display: block ruby;
}
/* bootstrap custom classes - end */

/* CODE ADDED BY: SOMESH; DATE: 06-25-2024; SUB: ADDED CHECKBOX CUSTOM CSS - Start */
.form-check-input {
    margin-top: 0.1em;
}
/* End */

/* custom css - end */








/* media query - start */
@media only screen and (min-device-width: 1240px) and (max-device-width: 1599px) { /* big landscape tablets, laptops, and desktops */
    .sp-company-details .badge, .sp-company-details span, .sp-company-details a {
        font-size: 8pt;
    }

    .sp-company-header input, .sp-company-header select, .sp-company-header label {
        font-size: 8pt !important;
    }

    .sp-company-header #txtSelectCompany {
        width: 200px;
    }
}

@media only screen and (min-width: 1600px) and (max-width: 3600px) { /* hi-res laptops and desktops */
    .sp-company-details .badge {
        font-size: 11pt;
    }
}
/* media query - end */
/* COMMON CSS FOR THEME - END */
