.container {
    height: 100%;
}

.itemphoto {
    display: block;
    margin: auto;
    width: 100%;
    height: 180px; 
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    margin-top: 20px;
}

.gallery-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 350px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.gallery-card:hover {
    transform: translateY(-5px) scale(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1);
}

.gallery-meta {
    padding: 10px;
    font-size: 14px;
    background-color: #fafafa;
}

.popup-metadata {
    color: #333;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.5;
}

.row {
    margin-top: 10px;
    margin-bottom: 20px
}

.card-carousel {
    box-shadow: 10px 10px 20px rgba(0,0,0,0.19), 10px 6px 6px rgba(0,0,0,0.23);
    width: 100%;
    height: 100%;
    border-radius: 2%;
}

.img-carousel {
    width: 100%;
    height: 180px;
    border-top-left-radius: 2%;
    border-top-right-radius: 2%;
}

.card-title {
    font-weight: bold;
    text-align: left;
    padding-top: 0;
}

.card-text {
    font-weight: bold;
    text-align: left;
    padding-top: 0;
}

.carousel-control {
    margin-left: -170px;
    margin-right: -170px;
    margin-top: 10px;
    margin-bottom: 25px;
}
/*The Modal (background) Option 2*/
#imgModal {
    display: none;
    position: center;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

#carousel_modal_content {
    background-color: azure;
    margin: 20% auto;
    padding: 20px;
    width: 95%;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2), 0 7px 20px 0 rgba(0,0,0,0.7);
    animation-name: modalOpening;
    animation-duration: 0.5s;
}

#imgContent {
    width: 100%;
}

.carousel-inner {
    margin-bottom: 50px;
}

.carousel-indicators {
    display: block;
    bottom: -50px;
}

    .carousel-indicators li {
        border-color: dodgerblue;
        background-color: dodgerblue;
    }
/*@keyframes modalOpening {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}*/
.closeBtn {
    color: #ccc;
    float: left;
    font-size: 40px;
    border: none;
    padding: 0;
    background-color: transparent;
}

    .closeBtn:hover, .closeBtn:focus {
        color: dodgerblue;
        text-decoration: none;
        cursor: pointer;
    }

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #myImg:hover {
        opacity: 0.7;
    }

/*#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
*/
#card-img-link {
    margin-inline-end: 20px;
    padding-top: 10px;
}

.col-sm-6 {
    padding-left: 25px;
}

.mailbox-attachment-info {
    height: 80px;
}

.mailbox-attachments {
    padding-top: 50px;
    padding-bottom: 50px;
}

.caption2 {
    color: azure;
}
/*DE Image Gallery*/
.centerImageGallery {
    display: flex;
    justify-content: center;
}

.dxpLite_Office365 .dxp-current {
    background-color: #1472ab;
    color: white;
}

#ImageGallery_PGB_PBF:hover {
    background-color: #1472ab;
}

#ImageGallery_PGB_PBP:hover {
    background-color: #1472ab;
}

#ImageGallery_PGB_PBN:hover {
    background-color: #1472ab;
}

#ImageGallery_PGB_PBL:hover {
    background-color: #1472ab;
}

.dxpLite_Office365:not(.dxpLiteDisabled_Office365) .dxp-current.dxp-num:hover {
    background-color: #1472ab;
}

.dxigControl_Office365 .dxisControl_Office365 .dxis-nbHoverItem {
    border: 4px solid #1472ab;
}


.dxigControl_Office365 .dxisControl_Office365 .dxis-nbSelectedItem {
    border: 4px solid #1472ab;
}

/*.dxig-prevButtonHover .dxig-nextButtonHover {
        background-color: #1472ab;
    }*/
.dxpLite_Office365 .dxp-button:not(.dxp-disabledButton):hover {
    background-color: #1472ab;
}

.dxigControl_Office365 .dxig-prevButtonArea, .dxigControl_Office365 .dxig-nextButtonArea {
    top: 0;
    position: absolute;
    padding: 50px;
    pointer-events: none;
}

