/* CONTENT */
.content figure img {
    margin: auto;
}

.content .content-heading{
    max-width: 50vw;
    margin: 6vmin auto 2vmin auto;
}

.content pre {
    background: #333;
    white-space: pre;
    word-wrap: break-word;
    overflow: auto;
    color: #fff;
    border-radius: 5px;
    padding: 1em
}

.content p.paragraph-editor{
    max-width: 50vw;
    margin: auto;
}

.content hr {
    margin: 4em auto!important;
    width: 80%
}

.content ::marker {
    color: silver;
    margin-right: 10em
}

.content .stretched {
    margin-top: 10vmin
}

.content .alert {
    margin-top: 4vmin;
    margin-bottom: 4vmin;
    color: #000;
    font-size: 16px
}

.content .alert-primary {
    background: rgba(33,172,232,.12)
}

.content blockquote {
    font-size: 1.5em;
    width: 100%;
    margin: 2em auto;
    font-style: italic;
    color: #000;
    padding: 1.2em 30px 1.2em 40px;
    border-left: 8px solid #fd018c;
    line-height: 1.6;
    position: relative
}

.content h1 {
    font-size: 4rem
}

.content h2 {
    font-size: 3.2rem;
    line-height: 1.3em
}

.content h3 {
    font-size: 2.5rem;
    line-height: 1.3em
}

.content h4 {
    font-size: 2rem;
    line-height: 1.2em
}

.content h5 {
    font-size: 1.5rem;
    line-height: 1.3em
}

.content h1,.content h2,.content h3,.content h4,.content h5,.content h6 {
    margin-top: 6vmin
}

.content p,.content ul,.content img, .content ol {
    margin-top: 5vmin;
    font-size: 18px;
    line-height: 32px;
    max-width: 100%
}

.content ul, .content ol {
    max-width: 50vw;
    margin: auto;
}

.content p:not(.custom-column p),.content ul:not(.custom-column ul),.content img:not(.custom-column img) {
    margin-bottom: 2em
}

/* TABLES */
.content table.table-editor {
    width: 90%;
    display: table;
    margin: 7em auto;
    overflow-x: auto;
    max-width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    background-size: 0 100%,1em 100%;
    background-repeat: no-repeat;
}

.table-editor table tr:last-child td {
    border-bottom: 0
}

.table-editor table th {
    border-top: 0;
    background-color: #fff
}

.table-editor th {
    font-weight: 700;
    letter-spacing: .2px;
    text-align: left;
    text-transform: uppercase;
    background-color: #f4f8fb
}

.table-editor td, .table-editor th {
    padding: 6px 10px;
    border: 1px solid #e2ecf3
}

.table-editor td, .table-editor th {
    padding: 6px 10px;
    border: 1px solid #e2e2e2;
    border-left: 0
}

.table-editor table th:last-child, .table-editor table td:last-child {
    border-right: 0
}

/* COLUMNS */
.columns-custom {
    display: flex;
    width: 100%
}
.columns-custom p {
    margin-bottom: 0!important
}

.columns-custom.small {
    min-height: 40vh!important
}

.columns-custom.medium {
    min-height: 70vh!important
}

.columns-custom.large {
    min-height: 90vh!important
}

.columns-cards.regular {
    padding-top: 0!important
}

.columns-custom.regular {
    margin-top: 5em!important;
    margin-bottom: 7em!important;
    border-radius: 20px;
    padding: 4em
}

.columns-custom img {
    max-width: 100%!important;
    height: auto!important;
    padding-bottom: 1em
}

.columns-custom .button-container {
    margin: 0 auto
}

