/**
 * Any Custom CSS related to CDHO should be added in this file
 */

/*---------------- Start - Overriding the Style from portalbasictheme.css --------- */
.cdho_a {
    margin-left: unset !important;
}

/*---------------- End - Overriding the Style from portalbasictheme.css --------- */

/*----------------- Start PCF control ------------------*/
.pcfcomponentclass:focus {
    border: 1px solid #69c !important;
    font-weight: normal !important;
}

.pcfcomponentclass:hover {
    border: 1px solid #949494 !important;
}

.pcfcomponentclassHide {
    display: none;
}

.pcfShimmer {
    line-height: 2.5;
    height: 2.5em;
    width: 100%;
    background: linear-gradient(-45deg, #F3F2F1 40%, #eceae4 50%, #F3F2F1 60%);
    background-size: 300%;
    background-position-x: 100%;
    animation: shimmer 1s infinite linear;
    border-radius: .375rem;
    padding: .375rem .75rem;
}

@keyframes shimmer {
    100% {
        background-position-x: 0%;
    }
}

/*----------------- End PCF control --------------------*/

/*----------------- Start Table Styles --------------------*/

th a:not(.btn),
td a:not(.btn, .snippetTextLink),
.header_1 a:not(.btn) {
    color: #1C1C4A !important;
}

footer a {
    color: #1C1C4A !important;
}

/*----------------- End Table Styles --------------------*/


/*------------------- Start Progress Bar -----------------*/
ol.progress.list-group.top {
    background: #ffffff;
    font-weight: 500;
}

li.list-group-item.text-muted.list-group-item-success {
    background: #d9e5d9;
    border-radius: 15px !important;
    margin: 0 5px 5px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

li.list-group-item.active {
    border-radius: 15px !important;
    margin: 0 5px 5px;
    background: #1c1c4a;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-color: #1c1c4a;
}

li.list-group-item.incomplete {
    background: #eceae4 !important;
    border-radius: 15px !important;
    text-align: center;
    margin: 0 5px 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

ol span.fa-solid.fa-check {
    display: none;
}

/*------------------- End Progress Bar -----------------*/

/*---------------- Start - Remove border from underneath the header of multi-step form ---------- */
.crmEntityFormView .tab-title {
    border-bottom: 0px;
}

/*---------------- End - Remove border from underneath the header of multi-step form ---------- */


/*-------------- Start - Move button to right -----------*/
.actions .col-md-6 {
    display: flex;
    justify-content: flex-end;
}

.actions {
    display: flex;
    justify-content: flex-end;
}

/*-- This one is needed specially for those buttons which falls to left on smaller screen -- */
.form-action-container-right {
    display: flex;
    justify-content: flex-end;
}

/*-------------- End - Move button to right -----------*/


/*-------------- Start - Public Register Styles -----------*/
#contact-details h1 {
    font-weight: 700;
    font-size: 50px;
}

#common-components a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    color: #1C1C4A;
}

#common-components .active a {
    color: white;
}

#common-components li {
    width: -webkit-fill-available;
    justify-content: center;
    margin-top: 10px;
}

.search-actions {
    border-top: 1px solid #e5e5e5;
    margin: 20px 0;
    padding: 19px 0 0 0;
    display: flex;
    justify-content: flex-end;
}

.search-actions .col-md-6 {
    display: flex;
    justify-content: flex-end;
}

.info-icon {
    background-color: #eceae4;
    color: red;
    border: 3px solid red;
    border-radius: 50%;
    font-size: 18px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: -2px;
}

.active .info-icon {
    background-color: #1c1c4a;
}

.toggle-btn {
    cursor: context-menu;
}

.advanced-search {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
}

.advanced-search.expanded {
    max-height: 500px;
    /* Enough to display all the content */
    transition: max-height 0.25s ease-in;
}

.btn-group {
    padding: 0 3px;
}

/*-------------- End - Public Register Styles -----------*/


/*-------------- Start - ForumBee - Communities of Practice -----------*/
span.cdho_hyperlink {
    text-decoration: underline;
    font-weight: bold;
    color: #005EBC;
    font-size: 1rem;
}

span.cdho_hyperlink:hover {
    color: #567563;
    cursor: pointer;
}

/*-------------- End - ForumBee - Communities of Practice -----------*/


/*-------------- Start - Misc -----------*/
.cdho_cursor_pointer {
    cursor: pointer;
}

