/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Headings written inside an Avada Builder title (for example an <h4> in the text of a title).
   Avada 6 gave them the color and size of their own tag. Avada 7 gives them the ones of the title
   (white and larger for a title of size 1), so they turned white on white. */
body.fusion-body #wrapper .fusion-title > h2:not([class*="title-heading"]) {
    color: var(--h2_typography-color);
    font-family: var(--h2_typography-font-family);
    font-size: var(--h2_typography-font-size);
    font-weight: var(--h2_typography-font-weight);
    letter-spacing: var(--h2_typography-letter-spacing);
    line-height: var(--h2_typography-line-height);
    text-transform: var(--h2_typography-text-transform);
    margin-top: var(--h2_typography-margin-top);
    margin-bottom: var(--h2_typography-margin-bottom);
}
body.fusion-body #wrapper .fusion-title > h3:not([class*="title-heading"]) {
    color: var(--h3_typography-color);
    font-family: var(--h3_typography-font-family);
    font-size: var(--h3_typography-font-size);
    font-weight: var(--h3_typography-font-weight);
    letter-spacing: var(--h3_typography-letter-spacing);
    line-height: var(--h3_typography-line-height);
    text-transform: var(--h3_typography-text-transform);
    margin-top: var(--h3_typography-margin-top);
    margin-bottom: var(--h3_typography-margin-bottom);
}
body.fusion-body #wrapper .fusion-title > h4:not([class*="title-heading"]) {
    color: var(--h4_typography-color);
    font-family: var(--h4_typography-font-family);
    font-size: var(--h4_typography-font-size);
    font-weight: var(--h4_typography-font-weight);
    letter-spacing: var(--h4_typography-letter-spacing);
    line-height: var(--h4_typography-line-height);
    text-transform: var(--h4_typography-text-transform);
    margin-top: var(--h4_typography-margin-top);
    margin-bottom: var(--h4_typography-margin-bottom);
}
body.fusion-body #wrapper .fusion-title > h5:not([class*="title-heading"]) {
    color: var(--h5_typography-color);
    font-family: var(--h5_typography-font-family);
    font-size: var(--h5_typography-font-size);
    font-weight: var(--h5_typography-font-weight);
    letter-spacing: var(--h5_typography-letter-spacing);
    line-height: var(--h5_typography-line-height);
    text-transform: var(--h5_typography-text-transform);
    margin-top: var(--h5_typography-margin-top);
    margin-bottom: var(--h5_typography-margin-bottom);
}
body.fusion-body #wrapper .fusion-title > h6:not([class*="title-heading"]) {
    color: var(--h6_typography-color);
    font-family: var(--h6_typography-font-family);
    font-size: var(--h6_typography-font-size);
    font-weight: var(--h6_typography-font-weight);
    letter-spacing: var(--h6_typography-letter-spacing);
    line-height: var(--h6_typography-line-height);
    text-transform: var(--h6_typography-text-transform);
    margin-top: var(--h6_typography-margin-top);
    margin-bottom: var(--h6_typography-margin-bottom);
}

/* Dropdowns of the calculator. The custom CSS of the page holds the arrow as a data URI. Avada 7 removes the
   percent-encoded characters from the custom CSS of a page, which breaks that URI and hides the arrow,
   so the arrow is repeated here. The rest of the style stays in the page. */
body.fusion-body #wrapper .select-css {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
        linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
}
