/* Import Roboto font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

table td:first-child>.details-link,
table td>.details-link,
table td:first-child>.edit-link {
    font-weight: bold;
    color: #204666;
}

.page-header {
    border-bottom: 1px solid #eee;
    margin: 0px !important;
}

.checkbox-cell .description {
    margin: 0 0 0 48px !important;
}

.tmp-margin-top-bottom-10 {
    margin: 15px 0 15px 0;
}

.hidden {
    display: none !important;
}

.tmp-card-wrapper {
    justify-content: center;
    margin-top: 30px;
}

.tmp-card {
    border-radius: 0px !important;
    border-right: 0px !important;
    border-bottom: 0px !important;
    border-left: 0px !important;
    border-radius: 4px !important;
    width: 100%;
}

.card-img-top {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

.tmp-card-body {
    border-top: solid 3px #ffc000;
    background-color: #fff !important;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.attachment-outer-border,
.note .timeago,
.note .modifiedon {
    display: none;
}


.crmEntityFormView,
.crmEntityFormView,
.entitylist {
    border: 0px !important;
}

.navbar-dark .navbar-nav>li>a:hover,
.navbar-dark .navbar-nav>li.dropdown>a:hover,
.navbar-dark .navbar-nav .show.dropdown-menu>li>a:hover {
    background-color: #ffc000 !important;
    color: #3d6b99 !important;
    text-decoration: Underline !important;
}

.navbar {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.navbar-dark .navbar-nav .show.dropdown-menu {
    background-color: #204666 !important;
}

.dropdown-menu {
    border-radius: 0px !important;
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}


.navbar-dark .navbar-nav .show.dropdown-menu>li>a {
    color: #fff !important;
}

.breadcrumb {
    padding-left: 0px !important;
}

.entitylist-filter-option-text {
    width: auto !important;
}

html[dir=ltr] .crmEntityFormView .cell.crmquickform-cell:first-child {
    border-right: 0px !important;
}

.crmquickform-cell {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

#myForms .nav-link,
.tmp-nav-link {
    color: #000000 !important;
}

.tab-container {
    margin-bottom: 15px !important;
}

.crmEntityFormView .tab-title {
    display: none !important;
}

.query {
    border: 1px solid #000000 !important;
    border-radius: 0px !important;
}


.list-group-item+.list-group-item {
    border-top-width: 1px !important;
}



.checkboxinstruction {
    padding-left: 32px;
}

.tmp-tab-item {
    width: 100%;
    padding: 15px 5px 15px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tmp-active-tab {
    border-bottom: 3px solid #204666;
}

.tmp-tab-item:hover {
    background-color: #ffc000 !important;
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}

.tmp-tab-item:hover a {
    color: #204666 !important;
}

.tmp-tab-anchor {
    color: #828282;
}

.tmp-active-anchor {
    color: #204666;
}

.modal-form .modal-body iframe {
    height: -webkit-fill-available !important;
}

.progress {
    padding: 0px !important;
}

.progress li {
    padding: 15px !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    flex-direction: row-reverse;
    font-weight: 600 !important;
    font-size: 16px !important;
}


.crmEntityFormView .view-grid.table-responsive,
.entitylist .view-grid.table-responsive {
    overflow: visible;
}

#Assessor_SupervisorLearningGoalHistorySubgrid .view-grid.table-responsive,
#Progress_Review_Reports_subgrid_Assessor .view-grid.table-responsive {
    overflow: auto;
}

.modal-lookup .view-grid.table-responsive,
.associate-lookup .view-grid.table-responsive,
.modal-lookup .view-grid.table-responsive.has-pagination {
    overflow: auto !important;
}



.progress li span {
    padding: 0 5px;
    color: #6EE7B7 !important;
}

.progress .incomplete {
    background-color: #fff !important;
    color: #808284;
}

.list-group-item.active {
    background-color: #fff !important;
    color: #204666 !important;
}

.progress .list-group-item-success {
    font-weight: 600 !important;
    color: #000000 !important;
}

.entitylist,
.entity-form fieldset,
.comment-details,
.tmp-section {
    background: #fff !important;
    padding: 10px !important;
    border-top: solid 3px #ffc000;
}



.form-control,
.crmEntityFormView label {
    background-color: #fff !important;
}

.dropdown.action button,
.dropdown.action button:hover,
.dropdown.action button:active {
    background-color: transparent !important;
    color: #204666 !important;
    font-weight: 700 !important;
    border: 0px !important;
}

.entity-grid.entitylist {
    border-top: 0px !important;
}

.modal-fullscreen .modal-body {
    overflow-y: visible;
}

.crmquickform-cell body {
    background-color: transparent !important;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover {
    background-color: #204666 !important;
}

#ContentContainer_FormPanel fieldset {
    border-top: 0px;
    padding: 0px;
}

iframe body {
    background-color: transparent !important;
}

.table-responsive {
    border: 1px solid #f2f2f2 !important;
}

.grid-actions {
    border: 0px !important
}

.bootstrap-datetimepicker-widget tr td button {
    background-color: transparent !important;
}

textarea:not([readonly]),
input:not([readonly]),
select:not([disabled]) {
    border-radius: 0px !important;
    border: 1px solid #ced4da;
}

input.aspNetDisabled,
.readonly,
#ContentContainer_FormPanel input,
#ContentContainer_FormPanel textarea {
    border: 0px !important;
}

.alert,
.btn-info.action,
#ContentContainer_FormPanel input,
.text.lookup {
    border-radius: 0px !important;
}

#ContentContainer_FormPanel fieldset,
.crmEntityFormView .status {
    padding: 0px !important;
}

.crmEntityFormView .cell {
    padding: 0 0px 15px !important;
}

#ContentContainer_FormPanel .crmEntityFormView {
    background-color: transparent !important;
}

.entity-lookup .disabled>.page-link {
    background-color: transparent !important;
}

.day.disabled button:hover,
.day.disabled button {
    cursor: not-allowed !important
}

.bootstrap-datetimepicker-widget {
    background-color: #fff !important;
}

#tmp_tps_custom_select,
#tmp_tps_custom_select2,
#tmp_tps_custom_select2_clone {
    height: 24px;
    padding: 6px 12px 6px 12px;
    height: auto;
}

#tmp_tps_custom_select option,
#tmp_tps_custom_select2 option,
#tmp_tps_custom_select2_clone option{
    padding: 6px 0 6px 0;
}

#tmp_tns_custom_select {
    height: 24px;
    padding: 6px 12px 6px 12px;
    height: auto;
}

#tmp_tns_custom_select option {
    padding: 6px 0 6px 0;
}

label.remove-asterisk::after {
    content: '';
    /* Removes the asterisk */
}

