html,
body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

body.admin {
    font-family: 'Roboto', sans-serif;
}

#app-bar {
    border-bottom: 1px solid #E5E5E5;
}

form {
    margin-block-end: 0;
}

.form-auth {
    padding-top: 80px;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.btn-primary {
    color: #FFF;
    background-color: #583D72;
    border-color: #583D72;
    /* height: 46px;
    font-size: 18px; */
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #583D72;
    border-color: #583D72;
}

.btn-primary:disabled {
    background-color: #583D72;
    border-color: #583D72;
    opacity: .5;
}

.btn-secondary {
    color: #FFF;
    background-color: #9F5F80;
    border-color: #9F5F80;
    /* height: 46px;
    font-size: 18px; */
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: #9F5F80;
    border-color: #9F5F80;
}

.btn-outline-secondary {
    border: 1px solid #E5E5E5;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:active,
.btn-outline-secondary:focus {
    color: #fff;
    background-color: #9F5F80;
    border-color: #9F5F80;
}

.btn-check:active+.btn-outline-secondary,
.btn-check:checked+.btn-outline-secondary,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show,
.btn-outline-secondary:active {
    color: #fff;
    background-color: #9F5F80;
    border-color: #9F5F80;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #583D72;
    border-color: #583D72;
}

.page-link {
    color: #583D72;
}

::placeholder {
    opacity: .4 !important;
}

:-ms-input-placeholder {
    opacity: .4 !important;
}

::-ms-input-placeholder {
    opacity: .4 !important;
}

table {
    /* font-size: 14px; */
    width: 100%;
    border: 1px solid #EBEBEA;
}

table.table-text-sm td {
    padding: 0 10px;
}

table.table-text-sm th {
    padding: 0 10px;
}

td,
th {
    padding: 0 20px;
    height: 46px;
    border-bottom: 1px solid #EBEBEA;
}

th {
    background-color: #EBEBEA;
}

a {
    color: #A1A1A1;
    text-decoration: none;
}

a:active,
a:focus,
a:hover {
    text-decoration: none;
}

.nav-link {
    font-size: 14px;
}

.nav-link.lg {
    font-size: 18px;
}

.nav-link.lg.active {
    color: #583D72 !important;
    font-weight: 700;
}

.nav-link.active {
    color: #583D72 !important;
    font-weight: 500;
}

.pointer {
    cursor: pointer;
}

.panel {}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    /* font-weight: 500; */
    padding: 10px 20px;
    border-bottom: 1px solid #EBEBEA;
}

.panel-body {
    padding: 20px 20px;
}

.navbar-brand .title {
    font-size: 30px;
    color: #9F5F80;
}

.navbar-brand .title-main {
    font-weight: 700;
}

.university {
    font-size: 14px;
    color: #666;
}

.logo {
    height: 64px;
    width: 37.25px;
    margin-right: 10px;
}

.info {
    font-weight: 400;
}

.info .university {
    font-weight: 700;
    font-size: 24px;
    color: #583D72;
    padding-bottom: 32px;
    border-bottom: 1px solid #E5E5E5;
}

.info .section {
    padding: 16px 0;
    border-bottom: 1px solid #E5E5E5;
}

.info .faculty {
    font-size: 16px;
    color: #707070;
}

.info .code {
    font-weight: 700;
    color: #583D72;
}

.info .name {
    font-weight: 700;
    color: #9F5F80;
}

.info .content {
    color: #707070;
}

.info .title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.info .title-lg {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.info .space {
    padding-bottom: 10px;
}

.btn-search {
    /* font-size: 14px; */
    /* height: 32px; */
    /* border-radius: 16px; */
    border: none;
}

.search-container {
    width: 75%;
    margin: 0 auto;
}

.search-box {
    border: 1px solid #E5E5E5;
    border-radius: 30px;
    padding-left: 20px;
}

.input-group .btn {
    border-radius: 30px;
    color: #CCC;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #9F5F80;
}

.check .form-check-label {
    width: 100%;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.form-check-input:checked {
    background-color: #583D72;
    border-color: #583D72;
}

.form-check-input[type=checkbox] {
    border-radius: 0;
}

.form-check-label {
    padding-left: 6px;
}

pre {
    font-size: 12px;
    margin: 0;
}

.result-summary {
    font-size: 14px;
    color: #AAAAAA;
    padding: 4px 10px 16px 20px;
}

.not-found {
    font-size: 16px;
    padding: 0px 10px 10px 20px;
    font-weight: 500;
}

.not-found .sub {
    font-size: 14px;
    font-weight: 400;
}

.suggestion-word {
    font-weight: 700;
    color: #583D72;
}

.suggestion-word:focus,
.suggestion-word:hover,
.suggestion-word:active {
    color: #9F5F80;
}

.not-found span {
    color: #AAAAAA;
}

.suggestion {
    font-size: 16px;
    color: #583D72;
    font-weight: 500;
    padding: 0px 10px 10px 20px;
}

.result-card {
    padding: 16px;
    border: 1px solid #9F5F80;
    border-radius: 6px;
}

.result .title {
    font-size: 12px;
    color: #707070;
    padding-top: 10px;
}

.result .university {
    font-weight: 700;
    font-size: 16px;
    color: #9F5F80;
    padding-bottom: 12px;
}

.result .university:hover {
    text-decoration: underline;
}

.result .faculty {
    font-size: 14px;
    font-weight: 700;
}

.result .course {
    font-size: 14px;
    font-weight: 700;
}

.result .literature {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.result .literature:hover {
    text-decoration: underline;
}

.result .literature .code {
    color: #9F5F80;
}

.result .description {
    font-size: 14px;
}

.result .description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result .divider {
    border: 1px solid #E5E5E5;
    margin-top: 12px;
    margin-bottom: 0;
}

.result .found {
    font-weight: 500;
}

.license {
    color: #333;
    font-size: 16px;
    padding: 8px;
    font-weight: 500;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 40px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 40px;
    line-height: 40px;
    /* Vertically center the text there */
    font-size: 12px;
    color: #828282;
    background-color: #f5f5f5;
    overflow: hidden;
}

@media (max-width: 768px) {

    .logo {
        height: 48px;
        width: 27.94px;
        margin-right: 6px;
    }

    .navbar-brand .title {
        font-size: 20px;
        color: #9F5F80;
    }

    .university {
        font-size: 10px;
    }

    .navbar-toggler {
        padding: 0;
    }

    .search-container {
        width: 100%;
        margin: 0;
    }

    .search-container button>span {
        display: none;
    }

    .footer {
        font-size: 10px;
    }

}
