/* Brand button text color white */
button.slds-button_brand{
    color: #ffffff !important;
}

/* Home page banner */
[data-component-id="section-4640"] .columns-content{
    background-color: #d9f1f1 !important;
}

/* Apply filter button on search page */
.apply-button button{
    color: white !important;
}

.important-class {
    font-weight: bold;
    color: red;
    font-size: 16px;
}

.error-message {
    color: red;
    font-size: 0.875rem; /* Adjust as needed */
    margin-top: 0.25rem; /* Adjust as needed */
}

/* Style for the checkbox row */
.important-checkbox-row {
    display: flex;
}

/* Style for the checkbox */
.important-value {
    margin-top: 10px;
}

/* Footer links color */
.site-footer .slds-button{
    color: white !important;
}
.site-footer .logo-anchor{
    margin-left: 85px !important;
}

/* Header logo */
.logo-anchor{
    height: 62px !important;
    width: 118px !important;
}
.site-head-logo a div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Fix for the footer position */
.content-container{
    min-height: calc(100vh - 193px) !important;
}

/* Person details page */
.detailLabel{
    font-weight: bold;
    color: #068f90;
}

/* Opportunities List on Person details page */
.oppContainer, .fsbEntitlementContainer{
    padding: 16px;
    background-color: #f7f7f7;
    margin-bottom: 16px;
}

.custom-white-icon {
    --slds-c-icon-color-foreground-default: white;
}

/* New Lead Journey */
.newLeadContainer  label.slds-form-element__label{
    margin-bottom: 2px !important;
}
.newLeadContainer lightning-input.slds-form-element, .newLeadContainer lightning-picklist{
    margin-bottom: 16px !important;
}
.newLeadContainer lightning-input-name, .newLeadContainer lightning-input-name fieldset{
    margin-bottom: 0 !important;
}

/* Sign up Container*/
.signUpContainer lightning-input.slds-form-element{
    margin-bottom: 16px !important;
}
.contactPreference lightning-input, .contactPreference lightning-input label span{
    margin: 0 !important;
}
.termsAndConditionsContainer .checkbox label{
    padding: 0 !important;
}
.termsAndConditionsContainer .checkbox span.slds-form-element__label{
    color: var(--dxp-g-brand) !important;
    font-weight: bold !important;
}
.signUpContainer lightning-picklist{
    margin-bottom: 16px !important;
}
.signUpContainer lightning-input-name, .signUpContainer fieldset.slds-form-element{
    margin-bottom: 0 !important
}
.productWizardCard lightning-input, .productWizardCard lightning-combobox{
    margin-bottom: 0 !important
}

