/* ADMIN BASE */
/* Hide side bar toggle */
#toggle-nav-sidebar { display: none; }
/* Hide breadcrumbs */
.breadcrumbs { display: none; }
/* Hide module header */
#content-main .app-judo_manager caption { display: none; }
#nav-sidebar .app-judo_manager caption { display: none; }
/* Reduce nav bar width */
#nav-sidebar { flex: 0 0 200px; }
.main.shifted #content-start.content { max-width: calc(100%); }
/* Hide nav filter */
#nav-filter { display: none; }
/* Hide add/change links */
.app-judo_manager.module .addlink, .changelink, .viewlink {
    display: none !important;
}

/* ALL MODEL PAGES */
/* Hide Show counts */
#changelist-filter-extra-actions { display: none; }
/* Reduce ckeditor heading width */
.ck-heading-dropdown { width: 90px !important; }

/* JUDOKA */
/* Hide Today link */
.datetimeshortcuts { font-size: 0px; }
/* Hide yesterday, today, tomorrow shortcuts in calendar widget */
.calendar-shortcuts { display: none; }

/* GROUPS */
/* Hide judoka titles */
tr.dynamic-Judoka_groups td.original p { display: none; }
tr.dynamic-Judoka_groups td.field-judoka { padding: 0px !important; }

/* EXAMINATION */
/* Fix checkbox label alignment */
.vCheckboxLabel { padding-bottom: 0px !important; }
/* Fix striped alignment */
.fieldBox.field-striped { padding-top: 8px !important; }
/* Remove item headers */
.dynamic-examinationexaminationitem_set h3,
.dynamic-examinationexaminationitem_set label { display: none !important; }
/* Remove item borders and reduce padding */
.dynamic-examinationexaminationitem_set .form-row {
    border: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.dynamic-examinationexaminationitem_set .field-item {
    padding-top: 10px !important;
}
.dynamic-examinationexaminationitem_set .field-nota {
    padding-bottom: 10px !important;
}
/* Make the nota box 100% width */
.dynamic-examinationexaminationitem_set .field-nota input { width: 100%; }

/* TRAINING */
/* Remove time selector */
.time .datetimeshortcuts { display: none; }
/* Remove filters from groups */
.field-groups .selector .selector-filter { display: none; }
.field-groups .selector .filtered { border-top-width: 0px; }
/* Make groups less wide */
.field-groups .related-widget-wrapper {
    float: left;
    max-width: 624px;
}
.field-groups .selector {
    max-width: 624px;
}
/* Make techniques select2 box wider */
.field-techniques .select2-container { width: 600px !important; }

/* ATTENDANCES */
#attendances { width: 100%; max-width: 400px; }
#attendances table { border: 0px !important; }
#attendances td { border: 1px solid var(--body-bg) !important; }
.judoka-button, .group-button {
    text-align: center;
    color: var(--header-link-color);
    cursor: pointer;
}
.judoka-button.on, .group-button.on { background-color: #006b1b; }
.judoka-button.off, .group-button.off { background-color: #570808; }

/* CALENDAR */
/* Multiline events */
.fc-h-event .fc-event-main-frame { display: block; }
.fc-event, .event-title { white-space: normal; }
/* Remove alternating table row colors */
#calendar tr:nth-child(even) { background: var(--bg-color); }
