:root {
    --fontFamilyBase: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
}


code {
    color: #78909c !important;
}

.pt-4 {
    padding-top: 1rem !important;
}

.webchat h1,
.webchat h2,
.webchat h3,
.webchat h4,
.webchat h5,
.webchat h6 {
    font-weight: 700;
    font-family: var(--fontFamilyBase) !important;
}


.ac-textBlock p > strong > strong {
    display: block;
}

.ac-actionSet .ac-pushButton {
    color: black !important;
    border-color: lightgray !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-family: var(--fontFamilyBase) !important;
}

.ac-actionSet .ac-pushButton[aria-pressed="false"] {
    color: black !important;
    border-color: lightgray !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-family: var(--fontFamilyBase) !important;
}

.ac-actionSet .ac-pushButton[aria-pressed="true"] {
    color: gray !important;
    background-color: rgba(0, 255, 0, 0.1) !important;
    border-color: gray !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-family: var(--fontFamilyBase) !important;
}

.ac-actionSet {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    row-gap: 5px !important;
    column-gap: 3px !important;
    align-items: flex-start !important;
}

.ac-actionSet .ac-pushButton.style-positive {
    background-color: #008500 !important;
    border-color: none !important;
    border-radius: 15px !important;
    color: white !important;
}

.ac-actionSet .ac-pushButton.style-positive[aria-pressed="true"] {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border-color: none !important;
    color: gray !important;
    border-radius: 15px !important;
}

.ac-toggleInput input[type="checkbox"] {
    accent-color: #008500 !important;
}


.webchat__render-markdown h1,
.webchat__render-markdown h2,
.webchat__render-markdown h3 {
    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 700 !important;
    font-family: var(--fontFamilyBase) !important;
}

.webchat__activity-status {
    font-size: 13px !important;
}

.webchat__stacked-layout {
    width: 85% !important;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

    .webchat__stacked-layout.webchat__stacked-layout--show-avatar {
        width: 70% !important;
        max-width: 1600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

.webchat__basic-transcript__activity-body .webchat__stacked-layout {
    width: 70% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
}



#ac-textBlock,
#ac-textBlock p,
#ac-textBlock ul,
#ac-textBlock ol,
.ac-textBlock,
.ac-textBlock p,
.ac-textBlock ul,
.ac-textBlock ol {
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 22px !important;
    color: inherit !important;
    font-family: var(--fontFamilyBase) !important;
}

#aiWarningText {
    color: gray !important;
}

#aiWarningText p {
    font-size: 12px !important;
    font-family: var(--fontFamilyBase) !important;
}


.webchat__adaptive-card-renderer .ac-multichoiceInput {
    padding: 5px !important;
}


.webchat__basic-transcript {
    display: flex !important;
    justify-content: center !important;
}

.webchat__stacked-layout {
    width: 75% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.webchat ul {
    font-size: 16px;
    list-style-type: disc;
    margin-left: 20px;
    padding-right: 8px;
    font-family: var(--fontFamilyBase) !important;
}

.webchat ol {
    font-size: 16px;
    list-style-type: decimal;
    margin-left: 20px;
    padding-right: 8px;
    font-family: var(--fontFamilyBase) !important;
}

.webchat__adaptive-card-renderer ul {
    list-style-type: disc;
    margin-left: 20px;
}

.webchat__adaptive-card-renderer ol {
    list-style-type: decimal;
    margin-left: 20px;
}

.webchat__bubble__content {
    border-radius: 16px 0 16px 16px !important;
}

.webchat__bubble__nub-pad {
    display: none !important;
}

.webchat__bubble.webchat__bubble--from-user {
    margin-right: 3%;
}



.webchat__stacked-layout__message-row::before {
    content: none !important;
    display: none !important;
}

#hnk-sources ~ * li > strong {
    display: block;
}



#manualTypingIndicator {
    align-self: flex-start;
    background-image: none !important;
    height: 16px !important;
    width: 70px !important;
    border-radius: 20px;
    background: linear-gradient(90deg, #a5e600, #7bb801) !important;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 8px;
}

#manualTypingIndicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.5), transparent );
    animation: typingAnimation 1.25s linear infinite;
}


.webchat__typing-indicator {
    background-image: none !important;
    height: 16px !important;
    width: 70px !important;
    border-radius: 20px;
    background: linear-gradient(90deg, #a5e600, #7bb801) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    margin-left: 15% !important;
    margin-right: auto !important;
}

.webchat__typing-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.5), transparent );
    animation: typingAnimation 1.25s linear infinite;
}

