
.wc-wrap {
    position: fixed;
    right: 50px;
    bottom: 140px;
    z-index: 102;
}

.wc-container {
    width: 430px;
    height: 600px;
    border-radius: 20px;
    background: white;
    -webkit-box-shadow: 0px 5px 15px -5px rgba(87,87,87,1);
    -moz-box-shadow: 0px 5px 15px -5px rgba(87,87,87,1);
    box-shadow: 0px 5px 15px -5px rgba(87,87,87,1);
    box-sizing: border-box;
    display: none;
}

    .wc-container p {
        line-height: 150%;
        letter-spacing: 0;
        font-size: 13.5px;
        font-family: "Source Sans Pro", arial, sans-serif
    }

    .wc-container.chat {
        padding: 10px;
    }

.wc-header {
    width: 100%;
    background: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 15px;
    padding: 10px;
    box-sizing: border-box;
    background-color: #0e0ef6;
    background-image: -o-linear-gradient(left, #5d6266 0%, #222626 130%);
    background: -webkit-gradient(linear, left top, right top, from(#0e0ef6), to(#222626));
    background: linear-gradient(80deg, #345f9d, #123d7b 130%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e0ef6', endColorstr='#222626',GradientType=1 );
    color: white;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(144, 144, 144);
    -moz-box-shadow: 0px 2px 5px 0px rgba(144, 144, 144);
    box-shadow: 0px 2px 5px 0px rgb(144, 144, 144);
    z-index: 2;
}

.wc-container.chat .wc-header {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
}

.wc-container.intro {
    text-align: center;
    height: auto;
    min-height: 290px;
}

    .wc-container.intro .wc-header img {
        width: 100px;
        max-width: 100%;
        position: absolute;
        top: -40px;
        left: calc(47% - 41px);
        background: radial-gradient(circle, rgb(160, 27, 30) 40%, rgba(255, 255, 255, 0) 50%);
        height: 73px;
        border-radius: 45px;
    }

    .wc-container.intro .wc-header > div:first-child {
        height: 50px;
    }

    .wc-container.intro .wc-header > div {
        max-width: 550px;
        margin: auto;
    }

    .wc-container.intro .subtitle {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .wc-container.intro .title {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .wc-container.intro p {
        font-size: 13.5px;
        line-height: 130%;
        margin: 0.5rem auto;
        width: 80%;
        padding: 0 20px;
        text-align: left;
    }

    .wc-container.intro > .button {
        margin-top: 25px;
        padding: .5rem 1rem !important;
        font-size: .7rem !important;
    }

.wc-header .title {
    font-weight: bold;
    margin-bottom: 20px;
}

.wc-header .subtitle {
    font-size: 13.5px
}

.wc-header img {
    max-width: 60px;
    margin-right: 10px;
    border-radius: 45px;
}

.wc-header .beta {
    position: absolute;
    right: 9px;
    bottom: 6px;
    font-size: 12px;
}

.wc-header .fullscreen-redirect {
    position: absolute;
    right: 52px;
    bottom: 19px;
    font-size: 12px;
}

.wc-btn {
    font-size: 30px;
    position: absolute;
    color: white;
    font-weight: 100;
    right: -10px;
    bottom: -90px;
    width: 80px;
    height: 80px;
    text-align: center;
    border-radius: 50%;
    /*
  background-image: -o-linear-gradient(left, #772025 0%, #EA2227 100%);
  background: -webkit-gradient(linear, left top, right top, from(#772025), to(#EA2227));
  background: linear-gradient(to right, #772025 0%, #EA2227 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#772025', endColorstr='#EA2227',GradientType=1 );
  */

    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .wc-btn .bg {
        background: radial-gradient(circle, rgb(113, 113, 113) 40%, rgba(255,255,255,0) 60%);
        /*
  -webkit-transition: background 500ms ease-out;  
  -moz-transition: background 500ms ease-out;  
  -o-transition: background 500ms ease-out;  
  transition: background 500ms ease-out;
  */
        transform: scale(1);
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        z-index: 1;
        transition: all 1s ease-in-out;
    }

    .wc-btn.long .bg {
        transition: all 2s ease-in-out;
    }

    .wc-btn.animate .bg {
        transform: scale(1.1);
    }

    .wc-btn.animate2 .bg {
        transform: scale(1.3);
    }

    .wc-btn.close-control {
        width: 60px;
        height: 60px;
        bottom: -80px;
        right: 0;
        background-image: -o-linear-gradient(left, #5d6266 0%, #222626 130%);
        background: -webkit-gradient(linear, left top, right top, from(#5d6266), to(#222626));
        background: linear-gradient(to right, #5d6266 0%, #222626 130%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5d6266', endColorstr='#222626',GradientType=1 );
    }

        .wc-btn.close-control img {
            width: 13px;
        }

    .wc-btn img {
        max-width: 100%;
        position: relative;
        z-index: 2;
    }

        .wc-btn img.open-control {
            display: block;
            border: solid 2px #5d6266;
            border-radius: 45px;
        }

        .wc-btn img.close-control {
            display: none;
        }

    .wc-btn.close-control img.close-control {
        display: block;
    }

    .wc-btn.close-control img.open-control {
        display: none;
    }

#webchat {
    width: 100%;
    height: calc(100% - 80px);
    margin-top: 80px;
}

    #webchat p {
        line-height: 150%;
        font-size: 13.5px;
        color: black;
        padding-bottom: 0;
    }

    #webchat .webchat__send-box__main {
        border-radius: 30px;
        align-items: flex-end;
    }

        #webchat .webchat__send-box__main form.webchat__send-box-text-box {
            padding: 11px;
        }


    #webchat .webchat__send-box__button {
        border-radius: 50%;
        background: #0e0ef6;
        background: linear-gradient(80deg, #345f9d, #123d7b 130%);
        text-align: center;
        line-height: 100%;
        height: 40px;
    }

        #webchat .webchat__send-box__button:hover .webchat__icon-button__shade {
            background: none;
        }

    #webchat .webchat__upload-button {
        background: white;
    }

        #webchat .webchat__upload-button svg {
            fill: #4B4B4B;
        }

    #webchat .webchat__send-box__button svg {
        width: 25px;
        height: 25px;
    }

    #webchat .webchat__bubble__content p.plain,
    #webchat .webchat__row.message .markdown {
        padding-left: 20px;
        padding-right: 20px;
        background: linear-gradient(80deg, #5d6266, #222626 130%);
        color: white;
        padding-bottom: 8px;
    }

    #webchat .react-film__flipper__body {
        -webkit-box-shadow: 1px 4px 10px -4px rgba(87,87,87,1);
        -moz-box-shadow: 1px 4px 10px -4px rgba(87,87,87,1);
        box-shadow: 1px 4px 10px -4px rgba(87,87,87,1);
        font-size: 20px;
    }

    #webchat .webchat__-actions__carousel .react-film__flipper__body {
        font-size: 15px;
    }

    #webchat .react-film__filmstrip__item {
        margin-bottom: 0;
    }

    #webchat .ac-pushButton.style-default,
    #webchat .webchat__suggested-action__button {
        background: none;
        cursor: pointer;
        border: 1px solid #4B4B4B;
        border-radius: 20px;
        color: #4B4B4B;
        height: auto;
        font-size: 13px;
        font-weight: 500;
    }

        #webchat .ac-pushButton.style-default div {
            overflow: unset !important;
            text-overflow: unset !important;
            white-space: normal !important;
        }

    #webchat .webchat__bubble__content ul {
        list-style-type: disc;
    }

    #webchat .webchat__send-box {
        display: flex;
        flex-direction: column;
        padding-top: 5px;
    }

