/* OVERLAY */
.Overlay {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    text-align: center;
    background-color: rgba(77,77,79, 0.85);
}

.Overlay:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.Overlay.Conversation,
.Overlay.Transparent {
    background: none;
}

/* DIALOG WINDOW */
.Dialog {
    position: relative;
    width: 39%;
    display: inline-block;
    vertical-align: middle;
    /*box-shadow: 0 0 1.8rem 0 rgba(0,0,0,0.35);*/
    border-radius: 1.33rem;
}

.Dialog.Hidden {
    display: none;
}

/* CONTENT */
.Dialog > .Content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
}

/* HEADER */
.Dialog .Header {
    position: relative;
    background-color: #004e9f;
    color: #fff;
    display: table;
    table-layout: fixed;
    width: 100%;
    text-align: center;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
    height: 3.5rem;
    padding: 1rem 1.7rem;
}

.Dialog .Header .Text {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

.Dialog .Header .Title {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.15;
}

/* MIDDLE */
.Dialog .Middle {
    background-color: #fff;
    padding: 1.7rem;
    font-size: 0.75rem;
    line-height: 1.25;
    position: relative;
}

.Dialog .Middle:before,
.Dialog .Middle:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1.7rem;
    left: 0;
}

/*.Dialog .Middle:before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%);
}

.Dialog .Middle:after {
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 100%);
}*/

.Dialog .Middle .Title {
}

.Dialog .Middle .Description {
}

.Dialog .Middle .Description h2{
    text-align: center;
    font-size: 1.1rem;
    color: #000;
}

.Dialog .Middle .Scrollable {
    height: 100%;
    overflow: auto;
}

/* FOOTER */
.Dialog .Footer {
    background-color: #004e9f;
    border-bottom-left-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
    padding: 0.5rem 1.7rem;
    min-height: 1.33rem;
}

.Dialog .Footer .Buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.Dialog:not(.Account):not(.Started) .Footer .Buttons button {
    /*flex: 1 1 auto;*/
    flex: unset;
    margin-right: 0.5rem;
    background-color: #fff;
    color: #004e9f;
    width: auto;
    margin: auto;
}

.Dialog .Footer .Buttons button:last-child {
    margin-right: 0;
}

/* ERROR, ERROR REPORT */
#errorReportForm {
    display: none;
}