:root {
    --sidebar-width: 280px;
    --sidebar-break: 992px;
    --popper-theme-background-color: var(--bs-dark);
    --popper-theme-text-color: var(--bs-light);
    --popper-theme-border-radius: 50rem;
    --popper-theme-padding: 4pt 16pt;
}

body {
    overflow-x: hidden;
}

.btn, .badge, .form-control, .pagination, .form-select, .page-item {
    border-radius: 50rem;
}

textarea.form-control {
    border-radius: 1.5rem;
}

.btn {
    padding: 5px 15px;
}

.btn, input, .md-editor, .alert {
    /*box-shadow: 0 .25rem 0.5rem rgba(var(--bs-body-color-rgb),.15) !important;*/
}

.portier-shadow {
    box-shadow: 0 .25rem 0.5rem rgba(var(--bs-body-color-rgb),.15) !important;
}

.form-floating>label {
    margin-left: 1rem;
}

.form-floating>.form-control, .form-floating>.form-select {
    padding-left: 1.75rem !important;
}

.alert {
    border-radius: 1.5rem !important;
    padding: 1rem 1.5rem !important;
}

.alert>.btn-close {
    padding: 1.25rem 1.5rem !important;
}

.sidebar {
    height: 100%;
    width: var(--sidebar-width);
    z-index: 100;
    top: 0;
    left: 0;
    position: fixed;
}

.loader {
    position: fixed;
    height: 100%;
    width: calc(100% - 280px);
    z-index: 99;
    top: 0;
    left: 280px;
    background-color: #ffffff88;
    transition: 0.1s backdrop-filter;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader .spinner-border {
    width: 100px;
    height: 100px;
}

@media screen and (max-width: 992px) {
    .loader {
        left: 0;
        width: 100%;
    }

    .portier-dialog-content {
        max-width: 85vw;
        max-height: 90vh;
        min-width: 70vw;
        min-height: 70vh;
    }
}

.page-content {
    left: 0;
    width: 100%;
}

.calendar-wrapper {
    min-height: 480px;
    height: 480px;
}

@media screen and (min-width: 992px) {
    .calendar-wrapper {
        min-height: 640px;
        height: 640px;
    }

    .page-content {
        position: absolute;
        left: var(--sidebar-width);
        width: calc(100vw - var(--sidebar-width)) !important;
    }

    main {
        max-width: calc(100vw - var(--sidebar-width));

    }
}

@media screen and (max-height: 720px) and (min-width: 992px) {
    .calendar-wrapper {
        min-height: 480px;
        height: 480px;
    }
}

body.swal2-shown > [aria-hidden="true"] {
  transition: 0.1s filter;
  filter: blur(5px);
}

body.modal-open main, body.modal-open .sidebar {
    transition: 0.1s filter;
    filter: blur(5px);
}

.swal2-rounding {
    border-radius: 3rem !important;
}

.card {
    border-radius: 1.5rem !important;
    box-shadow: 0 .25rem 0.5rem rgba(var(--bs-body-color-rgb),.15) !important;
}

.card-header {
    border-radius: 1.5rem 1.5rem 0 0 !important;
    padding-top: 0;
    padding-bottom: 0;
}

.card-footer {
    border-radius: 0 0 1.5rem 1.5rem !important;
    padding-top: 0;
    padding-bottom: 0;
}

.scrollable {
    overflow: auto;
    max-height: 100vh;
}

.portier-rounded {
    border-radius: 1.5rem !important;
}

body {
    background-color: #f7f7f7;
}

.temp-btnicon {
    font-size: 14pt;
}

.btn-icon-circle {
    padding: .2rem .5rem !important;
}

.list-group {
    border-radius: 1.5rem;
}

.list-group-item:first-child {
    border-radius: 1.5rem 1.5rem 0 0;
}

.list-group-item:last-child {
    border-radius: 0 0 1.5rem 1.5rem;
}

.list-group-item:only-child {
    border-radius: 1.5rem;
}

.unsaved-warning {
    background-color: var(--bs-warning);
    border-radius: 1.5rem;
}

.vuecal {
    border-radius: 1.5rem !important;
    background-color: var(--bs-white);
}

.vuecal__header, .vuecal__menu {
    border-radius: 1.5rem 1.5rem 0 0 !important;
}

.vuecal__cell::before {
    border: 0 !important;
}

.portier-theme .vuecal__cell--selected {
    background-color: var(--bs-primary-bg-subtle) !important;
}

.portier-theme .vuecal__title-bar {
    background-color: var(--bs-primary);
}

.portier-theme .vuecal__title-bar button, .portier-theme .vuecal__title-bar button {
    color: var(--bs-white);
}

.portier-theme .vuecal__menu {
    background-color: var(--bs-primary-text);
    color: var(--bs-white);
}

.counter-circle-deleter {
    background-color: var(--bs-secondary);
    color: white;
    border-radius: 50rem;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: all;
    transition-duration: 300ms;
    border: none;
}

.counter-circle-deleter:hover {
    transition: background-color;
    transition-duration: 300ms;
    content: "X";
    background-color: var(--bs-danger);
}

button:active {
    transition: all;
    transition-duration: 300ms;
    transform: translateY(0.2rem);
}

.circular {
    border-radius: 50rem;
}

.page-item:first-child>.page-link {
    border-radius: 1.5rem 0 0 1.5rem;
}

.page-item:last-child>.page-link {
    border-radius: 0 1.5rem 1.5rem 0;
}

.page-item:only-child>.page-link {
    border-radius: 1.5rem;
}

.pagination {
    cursor: pointer;
    border-radius: 1.5rem !important;
}

.bubble {
    position: relative;
}

.bubble .bubble-action-bar {
    opacity: 0;
    top: 8pt;
    position: absolute;
}

.bubble:hover .bubble-action-bar {
    transition: opacity 300ms;
    opacity: 1;
}

.bubble .bubble-action-bar-l {
    left: 8pt;
}

.bubble .bubble-action-bar-r {
    right: 8pt;
}

.btn-bubble {
    padding: .2rem .5rem ;
}

.btn-bubble:hover {
    transition: background-color;
    transition-duration: 300ms;
    background-color: #999999;
}

:root {
    --scrollbg: #f7f7f7;
    --thumbbg: var(--bs-dark);
    --thumbHoverbg: black;
    scrollbar-width: thin;
    scrollbar-color: var(--thumbbg) var(--scrollbg);
}

::-webkit-scrollbar-corner {
    background: var(--scrollbg);
}


::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}


