/* please don't change it, header will be changed according to the nmew design and it would have white links with dark background */
.white-links {
    color: #FFFFFF !important;
}

.widget-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-grow: 1;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 250px;
    margin-left: 0px;
    margin-right: 0px;
    background-color: #ffffff;
    padding: 20px 10px;
    border-radius: 8px;
    box-shadow: -4px 4px 0px 0px #00000026;
}

.my-profile-widget-content-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-grow: 1;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
}

.widget-header {
    font-size: 28px;
    line-height: 33px;
    font-weight: 400;
    text-align: start;
    color: #353F49;
}

.widget-subheader {
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    text-align: start;
    color: #353F49;
    width: 100%;
}

.widget-link,
.widget-link:hover,
.widget-link:focus {
    text-decoration: none;
    background-color: #F2E400;
    border-radius: 4px;
    box-shadow: -2px 2px 0px 0px #BBBBBB;
    width: fit-content;

}

.widget-link-text {
    font-weight: 800;
    font-size: 14px;
    line-height: 20px;
    color: #353F49;
}

@media (max-width: 1024px) {
    .res-widgets {
        width: 100%;
    }

}

.brunel-form-wrapper {
    background-color: #FAF9F5;
    padding-top: 20px;
    padding-bottom: 20px;
    height: 100%;
    min-height: 100%;

    .container {
        .crmEntityFormView {
            border: none;
            background-color: #FAF9F5;

            .entitylist {
                border: none;
            }
        }

        .entitylist {
            border: none;
        }

        .form-subgrid-heading {
            .field-label {
                font-size: 24px;
                font-family: Arial, Helvetica, sans-serif;
                font-weight: 400;
                padding-bottom: 15px;
                color: #000000;
            }
        }

        .section-title {
            h3 {
                font-size: 24px;
                font-family: Arial, Helvetica, sans-serif;
                font-weight: 400;
                color: #000000;
            }
        }
    }
    .grid-actions {
        border: none;
        /* position: relative;
        bottom: 20px; */
    }

    .entitylist-filter-option-group-label.h4 {
        font-family: Arial;
        font-weight: 400;
        font-size: 18px;
        color: #111213;
    }

    .card {
        border: none;
    }

    .card-body {
        display: flex;
        flex-direction: row;
        align-items: end;
        /* justify-content: space-between; */
        height: fit-content;
        padding: 0px;
        gap: 40px;
        /* position: relative;
        top: 36px; */

        ul.list-inline {
            margin: 0px !important;
        }
    }

    .view-toolbar.grid-actions.clearfix {
        /* position: relative;
        bottom: 0px; */
    }

    .btn-entitylist-filter-submit {
        /* position: relative;
        top: 20px; */
        padding: 8px 20px;
    }

    .content-panel.card.entitylist-filter {
        margin: 0px;
    }

    .list-group-item.active {
        background-color: #353F49;
        border-color: #353F49;
    }

    .edit-bank-details-wraper {
        tbody {
            tr:nth-child(2) {
                label.field-label {
                    padding-top: 10px;
                }
            }
        }

        .crmEntityFormView {
            .actions {
                border: none;
            }
        }

        .btn-primary:focus,
        .btn-primary.focus,
        .btn-primary:active,
        .btn-primary.active,
        .btn-primary:hover,
        .btn-primary.hover {
            background-color: #F2E400;
            border-color: #F2E400;
        }

        .btn-primary:disabled,
        .btn-primary.disabled {
            background-color: #353F49;
            border-color: #353F49;
        }
    }

    table.table {
        tbody {
            tr {
                td {
                    a,
                    a.details-link {
                        font-size: 16px;
                        font-family: var(--bs-body-font-family);
                    }
                }
            }
        }
    }

    /* label.field-label {
        font-size: 24px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 400;
        padding-bottom: 15px;
        color: #000000;
        padding-top: 20px;

    } */
}

.crmEntityFormView .cell div.table-info.required label:after {
    content: ' *';
    color: #309FFF;
}

table.section {
    box-shadow: -4px 4px 0px 0px #0000001A;
    padding: 20px;
    border-radius: 8px;
    background-color: #FFFFFF;

    tbody {
        tr {
            /* td.form-control-cell { */
            td {
                div label.field-label,
                label.field-label {
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 24px;
                    letter-spacing: 0%;
                    vertical-align: middle;
                    color: #111213;
                }

                div.control {
                    input, select, textarea {
                        font-weight: 700;
                        font-size: 16px;
                        line-height: 100%;
                        letter-spacing: 0%;
                        vertical-align: middle;
                        color: #353F49;
                    }
                    
                    /* select {
                        option {
                            font-weight: 700;
                            font-size: 16px;
                            line-height: 100%;
                            letter-spacing: 0%;
                            vertical-align: middle;
                            color: #353F49;
                        }
                    } */
                }
            }
        }

        tr:first-child {
            /* td.form-control-cell { */
            td {
                label.field-label {
                    padding-top: 20px;
                }
            }
        }
    }
}

