/* cstumbtn */

.btn-primary {
    color: #fff;
    background-color: #1c446a;
    border-color: #1c446a;
    margin-left: 5px;
}

.btn-primary:hover {
    color: #fff;
    background-color: #10263b;
    border-color: #0a58ca;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
    box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
}

.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #0a58ca;
    border-color: #0a53be;
}

.btn-check:checked + .btn-primary:focus,
.btn-check:active + .btn-primary:focus,
.btn-primary:active:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
}

.btn-primary:disabled,
.btn-primary.disabled {
    color: #fff;
    background-color: #1a3e61;
    border-color: #1a3e61;
}

/* border */

.br-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.br-bottom {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin-top: 15px !important;
}

/* login */

#login {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.login_img {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #f8fafc;
    padding-top: 263px;
    overflow: hidden;
}

.login_img img {
    /* width: 80%; */
    width: 60%;
    height: auto;
}

.login-password,
.login-email {
    border: none !important;
    outline: none;
    background-color: #f8fafc !important;
    box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.5);
}

.f-s-20 {
    font-size: 20px !important;
}

.signIn-text {
    font-family: "Inter";
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 18px;
    /* identical to box height, or 114% */
    display: flex;
    align-items: center;
    text-align: center;
    /* @heading-color */
    color: rgba(0, 0, 0, 0.85);
}

.access-ac-text {
    font-family: "Inter";
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 18px;
    /* identical to box height, or 114% */
    display: flex;
    align-items: center;
    text-align: center;
    /* @heading-color */
    color: rgba(0, 0, 0, 0.85);
}

.login-btn {
    /* width: 361px;
    height: 88px; */
    margin-top: 30px;
    width: 325px;
    height: 60px;
    /* height: 76px; */
    /* background: linear-gradient(45deg, #E67821, #E67821) !important; */
    box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.5);
    border-radius: 12px !important;
    font-weight: 500;
    font-size: 20px !important;
    line-height: 16px !important;
    text-align: center !important;
    letter-spacing: 0.75px;
    text-transform: uppercase !important;
    color: #fff !important;
}

.login-btn:hover {
    cursor: pointer;
}

.label-text {
    font-size: 24px;
    line-height: 12px;
    display: flex;
    align-items: center;
    text-align: right;
    color: rgba(0, 0, 0, 0.65);
}

.login_form {
    /* background: linear-gradient(45deg, #615d5ccb, #E67821); */
    width: 50%;
    /* display: flex;
    align-items: flex-end; */
    display: flex;
    justify-content: center;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 247px;
    margin-right: 160px; */
    padding-top: 64px;
}

.login_img_sm_screen {
    display: none;
}

.login_cont {
    width: 80%;
    /* margin-left: 74px;
    margin-bottom: 71px;
    margin-top: 247px; */
    /* background: #FFFFFF; */
    box-shadow: 0px 0px 5px 5px rgb(0, 0, 0, 0.2);
    /* box-shadow: -5px 5px 10px rgba(212, 216, 219, 0.5), 5px -5px 10px rgba(212, 216, 219, 0.5), -5px -5px 10px rgba(255, 255, 255, 0.9), 5px 5px 13px rgba(212, 216, 219, 0.9), inset 1px 1px 2px rgba(255, 255, 255, 0.3), inset -1px -1px 2px rgba(212, 216, 219, 0.5); */
    /* padding: 20px;
    width: 560px; */
    background: #fff;
    border-radius: 15px;
    position: relative;
    padding: 20px 40px;
}

.login_cont h1 {
    text-align: center;
}

.login_cont label {
    text-align: left;
    margin-top: 5px;
    display: block;
}

.login_cont .login_btn {
    width: 250px;
    color: white;
    margin: 40px auto 0 auto;
    /* background-color: #0b7ac3; */
    border: none;
    border-radius: 5px;
    /* box-shadow: 0 0 1px 1px rgb(11, 122, 195, .5); */
    transition: 0.4s;
    cursor: pointer;
}

.login_cont .login_btn:hover {
    cursor: pointer;
}

.m-t-28 {
    margin-top: 28px;
}

