/* Minification failed. Returning unminified contents.
(43,23): run-time error CSS1039: Token not allowed after unary operator: '-vh'
(466,17): run-time error CSS1039: Token not allowed after unary operator: '-kendo-color-primary'
(483,17): run-time error CSS1039: Token not allowed after unary operator: '-kendo-color-primary'
 */
html {
    font-size: calc(1em + 1vw + 0.25vh);
    font-family: Tahoma, Geneva, sans-serif;
}

body {
    margin: 0;
    overflow: hidden;
}

button {
    font-size: inherit;
    font-family: inherit;
}

input {
    font-size: inherit;
    font-family: inherit;
}

/* Kendo UI overrides */
.k-text-error {
    font-size: inherit;
    font-style: inherit;
}

.k-svg-icon {
    height: calc(1em + 1vw + 0.25vh);
    width: calc(1em + 1vw + 0.25vh);
}

/* ASEBA First-Level Layout Styles */
#loadingView {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}

#applicationEnvelope {
    height: 100vh; /* For browsers that don't support below */
    height: calc(var(--vh, 1vh) * 100);
    display: grid;
    grid-template-areas: "header" "content" "footer";
    grid-template-rows: auto 1fr 1rem;
    grid-template-columns: 1fr;
    padding-inline: 0.1rem;
    overflow: hidden;
}

#header {
    grid-area: header;
    min-height: 0;
    min-width: 0;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: normal;
    padding-block: 0.1rem;
}

#contentOuter {
    grid-area: content;
    min-height: 0;
    min-width: 0;
    padding-block: 0.1rem;
    display: flex;
}

#contentInner {
    max-width: 100%;
    flex: 1 1 auto;
    overflow-y: auto;
}

#scroll {
    flex: 1 0 auto;
    max-width: 2.5rem;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
}

#scrollUpContainer {
    font-size: 2rem;
}

#scrollDownContainer {
    font-size: 2rem;
}

#footer {
    grid-area: footer;
    padding: 0.1rem 0.4rem;
    font-size: 0.5rem;
    font-variant-caps: all-small-caps;
}

#languageSelectorForm > .k-dropdown {
    min-width: 20em;
}

#logo {
    height: 1.8rem;
    background-image: url('images/aseba-dark-blue-64.ico');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

#assessmentItemViewContainer {
    display: flex;
    flex-direction: column;
}

#assessmentItemView {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

    #assessmentItemView #questionViewContainer {
        flex: 1 1 auto;
        border-width: 0.1rem;
        border-style: solid;
        padding: 1rem;
        margin: 1.5rem 1rem;
        display: flex;
        justify-content: center; /* For horizontal alignment */
        align-items: center; /* For vertical alignment */
        flex-direction: column;
    }

        #assessmentItemView #questionViewContainer #questionView {
            width: 100%;
            flex: 1 1 auto;
        }

        #assessmentItemView #questionViewContainer #commentView {
            width: 100%;
            flex: 0 0 auto;
        }

#assessmentItemViewControls {
    flex: 0 0 auto;
    overflow: hidden;
    display: grid;
    grid-template-areas: "leftContainer centerContainer rightContainer";
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr;
    grid-gap: 0.1rem;
}
    #assessmentItemViewControls #leftContainer {
        grid-area: leftContainer;
        min-width: 2rem;
    }
    #assessmentItemViewControls #centerContainer {
        grid-area: centerContainer;
    }
    #assessmentItemViewControls #rightContainer {
        grid-area: rightContainer;
        min-width: 2rem;
    }

#progressBars {
    width: 100%;
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    grid-template-rows: 1fr 1fr;
    grid-gap: 0.1rem;        
}

#questionProgressBar {
    width: 100%;
}

/* Kendo UI Style Overrides */

.k-button:hover {
    text-shadow: 1px 0 0;
}

.k-calendar {
    font-size: 0.75rem;
}

.k-checkbox {
    width: 1rem;
    height: 1rem;
}

.k-checkbox:checked::before {
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
    line-height: 1rem;
}

.k-radio {
    width: 1rem;
    height: 1rem;
}

.k-radio:checked::before {
    width: 0.66rem;
    height: 0.66rem;
}

.k-window-titlebar .k-window-title {
    font-size: 1rem;
}

.k-window-titlebar .k-window-action {
    padding: 0.1rem;
    width: 1rem;
    height: 1rem;
}
    
.k-window-titlebar .k-i-close {
    font-size: 1rem;
}

/* ASEBA Styles */

html .a-background-color-inherit {
    background-color: inherit;
}

.a-border-box {
    max-width: 27.5rem;
    border-width: 0.1rem;
    border-style: solid;
    padding: 0.5rem;
}

.a-border-top {
    border-top-width: 0.1rem;
    border-top-style: dashed;
}