.sharepoint-empty .alert {
    --bs-alert-color: #055160;
    --bs-alert-bg: #cff4fc;
    --bs-alert-border-color: #b6effb;
    background-color: #cff4fc !important;
}

.tmp-iframe-modal-content {
    height: 100%;
}

.tmp-iframe-modal {
    height: 90%;
    width: 80%;
}

.error-msg .alert,
#ValidationSummaryEntityFormView,
.alert {
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}

.error-msg {
    margin: 15px 0 0 0;
}

body> :first-child.alert {
    display: none;
}

.view-grid.table-responsive .sr-only {
    display: contents;
    font-weight: 400;
}

input.query {
    padding-left: 10px !important;
}

.note-actions .mx-auto {
    display: flex;
    justify-content: center;
}

.loadmore .fa-plus-circle {
    padding-right: 5px;
}

input[type="text"] {
    overflow: auto !important;
    ;
    /* Or use overflow-x: auto if scrolling is preferred */
}

.field-label {
    margin-bottom: 16px;
}


.form-control:focus {
    box-shadow: none !important;
}

.table th a,
.table th {
    font-weight: 600 !important;
    font-size: 16px;
}

#commentBox {
    resize: vertical;
    padding: 10px;
    border: 1px solid #ced4da;
}

.card-img-top {
    align-self: center;
}

span.fa.fa-arrow-up {
    padding-left: 8px !important;
}

span.fa.fa-arrow-down {
    padding-left: 8px !important;
}

