﻿.LoginExpiredModalDialog {
    display: none;
}

.modalFlexContainer {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1004;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modalFlexContainer--ie11 {
    justify-content: space-around;
}

.modalFlexContainer--template {
    position: static;
}

.modalFlexContainer--template .MatModalContainer {
    width: 90vw;
    max-height: 80vh;
}

@media only screen and (min-width: 768px) {
    .modalFlexContainer--template .MatModalContainer {
        width: 70vw;
    }
}

@media only screen and (min-width: 1024px) {
    .modalFlexContainer--template .MatModalContainer {
        width: 50vw;
    }
}

.MatModalContainer {
    padding: 0px;
    width: 700px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1003;
    /* Overrides */
}

@media only screen and (min-width: 1024px) {
    .MatModalContainer {
        width: 50%;
    }
}

@media only screen and (min-width: 768px) {
    .MatModalContainer {
        width: 70%;
    }
}

@media (max-width: 500px) {
    .MatModalContainer {
      width: 100vh;
      max-width: 100%;
      height: 100vh;
      max-height: 100%;
      margin: 0;
      border-radius: 0;
    }
  }
  
  @media (max-width: 500px) {
    .MatModalContainer--dialog {
      height: auto;
    }
  }

.MatModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000512;
    opacity: 0.5;
    z-index: 1002;
}

.mat-card {
    font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
}

.mat-card.tl-mat-card {
    padding: 16px 24px;
    background-color: white;
}

.multiple-cards,
.mat-card.tl-mat-card {
    position: relative;
    margin: 0 0 24px 0;
    border-radius: 4px;
    background: #ffffff;
}

.multiple-cards:not([class*=mat-elevation-z]),
.mat-card.tl-mat-card:not([class*=mat-elevation-z]) {
    box-shadow: 0 3px 8px 0 rgba(31, 27, 82, 0.05);
}

.mat-focus-indicator {
    position: relative;
}

.mat-card-content> :last-child:not(.mat-card-footer),
.mat-card.tl-mat-card> :last-child:not(.mat-card-footer) {
    margin-bottom: 0;
}

.MatModalGuts {
    display: flex;
    flex-direction: column;
}

.MatModalGuts-ButtonGroup {
    align-self: flex-end;
    margin: 0 24px 16px 0;
}

.MatModal-Content {
    padding: 0 24px;
    border-bottom: 0;
}

.mat-card.tl-mat-card .mat-card-content {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.mat-card-subtitle,
.mat-card-content {
    font-size: 14px;
}

.MatModal-Header {
    padding: 16px 24px 4px 24px;
    border-bottom: 1px solid #F5F5F5;
}

.mat-card.tl-mat-card .mat-card-header {
    position: relative;
    z-index: 1;
}

.mat-card.tl-mat-card .mat-card-header.MatModal-Header {
    z-index: 2;
}


.mat-card.tl-mat-card .mat-card-header .mat-card-header-text {
    margin: 0;
    width: 100%;
}

.mat-card-header .mat-card-title {
    font-size: 20px;
}

.mat-card.tl-mat-card .mat-card-title {
    font-size: 16px !important;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 12px;
    color: #333E5B;
}


.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.d-flex {
    display: flex !important;
}

.mat-card-title {
    font-size: 24px;
    font-weight: 500;
}

.mat-card-title {
    font-size: 24px;
    font-weight: 500;
}

button.tl-mat-button {
    font-weight: 600;
    line-height: 1;
    letter-spacing: initial;
    display: inline-flex;
    padding: 0 16px;
    cursor: pointer;
    vertical-align: middle;
    border: 0;
    border-radius: 2px;
    box-shadow: none;
    text-shadow: none;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
}


.mat-ripple {
    overflow: hidden;
    position: relative;
}

button.tl-mat-button.tl-mat-button--primary {
    color: #ffffff;
    background: #0344FB;
}

button.tl-mat-button.tl-mat-button--middle {
    height: 48px;
    font-size: 14px;
    padding: 0 24px;
}

button.tl-mat-button .mat-button-wrapper {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button.tl-mat-button .mat-button-ripple,
button.tl-mat-button .mat-button-focus-overlay {
    display: none;
}

.mat-button,
.mat-raised-button,
.mat-icon-button,
.mat-stroked-button,
.mat-flat-button,
.mat-fab,
.mat-mini-fab {
    font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.Layout__MainContainer.Layout__PaymentPortal input[type='submit'],
input[type='button'],
button {
    background-color: #0074c7;
    border: 0px;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    max-width: 100%;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: -0.18px;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
}