﻿/* Variables */
:root {
    --main-bg-color: #767676;
    --main-text-color: white;
    --base-button-bg-color: white;
    --base-button-bg-hover-color: #C8C8C8;
    --base-button-text-color: black;
    --base-button-border-color: lightgrey;
    --base-border-radius: 10px;
    --base-height: 100%;
    --base-width: 100%;
    --min-width: 350px;
    --large-screen-width: 600px;
    --large-screen-margin-offset: 8px;
}

/* General */
html,
body {
    height: 100%;
}

body {
    margin: 0;
}

#webchat-container {
    width: var(--base-width);
    min-width: var(--min-width);
    max-width: var(--large-screen-width);
    height: var(--base-height);
    margin: 0 auto;
    outline: 1px solid var(--base-button-border-color);
    border: 1px solid var(--base-button-border-color);
    border-radius: var(--base-border-radius);
}

/* Top navbar */
#heading {
    min-width: var(--min-width);
    width: var(--base-width);
    height: 65px;
    margin: 0 auto;
    border-radius: var(--base-border-radius) var(--base-border-radius) 0px 0px;
}

#heading {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
}

#navbar-logo > img {
    padding-left: 15px;
}

#logo-image {
    height: 50px;
    width: auto;
}

#bot-name-container {
    padding-left: 45px;
    text-align: left;
}

#bot-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--main-text-color);
}

#bot-description {
    font-size: 11px;
    color: var(--main-text-color);
}

.nav-icon {
    color: black;
    padding-right: 10px;
    cursor: pointer;
    height: 19px;
    margin-bottom: 25px;
}

#navbar-icons {
    text-align: right;
}

/* Help section */
#help-section {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    position: fixed;
    bottom: 0px;
    display: inline-flex;
    height: 95%;
    min-height: 400px;
    min-width: var(--min-width);
    width: var(--base-width);
    z-index: 50;
    visibility: hidden;
    margin: 0 -1px;
    margin-bottom: 5px;
    border-radius: 0 0 var(--base-border-radius) var(--base-border-radius);
}

#back-button {
    width: 125px;
    margin-top: -50px;
    background-color: var(--base-button-bg-color);
    color: var(--main-bg-color);
    border-radius: var(--base-border-radius);
}

#help-contents {
    display: block;
    width: 85%;
    margin: auto;
    margin-top: 12%;
    border-radius: var(--base-border-radius);
}

@media screen and (min-height: 800px) {
    #help-contents {
        display: block;
        width: 85%;
        margin: auto;
        margin-top: 7%;
        border-radius: var(--base-border-radius);
    }
}

#help-footer {
    position: absolute;
    text-align: center;
    height: 50px;
    width: 100%;
    bottom: 25px;
}

/* Webchat */
#webchat {
    height: 100%;
    width: 100%;
}

.webchat__adaptive-card-renderer {
    border-color: none !important;
}

.webchat__bubble {
    max-width: 90% !important;
    margin-top: 15px;
}

.webchat__stacked-layout__attachment-row.webchat__stacked-layout__attachment-row--first {
    margin: 0px 0 0 !important;
}

.webchat__defaultAvatar {
    border-radius: 0 !important;
}

.webchat__send-box__main {
    min-height: 60px !important;
}

div.webchat__bubble--from-user div p {
    color: white !important;
}

.webchat__basic-transcript:focus {
    outline: none !important;
    border: none !important;
}

.webchat__typingIndicator {
    border-radius: 10px !important;
}

/* Teller Adaptive Card Styles */

/* General */
#password input, #socialSecurityNumber input {
    -webkit-text-security: disc;
}

#confirmPassword input {
    -webkit-text-security: disc;
}

#businessTaxId input {
    -webkit-text-security: disc;
}

#businessPassword input {
    -webkit-text-security: disc;
}

#businessConfirmPassword input {
    -webkit-text-security: disc;
}

.ac-pushButton {
    border-radius: 10px;
    font-size: 15px;
    border: none;
}

.ac-input {
    border: none;
    background: none;
    border-bottom: 1px solid rgb(159, 159, 159);
    font-size: 12px;
    transition: border-bottom-color .2s ease;
}

    .ac-input[type="text"]:focus {
        border-bottom-color: blue;
        outline: none;
    }


.ac-pushButton[title="Need to sign up? Click here."] {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

    .ac-pushButton[title="Need to sign up? Click here."]:hover {
        color: rgb(0 79 141) !important;
    }

    .ac-pushButton[title="Need to sign up? Click here."][aria-pressed="true"] {
        color: rgb(0, 99, 177) !important;
    }

/* Balance */

.ac-pushButton[title="View transactions"] {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    color: rgb(0, 99, 177) !important;
}

.ac-pushButton[title="View transactions"]:hover {
    color: rgb(0 79 141) !important;
}

.ac-pushButton[title="View more transactions"] {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    color: rgb(0, 99, 177) !important;
}

.ac-pushButton[title="View more transactions"]:hover {
    color: rgb(0 79 141) !important;
}

.ac-pushButton[title="Text it to me"] {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    color: rgb(0, 99, 177) !important;
}

.ac-pushButton[title="Text it to me"]:hover {
    color: rgb(0 79 141) !important;
}

.ac-pushButton[title="Make a payment"] {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    color: rgb(0, 99, 177) !important;
}

    .ac-pushButton[title="Make a payment"]:hover {
        color: rgb(0 79 141) !important;
    }


#AccountInformation .ac-actionSet {
    flex-direction: row !important;
}

