/* Navbar */
.navbar-collapse .navbar-right {
    align-content: center;
    height: 69px;
}
/*sign -in*/
a[role="tab"][title="Register"] {
    display: none !important;
}


/* -- COMPONENT: Checkbox Component -- */
.control-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: .75rem;
}

.control-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--portalThemeColor4);
}

/* -----------------END------------------- */

/* -- COMPONENT: Select -- */
select {
    background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat !important;
    background-position: calc(100% - 1.25rem) center !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 2.5rem !important;
}

select.readonly {
    background: none !important;
}

/* -----------------END------------------- */

/* -- COMPONENT: Status Styles targetting all tables with status -- */
option[id="evo_quotestatus"],
div[data-automation-key="statecode"],
[id="statuscode"],
div[data-automation-key="evo_quotestatus"],
select[id="evo_quotestatus"],
div[data-automation-key="statuscode"],
div[data-automation-key="evo_valuationstatus"] {
    min-height: 4px !important;
    height: max-content;
    width: max-content !important;
    padding-bottom: 2px !important;
    padding-top: 2px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-top: 10px;
    background: #e0e1e4 !important;
    color: #64677A;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
}

/* -----------------END------------------- */

/* -- COMPONENT: Form Control -- */
.form-control {
    border-radius: 3px;
    border: 1px solid #B9BAC6 !important;
}

/* -- COMPONENT: Form Control READONLY -- */
.form-control.readonly,
.form-control.aspNetDisabled,
input[readonly="readonly"] {
    border-radius: 3px;
    border: none !important;
    padding: 0 !important;
    height: max-content;
}

/* ------------------------------------ */

/* -- COMPONENT: Field Labels STyle */
.info .field-label {
    color: #979CAD;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
}

.info .field-label::after {
    font-size: 16px;
    color: #C71D18 !important;
}

/* -----------------END------------------- */

/* -- CUSTOM CSS: Displays:none all cells that is empty --*/
.cell:not(:has(div, label, select, p)) {
    display: none;
}

/* ------------------------------------ */

/* -- CUSTOM CSS: Remove bootstrap style on timeago   */
.timeago {
    cursor: text !important;
    border-bottom: none !important;
    text-decoration: none;
}

/* -----------------END------------------- */

/* Button */
.customBtn-primary:hover {
    background-color: #CD4F18;
}

/* -----------------END------------------- */

/* Shadow Theme */
.themeShadow {
    box-shadow: 0px 2px 10px 0px rgba(30, 30, 30, 0.14), 0px 0px 2px 0px rgba(30, 30, 30, 0.30) !important;
}

/* -----------------END------------------- */


/* ------------------------------------ */

/* -- COMPONENT: Modal -- */
.ms-Modal {
    border-radius: 6px;
}


.ms-Modal .ms-Dialog-main {
    width: 100% !important;
    height: 95% !important;
}

.ms-Modal .content-container {
    padding-left: 0;
    padding-right: 0;
}

/* ---- COMPONENT: Modal Font Styles ---- */
.form-subgrid-heading label[for="Emails"] {
    font-size: 18px !important;
    font-weight: 400 !important;
}

#modalTitle {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 0;
}

.tab-title {
    font-size: 20px;
    color: var(--portalThemeColor4);
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
}

.section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--portalThemeColor6);
    margin-top: 16px !important;
    border-bottom: unset !important;
    /* border-bottom: 1px solid var(--portalThemeColor9); */
    margin-bottom: 10px;
}

/* -----------------END------------------- */

/* -- COMPONENT: Field sets -- */
fieldset[aria-label="Summary"],
fieldset[aria-label="Do you accept this quote?"],
fieldset[aria-label="Quote Documents"],
fieldset[aria-label="Invoices"] fieldset[aria-label="Section"] {
    /* box-shadow: 0px 2px 10px 0px rgba(30, 30, 30, 0.14), 0px 0px 2px 0px rgba(30, 30, 30, 0.30) !important;
    padding: 16px;
    border-radius: 6px; */
    margin-bottom: 16px;
    border-bottom: 1px solid var(--portalThemeColor9);
    padding-bottom: 24px;
}

/* ---- COMPONENT: Field sets REMOVE SUB HEADING SPACE ---- */
fieldset[aria-label="Summary"] h3.info.form-subgrid-heading,
fieldset[aria-label="Do you accept this quote?"] h3.info.form-subgrid-heading,
fieldset[aria-label="Quote Documents"] h3.info.form-subgrid-heading,
fieldset[aria-label="Invoices"] h3.info.form-subgrid-heading,
fieldset[aria-label="Related Records"] h3.info.form-subgrid-heading {
    display: none;
}

