.ImageControl, .ImageControl * {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    display: block;
    line-height: 1.5rem;
    text-align: center;
}

.ImageControl img {
    /* Centering: This will cater for centering when 'max-height' is provided by as a ControlInput property. */
    margin: auto;
}

.ImageControl .hidden {
    display: none !important;
}

.ImageControl .button-container {
    padding: 0.4em;
}

.ImageControl button {
    margin: 0 auto;
    padding: 5px 10px;
    border-radius: 2px;
    background-color: white;
    color: black;
    border: 2px solid #555555;
    width: auto;

    /* Animation (:hover) */
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
}

.ImageControl button:hover {
    background-color: #555555;
    color: white;
}

.ImageControl .image-border {
    border: 1px solid black;
}

.ImageControl .label {
    padding: 15px;
    border: 1px solid #555555;
}

.ImageControl.processing {
    padding: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}