/* Transfer Funds */
#TransferFundsCard {
    border: 1px solid black;
    border-radius: 10px;
}

    #TransferFundsCard select {
        padding: 5px 5px 5px 0 !important;
        outline: none;
        font-size: 15px;
    }

    #TransferFundsCard .ac-pushButton {
        width: 80%;
        margin-bottom: 10px;
    }

    #TransferFundsCard .ac-actionSet {
        margin-top: 15px;
        align-items: center !important;
    }

    #TransferFundsCard .ac-input {
        outline: none;
    }

    #TransferFundsCard #amount .ac-input {
        font-size: 15px;
    }

    #TransferFundsCard #regularTransferToggleAction .ac-pushButton {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        text-decoration: underline;
        cursor: pointer;
        font-size: 12px;
        color: rgb(0, 99, 177) !important;
        width: 100%;
        justify-content: flex-end !important;
    }

    #TransferFundsCard #crossTransferToggleAction .ac-pushButton {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        text-decoration: underline;
        cursor: pointer;
        font-size: 12px;
        color: rgb(0, 99, 177) !important;
        width: 100%;
        justify-content: flex-end !important;
    }
/* Transaction History */
#TransactionHistoryCard .ac-horizontal-separator {
    border-bottom-color: rgb(159, 159, 159) !important;
}

#TransactionHistoryCard #TransactionSearchButtonColumn {
    flex-direction: row-reverse !important;
    align-items: center;
}

#TransactionHistoryCard .ac-pushButton[title="Search"] {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    color: rgb(0, 99, 177) !important;
}

#TransactionHistoryCard .ac-pushButton[title="Search"]:hover {
    color: rgb(0 79 141) !important;
}

/* Transaction History V2*/
#TransactionHistoryCard {
    border: 1px solid black;
    border-radius: 10px;
}

#TransactionHistoryBodyV2 .ac-horizontal-separator {
    border-bottom-color: rgb(159, 159, 159) !important;
}

/* Balance */
#BalanceContainer {
    background: white;
}

#BalanceBody {
    padding: 10px !important;
}

    #BalanceBody .ac-horizontal-separator {
        border-bottom-color: rgb(159, 159, 159) !important;
    }

/* Balance V2*/
#AccountInformation {
    border: 1px solid black;
    border-radius: 10px;
}


    #AccountInformation .ac-container div {
        overflow: visible !important;
    }

    #AccountInformation .ac-horizontal-separator {
        border-bottom-color: rgb(159, 159, 159) !important;
    }


/* Login By Account */
#LoginByAccountCard {
    border: 1px solid black;
    border-radius: 10px;
}

    #LoginByAccountCard select {
        padding: 5px 5px 5px 0 !important;
        outline: none;
    }

    #LoginByAccountCard .ac-pushButton[title="Need to sign up? Click here."] {
        margin-bottom: 10px;
    }

    #LoginByAccountCard .ac-pushButton {
        width: 80%;
    }

    #LoginByAccountCard .ac-actionSet {
        margin-top: 15px;
        align-items: center !important;
    }

/* Login By Member */

#LoginByMemberCard {
    border: 1px solid black;
    border-radius: 10px;
}

#LoginByMemberContainer {
    background: white;
}

#LoginByMemberCard .ac-pushButton[title="Need to sign up? Click here."] {
    margin-bottom: 10px;
}

#LoginByMemberCard .ac-pushButton {
    width: 80%;
}

#LoginByMemberCard .ac-actionSet {
    margin-top: 15px !important;
    align-items: center !important;
}

/* Enrollment By Member */
#EnrollmentByMemberCard {
    border: 1px solid black;
    border-radius: 10px;
}

    #EnrollmentByMemberCard input[type="date"] {
        padding: 5px 5px 5px 0;
    }

    #EnrollmentByMemberCard .ac-pushButton {
        width: 80%;
    }

    #EnrollmentByMemberCard .ac-actionSet {
        margin-top: 15px;
        align-items: center !important;
    }

    #EnrollmentByMemberCard #businessToggleAction .ac-pushButton {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        text-decoration: underline;
        cursor: pointer;
        font-size: 12px;
        color: rgb(0, 99, 177) !important;
        width: 100%;
        justify-content: flex-end !important;
    }

    #EnrollmentByMemberCard #personalToggleAction .ac-pushButton {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        text-decoration: underline;
        cursor: pointer;
        font-size: 12px;
        color: rgb(0, 99, 177) !important;
        width: 100%;
        justify-content: flex-end !important;
    }

