html {
    font-size: 14px;
}

*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
    border-radius: 10px;
}

*::-webkit-scrollbar {
    height: 10px;
    width: 10px;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #000000;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .clickable-td {
        text-align: start !important;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1600px !important;
        padding-bottom: 26px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body.login-wrapper .container-fluid {
    margin-bottom: 0px;
    background: url('/images/BMC Image.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left 50%;
}

body {
    margin-bottom: 60px;
    font-family : Cambria !important;
}

.main-wrapper {
    min-height: 100vh;
}

#tableWithoutBorder, #tableWithBorder {
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid darkgray;
}

#commonTable {
    overflow-y: auto;
    max-height: 70vh;
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    background-color: white;
}

thead {
    background: #d0e8f7 !important;
    position: sticky;
    top: -1px;
    z-index: 1;
}

th {
    vertical-align: middle;
    color: black;
    padding: 13px !important;
    border: 1px solid #C0C0C0 !important;
}

td {
    vertical-align: middle;
}

.table-bordered > :not(caption) > * > * {
    white-space: nowrap !important;
}

.table > :not(:last-child) > :last-child > * {
    border: none
}

.ulstyle {
    text-align: left;
}

.custom-card {
    box-shadow: 0px 0px 6px 2px #dee2e6;
    border-radius: 6.5px;
    width: 100%;
}

#tableWithBorder .table-bordered > :not(caption) > * {
    border-width: 1px;
}

    #tableWithBorder .table-bordered > :not(caption) > * > * {
        max-width: 19.3%;
        width: 100%;
        border-color: darkgray !important;
    }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.paginationInput {
    width: 50px;
    margin-left: 10px;
    text-align: center
}

.logo {
    height: 70px;
    width: 70px;
    margin: 15px;
}

#add-complaint .wrapper,
#add-matter .wrapper {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    #add-complaint .wrapper::before,
    #add-matter .wrapper::before {
        content: "";
        position: absolute;
        height: 4px;
        width: 100%;
        background: #0574a9;
        opacity: 0.5;
    }

#add-complaint .complaineetext,
#add-matter .complaineetext {
    text-align: center;
    width: 205px;
    height: auto;
    background-color: white;
    z-index: 1
}

#add-complaint #upload-file-image-preview,
#add-matter #upload-file-image-preview {
    display: flex;
    left: 50%;
    flex-wrap: wrap;
}

#upload-file-image-preview .img-div {
    position: relative;
    margin-right: 10px;
}

#upload-file-image-preview .img-responsive {
    max-width: 100%;
    height: auto;
}


#add-complaint #upload-file-image-preview .filename,
#add-matter #upload-file-image-preview .filename {
    display: block;
    text-align: center;
    margin-top: 2px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#upload-file-image-preview .filename {
    display: block;
    text-align: center;
    margin-top: 2px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


#upload-file-image-preview .img-thumbnail {
    width: 160px;
    height: 145px;
    padding: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.openModalBtn {
    cursor: pointer;
}

.button-disabled {
    pointer-events: all;
    opacity: 0.6;
    color: aliceblue;
    cursor: not-allowed !important;
}

#displayColorWithLevel .colorDiv {
    width: 20px;
    height: 20px;
    border: 1px solid black;
}

.navbar {
    padding-bottom: 0;
}

.nav-link.active {
    font-weight: bold;
    background-color: #FAFBFB;
}

.form-group {
    margin-bottom: 8px;
}

.radio-container {
    display: flex;
    align-items: center;
}

.container {
    padding-bottom: 0;
}

.radio-group {
    display: flex;
    gap: 30px;
}

.tablet-only {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .bottom-wrapper {
        flex-direction: column;
    }

    .main-content .custom-justify-center {
        display: flex;
        justify-content: center !important;
    }

    .main-content-wrapper {
        width: 100%;
    }

    .desktop-only {
        display: none;
    }

    .tablet-only {
        display: block;
    }
}

::-webkit-file-upload-button,
::file-selector-button {
    display: none;
}

.custom-border {
    border-color: black !important;
}

.complaint-display {
    border: 1px solid #e9e9e9;
    padding: 10px;
    box-shadow: 0px 0px 8px -3px grey;
}

#custom-card {
    border-radius: 10px;
    box-shadow: 0px 0px 6px 2px #dee2e6;
}


.filter-button {
    width: 100px;
    height: 42px;
}

.report-button {
    height: 42px;
}

hr {
    color: black !important;
    opacity: 1 !important;
}

.profile-section {
    height: 35px;
    width: 35px;
    border-radius: 50%;
}

