/* @import url('https://cdn.lineicons.com/4.0/lineicons.css'); */
@import url('https://chatarbor.rangamworks.com/css/Bootstrap-icon.css');
/* body { */
    /* font-family: 'Roboto', sans-serif; */
    /* background: #f5f5f5; */
/* } */

#chat-container p {
    margin: 0px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.chatbot-open-icon {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    display: flex;
    height: 94px;
    width: 94px;
    transition: all .2s ease-in 0s;
    z-index: 1024;
    cursor: pointer;
    animation: pop;
    animation-duration: .7s;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 100%;
    filter: drop-shadow(0px 2px 15px rgba(0, 0, 0, 0.24));
    border: 0px;
}

.chatbot-open-icon:hover,
.chatbot-open-icon:focus {
    transition: all .2s ease-in 0s;
    transform: scale(1.15, 1.15);
}

.chatbot-open-icon:focus {
    border: 2px solid #000;
}

/* .chatbot-open-icon img {
    opacity: 1;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    border: 2px solid #e4e4e4;
    border-radius: 50%;
} */

#chat-container {
    background-attachment: fixed;
    background-clip: border-box;
    background-color: rgb(255, 255, 255);
    background-origin: padding-box;
    background-position: center top;
    background-repeat: no-repeat;
    border: 1px solid #A9ABAE;
    border-radius: 10px;
    bottom: 0;
    display: none;
    height: 70vh;
    position: fixed;
    right: 30px;
    width: 400px;
    z-index: 9999;
    margin-bottom: 30px;
}

.chat-header {
    background: #D9F9E7;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header .chatbot-details {
    display: flex;
    align-items: center;
}

.chat-header .chatbot-details .chatbot-icon {
    width: 54px;
    height: 54px;
    background: #fff;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header .chatbot-details .chatbot-icon img {
    width: 34px;
    height: 34px;
}

.chat-header .chatbot-details .chatbot-name {
    margin-left: 10px;
    font-size: 20.241px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#chat-container .color-green {
    color: #26AC61;
}

#chat-container .color-blue {
    color: #257AB6;
}

.chat-header .chatbot-minimize button {
    background: transparent;
    box-shadow: 0 0 0;
    border: 0;
    cursor: pointer;
    line-height: 0;
}

.chat-wrapper {
    height: calc(100% - 115px);
	overflow-y: auto;
}

.chat-wrapper #chat-display {
    height: calc(100% - 95px);
    overflow-y: auto;
    padding: 15px 15px 35px;
    background: #ffffff;
    position: relative;
}

.chat-wrapper #chat-display .user {
    position: relative;
    padding-right: 40px;
    text-align: right;
}

.chat-wrapper #chat-display .user:after {
    content: '';
    position: absolute;
    right: 0;
    width: 30px;
    height: 30px;
    background: #247BB4 url('../images/chatarbor/user-icon.svg');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 100%;
}

.chat-wrapper #chat-display .user span {
    display: inline-block;
    padding: 6px 12px;
    max-width: 92%;
    word-break: break-word;
    border-radius: 10px;
    background: #247BB4;
    text-align: right;
    color: #fff;
}

.chat-wrapper #chat-display .bot {
    position: relative;
    padding-left: 40px;
}

.chat-wrapper #chat-display .bot:before {
    content: '';
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    background: #D9F9E7 url('../images/chatarbor/chatbot-icon.png');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 100%;
}

.chat-wrapper #chat-display .bot span {
    display: inline-block;
    padding: 6px 12px;
    max-width: 92%;
    word-break: break-word;
    border-radius: 10px;
    background: #F0F0F0;
}

.chat-wrapper .chat-controls {
    width: 92%;
    position: relative;
    margin: 0px 15px;
}

.chat-wrapper .chat-controls input {
    border: 0px;
    height: 40px;
    padding: 0px 15px 0px 15px;
    font-size: 16px;
    width: 300px;
    background: #f0f0f0;
    border-radius: 10px;
    color: #000;
}

.chat-wrapper .chat-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    background: transparent;
    border: 0;
    line-height: 0px;
    cursor: pointer;
    padding: 0 6px;
    margin: 0;
    height: auto;
    width: auto;
}

.chat-wrapper #chat-display div:nth-child(2n) {
    margin: 10px 0;
}

.chat-footer {
    padding: 8px 15px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-footer p {
    font-size: 10px;
}

.save-chat {
    background: transparent;
    border: 0;
    font-size: 18px;
    cursor: pointer;
    padding: 0 6px;
    margin: 0;
    height: auto;
    width: auto;
}

#CBloader {
    position: fixed;
    z-index: 1;
    padding: 0px 8px 8px;
    bottom: 120px;
    right: 366px;
    background: #f0f0f0;
    border-radius: 4px;
}

#CBloader div span {
    width: 6px;
    height: 6px;
    background-color: #5a5a5a;
    display: inline-block;
    margin: 1px;
    border-radius: 50%;
}

#CBloader div span:nth-child(1) {
    animation: bounce 1s infinite;
}

#CBloader div span:nth-child(2) {
    animation: bounce 1s infinite 0.2s;
}

#CBloader div span:nth-child(3) {
    animation: bounce 1s infinite 0.4s;
}