.btn.btn-default.clearlookupfield {
    margin-right: 1px !important;
}

.breadcrumb>li a {
    padding: 2px 2px 2px 2px;
}

.static-top.navbar .menu-bar>.navbar-nav>.divider-vertical {
    height: 57px;
    /*21px */
    margin: 0 4px;
    /* margin-top: 14.5px; */
    border-right: 1px solid #fff;
    border-left: 1px solid #666;
}

#navbar .nav-item .dropdown-toggle {
    display: flex;
    align-items: center;
}

#navbar .nav-item .dropdown-toggle::after {
    font-size: 22px;
}

.list-group-item+.list-group-item {
    display: flex;
    border-top-width: 1px !important;
    align-items: center;
    align-content: center;
}

.tmp-tab-anchor {

    color: #050505;
}

.navbar-dark .navbar-nav>li>a:hover,
.navbar-dark .navbar-nav>li.dropdown>a:hover,
.navbar-dark .navbar-nav .show.dropdown-menu>li>a:hover {
    background-color: #ffc000 !important;
    color: #050505 !important;
}

input[type="file"] {
    overflow: hidden !important;
    max-width: 100% !important;
}

/* This class removes the asterisk from the label */
.no-asterisk::after {
    content: "";
    /* Removes the asterisk */
}

.remove-value {
    display: none;
}

.tmp-b-wrapper {
    border-bottom: solid 3px #ffc000;
    padding: 15px;
}

.tmp-b-container {
    display: flex;
}

.tmp-b-icon {
    font-size: 20px;
}

.tmp-b-text {
    margin-left: 10px;
}

.tmp-actionbtn-active {
    background-color: #204666 !important;
    color: white !important;
    border-color: #204666 !important;
    border-radius: 0px !important;
    pointer-events: none;
    cursor: not-allowed;
}

.tmp-actionbtn-inactive {
    color: #204666 !important;
    border: 1px solid #204666 !important;
    border-radius: 0px !important;
    background-color: white !important;
}

.tmp-validation-text {
    box-shadow: none !important;
    min-height: calc(1.5em + .75rem + 2px) !important;
    border-color: red !important;
}

.tmp-validation-checkbox {
    border: solid 0.5px red !important;
}

.view-search button {
    border-bottom-width: 0px !important;
}

.tmp-accordion-item {
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.tmp-accordion-item.active .tmp-accordion-header {
    background-color: #FFD040;

}

.tmp-accordion-item.active h3,
.tmp-accordion-item h3,
.tmp-accordion-header h3 .tmp-accordion-header:hover h3,
.tmp-accordion-header:hover a {
    color: #000000;
}

.tmp-accordion-header {
    background-color: #FFEFBF;
    padding: 15px;
    cursor: pointer;
}

.tmp-accordion-header:hover {
    background-color: #FFD040;
}

.tmp-accordion-header .field-value,
.tmp-accordion-item-title {
    display: block;
    /* Stack field label and value vertically */
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;

}

.tmp-accordion-header .field-value span:first-child {
    font-weight: bold;
    display: block;
    /* Field label is on top */
    margin-bottom: 5px;
    /* Add some space between label and value */
}

.tmp-accordion-header .field-value span:last-child {
    display: block;
    /* Ensure value is below field label */
    word-wrap: break-word;
    /* Wrap the text if too long */
    white-space: nowrap;
    /* Prevent text from wrapping */
    overflow: hidden;
    /* Hide overflowing text */
    text-overflow: ellipsis;
    /* Add ellipsis at the end */
    max-width: 100%;
    /* Ensure the container is not overflowing */
}

.tmp-accordion-header .field-value span:last-child a {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tmp-accordion-body {
    display: none;
    padding: 15px;
    background-color: #f9f9f9;
}

.tmp-accordion-body td,
.tmp-accordion-body th {
    border-style: none !important;
}

.tmp-accordion-item.active .tmp-accordion-body {
    display: block;
}

/* Layout for 3 fields per row */
.tmp-accordion-header {
    display: flex;
    flex-wrap: wrap;
}

.tmp-accordion-header .field-value {
    width: 25%;
    box-sizing: border-box;
}

/* Container for shimmer effect */
.shimmer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 15px 0 15px 0;
}

/* Shimmer placeholder */
.shimmer {
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

.tmp-editable-row:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
}

.tmp-pagination-anchor:hover {
    cursor: pointer;
}

.tmp-pagination span {
    margin: 0 15px;
    font-weight: bold;
}

.bottom-area {
    display: flex;
    justify-content: space-between;
    margin: 15px 0 15px 0;

}

.tmp-pagination {
    display: flex;
    align-items: center;
}

#tmp-editableTable th,
#tmp-editableTable td {
    padding: 12px !important;
    vertical-align: middle;
    max-width: 150px;
    word-wrap: break-word;
}

