﻿.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #E90000;
    --bs-btn-border-color: #E90000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff7700;
    --bs-btn-hover-border-color: #ff7700;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff7700;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #E90000;
    --bs-btn-disabled-border-color: #E90000;
}

.header-nav .nav-profile {
    color: white;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #FCDBBE;
    --bs-btn-border-color: #FCDBBE;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #FCDBBE;
    --bs-btn-hover-border-color: #FCDBBE;
    --bs-btn-focus-shadow-rgb: 130,138,145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #FCDBBE;
    --bs-btn-active-border-color: #FCDBBE;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #FCDBBE;
    --bs-btn-disabled-border-color: #FCDBBE;
}

.form-control:focus {
    /*color: #212529;*/
    background-color: #fff;
    border-color: #ffaeae;
    outline: 0;
    box-shadow: 0 0 0 0.05rem #ffaeae;
}

.form-select:focus {
    border-color: #ffaeae;
    outline: 0;
    box-shadow: 0 0 0 0.05rem #ffaeae;
}

.btn-primary:hover {
    color: #ffaeae;
    /*background-color: #ffaeae;*/
    /*border-color: #ffaeae;*/
}

footer {
    position: fixed;
    height: 50px;
    bottom: 0;
    width: 100%;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: white;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgb(1 41 112 / 10%);
    background-color: #E90000;
    padding-left: 20px;
}

.sidebar {
    background-color: #f6f9ff;
}

#sidebar-nav li.nav-item {
    border-bottom: 1px solid #ccc;
}

.sidebar:hover {
    background-color: #f6f9ff;
}

.sidebar-nav .nav-link:hover {
    /*color: #4154f1;*/
    background: #f6f9ff;
    font-weight: bold;
}

.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 5px #ffaeae;
}
.card1 {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 5px #ffaeae;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

a.nav-link.active {
    font-weight: bold;
}

.leftbar {
    border-right: 1px solid #e9ecef;
}

.filter {
    position: absolute;
    right: 0px;
    top: 16px;
}

a:hover {
    /* color: #ffaeae;*/
    color: rgba(0, 0, 0, 0.7);
    font-weight: bold;
}
.card-title1 {
    padding: 20px 0 0px 0;
}
.upper {
    text-transform: uppercase;
}
.summarypage {
    color: #eba61b;
}
.datepicker {
    transform: translate(0, 3.1em);   
}
.divalignctr{
    align-items:center;
}
.divellipsis {
    display: inline-block;
    width: 500px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.divellipsis1 {
    display: inline-block;
    width: 100px;
    height:60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.textarea {
    overflow-y: scroll;
    resize: none;
}
.pendingpayment {
    background-color: white;
    --bs-btn-border-color: #ffaeae;
    color: #ffaeae;
}

.pendingpayment1 {
    background-color: #ffaeae;
    --bs-btn-border-color: #ffaeae;
    color: white;
}
.card-body1 {
    padding: 0 2px 2px 2px;
}


#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 51%;
    transform: translate(-51%, -50%);
    background-color: rgb(255, 255, 255);
    padding: 20px;
    max-width: 80%;
    width: 300px;
    box-shadow: rgba(255, 119, 0.65) 0px 25px 20px -20px;
    border-radius: 15px;
    border: 1px groove rgb(255, 134, 0.4);
    width: 31%
}

@media (max-width: 1024px) {
    #popup {
        max-width: 90%;
        width: 420px;
        padding: 15px;
    }
}


@media (max-width: 768px) {
    #popup {
        max-width: 90%;
        width: 400px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    #popup {
        width: 380px;
        padding: 10px;
    }
}


#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 51%;
    transform: translate(-51%, -50%);
    background-color: rgb(255, 255, 255);
    padding: 20px;
    max-width: 80%;
    width: 300px;
    box-shadow: rgba(233,0, 0.65) 0px 25px 20px -20px;
    border-radius: 15px;
    border: 1px groove rgb(233,0, 0.4);
    width: 31%
}


@media (max-width: 1024px) {
    #popup {
        max-width: 90%;
        width: 420px;
        padding: 15px;
    }
}


@media (max-width: 768px) {
    #popup {
        max-width: 90%;
        width: 400px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    #popup {
        width: 380px;
        padding: 10px;
    }
}


#popup_content {
    position: relative;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
}


#okButton {
    background-color: #e90000;
    padding: 0.8em 1.5em;
    border-radius: 5px;
    border: none;
    user-select: none;
    cursor: pointer;
    font-size: 18px;
    color: #FFFF;
    margin-left: 75%;
    font-weight: 900;
}

h20 {
    position: relative;
    margin: 0px 0px 35px 0px;
}

    h20::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #e90000;
    }

#popup_header {
    color: #ff322a;
}

.popup-header {
    color: #ff322a;
}

#errorText{
    color:black;
    font-size:large;
    font-weight:bold;
    margin-top:5px;
}