@keyframes bounce {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

#chat-container .btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    outline: 0;
    background-image: none;
    white-space: nowrap;
    padding: 5px 15px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

#chat-container .btn:hover,
#chat-container .btn:focus,
#chat-container .btn.focus {
    color: #333333;
    text-decoration: none;
    outline: 0 !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

#chat-container .btn:active,
#chat-container .btn.active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.rating-container .caption {
    margin-top: 1px;
}

.StarRating {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 50px 20px;
}

.StarRating .rating-title {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
    display: block;
}

.rating-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.rating-container .rating {
    margin-bottom: 30px;
    width: 100%;
}

.rating-container .caption {
    width: 100%;
    text-align: center;
}

.rating-container .clear-rating {
    display: none !important;
}

.StarRating textarea#txtRatingComments {
    width: 100%;
    margin-bottom: 10px;
    height: 70px;
    resize: none;
    overflow: auto;
}

#chat-container .hide {
    display: none !important;
}

.chat-header .chatbot-minimize button i {
    color: #5a5a5a;
    font-size: 18px !important;
}

.options-container {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
}

.option-button {
    width: auto;
    margin-bottom: 5px;
    border: 2px solid #c75000;
    background: #fff;
    border-radius: 12px;
    display: block;
    margin-right: 5px;
    padding: 5px 15px;
}

.StarRating {
    max-width: 340px;
    margin: 0px auto;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
    top: 20px;
}

.rating-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.rating-container {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
    padding-top: 40px;
}

.rating {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
}

.empty-stars,
.filled-stars {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.star {
    color: #ccc;
    cursor: pointer;
}

.filled-stars {
    overflow: hidden;
    white-space: nowrap;
}

#chat-container .caption {
    margin-top: 10px;
}

#txtRatingComments {
    width: 100%;
    margin-bottom: 15px;
}

#chat-container button {
    margin-right: 10px;
}

#chat-container .btn-success {
    background-color: #5cb85c;
    color: #fff;
    border: 1px solid #5cb85c;
}

#chat-container .btn-default {
    background-color: #ccc;
    color: #000;
    border: 1px solid #ccc;
}

/* Additional Styling */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#chat-container .label-success {
    background-color: #5cb85c;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
}

.chatbot-rating-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.chatbot-btns {
    display: flex;
    align-items: center;
}

.chat-header .chatbot-close button,
.chat-header .chatbot-maximize button {
    background: transparent;
    box-shadow: 0 0 0;
    border: 0;
    cursor: pointer;
    line-height: 0;
    margin-right: 0px !important;
}

.chat-header .chatbot-close button i,
.chat-header .chatbot-maximize button i {
    font-size: 16px !important;
}

#chat-container.maximize-window {
    height: 90vh;
    width: 650px;
}

#chat-container.maximize-window #CBloader {
    right: 616px;
}

#chat-container.maximize-window .chat-wrapper .chat-controls {
    width: 95%;
    margin: 0px 0px 0 15px;
}

#chat-container.maximize-window .chat-wrapper .chat-controls input {
    width: 550px;
}

#chat-container.maximize-window .StarRating {
    max-width: 580px;
}

.chat-wrapper .chat-controls button {
    margin-right: 0px !important;
}

.chatbot-tooltip {
                background: #fff;
                position: fixed;
                bottom: 20px;
                right: 130px;
                width: 250px;
                padding: 10px;
                filter: drop-shadow(0px 2px 15px rgba(0, 0, 0, 0.24));
                border-radius: 6px;
                font-size: 16px;
                line-height: 1.4;
				z-index: 9999;
            }
            .chatbot-tooltip:after {
                content: '';
                position: absolute;
                border-top: 10px solid transparent;
                border-bottom: 10px solid transparent;
                right: -20px;
                top: 50%;
                transform: translateY(-50%);
                border-left: 10px solid #fff;
                border-right: 10px solid transparent;
            }
            .chatbot-tooltip i {
                position: absolute;
                left: -25px;
                top: 0;
                font-size: 22px;
            }
			
			.chatbot-open-icon .notification-icon {
                position: absolute;
                top: -10px;
                right: 10px;
                width: 30px;
            }


@media (max-width: 1024px) {
    .chatbot-maximize {
        display: none;
    }
}

@media (max-width: 575px) {
    #chat-container {
        right: 10px !important;
        width: 300px;
        height: 450px;
    }

    .chat-wrapper .chat-controls input {
        width: 210px;
    }

    .chat-wrapper .chat-controls button {
        right: 5px;
    }

    .chat-wrapper #chat-display #CBloader {
        right: 241px !important;
        padding: 0px 10px 5px;
    }

    #CBloader div span {
        width: 8px;
        height: 8px;

    }

    .StarRating {
        max-width: 250px;
    }

    .StarRating .rating-title {
        font-size: 18px;
    }
	
	.chatbot-tooltip {
                    bottom: 135px;
                    right: 20px;
                    width: 230px;
                }
                .chatbot-tooltip:after {
                    border-top: 10px solid #fff;
                    right: 40px;
                    top: 100%;
                    transform: translateY(0);
                    border-left: 10px solid transparent;
                }
}