﻿/*
  Rich text styles, loaded by the rich text editor (the Richtext editor data type's stylesheet)
  and by the public site (Views/Shared/_Layout.cshtml).

  Umbraco 17's TipTap editor ignores the umb_name comments below. The Formats menu now comes from
  App_Plugins/JournalsRichTextStyles/umbraco-package.json: change both files together.

  TipTap puts a link outside the span, sometimes with bold between them
  (<a><strong><span class="Make_Button">), where TinyMCE put it inside
  (<span class="Make_Button"><a>). Each "> a" rule has an "a:has(...)" twin for the new nesting.
*/

/**umb_name:Header_1*/
.Header_1 {
    font-size: 2.5rem;
    color: #4765a0;
    font-weight: 400;
}

/**umb_name:Header_2*/
.Header_2 {
    font-size: 2rem;
    color: #4765a0;
    font-weight: 400;
}

/**umb_name:Header_3*/
.Header_3 {
    font-size: 1.75rem;
    color: #4765a0;
    font-weight: 400;
}

/**umb_name:Header_4*/
.Header_4 {
    font-size: 1.5rem;
    color: #4765a0;
    font-weight: 400;
}

/**umb_name:Header_5*/
.Header_5 {
    font-size: 1.25rem;
    color: #4765a0;
    font-weight: 400;
}

/**umb_name:Header_6*/
.Header_6 {
    font-size: 1rem;
    color: #4765a0;
    font-weight: 400;
}

/**umb_name:Make_Button*/
.Make_Button {
    border: 0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-weight: 400;
    padding: 6px 13px;
    position: relative;
    background: #0096d4;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
}

    .Make_Button > a,
    a:has(.Make_Button) {
        color: #fff !important;
        text-decoration: none !important;
    }

    .Make_Button:hover {
        background: #19A1D8;
    }


/**umb_name:Make_Button_PRiMER*/
.Make_Button_PRiMER {
    border: 0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-weight: 400;
    padding: 6px 13px;
    position: relative;
    background: #4765a0;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
}

    .Make_Button_PRiMER > a,
    a:has(.Make_Button_PRiMER) {
        color: #fff !important;
        text-decoration: none !important;
    }

    .Make_Button_PRiMER:hover {
        background: #6C84B3;
    }

/* STFM colours for the Formats menu. The same rules as unify.min.css, repeated here so the editor
   shows them too. */
.stfm-orange {
    color: #ef8d2b !important;
}

.stfm-blue {
    color: #0096d4 !important;
}