/*!
   Course Builder Editor Styles

    This editor style is also loaded in the backend to style the posts, pages
    WARNING: this file is not loaded in the front end
*/

.wp-block {
    width: calc(100vw - (2 * 1rem));
    max-width: 100%;
}

@media only screen and (min-width: 768px) {
    .wp-block {
        width: calc(8 * (100vw / 12));
    }
}

@media only screen and (min-width: 1170px) {
    .wp-block {
        width: calc(6 * (100vw / 12 ));
    }
}

.wp-block .wp-block {
    width: 100%;
}

.wp-block[data-align="wide"] {
    max-width: 1200px;
}

.wp-block[data-align="full"] {
    max-width: none;
}

.wp-block-paragraph.has-drop-cap:not(:focus):first-letter {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    float: left;
    line-height: 1;
    font-weight: bold;
    margin: 0.05em 0.1em 0 0;
    text-transform: uppercase;
    font-style: normal;
}

.editor-styles-wrapper p {
    line-height: 1.7em;
    font-size: 15px;
}

.wp-block-quote br {
    display: none;
}

.editor-styles-wrapper .wp-block[data-align="full"] {
    width: 100%;
}

@media only screen and (min-width: 768px) {

    body .editor-writing-flow {
        max-width: 80%;
        margin: 0 10%;
    }

    body .editor-post-title__block,
    body .editor-default-block-appender,
    body .editor-block-list__block {
        margin-left: 0;
        margin-right: 0;
    }

    body .wp-block[data-align="wide"] {
        width: 100%;
    }

    body .wp-block[data-align="full"] {
        position: relative;
        left: calc( -12.5% - 14px);
        width: calc( 125% + 116px);
        max-width: calc( 125% + 115px);
    }

    body .wp-block[data-align="right"] {
        max-width: 125%;
    }

    .editor-styles-wrapper .wp-block[data-align="full"] {
        position: relative;
        left: calc( -12.5% - 14px);
        width: calc( 125% + 116px);
        max-width: calc( 125% + 115px);
    }
}

@media only screen and (min-width: 600px) {
    .editor-styles-wrapper .wp-block[data-align="full"] {
        width: calc( 100% + 90px);
        max-width: calc( 100% + 90px);
    }
}

.wp-block-heading strong {
    font-weight: bolder;
}

figcaption,
.gallery-caption {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 0.71111em;
    line-height: 1.6;
    color: #767676;
}

.wp-block-file {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.wp-block-verse,
.wp-block-verse pre {
    padding: 0;
}

.wp-block-code {
    border-radius: 0;
}
