/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;700&family=Playfair+Display:wght@400;700&family=Raleway:wght@400;700&family=Roboto+Mono:wght@400;700&display=swap');

body.cke_editable,
.cke_panel_container body
{
    /* Font */
    font-family: "Open Sans";
    font-size: 13px;

    /* Text color */
    color: #333;

    /* Remove the background color to make it transparent */
    background-color: #fff;

    margin: 20px;
}

.cke_editable
{
    font-size: 14px;
    line-height: 1.6;

    /* Fix for missing scrollbars with RTL texts. (#10488) */
    word-wrap: break-word;

    /* Fix when inside a modal */
    white-space: normal;
}

.cke_editable blockquote
{
    font-style: italic;
    font-family: Georgia, Times, "Times New Roman", serif;
    padding: 2px 0;
    border-style: solid;
    border-color: #ccc;
    border-width: 0;
}

.cke_editable .cke_contents_ltr blockquote
{
    padding-left: 20px;
    padding-right: 8px;
    border-left-width: 5px;
}

.cke_editable .cke_contents_rtl blockquote
{
    padding-left: 8px;
    padding-right: 20px;
    border-right-width: 5px;
}

.cke_editable a
{
    color: #0782C1;
}

.cke_editable ol,
.cke_editable ul,
.cke_editable dl
{
    /* IE7: reset rtl list margin. (#7334) */
    *margin-right: 0px;
    /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
    padding: 0 40px;
}

.cke_editable h1,
.cke_editable h2,
.cke_editable h3,
.cke_editable h4,
.cke_editable h5,
.cke_editable h6
{
    font-weight: normal;
    line-height: 1.2;
}

.cke_editable hr
{
    border: 0px;
    border-top: 1px solid #ccc;
}

.cke_editable img.right
{
    border: 1px solid #ccc;
    float: right;
    margin-left: 15px;
    padding: 5px;
}

.cke_editable img.left
{
    border: 1px solid #ccc;
    float: left;
    margin-right: 15px;
    padding: 5px;
}

.cke_editable pre
{
    white-space: pre-wrap; /* CSS 2.1 */
    word-wrap: break-word; /* IE7 */
    -moz-tab-size: 4;
    tab-size: 4;
}

.cke_editable .marker
{
    background-color: Yellow;
}

.cke_editable span[lang]
{
    font-style: italic;
}

.cke_editable figure
{
    text-align: center;
    border: solid 1px #ccc;
    border-radius: 2px;
    background: rgba(0,0,0,0.05);
    padding: 10px;
    margin: 10px 20px;
    display: inline-block;
}

.cke_editable figure > figcaption
{
    text-align: center;
    display: block; /* For IE8 */
}

.cke_editable a > img {
    padding: 1px;
    margin: 1px;
    border: none;
    outline: 1px solid #0782C1;
}

/* Widget Styles */
.code-featured
{
    border: 5px solid red;
}

.math-featured
{
    padding: 20px;
    box-shadow: 0 0 2px rgba(200, 0, 0, 1);
    background-color: rgba(255, 0, 0, 0.05);
    margin: 10px;
}

.image-clean
{
    border: 0;
    background: none;
    padding: 0;
}

.image-clean > figcaption
{
    font-size: .9em;
    text-align: right;
}

.image-grayscale
{
    background-color: white;
    color: #666;
}

.image-grayscale img, img.image-grayscale
{
    filter: grayscale(100%);
}

.embed-240p
{
    max-width: 426px;
    max-height: 240px;
    margin:0 auto;
}

.embed-360p
{
    max-width: 640px;
    max-height: 360px;
    margin:0 auto;
}

.embed-480p
{
    max-width: 854px;
    max-height: 480px;
    margin:0 auto;
}

.embed-720p
{
    max-width: 1280px;
    max-height: 720px;
    margin:0 auto;
}

.embed-1080p
{
    max-width: 1920px;
    max-height: 1080px;
    margin:0 auto;
}

/*
Custom styles
*/

.readonly-editor .cke_widget_drag_handler_container {
    display: none !important;
}

body.cke_editable.maximized,
body .cke_inner.cke_maximized .cke_contents {
    width: 21cm;
    margin: 1em auto;
    padding: 1.8cm 2cm;
    min-height: 29cm;
    background: white;
    box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
}

html.maximized {
    cursor: text;
    background: #A4A4A4
}

body .cke_editable[contenteditable="false"] .cke_placeholder {
    background-color: transparent;
}
body .cke_editable[contenteditable="false"] .cke_widget_drag_handler,
body .cke_editable[contenteditable="false"] .cke_widget_drag_handler_container {
    display: none !important;
}

body .cke_widget_wrapper:hover > .cke_widget_element {
    outline: none;
    border: none;
}

body .read-mode-form .cke_button:not(.cke_button__maximize) {
    opacity: .3;
}

body .cke_panel_list .cke_panel_listItem a[title="search"] {
    padding: 3px;
}

body .cke_panel_list .cke_panel_listItem a[title="search"] input {
    width: 90%;
}
body .cke_panel_block .hidden {
    display: none;
}

body .cke_panel_grouptitle::before {
  content: '↘ ';
}
body .cke_panel_grouptitle.collapsed::before {
  content: '↖ ';
}
body .cke_panel_list.collapsed .cke_panel_listItem {
  display: none !important;
}
body .cke_widget_inline {
  margin-right: 1px;
  margin-left: 1px;
}
