﻿details {
    width: 100%;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 0 16px;
    padding: 10px 0;
    border-radius: 12px;
    box-shadow: 1px 1px 4px #0000001a;
}

body {
    background-color: #fbfbfb
}

.topbar .nav-item .nav-link .badge-counter {
    position: absolute;
    transform: scale(0.7);
    transform-origin: top right;
    right: .25rem;
    margin-top: -.25rem;
}

:root {
    --primary: #007bff;
}

@media (max-width: 576px) {
    .login-body {
        min-width: 100vw
    }
}

@media (min-width: 578px) {
    .login-body {
        min-width: 400px
    }
}

.shade-fade-left {
    height: 35vw;
    bottom: -120px;
    max-width: 40vw;
    z-index: -1;
    position: fixed;
}

.shade-fade-right {
    top: 0;
    right: 0;
    height: 30vw;
    max-width: 30vw;
    z-index: -1;
    position: fixed;
}

.class-summary h6 {
    margin-bottom: 0px !important;
    font-weight: bolder;
}

.sub-title {
    margin-bottom: 0px !important;
    font-weight: 500 !important;
}

.class-summary .form-check-input {
    border: 2px solid rgb(0 0 0) !important;
    width: 1.2em !important;
    height: 1.2em !important;
    margin-top: 0.15em !important;
}


summary {
    padding: 1rem;
    display: block;
    padding-left: 2.2rem;
    position: relative;
    cursor: pointer;
    font-size: 18px;
}




    summary:before {
        content: '';
        border-width: .4rem;
        border-style: solid;
        border-color: transparent transparent transparent #000;
        position: absolute;
        top: 1.85rem;
        left: 1rem;
        transform: rotate(0);
        transform-origin: .2rem 50%;
        transition: .25s transform ease;
    }

/* THE MAGIC 🧙‍♀️ */
details[open] > summary:before {
    transform: rotate(90deg);
}

summary i {
    color: green;
    margin-right: 16px;
}

summary .fa-lock {
    color: #c7c7c7;
}




details summary::-webkit-details-marker {
    display: none;
}

details > ul {
    padding-bottom: 1rem;
    margin-bottom: 0;
}