.a-border-bottom {
    border-bottom-width: 0.1rem;
    border-bottom-style: dashed;
}

.a-checkbox-label {
    line-height: normal;
    vertical-align: baseline;
}

.a-checkbox-label-small {
    line-height: normal;
    vertical-align: baseline;
}

.a-checkbox-section {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    list-style-type: none;
}

.a-checkbox-section-small {
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
    list-style-type: none;
}

.a-checkbox-small {
    width: 0.75rem;
    height: 0.75rem;
}

.a-checkbox-small:checked::before {
    width: 0.5rem;
    height: 0.5rem;
    font-size: 0.5rem;
    line-height: 0.5rem;
}

.a-disable-hyperlink-style {
    color: inherit;
    text-decoration: inherit;
}

.a-display-flex {
    display: flex;
    justify-content: center; /* For horizontal alignment */
    align-items: center; /* For vertical alignment */
    gap: 0.25rem;
}

.a-display-flex-flex-end {
    display: flex;
    align-items: flex-end;
}

.a-display-flex-no-alignment {
    display: flex;
}

.a-flex-column {
    flex: 1 1 auto;
}

.a-flex-column-no-grow {
    flex: 0 0 auto;
}

.a-flex-direction-column {
    flex-direction: column;
}

.a-font-size-0p5rem {
    font-size: 0.5rem;
}

.a-font-size-0p75rem {
    font-size: 0.75rem;
}

.a-font-size-1rem {
    font-size: 1rem;
}

.a-font-size-1p5rem {
    font-size: 1.5rem;
}

.a-grid {
    display: grid;
    grid-gap: 0.25rem;
    align-items: center;
}

.a-grid-two-columns-auto {
    grid-template-columns: auto 1fr;
}

.a-grid-two-columns-even {
    grid-template-columns: 1fr 1fr;
}

.a-height-0p5rem {
    height: 0.5rem;
}

.a-height-95-pct {
    height: 95%;
    width: 100%;
}

.a-height-100-pct {
    height: 100%;
}

.a-hide {
    display: none;
}

.a-list-style-none {
    list-style: none;
}

.a-max-height-4rem {
    max-height: 4rem;
}

.a-min-width-1p75rem {
    min-width: 1.75rem;
}

.a-min-width-2p5rem {
    min-width: 2.5rem;
}

.a-padding-0 {
    padding: 0;
}

.a-padding-0p1rem {
    padding: 0.1rem;
}

.a-padding-0p25rem {
    padding: 0.25rem;
}

.a-padding-block-0p1rem {
    padding: 0.1rem 0;
}

.a-padding-bottom-0p25rem {
    padding-bottom: 0.25rem;
}

.a-padding-bottom-0p5rem {
    padding-bottom: 0.5rem;
}

.a-padding-inline-0p1rem {
    padding-inline: 0.1rem;
}

.a-padding-left-0p25rem {
    padding-left: 0.25rem;
}

.a-padding-left-0p5rem {
    padding-left: 0.5rem;
}

.a-padding-left-1rem {
    padding-left: 1rem;
}

.a-padding-right-1rem {
    padding-right: 1rem;
}

.a-question-column-display-text {
    text-shadow: 1px 0 0;
    padding-bottom: 0.1rem;
}

.a-question-column-input {
    display: flex;
    justify-content: center; /* For horizontal alignment */
    align-items: center; /* For vertical alignment */
    flex-direction: row;
}

.a-radio-buttons {
    padding-inline-start: 0;
    list-style-type: none;
}

.a-radio-buttons li {
    padding-bottom: 0.1rem;
}

.a-radio-buttons-small {
    column-count: 4;
    padding-inline-start: 0;
    list-style-type: none;
}

.a-radio-buttons-small li {
    padding-bottom: 0.1rem;
}

.a-radio-label {
    line-height: 1rem;
    padding-left: 1.2rem;
}

.a-required-indicator {
    /* CSS class set by script */
}

.a-selectedRadioButton {
    color: var(--kendo-color-primary, #999999);
    text-shadow: 1px 0 0;
}

.a-text-align-left {
    text-align: left;
}

.a-text-align-right {
    text-align: right;
}

.a-text-centered {
    text-align: center;
}

.a-text-primary {
    color: var(--kendo-color-primary, #999999);
}

.a-text-strong {
    text-shadow: 1px 0 0;
}

.a-textarea {
    width: inherit;
    resize: none;
}

    textarea.a-textarea {
        height: inherit;
    }

.a-textarea-comments {
    height: 5rem;
    width: 25rem;
    resize: none;
    overflow-y:auto;
}

.a-vertical-align-middle {
    vertical-align: middle;
}

.a-width-100-pct {
    width: 100%;
}
