#txWidgetContainer {
    overflow: hidden!important;
}

#txWidgetContainer * {
    /* font-family: Roboto,sans-serif; */
    z-index: 1050;
}

button:not(:disabled):hover {
    cursor: pointer;
}

.txBtn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    margin: .5rem;
    border-radius: 2px;
    border: 0;
    font-size: .81rem;
    padding: 1rem 2rem;
    transition: .2s ease-out;
    white-space: normal!important;
    word-wrap: break-word;
    line-height: 1.5;
    outline: none;
    text-transform: uppercase;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.txBtn:not(:active):hover {
    box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
    outline: 0;
}

.txDisplayText {
    font-size: 1rem;
    font-weight: 400;
    margin-top: .5rem;
    margin-bottom: .5rem;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: pre-wrap;
}

.txBackColor {
    background-color: #003781; 
    color: white;
}

.txDangerColor {
    background-color: #ff3547; 
    color: white;
}

.tx-card {
    background-clip:border-box;
    background-color:rgb(255, 255, 255);
    border-bottom-color:rgb(33, 37, 41);
    border-bottom-left-radius:4.8px;
    border-bottom-right-radius:4.8px;
    border-bottom-style:none;
    border-bottom-width:0px;
    border-image-outset:0px;
    border-image-repeat:stretch;
    border-image-slice:100%;
    border-image-source:none;
    border-image-width:1;
    border-left-color:rgb(33, 37, 41);
    border-left-style:none;
    border-left-width:0px;
    border-right-color:rgb(33, 37, 41);
    border-right-style:none;
    border-right-width:0px;
    border-top-color:rgb(33, 37, 41);
    border-top-left-radius:4.8px;
    border-top-right-radius:4.8px;
    border-top-style:none;
    border-top-width:0px;
    box-shadow:rgba(0, 0, 0, 0.16) 0px 2px 5px 0px, rgba(0, 0, 0, 0.12) 0px 2px 10px 0px;
    box-sizing:border-box;
    color:rgb(33, 37, 41);
    display:flex;
    flex-direction:column;
    font-family:Roboto, sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:24px;
    min-width:0px;
    overflow-wrap:break-word;
    text-align:left;
    text-size-adjust:100%;
    -webkit-box-direction:normal;
    -webkit-box-orient:vertical;
    -webkit-tap-highlight-color:rgba(0, 0, 0, 0);
    margin: .5rem;
}

.tx-card-header {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0,0,0,.125);
    display: flex;
    justify-content: space-between;
    
}

.tx-card-header .txTitlebar {
    padding: .75rem;
    display: flex;
    align-items: center;
    flex: 1;
}

.tx-card-header .txTitlebar .txTitleText{
    flex-grow: 1;
    margin: 0 0 0 0.75rem;
}

.tx-card-header .txTitlebar .txTitleLogo{
    height: 30px;
}

.tx-card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
    text-align: justify;
}

.tx-card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.txWidgetBtnContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

.txWidgetBtnContainer:not(.show) {
    right: -500px;
}

.txWidgetButton {
    display: inline-block;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    padding: 1rem;
    outline: 0px;
    margin-left: 0.75rem;
}

.txWidgetButton img {
    height: 35px;
    width: 35px;
}

.txWidgetButton:not(:disabled):hover {
    opacity: 0.5;
}

.txMainChatBtn {
    border: 1px solid #003781;
    background-color: #fff;
}

.txMainCallBtn {
    border: 1px solid #ff3547;
    background-color: #fff;
}

.txCloseButton {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    opacity: .5;
    background-color: transparent;
    -webkit-appearance: none;
    color: white;
    padding: .75rem 1.25rem;
    outline: 0px;
}

.txCloseButton.minimize:not(:disabled):hover {
    background-color: inherit;
    opacity: 1;
}

.txCloseButton:not(:disabled):hover {
    background-color: red;
    opacity: 1;
}

.tx-custom {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    transform: translateX(500%) translateY(50%);
    position: fixed;
    max-height: 90vh;
    bottom: 50%;
}
  
.tx-custom.show.max {
    /* bottom: 50%;
    right: 50%; */
    transform: translateX(0%) translateY(50%);
}

.tx-custom.show.min {
    width: auto;
    bottom: 10px;
    right: 10px;
    transform: translateX(0%) translateY(0%);
}

.tx-custom.min .tx-card-body{
    display: none;
}

.tx-custom.show.max img.minimize{
    display: block;
}

.tx-custom.show.min img.minimize{
    display: none;
}

.tx-custom.show.max img.maximize{
    display: none;
}

.tx-custom.show.min img.maximize{
    display: block;
}

.tx-custom.show.max .tx-card-body{
    display: block;
}

.tx-custom.show.max .txTitleText.txDisplayText.maximized{
    display: block;
}