.webchat__suggested-action {
    font-size: 14px !important;
    cursor: pointer;
}

#webchat .webchat__suggested-actions__carousel {
    padding: 0 !important;
}

#webchat .webchat__suggested-actions {
    order: 2;
}

.webchat__suggested-actions__carousel ul li {
    padding-left: 0 !important;
}

.webchat__suggested-actions__carousel .react-film__flipper {
    display: none !important;
}

/* Form elements */
input.ac-input,
textarea.ac-input {
    border: 1px solid var(--input-border);
    border-radius: 25px;
    background: var(--input-bg);
    padding: 6px 18px 6px 14px;
    color: var(--input-color);
    font-size: 14px;
    line-height: 25px;
    outline: none !important;
}

    input.ac-input::placeholder,
    textarea.ac-input::placeholder {
        color: var(--input-placeholder-color);
        font-size: 14px;
    }

.ac-input label {
    margin-bottom: 0;
}

label.ac-richTextBlock {
    margin-left: 19px;
}

.ac-selectable {
    cursor: pointer;
}

.ac-adaptiveCard > .ac-container:not(:first-child) .ac-columnSet .ac-selectable,
.ac-adaptiveCard > .ac-container:not(:first-child).ac-selectable {
    background-color: var(--cardbutton-bg) !important;
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    margin-bottom: 8px !important;
}

.ac-textBlock {
    color: var(--primary-color) !important;
}

