/* Styles for Confirmation popup */

#promptbutton {
    width: 78px;
    height: 28px;
    background-image: -webkit-linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 72));
    background-image: -moz-linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 72));
    background-image: -o-linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 72));
    background-image: -ms-linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 72));
    background-image: linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 72));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#feda71', EndColorStr='#feba48');
    border: 1px solid #ca9336;
    -webkit-box-shadow: inset 0px 1px 0px #fee395, 0px 1px 1px rgba(0,0,0,.15);
    -moz-box-shadow: inset 0px 1px 0px #fee395, 0px 1px 1px rgba(0,0,0,.15);
    box-shadow: inset 0px 1px 0px #fee395, 0px 1px 1px rgba(0,0,0,.15);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 28px;
    color: #996633;
    text-shadow: 0px 1px 0px rgba(255,255,255,.4);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -14px;
    margin-left: -39px;
}

    #promptbutton:hover {
        background-image: -webkit-linear-gradient(top, rgb(254, 194, 82), rgb(254, 205, 97));
        background-image: -moz-linear-gradient(top, rgb(254, 194, 82), rgb(254, 205, 97));
        background-image: -o-linear-gradient(top, rgb(254, 194, 82), rgb(254, 205, 97));
        background-image: -ms-linear-gradient(top, rgb(254, 194, 82), rgb(254, 205, 97));
        background-image: linear-gradient(top, rgb(254, 194, 82), rgb(254, 205, 97));
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#fec252', EndColorStr='#fecd61');
        -webkit-box-shadow: inset 0px 1px 0px #fed17e, 0px 1px 1px rgba(0,0,0,.1);
        -moz-box-shadow: inset 0px 1px 0px #fed17e, 0px 1px 1px rgba(0,0,0,.1);
        box-shadow: inset 0px 1px 0px #fed17e, 0px 1px 1px rgba(0,0,0,.1);
    }

.promptbutton {
    width: 138px;
    height: 33px;
    font-size: 13px;
    font-weight: bold;
    line-height: 33px;
    color: #fff;
    text-shadow: 0px 1px 0px rgba(0,0,0,.2);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0px 1px 0px rgba(255,255,255,.5), 0px 1px 2px rgba(0,0,0,.3);
    -moz-box-shadow: inset 0px 1px 0px rgba(255,255,255,.5), 0px 1px 2px rgba(0,0,0,.3);
    box-shadow: inset 0px 1px 0px rgba(255,255,255,.5), 0px 1px 2px rgba(0,0,0,.3);
    float: left;
}

    .promptbutton img {
        float: left;
        width: 33px;
        height: 33px;
    }