.tx-custom.show.max .txTitleText.txDisplayText.minimized{
    display: none;
}

.tx-custom.show.min .txTitleText.txDisplayText.maximized{
    display: none;
}

.tx-custom.show.min .txTitleText.txDisplayText.minimized{
    display: block;
}

.tx-text-center {
    text-align: center;
}

.tx-flex {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.txAroundedFlex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.tx-browserIcon {
    height: 50px;
    width: 50px;
    padding: .5rem;
}

.txTextCenter {
    text-align: center;
}

.txChatMessageContainer {
    min-height: 50vh;
    max-height: 50vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    text-transform: none!important;
    margin-bottom: 1px;
}

.txChatOthers {
    display: flex;
    justify-content: space-between;
}

.txSystemMessage {
    padding: 10px;
    align-self: center;
    background-color: gray;
    margin: 3px;
    border-radius: 5px;
}

.txAgentMessage {
    padding: 10px;
    align-self: flex-start;
    background-color: lightgray;
    margin: 3px;
    border-radius: 5px;
}

.txUserMessage {
    padding: 10px;
    align-self: flex-end;
    background-color: lightgoldenrodyellow;
    margin: 3px;
    border-radius: 5px;
}

.txChatInputContainer {
    display: flex;
}

.txChatSendBtn {
    margin: 0;
    margin-left: .25rem;
}

.txChatSendBtn:hover {
    box-shadow: none;
    background-color: rgba(0,55,129,.8);
}

.txChatMessageInput {
    width: 100%;
    padding: .25rem;
}

.hoverableRating {
    font-size: 3rem;
    color: lightgray;
    margin-bottom: 1rem;
}

.hoverableRating:hover {
    cursor: pointer;
}

*, ::after, ::before {
    box-sizing: border-box;
}

.txFormControl {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.txFormGroup {
    margin-bottom: 1rem;
}

.txFormGroup label {
    display: inline-block;
    margin-bottom: .5rem;
}

.txFormGroup input {
    overflow: visible;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.txFormCheck {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.txFormCheckInline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: .75rem;
}

.txFormCheckInline .txFormCheckInput {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    position: static;
    margin-top: 0;
    margin-right: .3125rem;
    margin-left: 0;
    
}

.txFormCheckInline .txFormCheckLabel {
    margin-bottom: 0;
    display: inline-block;
}

.txTextarea {
    resize: vertical;
  }

.txTableFlexContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.txTable {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

table.txTable td, table.txTable th {
    padding-top: 1.1rem;
    padding-bottom: 1rem;
}

.txTable td {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.txTable th {
    padding: .75rem;
    vertical-align: top;
    text-align: center;
}

table.txTable td {
    font-size: .9rem;
    font-weight: 300;
}

.txDownloadBtn {
    width: 100%;
}

.txCallButtonIcon {
    height: 20px;
    margin-right: 0.5rem;
}

.txInnerCardModal {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #808080ad;
    height: 100%;
    width: 100%;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.txInnerCardModal .tx-modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}

.txInnerCardModal .tx-modal-header {
    -webkit-border-top-left-radius: .125rem;
    border-top-left-radius: .125rem;
    -webkit-border-top-right-radius: .125rem;
    border-top-right-radius: .125rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.txInnerCardModal .tx-modal-header .tx-modal-title {
    margin: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 400;
}


.txInnerCardModal .tx-modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.txInnerCardModal .tx-modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: .3rem;
    border-bottom-left-radius: .3rem;
}

.minimizedBlink {
    -webkit-animation: minimizedBlink 1s infinite;  /* Safari 4+ */
    -moz-animation: minimizedBlink 1s infinite;  /* Fx 5+ */
    -o-animation: minimizedBlink 1s infinite;  /* Opera 12+ */
    animation: minimizedBlink 1s infinite;  /* IE 10+, Fx 29+ */
}

.paused{
    -webkit-animation-play-state:paused;
    -moz-animation-play-state:paused;
    -o-animation-play-state:paused; 
    animation-play-state:paused;
}

@keyframes minimizedBlink {
    0%, 49% {
      background-color: #003781;
    }
    50%, 100% {
      background-color: orange;
    }
  }

@-webkit-keyframes minimizedBlink {
    0%, 49% {
      background-color: #003781;
    }
    50%, 100% {
      background-color: orange;
    }
  }

@media only screen and (min-width: 480px){
/* CSS overrides */
    .tx-custom {
        width: 470px;
    }

    .tx-custom.show.max {
        bottom: 50%;
        right: 50%;
        transform: translateX(50%) translateY(50%);
    }

    .txWidgetBtnContainer {
        position: fixed;
        right: 50px;
        bottom: 50px;
    }

    .txWidgetButton img {
        height: 45px;
        width: 45px;
    }
}

