/* Vicki Admin Global style */
.required:before {
    content: " * ";
    color: red;
}

.change-form textarea {
    height: 100%;
    min-height: 1.5em;
    padding: 0.8rem 0.5rem;
    border: 1px solid gray;
}

.change-form .radiolist {
    margin-top: 30px!important;
}

.change-form input[type=radio] + span,
.change-form .radiolist label span {
    position: relative;
    top: 8px;
    padding-left: 20px;
}

/* Registration -- IntervieweeIDPicture Admin edit page */


#intervieweeidpicture_form div.id-pic-detail {
    margin-left: 35px;
}

#intervieweeidpicture_form div.id-pic-detail div.missing-id-picture {
    display: none;
}

#intervieweeidpicture_form img.id-picture-viewing {
    max-width: 1800px;
    width: 960px;
    min-width: 200px;
}

#intervieweeidpicture_form img.id-picture-viewing.itp {
    max-width: 800px;
    width: 500px;
    min-width: 200px;
}

#intervieweeidpicture_form div.zoom-btns {
    margin-bottom: 20px;
}

#intervieweeidpicture_form div.zoom-btns input[type=button] {
    color: white;
    font-weight: bold;
    background-color: #0b97c4;
    margin-right: 20px;
}

#intervieweeidpicture_form #id_birth_date_verified label[for=id_birth_date_verified_0],
#intervieweeidpicture_form .valid-green {
    color: green;
    font-weight: bold;
}
#intervieweeidpicture_form #id_birth_date_verified label[for=id_birth_date_verified_1],
#intervieweeidpicture_form .invalid-red {
    color: red!important;
    font-weight: bold;
}


/* W/S/P QuestionSet List admin page, action: add_to_materials_buckets */
.add-to-materials-buckets {
    padding: 20px;
    background-color: #f9f9f9;
}

.add-to-materials-buckets ul li {
    font-size: small;
    margin-left: 10px;
    list-style-type: square;
}

.add-to-materials-buckets [type=checkbox] {
    position: relative;
    left: 0;
    opacity: 1;
    margin: 7px 10px;
}


/* Interviewee List admin page */
.field-get_statuses {
    display: inline-block;
    width: 110px;
    font-size: smaller;
}
.field-get_statuses .name-label  {
    width: 45px;
}
.field-get_statuses .obj-value .badge-success {
    color: green;
}
.field-get_statuses .obj-value .badge-danger {
    color: red;
}

/* MaterialsBucket edit admin page */
#materialsbucket_form textarea {
    width: 20%;
}

/* Admin -- Filter */

div#changelist-filter div.col.s12 {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-right: 10px;
}

div#changelist-filter div.col.s12.daterange-filter {
    margin-top: 15px;
    margin-bottom: 7px;
    border-radius: 8px;
}

/* Each filter's label sits on its own line above the control. */
div#changelist-filter label.filter-label {
    display: block;
    width: 100%;
    margin: 0 0 4px 0;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    line-height: 1.4;
}

/* Option count rendered as a subtle pill next to the filter title. */
div#changelist-filter label.filter-label .filter-count {
    display: inline-block;
    margin-left: 6px;
    padding: 0 7px;
    background-color: #eaeaea;
    color: #666;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
    vertical-align: 1px;
}

/* Normalize widths so every filter control fills the sidebar column. */
div#changelist-filter div.col.s12 > .select2-container,
div#changelist-filter div.col.s12 input[type="text"] {
    width: 100% !important;
    box-sizing: border-box;
    max-width: 100%;
}

/* Baseline styling for the date-picker text inputs so they match the selects. */
div#changelist-filter input[type="text"].datepicker {
    height: 28px;
    padding: 2px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 13px;
}

/* Two date inputs in a range: stack them with a small gap. */
div#changelist-filter div.daterange-filter input[type="text"].datepicker + input[type="text"].datepicker {
    margin-top: 6px;
}

/* Date-range filter Apply button */
div.daterange-picker-controls {
    margin-top: 10px;
}

div.daterange-picker-controls .btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #417690;
    border-radius: 4px;
    background-color: #417690;
    color: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

div.daterange-picker-controls .btn:hover {
    background-color: #205067;
    border-color: #205067;
}

/* List Admin page, label:value display. E.g. InterviewHarvest List Admin page, column "Get Videos" */
.name-label {
    display: inline-block;
    width: 70%;
    white-space: nowrap;
}

.obj-value {
    display: inline-block;;
    width: 20%;
    white-space: nowrap;
}

/* InterviewHarvest List Admin */
td.field-get_see_items span,
td.field-get_wse_items span{
    display: inline;
    width: 225px;
}
td.field-get_see_items .name-label,
td.field-get_wse_items .name-label {
    width: 125px;
}

/* InterviewHarvest Detail Admin */
form#interviewharvest_form.change-form div.input-field label[for^=id_page_] {
    top: -40px;
}


/* Interviewer List Admin */
td.field-get_zoom_OAuth_info {
    display: block;
    width: 525px;
}
td.field-get_zoom_OAuth_info .name-label {
    width: 110px;
}
td.field-get_zoom_OAuth_info .obj-value {
    width: 380px;
}

/*form#interviewer_form div#id_locations_container {*/
/*    border: 1px solid #333333;*/
/*    box-shadow: 8px 8px 4px gray;*/
/*}*/

/*form#interviewer_form table.id_locations_container td {*/
/*    padding: 3px 5px;*/
/*}*/

.multiple-checkbox-row {
    margin-top: 7px;
    margin-bottom: 5px;
}

.multiple-checkbox-label label {
    font-size: 12px;
}

[type="checkbox"]:checked + span.multiple-checkbox-block::before {
    width: 12px !important;
    height: 22px !important;
    border-top: transparent !important;
    border-left: transparent !important;
    border-right: 1.5px solid #477091 !important;
    border-bottom: 1.5px solid #477091 !important;
}

span.multiple-checkbox-block::before {
    width: 14px !important;
    height: 14px !important;
    border: 1.2px solid #5a5a5a !important;
}

.input-field .readonly {
    margin-top: 15px
}

label[for$=-clear_id] {
    width: 100px;
    display: inline-block;
    position: relative;
    left: 60px;
    top: -12px;
}

[type="checkbox"][name$=-clear] + span {
    padding-left: 25px;
    height: 18px;
}

/* SAO Interviewee List Admin */
td.field-all_k12_deliveries li {
    line-height: 12px;
}

/* Admin -- Collapsible left nav sidebar apps */
#nav-sidebar .collapsible-app > table > caption {
    position: relative;
    padding-right: 28px;
}

#nav-sidebar .nav-toggle-indicator {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 11px;
    color: inherit;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.15s ease;
    user-select: none;
}

#nav-sidebar .nav-toggle-indicator:hover {
    background-color: rgba(0, 0, 0, 0.12);
}

#nav-sidebar .nav-toggle-indicator::before {
    content: "\25BE"; /* down-pointing triangle */
    display: inline-block;
    transition: transform 0.15s ease;
}

#nav-sidebar .collapsed .nav-toggle-indicator::before {
    transform: rotate(-90deg);
}

#nav-sidebar .collapsed > table > tbody {
    display: none;
}