/* .dxig-imageSliderWrapper {
        padding: 25px;
        margin-top: 50px;
        margin-left: 65px;
        margin-right: 65px;
        width: 1900px;
        height: 531px;
    }*/
/*  .dxig-nextButton .dxWeb_igNextButton_Office365 .dx-not-acc:hover {
        background-color: #1472ab;
        color: #1472ab;
    }
    .dxig-prevButton .dxWeb_igPrevButton_Office365 .dxig-prevButtonDisabled .dxWeb_igPrevButtonDisabled_Office365 .dx-not-acc:hover {
        background-color: #1472ab;
        color: #1472ab;
    }
    #ImageGallery_Popup_nextBtn {
        color: #1472ab;
    }*/
/*dxig-prevButton dxWeb_igPrevButton_Office365 dx-not-acc dxig-prevButtonDisabled

    {
        border: 1px solid black;
        width: 450px;
    }
*/
/*testing document card css*/
.documentCard { 
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

#CardView_DXMainTable {
    border-spacing: 10px;
    border-collapse: separate;
    /* box-shadow: inset 0 0 10px #337AB7;*/
     padding-left: 50px;
    padding-right: 50px;
    display: inline-table;
    width: 100%;
}

.dxigControl_Office365 .dxisControl_Office365 .dxis-nbSelectedItem {
    border: 4px solid #1472ab;
}

.dxigControl_Office365 .dxisControl_Office365 .dxis-nbHoverItem {
    border: 4px solid #1472ab;
}

.dxigPagerShowMoreItemsContainer_Office365 a {
    display: block;
    padding-top: 12px;
    color: #1472ab;
}

/* FullscreenViewerItemTextTemplate */
.imgSliderDetails {
    cursor: text;
    margin-bottom: 30px;
}

.imgSliderDetails_header {
    color: #a3a3a3;
    font-size: 13pt;
    margin-bottom: 10px;
}

.imgSliderDetails_text {
    color: #ffffff;
    font-size: 18pt;
}

#ImageGallery_Popup_nextBtn.dxig-prevButton .dxWeb_igPrevButton_Office365 .dxig-prevButtonDisabled .dxWeb_igPrevButtonDisabled_Office365 .dx-not-acc:hover {
    pointer-events: none;
}
/* ItemTextTemplate */
.imgGalleryItem, .imgSliderDetails {
    font-family: 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
}

.imgGalleryItem_text a {
    font-size: 14px;
    color: #eeeeee;
    font-weight: 600;
}

.imgGalleryItem_issuedate {
    font-size: 12px;
    color: #eeeeee;
    font-weight: normal;
    cursor: text;
}

.imgGalleryItem_icons i {
    float: right;
    font-size: 20px;
    color: #eeeeee;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
}

.dxigControl_Office365 .dxpcLite_Office365 .dxpc-mainDiv, .dxigControl_Office365 .dxpcLite_Office365 .dxpc-contentWrapper {
    border: 0;
    background-color: #0000008f;
    background-color: rgba(0,0,0,0.58);
}

/* Document's search */
/*.dxeButtonEditButton_Office365.dxeButtonEditClearButton_Office365, .dxeButtonEditButton_Office365.dxeButtonEditClearButton_Office365:hover {
    background: none;
    border-width: 0;
    line-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: cadetblue;
}*/

/*.dxeButtonEditButton_Office365 {*/
    /*color: #666;*/
    /*border-color: #1472ab;
}*/

/*.dxeTextBoxDefaultWidthSys, .dxeButtonEditSys {
    width: 370px;
}*/

.dxeImage {
    height: 300px;
    width: 400px;    
}

.dataViewText {
    font-size: 16px;
    color: #eeeeee;
    font-weight: 600;
    cursor: text;
}

.dataViewDescriptionText {
    font-size: 14px;
    color: #eeeeee;
    font-weight: 600;
    cursor: text;
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
}

.dataViewInternalText {
    font-size: 16px;
    color: #ee2424;
    font-weight: 600;
    cursor: text;
    padding-left: 80px;
    padding-right: 50px;
}
/*.dataViewStack-top {
    z-index: 9;
    margin: -20px; 
}*/