@keyframes typingAnimation {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.webchat__send-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-top: none !important;
    border-radius: 40px !important;
    background: white !important;
    padding: 6px 12px !important;
    background-color: black;
    align-items: center;
}

.webchat__send-box::after {
    content: "Safe to use with confidential information";
    display: block;
    width: 80%;
    margin: 6px auto 0 auto;
    margin-left: 20% !important;
    text-align: left;
    font-size: 13px;
    color: #d1d5db;
    font-family: var(--fontFamilyBase) !important;
}


.webchat__send-box__main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 60% !important;
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 15px;
    background-color: #EFEFEA !important;
    border-top: none;
}


    .webchat__send-box__main .webchat__send-box-text-box {
        height: 48px !important;
        width: 100% !important;
        flex: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        font-family: inherit !important;
        font-size: 14px !important;
        line-height: 22px !important;
        color: inherit !important;
        font-family: var(--fontFamilyBase) !important;
    }



.webchat__send-box-text-box .webchat__send-box-text-box__input {
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 22px !important;
    color: inherit !important;
    font-family: var(--fontFamilyBase) !important;
}

.webchat__send-box__main .webchat__icon-button {
    order: 2;
    width: auto !important;
    margin-left: auto;
}

.webchat__send-box__main .webchat__send-button svg {
    display: none;
}

.webchat__send-box__main .webchat__send-button::before {
    content: '';
    width: 40px;
    height: 40px;
    background-image: url('/webportal/images/send-btn.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.webchat__send-box__main .webchat__icon-button__shade {
    display: none;
}


#webchat {
    flex: 1;
    min-height: 0;
}

.text-muted {
    font-size: 10px !important;
    font-weight: 700;
}

.webchat__upload-button {
    display: none !important;
}

.webchat__root {
    border-radius: 40px !important;
    overflow: hidden !important;
    background: transparent !important;
}

.webchat__attachment-icon .webchat__attachment-icon__icon:not(.webchat__attachment-icon__checkmark-icon) {
    display: none;
}

.webchat__attachment-icon::before {
    content: '';
    display: block;
    grid-area: body;
    width: 40px;
    height: 40px;
    background-image: url('/webportal/images/pin-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.webchat__stacked-layout--from-user .webchat__stacked-layout__message-row::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    top: -9px;
    right: -2px;
    width: 0;
    height: 0;
    transform: rotate(-45deg);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #E8F6DD;
}


.webchat__text-content {
    padding: 16px 12px !important;
    font-size: 13px;
    font-family: var(--fontFamilyBase) !important;
}


.webchat__send-box.webchat__send-box.webchat__send-box .webchat__send-box__main {
    border-top: none;
}


#status {
    height: 40px;
    padding: 10px;
    background-color: #f2f2f2;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
    border-radius: 40px;
}


#webchat {
    flex: 1;
    min-height: 0;
}

.webchat__upload-button {
    display: none !important;
}

.webchat__root {
    border-radius: 40px !important;
    overflow: hidden !important;
    background: transparent !important;
}



.webchat__basic-transcript {
    flex: 1 1 0% !important;
}

.webchat__attachment-icon .webchat__attachment-icon__icon:not(.webchat__attachment-icon__checkmark-icon) {
    display: none;
}

.webchat__attachment-icon::before {
    content: '';
    display: block;
    grid-area: body;
    width: 40px;
    height: 40px;
    background-image: url('/webportal/images/pin-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.webchat__stacked-layout--from-user .webchat__stacked-layout__message-row::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    top: -9px;
    right: -2px;
    width: 0;
    height: 0;
    transform: rotate(-45deg);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #E8F6DD;
}


.webchat__send-box.webchat__send-box.webchat__send-box .webchat__send-box__main {
    border-top: none;
}

li > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

button {
    cursor: pointer;
}

    button:hover {
        cursor: pointer;
    }

button,
input[type="button"],
input[type="submit"],
[role="button"] {
    cursor: pointer;
}

@media (min-width: 0px) and (max-width: 1389px) {
    .webchat__bubble.webchat__stacked-layout__attachment {
        max-width: 93% !important;
        padding-left: 1.5% !important;
    }

    .webchat__bubble.webchat__stacked-layout__message {
        max-width: 73% !important;
        padding-left: 1.5% !important;
    }

    .webchat__stacked-layout.webchat__stacked-layout .webchat__stacked-layout__attachment {
        width: 80% !important;
    }

    .webchat__bubble.webchat__bubble--from-user {
        margin-right: 1% !important;
    }

    #manualTypingIndicator {
        margin-left: 20% !important;
    }

    .webchat__stacked-layout__main {
        margin-left: 10px;
    }

    .webchat__activity-status.webchat__activity-status--slotted {
        margin-left: 25px !important;
        margin-right: 10px !important;
    }
}


