/* Updated */
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: FderivsLogo;
    src: url(../font/fderivslogo.ttf) format('truetype');
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: "Proxima Nova";
    src: url(../font/ProximaNova-Regular.ttf) format('truetype');
    font-weight: 500;
    font-style: normal
}

:root {
    --base: #282b2d;
    --base-dark-1: #191c1e;
    --base-dark-2: #0c0f11;
    --base-light-1: #3a3d3f;
    --base-light-2: #4f5254;
    --secondary: #aaa;
    --secondary-light-1: #ccc;
    --secondary-dark-1: #999;
    --highlight: #cbae5e;
    --highlight-light-1: #e2c881;
    --highlight-light-2: #fce6a9;
    --highlight-dark-1: #af9241;
    --highlight-dark-2: #937729;
    --text-default: #30373e;
    --text-light: #777;
    --success: #31bd40;
    --error: #dc3545;
    --alert: #dcb235;
    --background-default: #d5d8da;
    --background-light: #ebeced;
    --background-light-1: #fafafa;
    --background-lighter: #fff;
    --transition-duration-short: .3s;
    --transition-function-default: ease;
    --sidebar-width: 280px;
    --sidebar-negative-width: -280px;
    --call-us-main-button-width: 3rem;
}

html {
    font-size: 16px;
    scrollbar-color: var(--highlight) var(--base-dark-1);
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

html, body {
    font-family: "Segoe UI", "Helvetica Neue", "Helvetica", Arial, sans-serif;
    min-height: 100%;
    background-color: var(--background-default);
    color: var(--text-default);
    margin: 0;
}

    body * {
        scrollbar-color: var(--highlight) var(--base-dark-1);
        scrollbar-width: thin;
    }

input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
}

* {
    box-sizing: border-box;
}

.page {
    width: 100%;
    margin-top: 56px;
}

.activity-container {
    overflow: hidden;
}

.page main > article,
.page-article {
    position: relative;
    background: var(--background-lighter);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
    min-height: calc(100vh - 56px - 56px - 62px);
}

.page main.compact-layout > article{
    max-width: 1280px;
}

.page main {
    opacity: 0;
    transition: .25s;
}

    .page main.expanded-layout,
    .page main.compact-layout{
        opacity: 1;
    }

.editor-wrapper .course-article{
    z-index: 0;
}

.editor-wrapper .course-article .content-area {
    max-width: unset;
}

.content-area img {
    max-width: 100%;
    margin: 0 auto;
}