.otp-input {
    width: 40px !important;
    text-align: center;
    font-size: 24px !important;
    border-color: black !important;
}

.yellow-color {
    color: gold;
}

#remove-reopen-message {
    cursor: pointer;
    border: 1px solid black;
    border-radius: 50%;
    padding-left: 7px;
    padding-right: 7px;
    margin-bottom: 5px;
    margin-right: 5px;
}

.clickable-td {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: black;
}

/* Login CSS*/
.login-wrapper .card-wrapper .card-body:before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: '';
    background: rgba(255, 255, 255, 0.68);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.3px);
    -webkit-backdrop-filter: blur(8.3px);
    z-index: 0;
}

.login-box-wrapper {
    border: none !important;
    padding: 20px !important;
    max-width: 450px;
    width: 100%;
    margin: auto 0;
    border-radius: 10px;
    background-color: transparent !important;
    position: relative;
}

.switch-toggle-button {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 24px;
}

    .switch-toggle-button input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.title-custom-font-size {
    font-size: 3.5rem;
    margin-bottom: 0;
}

.custom-cta-padding {
    padding: 7px 13px;
}

.login-box-wrapper {
    margin-top: 43px;
}

@media(max-width: 991px) {
    .title-custom-font-size {
        font-size: 2.5rem;
    }

    .subtitle-custom-font-size {
        font-size: 1.5rem;
    }
}

@media(max-width: 768px) {
    .title-custom-font-size {
        font-size: 2rem;
    }

    .subtitle-custom-font-size {
        font-size: 1.3rem;
    }

    .complaint-form {
        flex-direction: column;
    }

    .cta-wrapper {
        flex-wrap: wrap;
    }
}

@media(max-width: 500px) {
    .login-title-wrapper {
        padding: 1.5rem 0 !important;
    }

    .title-custom-font-size {
        font-size: 1.5rem;
    }

    .subtitle-custom-font-size {
        font-size: 0.9rem;
    }

    .login-cta-wrapper {
        align-items: center;
        position: relative;
        /*overflow: hidden;*/
    }

    .login-box-wrapper {
        margin-top: 0px;
        padding: 20px 0 !important;
    }

    .login-cta-wrapper .custom-cta-padding {
        font-size: 0.6rem;
        padding: 6px 7px;
        line-height: normal;
    }


    .float-container a i {
        padding: 2px 5px !important;
        font-size: 14px !important;
    }

    .login-wrapper .float-container a.feedback {
        height: 25px !important;
        margin-right: -123px !important;
    }

    .float-container {
        height: 25px !important;
    }

    ..login-wrapper float-container a:hover{
        margin-right: 0!important;
    }
}

.required::after {
    content: "*";
    color: red;
}

.disabled-input {
    background-color: #eee !important;
}

.AddFeedback, .LoginForCitizen, .ForgotPasswordForUser {
    background: url('../images/backdrop.jpg') no-repeat;
    background-size: cover;
    margin-bottom: 0;
}

.AddFeedback .inner-content, .ForgotPasswordForUser .inner-content, .LoginForCitizen .inner-content {
    display: none;
}

.AddFeedback main, .ForgotPasswordForUser main, .LoginForCitizen main,.login-wrapper.Auth main {
    min-height: 0 !important;
}

.inner-content .container .card {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    margin-bottom: 20px;
}

.inner-content .container .card-text {
    text-align: center;
}

.inner-content .container .card:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.16), 0 4px 10px rgba(0,0,0,0.23);
}

.required::after {
    content: "*";
    color: red;
}

@media (max-width: 991px) {
    .inner-content .container {
        flex-direction: column;
    }
}

.btn {
    white-space: nowrap
}