#tmp-editableTable td select {
    width: 100%;
    padding: 10px !important;
    vertical-align: middle;
}

.expected-rating-cell,
.supervisor-cell,
.trainee-cell {
    text-align: center;
}

#tmp-comments td:first-child,
#tmp-comments th:first-child {
    padding: 12px !important;
    vertical-align: middle;
    max-width: 30px;
}

.tmp-editableTable-container {
    overflow: auto;
}

.assessor-dropdown,
.trainee-dropdown,
.trainee-dropdown option,
.assessor-dropdown option {
    padding: 5px;
    width: 100%;
}

#tmp-grid-top-section {
    margin: 10px 0 15px 0px;
    display: flex;
    flex-direction: row-reverse;
}

.tmp-grid-action {
    text-align: right;
}

#tmp-comments td,
#tmp-comments th {
    min-width: 150px;
}

#tmp-comments th:last-child,
#tmp-comments td:last-child {
    min-width: 50px !important;
}

#readonly-comments-modal label,
#add-comment-modal label {
    font-size: var(--bs-body-font-size);
    font-weight: 700;
}

.entity-lookup .entity-grid {
    height: 100%
}

.entity-grid.associate-lookup {
    height: 80%
}

.entity-lookup .view-grid,
.entity-grid.associate-lookup .view-grid {
    min-height: 75%
}

#supervisor_review_document_subgrid .modal-dialog,
#Trainee_Leave_Edit_Documents_Subgrid .modal-dialog,
#Trainee_Leave_Read_Only_Documents_Subgrid .modal-dialog,
#TrainingConditionsAssessorEdit_AddtionalDocs_Subgrid .modal-dialog,
#Training_Condition_Trainee_Edit_Documents_Edit_Subgrid .modal-dialog,
#Supervisor_ViewDetails_Document_List_View_Subgrid .modal-dialog,
#Reviewer_Feedback_Assessor_Documents_SubGrid .modal-dialog,
#Supervisor_Add_Agreement_SuperisorAgreements_Subgrid .modal-dialog,
#Assessor_AddAgreement_PPR_Subgrid_Agreements .modal-dialog,
#Assessor_ViewDetails_PPR_Subgrid_Agreements .modal-dialog,
#Super_ViewDetails_Supervisor_Agreements_Subgrid .modal-dialog{
    height: 100%;
}

#supervisor_review_document_subgrid .modal-content,
#Trainee_Leave_Edit_Documents_Subgrid .modal-content,
#Trainee_Leave_Read_Only_Documents_Subgrid .modal-content,
#TrainingConditionsAssessorEdit_AddtionalDocs_Subgrid .modal-content,
#Training_Condition_Trainee_Edit_Documents_Edit_Subgrid .modal-content,
#Supervisor_ViewDetails_Document_List_View_Subgrid .modal-content,
#Reviewer_Feedback_Assessor_Documents_SubGrid .modal-content,
#Supervisor_Add_Agreement_SuperisorAgreements_Subgrid .modal-content,
#Assessor_AddAgreement_PPR_Subgrid_Agreements .modal-content,
#Assessor_ViewDetails_PPR_Subgrid_Agreements .modal-content,
#Super_ViewDetails_Supervisor_Agreements_Subgrid .modal-content{
    height: 60%;
}

.tmp-btn-light {
    background-color: #fff;
    border: 1px solid #204666;
    border-radius: 2px;
}

