/**
 * 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;
}
/*----------------- End PCF control --------------------*/

/*----------------- Start Table Styles --------------------*/

th a:not(.btn), td a:not(.btn), .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{
    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: #D60000;
    border: 3px solid #D60000;
    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;
}

.cdho_padding {
    padding: 0 28px 20px 0 !important
}

@media (max-width: 767px) {
	.cdho_padding {
		padding: 0;
	}
}

/* This is to fix the issue of iframe's width being different from the overall window width */
@media (min-width: 696px) and (max-width: 936px) {
    iframe .crmEntityFormView .cell {
        padding: 0 28px 20px;
    }
}

/*-------------- End - Misc -----------*/

h3.form-subgrid-heading{
    font-family: "Open Sans", sans-serif !important;
}

/* Start: Font for Subgid columns of type rich text editor */
td[data-attribute='pwks_online_summary'] *,
td[data-attribute='cdho_online_summary_french'] * ,
td[data-attribute="pwks_hearinglocation"] * {
  font-family: "Open Sans", sans-serif !important;
  font-size: 16px !important;
}
/* Start: Font for Subgid columns of type rich text editor */

/*---------------Start: Reduce Gap between sections---------------*/
.crmEntityFormView fieldset {
    margin-bottom: 0 !important;
}
/*---------------End: Reduce Gap between sections---------------*/