.cdho_error {
    background-color: #E5D9D9;
    padding: 5px;
    padding-left: 10px;
    border-radius: 10px;
}

/*-------------- End - Misc -----------*/

/*-------------- Start - Sharepoint Add file Dialog Style -----------*/
.modal-add-file .modal-footer .primary.btn.btn-primary:disabled {
    background-color: gray !important;
}

/*-------------- End - Sharepoint Add file Dialog Style -----------*/

/*-------------- Start - Disclosure Response Form Style -----------*/
.question-block {
    margin-bottom: 20px;
    padding: 15px;
}

.response-controls {
    margin-bottom: 10px;
}

.response-alert {
    border: 1px solid #ED0000;
}
label.question {
    font-weight: unset;
}

/*-------------- End - Disclosure Response Form Style -----------*/

/*-------------- Start - Quality Assurance Page content Style -----------*/
  td:has(#Subgrid_Documents){
    padding: 0;
  }
  thead:not(.datepicker thead){
    background-color: #D9E5D9;
  }
  .subgrid .sharepoint-grid{
    padding: 0;
  }
  .cdho-non-editable-cell{
    background-color: rgb(234, 234, 234) !important;
    pointer-events: none !important;
  }
  .root-270 .ag-theme-balham .ag-cell:not(ag-cell-focus):not(.ag-cell-range-selected) .cdho-non-editable-cell {
    background-color: rgb(234, 234, 234) !important;
  }
/*-------------- End - Quality Assurance Page content Style -----------*/


/*-------------- Start - Power Apps Editable Grid Style -----------*/
.ag-header-cell,
.ag-header-cell .pcf-grid-header .non-editable-cell,
.root-270 .non-editable-cell,
.ag-header-cell .cdho-non-editable-cell {
    background-color: #D9E5D9 !important;

}

.ag-theme-balham .ag-header-row{
    border-radius: 5px;
}

.headerText-262 {
    font-size: 1rem !important;
    font-weight: bold !important;
    font-family: "Open Sans", sans-serif !important;
    color: #1C1C4A !important;
}

.chevronIcon-264 {
    font-size: 0.6rem !important;
    font-weight: bold !important;
    color: #1C1C4A !important;
}

.root-158 {
    font-size: 0.8rem !important;
    font-weight: bold !important;
    color: #1C1C4A !important;
}

/*-------------- End - Power Apps Editable Grid Style -----------*/

/*------------------- Start: Align labels next to the radio buttons -------------------*/
#pwks_current_employment_status input[type="radio"] {
    vertical-align: top;
    margin-top: 4px;
}

#pwks_current_employment_status label {
    width: 90%;
    margin-right: 0px !important
}

/*------------------- End: Align labels next to the radio buttons -------------------*/

/*------------------------Accessibility Issues-------------------------*/

/*Asterisk color to dark red*/
.crmEntityFormView .cell div.table-info.required label:after,
.cdho-field-required{
    color: #ED0000 !important;
}
.cdho-required{
    color: #940000;
}
/*---------------------------------End---------------------------------*/

/*------------------------QA Assessor Documents SharePoint Grid-------------------------*/

@media (max-width: 1590px) {
    .sharepoint-custom-icon {
        max-width: 80vw !important;
    }
}

@media (max-width: 1800px) and (min-width: 1591px) {
    .sharepoint-custom-icon {
        max-width: 70vw !important;
    }
}

@media (min-width: 1801px) {
    .sharepoint-custom-icon {
        max-width: 60vw !important;
    }
}

span.fa.fa-folder.text-primary {
    color: #ffd649 !important;
}

span.fa.fa-level-up.text-primary {
    color: #1c1c4a !important;
}

/*------------------------End of QA Assessor Documents SharePoint Grid-------------------------*/


/*------------------------Start of File Upload Modal Style-------------------------*/
label.control-label-addfile.col-md-3 {
    padding-bottom: 10px;
}
@media (min-width: 768px){
    .col-md-3 {
        width: 100% !important;
    }
}
/*------------------------End of File Upload Modal Style---------------------------*/


/*---------------------------- Start of making the disable optionset arrow disapper -------------------*/
.form-select:disabled {
    background-image: none;
}
/*---------------------------- End of making the disable optionset arrow disapper -------------------*/

/*---------------------------- Start: Anchor tag color -------------------*/
.snippetTextLink {
    color: #005EBC !important;
}
/*---------------------------- End: Anchor tag color -------------------*/
