/* /START Sidebar / */
@media only screen and (max-width: 780px) {
    .scaffold-admin {
        margin: 0 auto 40px auto;
    }
    #sidebar {
        display: none !important;
    }
}
/* /START GENERAL / */

#sidebar {
    /* width: 100%; */
    max-width: 250px;
    margin-right: 1em;
    min-width: 250px;
}

#sidebar span {
    font-size: 14px;
    letter-spacing: -0.03em;
}

@media only screen and (max-width: 1000px) {
    #sidebar {
        max-width: 200px;
    }
    #sidebar span {
        font-size: 13px;
        font-weight: 500;
    }
    #sidebar ul a div img {
        width: 20px;
        height: 20px;
    }
}
#sidebar ul {
    list-style: none;
    padding: 0;
}

#sidebar ul a {
    padding: 0.5em 0;
    margin: 0.35em 0;
}

#sidebar ul a,
#sidebar ul a:hover,
#sidebar ul a:focus {
    text-decoration: none;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#sidebar ul a:active,
#sidebar ul a:hover {
    background: #edf8f1;
    border-radius: 20px;
    color: #6bc690;
}

#sidebar ul a:active,
#sidebar ul a:hover {
    color: #6bc690;
}

#sidebar ul a li div {
    display: flex;
    align-items: center;
}

#sidebar ul a li div img,
#sidebar ul a li img,
#sidebar ul a img {
    margin-right: 1em;
}

#sidebar ul a li img {
    margin-left: 1em;
}

/* Notification Badge for Sidebar */
#sidebar ul a {
    position: relative;
}

#sidebar ul a li .notification-badge {
    position: absolute;

    left: 2.5em;
    top: 31%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #24243a;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

/* /End Sidebar / */

/* GLOBAL */

.backend-wrapper {
    display: flex;
    max-width: 1300px;
    /* max-width: 900px; */
    margin: 40px auto 0 auto;
    padding: 0 2em 5em 0;
    justify-content: center;
    overflow-x: hidden;
}

@media only screen and (max-width: 600px) {
    #content {
        flex-direction: column;
        margin-left: 0;
    }
    .section {
        flex-direction: column;
        padding-top: 0em;
    }
    .backend-wrapper {
        padding: 0 1em 5em 1em;
    }
}

.preview-message {
    width: 100%;
    background: #f5f5f5;
    border-radius: 2em;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.preview__message__inner {
    max-width: 380px;
    width: 100%;
}

.preview-message a {
    background-color: #000;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 0.5em;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.5s;
}

.preview__message__text h2 {
    font-size: 20px;
    padding-top: 1em;
    line-height: 30px;
    margin: unset;
    padding-bottom: unset;
}

.preview__message__text p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 2em;
}

.preview-message img {
    height: 125px;
}
