.interactive, .interactive * {
    box-sizing: border-box;
}

.interactive {
    position: relative;
    width: 100%;
    /*height: 480px; height: 100%;*/
    font-family: 'Courier New', Courier, monospace;
}

.help-container {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    padding: 10px;
    text-align: center;
}

.next-button-container {
    position: absolute;
    right: 20px;
    bottom: 20px;
    visibility: hidden;
}

.next-button:disabled {
    background-color: lightgray;
}

.next-button {
    padding: 0.25em 1em;
    margin: 0;
    font-size: 1.1em;
    background-color: goldenrod;
    cursor: pointer;
}

.scale-container {
    position: absolute;
    display: inline-block;
    top: 0px;
    left: 50%;
    width: 300px;
    padding: 0;
    /*margin-top: 10px;*/
    margin-left: -150px;
    text-align: center;
}

.scale-wrapper, .scale-input-box, .scale-input-submit-button {
    display: inline-block;
}

.scale-input-box {
    padding: 10px;
    border-radius: 5px;
    background-color: olive;
    color: white;
    opacity: 0.9;
}

.scale-input-box-text {

}

.scale-input-prompt {

}

.scale-input {
    display: inline-block;
    width: 5em;
    padding: 0;
    font-size: 0.8em;
}

.scale-input-submit-button {
    display: inline-block;
    vertical-align: super;
    vertical-align: text-bottom; /* override if this value is available */
    padding: 10px;
    border-radius: 5px;
    outline: none;
    background-color: olive;
    color: white;
    font-size: 0.8em;
    cursor: pointer;
    opacity: 0.9;
}

.scale-input-submit-button:hover {
    opacity: 1;
}

.help-container {
    position: absolute;
    padding: 0px;
    border: 2px solid lightgray;
    background-color: white;
}

.help-wrapper {
    width: 50%;
    max-width: 480px;
    margin: 0 auto;
}

.help-wrapper img {
    width: 100%;
}

.help-handle-wrapper {
    position: absolute;
    left: 50%;
    bottom: -29px;
    margin-left: -72px;
    padding: 0 2px 2px;
    border: 2px solid lightgray; 
    border-top: 2px solid white; 
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: white;
}

.help-handle {
    display: inline-block;
    width: 144px;
    height: 24px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: lightgray;
    color: #444;
    line-height: 24px;
    cursor: pointer;
}

.help-handle:hover {
    background-color: #444;
    color: white;
} 

.help-image-container {

}

.dialog-container {
    z-index: 1000;
}

.dialog-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    width: 400px;
    padding: 10px;
    margin-left: -200px;
    border-radius: 5px;
    text-align: center;
    background-color: darkgray;
    z-index: 1000;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
}

.dialog-inner {
    position: relative;
}

.dialog-message {
    font-weight: bold;
    font-size: 1em;
    text-align: center;
}

.dialog-action {
    padding: 0.5em 1em;
    margin: 0.5em 0;
    font-size: 1em;
    background-color: goldenrod;
    cursor: pointer;
}

@media all and (max-width: 480px) {
    .scale-input-box, .scale-input-submit-button {
        border-radius: 3px;
        font-size: 0.7em;
    }
    .scale-input-submit-button {
    margin-top: 235px;
}

    .scale-input-box {
        padding: 5px;
        margin-top: 0px;
    }

    .dialog-wrapper {
        width: 269px;
        margin-left: -99px;
    }
    .barchart-container .categories .category
    {
        height:30px;
    }

    .dialog-message {
        font-size: 0.8em;
    }

    .next-button {
        padding: 0.25em 0.5em;
        font-size: 1em;
    }

    .scale-container {
        margin-left: -160px;
         width: 108px;
    }

    .help-handle {
        width:115px;
    }

    .help-handle-wrapper {
        left: 85%;
    }


}