.promptbutton {
    cursor: pointer;
}


    .promptbutton.green {
        background: -webkit-linear-gradient(top, rgba(170,212,79,1) 0%,rgba(116,185,49,1) 90%,rgba(106,173,45,1) 95%,rgba(96,157,41,1) 100%);
        background: -moz-linear-gradient(top, rgba(170,212,79,1) 0%,rgba(116,185,49,1) 90%,rgba(106,173,45,1) 95%,rgba(96,157,41,1) 100%);
        background: -o-linear-gradient(top, rgba(170,212,79,1) 0%,rgba(116,185,49,1) 90%,rgba(106,173,45,1) 95%,rgba(96,157,41,1) 100%);
        background: -ms-linear-gradient(top, rgba(170,212,79,1) 0%,rgba(116,185,49,1) 90%,rgba(106,173,45,1) 95%,rgba(96,157,41,1) 100%);
        background: linear-gradient(top, rgba(170,212,79,1) 0%,rgba(116,185,49,1) 90%,rgba(106,173,45,1) 95%,rgba(96,157,41,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aad44f', endColorstr='#609d29',GradientType=0 );
        border: 1px solid #5b8821;
        margin: 0 5px 0 35px;
    }

    .promptbutton.red {
        background: -webkit-linear-gradient(top, rgba(248,114,136,1) 0%,rgba(243,71,85,1) 90%,rgba(225,65,77,1) 95%,rgba(206,59,70,1) 100%);
        background: -moz-linear-gradient(top, rgba(248,114,136,1) 0%,rgba(243,71,85,1) 90%,rgba(225,65,77,1) 95%,rgba(206,59,70,1) 100%);
        background: -o-linear-gradient(top, rgba(248,114,136,1) 0%,rgba(243,71,85,1) 90%,rgba(225,65,77,1) 95%,rgba(206,59,70,1) 100%);
        background: -ms-linear-gradient(top, rgba(248,114,136,1) 0%,rgba(243,71,85,1) 90%,rgba(225,65,77,1) 95%,rgba(206,59,70,1) 100%);
        background: linear-gradient(top, rgba(248,114,136,1) 0%,rgba(243,71,85,1) 90%,rgba(225,65,77,1) 95%,rgba(206,59,70,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f87288', endColorstr='#ce3b46',GradientType=0 );
        border: 1px solid #b0333e;
        margin: 0 35px 0 5px;
    }

.reveal-modal-bg {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
    top: 0;
    left: 0;
    background: #000;
    background: rgba(0,0,0,.4);
}

.PromptModal {
    visibility: hidden;
    width: 360px;
    height: 189px;
    padding: 8px;
    background: rgba(0,0,0,.3);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    margin-top: -94px !important;
    margin-left: -180px !important;
    z-index: 999;
}

.PromptHeading {
    width: 360px;
    height: 44px;
    background-image: -webkit-linear-gradient(top, rgb(249, 249, 249), rgb(233, 233, 233));
    background-image: -moz-linear-gradient(top, rgb(249, 249, 249), rgb(233, 233, 233));
    background-image: -o-linear-gradient(top, rgb(249, 249, 249), rgb(233, 233, 233));
    background-image: -ms-linear-gradient(top, rgb(249, 249, 249), rgb(233, 233, 233));
    background-image: linear-gradient(top, rgb(249, 249, 249), rgb(233, 233, 233));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#f9f9f9', EndColorStr='#e9e9e9');
    border-bottom: 1px solid #bababa;
    -webkit-box-shadow: inset 0px -1px 0px #fff, 0px 1px 3px rgba(0,0,0,.08);
    -moz-box-shadow: inset 0px -1px 0px #fff, 0px 1px 3px rgba(0,0,0,.08);
    box-shadow: inset 0px -1px 0px #fff, 0px 1px 3px rgba(0,0,0,.08);
    -webkit-border-radius: 4px 4px 0px 0px;
    -moz-border-radius: 4px 4px 0px 0px;
    border-radius: 4px 4px 0px 0px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 44px;
    color: #444444;
    text-shadow: 0px 1px 0px #fff;
}

.PromptContent {
    width: 360px;
    height: 144px;
    background: #fcfcfc;
    -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.25);
    -moz-box-shadow: 0px 1px 3px rgba(0,0,0,.25);
    box-shadow: 0px 1px 3px rgba(0,0,0,.25);
    -webkit-border-radius: 0px 0px 4px 4px;
    -moz-border-radius: 0px 0px 4px 4px;
    border-radius: 0px 0px 4px 4px;
}

    .PromptContent p {
        font-size: 13px;
        font-weight: normal;
        text-align: center;
        line-height: 22px;
        color: #555555;
        width: 100%;
        float: left;
        margin: 19px 0 !important;
    }


/* Styles for Information popup */

#ConfirmPromptYes {
    margin-left: 95px;
    width: 70px;
}

#ConfirmPromptModal {
    width: 260px;
}

#ConfirmPromptHeading {
    text-align: left;
    width: 260px;
}

#ConfirmPromptContent {
    width: 260px;
}


.boxSecModule {
    width: 95%;
    clear: both;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: #fff;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(69,69,69,1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(69,69,69,1);
    box-shadow: 0px 0px 5px 0px rgba(69,69,69,1);
    margin: 10px 20px 10px 10px;
}

.boxtitleModule {
    width: 100%;
    clear: both;
    color: white;
    background: #5466a2;
    overflow: hidden;
    padding: 15px 25px;
    /*height: 90px;*/
    display: flex;
    flex-flow: wrap;
    align-content: center;
}

.oddModule {
    background: #E8E8E8;
}

.actFeedRowModule {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    clear: both;
    padding: 0px 20px;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
}

    .actFeedRowModule:hover {
        background: #E8E8E8;
    }

    .actFeedRowModule a.viewlink {
        float: right;
        font-size: 16px;
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
        background: #3473FF;
        width: 95px;
        height: 33px;
        border-radius: 6px;
        display: block;
        text-align: center;
        line-height: 33px;
    }

.documentlibraryfoldericon {
    color: #3473ff;
    padding-right: 10px;
}

.documentlibraryfileicon {
    color: #3ebaa7;
    padding-right: 10px;
}



.documentLibraryDownloadLink {
    text-decoration: none;
}

.documentlibraryfileP {
    margin-top: 10px;
}

.documentFolderFile {
    font-size: 0.85em;
    font-weight: bold;
    color: #767676;
}


.communityNewsTitle {
    color: white;
    font-weight: bolder;
    font-size: 1.2em;
}

.modal {
    z-index: 1050 !important;
}

#staticBackdrop {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.leftside {
    z-index: 1000 !important;
}

.side-menu-wrapper {
    z-index: 1000 !important; 
}

.side-menu-overlay {
    z-index: 999 !important; 
}