.content .editor-toolbar {
    position: sticky;
    top: -24px;
    z-index: 2;
    background-color: #fff;
    opacity: 1;
    border-left: none;
    border-right: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom: 1px solid #bbb;
}

    .content .editor-toolbar:hover {
        opacity: 1;
    }

    .content .CodeMirror-wrap {
        border: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

.content .editor-toolbar.fullscreen {
    z-index: 9;
    top: 118px;
    border-bottom: 1px solid #ccc;
}

.content .CodeMirror-fullscreen {
    z-index: 8;
    padding-top: 118px;
}

.content .editor-preview-side {
    top: 118px;
}

.editor-wrapper {
    position: relative;
    width: 100%;
    max-width: 2250px;
    display: flex;
    justify-content: space-evenly;
    column-gap: 1.5rem;
    margin: 0 auto;
}

.preview-page,
.page main article.course-article.preview-page {
    width: 50%;
    background: var(--background-lighter);
}

.data-editor {
    position: sticky;
    top: 80px;
    width: 50%;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0px 3px 7px rgba(0,0,0,.75);
    margin: 0;
    z-index: 1;
    max-height: 80vh;
    max-height: calc(100vh - 56px - 32px);
    background-color: var(--background-light-1);
    transition: width 500ms ease, height 500ms ease;
}

    .data-editor > .header,
    .data-editor > .footer {
        position: relative;
        padding: .5rem 1.25rem;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 0;
    }

    .data-editor > .header {
        border-bottom: 1px solid #ccc;
    }

    .data-editor > .footer {
        border-top: 1px solid #ccc;
        transition: padding 500ms ease;
        position: sticky;
        bottom: 0;
        background-color: var(--background-lighter);
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        z-index: 1;
    }

        .data-editor > .footer .wrapper {
            display: flex;
            justify-content: space-evenly;
            overflow: hidden;
            height: auto;
            transition: height 500ms ease;
        }

    .data-editor > .body {
        height: 100%;
        overflow-y: auto;
        padding: 1.5rem 2.5rem;
        transition: 500ms ease;
    }

.preview-indicator {
    position: sticky;
    top: 56px;
    width: 100%;
    background-color: var(--background-lighter);
    text-align: center;
    padding: .5rem 0 1rem 0;
    font-family: Consolas, monospace, sans-serif;
    letter-spacing: 1px;
    font-weight: 600;
    animation: flashing-text alternate infinite ease-in 1.2s;
    z-index: 1;
}

.page main article iframe{
    width: 100%;
    min-height: 600px;
}

@keyframes fade-in{
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

@keyframes flashing-text {
    0% {
        color: #e44;
    }

    100% {
        color: var(--background-light);
    }
}

.page-article {
    font-size: 1.2rem;
    line-height: 2rem;
    min-height: calc(100vh - 56px - 56px - 48px);
}

    .page-article p {
        margin-bottom: 2rem;
        text-indent: 2rem;
    }

    .page-article.unindented {
        text-indent: 0;
    }

.padding-small {
    padding: 1.5rem !important;
}

.site-info {
    color: var(--background-lighter);
    height: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-align: center;
}

.page > .content {
    padding: 1rem .5rem;
}

    .page > .content.home {
        padding: 0;
    }

a {
    cursor: pointer;
    text-decoration: none;
}

    a, a:visited {
        color: var(--highlight-dark-1);
    }

    a:hover, a:active,
    a:not([href]):not([class]):hover {
        text-decoration: underline;
        color: var(--highlight);
    }

.button-container {
    padding-bottom: 1.5rem;
}

.button {
    display: inline-block;
    padding: .5rem 1rem;
    border: 1px solid var(--highlight);
    color: var(--highlight);
    text-align: center;
    font-weight: 600;
}

    .button > * {
        vertical-align: middle;
    }

    .button.btn-small {
        padding: .25rem .5rem;
        font-size: .9rem;
        line-height: 1.25rem;
    }

    .button.strong {
        font-weight: bold;
        border-width: 2px;
    }

    .button:disabled {
        border-color: var(--secondary-dark-1);
        color: var(--secondary-dark-1);
    }

    .button:hover {
        background: var(--highlight);
        color: var(--background-lighter);
        text-decoration: none;
    }

    .button:disabled:hover {
        background: transparent;
        color: var(--secondary-dark-1);
    }

    .button.btn-primary {
        background-color: var(--highlight);
        color: var(--background-lighter);
    }

    .button.btn-contrast {
        color: #fff;
        background-color: transparent;
        border-color: #fff;
    }

        .button.btn-contrast:hover {
            background: #fff;
            color: #000;
        }

    .button.btn-bolder {
        border-width: 3px;
        font-weight: bold;
        padding: 1rem 2rem;
    }

    .button.btn-primary:disabled {
        border-color: var(--secondary-dark-1);
        background-color: var(--secondary-dark-1);
    }

    .button.btn-primary:hover {
        background-color: var(--highlight-light-1);
        border-color: var(--highlight-light-1);
    }

    .button.btn-primary.no-action:hover {
        background-color: var(--highlight);
        border-color: var(--highlight);
        color: var(--background-lighter);
        cursor: default;
    }

    .button.btn-primary:disabled:hover {
        border-color: var(--secondary-dark-1);
        background-color: var(--secondary-dark-1);
        color: var(--background-lighter);
    }

    .button.btn-secondary {
        background-color: var(--secondary);
        border-color: var(--secondary);
        color: var(--background-default);
    }

        .button.btn-secondary:hover {
            background-color: var(--secondary-dark-1);
            border-color: var(--secondary-dark-1);
        }

    .button.btn-error {
        background-color: var(--error);
        border: 1px solid var(--alert);
        color: var(--background-lighter);
    }

        .button.btn-error:hover {
            background-color: var(--error);
            border-color: var(--error);
        }

    .button.btn-correct {
        background-color: var(--success);
        border: 1px solid var(--success);
        color: var(--background-lighter);
    }

        .button.btn-correct:hover {
            background-color: var(--success);
            border-color: var(--success);
        }

    .button.single {
        width: 100%;
    }

    .button + .button {
        margin-left: .5rem;
    }

.icon-image {
    width: 100%;
    height: 28px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

    .icon-image img {
        height: 100%;
    }

.button:hover .icon-image img {
    filter: brightness(0);
}

.arrow-button {
    height: 3rem;
    width: 3rem;
    background: transparent;
    border-radius: 50%;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 100;
    font-size: 1.3rem;
    transition: 1s;
    text-align: center;
    text-shadow: 2px 3px 3px rgba(20, 20, 20, .65);
    box-shadow: 2px 4px 3px rgba(20, 20, 20, .5);
}

.styled-button {
    text-shadow: 2px 5px 2px rgba(20, 20, 20, .7);
    box-shadow: 2px 5px 2px rgba(20, 20, 20, .7);
    border: 3px solid #fff;
    font-weight: 500;
    font-size: 1.6rem;
    bottom: 1.2rem;
}

.breadcrumb {
    margin-bottom: 0;
}

.related-link {
    font-size: .85rem;
    color: var(--secondary-dark-1);
}

.item-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-family: Consolas, monospace;
    color: var(--text-light);
    column-gap: .5rem;
    row-gap: .5rem;
}

article {
    text-align: justify;
}

    article h1,
    article h2,
    article h3,
    article h4,
    article h5,
    article h6 {
        text-align: left;
        margin-bottom: .75rem;
    }

    page-header {
        font-size: 2.4rem;
        margin: 0 0 1rem;
        padding: 0;
        padding-bottom: 1rem;
        color: var(--text-default);
        border: none;
        font-weight: 500;
        position: relative;
        border-bottom: 2px solid var(--secondary-light-1);
    }

.subtitle {
    font-weight: 400;
    line-height: 1;
    color: var(--text-light);
    font-size: .65em;
    display: block;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.pull-none {
    float: none !important;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.full-page {
    min-height: 100vh;
    min-height: calc(100vh - 150px - 56px);
}

.alert-message {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.table-area {
    height: 71.5vh;
}

.devonly {
    color: var(--alert);
}

.row-loading .loading-display {
    font-size: .25rem;
    justify-content: right !important;
    padding-right: 1rem;
}

.controls .search-area {
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 1rem;
}

    .controls .search-area .field-input {
        width: 100%;
        margin-right: 2rem;
    }

    .controls .search-area .form-floating {
        margin: 0 !important;
    }

.controls .button {
    white-space: nowrap;
}

.controls {
    border-bottom: 1px solid #ccc;
    padding-bottom: 2rem;
}

.quiz-area {
    margin: 1rem 0 2rem 0;
    padding: 0
}

.quiz-items {
    padding-left: 1rem;
    list-style: none;
    counter-reset: item;
}

.quiz-item {
    margin: 2rem 0;
    counter-increment: item;
    margin-bottom: 5px;
}

    .quiz-item .quiz-title::before {
        margin-right: 10px;
        content: counter(item) ".";
    }

.quiz-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
}

.activity-list,
.file-list {
    list-style: none;
    width: 100%;
    padding: 0;
}

    .activity-list .child-activities {
        margin: 0;
        padding: 0;
        overflow-y: auto;
        max-height: 60vh;
        background-color: #ebebeb;
        transition: 500ms;
    }

        .activity-list .child-activities.hide {
            max-height: 0;
        }

    .activity-list p {
        margin-bottom: .2rem;
    }

    .activity-list li,
    .file-list li {
        position: relative;
        display: flex;
        justify-content: start;
        align-items: center;
        width: 100%;
        border-left: .4rem #888 solid;
        min-height: 5rem;
        padding-right: 1.5rem;
    }

/*.activity-container li {
    padding-left: 1rem;
}*/

.group-item > li {
    cursor: pointer;
    /*border-bottom: 1px solid transparent;*/
}

.group-item > a > li {
    border-bottom: 1px solid #e8e8e8;
    background-color: #f8f8f8; 
}

.group-item > a > li:hover {
    border-bottom: 1px solid #ddd;
    background-color: #eee;
}

.group-item .body {
    /*padding: 0 3rem;*/
    padding-left: 1.4rem;
    padding-right: 3rem;
    display: block;
    overflow: hidden;
    height: 0;
    transform-origin: top;
    transition: 500ms;
}

.module-selector .group-item .body {
    padding: 0 0 0 1.4rem;
}

.group-item.open .body a:last-child li {
    border-bottom: 1px solid #e8e8e8;
    /*padding-bottom: 1rem;*/
}

.group-item > a li .action-button i {
    font-size: 20px;
}

.group-item.open > a li .action-button i {
    transform: scaleY(-1);
}

.activity-list > a {
    text-decoration: none;
    display: block;
}

.activity-list a:hover,
.activity-list a:not([href]):not([class]):hover{
    text-decoration: none;
}

    .activity-list li .text,
    .file-list li .text {
        padding: .5rem;
        max-height: 100%;
        max-height: calc(100% - 1rem);
    }

.activity-list .action-button {
    position: absolute;
    right: 2rem;
    align-self: center;
    transition: 250ms ease;
    color: #666;
    background-color: #e7e7e7;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    text-align: center;
    line-height: 2rem;
}

.activity-list li:hover {
    border-color: var(--highlight);
    background-color: #f8f8f8;
}

    .activity-list li:hover .access-button {
        right: 1rem;
    }

    .activity-list .activity-container li:hover .action-button {
        background-color: var(--highlight-light-1);
        border-color: var(--highlight-light-1);
        color: #fff;
    }

.activity-list .item-duration {
    padding-left: 1rem;
    color: #777;
    font-size: .9rem;
}

.activity-title, .title-field {
    font-weight: 600;
}

.data-editor li .activity-title,
.data-editor li .title-field {
    font-weight: 500;
    font-size: 1.2rem;
    padding: .25rem .75rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    color: var(--text-default)
}

.activity-description-header {
    color: var(--text-light);
    font-weight: 600;
    padding: .25rem 1rem;
    transition: 200ms ease;
    width: 15rem
}

    .activity-description-header .icon{
        font-size: .9rem;
        transition: inherit;
    }

        .activity-description-header:hover{
            color: var(--highlight-dark-1);
            text-decoration: underline;
        }

            .activity-description-header:hover .icon{
                padding-left: .5rem;
            }

.activity-description-body {
    color: var(--text-default);
    padding-left: 1.75rem;
    font-size: .95rem;
    overflow: hidden;
    max-height: 0;
    transition: 500ms;
}

    .activity-description-body h6 {
        font-size: 1rem;
    }

    .activity-description-body h5 {
        font-size: 1.1rem;
    }

    .activity-description-body h4 {
        font-size: 1.2rem;
    }

    .activity-description-body h3 {
        font-size: 1.3rem;
    }

    .activity-description-body h2 {
        font-size: 1.4rem;
    }

    .activity-description-body h1 {
        font-size: 1.5rem;
    }

    .activity-description {
        color: var(--text-default);
        text-decoration: none;
        transition: 300ms;
    }

a:hover .activity-description {
    text-decoration: none !important;
}

.data-editor .activity-list .child-activities {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 1rem 0;
}

.activity-list .reorder-area {
    padding: .5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    /*border: 1px solid blue;*/
    gap: .5rem;
    width: 2rem;
}

    .activity-list .reorder-area button,
    .activity-list .remove-button,
    .file-list .remove-button {
        border: none;
        background: transparent;
        padding: 0;
        width: 1.5rem;
        height: 1.5rem;
        line-height: 1.5rem;
        color: #777;
    }

        .activity-list .reorder-area button:hover,
        .activity-list .remove-button:hover,
        .file-list .remove-button:hover {
            background-color: var(--highlight);
            color: #fff;
        }

.activity-list .remove-button,
.file-list .remove-button {
    position: absolute;
    top: .25rem;
    right: .25rem;
}

.activity-list li .text,
.activity-list li > p {
    width: 95%;
    /*width: calc(100% - 5.5rem);*/
    /*padding-right: 1rem;*/
}

.module-selector .activity-list li .text,
.module-selector .activity-list li > p {
    width: calc(100% - 1rem);
}

.file-list li .text {
    width: 100%;
    padding-right: 2.5rem;
}

.activity-list .text .header {
    display: flex;
    align-items: end;
    gap: .5rem;
    margin-bottom: .75rem;
}

.file-list .text .header {
    display: flex;
    flex-direction: column;
    padding: 0 .5rem;
}

data-editor .activity-list {
    background: var(--background-lighter);
    border: 1px solid #ccc;
    border-radius: 5px;
}

.data-editor .activity-list li,
.data-editor .file-list li {
    border-left: none;
}

    .data-editor .activity-list li + li,
    .data-editor .file-list li + li {
        border-top: 1px solid #ddd;
    }

    .data-editor .activity-list li label {
        font-weight: bold;
        /*font-size: 1.1rem;
            margin-right: .5rem;*/
    }

    .data-editor .activity-list li select {
        border: none;
        border-bottom: 1px solid #aaa;
        background: transparent;
        color: #666;
        padding: .5rem;
    }

    .data-editor .activity-list li input {
        width: 100%;
        /*border: 1px solid #aaa;*/
        font-family: Arial, Helvetica, sans-serif;
        /*padding: .25rem 1rem;*/
    }

.richtext-input .ql-toolbar,
.richtext-input .ql-toolbar.ql-snow {
    border-left: none;
    border-right: none;
}

.article-title {
    color: #000;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.page main > article.course-article .content .ql-align-left {
    text-align: left;
}

.page main > article.course-article .content .ql-align-center {
    text-align: center;
}

.page main > article.course-article .content .ql-align-right {
    text-align: right;
}

.ql-toolbar {
    position: sticky;
    top: -2rem;
    background-color: #fff;
    z-index: 1;
}

.CodeMirror,
.CodeMirror-scroll {
    min-height: 200px !important;
}

.input-container {
    width: 100%;
    padding: .25rem .75rem;
    background: #fff;
    border: 1px solid #ccc;
}

    .input-container.line-style {
        border: none;
        border-bottom: 1px solid #ccc;
        background: transparent;
    }

    .input-container.empty-style {
        border: none;
        background: transparent;
    }

    .input-container label,
    .input-label {
        color: #666;
        font-weight: 700 !important;
        font-size: .75rem;
    }

    .input-container input,
    .input-container select {
        width: 100%;
        border: none !important;
        padding: 0 !important;
        background-color: transparent;
    }

        .input-container input[type=radio],
        .input-container input[type=checkbox] {
            width: 1.3rem;
            height: 1.3rem;
        }

        .input-container .content-container{
            line-height: 1.3rem;
            height: 1.3rem;
            display: flex;
            align-items: center;
            margin-top: 5px;
        }

        .input-container .checkbox-label{
            font-size: .8rem;
            padding-left: .5rem;
            line-height: .8rem;
            display: none;
        }

            .input-container .checkbox-label.visible{
                display: block;
            }

            .text-success {
                color: var(--success);
            }

.text-error {
    color: var(--error);
}

.markdown-render img{
    display: block;
    margin: 0 auto;
}

blockquote{
    border-left: 6px solid #aaa;
    padding: .5rem;
    padding-left: 1.5rem;
    background-color: #f7f7f7;
}

blockquote p:last-child{
    margin: 0;
}

pre {
    font-family: monospace;
    /*background-color: #26292C;*/
    background-color: #2E323C; 
    border-radius: 8px;
    padding: .75rem 1.5rem;
    /*color: #F92672;*/
    color: #f8f8f0;
}

/*------ TABS ------*/
.data-editor.no-space > .body {
    padding: 0;
}

.tab-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tab-header {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 2.2rem;
    flex-grow: 0;
    background-color: var(--base-light-1);
}

.tab-item {
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    line-height: 2.2rem;
    cursor: pointer;
    transition: 250ms;
}

    .tab-item:hover {
        text-decoration: underline;
        background-color: var(--highlight-dark-1);
    }

    .tab-item.active {
        background-color: var(--highlight);
    }

.tab-content {
    height: 100%;
    padding: 1.5rem 2.5rem;
    overflow-y: auto;
    display: none;
}

    .tab-content.no-space {
        padding: 0;
    }

    .tab-content.active {
        display: block;
    }
/*------ /TABS ------*/

.enumerator::after {
    content: attr(data-index);
    border-right: 1px solid #ccc;
    padding-right: 1rem;
    height: 3em;
    display: inline-block;
    line-height: 3em;
    font-size: 1.5rem;
    color: #666;
    font-weight: 600;
    text-align: center;
    width: 3.5rem;
}

.preview-area {
    position: relative;
    height: 7.5rem;
    width: 7.5rem;
    padding: 0.5rem;
}

.preview-block {
    border: 1px solid #666;
    width: 6.5rem;
    height: 6.5rem;
    background-color: #dedede;
    background-size: cover;
    background-position: center center;
}

.add-image {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    color: #fff;
    padding: 1rem;
    line-height: 1.5rem;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 2px 1px rgba(0,0,0,.5);
    opacity: 0;
    transition: 250ms;
}

    .add-image i {
        transform: scaleX(-1);
    }

    .add-image:hover {
        opacity: 1;
    }

a.add-image:hover {
    color: #fff;
}

.fderivs-font{
    font-family: FderivsLogo, "FderivsLogo", Arial, Helvetica, sans-serif;
}

.subscription-area {
    width: 100%;
    position: sticky;
    bottom: 0;
    z-index: 1;
}

    .subscription-area.no-access {
        background-color: rgba(0, 0, 0, .9);
        color: #fff;
        padding: 1.5rem 6vw;
        padding: 1.5rem calc(6vw + 2rem);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 1rem;
    }

    .subscription-area .text-area,
    .subscription-area .button-area {
        flex-grow: 1;
    }

    .subscription-area .button-area {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 2rem;
        row-gap: 1rem;
        font-size: 1.1em;
    }

    .subscription-area .button{
        min-width: 125px;
    }

    .subscription-area .subscription-title {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 0;
    }

    .subscription-area .text {
        font-size: 1rem;
    }

    .subscription-area .pricing {
        font-size: .9em;
    }

        .subscription-area .pricing::before {
            content: " - ";
        }

    .subscription-area.subscribed {
        background-color: #aeeaa2;
        border-color: #85d270;
        color: #1e570a;
        border-top: 1px solid #85d270;
        padding: .15rem 6vw;
        padding: .15rem calc(6vw + 2rem);
        font-size: .85rem;
    }

.compact-layout .subscription-area.no-access,
.compact-layout .subscription-area.subscribed {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 1rem;
}

.compact-layout .subscription-area.subscribed {
    border: 1px solid #85d270;
}

.subscription-info {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding-left: 1rem;
}

    .subscription-info .icon {
        cursor: pointer;
    }

.subscription-info-body {
    position: absolute;
    bottom: 100%;
    left: 100%;
    width: 32rem;
    margin-top: -5px;
    /*margin-left: -3px;*/
    background-color: #fafafa;
    border: 1px solid #aaa;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    padding: .5rem;
    padding-left: 2rem;
    font-family: monospace, sans-serif;
    font-size: .85rem;
    display: none;
}

    .subscription-info-body ul {
        margin: 0;
        padding: 0;
    }

.subscription-info:hover .subscription-info-body,
.subscription-info:focus-within .subscription-info-body {
    display: block;
}

.subscription-info-body p {
    margin-bottom: 0;
    line-height: 2rem;
}

@media (min-width: 768px) {
    .page > .content {
        padding: 1.5rem;
    }

    /*.page main > article,
    .page-article {
        width: 80vw;
        padding: 3rem;
    }*/

    .breadcrumb {
        justify-content: end;
    }

    .related-link {
        text-align: right;
        font-size: .8rem;
    }

    .subtitle {
        display: inline;
    }

    .page-header {
        margin: 0 0 2.5rem;
    }

    .full-page {
        min-height: calc(100vh - 56px - 56px);
    }

    .table-area {
        height: 63vh;
    }
}

@media (min-width: 960px) {
    .page > .content {
        padding: 1.5rem 2rem 1rem 2rem;
    }

    /*.page main > article,
    .page-article {
        width: 80vw;
        padding: 3rem;
    }*/

    .page .main-section {
        width: 100%;
    }

    .breadcrumb {
        justify-content: end;
    }

        .breadcrumb + .page-header {
            margin-top: -24px;
        }

    .related-link {
        text-align: right;
        font-size: .8rem;
    }

    .subtitle {
        display: inline;
    }

    .page-header {
        margin: 0 0 1.5rem;
        font-size: 2.4rem;
    }
}

@media (max-width: 960px) {
    .editor-wrapper {
        flex-wrap: wrap !important;
    }

    .data-editor {
        width: 100%;
        max-height: unset;
    }

        .data-editor > .body {
            padding: 1rem;
        }

    .preview-page,
    .page main article.course-article.preview-page {
        display: none;
    }
}

@media (max-width: 768px) {
    .padding-small {
        padding: .5rem 0rem !important;
    }

    .controls .search-area {
        display: block;
    }

    .controls .field-input {
        margin-bottom: 1rem;
    }

    .controls .button {
        width: 100%;
    }

    .subscription-area.no-access {
        padding: 1rem 1rem;
    }

    .subscription-area .button-area {
        font-size: 1em;
    }

    .subscription-area .subscription-title {
        font-size: 1.25rem;
    }

    .group-item .body {
        padding: 0;
        /*padding-left: 6px;*/
    }

    .article-title {
        color: #000;
        font-weight: 700;
        font-size: 1.9rem;
        margin-bottom: 1.25rem;
        margin-top: .5rem;
    }

    .activity-list li {
        padding-right: 0;
        min-height: 4rem;
        border-left-width: .3rem;
    }

    .activity-title {
        display: block;
    }

    .activity-list .item-duration {
        padding: 0;
    }

    .activity-list .action-button {
        right: 5px;
        width: 1.8rem;
        height: 1.8rem;
        line-height: 1.75rem;
        font-size: .9rem;
    }

    .activity-list .activity-description {
        font-size: .9rem;
        line-height: 1.1rem;
        padding-left: 0;
        padding-right: 15px;
        user-select: none;
    }

    .page main > article,
    .page-article {
        padding: 1rem 1rem;
    }

    .subscription-area .pricing::before{
        content: "";
    }

    .subscription-area .pricing {
        display: block;
    }
}

/* FieldInput #Remove to other file*/
.field-input{
    position: relative;
    border: 1px solid #ced4da;
    background-color: var(--background-lighter);
    padding: .25rem .75rem; 
}

.field-input label{
    font-family: "Segoe UI", "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #777c81;
    display: inline-block;
    height: 1rem;
}

.field-input .input-content {
    display: flex;
    align-items: center;
    column-gap: .5rem;
}

.field-input input{
    width: 100%;
    height: 2rem;
    color: #212529;
    border: none;
    appearance: none;
    outline: 0;
}

.field-input:focus-within{
    border-color: #86b7fe;
    box-shadow: 0 0 2px 2px rgba(13, 110, 253, .25);
 }

/* Custom Brands */
.mercado-pago-button,
a.mercado-pago-button {
    font-family: "Proxima Nova","Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: #009ee3;
    color: #fff;
    border-radius: 6px;
    padding: 14px 26px;
    transition: background-color .2s ease-in;
    display: inline-block;
    min-height: 48px;
    line-height: 19px;
}

    .mercado-pago-button:hover {
        background-color: #007eb5;
        color: #fff;
        text-decoration: none;
    }

    .mercado-pago-button .logo {
        display: inline-block;
        width: 29px;
        height: 20px;
        background-image: url('/img/brands/mercado-pago.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        margin-right: 10px;
        vertical-align: middle;
        font-size: 16px;
    }

.disclaimer{
    font-size: .8rem;
    /*font-style: italic;*/
    text-align: justify;
    line-height: 1.3rem;
    color: #555;
    padding: .5rem;
}

.disclaimer p{
    margin-bottom: 0;
}

.input-block .input{
    margin-bottom: 0 !important;
}

.inline-code {
    font-family: monospace !important;
    font-style: normal;
    background-color: rgb(76, 80, 90);
    border-radius: 5px;
    padding: 0.25rem .5rem;
    color: rgb(248, 248, 240);
}