body {
    font-size: .875rem;
    color: #000;
    background: #f2f2f2;
}

a, a:hover {
    color: #000;
    text-decoration: none;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.note-editing-area {
    color: #000 !important;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    background: #fff;
    /* rtl:raw:
  right: 0;
  */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100;
    /* Behind the navbar */
    padding: 48px 0 0;
    /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.fixed-button-bar {
    position: fixed;
    z-index: 999;
    width: 80%;
    background: #f2f2f2;
    padding-top: 20px;
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 3rem;
    }

    .fixed-button-bar {
        width: 94%;
    }

    .q {
        max-width: 100%;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #203864;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
}

.sidebar .nav-link.active {
    color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */
.navbar {
    justify-content: left;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: #fff;
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-label {
    color: #000;
}

.form-control,
.form-control[readonly] {
    color: #000;
    background-color: #fff;
    border-color: #ccc;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.invalid-feedback {
    color: #000;
}

.btn-primary {
    background-color: #43729d;
    border-color: #43729d;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #784049;
    border-color: #784049;
}

.dropdown-item {
    background: #a40061;
    color: #fff;
}

.bg-primary {
    background: #70202d !important;
}

#making-worksheet form {
    border: 2px solid #000;
    padding: 20px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
}

#making-worksheet .parent {
    text-decoration: underline;
}

#making-worksheet .child {
    cursor: pointer;
    padding: 5px;
    border: 1px solid #000;
    -webkit-border-radius: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
}

#making-worksheet .qt3-option-sortable {
    cursor: pointer;
}

#making-worksheet .qt8-option-sortable li {
    cursor: pointer;
    float: left;
    padding: 3px;
    font-weight: bold;
    margin-right: 5px;
    border: 1px solid #fff;
    -webkit-border-radius: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
}

#making-worksheet .qt9-table {
    border-collapse: collapse;
    width: inherit;
}

#making-worksheet .qt9-table input,
#making-worksheet .qt9-table tr {
    border-collapse: collapse;
}

#making-worksheet .qt9-table input,
#making-worksheet .qt9-table td {
    border-collapse: collapse;
    width: 8%;
    text-align: center;
}

.qt5-container, .qt5-container-question {
    position: relative;
    width: 300px;
    left: 50%;
    transform: translateX(-50%);
}

.qt5-dot {
    cursor: pointer;
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ff0000;
    border: 1px solid #00ff00;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    z-index: 88;
}