#feedbackContainer,
#questionContainer {
    width: 30%;
    display: none;
    flex-flow: column nowrap;
    background-color: var(--feedbackContainerBackgroundColor);
    border-radius: var(--feedbackContainerBorderRadius);
    border: var(--feedbackContainerBorder);
    position: fixed;
    top: 40%;
    left: 35%;
    min-height: 10em;
    min-width: 12em;
    z-index: 101;

    overflow: hidden;
}

#questionContainer {
    z-index: 100;
}

.messageHeadline {
    background-color: var(--messageHeadlineBackgroundColor);
    flex: 1;
    align-self: stretch;
    height: 30px;
    padding: 5px;
    overflow: hidden;
    min-height: 2.5em;
    max-height: 2.5em;
    display: flex;
    align-items: center;
}

.messageHeadline.error {
    background-color: var(--messageErrorHeadlineBackgroundColor);
    text-align: center;
    letter-spacing: var(--messageWarningAndErrorHeadlineLetterSpacing);
    text-transform: var(--messageWarningAndErrorHeadlineTextTransform);
}

.messageHeadline.warning {
    background-color: var(--messageWarningHeadlineBackgroundColor);
    text-align: center;
    letter-spacing: var(--messageWarningAndErrorHeadlineLetterSpacing);
    text-transform: var(--messageWarningAndErrorHeadlineTextTransform);
}

.messageHeadline.info {
    background-color: var(--messageInfoHeadlineBackgroundColor);
    text-align: center;
}

.messageHeadline.question {
    background-color: var(--messageInfoHeadlineBackgroundColor);
}

.messageHeadline label {
    color: var(--headlineColor);
    font-size: 125%;
    font-weight: bold;
    width: 100%;
}

.messageBody {
    flex: 10;
    align-self: center;
    text-align: center;
    color:var(--feedbackContainerColor);
    padding: 1em;
    width: 100%;
    min-height: 1em;
    max-height: 50%;
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: var(--messageBodyFontWeight,normal);
}

.messageBody.expand {
    max-height: 100%;
}

.popupContent {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

@media screen and (max-width: 1000px) {
    #feedbackContainer,
    #questionContainer {
        width: 80%;
        height: 50%;
        top: 30%;
        left: 10%;
    }
}

.waitImg {
    border: var(--waitImageBorder);
    border-top-color: var(--waitImageBorderTopColor);
    border-radius: 50%;
    width: 3em;
    height: 3em;

    animation: animationFrames linear 2s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames linear 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: animationFrames linear 2s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 50% 50%;
    -o-animation: animationFrames linear 2s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 50% 50%;
    -ms-animation: animationFrames linear 2s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 50% 50%;
}

.feedbackLink {
    color:gray;
}

.feedbackLink:hover {
    color:lightgray;
    text-decoration: underline;
}

.feedbackBtn {
    min-width: 5em;
}

@-webkit-keyframes animationFrames {
    0% {
      -webkit-transform:  rotate(0deg);
    }
    100% {
      -webkit-transform:  rotate(360deg);
    }
  }
  
  @-o-keyframes animationFrames {
    0% {
      -o-transform:  rotate(0deg);
    }
    100% {
      -o-transform:  rotate(360deg);
    }
  }
  
  @-ms-keyframes animationFrames {
    0% {
      -ms-transform:  rotate(0deg);
    }
    100% {
      -ms-transform:  rotate(360deg);
    }
  }
  
  @-moz-keyframes animationFrames {
    0% {
      -ms-transform:  rotate(0deg);
    }
    100% {
      -ms-transform:  rotate(360deg);
    }
  }
  
  @keyframes animationFrames{
    0% {
      transform:  rotate(0deg);
    }
    100% {
      transform:  rotate(360deg);
    }
}

.messageButton {
    flex: 2;
    align-self: center;
    text-align: center;
    margin-bottom: 8px;
    width: 100%;
}

.messageButton input {
    font-weight: var(--messageButtonFontWeight,normal);
}

.infoMessage {
    color: gray;
    border: 2px solid gray;
    background-color: lightgray;
}

.errorMessage {
    color: red;
    border: 2px solid red;
    background-color: maroon;
}

.outerProgress {
    width: 90%;
    height: 40px;
    margin-top: 1em;
    margin-left: 5%;
    border: 3px solid gray;
    border-radius: 5px;
    display: flex;
}

.innerProgress {
    background-color: var(--progressBarBackgroundColor);
    height: 100%;
}

.progressText {
    position: absolute;
    width: 85%;
    padding-top: 8px;
    font-size: 120%;
    text-shadow: 2px 2px 1px #282828;
}