@import url('bootstrap-icons-1.7.1/font/bootstrap-icons.css');
/* @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400&display=swap'); */

@font-face {
    font-family: 'Ubuntu';
    src: URL('fonts/Ubuntu/Ubuntu-Regular.ttf') format('truetype');
}

body {
    background-color: #f8f9fa;
    font-family: 'Ubuntu', sans-serif;
}

#watermark {
    color: #efefef;
    font-size: 50px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    position: absolute;
    margin: 0;
    z-index: -1;
    left: 0;
    top: 200px;
}

.nav-item > .nav.collapse {
    border: 1px solid #1693e3;
}

/* .dashboard .card {
  background-color: transparent;
} */

.bg-dark {
    background-image: linear-gradient(-45deg, #1054a9, #179ceb);
}

.nav-link {
    color: #212529;
}

.nav-link.active {
    color: #fff !important; /*#212529;*/
    border-top: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    /*background-color: #ffffff;#f8f9fa;#0d6efd;*/
    background-image: linear-gradient(-45deg, #1054a9, #179ceb);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.navbar-pad {
    padding-top: 0;
    padding-bottom: 0;
}

.pos-fix-bt0-z10 {
    position: fixed;
    bottom: 0;
    z-index: 10;
}

.border-top-e6 {
    /* border-top: 1px solid #e6e6e6; */
    border-top: 1px solid #d9d9d9;
}

.border-btm-e6 {
    /* border-bottom: 1px solid #e6e6e6; */
    border-bottom: 1px solid #d9d9d9;
}

.border-rt-e6 {
    /* border-right: 1px solid #e6e6e6; */
    border-right: 1px solid #d9d9d9;
}

.loading-bg-color {
    background-color: #f8f9fa;
}

.dropdown-toggle.caret-off::after {
    display: none;
}

/* Professional sidebar layout */
.app-sidebar {
    background: linear-gradient(180deg, #fefefe 0%, #f6f8fb 100%);
    min-height: calc(100vh - 66px);
}

.app-sidebar-inner {
    position: sticky;
    top: 66px;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    padding: 16px 10px 20px;
}

.app-sidebar-inner::-webkit-scrollbar {
    width: 8px;
}

.app-sidebar-inner::-webkit-scrollbar-thumb {
    background: #c9d3df;
    border-radius: 8px;
}

.app-sidebar-menu .nav-item {
    margin-bottom: 4px;
}

.app-sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 6px;
    width: calc(100% - 12px);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: #2b3a4a;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1px;
    transition: all 0.2s ease;
}

.app-sidebar-menu .nav-link i {
    width: 18px;
    text-align: center;
    color: #4a5f78;
    font-size: 15px;
}

.app-sidebar-menu .nav-link:hover {
    color: #0d3f7a;
    background: #eaf3ff;
    border-color: #cfe1fb;
    transform: translateX(2px);
}

.app-sidebar-menu .nav-link.active {
    color: #ffffff !important;
    border: 1px solid #0b5ed7;
    background: linear-gradient(135deg, #0b5ed7 0%, #1493e6 100%);
    box-shadow: 0 10px 24px rgba(20, 97, 176, 0.26);
}

.app-sidebar-menu .nav-link.active i {
    color: #ffffff;
}

@media (max-width: 1199.98px) {
    .app-sidebar-menu .nav-link {
        justify-content: flex-start;
        padding: 10px 8px;
    }

    .app-sidebar-menu .nav-link span {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .app-sidebar {
        min-height: auto;
    }

    .app-sidebar-inner {
        position: static;
        max-height: none;
    }

    .app-sidebar-menu .nav-link {
        justify-content: flex-start;
    }

    .app-sidebar-menu .nav-link span {
        display: inline !important;
    }
}
/*https://mdbootstrap.com/docs/standard/extended/timeline/*/
.timeline-1 {
    border-left: 3px solid #b565a7;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(177, 99, 163, 0.09);
    margin: 0 auto;
    position: relative;
    padding: 50px;
    list-style: none;
    text-align: left;
    max-width: 40%;
}

@media (max-width: 767px) {
    .timeline-1 {
        max-width: 98%;
        padding: 25px;
    }
}

.timeline-1 .event {
    border-bottom: 1px dashed #000;
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
}

@media (max-width: 767px) {
    .timeline-1 .event {
        padding-top: 30px;
    }
}

.timeline-1 .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline-1 .event:before,
.timeline-1 .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline-1 .event:before {
    left: -207px;
    content: attr(data-date);
    text-align: right;
    font-weight: 100;
    font-size: 0.9em;
    min-width: 120px;
}

@media (max-width: 767px) {
    .timeline-1 .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline-1 .event:after {
    -webkit-box-shadow: 0 0 0 3px #b565a7;
    box-shadow: 0 0 0 3px #b565a7;
    left: -55.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: '';
    top: 5px;
}

@media (max-width: 767px) {
    .timeline-1 .event:after {
        left: -31.8px;
    }
}

/* https://laracasts.com/discuss/channels/laravel/loading-spinner-in-blade?page=1&replyId=611191*/
.loading {
    z-index: 20;
    position: absolute;
    top: 0;
    left: -5px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.loading-content {
    position: absolute;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 40%;
    left: 35%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* .table:not(.syllabus-table) th:first-child,
.table:not(.syllabus-table) td:first-child {
  position: sticky;
  left: 0;
  background-color: #fff;
  color: #212529;
} */

.table th,
.table td {
    white-space: nowrap;
}

figure.table th,
figure.table td {
    width: 100%;
}