.height-63 {
    height: 50px !important;
}

.justify-content-center {
    display: flex;
    justify-content: center;
}

.forget-text {
    font-size: 20px !important;
    line-height: 32px !important;
    /* identical to box height, or 133% */
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(0, 0, 0, 0.75) !important;
}

button {
    border: none !important;
}

input:focus,
button:focus {
    outline: none;
}

.m-t-20 {
    margin-top: 20px;
}

/* screen size 0-767 */

@media only screen and (max-width: 767.8px) {
    /* if img show change */
    .login_img {
        width: 0%;
    }
    .login_img_sm_screen {
        display: block;
    }
    .login_form {
        width: 100%;
        height: auto;
        background-color: #e5e5e5;
        display: block;
        padding-bottom: 50px;
    }
    .login_cont {
        margin: auto;
        width: 85%;
        background-color: rgb(255, 255, 255);
        padding: 20px 30px 60px 30px;
        border-radius: 20px;
        z-index: 50;
    }
}

/* screen size 768-891 */

@media only screen and (min-width: 768px) and (max-width: 891.8px) {
    .login_img_sm_screen {
        width: 75%;
    }
    .login_img {
        width: 50%;
    }
    .login_form {
        width: 50%;
    }
    .login_cont {
        width: 75%;
    }
}

/* screen size 892-1199 */

@media only screen and (min-width: 892px) and (max-width: 1199.8px) {
    .login_img {
        width: 50%;
    }
    .login_form {
        width: 50%;
    }
    .login_cont {
        width: 75%;
    }
}

.kunj_login_btn {
    background: linear-gradient(45deg, #00a932, #00a932) !important;
}

.kunj_login_btn:hover {
    background: linear-gradient(45deg, #aed02c, #00a932) !important;
}

.kunj_login_form {
    background: linear-gradient(45deg, #aed02c, #00a932) !important;
}

/* screen size > 1200 */

@media only screen and (min-width: 1200px) {
    /* .login_img {
        width: 50%;
    } */
    /* .login_form {
        width: 50%;
    } */
    .login_cont {
        width: 60%;
    }
}

/* common to home app */

#app {
    display: flex;
}

#side_nav_bar {
    width: 225px;
    flex-shrink: 0;
    background: #122c44;
}

#right_bar {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#right_bar > .navbar {
    flex-shrink: 0;
}

#right_bar > main {
    flex-grow: 1;
}

.main_content {
    /* border: 1px solid red; */
    height: 100%;
    background-color: #122c4405;
    overflow-y: scroll;
}

#side_nav_bar .main_logo {
    display: block;
    width: 85%;
    margin: 45px auto 40px;
}

#side_nav_bar .main_logo img {
    width: 100%;
    min-height: 100px;
    margin-bottom: 15px;
}

#side_nav_bar .sub_menu {
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px 10px;
    border-top: 1px solid white;
}

#side_nav_bar .sub_menu a {
    font-size: 16px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    background: white;
    padding: 6px 0;
}

#side_nav_bar .sub_menu a:hover {
    background: #ffffffbb;
}

.sub_nav_bar {
    display: flex;
    justify-content: space-between;
    background-color: #122c44;
    align-items: center;
    color: white;
    border-radius: 10px;
}

.sub_nav_bar h4 {
    color: white;
    font-weight: bold;
}

.sub_nav_bar .btn-primary {
    color: #10263b;
    background-color: white;
    border: 2px solid white !important;
    margin-left: 5px;
    font-weight: 600;
}

/* home */

.navbar-brand {
    color: #0b7ac3;
    text-transform: uppercase;
    font-style: italic;
    font-weight: bold;
}

.modal_background,
#delete_party_modal,
#addParty,
#addProduct,
#addCompany,
#editCompany,
#addUser,
#editUser,
#detailCompany,
#changePassword {
    background-color: rgba(0, 11, 21, 0.923) !important;
}

#addbill {
    display: none;
}

.custom-modal h1,
#addbill h3,
#addParty h1,
#addProduct h1,
#addCompany h1,
#editCompany h1,
#addUser h1,
#editUser h1,
#detailCompany h1,
#changePassword h1 {
    text-align: center;
    color: #122c44;
    font-weight: bold;
    /* text-transform: uppercase; */
    font-size: 25px;
    margin-bottom: 30px;
}

