:root {
    --red: #FF3B3B;
    --white: #ffffff;
    --black: #000000;
    --muted: #8F9093;
    --border: #E4E6E7;

    --10: 10px;
    --12: 12px;
    --14: 14px;
    --16: 16px;
    --18: 18px;
    --20: 20px;
}


* {
    margin: 0;
    padding: 0;
    outline: 0 none !important;
    box-shadow: none !important;
}

*, :after, :before {
    box-sizing: border-box;
}

body {
    font-weight: normal;
    font-family: 'Borna', serif;
    font-size: var(--16);
}

a {
    text-decoration: none;
    color: var(--black);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    font-weight: normal;
    font-family: 'Borna', serif;
}

h1, h2, h3, h4 {
    font-weight: 500;
}

h1 {
    font-size: var(--20);
}

h2 {
    font-size: var(--20);
}

h3 {
    font-size: var(--18);
}

h4 {
    font-size: var(--16);
}

.text-muted {
    color: var(--muted) !important;
}

.text-sm {
    font-size: var(--14) !important;
}

.text-md {
    font-size: var(--16) !important;
}

.btn {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.btn-reset {
    margin: 0;
    padding: 0;
    border: none;
}

.menu-sidebar {
    left: 0;
    bottom: 0;
    top: 67px;
    z-index: 99;
    width: 260px;
    padding: 15px;
    overflow: auto;
    position: fixed;
    background-color: var(--white);
    border-right: 1px solid var(--border);
    transition: all 0.35s linear;
}

.menu-sidebar.active {
    left: 0 !important;
}

header {
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.site-logo {
    gap: 18px;
    display: flex;
    font-weight: 600;
    color: var(--black);
    align-items: center;
    font-size: var(--18);
}

.header-controls {
    gap: 10px;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-search {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.input-group-search input {
    font-weight: 500;
}

.py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.border-0 {
    border: 0 !important;
}

.form-control {
    display: block;
    line-height: 1.5;
    padding: .375rem .75rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-color: var(--border);
    font-family: 'Borna', serif;
    font-size: var(--16);
    font-weight: normal;
    color: var(--black);
}


.btn-user {
    border: 1px solid var(--border) !important;
    color: var(--white) !important;
    font-size: var(--14);
    border-radius: 6px;
    font-weight: 600;
    padding: 3px;
    gap: 10px;
}

.btn-user:after {
    display: none;
}

.btn-user span {
    width: 35px;
    line-height: 26px;
    text-align: center;
    border-radius: inherit;
    background-color: var(--red);
}

.dropdown-item:focus,
.dropdown-item:hover {
    background: none;
}

.dashboardarea {
    padding: 20px;

}

.top-heading h1,
.top-heading p {
    margin: 0;
}

.dashboard-inner {
    border: 1px solid #EEEFF0;
    padding: 25px 20px 20px;
    border-radius: 8px;
    position: relative;
    width: 100%;
}

.top-small-text {
    font-weight: 500;
    color: #8F9093;
    background-color: #fff;
    border: 1px solid #E4E6E7;
    border-radius: 6px;
    padding: 1px 10px;
    position: absolute;
    font-size: var(--12);
    top: -11px;
    left: 20px;
}

.dashboard-inner .dashboard-form .banner-image {
    width: 100%;
    position: relative;
}

.dashboard-inner .dashboard-form .banner-image img {
    width: 100%;
    border-radius: 6px;
}

span.share-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    cursor: pointer;
}

.dashboard-inner .dashboard-form textarea {
    height: 172px;
    resize: none;
    padding-top: 70px;
}

input, select {
    border-color: var(--border);
    font-family: 'Borna', serif;
    font-size: var(--16);
    font-weight: normal;
    color: var(--black);
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.dashboard-form .field-outer {
    margin-bottom: 15px;
}

.dashboard-form .field-outer:last-child {
    margin-bottom: 0;
}

.textarea-outer {
    position: relative;
}

.top-color-outer {
    width: 100%;
    position: absolute;
    top: 0;
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
    height: 45px;
    border: 1px solid #E4E6E7;
    background: #F7F7F7;
}


main {
    margin-left: 260px;
    margin-right: 300px;
}

.word-count {
    position: absolute;
    bottom: 6px;
    right: 8px;
}

.card-header {
    min-height: 40px;
}

.upload-media {
    min-height: 380px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.media-preview {
    border-radius: inherit;
    position: absolute;
    overflow: hidden;
    bottom: 3px;
    right: 3px;
    z-index: 2;
    left: 3px;
    top: 3px;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    object-position: center;
}

.sidebar-panel {
    right: 0;
    bottom: 0;
    top: 67px;
    z-index: 3;
    width: 300px;
    position: fixed;
    background-color: var(--white);
    border-left: 1px solid var(--border);
}

.sidebar-card {
    border-bottom: 1px solid var(--border);
}

.theme {
    position: relative;
}

.theme p:before {
    top: 4px;
    z-index: 1;
    right: 4px;
    content: "";
    width: 20px;
    height: 20px;
    transform: scale(0);
    position: absolute;
    border-radius: 5px;
    transition: all 0.35s linear;
    background: var(--red) url('../images/check.svg') no-repeat center / 10px;
}

.theme input:checked ~ p:before {
    transform: scale(1);
}

.theme input:checked ~ img {
    border-color: var(--red);
}

.theme img {
    width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 5px;
    border: 1px solid transparent;
}

.theme p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: var(--14);
}

label {
    font-weight: 500;
    color: var(--muted);
    font-size: var(--14);
    margin-bottom: 0.5em !important;
    margin-top: 1.5em;
}

.errorlist {
    color: red;
}

.media-card {
    gap: 15px;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    color: var(--muted);
    font-size: var(--14);
    border: 1px solid var(--border);
}

.media-card-image {
    width: 80px;
    min-width: 80px;
}

.media-card-image img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    object-position: center;
}

.media-card h3 {
    margin: 0;
    font-weight: 600;
    color: var(--black);
    font-size: var(--16);
}

.media-card p {
    margin: 0;
}

.media-card-author {
    width: 30%;
}

.menu-sidebar .accordion {
    border: none;
}

.menu-sidebar .accordion-button {
    gap: 8px;
    padding: 10px;
    font-weight: 500;
    font-size: var(--16);
    color: var(--black) !important;
    background-color: var(--white);
}

.menu-sidebar .active .accordion-button {
    border: 1px solid var(--border);
    border-radius: 8px !important;
}

.menu-sidebar .active .accordion-button:after {
    transform: rotate(180deg);
}

.menu-sidebar .accordion-button[href]:after {
    display: none;
}

.menu-sidebar .accordion-item {
    border: none;
    margin-bottom: 5px;
}

.menu-sidebar .accordion-body {
    padding: 10px;
}

.accordion-collapse {
    display: none;
}

.active .accordion-collapse {
    display: block;
}

.menu-sidebar .accordion-body ul {
    border-left: 1px solid #B2B3B6;
    flex-direction: column;
    padding: 5px 0 5px 18px;
    font-size: var(--14);
    font-weight: 500;
    display: flex;
    margin: 0;
    gap: 8px;
}

.menu-sidebar .accordion-body ul a {
    position: relative;
    color: var(--muted);
}

.menu-sidebar .accordion-body ul a:before {
    top: -2px;
    bottom: 0;
    left: -12px;
    width: 6px;
    opacity: 0;
    height: 6px;
    margin: auto;
    content: '';
    position: absolute;
    background-color: #FF3B3B;
}

.menu-sidebar .accordion-body ul a.active, .menu-sidebar .accordion-body ul a:hover {
    color: var(--black);
}

.menu-sidebar .accordion-body ul a.active:before {
    opacity: 1;
}

#id_tags {
    min-height: 300px;
}

input[type="checkbox"] {
    height: 30px;
    width: 30px;
    appearance: auto !important;
}

textarea {
    border-color: var(--border);
    font-family: 'Borna', serif;
    font-size: var(--16);
    font-weight: normal;
    color: var(--black);
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    height: 200px;
}

.dropdown-menu {
    right: 0;
}

[data-bs-toggle="tooltip"] {
    position: relative;
}

[data-bs-toggle="tooltip"] span {
    font-size: var(--10) !important;
    background-color: var(--black);
    color: var(--white);
    position: absolute;
    text-align: left;
    margin-top: 4px;
    display: none;
    z-index: 1025;
    padding: 8px;
    width: 150px;
    top: 100%;
    right: 2px;
}

[data-bs-toggle="tooltip"] span:after {
    background-color: var(--black);
    position: absolute;
    height: 8px;
    content: "";
    width: 8px;
    right: 2px;
    top: -4px;
    transform: rotate(45deg);
}

[data-bs-toggle="tooltip"]:hover span {
    display: block;
}