﻿.livechat-section {
    position: fixed;
    z-index: 9999;
    right: 10px;
    background-color: #f9f9f9;
    width: 452px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    bottom: -100%;
    opacity: 0;
    transition: 0.5s ease-in-out;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.livechat-header {
    background: -webkit-linear-gradient(left, #1a9172, #008b99);
    background: -moz-linear-gradient(left, #1a9172, #008b99);
    background: -o-linear-gradient(left, #1a9172, #008b99);
    background: -ms-linear-gradient(left, #1a9172, #008b99);
    background: -webkit-gradient(linear, left top, right top, from(#1a9172), to(#008b99));
    background: linear-gradient(to left, #1a9172, #008b99);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    text-align: right;
}

.livechat-section .livechat-form {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0 0px;
}

.livechat-btn {
    width: 100%;
    margin: 10px 0;
}

.btn-contact {
    height: 37px;
    width: 194px;
    border-radius: 0;
    background-color: #979797;
    padding: 4px;
    transition: all .5s ease 0s;
}

.livechat {
    background-color: #fdfdfd;
}

.firstdiv {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    height: 389px;
}

.livechat-subhead-section {
    clear: both;
    padding-bottom: 20px;
}

.next-div {
    height: 230px;
    margin: 0;
    overflow-y: auto;
}

.top-sec .form-group {
    margin: 20px 0 0;
}

.chatbox {
    position: fixed;
    bottom: 0;
    right: 30px;
    width: 300px;
    height: 400px;
    background-color: #fff;
    font-family: 'Lato', sans-serif;
    -webkit-transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.chatbox-tray {
    bottom: -350px;
}

.chatbox-closed {
    bottom: -400px;
}

.chatbox .form-control:focus {
    border-color: #1f2836;
}

.chatbox-title,
.chatbox-body {
    border-bottom: none;
}

.chatbox-title {
    min-height: 50px;
    padding-right: 10px;
    background-color: #1f2836;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}

    .chatbox-title h5 {
        height: 50px;
        margin: 0 0 0 15px;
        line-height: 50px;
        position: relative;
        padding-left: 20px;
        -webkit-flex-grow: 1;
        flex-grow: 1;
    }

        .chatbox-title h5 a {
            color: #fff;
            max-width: 195px;
            display: inline-block;
            text-decoration: none;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .chatbox-title h5:before {
            content: '';
            display: block;
            position: absolute;
            top: 50%;
            left: 0;
            width: 12px;
            height: 12px;
            background: #4CAF50;
            border-radius: 6px;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
        }

.chatbox-title-tray,
.chatbox-title-close {
    width: 24px;
    height: 24px;
    outline: 0;
    border: none;
    background-color: transparent;
    opacity: 0.5;
    cursor: pointer;
    -webkit-transition: opacity 200ms;
    transition: opacity 200ms;
}

    .chatbox-title-tray:hover,
    .chatbox-title-close:hover {
        opacity: 1;
    }

    .chatbox-title-tray span {
        width: 12px;
        height: 12px;
        display: inline-block;
        border-bottom: 2px solid #fff;
    }

    .chatbox-title-close svg {
        vertical-align: middle;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.2px;
    }

.chatbox-body,
.chatbox-credentials {
    padding: 15px;
    border-top: 0;
    background-color: #ffffff;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.chatbox-credentials {
    display: none;
}

    .chatbox-credentials .form-control {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.chatbox-body {
    overflow-y: auto;
}

.chatbox-body-message {
    position: relative;
}

    .chatbox-body-message p {
        padding: 15px;
        border-radius: 20px;
        font-size: 13px;
        background-color: #fff;
        -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
        box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    }

    .chatbox-body-message img {
        width: 40px;
        height: 40px;
        border-radius: 4px;
        border: 2px solid #fcfcfc;
        position: absolute;
        top: 12px;
    }

.chatbox-body-message-left p {
    margin-right: 15px;
    padding-left: 20px;
    text-align: left;
    background-color: rgba(214, 228, 128, 0.3);
    color: #6f6f6f;
    border-top-left-radius: 0;
}

.chatbox-body-message-left img {
    left: 5px;
}

.chatbox-body-message-right p {
    margin-left: 15px;
    padding-right: 20px;
    text-align: right;
    background-color: #8bc73f;
    color: #fff;
    border-top-right-radius: 0;
}

.chatbox-body-message-right img {
    right: 5px;
}

.chatbox-message {
    padding: 15px;
    min-height: 50px;
    outline: 0;
    resize: none;
    border: none;
    font-size: 12px;
    border: 1px solid #ddd;
    border-bottom: none;
    background-color: #fefefe;
}

.chatbox-empty {
    height: 262px;
}

    .chatbox-empty.chatbox-tray {
        bottom: -212px;
    }

    .chatbox-empty.chatbox-closed {
        bottom: -262px;
    }

    .chatbox-empty .chatbox-body,
    .chatbox-empty .chatbox-message {
        display: none;
    }

    .chatbox-empty .chatbox-credentials {
        display: block;
    }

.option .fa.fa-circle {
    margin-right: 5px;
    font-size: 12px;
}

.chat-status .option {
    padding: 7px 12px;
    border: 1px solid rgba(6,153,184,0.3);
    display: inline-block;
    margin: 5px;
    background: #fff;
    color: #06c5a6;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.8rem;
}

.chat-footer {
    margin-bottom: 5px;
}

    .chat-footer button.submit {
        padding: 7px;
        border: none;
        float: left;
        /*margin: 5px;*/
        color: #06c5a6;
        cursor: pointer;
        /* border-radius: 8px; */
        font-size: 1.1rem;
        width: 36px;
        height: 35px;
        /*margin-top: 8px;*/
        background: #fff;
        outline: none !important;
        border-left: 1px solid #eee;
        min-width: auto;
    }

    .chat-footer .chatbox-message {
        border: none;
        padding: 7px 10px;
        outline: none;
        font-size: 0.905rem;
        float: left;
        width: calc(100% - 55px);
        line-height: 1.3em;
        min-height: 1.7em;
        max-height: 10rem;
        display: block;
        max-width: 88%;
        margin-right: 2.5%;
        overflow: hidden;
        word-wrap: break-word;
    }

.chatbox-body-message.chatbox-body-message-right h6 {
    text-align: right;
}

.live-chat-span {
    display: inline-block;
}

.livechat {
    /*position: fixed;
    right: 44px;
    bottom: 10px;
    z-index: 999;
    width: 125px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    background: #8cc63f;
    background: -webkit-linear-gradient(left, #1a9172, #8cc63f);
    background: -moz-linear-gradient(left, #1a9172, #8cc63f);
    background: -o-linear-gradient(left, #1a9172, #8cc63f);
    background: -ms-linear-gradient(left, #1a9172, #8cc63f);
    background: -webkit-gradient(linear, left top, right top, from(#1a9172), to(#8cc63f));
    background: linear-gradient(left, #1a9172, #8cc63f);*/
    position: fixed;
    right: 10px;
    bottom: 60px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 68px;
    text-align: center;
    color: #fff;
    background: #8cc63f;
    background: -webkit-linear-gradient(left, #1a9172, #8cc63f);
    background: -moz-linear-gradient(left, #1a9172, #8cc63f);
    background: -o-linear-gradient(left, #1a9172, #8cc63f);
    background: -ms-linear-gradient(left, #1a9172, #8cc63f);
    background: -webkit-gradient(linear, left top, right top, from(#1a9172), to(#8cc63f));
    background: linear-gradient(to left, #1a9172, #8cc63f);
}

div#floatlivechat i {
    font-size: 24px;
    position: absolute;
    top: 15px;
    right: 13px;
    color: #fff;
}

span.chat {
    position: absolute;
    top: 21px;
    font-size: 10px;
    right: 16px;
}

.livechat a {
    color: #fff;
    font-family: 'Dubai', sans-serif;
    line-height: 10px;
}

.open-chat-box {
    bottom: 10px;
    opacity: 1;
}

.livechat-header.clearfix span {
    display: inline-block;
}

#exitchat {
    padding: 20px;
}

.close-chat {
    text-align: center;
}

.chat-status .option {
    padding: 7px 12px;
    border: 1px solid rgba(6,153,184,0.3);
    display: inline-block;
    margin: 5px;
    background: #fff;
    color: #06c5a6;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.8rem;
}

.ChatTitle {
    float: left;
}

.chatbox-body-message.chatbox-body-message-left.new p {
    background-color: rgba(6,153,184,0.3);
}

.chatbox-body-message.chatbox-body-message-system p {
    padding: 2px 15px;
    background-color: rgba(214, 228, 128, 0.3);
}

#Survey1, #Survey2, #Survey3 {
    display: none;
}

button.close {
    min-width: inherit;
}

[data-notify="message"] {
    display: inline-block;
}

.ae .chatbox-body-message.chatbox-body-message-left h6 {
    text-align: left;
}

.ae .livechat-header {
    text-align: left;
}

.ae .ChatTitle {
    float: right;
}

.ae .livechat-section {
    width: 490px;
    right:auto;
    left:10px;
}
.ae .live-latifa-box {
    right: auto;
    left: 10px;
}
.ae .live-chat-box {
    right: auto;
    left: 10px;
}

#startchat .form-control {
    border-radius: 0px;
}

#livechat-section button.btn-primary {
    background: #8cc63f;
    color: #fff;
    background: -webkit-linear-gradient(left, #1a9172, #8cc63f);
    background: -moz-linear-gradient(left, #1a9172, #8cc63f);
    background: -o-linear-gradient(left, #1a9172, #8cc63f);
    background: -ms-linear-gradient(left, #1a9172, #8cc63f);
    background: -webkit-gradient(linear, left top, right top, from(#1a9172), to(#8cc63f));
    background: linear-gradient(to left, #1a9172, #8cc63f);
}

span#close-chat-box {
    margin-right: 10px;
}

.option .fa.fa-circle {
    font-size: 8px;
}

.chat-status .option {
    font-size: 1rem;
}

@media only screen and (max-width: 767px) {
    .livechat-section {
        width: 300px !important;
    }
}

select#ddlworkgroup, select#ddlquery {
    padding: 3px 6px;
}

.chat-footer .chatbox-message {
    font-size: 16px;
}

.chat-footer button.submit {
    height: 52px;
}

#exitchat button.btn.btn-theme-success {
    background: #008b99;
    color: #fff;
    border-radius: 0px;
    font-size: 16px;
}

.ae span#close-chat-box {
    margin-right: 0px;
    margin-left: 5px;
}

.ae .option .fa.fa-circle {
    margin-right: 0px;
    margin-left: 5px;
    font-size: 8px;
}

.ae .chat-status .option {
    font-size: 1.15rem;
}

.chat-footer .chatbox-message {
    border: 1px solid rgba(6,153,184,0.3);
    box-shadow: 0px 2px 11px rgba(0,0,0,0.15);
}

.chat-footer button.submit {
    border: 1px solid rgba(6,153,184,0.3);
    box-shadow: 0px 2px 11px rgba(0,0,0,0.15);
}

.ae .chatbox-body-message.chatbox-body-message-system p {
    padding: 5px 15px;
}

.chatbox-body-message.chatbox-body-message-system p {
    padding: 5px 15px;
}

.color-green .chatbox-body-message-right p {
    background-color: #3b5998 !important;
}

.color-blind .chatbox-body-message-right p {
    background-color: #acacac !important;
}

.livechat-section select::-ms-expand {
    display: block;
}

.color-blind #exitchat button.btn.btn-theme-success, .color-blind button#btnClose, .color-blind button.btn.btn-danger {
    background: #acacac;
}

.color-green #exitchat button.btn.btn-theme-success, .color-green button#btnClose, .color-green button.btn.btn-danger {
    background: #3b5998;
}

.color-blind #exitchat h4 {
    color: #2d2d2d;
}

.chat-footer .chatbox-message {
    padding: 5px 10px;
}

.color-dha button[disabled][disabled] {
    background-color: #d9534f;
    border-color: #d43f3a;
}
/* Landscape */

@media (max-device-width: 820px) and (orientation: landscape) {
    .livechat {
        Display: none;
    }
}

#stars .form-group span {
    margin-right: 4px;
}





/*

@media only screen and (min-device-width: 320px) and (max-device-width: 820px) and (orientation: landscape) {
    .livechat {
        Display: none;
    }

    .livechat-section {
        Display: none;
    }
}
*/

.panel-heading:hover {
    background-color: #e3e3e3;
}
/*New Chat Changes*/
.feedback-h {
    position: fixed;
    right: 10px;
    bottom: 0px;
    background: #007780;
    color: #fff;
    width: 42%;
    z-index: 10;
    -webkit-box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.35), 0 0px 10px 0 rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.35), 0 0px 10px 0 rgba(0, 0, 0, 0.35);
    box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.35), 0 0px 10px 0 rgba(0, 0, 0, 0.35);
}

    .feedback-h div {
        line-height: 55px;
        height: 55px;
        width: 33.3333333%;
        float: left;
        text-align: center;
    }

        .feedback-h div a {
            color: #fff;
            display: block;
            cursor: pointer;
        }

            .feedback-h div a:hover {
                background: #005359;
            }

        .feedback-h div img {
            height: 35px;
            padding-right: 5px;
        }

/*RESET*/
.open-chat-box {
    bottom: 60px;
    opacity: 1;
}

#livechat-section button.btn-primary {
    background: #027780;
    color: #fff;
    /*background: -webkit-linear-gradient(left, #1a9172, #8cc63f);*/
    /*background: -moz-linear-gradient(left, #1a9172, #8cc63f);*/
    /*background: -o-linear-gradient(left, #1a9172, #8cc63f);*/
    /*background: -ms-linear-gradient(left, #1a9172, #8cc63f);*/
    /*background: -webkit-gradient(linear, left top, right top, from(#1a9172), to(#8cc63f));*/
    /*background: linear-gradient(to left, #1a9172, #8cc63f);*/
}

.livechat-header {
    background: #005359;
    /*background: -webkit-linear-gradient(left, #1a9172, #008b99);*/
    /*background: -moz-linear-gradient(left, #1a9172, #008b99);*/
    /*background: -o-linear-gradient(left, #1a9172, #008b99);*/
    /*background: -ms-linear-gradient(left, #1a9172, #008b99);*/
    /*background: -webkit-gradient(linear, left top, right top, from(#1a9172), to(#008b99));*/
    /*background: linear-gradient(to left, #1a9172, #008b99);*/
    color: #fff;
    padding: 10px;
    cursor: pointer;
    text-align: right;
}

.fancybox_smartdubai {
    position: fixed;
    bottom: 0px;
    left: 10px;
    background-color: #84be00;
    padding: 10px;
    z-index: 10;
    -webkit-box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.35), 0 0px 10px 0 rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.35), 0 0px 10px 0 rgba(0, 0, 0, 0.35);
    box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.35), 0 0px 10px 0 rgba(0, 0, 0, 0.35);
}

.live-chat-box .submit-chat-btn .theme-btn {
    width: 130px;
    height: 35px;
    line-height: 35px;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
    border: 0;
    padding: 0;
    background: #027780;
    color: #fff;
    /*background: -webkit-linear-gradient(left, #1a9172, #8cc63f);*/
    /*background: -moz-linear-gradient(left, #1a9172, #8cc63f);*/
    /*background: -o-linear-gradient(left, #1a9172, #8cc63f);*/
    /*background: -ms-linear-gradient(left, #1a9172, #8cc63f);*/
    /*background: -webkit-gradient(linear, left top, right top, from(#1a9172), to(#8cc63f));*/
    /*background: linear-gradient(to left, #1a9172, #8cc63f);*/
}

.HumanEnsureGroup .humanQuestionContainer {
    padding: 0px 0;
    margin: 0px 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, .25);
    font-size: 18px;
    font-weight: bold;
    color: #005359;
}

.chat-header {
    background: #005359;
    background-color: #005359;
    text-align: center;
    padding: 13px 15px;
    position: relative;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    /* background: -webkit-linear-gradient(left, #1a9172, #007780); */
    /* background: -moz-linear-gradient(left, #1a9172, #007780);*/
    /* background: -o-linear-gradient(left, #1a9172, #007780);*/
    /* background: -ms-linear-gradient(left, #1a9172, #007780);*/
    /* background: -webkit-gradient(linear, left top, right top, from(#1a9172), to(#007780)); */
    /* background: linear-gradient(to left, #1a9172, #007780); */
}

html[lang="ar-AE"] .feedback-h div {
    direction: rtl;
}

    html[lang="ar-AE"] .feedback-h div img {
        padding-left: 5px;
    }

/* footer styling class modification required */


@media (max-width:480px) {
    .feedback-h {
        width: calc(100% - 85px);
    }

        .feedback-h div a {
            line-height: 30px;
            padding-top: 5px;
        }

        .feedback-h div img {
            height: 25px;
            display: block;
            margin: auto;
        }
}
.chatactive {
    background: #005359;
}
.feedback-h div:nth-child(1) {
    border-right: 1px solid #005359;
}

.feedback-h div:nth-child(3) {
    border-left: 1px solid #005359;
}
.ae .feedback-h div {
    float: right;
}
    .ae .feedback-h div:nth-child(1) {
        border-left: 1px solid #005359;
        border-right: none;
        border-right: 0px;
    }

    .ae .feedback-h div:nth-child(3) {
        border-right: 1px solid #005359;
        border-left: none;
        border-left: 0px;
    }
/*ar*/
@media (max-width:560px) {
    .ae .feedback-h {
        width: calc(100% - 85px);
    }
}
/*en*/
@media (max-width:560px) {
    .feedback-h {
        width: calc(100% - 85px);
    }
}
@media (min-width:561px)and (max-width:915px) {
    .feedback-h {
        width: calc(55% - 85px);
    }
}

@media (min-width:561px)and (max-width:915px) {
    .ae .feedback-h {
        width: calc(55% - 85px);
    }
}


/*end new chat changes*/