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

a:hover {
    color: var(--pink);
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-text {
    font-size: 14px !important;
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}

code {
    background-color: var(--black);
}

pre {
    margin: 1.0rem 0 1rem 0;
    padding: 1.0rem;
    padding-bottom: 10px;
    background-color: var(--black);
    font-size: .775em;
}

article {
    padding-left: 5%;
    padding-right: 5%;
}

table,
td,
th {
    border-color: var(--greySecondary) !important;
    padding-right: 15px !important;
    border-width: 1px;
    border-style: solid;
    padding: 1%;
}

table {
    width: 100%;
}

h1,
h2,
h3,
h4 {
    margin-top: 1.8rem !important;
}

img, svg {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    display: block;
    margin-bottom: 10%;
    width: 150px !important;
}

/* ===== Siderbar ===== */
.sidebar {
    min-width: 270px;
    max-width: 270px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: sticky;
}

.sidebar.active {
    margin-left: -270px;
}

.sidebar h1 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 30px;
}

.sidebar h1 .logo span {
    font-size: 14px;
    display: block;
}

.sidebar ul.components {
    padding: 0;
}

.sidebar ul li {
    font-size: 16px;
}

.sidebar ul li>ul {
    margin-left: 10px;
}

.sidebar ul li>ul li {
    font-size: 14px;
}

.sidebar ul li a {
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar .custom-menu {
    display: inline-block;
    position: absolute;
    top: 81px;
    right: 0;
    margin-right: -41px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.sidebar .custom-menu .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
}

.sidebar .custom-menu .btn i {
    margin-right: -00px;
    font-size: 18px;
}

.sidebar .custom-menu .btn.btn-primary {
    background: transparent;
    border-color: transparent;
}

.sidebar .custom-menu .btn.btn-primary:after {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: linear-gradient(var(--gradientDegree), var(--purple) 0, var(--cyan) 100%);
    border-radius: 10px;
}

.sidebar .custom-menu .btn.btn-primary:hover,
.sidebar .custom-menu .btn.btn-primary:focus {
    background: transparent !important;
    border-color: transparent !important;
}

@media (max-width: 991.98px) {
    .sidebarCollapse span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar .custom-menu {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -270px;
    }

    .sidebar.active {
        margin-left: 0;
    }
}

/* ===== endblock ===== */
/* ===== Content ===== */
.content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.section-content {
    padding-top: 7px !important;
}

.content-search {
    padding-top: 7px !important;
}

/* ===== endblock ===== */
.dot-ul {
    list-style: none;
    display: flex;
    margin: 10px 0 0;
    padding-left: 23%
}

.dot-li {
    width: 12px;
    height: 12px;
    margin: 3px;
    border-radius: 100%;
}

.md-source-repo-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    margin-left: 10px;
    font-size: xx-large;
}

.md-source-repo-text {
    display: flex;
    font-size: 14px;
    text-align: left;
    gap: 0.4rem;
    list-style-type: none;
    margin: 0.1rem 0 0;
    opacity: .75;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.md-source-repo-url {
    display: inline-block;
    max-width: calc(100% - 1.2rem);
    white-space: nowrap;
    width: 15em;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    text-align: left;
    vertical-align: middle;
}

.flex-column {
    flex-direction: row-reverse !important;
}

.divider {
    min-width: 10px !important;
    flex-shrink: 0;
    width: 1.5rem;
}

.btn-preview {
    width: 170px;
}

.btn-preview:disabled {
    width: 170px;
}

.btn-preview:hover {
    border-color: var(--green);
}

.row-preview {
    padding: 5px;
}

.drac-bg-grey-ternary {
    --accentColor: var(--greyTernary);
    background-color: var(--greyTernary);
}

.drac-text-grey-ternary {
    color: var(--greyTernary);
}

.active {
    font-weight: bold;
}

@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu>li:hover {
        background-color: #f1f1f1
    }

    .dropdown-menu>li:hover>.submenu {
        display: block;
    }

}

@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }

}

.normal {
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.scratched {
    text-decoration: line-through;
}

.underline {
    text-decoration: underline;
}

.overline {
    text-decoration: overline;
}

@media only screen and (max-width: 780px) {

    .sidebar ul li a {
        padding: 1%;
        font-size: 15px !important;
        margin-top: 1% !important;
        margin-bottom: 8% !important;
    }

    .site-name {
        font-size: 14px !important;
    }

    .title {
        font-size: 18px !important;
    }

    .container {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    main {
        margin-left: 0% !important;
        margin-right: 0% !important;
        line-height: 1.8 !important
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 18px !important;
        margin-top: 1.0rem !important;
        margin-bottom: 1rem !important;
    }

    p,
    a,
    li,
    code,
    small {
        font-size: 12px !important;
        margin-top: 1.0rem !important;
        margin-bottom: 1rem !important;
    }

    article {
        padding-left: 10%;
        padding-right: 10%;
    }

    .section-content {
        padding-top: 7px !important;
        padding-bottom: 20% !important;
    }

    .footer-text {
        font-size: 12px !important;
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }

}

.search-box {
    margin-top: 2%;
    margin-bottom: 1%;
}

.btn-toggle {
    color: var(--white) !important;
    background-color: transparent;
    display: inline-flex !important;
    text-decoration: none;
    transition: all 0.16s ease-in-out;
}

.btn-toggle:hover,
.btn-toggle:focus {
    color: var(--purple) !important;
    background: var(--black) !important;
}

.btn-toggle::after {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
    margin-left: 10px;
}

[data-bs-theme="dark"] .btn-toggle::after {
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
    color: rgba(var(--bs-emphasis-color-rgb), .85);
}

.btn-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

.drac-anchor-secondary {
    margin-left: 10%;
}

.drac-box-ternary {
    margin-top: 3%;
    margin-left: 10%;
}

.drac-input-search {
    margin-top: 2px;
    width: 170px;
}