/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); */

/* Client Styles *********************************************************** */
body {
    /* Literally no styles. */
}

/* Admin Styles *********************************************************** */
/* Add logo to block in editor when selected. */
.wp-block-acf-dh-portal-builder-features-options.is-selected::before {
    content: "";
    position: absolute;
    top: -56px;
    left: -56px;
    right: auto;
    width: 46px;
    height: 46px;
    background: #fff url(digital-hill-logo.svg) no-repeat center center;
    background-size: 40px 40px;
    z-index: 2;
    border: 1px solid #1e1e1e;
}
/* Patch for Admin adding the background color to the whole editor section. */
.wp-block-acf-dh-portal-builder-features-options {
    background-color: transparent !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* Patch for Admin adding margin-block-start to all top-level blocks. */
.dh-portal-builder-features-optionss {
    /* margin-block-start: 0 !important; */
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* Patch for Admin applying the user-selected background color to the entire block, and not just the features-options. */
body :where(.editor-styles-wrapper) .has-base-background-color.wp-block-acf-dh-portal-builder-features-options,
body :where(.editor-styles-wrapper) .has-contrast-background-color.wp-block-acf-dh-portal-builder-features-options,
body :where(.editor-styles-wrapper) .has-accent-1-background-color.wp-block-acf-dh-portal-builder-features-options,
body :where(.editor-styles-wrapper) .has-accent-2-background-color.wp-block-acf-dh-portal-builder-features-options,
body :where(.editor-styles-wrapper) .has-accent-3-background-color.wp-block-acf-dh-portal-builder-features-options,
body :where(.editor-styles-wrapper) .has-accent-4-background-color.wp-block-acf-dh-portal-builder-features-options,
body :where(.editor-styles-wrapper) .has-accent-5-background-color.wp-block-acf-dh-portal-builder-features-options {
    background-color: transparent !important;
}
/* Prevent clicks on links in the editor */
.editor-styles-wrapper .wp-block-acf-dh-portal-builder-features-options a {
    cursor: default;
    pointer-events: none;
}
/* Set styles for debug area */
:root .editor-styles-wrapper .wp-block-acf-dh-portal-builder-features-options :where(.wp-block-code) {
    font-family: 'Montserrat', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff !important;
    background-color: #333 !important;
    padding: 20px;
    border-radius: 8px;
}

/* Smaller font and wrapping text for shortcode output. */
.wp-block-acf-dh-portal-builder-features-options .acf-block-component pre, 
.wp-block-acf-dh-portal-builder-features-options .acf-block-component pre p {
    font-size: 12px;
    line-height: 1.2;
    word-break: break-all;
    word-wrap: break-word;
    max-width: 100%;
    overflow: scroll;
    white-space: pre-wrap;
}

/* Hardcoded Shortcode Styles ************************************************** */
body table.prod-compare-list .dhcategory-row th {
    padding-bottom: 10px !important;

}
.prod-compare-list,
body table.prod-compare-list tr {
    background: none !important;
    color: #fff !important;
    padding-bottom: 6px;
}
table.prod-compare-list .dhcategory-row th {
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
    padding-bottom: 8px;
}
body table.prod-compare-list tr.prod-compare-row td {
    /* background: none; */
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    opacity: 1 !important;
    background: transparent;
}
body table.prod-compare-list tr.prod-compare-row:nth-child(odd) td {
    background: rgba(0,0,0,0.04) !important;
}
body table.prod-compare-list tbody.active tr.prod-compare-row td {
    /* background: none; */
   
}
table.prod-compare-list tbody.active .dhgroup-row {
    color: #006E3D !important;
    border-bottom: 1px solid #006E3D !important;
    opacity: 1 !important;
    border-bottom: 1px solid #006E3D !important;
    background: rgba(0,0,0,0.3) !important;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0)) !important;
    font-size: 14px;
    font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
}