.modal-open .leftside {
    pointer-events: none !important;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.modal-open .side-menu-wrapper {
    pointer-events: none !important;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.modal-open .slide-menu-open {
    pointer-events: none !important;
    opacity: 0.5;
}

.modal-open .leftside a,
.modal-open .leftside button,
.modal-open .side-menu-wrapper a,
.modal-open .side-menu-wrapper button {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.modal-open .side-menu-wrapper {
    right: -320px !important;
}

.modal-open .side-menu-overlay {
    width: 0px !important;
    opacity: 0 !important;
}

.forgetpwd a {
    text-decoration: none;
}

    .forgetpwd a:hover {
        text-decoration: underline;
    }

.hauto {
    height: auto !important;
}

.backnavigation {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em
}

.containerBoxShadow {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(69,69,69,1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(69,69,69,1);
    box-shadow: 0px 0px 5px 0px rgba(69, 69, 69, 1);
}

.horizontalLine {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000000000; /* Higher than the modal */
    pointer-events: auto; /* Ensure that clicks are captured by the overlay */
}

.no-events-message {
    padding: 10px;
    text-align: center;
}

/* DevExtreme FileUploader component */
.enhanced-drop-zone {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 2px dashed #c8c8c8;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.file-uploader-dragover-active,
.drag-over {
    border-color: #5c7cfa !important;
    background-color: #eef2ff !important;
    box-shadow: 0 0 10px rgba(92, 124, 250, 0.3);
}

#fileuploader-container {
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 4px;
}

.dx-fileuploader-dragover-area {
    border-radius: 4px;
}

.dx-fileuploader-input-wrapper {
    border: none;
    padding: 15px 0;
}

.dx-fileuploader-button {
    margin-right: 20px;
}

    .dx-fileuploader-button .dx-button {
        background-color: #5c7cfa;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 4px;
    }

        .dx-fileuploader-button .dx-button:hover {
            background-color: #4263eb;
        }

.dx-fileuploader-input-label {
    color: #6c757d;
    font-weight: normal;
}

/* DevExtreme HTML Editor popup z-index fixes for modals */
.dx-popup-wrapper {
    z-index: 2000 !important;
}

.dx-overlay-wrapper {
    z-index: 2000 !important;
}

.dx-popup {
    z-index: 2001 !important;
}

.dx-popup-content {
    z-index: 2002 !important;
}

.dx-colorview-popup {
    z-index: 2003 !important;
}

.dx-dropdowneditor-overlay {
    z-index: 2003 !important;
}

.dx-selectbox-popup-wrapper {
    z-index: 2003 !important;
}

.dx-formdialog {
    z-index: 2003 !important;
}

.dx-htmleditor-add-image-popup {
    z-index: 2003 !important;
}

.dx-htmleditor-toolbar .dx-popup {
    z-index: 2003 !important;
}

.dx-htmleditor-toolbar .dx-overlay-wrapper {
    z-index: 2003 !important;
}

.dx-overlay-shader {
    z-index: 1999 !important;
}
/* Adjusts spacing in DataTable length selection */
div.dt-length label {
    margin-left: 10px; /* Adjust this value as needed */
}
/* size setting for edit & delete icons */
.dt-actionbuttonsize {
    font-size: 1.333333em; /* This is what .fa-lg sets in Font Awesome */
    line-height: 0.75em;
    vertical-align: -0.0667em;
    color: #007bff !important;
}
/* green button settings with default font color */
.greenbutton-defaultfontcolor {
    background-color: #35AA47 !important;
    border-color: #35AA47 !important;
}
/* green button settings with white font color */
.greenbutton-whitefontcolor {
    background-color: #35AA47 !important;
    border-color: #35AA47 !important;
    color: #fff !important;
}
/* yellow button settings with default font color */
.yellowbutton-defaultfontcolor {
    background-color: #FFB848 !important;
    border-color: #FFB848 !important;
}
/* yellow button settings with white font color */
.yellowbutton-whitefontcolor {
    background-color: #FFB848 !important;
    border-color: #FFB848 !important;
    color: #fff !important;
}
/* red button settings with default font color */
.redbutton-defaultfontcolor {
    background-color: #E02222 !important;
    border-color: #E02222 !important;
}
/* red button settings with white font color */
.redbutton-whitefontcolor {
    background-color: #E02222 !important;
    border-color: #E02222 !important;
    color: #fff !important;
}

.dt-clickablerow:hover {
    cursor: pointer;
    background-color: #f5f5f5; /* Optional: adds a slight highlight on hover */
}

/* ── Mobile modal scroll fix ───────────────────────────────────────────────
   Bootstrap modal-dialog-scrollable sets overflow-y:auto on .modal-body, but
   iOS Safari needs -webkit-overflow-scrolling:touch for finger scroll to work.
   DevExtreme Quill captures touchmove with passive:false inside .ql-editor;
   setting touch-action:pan-y on the modal body lets the browser scroll the
   modal even when a touch starts on a DevExtreme widget.
   ─────────────────────────────────────────────────────────────────────── */
.modal-dialog-scrollable .modal-body {
    -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
    overscroll-behavior-y: contain; /* prevent scroll chaining to page */
    touch-action: pan-y; /* allow vertical pan through DX widgets */
}

/* Prevent the DX HtmlEditor content area from blocking parent scroll when
   the user swipes outside the editor's editable region */
.dx-htmleditor .ql-container,
.dx-htmleditor .ql-editor {
    touch-action: pan-y;
    overscroll-behavior-y: contain;
}

/* Ensure the settings wrapper itself never clips scroll */
.settings-container {
    touch-action: pan-y;
}