.modal {
    background-color: rgba(41,47,102,0.6);
    width: 100vw;
    /* height: 100vh; */
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}
.modal button {
    cursor: pointer;
}

.modalSolid {
    width: calc(100% + 1px);
    border-radius: 0;
    padding: 0;
    opacity: 1;
    margin-top: 0;
    flex-direction: column;
    /*min-height: calc(100vh - 8rem);*/
    /*top: 8rem;*/
    left: 0;
    background-color: #25495e;
    /*z-index: 1;*/
}

.modalInner {
    width: 100%;
    max-width: 45rem;
    background: #fff;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(100% - 1rem);
}
.modalInner.modalLarge {
    max-width: 50rem;
}
.modalInner.modalExtraLarge {
    max-width: 58rem;
}
.modalInner.modalSmall {
    max-width: 30rem;
}
.modalInner.modalAuto {
    width: auto;
}

.modalInner > form {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1 1 auto;
}

.modalFullHeight {
    max-height: calc(100% - 1rem);
    display: flex;
}

.modalFullHeightIE {
    height: calc(100% - 1rem);
    display: flex;
}

.modalHeader {
    border-bottom: 1px solid rgba(122,125,153,0.4);
}
.modalHeader > div {
    max-width: calc(100% - 4rem);
}

.modalHeader button {
    height: 4rem;
    width: 4.0625rem;
    font-size: 2rem;
    font-weight: 600;
    color: #B31B20;
    background: none;
    border: none;
    text-align: center;
    padding: 0 1.25rem;
}
.modalSolid .modalClose {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background: none;
    transition: all 0.4s;
    min-height: 4rem;
    /*color: #777785;*/
    height: 1.5rem;
    width: 4.5rem;
    vertical-align: bottom;
    padding-bottom: 1px;
    box-sizing: border-box;
    right: 0;
    /*top: 1rem;*/
    top: 0;
}
.modalSolid .modalClose:disabled,
.modalSolid .modalClose.open:disabled {
    color: #fff;
    background-color: #707070;
    border-color: #707070;
}
.modalSolid .modalClose:not(.open):hover {
    background-color: #e6e6e6;
}
.modalSolid .modalClose.open {
    height: 1.5rem;
    width: 4.5rem;
    vertical-align: bottom;
    padding-bottom: 1px;
    box-sizing: border-box;
    background-color: #2B2E4F;
    border-color: #8d91b0;
}
.modalSolid .modalClose.open:before,
.modalSolid .modalClose.open:after {
    content: ' ';
    position: absolute;
    left: calc(50% - 0.75rem);
    width: 1.5rem;
    top: 1.875rem;
    height: 0;
    border-top: 2px solid white;
}
.modalSolid .modalClose.open:before {
    transform: rotate(45deg);
}
.modalSolid .modalClose.open:after {
    transform: rotate(135deg);
}

.modalHeader {
    display: flex;
}
.modalHeader .modalNoButtons {
    max-width: 100%;
    padding-right: 1rem;
}

.modalHeader .modalNoButtons h3
{
    height: 4rem;
    line-height: 4rem;
}
.modalHeader h2 {
    font-size: 1.6875rem;
    padding: 0.8125rem 1.5rem;
    color: #1C1D33;
    margin: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: calc(100% - 4.0625rem);
    box-sizing: border-box;
    overflow: hidden;
    border-right: 1px solid rgba(122,125,153,0.4);
}

.modalContent {
    padding: 1rem;
    overflow: auto;
}

.modalFullHeight .modalContent, .modalFullHeightIE .modalContent{
    flex: 1 1 auto;
    overflow: auto;
    padding: 1rem 1.25rem;
}

.modalFullHeight .modalContent .line + .bootstrap-iso .alert{
    margin-top: 20px;
}

.modalFooter {
    display: flex;
    border-top: 1px solid rgba(122,125,153,0.4);
    padding: 1rem 1.5rem;
}

/* ----------------- Timeout Session Modal -----------------*/
/* -- Value of rem differs based on launch page template. --*/
/* ---For consistency, we must use px values only below. ---*/
/* -------------------------------------------------------- */
.modal.sessionModal {
    z-index: 100000001;
    max-height: 100vh;
    box-sizing: border-box;
}

.sessionModal .modal-header {
    min-height: 61px;
}
.sessionModal .modal-content {
    max-width: 648px;
}
.sessionModal .modal-innerContent {
    padding-top: 32px;
    padding-bottom: 42px;
    font-size: 19px;
    color: #494A5C;
    line-height: 25px;
}
.sessionModal .modal-innerContent >:first-child {
    padding-top: 0;
}
.sessionModal .modal-innerContent >:last-child {
    padding-bottom: 0;
}

.modal-velocity {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-velocity .modal-close {
    display: flex;
    background: none;
    border: none;
    border-left: 1px solid #eee;
    padding: 16px 13px;
    top: 0;
    right: 0;
    cursor: pointer;
}
.modal-velocity .modal-close svg {
    width: 29px;
    height: 29px;
}
.modal-velocity .modal-close svg path {
    fill: #B31B20;
}

.modal-content {
    width: calc(100% - 16px);
    max-width: 924px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-clip: padding-box;
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    border-radius: 6px;
    outline: 0;
}

.modal-innerContent {
    display: flex;
    padding: 24px 24px;
    flex-direction: column;
    margin: auto;
    max-width: 648px;
}

.modal-header {
    padding: 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 23px;
}
.modal-header h3 {
    margin: 0;
    padding: 12px 24px;
    font-weight: normal;
    line-height: 38px;
    font-size: 27px;
    color: #1C1D33;
    flex: 1;
}

.modal-actions {
    border-top: 1px solid #eee;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
}
.modal-actions button, .modal-actions a {
    margin-right: 8px;
}

.sessionModal .modal-actions button {
    font-size: 16px;
    line-height: 23px;
}

.noScroll {
    overflow: hidden;
}