.ac-adaptiveCard > .ac-container:not(:first-child) .ac-columnSet .ac-selectable:hover,
.ac-adaptiveCard > .ac-container:not(:first-child).ac-selectable:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

label.attacherLabel {
    background-color: #4C4C4C;
    color: white;
    border-color: #4C4C4C;
    transition: all 0.15s ease-in-out;
}

    label.attacherLabel:hover {
        background-color: #222222;
    }

.ac-container[style*="background-image"] {
    background-repeat: no-repeat !important;
}

@media (max-width: 991px) {
    .wc-wrap {
        right: auto;
        left: 15px;
        bottom: 120px;
    }

    .wc-btn {
        right: auto;
        left: -10px;
    }

        .wc-btn.close-control {
            right: auto;
            left: 0;
        }
}

@media (max-height: 769px) and (orientation : landscape) {
    .wc-container {
        height: calc(100vh - 280px);
    }
}

@media (max-height: 576px) and (orientation : landscape) {
    .wc-container {
        height: 100vh;
    }
}

@media (max-width: 767px) {
    .wc-wrap {
        bottom: 60px;
        width: calc(100% - 20px);
        /*width: calc(100% - 60px);*/
    }


    .wc-container {
        width: 100%;
        left: -5px;
        position: relative;
    }

    .wc-btn {
        /* width: 60px;
    height: 60px; */
        line-height: 40px;
        right: -8px;
        bottom: -58px;
    }

        .wc-btn.close-control {
            width: 40px;
            height: 40px;
            right: 3px;
            bottom: -46px;
        }

    .wc-container.chat .wc-header {
        padding-bottom: 17px;
    }

    .webchat__send-box-text-box__input {
        font-size: 16px !important;
        resize: none;
        overflow-y: hidden;
        min-height: 40px;
        max-height: 150px;
    }
}

/* sticky sidebar on scroll animation - push buttons 'chatbot' */

@media (max-width: 1025px) {
    .s-sidebar-scroll.s-scrolled-up .wc-wrap {
        transform: translateY(0);
    }
}

@media (max-width: 1025px) {
    .wc-wrap {
        transform: translateY(-40px);
        transition: transform .3s ease-in-out;
    }
}

@media (max-width: 767px) {
    .wc-wrap {
        transform: translateY(-75px);
        transition: transform .3s ease-in-out;
    }
}

/* NEW CHANGES TO REMOVE TRIGLAV CSS */
.button {
    border-radius: 25px;
    transition: all .15s ease-in-out;
    background: none;
    color: #4b4b4b;
    display: inline-block;
    padding: 1rem 2rem;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 100%;
    position: relative;
    border: solid 1px;
}

    .button:hover:not(.btn-invert):not(.btn-link):not(.btn-red):not(.btn-gold):not(.btn-disabled):not([disabled]) {
        color: #fff;
        background: #222;
        text-decoration: none;
    }

    .button.btn-transparent.btn-transparent-inverse:hover:not([disabled]):not(.btn-disabled) {
        color: #4b4b4b !important;
        background: none !important;
    }

    .button.btn-small {
        font-size: 13px;
        letter-spacing: 4px;
        padding: .7rem 1.5rem;
    }

.webchat__send-box__main {
    -moz-box-align: stretch;
    align-items: stretch;
    background-color: white;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(190, 190, 190);
    min-height: 40px;
}

#pdfViewer {
    width: 60%;
    height: 0;
    position: fixed;
    top: 0;
    left: 5vw;
    /*transition: all 1s;*/
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
}

    #pdfViewer.show {
        top: 0px;
        height: calc(100% - 80px);
    }

        #pdfViewer.show.fullscreen {
            left: 0;
            top: 0;
            margin: 0;
            width: 100vw;
            height: 100vh;
            display: flex;
            flex-direction: column;
            z-index: 9999;
        }

            #pdfViewer.show.fullscreen > div > p > svg {
                color: #777;
            }

    #pdfViewer.mobile {
        z-index: 9000;
        width: 50vw;
        left: 50vw;
        height: calc(100% - 80px);
        margin-top: 80px;
    }

    #pdfViewer > .pdfIframe > iframe {
        width: 100%;
        height: 100%;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        border: none;
    }

.pdfIframe {
    height: 95%;
    border-top-left-radius: 8px;
}

.pdfToolbar {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    background-color: #222626;
    margin-top: 4px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    width: 82px;
}

.pdfToolbar svg {
    color: #fff;
}

    .pdfToolbar > p {
        margin: 0.5rem 0.5rem;
        cursor: pointer;
        position: relative;
        top: 3px;
    }

.half {
    width: 50% !important;
}

.customLink {
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    color: brown;
}