::-webkit-scrollbar-track {
    background: var(--scrollbg);
}

::-webkit-scrollbar-thumb {
    background: var(--thumbbg);
    border-radius: 5px;
    border: 3px solid var(--scrollbg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--thumbHoverbg);
}

.portier-dialog {
    border-radius: 3rem;
    border: 0;
    box-shadow: 0 .25rem 0.5rem rgba(var(--bs-body-color-rgb),.15);
    padding: 24pt;
}

.portier-dialog-header {
    display: flex;
    justify-content: space-between;
}

.portier-dialog-content {
    padding: 8pt;
    margin: 1.5rem 0;
    max-width: 70vw;
    max-height: 50vh;
    min-width: 30vw;
    min-height: 20vh;
    overflow-y: auto;
}

.portier-dialog::backdrop {
    backdrop-filter: blur(5px);
    background-color: rgba(0,0,0,0.4);
}

.portier-timepick-dialog {
    border-radius: 3rem;
    border: 0;
    box-shadow: 0 .25rem 0.5rem rgba(var(--bs-body-color-rgb),.15);
    padding: 24pt;
}

.portier-attendance-time {
    border-radius: 3rem;
    font-weight: bold;
    padding: 1pt;
    font-size: 10pt;
    border: 0;
    background-color: var(--bs-white);
    display: flex;
    justify-content: center;
    user-select: none;
}

.portier-attendance-time:hover {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

.v-popper__inner {
    border-radius: 3rem !important;
}