.custom-modal input,
#addParty .form input,
#addProduct .form input,
#addCompany .form input,
#editCompany .form input,
#addUser .form input,
#editUser .form input,

/* #detailCompany .form input, */

#changePassword .form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px;
    outline: none;
}

#addbill form input {
    margin-bottom: 10px;
}

#addParty .form input:focus,
#addProduct .form input:focus,
#addCompany .form input:focus,
#editCompany .form input:focus,
#addUser .form input:focus,
#changePassword .form input:focus {
    border-color: #0b7ac3;
}

#addbill form label,
#addParty .form label,
#addProduct .form label,
#addCompany .form label,
#editCompany .form label,
#addUser .form label,
#editUser .form label,
#detailCompany .form label,
#changePassword .form label {
    margin: 20px 0 5px;
    color: #122c44;
    font-weight: bold;
    font-size: 17px;
}

#addbill form label {
    margin: 0;
    width: 120px;
}

.custom-modal,
#addPartyForm,
#addProductForm,
#addCompanyForm,
#editCompanyForm,
#addUserForm,
#editUserForm,
#detailCompanyForm,
#changePasswordForm {
    padding: 30px;
}

/* addbill */

#addbill {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000020;
    z-index: 100;
}

#addbill > div {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#addbill form {
    height: 95%;
    width: 1200px;
    background: white;
    overflow-y: scroll;
    border-radius: 20px;
    padding: 20px;
}

#item_table th {
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #122c44;
}

#item_table td {
    border: 1px solid #122c44;
}

#item_table input {
    margin-bottom: 0 !important;
    padding: 5px;
    width: 100%;
    border: none;
}

#item_table input:focus {
    background-color: rgb(18, 44, 68, 0.1);
}

#item_table td {
    padding: 0;
}

#partyContainer,
#productContainer,
#companyContainer,
#userContainer {
    /* border: 1px solid red; */
    width: 100%;
}

#partyContainer tr th,
#productContainer tr th,
#companyContainer tr th,
#userContainer tr th {
    background-color: #122c44 !important;
    border-bottom: none !important;
    color: white;
    font-size: 17px;
    font-family: 300;
    letter-spacing: 1px;
    font-weight: 400;
    /* font-family: sans-serif; */
    /* text-transform: uppercase; */
}

#partyContainer tr th:first-of-type,
#productContainer tr th:first-of-type,
#companyContainer tr th:first-of-type,
#userContainer tr th:first-of-type {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#partyContainer tr th:last-of-type,
#productContainer tr th:last-of-type,
#companyContainer tr th:last-of-type,
#userContainer tr th:last-of-type {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#partyContainer th,
#partyContainer td,
#productContainer th,
#productContainer td,
#companyContainer th,
#companyContainer td,
#userContainer th,
#userContainer td {
    padding: 10px;
}

#partyContainer tr:not(:last-child) td,
#productContainer tr:not(:last-child) td,
#companyContainer tr:not(:last-child) td,
#userContainer tr:not(:last-child) td {
    border-bottom: 1px solid rgb(192, 190, 190);
}

.edit_company_model {
    display: none;
}