#zoomContainer {
    position: relative;  
    height:300px;
}
.dataViewTextContainer { 
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    border: 0;
    /*background-color: #0000008f;
    background-color: rgba(0,0,0,0.48);*/
    width: 100%;
    text-overflow: ellipsis;
    padding: 10px;
    background-color: #484848;
    background-color: rgba(0,0,0,0.56);

}
/*#dataView .dxdvControl_Office365 {
    border-spacing: 5px;
    border-collapse: separate;*/
    /* box-shadow: inset 0 0 10px #337AB7;*/
/*}*/

/*#dataView .dataViewChange {
   width: 200px;
   position: relative;
}*/

/*.dxpc-footer .dxpc-footerContent {*/
    /*display: none;*/
    /*position: absolute;
    bottom: 0;
    left: 0;
    border: 0;*/
    /*background-color: #0000008f;
    background-color: rgba(0,0,0,0.48);*/
    /*width: 100%;
    text-overflow: ellipsis;
    padding: 10px;*/
    /*background-color: #484848;*/
    /*background-color: rgba(0,0,0,0.5);*/
    /* test color*/
    /*font-size: 14px;
    color: #eeeeee;
    font-weight: 600;
    cursor: text;
}*/

.dxpcLite_Office365 .dxpc-footer {
    /*color: #B8B8B8;*/
    /*border-top: 1px solid #EAEAEA;*/
    border: none;
    background-color: #484848;
    background-color: rgba(0,0,0,0.56);

    text-overflow: ellipsis;
    padding: 10px;

    font-size: 14px;
    color: #eeeeee;
    font-weight: 600;
    cursor: text;
}

/*.dxWeb_izEWCloseButton_Office365 {
    background-position: -72px -188px;
    background-size: 538px auto;
    width: 16px;
    height: 16px;
    
}*/

.dxcvSearchPanel_Office365 {
  width: 25%;
}

.dxdvControl_Office365{
    border-spacing: 0;
    border-collapse: separate;   

 }

.dxdvContent_Office365 td {
    min-width: 8px;
}
.wrapper {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    background-color: #0000008f;
    /*background-color: rgba(0,0,0,0.58);*/
}

#imageDVContainer {
    position: relative;
    height: 260px;
}

.dxdvItem_Office365 .dx-al {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.dataViewImageCheckbox {
    position: absolute;
    width: 100%;
    background-color: #484848;
    background-color: rgba(0,0,0,0.56);
}

/*RecertCaseImages/add .View for images upload*/
#uploadDropArea {
    /*background: #e8e5e5;
    border: dodgerblue dashed 1px;*/
    height: 160px;
/*    text-align: center;
    color: #fff;  */  
}

.activeFile-Drop {
    background: dodgerblue !important;
    border: solid 2px blue !important;
    opacity: .5;
    color: black !important
}

.tdFile-Drop {
    text-align: left;
}

/*RecertCaseImages/UploadImages. View for images upload*/
#upload-Drop-Card{
    width: 100%;
    height:auto;
    padding:15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    overflow: hidden;
    background: #fafbff;
}

#upload-Drop-Top-Card{
    display:flex;
    justify-content:space-between;
    align-items: center;
    width: 100%
}

#upload-Drop-Card-top-p{
    font-size: 0.9rem;
    font-weight:600;
    color: #767676; /* 4.55:1 on white - AA compliant */
}

#Drop-Card-Upload-Button{
    outline: 0;
    border: 0;
    -webkit-appearance: none;
    background: #1472ab;
    color: #fff;
    border-radius: 4px;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
    padding: 8px 13px;
}


#Drop-Card-Upload-Button:hover {
  opacity: 0.8;
}

#Drop-Card-Upload-Button:active {
  transform: translateY(5px);
}

#uploadImagesForm{
    width: 100%;
    height: 160px;
    border-radius: 5px;
    border: 2px dashed #d5d5e1;
    color: #c8c9dd;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    background: #dfe3f259;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    margin-top: 20px;
}

