
/* Ensure that displayed text in p or span, retain \n \r & long words wrap*/

.cust-wrap-text {
    white-space: pre-wrap;
    word-wrap: break-word;
}


/*Custom DataTable style */

#checklist li {
    background-color: ghostwhite;
}

#checklist li:hover{
    background-color: lightgrey;
}

.custom-datatable {
    background: transparent;
    box-shadow: none;
}

.custom-datatable:hover {
    box-shadow: none;
}


.custom-datatable table tbody tr {
    box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);
    position: relative;
}

.custom-datatable table tbody tr:hover {
    box-shadow: 0 0 6px 0 #4099ff;
}

.custom-datatable table tbody tr:hover td {
    cursor: pointer;
    color: #fff;
    background: #4099ff;
}

.custom-datatable table tbody tr:hover td h6 {
    color: #fff;
}

.custom-datatable table tr td,
.custom-datatable table tr th {
    vertical-align: middle;
    border: none;
}

.custom-datatable table tr td {
    position: relative;
}

.custom-datatable .select-checkbox {
    width: 30px;
}

/* Lead Notes */

.lead-note {
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    margin-bottom: 30px;
}

.lead-note-body {
    padding: 10px;
}

.lead-note-footer {
    font-style: italic;
    float: right;
}

.new-note-input textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 25px;
    margin-right: 5px;
    background-color: #eef0f3;
}

/*Custom Notes Card Style*/
.notes-container card {
    float: left;
    width: 49%;
    overflow: auto;
    height: auto;
    min-height: 10px;
    background: #fff;
    display: inline-block;
    padding: 20px 20px 10px 20px;
    border: 1px solid #ccc;
    color: #666;
    border-top: 5px solid #4099ff;
    cursor: move;
    margin-bottom: 20px;
    margin-right: 2%;
    position: relative;
}

/*Overlay Edit (Show edit buttons only when hover on)*/
tr .overlay-edit {
    position: absolute;
    opacity: 0;
    top: 0;
    right: 0;
    background: #4099ff;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

tr .overlay-edit .btn {
    border-radius: 50%;
    margin: 0 3px;
    width: 35px;
    height: 35px;
    display: -webkit-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

tr .overlay-edit a .btn {
    border-radius: 20%;
}

tr:hover td .overlay-edit {
    opacity: 1;
}


#checklist {
    list-style-type: none;
}

.header-button {
    margin-bottom: 10px;
}

/* Using ✓ instead of bullet point for showing template checklist items */

#template-items {
    list-style-type: none;
}

#template-items li:before {
    content: '✓';
    margin-left: 20px;
    margin-right: 15px;
}

.button-add::before {
    content: '\f067';
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}

.button-save::before {
    content: '\f0c7';
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}

.button-edit::before {
    content: '\f044';
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}

.button-arrange::before {
    content: '\f0dc';
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}

#pending-tasks .badge {
    cursor: pointer;
}

#pending-tasks .badge-danger::before {
    content: 'H'
}

#pending-tasks .badge-warning::before {
    content: 'M'
}

#pending-tasks .badge-success::before {
    content: 'L'
}

#pending-tasks .badge:hover::before{
    content: '✓';
}

.email-tr td:first-child {
    max-width: 500px;
    overflow: hidden;
}

.select2-container{
    z-index: 9999;
}

.note-content {
    width: 100%;
    border-style: none;
}

.note-title {
    display: absolute;
    border-style: none;
    width: 90%;
    cursor:text;
}

.close {
    z-index: 100000;
}

.ui-sortable:not(.ui-sortable-disabled) li{
    cursor: move;
}

.checkitem-holder:empty:not(:focus)::before {
    content: "Click to edit this item";
    color: #6c757d;
}

.wrapper {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    overflow: hidden;
    min-width: 100%;
    min-height: 100vh;
    background: rgba(255,255,255,0.29);
}

nav>ul.pagination>li.page-item>.page-link {
    display: none;
}

nav>ul.pagination>li.page-item::before {
    font-family: "Font Awesome 5 Free";
    font-size: 6pt;
    content: "\f111";
    color: #4099ff;
    margin-right: 2px;
}

nav>ul.pagination>li.page-item.active::before {
    font-weight: 900;
    content: "\f111";
}

nav.pagination {
    display: inherit; !important;
}

nav.pagination li {
    display: inline;
}