@media (min-width: 1388px) and (max-width: 1499px) {
    .webchat__bubble.webchat__stacked-layout__attachment {
        max-width: 93% !important;
        padding-left: 3% !important;
    }

    .webchat__bubble.webchat__stacked-layout__message {
        max-width: 73% !important;
        padding-left: 11.5% !important;
    }

    .webchat__stacked-layout.webchat__stacked-layout .webchat__stacked-layout__attachment {
        width: 80% !important;
    }


    .webchat__bubble.webchat__bubble--from-user {
        margin-right: 1% !important;
    }

    #manualTypingIndicator {
        margin-left: 20% !important;
    }

    .webchat__stacked-layout__main {
        margin-left: 10px;
    }

    .webchat__activity-status.webchat__activity-status--slotted {
        margin-left: 25px !important;
        margin-right: 10px !important;
    }
}

@media (min-width: 1500px) and (max-width: 1919px) {
    .webchat__bubble.webchat__stacked-layout__attachment {
        max-width: 93.5% !important;
        padding-left: 4% !important;
    }

    .webchat__bubble.webchat__stacked-layout__message {
        max-width: 73.5% !important;
        padding-left: 4% !important;
    }

    .webchat__bubble.webchat__bubble--from-user {
        margin-right: 2.7%;
    }

    #manualTypingIndicator {
        margin-left: 20% !important;
    }

    .webchat__stacked-layout__main {
        margin-left: 10px;
    }

    .webchat__activity-status.webchat__activity-status--slotted {
        margin-left: 45px !important;
        margin-right: 30px !important;
    }

    .webchat__stacked-layout.webchat__stacked-layout .webchat__stacked-layout__attachment {
        width: 80% !important;
    }
}

@media (min-width: 1920px) and (max-width: 3439px) {

    .webchat__bubble.webchat__stacked-layout__attachment {
        max-width: 93.5% !important;
        padding-left: 5% !important;
    }


    .webchat__bubble.webchat__stacked-layout__message {
        max-width: 73.5% !important;
        padding-left: 5% !important;
    }


    .webchat__bubble.webchat__bubble--from-user {
        margin-right: 3.7% !important;
    }

    #manualTypingIndicator {
        margin-left: 20% !important;
    }

    .webchat__stacked-layout__main {
        margin-left: 10px;
    }

    .webchat__activity-status.webchat__activity-status--slotted {
        margin-left: 90px !important;
        margin-right: 60px !important;
    }

    .webchat__stacked-layout.webchat__stacked-layout .webchat__stacked-layout__attachment {
        width: 80% !important;
    }
}

@media (min-width: 3440px) and (max-width: 3839px) {
    .webchat__bubble.webchat__stacked-layout__attachment {
        max-width: 100% !important;
        margin-left: 0% !important;
    }

    .webchat__bubble.webchat__stacked-layout__message {
        max-width: 80% !important;
        margin-left: 0% !important;
    }


    .webchat__bubble.webchat__bubble--from-user {
        margin-right: 0% !important;
    }

    #manualTypingIndicator {
        margin-left: 20% !important;
    }

    .webchat__stacked-layout__main {
        margin-left: 10px;
    }

    .webchat__stacked-layout.webchat__stacked-layout .webchat__stacked-layout__attachment {
        width: 80% !important;
    }
}

/* 3840x2160 */
@media (min-width: 3840px) {
    .webchat__bubble.webchat__stacked-layout__attachment {
        max-width: 93% !important;
        margin-left: 2% !important;
    }

    .webchat__bubble.webchat__stacked-layout__message {
        max-width: 73% !important;
        margin-left: 2% !important;
    }


    .webchat__bubble.webchat__bubble--from-user {
        margin-right: 3%;
    }

    #manualTypingIndicator {
        margin-left: 20% !important;
    }

    .webchat__stacked-layout__main {
        margin-left: 10px;
    }

    .webchat__stacked-layout.webchat__stacked-layout .webchat__stacked-layout__attachment {
        width: 80% !important;
    }
}
