#popup-wrapper #popup.tic-graph-popup,
#popup-wrapper #popup.tic-sequences-popup {
    width: 45%;
}

.tic-chart {
    position: relative;
    height: 17em;
    margin: auto;
}

#tic-graph {
    background-color: var(--dark-grey);
    border: 1px solid #66666677;
    border-radius: 5px;
    width: 100% !important;
}

.tic-series-description {
    box-sizing: border-box;
    outline: none;
    border-radius: 3px;
    line-height: 1.5em;
    margin: 0 0 0em 0.5em;
    background: var(--dark-grey);
    color: var(--text-color);
    border: 1px solid #66666677;
    padding: 0 0.5em;
    width: 50%;
}

.tic-subtitle {
    font-size: 0.9em;
    margin-bottom: 1.5em;
}

.tic-select-study {
    margin-bottom: 1.5em;
}

.tic-label {
    font-size: 0.9em;
    padding-right: 1em;
}

.tic-select {
    appearance: none;
    background-image: url(../assets/arrow.svg);
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 0.4em;
    background-color: transparent;
    width: 100%;
    border: none;
    border-bottom: 1px solid #666;
    color: var(--text-color);
    padding-bottom: 0.5em;
    cursor: pointer;
    outline: none;
    max-height: 10em;
}

.tic-select option {
    background-color: var(--dark-grey);
}

.tic-previews {
    display: flex;
    flex-wrap: wrap;
    overflow-y: scroll;
    margin-bottom: 1em;
    height: 13em;
    padding: 0.2em;
    background-color: var(--dark-grey);
    border-radius: 0.4em;
}

.tic-preview-div {
    text-align: end;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
}

.tic-preview-div.selected .preview-body {
    border: 1px solid var(--primary);
}