.pagination>li>a {
    width: 50px;
    height: 50px;
    padding-top: 13px;
}

input[type=text]:active,
input[type=text]:focus {
    outline: 2px solid blue;
}

textarea:focus {
    outline: 2px solid blue;
}

textarea {
    max-width: 100%;
}

/*Ensures consitent action button alignment*/
.button1,
.button2 {
    border-width: 1.6px;
    margin-top: 5px;
    vertical-align: middle;
}

.comment-table table.table.table-striped {
    table-layout: fixed;
}

.comment-table table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-table td img {
    max-width: 100%;
    /* Ensure the image fits within the cell */
    height: auto;
}

.comment-table table td.cr9d1_commenttext {
    overflow: auto;
    /* Add scrollbar for overflow content */
    white-space: normal;
    /* Allow wrapping of text if needed */
}

.hidden-workflow-button {
    display: none;
}

#processingMsg {
    width: 150px;
    text-align: center;
    padding: 6px 10px;
    z-index: 9999;
    top: 0;
    left: 40%;
    position: fixed;
    -webkit-border-radius: 0 0 2px 2px;
    border-radius: 0 0 2px 2px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none;
}

.page-copy {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    /* Semi-transparent grey */
    z-index: 1000;
    /* Ensure it covers all other elements */
    display: none;
    /* Initially hidden */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.overlay .loadingText {
    color: white;
}

.loadingText {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
}

.loader-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.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;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Makes the large modal bigger */
@media (min-width: 1024px) {
    .largeCommentModal .modal-lg {
        width: 80%
    }
}

.largeCommentModal .modal-dialog.modal-lg .modal-content {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
    height: auto;
}

.largeCommentModal .modal-form .modal-body {
    flex-grow: 1;
    height: 80%;
}

.largeCommentModal .modal-form .modal-body iframe {
    height: 90vh;
    display: flex;
    position: relative;
}

body div.container.wrapper-body {
    margin-left:0px;
    margin-right: 0px;
    width:100%;
    height:100%;
}

/* Start | Used to modify the Organisation Display Name quick view form css */
#quickViewOrgDisplayName, html[dir=ltr] .crmEntityFormView .cell.crmquickform-cell:first-child{
    border-right: 0;
}

div#privateModeText.private-mode-banner{
    display: none;
}

#quickViewOrgDisplayName{
    border: 0;
}

#quickViewOrgDisplayName .clearfix.cell{
    margin: 0;
}

#quickViewOrgDisplayName div.info{
    padding: 0;
}

#quickViewOrgDisplayName #cr9d1_displayname{
    padding: 0;
}
/* | End */