.btn-download {
    background-color: white;
    color: black;
    border: 2px solid #3498db;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

    .btn-download:hover {
        background-color: #3498db;
        color: white;
    }

.arrow-container {
    display: flex;
    flex-direction: column;
}

.bi-caret-down::before {
    content: "\f22c";
    position: absolute;
}

.bi-caret-down-fill::before {
    content: "\f229";
    position: absolute;
}

.bi-caret-up-fill::before {
    content: "\f235";
    position: absolute;
}

.bi-caret-up::before {
    content: "\f238";
    position: absolute;
}

button {
    white-space: nowrap;
}

/* Add and Update form responsive */
.form-content-wrapper {
    display: flex;
}

    .form-content-wrapper .complaint-type {
        width: 100%;
        flex-wrap: wrap;
    }

@media (max-width: 767px) {
    .department-wrapper, .complaint-type {
        flex-direction: column;
        padding: 0 !important;
    }

    .department-wrapper .did-floating-label-content, .complaint-type .did-floating-label-content {
        max-width: 95% !important;
        width: 100% !important;
    }

    .AddFeedback .feedbackimg{
        max-width: 300px;
    }
    .AddFeedback h2{
        font-size: 20px;
    }

}

/*Design for feedback button*/
    
.float-container {
    position: absolute;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    width: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    z-index: 11;
}

    .float-container a {
        z-index: 99;
        display: flex;
        width: 150px;
        margin-right: -100px;
        margin-bottom: 10px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        text-decoration: none;
        color: white;
        border-color: #0574a9;
        border-radius: 5px 0 0 5px;
        background-color: var(--cu-button-2);
        box-shadow: 0 2px 4px #7d7d7d59;
        align-items: center;
        justify-content: flex-start;
        font-family: Cambria;
    }

        .float-container a:hover {
            margin-right: 0 !important;
            -webkit-box-shadow: 0 2px 4px #7d7d7d59;
            box-shadow: 0 2px 4px #7d7d7d85;
        }

        .float-container a i {
            padding: 8px 15px;
            font-size: 20px;
        }

        .float-container a span {
            padding: 8px;
            font-size: 16px;
        }

        .float-container a.feedback {
            background: #f8c426;
            color: #000;
            height: 35px !important;
        }

#star-rating {
    text-decoration: none;
    outline: none;
    -moz-transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.feedbackimg {
    max-height: 150px;
    max-width: 700px;
}

.total-count-parent {
    display: flex;
    margin: 15px;
    gap: 20px;
}

.total-count {
    display: flex;
    flex-direction: column;
    padding: 6px;
    word-wrap: break-word;
    background-clip: border-box;
    min-width: 250px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    max-height: 115px;
    background-color: lightblue;
}

.fix-width {
    min-width: 400px;
    max-width: 400px;
    width: 100%;
}

.password-validation{
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.page-heading {
     margin-left: 30px;
}

.direct-preview-file, .direct-download-file, .remove-file {
    font-size: 20px;
    color: black;
    padding: 2px 5px;
    cursor: pointer;
}

.preview-document-button {
    padding-top: 0;
    padding-bottom: 0;
    height: 25px;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* multiple row file attachment*/
.image_preview {
    display: flex;
    left: 50%;
    flex-wrap: wrap;
}

.image_preview .img-div {
    position: relative;
    margin-right: 10px;
}

.image_preview .img-responsive {
    max-width: 100%;
    height: auto;
}

.image_preview .filename {
    display: block;
    text-align: center;
    margin-top: 2px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.image_preview .img-thumbnail {
    width: 160px;
    height: 145px;
    padding: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* multiple row file attachment*/

/*to disable non-select2 field*/
.readonly-select {
    background-color: #e9ecef !important;
    pointer-events: none;
}

.inter-department-wrapper {
    max-height: 42px;
    width: 300px !important;
}

/*status budge*/
.status-badge {
    padding: 3px 10px;
    font-size: 13px;
    border: 1px solid;
    border-radius: 25px;
    font-weight: bold;
    background-color: white;
}

.status-completed {
    color: #28a745;
    border: 2px solid #28a745;
}

.status-pending {
    color: #ffc107;
    border: 2px solid #ffc107;
}

.status-cancelled {
    color: #dc3545;
    border: 2px solid #dc3545;
}
/*status budge*/


/*icons style*/
tr td a {
    padding: .375rem .45rem !important;
}

.feather-icon {
    border: 1.5px solid #746d6d;
    border-radius: 50%;
    background-color: white;
    font-size: 17px !important;
}
/*icons style*/

/*Expand details table*/
#tableWithoutBorder .details-box {
    display:flex;
    justify-content:space-around;
    gap:15px;
    padding:8px;
    background:#fafafa;
    border-radius:3px;
}

#tableWithoutBorder .details-card {
    padding:8px;
}

#tableWithoutBorder .details-card p {
    margin-bottom:5px;
    font-weight:bold;
}

#tableWithBorder .details-box {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    padding: 8px;
    background: #fafafa;
    border-radius: 3px;
}

#tableWithBorder .details-card {
    padding: 8px;
}

#tableWithBorder .details-card p {
        margin-bottom: 5px;
        font-weight: bold;
    }
/*Expand details table*/

.compact-col {
    padding-left: 2px !important;
    padding-right: 2px !important;
    width: 1%;
    white-space: nowrap;
}