/*//File Name - main.css
//D.O.C - 20/02/2024
//Author - sumeru
//Modification History - 
//    
//Synopsis - 
//    1. Main css*/

:root{
    --green:#01904B;
    --gray:#667085;
    --red:#F74747;
    --blue:#156CC9;
    --white:#FCFCFD;
    --lightGreen:#7CD75C;
}


.headerText{
    color: #333;
    font-size: 1.2em;
    font-style: normal;
    font-weight: 550;
}
.searchIcon{
    position: absolute;
    top: 50%;
    left: 5px; /* Adjust as needed */
    transform: translateY(-50%);
    /*    width: 20px;  Adjust as needed 
        height: 20px;  Adjust as needed */
    z-index: 1;
}
.input-group>.form-control:focus{
    z-index: 0 !important;
}
button:has(button){
    padding:5px !important;
}
.editDetailsModal{
    border: 1px solid #4C7EFF !important;
}

.cancelButton,#showRateChartCancelBtn{
    background-color: white !important;
    border-radius: 5px !important;
    color: #757575;
    border: 1px solid #757575;
    text-decoration: none !important;
    width: 121px;
    margin: 7px;
}
.cancelButton:hover,#showRateChartCancelBtn:hover{
    color:#757575;
    border: 1px solid #757575;
}

.saveButton{
    background-color: #01904B !important;
    border-radius: 5px !important;
    width: 121px;
    margin: 7px;
    border: #757575 1px solid;
}
#addUpdateMilkRateFormShowBtn{
    width: 152px;
}
.saveButton:hover{
    border:#757575 1px solid;
}
.validationBox{
    border-color: red !important;
}
.modalBorder{
    border-radius: 0 !important;
}
.modalTitle{
    color: #333;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px; /* 150% */
    height: 25.001px;
}
.modal-header{
    background: #EEF6FF !important;
    height: 3.3205em;
}
.modalSubHeader{
    color: #0E0E0E;
    font-size: 16px;
    font-style: normal;
    font-weight: 550;
    line-height: 28px; /* 171.429% */
}
.modal form label{
    color: #595959;
    align-content: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 520;
    line-height: 24px; /* 200% */
    text-transform: capitalize;
}
.modal input[type="text"], .modal textarea, .modal select, #uploadAgreementButton , select{
    color: #7A7A7A;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    box-shadow: none !important;
    border-color: #A6A6A6;
    height: 2.35rem;
}
.form-control.is-invalid, .was-validated .form-control:invalid, form input[type="text"], form textarea{
    background-image: none !important;
}

#loginFormDairyCustomer {
    margin: 0;
    padding: 0;
    background-image: url(../IMG/LoginBackGround.jpg);
    background-size: 100vw 100vh;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
}

#customerHeader{
    color: #000;
    padding-top: 25vh;
    font-weight: 400;
    text-align: left;
    font-size: 40px;
    line-height: 51px;
}

.dairyCustomer:active{
    border-radius: 5px;
    border: 1px solid #A6A6A6;
    background: #FFF;
}

#customerHeaderUltimus{
    background: #01904B;
    color: #FFF;
    font-family:Inter, sans-serif !important;
    font-style:normal;
    font-size: 42px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
    padding-left:8px;
    padding-right:8px;
    width:fit-content;
    align-content: center;
}

#loginCard{
    width: 22.5rem;
    margin-top: calc((100vh - 32rem) / 2);
    height: 60vh;
    overflow-y: auto;
}
#loginCustomer{
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.card{
    border-radius: 5px;
    background: #FFF;
}

input[disabled]{
    cursor: not-allowed;
}

label small{
    color: crimson;
    margin-right: 5px;
    font-size: 1.3em;
}

#dairyCustomerNavbar{
    background: var(--green);
}

.navbar-nav .nav-link.active, .nav-link{
    color:white;
}

.munuBarIcon{
    color: var(--lightGreen) !important;
    font-size: 1rem !important;
    padding: 0 .5em 0 .5em !important;
}
#dairyCustomerNavbar #navbarSupportedContent .nav-item.active{
    background: linear-gradient(180deg, #0E6E3F 0%, #054A54 100%);
}
.fa-solid, .fa-regular{
    font-size: 15px;
    color: #667085;
    padding: 0.5em;
}
.form-control{
    box-shadow: none !important;
}

.userProfileModalDialog{
    width: 350px; /* Set your desired width */
    right: 0;
    margin-right: 0;
    margin-left: auto;
    transform: none;
}
.dt-search {
    display:none;
}
.fatCol{
    font-weight: bold;
    text-align: center !important;
    z-index: 2;
}

#showRateChart table.dataTable th.dt-type-numeric{
    text-align: center !important;
}

.modal form label, .card label {
    color: #595959 !important;
    align-content: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 550;
    line-height: 24px;
    text-transform: capitalize;
}

#btnForgotPassword {
    color: #7D7D7D;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.modal input:not(.form-check-input), .modal textarea, .modal select, #uploadAgreementButton, select, .card input {
    color: #7A7A7A !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    box-shadow: none !important;
    border-color: #A6A6A6;
    height: 2.35rem;
}