/* Enrollment By Account */

#EnrollmentByAccountCard select {
    padding: 5px 5px 5px 0 !important;
    outline: none;
}

#EnrollmentByAccountCard input[type="date"] {
    padding: 5px 5px 5px 0;
    outline: none;
}

#EnrollmentByAccountCard .ac-pushButton {
    width: 80%;
}

#EnrollmentByAccountCard .ac-actionSet {
    margin-top: 15px;
    align-items: center !important;
}

#EnrollmentByAccountCard {
    border: 1px solid black;
    border-radius: 10px;
}

/* Transaction History Search Card */

#TransactionSearchCard input[type="date"] {
    padding: 5px 5px 5px 0;
    outline: none;
}

#TransactionSearchCard #FromDateLabel {
    justify-content: center !important;
}

#TransactionSearchCard input {
    border-bottom-color: black;
}

#TransactionSearchCard #AmountRangeContainer .ac-container {
    justify-content: flex-end !important;
}

#TransactionSearchCard select {
    border-bottom-color: black;
    padding: 5px;
}

    #TransactionSearchCard select:active {
        outline: none !important;
    }

    #TransactionSearchCard select:focus {
        outline: none !important;
    }

#TransactionSearchCard input:active {
    outline: none !important;
}

#TransactionSearchCard input:focus {
    outline: none !important;
}

#TransactionSearchCard #DateRangeContainer {
    margin: 10px 0px !important;
}

#TransactionSearchCard .ac-pushButton {
    width: 80%;
}

#TransactionSearchCard .ac-actionSet {
    margin-top: 15px !important;
    align-items: center !important;
}

/* FAQ Adaptive Card Styling */

#Answer_Card .ac-textBlock {
    font-size: 1rem !important;
}

#Answer_Card .ac-pushButton {
    border-color: var(--base-button-border-color) !important;
    border-radius: 12px !important;
    background-color: var(--base-button-bg-color) !important;
    color: var(--base-button-text-color) !important;
    font-weight: normal !important;
}

#Answer_Card .ac-pushButton:hover {
    background-color: var(--base-button-bg-hover-color) !important;
}

#Answer_Card .ac-pushButton.style-positive:hover {
    background-color: var(--base-button-bg-hover-color) !important;
}

#Answer_Card .ac-pushButton > img {
    position: absolute !important;
    margin-left: 75% !important;
}

#Answer_Card .ac-pushButton.style-positive {
    border: 1px solid var(--base-button-border-color) !important;
    background-color: var(--base-button-bg-color) !important;
}

#Answer_Card .ac-container {
    margin-left: -15px !important;
}

#Answer_Card.ac-adaptiveCard {
    background-color: var(--base-button-bg-color) !important;
}

#Answer_Card .ac-columnSet .ac-container {
    margin-left: 0 !important;
}

#Answer_Card .ac-columnSet {
    margin: -15px 0 0 !important;
}

#Answer_Card .ac-columnSet .ac-container .ac-actionSet button {
    padding: 0;
}

#Answer_Card .ac-columnSet .ac-container .ac-actionSet .ac-pushButton {
    border: none !important;
    font-size: 21px;
}


#Answer_Card .ac-textBlock {
    font-size: 1rem !important;
}


#Submitted_Feedback .ac-input-container textarea {
    font-size: 0.8rem;
}

    #Submitted_Feedback .ac-input-container textarea:focus {
        border-bottom-color: blue;
        outline: none;
    }

/* Medium Screen Support */
@media screen and (min-width: 500px) {
    #webchat-container {
        width: var(--base-width);
        max-width: var(--large-screen-width);
        height: var(--base-height);
        margin: 0 auto;
        outline: 1px solid var(--base-button-border-color);
        border: 1px solid var(--base-button-border-color);
        border-radius: var(--base-border-radius);
    }

    #heading {
        width: var(--base-width);
        max-width: var(--large-screen-width);
        height: 65px;
        margin: 0 auto;
    }

    #help-section {
        width: var(--base-width);
        max-width: var(--large-screen-width);
        margin: 0 auto;
        margin-bottom: 7.5px;
    }
}

/* Large Screen Support */
@media screen and (min-width: 850px) {
    #webchat-container {
        width: var(--large-screen-width);
        height: var(--base-height);
        margin: 0 auto;
        margin-right: var(--large-screen-margin-offset);
        outline: 1px solid var(--base-button-border-color);
        border: 1px solid var(--base-button-border-color);
        border-radius: var(--base-border-radius);
    }

    #heading {
        width: var(--large-screen-width);
        height: 65px;
        margin: 0 auto;
        margin-right: var(--large-screen-margin-offset);
    }

    #help-section {
        width: var(--large-screen-width);
        margin-bottom: 7.5px;
    }
}