﻿/*
    MessageBox.css - used in modal message popups containing a text and some buttons.
*/
.messagebox_container, .messagebox_container_question, .messagebox_container_warning {
    height: 100%;
    width: 100%;
    background-color: #e6ebf0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.messagebox_container_question,
.messagebox_container_warning
{
    background-position: top left;
    background-size: 70px;
    background-repeat: no-repeat;
}

.messagebox_container_question {
    background-image: url(Images/questionmark.gif);
}

.messagebox_container_warning {
    background-image: url(Images/exclamation.gif);
}

.messagebox_text {
    flex: 1;
    padding: 20px;
    background-color: #e6ebf0;
    border-color: #e6ebf0;
    white-space: pre-wrap;
}

.messagebox_container_question > .messagebox_text,
.messagebox_container_warning > .messagebox_text
{
    margin-left: 70px;
}

.messagebox_buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
}