.wc-header .beta {
    bottom: unset;
    cursor: pointer;
}

.info-introtext {
    color: white;
}

@media (max-width: 991px) {
    #pdfViewer {
        right: auto;
        left: 50%;
        width: 48%;
        bottom: 120px;
    }
}

@media (max-width: 767.98px) {
    .button.btn-transparent {
        margin-top: 0.7rem !important;
    }
}

.webchat__stacked-layout__message {
    max-width: 90% !important;
}

.wc-container.intro > .button {
    margin-top: 4%;
    margin-bottom: 4%;
}

.beta-label {
    font-weight: bold;
    position: absolute;
    right: 52px;
    top: 62%;
    transform: translateY(-50%);
    font-size: 14px;
}



/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 240px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        position: absolute;
        z-index: 1;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.3s;
    }

        /* Tooltip arrow */
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent #555 transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

@media screen and (max-width: 768px) {
    .tooltip .tooltiptext {
        width: calc(100vw - 40px);
        left: 50%;
        transform: translateX(-50%);
    }


 /* Input bar for small screens like mobile for input fields */
    @media screen and (max-width: 768px) {
        .tooltip .tooltiptext {
            width: calc(100vw - 40px);
            left: 50%;
            transform: translateX(-50%);
        }

        @media (max-width: 767px) {
            #webchat {
                height: calc(100% - 80px);
                margin-top: 80px;
                overflow-y: auto;
            }

            .webchat__send-box {
                background: white;
                padding: 3px;
            }

            .webchat__send-box__main {
                display: flex;
                align-items: center;
                border-radius: 15px;
                background-color: white;
                border: 1px solid #BEBEBE;
                min-height: 23px;
                padding: 0;
            }

            .webchat__send-box-text-box {
                flex: 1;
                margin: 0;
                padding: 0 5px;
                min-height: 23px;
                display: flex;
                align-items: center;
            }

            .webchat__send-box-text-box__input {
                width: 120%;
                min-height: 15px;
                max-height: 45px;
                padding: 2px 18px 2px 2px !important;
                margin: 0;
                border: none;
                resize: none;
                font-size: 13px !important;
                line-height: 15px;
            }

            #charCount {
                position: absolute;
                right: 32px;
                bottom: 5px;
                font-size: 11px;
                color: #666;
            }

            .webchat__send-box__button {
                width: 23px;
                height: 23px;
                margin: 2px;
                padding: 0;
                border-radius: 50%;
                flex-shrink: 0;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            #botDisclaimer {
                padding: px 5px;
                font-size: 8px;
                color: #666;
                text-align: center;
                margin-top: 1px;
            }
        }

        /* Extra small screens */
        @media (max-width: 320px) {
            .webchat__send-box {
                padding: 2px;
            }
        }

        /* iOS fixes */
        @supports (-webkit-touch-callout: none) {
            .webchat__send-box-text-box__input {
                padding: 2px !important;
            }
        }

/* Input bar for small screens like mobile for pdf viewer*/
        @media (max-width: 767px) {
            #pdfViewer {
                position: fixed;
                top: 0;
                left: 0;
                width: 100% !important;
                height: 100% !important;
                margin: 0;
                z-index: 9999;
                background: white;
                display: none;
                flex-direction: column;
            }

                #pdfViewer.show {
                    display: flex;
                    height: 100% !important;
                    top: 0 !important;
                }

            .pdfToolbar {
                background-color: #222626;
                padding: 5px;
                display: flex;
                justify-content: flex-end;
                gap: 10px;
                border-radius: 0;
                width: 100%;
                margin: 0;
            }

                .pdfToolbar > p {
                    margin: 5px;
                    cursor: pointer;
                    padding: 5px;
                }

                .pdfToolbar svg {
                    width: 20px;
                    height: 20px;
                }

            .pdfIframe {
                flex: 1;
                width: 100%;
                height: calc(100% - 40px);
                border-radius: 0;
            }

                .pdfIframe > iframe {
                    width: 100%;
                    height: 100%;
                    border: none;
                    border-radius: 0;
                }

            #pdfViewer.mobile {
                width: 100% !important;
                left: 0 !important;
                margin-top: 0 !important;
            }

            #pdfViewer.show.fullscreen {
                left: 0 !important;
                top: 0 !important;
                width: 100% !important;
                height: 100% !important;
            }
        }

        /* Extra small screens */
        @media (max-width: 320px) {
            .pdfToolbar {
                padding: 3px;
            }

                .pdfToolbar > p {
                    margin: 3px;
                    padding: 3px;
                }

                .pdfToolbar svg {
                    width: 18px;
                    height: 18px;
                }
        }
