body
{
    background: #f5f7fa;
}
.container,
.page-content,
.newsletter
{
    max-width: 1366px;
    overflow: hidden;
    padding: 0;
}
.container {
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
    padding: 0 3rem;
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}
.row
{
    column-gap: 1.5rem;
}
/* Forms */
form
{
    padding: 2rem;
}
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}
form button
{
    font-size: 15px;
    /* position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 3; */
}
label, legend {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
fieldset
{
    padding-top: 2rem;
}
fieldset > div
{
    margin-bottom: 1rem;
}
.image-wrapper
{
    position: relative;
    margin: 0 auto;
}
.view-pdf
{
    font-size: 1.6rem;
    font-weight: 700;
}
.delete-image
{
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #c80f05;
}

.trumbowyg-modal-box .trumbowyg-modal-button
{
    padding: initial;
}
.trumbowyg-modal-box .trumbowyg-input-html input,
.trumbowyg-modal-box .trumbowyg-input-html select,
.trumbowyg-modal-box .trumbowyg-input-html textarea
{
    margin: 0;
}

header .button
{
    font-size: 1.5rem;
}

/* HOME */
.published
{
    color: rgb(83, 175, 8);
}
.unpublished
{
    color: rgb(184, 182, 182);
}
.export-buttons
{
    position: absolute;
    top: 20px;
    right: 5px;
    font-size: 1.8rem;
}

/* POSTS */
.posts-content.signatory > header
{
    display: block;
}
.post-status
{
    background: #000935;
    color: #fff;
    font-size: 1.4rem;
    line-height: 14px;
    text-align: left;
    padding: 0;
    position: absolute;
    top: 10px;
    left: 10px;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    overflow: hidden;
    z-index: 2;
}
.posts-wrapper.inline  .post-status
{
    top: 15px;
    left: 15px;
}
.single-post:hover .post-status
{
    border-radius: 0;
    height: 40px;
    padding: 0.7rem 1rem;
    top: 0;
    left: 0;
    width: 100%;
}
.single-post .post-status > *
{
    opacity: 0;
}
.single-post:hover .post-status > *
{
    opacity: 1;
}
.single-post .post-date
{
    font-size: .9rem;
    font-style: italic;
    font-weight: 400;
}
.posts-wrapper .single-post .post-actions{
    color: #c80f05;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
}
.posts-wrapper .single-post .post-actions a
{
    color: #fff;
}
.posts-wrapper .single-post .post-actions a.edit-btn{
    margin-right: 10px;
}
a.delete-btn{
    color: #c80f05;
}
.status-published
{
    background-color: rgb(80, 160, 15);
}
.status-draft
{
    background-color: rgb(55, 92, 214);
}
.status-trashed
{
    background-color: rgb(134, 128, 127);
}
.posts-wrapper hr
{
    margin: 0 10px;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.warning {
    background: #fffabc;
    color: #8d7b00;
    border-color: #d3b800;
}
.message.error {
    background: #fcebea;
    color: #c80f05;
    border-color: #ef5753;
}

/* Paginator */
.paginator {
    text-align: right;
    margin-top: 2rem;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}