/* Mobile styles */
@media only screen and (max-width: 1024px) {
    /* Footer */
    .site-footer{
        a.slds-button{
            margin-left: auto !important;
        }
    }
    .site-footer .component-wrapper-spacer{
        margin-bottom: 0 !important;
    }
    .site-footer .logo-anchor{
        margin-bottom: 16px !important;
    }
    .site-footer .logo-anchor{
        margin-left: auto !important;
        margin-right: auto !important;
    }
    [data-component-id="textBlock-a81b"]{
        text-align: center !important;
    }
    /* Header menu */
    .menu-li-item{
        height: auto !important;
    }
    /* Header logo */
    .logo-anchor{
        height: 32px !important;
        width: 60px !important;
    }
    .site-head-logo a div {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media only screen and (min-width: 1024px) {
    /* Header */
    header .slds-grid{
        margin-left: 8px !important;
        margin-right: 16px !important;
    }
}
@media only screen and (min-width: 1367px) {
    /* Header */
    header .slds-grid{
        margin-left: 32px !important;
        margin-right: 32px !important;
    }
}
@media only screen and (min-width: 1023px) and (max-width: 1024px){
    .col-lg-7.header-specific-height{
        height: 118px !important;
    }
}

/* My profile menu */
@media only screen and (min-width: 1024px) {
    .myFSBMenu{
    position: absolute;
    right: 77%;
    width: 200px;
    }
}

/* Ensure the dropdown has no padding and width is set */
.myIcon .slds-dropdown {
    width: 200px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important; /* Remove any border */
    box-shadow: none !important; /* Remove any box shadow */
}

/* Remove any padding or margin from the dropdown items */
.myIcon .slds-dropdown__item {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none !important; /* Remove bottom border */
}

/* Remove padding, margin, and borders from dropdown headers */
.myIcon .slds-dropdown__header {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Adjust the icon (my profile) colors on hover */
.myIcon lightning-primitive-icon:hover svg, .myIcon lightning-primitive-icon:focus svg {
    fill: white !important;
}
.myIcon:hover svg, .myIcon:focus svg {
    fill: white !important;
}
.myIcon .slds-button:focus svg, .myIcon .slds-button:hover svg{
    fill: white !important;
}

.myFSBMenu .logoutLink{
    color: white !important;
}
/* Info icon for search in header */
.info-icon{
    position: absolute;
    top: 0;
    left: -8px;
    margin-top: 6px;
    cursor: pointer;
}
.info-icon svg{
    height: 20px;
    width: 20px;
    fill: white !important;
}
/* Mobile styles for the header and the elements in it */
@media only screen and (max-width: 768px) {
    .info-icon{
        left: 0 !important;
    }
    .site-head-main{
        .input-search-button{
            padding-left: 8px !important;
            padding-right: 8px !important;
        }
    }
    .header-specific-height{
        padding-right: 16px !important;
        /* OR 0 for the smallest devices? */
    }
    .header-logo{
        padding-left: 8px !important;
    }
    .site-head-main {
        height: 70px !important;
    }
    header.site-head .slds-grid {
        height: 70px !important;
    }
    header ul{
        left: 8px !important;
        position: fixed !important;
        width: 100% !important;
        top: 70px !important;
    }
    header .hidden-md {
        padding-right: 0 !important;
    }
    header .showOnlyMobile{
        padding-left: 24px !important;
        padding-right: 0 !important;
    }
    .menu-trigger{
        width: 40px !important;
    }
}

/* Calendar */
[data-id="calendar"] .fc-day-grid-container{
    height: 100% !important;
}
 @media only screen and (max-width: 1024px) {
    [data-id="calendar"] .fc-toolbar {
        display: block !important;
        text-align: center !important;
    }
     [data-id="calendar"] .fc-center{
         font-size: 24px;
         margin: 8px;
     }
     .divert-event-button button{
         margin-bottom: 8px;
     }
     .delete-event-button button{
         margin-bottom: 8px;
     }
     [data-component-id="textBlock-634e"] h1{
         margin: 0;
     }
 }

 /* search results */
 @media only screen and (min-width: 768px) and (max-width: 1023px){
    /* opps */
    [data-component-id="section-b0d2"] .columns-content{
        max-width: 100% !important;
    }
    /* leads */
    [data-component-id="section-7672"] .columns-content{
        max-width: 100% !important;
    }
    /* welcome visits */
    [data-component-id="section-c0ea"] .columns-content{
        max-width: 100% !important;
    }
    /* subcontractors */
    [data-component-id="section-07b4"] .columns-content{
        max-width: 100% !important;
    }
    /* search */
    [data-component-id="section-62cd"] .columns-content{
        max-width: 100% !important;
    }
}

/* Header */
c-partner-portal-layout .header-placeholder{
    height: 80px !important;
}
c-partner-portal-layout .header-placeholder.header-section{
    height: 80px !important;
}
c-partner-portal-layout .site-head-nav-dropdown.menu-li-item{
    height: 80px !important;
}
@media only screen and (min-width: 1024px){
    c-partner-portal-layout .site-head-nav-dropdown.menu-li-item{
        height: 115px !important;
    }
}
@media only screen and (max-width: 767px) {
    c-partner-portal-layout .menu-trigger-wrap{
        margin-top: 18px !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    c-partner-portal-layout .menu-trigger-wrap{
        margin-top: 20px !important;
    }

@media only screen and (max-width: 991px) {
    c-partner-portal-layout .site-head-nav ul{
        margin: 15px -8px !important;
        background-color: white !important;
    }
}