assets/css/features/study.css
#game_container {
    position: relative;

    /* to make any speech bubbles overflowing outside the board to appear on top */
    z-index: 1;
}

.pgn_choice {
    background-color: var(--bg-highlight-color);
    border-radius: 4px;
    padding: 0.5em;
}

@media only screen and (max-width: 600px) {
    .chapter_selection {
        max-width: 100% !important;
    }
}

@media only screen and (min-width: 600px) {
    .sidebar_innercontainer {
        height:0;
        min-height:100%;
        overflow-x: hidden;
        margin-bottom: 2em;
        padding-right: 0.5em;
    }
}

.sidebar {
    margin-bottom: 2em;
}

.chapter_selection {
    margin-right: 2em;
    max-width: 230px;
}

.study_favorite_form {
    margin-bottom: 0;
}

@media only screen and (max-width: 600px) {
    .sidebar_padded {
        padding-left: 1em;
    }
}

@media only screen and (max-width: 600px) {
    .options_area {
        padding: 1em;
        display: flex;
        flex-direction: column;
    }
}

.large_clickarea {
    display: inline-block;
    width: 90%;
    position: relative;
    z-index: 1;
    padding: 1.5em 1.5em 1em 0em;
    margin: -1.5em -1.5em -1em 0em;
}

.options_area {
    flex: 2;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.option_item {
    margin-right: 3rem;
    min-width: 26ch;
}

.option_item_progressbar {
    margin-right: 3rem;
    margin-bottom: 1em;
    width: 55ch;
}

.select2 {
    margin-bottom: 2.5rem !important;
}

.study_below_highlight {
    margin-top: 1.5rem;
}

.study_comments > div {
    margin-bottom: 0.8em;
    font-size: 0.9em;
}

.study_comments > div > .bold {
    font-weight: bolder;
    margin-right: 0.6em;
    font-size: 0.9em;
}

.study_search_results {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.study_search_result {
    flex: 250px;
    padding: 0.5em;
}

.study_progress {
    overflow-y: scroll;
    max-height: 20em;
}

.max_depth_label {
    display: inline-block;
    min-width: 2ch;
}

.max_depth_ctrl {
    min-width: 1ch;

    /* This all make the click area a little larger */
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 0.3em;
    margin: -0.3em;

    /* Make it non-selectable */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.cg-wrap svg {
    opacity: 1 !important;
}

/*
 * The arrow head styles below are for PGN arrows, in their normal state, or if they
 * have not been played enough and need to be highlighted through the normal non-transparent opacity.
 */
#arrowhead-playable_normal_green {
    stroke: hsl(120, 100%, 10%);
    stroke-width: 0.35;
    overflow: visible;
}

#arrowhead-playable_normal_blue {
    stroke: hsl(216, 100%, 20%);
    stroke-width: 0.35;
    overflow: visible;
}

#arrowhead-playable_normal_red {
    stroke: hsl(0, 100%, 25%);
    stroke-width: 0.35;
    overflow: visible;
}

#arrowhead-playable_normal_yellow {
    stroke: hsl(48, 100%, 15%);
    stroke-width: 0.35;
    overflow: visible;
}

/*
 * The arrow head styles below are for PGN arrows, when they have been played more
 * than some others and need to made more transparent.
 */
#arrowhead-playable_transparent_green {
    stroke: hsl(120, 100%, 10%);
    stroke-width: 0.2;
    overflow: visible;
}

#arrowhead-playable_transparent_blue {
    stroke: hsl(216, 100%, 20%);
    stroke-width: 0.2;
    overflow: visible;
}

#arrowhead-playable_transparent_red {
    stroke: hsl(0, 100%, 20%);
    stroke-width: 0.2;
    overflow: visible;
}

#arrowhead-playable_transparent_yellow {
    stroke: hsl(48, 100%, 15%);
    stroke-width: 0.2;
    overflow: visible;
}

.max_depth_range {
    width: 50px;
    margin-top: 3px;
    margin-bottom: unset;
    vertical-align: text-bottom;
}

.option-highlighted a {
    color: var(--warn-color);
}