#uploadImagesForm .select {
        color: #5256ad;
        margin-left: 7px;
        cursor: pointer;
}
#uploadImagesForm input {
    display: none;
}

#uploadImagesForm .dragover {
        border-style: solid;
        font-size: 2rem;
        color: #c8c9dd;
        font-weight: 600;
        background: rgba(0, 0, 0, 0.34);
    }

.browseFile {
    color: #00c0ef;
    margin-left: 7px;
    cursor: pointer;
}

.restriction {
    color: #ee2424;
    margin-left: 7px;
    cursor: pointer;
    font-size: 1.5rem;
}

#uploadImagesFormAdd .dragover {
    border-style: solid;
    font-size: 2rem;
    color: #c8c9dd;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.34);
}


.img-to-upload-container{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    height: auto;
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.imagesToUpload{
    height: 85px;
    width: 85px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    margin-bottom: 7px;
    margin-right: 7px;
}

#imagesToUpload:nth-child(4n){
    margin-right: 0;
}

.imagesToUploadinRow {
    height: 65px;
    width: 65px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    margin-bottom: 2px;
    margin-right: 2px;
}
.imgPreview{
    height: 100%;
    width: 100%;
}

.imgDeleteIcon{
    position: absolute;
    top: -4px;
    right: 5px;
    cursor: pointer;
    font-size: 30px;
    color: #fff;
}

#dragDropMessage{
    height: 30px;
}

#display-Img-Card {
    width: 400px;
    height: 400px;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    overflow: hidden;
    background: #fafbff;
    display: flex;
    margin-left: 200px;
    margin-right: 200px;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    
}

.imgToAnnotate {
    height: 100%;
    width: 100%;
}

.annotation-form-group{   
    padding-top: 10px;    
    text-align: right;
}

#dataViewCellEmptyTextDiv{
    height: 500px;
    padding-top: 200px;
}

#dataViewEmptyText{
    font-size: 24px;
    color: #1472ab;
    font-weight: 600;
    cursor: text;
}
#annotation-preview-card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.1s;
    border-radius: 5px;
    width: 500px;
    height: 500px;
    padding-top: 5px;
    padding-bottom: 10px;   
}

#imgCardPreview {
    height: 350px;
    width: 100%;
}
#previewCardImgDiv{
     height:350px;
     width: 100%;
}
#previewCardHeader {
    height: 20px;    
    padding-bottom: 5px;
}
#previewCardFooter{
    height: 100px;
    padding-left: 10px;
    padding-right: 10px;
}
.headerPreviewInfo {
    display: inline-block;
    padding-left: 25px;
    
}
.select2-container .select2-selection--single .select2-selection__rendered{
    text-align: left; 
}

#documentsGalleryCardView {
    width: 100%;
    
}

/*Documents upload View*/

.drag-area {
    width: 100%;
    height: 160px;
    border-radius: 5px;
    border: 2px dashed #00c0ef;
    color: #c8c9dd;
    font-size: 2.00rem;
    font-weight: 500;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    margin-top: 20px;
}

.drag-area input {
        display: none;
    }

.tdDeleteCheckbox {
    text-align: right;
    vertical-align: middle;
}
.documentPreviewCanvas {
    border: 2px solid lightgrey;
    width: 700px;
    height: 700px;
    /*border-radius: 5px;*/
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
#loadingPanel {
    position: absolute;
    top: 0;
    z-index: 9999;
    width: 20%;
    height: 20%;
    display:none;
    vertical-align: middle;
    padding-left: 40%;
    padding-top: 10%;

}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
#documentEditPreview {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.1s;
    border-radius: 5px;
    width: 100%;
    height: 500px;
    padding-top: 5px;
    padding-bottom: 10px;
}
#docPreviewError {
    color: #ee2424;
    margin-left: 7px;
    cursor: pointer;
    font-size: 1.5rem;
    padding-top: 100px;
    position: center;
}
.previewerLinkOpenFile {
    color: #00c0ef;
    cursor: pointer;
}


div:not(.dataTables_scrollFoot)::-webkit-scrollbar {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}