#btn_loginDairyCustomer{
    border-radius: 5px;
    background: #01904B;
}


#showRateTable td.dt-type-numeric:not(.fatCol){
    text-align: -webkit-center;
}
table.dataTable > tbody > tr.child ul.dtr-details > li{
    text-wrap: balance;
    width: 100% !important;
    text-align: left !important;
}
.w-10{
    width: 10% !important;
}
.w-8{
    width: 8% !important;
}
.w-7{
    width: 7% !important;
}
.w-5{
    width: 5% !important;
}
.w-15{
    width: 15% !important;
}
.w-20{
    width: 20% !important;
}
.w-12{
    width: 12% !important;
}
.w-30{
    width: 30% !important;
}
.w-65{
    width: 65% !important;
}
.w-40{
    width: 40% !important;
}
.textWrap{
    text-wrap: balance !important;
}
.mw-10{
    max-width: 10% !important;
}
.mw-90{
    max-width: 90% !important;
}

.bootstrap-select{
    border-color: #A6A6A6;
}

.bootstrap-select .dropdown-toggle:focus{
    outline: none !important;
}

button.btn.dropdown-toggle{
    color: #7A7A7A !important;
}

.dropdown-menu:not(.datepicker) {
    /*    width: auto !important;  Allow dropdown width to adjust based on content */
    /*    max-width: 100% !important;  Prevent the dropdown from overflowing the container */
    /*max-height: 272px !important;*/
    min-height: inherit !important;
    overflow-y: auto !important;
    max-height: 300px !important;
}

.dropdown-menu .inner {
    /*    width: auto !important;  Allow dropdown width to adjust based on content */
    /*    max-width: 100% !important;  Prevent the dropdown from overflowing the container */
    max-height: 230px !important;
    min-height: inherit !important;
    /*overflow-y: auto !important;*/
    max-height: 230px !important;
}
.dropdown-menu ul li a span{
    white-space: normal !important;
}

.dropdown .bootstrap-select .form-control .req .dropup {
    margin-top: 1.5px;
}

#sellProductCartTable_wrapper .dt-scroll-body, #buyProductCartTable_wrapper .dt-scroll-body, #paymentCollectionTable_wrapper .dt-scroll-body,#stockProductTable_wrapper .dt-scroll-body{
    max-height: 150px;
}

div.dt-container .dt-paging .dt-paging-button:hover,div.dt-container .dt-paging .dt-paging-button:active{
    background: none !important;
    background-color: white !important;
    border: none !important;
}

@media (max-width: 767px) {
    #customerHeader{
        display: none;
    }

    #customerHeaderUltimus{
        background: #01904B;
        color: #FFF;
        font: Inter;
        font-size: 30px;
        font-style: normal;
        line-height: 50px;
        padding-left:8px;
        padding-right:8px;
        /*        width:fit-content;*/
    }

    #loginPage{
        display:flex;
        justify-content: center;
        /*align-content: center;*/
    }

    #loginCard{
        width: 22rem;
        margin-top: 0;
        height: 60vh;
        overflow-y: auto;
        padding: 0;
    }
    .dairyTagline{
        text-align: -webkit-center;
        /*        padding: 2vh 0 2vh 0;*/
        align-content: center;
    }

    #loginFormDairyCustomer {
        background-size : cover;
        background-position:0;
    }
    /*    .card-body{
            padding:0;
        }*/
    #customerExampleDiv{
        margin: 0 2rem 0 2rem;
    }
    .externalModal .modal-dialog {
        max-width: 80% !important;
    }
    .externalModal{
        text-align: -webkit-center;
    }
    .headerText{
        color: #333;
        font-size: 0.9em;
        font-style: normal;
        font-weight: 550;
        align-content: center;
    }
    .rc-anchor-light.rc-anchor-normal{
        transform: scale(0.78);
        transform-origin: 0 0;
    }
    #uploadDairymanageLogo{
        max-width:80vw !important;
    }
    .modal-content:not(.externalModal .modal-content, #userProfileModal .modal-content){
        height: 90vh !important;
    }

}

@media screen and (min-width:991px){
    #customerExampleDiv, #rc-imageselect{
        transform:scale(0.92);
        -webkit-transform:scale(0.92);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
    }

    .dairyTagline{
        padding-left: 5rem;
    }

}

@media screen and (max-width: 1366px) and (min-width: 991px) {
    .admin i,
    .agent i {
        width: 100%;
    }
}

@media screen and (max-width:991px){
    .admin,
    .agent {
        text-align: left !important;
    }
    #navbarSupportedContent ul{
        margin-top: 1rem;
    }
    .modal:not(.externalModal) .modal-dialog {
        max-width: 95% !important;
        margin-left: auto;
        margin-right: auto !important;
        align-content: center;
        top:0 !important;
    }
    .externalModal .modal-dialog {
        max-width: 50%;
    }
    .modal-footer button{
        width: 80px;
    }
    .modal-footer{
        justify-content: center !important;
    }
   .page form{
        width:100% !important;
    }
}



