.thicknessLabel {
    position: absolute;
    color: white;
    font-family: Arial;
    text-align: end;
}

.reformat-popup {
    color: #d5d5d5;
}

.reformat-title {
    padding-bottom: 0.8em;
    color: white;
    font-weight: bold;
}

.reformat-subtitle {
    font-size: 0.9em;
}

.reformat-select {
    outline: none;
    border-radius: 2px;
    height: 1.7em;
}

.reformat-rotation {
    margin-left: 0.2em
}

.reformat-direction {
    margin-right: 0.2em
}

.reformat-popup .reformat-actions {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5em;
    padding-right: 0.2rem;
}

.reformat-popup .reformat-actions .connection-popup-buttons {
    margin-top: 0;
}

.reformat-parameters-panel {
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
}

.reformat-parameters-panel .reformat-parameters {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0.3em;
    align-items: center;
    margin-top: 0.45em;
}

.reformat-parameters-panel .reformat-parameters #reformat-series-description {
    grid-column: 2/5;
}

.reformat-parameters-panel .reformat-parameters .reformat-label.stop {
    justify-self: center;
}

.reformat-parameters-panel #hydra-tools {
    display: flex;
    align-items: center;
    gap: 1em;
    margin: 0.3em 0 0.5em 0;
}

.reformat-parameters-panel #hydra-tools [id^=slider] {
    position: unset;
    -webkit-appearance: none;
    flex: 1;
}

.reformat-parameters-panel #number-of-slices {
    font-size: 0.7em;
}

#validation-message {
    font-size: 0.7em;
    color: #bb2f2f;
}

.reformat-parameters-panel .reformat-input {
    box-sizing: border-box;
    outline: none;
    border-radius: 2px;
    line-height: 1.5em;
    border: none;
    margin: 0.2em;
}

.reformat-parameters-panel .reformat-input.validationError {
    box-shadow: 0 0 1px 1px red;
}

.reformat-parameters-panel #hydra-tools .reformat-input {
    width: 4em;
}

#hydra-tools [id^=slider] {
    position: absolute;
    -webkit-appearance: none;
    height: 2px;
}

#hydra-tools [id^=slider]:focus {
    outline: none;
}

/* track */
#hydra-tools [id^=slider]::-webkit-slider-runnable-track {
    height: 3px;
}

#hydra-tools [id^=slider]::-webkit-slider-runnable-track:hover {
    cursor: pointer;
}

/* thumb */
#hydra-tools [id^=slider]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    background: #20A8D8;
    margin-top: -5px;
    border-radius: 50%;
}

#transferFunctions {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(../assets/arrow.svg);
    background-repeat: no-repeat;
    background-position-x: 5%;
    background-position-y: 8px;
    position: absolute;
    background-color: transparent;
    right: 1em;
    width: 11em;
    border: none;
    border-bottom: 1px solid white;
    color: white;
    padding: 0.3em;
    padding-left: 2.4rem;
    cursor: pointer;
    outline: none;
}

#transferFunctions option {
    background-color: black;
}