.scc_login_btn {
    background: linear-gradient(45deg, #0d73be, #0d73be) !important;
}

.scc_login_btn:hover {
    background: linear-gradient(45deg, #00b9ef, #0d73be) !important;
}

.btn_sidebar {
    font-size: 17px;
    color: black;
    text-decoration: none;
    /* text-transform: uppercase; */
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    background: white;
    padding: 10px 0px 8px 5px;
    display: flex;
}

.top_sidebar {
    padding-top: 25px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    padding: 10px 10px;
    /* height: 75% */
}

/* .typeahead {
    display: inline !important;
} */

/* .act {
    background: #0D73BE;
}

.act:hover {
    background: gray;
    color: black;
} */

.com_name {
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 8px;
}

.copyright_note {
    color: rgb(198, 193, 193);
    font-size: 13px;
    padding-bottom: 0px;
    margin-bottom: 0;
    text-align: center;
}

.heading_box {
    text-align: center;
    padding: 8px 0px 8px 0px;
    color: #fff;
    background-color: #1c446a;
    border-radius: 3px;
}

.company_name {
    border: none;
    width: 100%;
    border-bottom: 1px solid gray;
}

.dropdown-menu:hover {
    display: block !important;
}

.logo_bottom_border {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.pagination a {
    display: flex;
    text-decoration: none !important;
}

.top_sidebar a:hover {
    background-color: #fdfdfdba;
    color: black;
}

.linkToPDP {
    display: inline-block;
    text-align: center;
    background-color: #122c44 !important;
    color: white;
    border: 4px solid #122c44 !important;
    font-size: 18px;
    border-radius: 3px;
    width: 37px;
    height: 35px;
}

.editCompany,
.editUser,
.editParty,
.editProduct {
    background-color: #122c44 !important;
    color: white;
    border: 4px solid #122c44 !important;
    font-size: 18px;
    border-radius: 3px;
    width: 37px;
    height: 35px;
}
.linkToPDP:hover,
.editCompany:hover,
.editUser:hover,
.editParty:hover,
.editProduct:hover {
    background-color: white !important;
    color: #122c44 !important;
    transition-duration: 0.3s;
}

.deleteCompany,
.deleteUser,
.deleteParty,
.deleteProduct {
    background-color: rgb(200, 9, 9) !important;
    color: white;
    border: 4px solid rgb(200, 9, 9) !important;
    font-size: 18px;
    border-radius: 3px;
    width: 37px;
    height: 35px;
}

.deleteCompany:hover,
.deleteUser:hover,
.deleteParty:hover,
.deleteProduct:hover {
    background-color: white !important;
    color: rgb(200, 9, 9) !important;
    transition-duration: 0.3s;
}

.copyUrl,
.changePass {
    background-color: rgb(108, 106, 106) !important;
    color: white;
    border: 4px solid rgb(108, 106, 106) !important;
    font-size: 18px;
    border-radius: 3px;
    width: 37px;
    height: 35px;
}

.card {
    border-left: 3px solid white !important;
    color: white;
    background: #122c44 !important;
    font-size: 18px;
    font-weight: 500;
}

.copyUrl:hover,
.changePass:hover {
    background-color: white !important;
    color: rgb(108, 106, 106) !important;
    transition-duration: 0.3s;
}

.btn_sidebar div {
    width: 35px;
    font-size: 19px;
}

#detailCompanyForm label {
    width: 160px !important;
    margin-left: 10% !important;
    font-size: 18px !important;
}

#detailCompanyForm span {
    font-size: 15px;
    color: black;
    font-weight: 500;
}

/* #add_company_detail, */

#add_company,
#editCompanyForm {
    min-height: 700px;
    position: relative;
}

#add_company img,
#editCompany img {
    object-fit: cover;
}

.continue {
    margin-bottom: 25px !important;
}

#add2,
#add3,
#add4,
#add5,
#edit2,
#edit3,
#edit4,
#edit5 {
    display: none;
}

.back {
    width: 75px;
    height: 35px;
    background-color: #ab0000;
    color: white;
    font-size: 18px;
    border-radius: 3px;
    text-align: center;
    padding-top: 3px;
    position: absolute;
    top: 10px;
}

.back:hover {
    color: white;
}

#product_list {
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.228);
}

#product_list li {
    list-style-type: none;
    padding: 5px 0px;
}

#search,
#search_invo {
    width: 250px !important;
    padding: 6px 15px;
}

#hide_pass {
    display: none;
}

.total_for_row {
    margin: 0;
    padding: 5px;
}

/* party detail page */

.partyBalanceDetails {
    display: flex;
    gap: 50px;
}
.partyBalanceDetails > div {
    display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: center;
}
.partyBalanceDetails p {
    margin: 0;
    font-size: 16px;
    line-height: 1;
 }

 .partyBalanceDetails .balance_val {
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 5px;
 }


 /* invoice listing */

 #currentYear {
    padding: 8px 10px;
 }