.columns-custom .button-container .btn {
    display: inline-block;
    padding: 0.6em 1.2em;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 0px solid;
    border-radius: 25px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.columns-custom .custom-column .column-content {
    margin-top: 2em;
    margin-bottom: 2em;
}

.columns-custom .custom-column p {
    margin-top: 2vmin!important;
    margin-bottom: 0;
    font-size: 18px
}

.columns-custom .custom-column .content-block-image img {
    margin: 0!important;
    padding: 0!important;
    max-width: 100%!important;
}

.columns-custom .custom-column .content-block-image {
    max-width: 600px;
    margin: 0 auto!important;
}

.columns-custom .custom-column .content-block-image .stretched {
    width: 75vw;
    margin-left: calc(-37.5vw + 50%);
    max-width: unset!important;
}

.columns-custom .custom-column .card-content {
    box-shadow: 0 1px 10px rgba(0,0,0,.2);
    padding: 2em;
    margin-bottom: 2em;
    border-radius: 10px
}

.row {
    display: flex !important;
    flex-wrap: wrap!important;
    margin-top: calc(-1 * 0);
    margin-right: calc(-0.5 * 1.5rem);
    margin-left: calc(-0.5 * 1.5rem)
}

/* ROW BOOTSTRAP FIX (TODO) */
.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(1.5rem * .5);
    padding-left: calc(1.5rem * .5);
    margin-top: 0
}

.col-md {
    flex:1 0 0%
}

.row-cols-md-auto>* {
    flex: 0 0 auto;
    width: auto
}

.row-cols-md-1>* {
    flex: 0 0 auto;
    width: 100%
}

.row-cols-md-2>* {
    flex: 0 0 auto;
    width: 50%
}

.row-cols-md-3>* {
    flex: 0 0 auto;
    width: 33.3333333333%
}

.row-cols-md-4>* {
    flex: 0 0 auto;
    width: 25%
}

.row-cols-md-5>* {
    flex: 0 0 auto;
    width: 20%
}

.row-cols-md-6>* {
    flex: 0 0 auto;
    width: 16.6666666667%
}

.col-md-auto {
    flex: 0 0 auto;
    width: auto
}

.col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%
}

.col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%
}

.col-md-3 {
    flex: 0 0 auto;
    width: 25%
}

.col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%
}

.col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%
}

.col-md-6 {
    flex: 0 0 auto;
    width: 50%
}

.col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%
}

.col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%
}

.col-md-9 {
    flex: 0 0 auto;
    width: 75%
}

.col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%
}

.col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%
}

.col-md-12 {
    flex: 0 0 auto;
    width: 100%
}


@media(min-width: 992px) {
    .columns-custom.wide {
        width:75vw;
        margin-left: calc(50% - 37.5vw);
        align-items: center
    }

    .columns-custom.full {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        padding: 5em;
        align-items: center;
        min-height: 80vh
    }
}

@media(max-width: 992px) {
    .columns-custom.full {
        width:100vw;
        margin-left: calc(-50vw + 50%)!important;
        box-sizing: border-box;
        padding: 5em;
        padding-left: 1em;
        padding-right: 1em;
        margin-bottom: 0!important;
        margin-top: 0!important;
        align-items: center;
        min-height: 80vh
    }

    .content h1,.content h3,.content h4,.content h5,.content h6 {
        font-size: 2.3rem!important
    }
}

@media(max-width: 768px) {
    .content p.paragraph-editor{
        max-width: 90%;
    }

    .table-editor th,.table-editor td {
        width:100%!important;
        display: block!important
    }

    .table-editor th {
        text-wrap: pretty!important;
    }

    .table-editor th.empty {
        display: none!important;
    }

    .columns-custom {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: auto;
    }

    .columns-custom.full {
        padding-left: 2em;
        padding-right: 2em;
        margin-bottom: 0!important;
        margin-top: 2em!important
    }

    .columns-custom.full .btn.btn-primary {
        margin-bottom: 2em
    }

    .col-md-6, .col-md-4 {
        width: 100%;
    }

    .content h1 {
        font-size: 2.5rem
    }
    
    .content h2 {
        font-size: 2.3rem;
        line-height: 1.3em
    }
    
    .content h3 {
        font-size: 2rem;
        line-height: 1.3em
    }
    
    .content h4 {
        font-size: 1.8rem;
        line-height: 1.2em
    }
    
    .content h5 {
        font-size: 1.5rem;
        line-height: 1.3em
    }
}