table {
    thead {
        background-color: #353F49;

        tr {
            color: #ffffff;
            border: none;
            border-color: #ffffff;

            th {
                color: #ffffff;
                align-content: start;

                a,
                a:hover,
                a:focus,
                .a,
                .a:hover,
                .a:focus {
                    color: #ffffff;
                    font-weight: 700;
                    font-size: 16px;
                }
            }

            th:first-child {
                border-top-left-radius: 8px;
                border-bottom-left-radius: 8px;
            }

            th:last-child {
                border-top-right-radius: 8px;
                border-bottom-right-radius: 8px;
            }
        }
    }

    tbody {
        tr {
            border: none;
            border-color: #ffffff;
        }

        tr:first-child {
            td:first-child {
                border-top-left-radius: 8px;
            }

            td:last-child {
                border-top-right-radius: 8px;
            }

        }

        tr:last-child {
            td:first-child {
                border-bottom-left-radius: 8px;
            }

            td:last-child {
                border-bottom-right-radius: 8px;
            }

        }
    }
}

.task-table-wrapper,
.compliancy-table-wrapper,
.documents-table-wrapper,
.personal-details-wrapper {
    background-color: #ffffff;
    box-shadow: -4px 4px 0px 0px #0000001A;
    border-radius: 8px;
}

.personal-details-wrapper {
    td {
        border: none !important;
    }

    .tab-column {
        padding: 10px !important;
    }
}

.compliancy-table-wrapper {
     ul.dropdown-menu.show {
        background-color: #F2E400;
        border-radius: 4px;
        box-shadow: -2px 2px 0px 0px #BBBBBB;

        a.details-link,
        a.details-link:hover,
        a.details-link:focus {
            text-decoration: none;
            color: #000000;
            background-color: #F2E400;
        }
    }
}

.widget-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
    padding-right: 15px;
}

.widget-row-details {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: calc(100% - 40px);
}

.nationality-text {
    word-wrap: break-word;
    max-width: 100%;
}

.visible-details {
    background-color: #F2F2F2;
    padding: 10px;
    border-radius: 5px;
}

.visible-text {
    word-wrap: break-word;
    max-width: 100%;
    padding-right: 20px;
}

.hidden-details {
    padding: 10px;
}

.my-tasks-widget {
    div.entitylist {
        border: none;
        width: 100%;

        .entity-grid {
            .view-grid {
                table {
                    thead {
                        display: none;
                    }

                    tbody {
                        tr {
                            background-color: #ECECEC;
                            border-bottom: 20px solid #ffffff;
                            border-top: 15px solid #ffffff;

                            td {
                                background-color: #ECECEC;
                                color: #353F49;
                            }
                        }
                    }
                }
            }
        }
    }
}

button.widget-link {
    border: none;
    padding: 6px 12px;
}

button.widget-link,
button.widget-link:hover,
button.widget-link:focus {
    float: right;
    margin-top: 20px;
    margin-bottom: 50px;
    border: none;
    padding: 6px 12px;
}

button.widget-link:disabled,
button.widget-link:disabled:hover,
button.widget-link:disabled:focus {
    background-color: #ECECEC;
    color: #8F96A3;

    .widget-link-text {
        color: #8F96A3;
    }
}

.back-to-dashboard-wrapper {
    padding: 10px;
    padding-left: 0px;
}

.back-to-dashboard-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    vertical-align: middle;
    color: #111213;
}

.task-priority {
    border-radius: 100px;
    display: flex;
    justify-content: center;
    width: 114px;
}

.urgent-task {
    background-color: #BC6A20;
    color: #ffffff;
}

.normal-task {
    background-color: #F2E400;
    color: #353F49;
}

.low-task {
    background-color: #008800;
    color: #ffffff;
}

.task-due-date {
    font-weight: 700;
}

.td-wrapper {
    color: #353F49;
}

.pagination {
    .active {
        a,
        a.page-link,
        a:focus,
        a:hover {
            background-color: #353F49 !important;
        }
    }
}

.page-item:not(.active) {
    .page-link,
    .page-link:focus,
    .page-link:hover {
        color: #212529;
    }
}
