:root {
    --input-padding-x: .75rem;
    --input-padding-y: .75rem;
}

html, body {
    height: 100%;
}

[v-cloak] {
    display: none;
}

video:focus {
    outline: none;
}

.card {
    border: none;
    margin-bottom: 24px;
}

@media (prefers-color-scheme: light) {
    .card {
        box-shadow: 0 0.125rem 0.25rem rgba(var(--bs-body-color-rgb),.075)!important;
    }

    .table {
        box-shadow: 0 0 4px 0 rgba(0,0,0,.04);
    }
}

.vr {
    display: inline-block;
    align-self: stretch;
    width: 1px;
    min-height: 1em;
    background-color: currentColor;
    opacity: .25;
}

.custom-toast {
	background-color: #323232 !important;
	font-size: 0.8rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	padding: 0.75rem 1.25rem !important;
	color: #f8f9fa !important;
}

.custom-toast.success {
	background-color: #323232 !important;
}

.custom-toast.error {
	background-color: #323232 !important;
}

.material-icons {
    font-size: inherit;
    vertical-align: text-bottom;
}

.btn .material-icons {
    line-height: 1.5;
}

.text-linethrough {
    text-decoration: line-through;
}

.input-group-radio {
    padding: 0;
}

.input-group-radio label {
    cursor: pointer;
    margin: 0;
    padding: .375rem .5rem;
}

.input-group-radio input[type="radio"] {
    display:none;
}

.input-group-radio input[type="radio"]:checked + label {
    color: #fff;
    background-color: #007bff;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="username"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.table thead th {
    vertical-align: top;
}

.flatpickr-months .flatpickr-month {
    height: 36px;
}

#create-quiz-modal .flatpickr-wrapper, #edit-quiz-modal .flatpickr-wrapper, #create-challenge-modal .flatpickr-wrapper, #edit-challenge-modal .flatpickr-wrapper {
    display: block;
}

.user-profile-details span + span:before {
    content: ' · '
}

.sortable-table th {
    cursor: pointer;
}

.tag-list .list-group-item-action {
    cursor: pointer;
}

.news-article-content-editor .ql-editor {
    min-height: 100px;
}

.select2-selection-small {
    font-size: 0.875rem;
    line-height: 1.5;
    height: calc(1.5em + 0.5rem + 2px) !important;
}

.select2-selection-small.select2-selection--single {
    height: calc(1.5em + 0.5rem + 2px) !important;
}

.select2-selection-small.select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 0.5rem) !important;
}

.select2-selection-small.select2-selection--single .select2-selection__placeholder {
    line-height: calc(1.5em + 0.5rem) !important;
}

.select2-dropdown-small {
    font-size: 0.875rem;
    line-height: 1.5;
}

.select2-dropdown-small .select2-search__field {
    height: calc(1.5em + 0.5rem + 2px) !important;
}

.timeline {
    background: linear-gradient(#f8f9fa, #f8f9fa) no-repeat 20px/2px 100%;
}