.tmp-btn-light:hover {
    background-color: #204666;
    border: 1px solid #204666;
    color: #fff;
}

.vertical-center,
td[aria-label="action menu"] {
    vertical-align: middle;
}

.download-btn {
    cursor: pointer;
}

.tmp-hidden {
    display: none;
}

#AttachFileLabel {
    background-color: #f2f3f4 !important;
    width: 100%;
}

.tmp-alert-icon {
    margin: 5px 5px 0 0;
}

.tmp-alert-with-icon {
    display: flex;
    align-items: flex-start;
}

.crmEntityFormView .cell.checkbox-cell div.table-info {
    max-width: calc(100% - 35px);
}

.crmEntityFormView .cell.checkbox-cell div.control input[type=checkbox] {
    min-width: 15px;
}

#MfpEmbed_CrossButton {
    width: 18px !important;
    height: 24px !important;
    margin-left: 0 !important;
    margin-top: -9px !important;
    padding-top: 1px !important;
    padding-left: 1px !important;
};

div #MfpEmbed_Popup {
  width: 90% !important;
  max-width: 480px !important;
  height: auto !important;
  aspect-ratio: 480 / 520 !important;
  margin: 0 auto !important;
  padding: 16px !important;
  box-sizing: border-box !important;
};

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@media screen and (max-width: 776px) {

    .entity-lookup .entity-grid {
        height: 100% !important
    }

    .entity-grid.associate-lookup {
        height: 80% !important
    }

    .entity-lookup .view-grid,
    .entity-grid.associate-lookup .view-grid {
        min-height: 75%
    }


    .crmEntityFormView .toolbar-actions {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 100px;
    }

    .checkboxinstruction {
        padding-left: 20px;
    }

    .tmp-card-wrapper {
        width: 100% !important;
    }


    .tmp-tabs {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        border-bottom: 1px solid #204666;
        margin-bottom: 20px;
    }

    .tmp-header {
        display: flex;
        flex-direction: column;
    }


    .crmEntityFormView .view-grid.table-responsive,
    .entitylist .view-grid.table-responsive {
        overflow: auto;
    }

    .modal-lookup .view-grid.table-responsive,
    .modal-lookup .view-grid.table-responsive.has-pagination {
        overflow: auto !important;
    }


    #AllQuickLinks {
        flex-direction: column;
    }

    #leftLinks {
        margin-bottom: 10px;
    }

    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3 {
        font-size: 22px;
    }

    .tmp-header {
        padding: 0 15px 0 15px;
    }

    .progress .list-group-item {
        border: 0px !important;
        border-bottom: 2px solid #f2f3f4 !important;
    }

    .progress .list-group-item:last-child {
        border: 0px !important;
        border-bottom: 0 !important;
    }

    .tmp-accordion-header .field-value {
        width: 100%;
        /* Stacks fields on smaller screens */
    }

    .tmp-accordion {
        margin: 5px 15px 5px 15px;
    }

    .tmp-accordion-header .field-value span:last-child a {
        text-wrap: auto;
    }

    .tmp-margin-left-right-10 {
        margin: 0 10px 0 10px
    }
    .checkbox-cell .description {
        margin: 0 0 0 32px !important;
    }

    .crmEntityFormView .cell.checkbox-cell div.table-info {
        max-width: calc(100% - 50px);
    }

    .crmEntityFormView .cell.checkbox-cell div.control input[type=checkbox] {
        min-width: 30px;
    }

    #tmp-big-report{
        display: none;
    }

}

@media screen and (min-width: 776px) {
    #tmp-screen-size-message{
        display: none;
    }
    
    .tmp-tabs {
        display: flex;
        justify-content: space-around;
        border-bottom: 1px solid #204666;
        margin-bottom: 20px;
    }


    .tmp-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .progress .list-group-item {
        border: 0px !important;
        border-right: 2px solid #f2f3f4 !important;
    }

    .navbar-nav.weblinks .nav-item {
        display: flex;
        align-items: center;
    }

    .checkbox input[type=checkbox] {
        width: 1.5em;
        height: 1.5em;
        margin-right: 5px;
    }

    textarea#changeReason {
        height: 7em;
    }

}

