@import "https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css";

.header {
    padding: 1rem;
    border-bottom: 1px solid #bbb;
}

.app-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

#admin-calendar .app-container {
    height:100vh;
}

.toastui-calendar-popup-top-line {
    position: absolute;
    border-radius: 2px 2px 0 0;
    width: 100%;
    height: 4px;
    border: none;
    top: 0;
    left:0;
}
.toastui-calendar-detail-container {
    border-radius: 6px;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
    margin-bottom: 100px;
    padding: 40px 0px 0px;
    margin-top: 15vh;
}
.toastui-calendar-detail-container .toastui-calendar-section-header {
    margin-bottom: 15px;
    margin-top: -80px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 3px;
    padding: 15px;
    box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 188, 212, 0.4);
    color:#fff;
    background: #26c6da;
    background: -webkit-linear-gradient(60deg, #26c6da, #00acc1);
    background: -o-linear-gradient(60deg, #26c6da, #00acc1);
    background: -moz-linear-gradient(60deg, #26c6da, #00acc1);
    background: linear-gradient(60deg, #26c6da, #00acc1);
}
.toastui-calendar-detail-container .toastui-calendar-section-detail {
    margin-bottom: 16px;
}
.toastui-calendar-detail-container .toastui-calendar-section-button {
    position: relative;
    z-index: 3000;
    border-top: 1px solid #e5e5e5;
    font-size: 12px;
}
.toastui-calendar-popup-section {
    font-size: 12px;
    min-height: 40px;
}
.toastui-calendar-detail-item-indent {
    padding-left: 0px;
    text-indent: 0px;
}
.toastui-calendar-content {
    font-size: 12px;
    height: 24px;
    line-height: 2;
}
.toastui-calendar-detail-container .toastui-calendar-icon {
    background-size: 12px;
    height: 14px;
    margin-right: 8px;
    position: static;
    width: 14px;
}
span {
    font-weight: normal !important;
}
/*
.toastui-calendar-template-popupDetailTitle {}
.toastui-calendar-template-popupDetailDate {}
*/
.modal {
    z-index:2000;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
    clear: both;
    font-weight: 2.5;
}
.modal-dialog {
    z-index:2090;
}
.modal-card, .modal-content {
    width:auto;
    border:none;
    box-shadow: none;
}
.modal-header {
    display:block;
}
.modal-footer {
    flex-wrap: nowrap;
}

/* Basisinstelling: sidebar altijd zichtbaar */
#calendar-sidebar {
    position:relative!important;
    display: flex;
    height:100%;
    flex: 0 1 15rem;
    flex-direction: column;
    padding: 1rem;
    padding-top:3.5rem;
    background-color: #fafafa;
    border-right: 1px solid #d5d5d5;
    transition: transform 0.3s ease;
}

#calendar-sidebar hr {
    margin: 0.8rem 0;
}

.sidebar-item + .sidebar-item {
    margin-top: 0.7rem;
}

#calendar-sidebar .app-footer {
    margin-top: auto;
    font-size: 0.7rem;
}

.app-column {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.app-column nav {
    border: 0;
    border-radius: 3px;
    padding: 0.625rem 0;
    margin-bottom: 20px;
    height: auto !important;
    color: #555;
    background-color: #fff !important;
    box-shadow: 0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15);
}

#app {
    flex: 1 0 auto;
}

.navbar .dropdown {
    margin-right: 1rem;
}

.navbar .dropdown .toastui-calendar-icon {
    margin-left: 0.5rem;
}

.button.prev, .button.next {
    padding: 0.8rem;
}

.navbar .button + .button {
    margin-left: 0.25rem;
}

.navbar .navbar--range {
    margin-left: 1rem;
    font-size: 1.25rem;
}

.navbar .nav-checkbox {
    margin-left: auto;
}

input:disabled + label {
    color: #ccc;
    cursor: not-allowed;
}

.toastui-calendar-template-time strong {
    color: inherit;
}

.sidebar-item input[type="checkbox"]:not(.checkbox-all) {
    visibility: hidden;
}

.checkbox {
    position: relative;
}

.checkbox-calendar::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.checkbox.checkbox-1::before {
    background-color: var(--checkbox-1);
}

.checkbox.checkbox-2::before {
    background-color: var(--checkbox-2);
}

.checkbox.checkbox-3::before {
    background-color: var(--checkbox-3);
}

.checkbox.checkbox-4::before {
    background-color: var(--checkbox-4);
}

.checkbox.checkbox-5::before {
    background-color: var(--checkbox-5);
}


.fc-event, .fc-event:hover, .ui-widget .fc-event {
    color: #fff;
    text-decoration: none;
}

/* font icons */
@font-face {
    font-family: 'tui-calendar-font-icon';
    src: url('../fonts/icon.eot') format('embedded-opentype'),
    url('../fonts/icon.ttf') format('truetype'),
    url('../fonts/icon.woff') format('woff'),
    url('../fonts/icon.svg') format('svg');
}

.calendar-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

.calendar-font-icon {
    font-family: 'tui-calendar-font-icon', sans-serif;
    font-size: 12px;
    font-weight: normal;
}

.img-bi {
    background: url('../img/img-bi.png') no-repeat;
    width: 215px;
    height: 16px;
}

.ic_view_month {
    background: url('../img/ic-view-month.png') no-repeat;
}

.ic_view_week {
    background: url('../img/ic-view-week.png') no-repeat;
}

.ic_view_day {
    background: url('../img/ic-view-day.png') no-repeat;
}

.ic-arrow-line-left {
    background: url('../img/ic-arrow-line-left.png') no-repeat;
}

.ic-arrow-line-right {
    background: url('../img/ic-arrow-line-right.png') no-repeat;
}

.ic-travel-time {
    background: url('../img/ic-traveltime-w.png') no-repeat;
}

/* font icons */
.ic-location-b:before {
    content: '\e900';
}

.ic-lock-b:before {
    content: '\e901';
}

.ic-milestone-b:before {
    content: '\e902';
}

.ic-readonly-b:before {
    content: '\e903';
}

.ic-repeat-b:before {
    content: '\e904';
}

.ic-state-b:before {
    content: '\e905';
}

.ic-user-b:before {
    content: '\e906';
}

/* Op mobiel: sidebar standaard verborgen */
@media (max-width: 768px) {
    .navbar {
        min-height: 5.85rem;
    }
    #calendar-sidebar {
        position: fixed!important;
        top: 0;
        left: 0;
        height: 100%;
        max-width: 80%;
        z-index: 1000;
        transform: translateX(-100%);
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    }

    #calendar-sidebar.is-active {
        transform: translateX(0);
    }

    .mobile-sidebar-toggle {
        display: inline-block;
    }

    .content {
        flex-direction: column;
    }
}

/* Desktop: toggle-knop verbergen */
@media (min-width: 769px) {
    .mobile-sidebar-toggle {
        display: none;
    }
}