/* -----------------END------------------- */

/* ---- COMPONENT: Fieldset(Invoices) ---- */

fieldset[aria-label="Invoices"] .subgrid-cell,
fieldset[aria-label="Related Records"] .subgrid-cell {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* -----------------END------------------- */

/* ---- COMPONENT: Fieldset(Do you accept this quote?) ---- */

fieldset[aria-label="Do you accept this quote?"] {
    padding: 16px;
    background: var(--portalThemeColor11);
    border-radius: 12px;
    color: var(--portalThemeColor7);
    position: relative;
    margin: 40px 0px 20px
}

fieldset[aria-label="Do you accept this quote?"] .picklist-cell {
    padding-left: 0;
}


fieldset[aria-label="Do you accept this quote?"] .section-title {
    position: absolute;
    top: 0;
    width: max-content;
}

fieldset[aria-label="Do you accept this quote?"] .section-title h3 {
    color: var(--portalThemeColor4);
}

fieldset[aria-label="Do you accept this quote?"] legend~table.section {
    margin-top: 40px;
}

/* -----------------END------------------- */

/* ---- COMPONENT: Fieldset(Do you accept this quote?) ---- */
fieldset[aria-label="Quote Documents"] .entity-notes .note .row .metadata {
    font-size: 14px;
    color: #979CAD;
}

fieldset[aria-label="Quote Documents"] .section-title h3 {
    margin-bottom: 0;
}

fieldset[aria-label="Quote Documents"] .timeago {
    font-size: 14px;
    color: #979CAD;
    border-bottom: unset !important;
}

/* -----------------END------------------- */

/* -- SELECT: All Cells that has word SUMMARY for aria-label -- */
fieldset[aria-label~="Summary"] td.cell {
    padding: 1rem 1rem .25rem 0;
    border: 1px solid #c8c6c6;
    padding: 1rem;
    border-radius: 6px;
}

/* -- SELECT: Job Details table cells -- */
fieldset[aria-label~="Section"] td.cell {
    padding: 1rem 1rem .25rem 0;
    border: 1px solid #c8c6c6;
    padding: 1rem;
    border-radius: 6px;
}

div[data-name="Property Details"] td.cell {
    padding: 1rem 1rem .25rem 0;
    border: unset !important;
    border-radius: unset !important;
}

/* -----------------END------------------- */

/* -- TNC Fieldsets -- */

/* ---- COMPONENT: Fieldset(Do you accept this quote?) ---- */

fieldset[aria-label="Terms and Conditions"] td.checkbox-cell:has(.evoTncCheckbox) {
    border: 1px solid var(--portalThemeColor4) !important;
}

fieldset[aria-label="Terms and Conditions"] td.checkbox-cell:has(.evoTncCheckbox) .field-label {
    color: var(--portalThemeColor4);
}

/*  ---- TNC FIELD SET LABEL:HOVER ---- */
fieldset[aria-label="Terms and Conditions"] td.checkbox-cell:has(.evoTncCheckbox) .field-label:hover {
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

fieldset[aria-label="Terms and Conditions"] td.checkbox-cell:has(.evoTncCheckbox) p {
    font-size: 14px;
    font-weight: 600;
}

/*  ---- TNC FIELD SET CHECKBOX ---- */
fieldset[aria-label="Terms and Conditions"] .control-checkbox {
    padding-top: 1rem;
    border-top: 1px solid #e6e6e6;
    width: 100%;
}

fieldset[aria-label="Terms and Conditions"] .control-checkbox input[type="checkbox"] {
    margin-top: 0 !important;
}

fieldset[aria-label="Related Records"] .entity-notes .note .row .metadata {
    padding: 0 !important;
}

/* -----------------END------------------- */



.control-checkbox .subgrid .view-toolbar {
    border: 0 !important;
}


.subgrid .view-toolbar .pull-right {
    float: left !important;
}

.subgrid .view-toolbar .pull-right .btn-primary {
    margin-left: 0 !important;
}

.subgrid .view-toolbar .pull-right .btn-info {
    border-radius: 6px !important;
}

fieldset .sharepoint-data .table th,
.view-grid .table th {
    background-color: var(--portalThemeColor1) !important;
    color: var(--portalThemeColor7) !important;
    font-weight: 500 !important;
}

fieldset .sharepoint-data .table th.sort {
    color: var(--portalThemeColor7) !important;
    font-weight: 500 !important;
}

fieldset .sharepoint-data .table th a,
.table th a {
    color: var(--portalThemeColor7) !important;
    font-weight: 500 !important;
    text-decoration: unset !important;
}

fieldset .sharepoint-data .table th a:hover,
.table th a:hover {
    font-weight: 700 !important;
}

.table tr .sharepoint-custom-icon {
    display: inline-flex;
    align-items: center;
}

.sp-item {
    border: 1px solid var(--portalThemeColor10);
}

.sp-item .fa {
    margin-right: 4px;
    font-size: 20px;
}

.ms-DetailsHeader-cell:hover {
    background-color: var(--portalThemeColor4) !important;
}

html[dir=ltr] .crmEntityFormView .cell.checkbox-cell:first-child {
    padding: 10px 10px !important;
    background: var(--portalThemeColor11) !important;
    border-radius: 3px !important;
    margin: 0 16px 16px;
}

html[dir=ltr] .crmEntityFormView .cell.checkbox-cell:first-child .info {
    padding-bottom: 0 !important;
}

/* Table remove padding */
.cell.sharepoint-documents.table {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.crmEntityFormView,
.entitylist,
.modal-content,
.popover-content {
    border: 0 !important;

}

.crmEntityFormView .actions {
    position: fixed;
    bottom: 0;
    margin: 0;
    width: 100%;
    background-color: white;
}

.property-form .crmEntityFormView .actions {
    position: inherit !important;
    width: 100%;
    background-color: white;
}

.property-form .crmEntityFormView .actions input[type="button"] {
    border-color: #E76A34;
    border-radius: 6px;
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 20px;
    width: fit-content;
    border-style: solid;
    background-color: #E76A34;
    color: #FFFFFF;
}

/* Footer */

/* --footer section "Links"--- */
.footerSection-links {
    width: 100%;
    padding: 0 14px;
}

/* --footer link item--- */
.footerSection-links .footerSection-links-item {
    width: 100%;
}

/* --footer button--- */
.footerSection-links .footerSection-links-item .footerbtn {
    width: 100%;
    text-align: left;
    font-size: 14px;
}

.footerSection-links .footerSection-links-item .footerbtn:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --footer button icon--- */
.footerSection-links .footerSection-links-item .glyphicon {
    color: var(--portalThemeColor4) !important;
    margin-right: 4px !important;
}

.footerSection-contactUs {
    width: 100%;
    padding: 0 14px;
}

.footerSection-contactUs .footer-contactUs-item {
    display: flex;
    gap: 4px;
    color: rgb(255, 255, 255);
}

.footerSection-contactUs .footer-contactUs-item {
    display: flex;
    color: rgb(255, 255, 255);
    font-size: 14px !important;
    align-items: flex-start;
    margin-bottom: 4px;
}

.footerSection-contactUs .footer-contactUs-item .glyphicon {
    color: var(--portalThemeColor4) !important;
    margin-right: 4px !important;
    margin-top: 2px;
}

.copyrightname {
    text-align: flex-start !important;
    font-size: 12px !important;
}

.card-request-quote {
    padding: 0;
    margin: 24px 0;
    border-radius: 6px;
    border: 1px solid var(--portalThemeColor9);
}

.instruction {
    padding: 16px;
    border-radius: 6px;
    background-color: var(--portalThemeColor11);
    font-size: 14px !important;
}

.card .tab-title {
    font-size: 20px;
    color: var(--portalThemeColor4);
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
}

.ms-CommandBar {
    height: 60px !important;
    padding: 14px 14px 14px 10px !important;
}

.ms-CommandBar .ms-CommandBarItem-link {
    border: unset !important;
    border-radius: 6px;
    background-color: var(--portalThemeColor4) !important;
    color: var(--portalThemeColor7) !important;
}

.ms-CommandBar .ms-CommandBarItem-link:hover {
    background-color: var(--portalThemeColor12) !important;
}

/* -------------------------- */

#content_form {
    margin-bottom: 5px;
}

.open>.dropdown-menu {
    background-color: var(--portalThemeColor4, #ffffff);
}

.open>.dropdown-menu>li>a {
    color: var(--portalThemeOnColor9, #1276CE);
}


.open .dropdown-menu>li>a:hover,
.dropdown-menu>.active>a:hover {
    color: var(--portalThemeColor4, #ffffff);
    background-color: var(--portalThemeOnColor9, #1276CE);
    text-decoration: Underline;

}

.dropdown-menu>.active>a {
    color: var(--portalThemeColor4, #ffffff);
    background-color: var(--portalThemeOnColor9, #1276CE);
    text-decoration: Underline;

}

.open .dropdown-menu>.active>a:focus {
    color: var(--portalThemeColor4, #ffffff);
    background-color: var(--portalThemeOnColor9, #1276CE);
    text-decoration: Underline;

}

/* Tooltip */
.info {
    padding-bottom: 4px;
}

.info:has(.evoTooltipIcon) .field-label {
    margin-bottom: 0;
}

.info .evoTooltipIcon {
    margin-left: 4px;
    color: var(--portalThemeColor8);
    cursor: pointer;
}

.info .evoTooltipMessage {
    padding: 1rem;
    border-radius: 3px;
    position: absolute;
    background-color: var(--portalThemeColor8);
    color: white;
    font-size: 12px;
    width: 180px;
    margin-left: 8px;
    top: -16px;
}

.evoTooltipIcon {
    position: relative;
}


/* Message Style */
.evoMessage--info {
    margin-top: 4px;
    border: 1px solid #12AAE4;
    border-radius: 3px;
    color: #12AAE4;
    background-color: #D0EFFB;
    font-size: 12px;
    padding: 1rem;
    display: flex;
}

.evoMessage--info .fa {
    margin-right: 4px;
}

.evoMessage--error {
    margin-top: 4px;
    border: 1px solid #C71D18;
    border-radius: 3px;
    color: #C71D18;
    background-color: #FAD3D1;
    font-size: 12px;
    display: flex;
}

/* COMPONENT: Validation Summary */
.validation-summary {
    border-radius: 6px;
}

.validation-summary :is(.validation-header) {
    font-size: 1em;
    color: #C71D18;

}

.validation-summary :is(li) {
    font-size: 14px;
    font-weight: 600;
}

.evoMessage--error .fa,
.evoMessage--info .fa {
    margin-right: 4px;
}

/* NEWS LIST */
.news-list {
    display: grid;
    margin-top: 16px;
    gap: 12px;
    grid-template-columns: 1fr 1fr 1fr;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-radius: 6px;
    padding: 16px;
    background-color: var(--portalThemeColor1);
}

.news-item:hover {
    background-color: #091545;
}

.news-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.news-item .news-content .title {
    line-height: .8 !important;
    margin-bottom: 10px !important;
}

.news-item .news-content .title a {
    font-size: 14px;
    color: var(--portalThemeColor4);
    text-decoration: none;
    font-weight: 600;
}

.news-item .news-content .category {
    font-size: 10px;
    color: var(--portalThemeColor5);
    margin-bottom: 4px;
}

.news-item .news-content .description {
    font-size: 12px;
    color: var(--portalThemeColor7);
}

.news-item .news-content .date {
    font-size: 10px;
    color: var(--portalThemeColor5);
}


@media screen and (min-width: 992px) {
    .container {
        width: 100%;
        margin: 0 auto;
        max-width: 1720px;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .modal-lg {
        width: 100%;
        max-width: 1280px;
    }

    .ms-Dialog-main .container.wrapper-body {
        /* width: 100%;
        max-width: 1120px; */
    }
}

@media screen and (max-width: 767px) {
    .navbar-fixed-bottom {
        position: relative;
    }

    .footerSection-Links,
    .footerSection-contactUs {
        padding: 0;
    }

    .sectionBlockLayout--Home {
        height: auto !important;
    }

}
/*------
/* ---- Style the radio button section like a fieldset ---- */
.boolean-radio-cell {
    padding: 16px;
    background: var(--portalThemeColor11); /* Light orange background */
    border-radius: 12px;
    color: var(--portalThemeColor7);
    position: relative;
    margin: 20px 0px;
    border: none;
    display: block;
}

/* Style the question label */
.boolean-radio-cell .field-label {
    font-weight: bold;
    color: var(--portalThemeColor4); /* Orange text */
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

/* Style radio button options */
.boolean-radio input[type="radio"] {
    margin-right: 5px;
    accent-color: var(--portalThemeColor4); /* Theme color for selected radio button */
    transform: scale(1.2); /* Slightly larger radio button */
}

/* Make radio button labels black */
.boolean-radio label {
    font-size: 14px;
    margin-right: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: black !important;  /* Forces text color to black */
}

#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel {
    display: none !important;
}

/* ---- Style the comment section like a fieldset ---- */



