﻿
.form-panel {
    width: 80%;
}

.grid-container {
    width: 95%; /* Adjust the width as needed */
    margin: 0 auto; /* Center the grid container */
}

.centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.div-table-bordered {
    border: 1px solid #dee2e6 !important; /* Ensure this rule takes precedence */
}

.table.table-hover.table-striped.table-bordered[theme=corporate] thead {
    background-color: #04519b;
    color: white; /* Set the text color as needed */
}

.table.table-hover.table-striped.table-bordered[theme=corporate] .col-title {
    gap: 0.4rem !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    color: white !important; /* Set the text color for the header cells */
    background-color: #04519b !important;
    border: none;
}
/* Default style with white background */
.col-sort-desc .sort-indicator,
.col-sort-asc .sort-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M 2 3.25 L 12 20.75 L 22 3.25 L 12 10 z"></path></svg>') !important;
}

/* Additional style for ascending sort */
.col-sort-asc .sort-indicator {
    transform: scaleY(-1);
}

.content {
    position: relative;
    display: flex;
    align-items: end;
}

.search-container {
    position: relative;
    width: 300px; /* Adjust the width as needed */
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 5px; /* Adjust the distance from the input */
    transform: translateY(-50%);
    width: 20px; /* Adjust the width of the icon */
    height: 20px; /* Adjust the height of the icon */
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='rgb(107 114 128)' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.label-wrapper {
    width: 100%; /* Set a specific width or adjust as needed */
    white-space: nowrap; /* or use 'wrap' depending on your design */
    text-align: left;
    font-weight: bold;
}

.error-message {
    max-width: max-content; /* Adjust the width as needed */
    white-space: nowrap; /* Prevent wrapping */

    text-overflow: ellipsis; /* Display ellipsis (...) for overflow */
}

.alert-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.alert {
    position: relative;
    padding: 0.75rem 1rem; /* Adjust padding as needed */
    margin: 0; /* Remove margin to align with the search box */
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.close-btn {
    position: absolute;
    top: 0.0rem; /* Adjust the top position as needed */
    right: 0.5rem; /* Adjust the right position as needed */
    padding: 0.0rem; /* Adjust padding as needed */
    cursor: pointer;
    color: black; /* Adjust the color as needed */
}

.chk-size {
    height: 24px;
    width: 20%;
}

.textCenter {
    justify-content: center;
    margin-top: 20px;
}

.edit-button {
    display: inline-block;
    border: none;
    width: 24px;
    height: 24px;
    background-image: url('../images/Edit_Icon.png');
    background-color: transparent;
    transform: scale(0.75);
    transform-origin: left;
    background-repeat: no-repeat;
    outline: none;
}
.save-button {
    display: inline-block;
    border: none;
    width: 24px;
    height: 24px;
    background-image: url('../images/save.png');
    background-color: transparent;
    transform: scale(0.75);
    transform-origin: left;
    background-repeat: no-repeat;
    outline: none;
}
.custom-dropdown-toggle {
    background-color: #115ba4 !important; /* Custom background color */
    color: white !important; /* Custom text color */
    border: none !important; /* Removes the border */
}

.table tbody td.textleft-column {
    text-align: left !important;
}

.table tbody td.textright-column {
    text-align: right !important;
}
.text-custom-color {
    color: #115ba4 !important;
}
.icon-svg {
    height: 1em; /* Adjust based on your design */
    vertical-align: middle;
    margin-right: 8px; /* Your original spacing */
}

.create-survey-sample-btn {
    background-color: #396f3d;
    color: white;
}

.view-cpi-cases-btn {
    background-color: #115ba4;
    margin-left: 5px;
}
.discard-button {
    background-color: #396f3d;
    margin-right: 5px;
}
.create-review-sample-btn {
    background-color: #396f3d;
}
.view-cm-cases-btn {
    background-color: #115ba4;
    margin-left: 5px;
}
.btn-blue-text-white {
    background-color: #115ba4;
    color: white;
    border: none; /* Optional: removes the border */
}
.btn-green-text-white {
    background-color: #396f3d !important;
    color: white !important;
    border: none !important; /* Optional: removes the border */
}
.border-bottom-gray {
    border-bottom: solid 1px #ddd;
}
.padding-right-80 {
    padding-right: 80px;
}
.padding-right-custom {
    padding-right: 80px; /* Adjust the value as needed */
}
.custom-navbar {
    background-color: #115ba4 !important;
    display: flex !important;
    justify-content: flex-end !important; /* Align items to the right */
    border-bottom: none !important;
}

.search-text-box{
    padding-left:25px !important;
    padding-top:5px !important;
    padding-bottom:5px !important;
    height:40px;
}

.custom-green-button {
    color: white !important;
    background-color: #396f3d !important; /* Green background */
    margin-right: 10px !important; /* Spacing to the right */
}

.custom-blue-button {
    color: white !important;
    background-color: #115ba4 !important; /* blue background */
    /*margin-right: 10px;*/ /* Spacing to the right */
}

.sign-out-link {
    margin-right: 50px; /* Or use padding-right: 20px; depending on your needs */
}


.addNewButton {
    background-color: #396f3d !important;
    float: left;
}

.save-button-window {
    background-color: #396f3d !important;
    width: 80px;
}

.clear-button-window {
    background-color: #115ba4 !important;
    width: 80px;
}

.save-button-green {
    background-color: #396f3d !important;
}

.view-button-blue {
    background-color: #115ba4 !important;
}

.nav-menu-background {
    /* background: #115ba4 !important;*/
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.nav-menu-background-right {
    /* background: #115ba4 !important;*/
    background: transparent !important;
    display: flex !important;
    justify-content: right !important;
    align-items:end !important;
}

.nav-dropdown-button {
    align-self: flex-start; /* Align the item to the start of the cross axis (top in a row layout) */
    margin-top: 0; /* Optional: Remove any top margin */
    /*background: #115ba4 !important;*/
    background: transparent !important;
    color: white !important;
    border: 0 !important;
}

/* CSS file */
.app-bar-space {
    flex-grow: 1 !important;
    min-width: 100px !important;
}
.custom-appbar-padding {
    padding-top: 1px !important; /* Adjust according to your needs */
    padding-bottom: 1px !important; /* Adjust according to your needs */
}
.nav-menu-background, .nav-dropdown-button {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.MyTelerikNotification .k-notification-container .k-notification {
    width: 350px;
    height: 30px;
    font-size: 1em;
    float: left;
    margin-left: 20px;
    margin-top: 20px;
}
.PDFviewerPopup{
    left:350px !important;
    width:50%;

}
.no-box-shadow {
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    background-color: transparent !important;
}
.button-no-border-background{
    border:none!important;
    background:none;
}
.label-survey-block-question {
    font-weight: bold;
}
.edit-button-grid
{
    background:none !important;
    border : none !important;
}
.check-required-flag{
    border : solid 1px black !important;
}
.swal-overlay--show-modal {
    z-index: 99999 !important;
}
.swal-modal {
    width: 346px !important;
    font-size: 14px !important;
}
.swal-icon{
    height:40px !important;
    width:40px !important;
    margin : 5px auto !important;
}
.swal-footer{
padding:5px !important
}
.swal-icon--warning__body{
height:15px !important;
}
.swal-icon--success{
   display: none !important;
}
.swal-text {
    padding-top: 20px !important;
}
.swal-button--confirm {
    background-color: #396f3d !important;
    height: 40px !important;
}
.swal-button--cancel{
    width:92px;
    height:40px;
}
.swal-icon--error__line{
    height:3px !important;
    width:35px !important;
    position:unset !important;
}
.swal-icon--error__line--left {
    transform: rotate(38deg) !important;
}
.swal-icon--error__line--right {
    transform: rotate(-49deg) !important;
}
.swal-icon--error__x-mark{
    margin-top:16px;
    margin-left:3px;
}
/* Specific overrides for Telerik components if needed */
.k-appbar {
    box-shadow: none !important; /* Removes any shadow that might be causing visual issues */
}
.k-input-solid.k-valid {
    box-shadow: none !important;
    border-color: #ced4da !important;
}
@media (max-width: 480px) {
    .nav-menu-background {
        /* Ensure the AppBar takes full width */
        width: 100% !important;
        box-sizing: border-box !important;
    }

        .nav-menu-background .nav-link {
            /* Adjust the font size and padding for smaller screens if necessary */
            padding: 0rem 0.5rem !important;
            font-size: smaller !important;
        }

    /* Adjust any other specific components as needed */
}

@media (max-width: 480px) {
    .footer {
        flex-direction: column !important;
    }

        .footer > div,
        .footer > span {
            /* On small screens, give a little more vertical space between items */
            margin-bottom: 0.5rem !important;
        }

        .footer > div {
            justify-content: center !important;
        }

        .footer a,
        .footer span {
            /* This ensures the text is big enough to be legible and clickable on small screens */
            font-size: smaller !important;
        }
}
@media (min-width: 992px) {
    .nav-link, .nav-dropdown-button {
        font-size: medium !important; /* Adjusts font size for large screens */
    }

        /* You may need to target the text within the DropDownButtonContent explicitly */
        .nav-dropdown-button .k-button .k-button-content,
        .nav-dropdown-button .k-button span {
            font-size: medium !important;
        }
}

.custom-appbar-padding {
    visibility: hidden !important; /* Hide during initial load */
}

.is-loaded .custom-appbar-padding {
    visibility: visible !important; /* Show only after load */
}

.height-textbox-userType{
    height:40px;
}
