.multimodal-wrapper {
    align-items: center;
    background-color: rgba(100, 100, 100, 0.5);
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
    width: 100%;
    z-index: 1000;
}

.multimodal-wrapper.visible {
    opacity: 1;
    visibility: visible;
}

.multimodal-window {
    transform: scale(0);
}

.multimodal-wrapper.visible .multimodal-window {
    transform: scale(1);
}

.multimodal-content,
.multimodal-content-wait {
    background-color: white;
    padding: 20px;
}

.multimodal-content-wait {
    padding: 35px;
}

.multimodal-close-icon {
    background: url('../images/x.png') no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
}

.multimodal-wait {
    padding-top: 10px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    line-height:1.4;
}

table.multimodal-content-table tbody tr {
    background-color: white;
}

table.multimodal-content-table td {
    padding: 0;
}

table.multimodal-content-table td.multimodal-icon-cell {
    width: 45px;
    vertical-align: top;
}

table.multimodal-content-table td.multimodal-icon-cell img {
    max-width: 28px;
}

table.multimodal-content-table td.multimodal-title-cell {
    height: 35px;
    color: #008085;
    min-width: 100px;
    max-width: 360px;
    line-height: 1.25;
    font-size: 28px;
    font-family: uni_neuebook,'Source Sans Pro','Helvetica Neue',sans-serif;
    vertical-align: top;
}

table.multimodal-content-table td.multimodal-msg-cell {
    color: #555;
    max-width: 360px;
    line-height: 1.4;
    white-space: normal;
    padding: 15px 30px;
    vertical-align: top;
}

table.multimodal-content-table td.multimodal-err-cell {
    min-width: 100px;
}

table.multimodal-content-table td.multimodal-info-cell,
table.multimodal-content-table td.multimodal-confirm-cell {
    padding: 0 30px 0 0;
    min-width: 200px;
}

table.multimodal-content-table td.multimodal-buttons-cell {
    padding-top: 25px;
    text-align: right;
}

/* Invoice modal styles */

#invoice_modal .multimodal-window {
    width: 710px;
    height: 600px;
    padding: 20px;
    background-color: white;
}

#invoice_modal pre {
    overflow-x: hidden;
    white-space: pre-wrap;                  /*  css-3                    */
    white-space: -moz-pre-wrap !important;  /*  Mozilla, since 1999      */
    white-space: -pre-wrap;                 /*  Opera 4-6                */
    white-space: -o-pre-wrap;               /*  Opera 7                  */
    word-wrap: break-word;                  /*  Internet Explorer 5.5+   */
    padding-top: 20px;
    font-size: 12px;
    font-family: Courier New;
    max-height: 430px;
}

.invoice-close-icon {
    cursor: pointer;
}

table.invoice-modal th,
table.invoice-modal td {
    font-size:12px
}

table.invoice-modal th {
    width: 15%;
}

table.invoice-modal td {
    border: 1px solid #63696b;
    padding-left: 10px;
}

table.invoice-modal tr th {
    background-color: #626D79;
    border: 1px solid #63696b;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 5px;
}
