/* Start consultant chat */
/* .main-wrp-chat {
    background-color: #E0FDD6;
} */


/*  */

.session-expired {
    display: none;
}
.bg-consultant-chat {
    position: relative;
    background-color: #c7ddc04a;
    overflow: hidden;
}


/*  */
form[name="consultant-greeting"] {
    display: none;
}

.bg-consultant-chat footer {
    display: none;
}

.consultant-chat-wrp {
    position: relative;
    min-height: 600px;
}

#consult-chat-question {
    background-color: #A7D0BA;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid transparent;
    font-size: 22px;
    border-radius: 19px 0px 0px 19px;
    outline: none !important;


}

.textarea-elements-wrp {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    border: 1px solid gray;
    border-radius: 20px;
    background-color: #a7d0ba;

    /* border-radius:24px; */

}

.block-main-wrp {
    position: relative;
}


#consult-chat-question::-webkit-scrollbar {
    width: 0px;
}

.wrp-likes {
    position: relative;
    display: flex;
    margin-top: -6px;
    justify-content: space-between;
    float: right;
    margin-right: 11px;
    width: 77px;
    color: #5e5e5e;
}

.like-plus,
.like-plus-green,
.like-minus,
.like-minus-red {
    cursor: pointer;
}


.like-plus {
    background-image: url('data: image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" color="dimgray" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-up"><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path></svg>');
    background-size: 17px;
    background-position: 6px 5px;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

.like-minus {
    background-image: url('data: image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" color="dimgray" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-down"><path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path></svg>');
    background-size: 17px;
    background-position: 6px 8px;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    border-radius: 50%;

}

.like-plus-green {
    background-image: url('data: image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="darkseagreen" color="forestgreen" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-up"><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path></svg>');
    background-size: 17px;
    background-position: 6px 5px;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

.like-minus-red {
    background-image: url('data: image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="lightcoral" color="indianred" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-down"><path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path></svg>');
    background-size: 17px;
    background-position: 6px 8px;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    border-radius: 50%;
}



.like-plus:hover,
.like-plus-green:hover {
    background-color: rgb(0 255 92 / 20%);
}

.like-minus:hover,
.like-minus-red:hover {
    background-color: rgb(255 26 0 / 16%);
}

.consultant-btn {

    background-image: url(/images/consultant/vectors/btn_sbm.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 33px;
    cursor: pointer;
    height: 33px;
    border: solid 2px transparent;
    transition: border 230ms linear 0s;
    margin: 9px 10px 11px 12px;
    float: right;
}

.consultant-btn:hover {
    border: solid 2px white;
    border-radius: 7px;
}

.consutlant-btn-wrp {
    position: absolute;
    right: 10px;
    bottom: 0px;
}


/*  End consultant chat  */

/* Start Consultant bage */
.consultatn-bage {
    position: absolute;
    width: fit-content;
    z-index: 3;
}

.inner-consult-bage {
    padding: 5px 10px;
    border-radius: 24px;
    /* margin: 20px 0px 20px 0px; */
}

.title-avator-bage {
    background: #A7D0BA;
    margin-left: 10px;
    border-radius: 24px;
    font-size: 14px;
}

.img-bage-avator {
    /* width: 48px; */
    margin-left: 22px;
    border-radius: 50%;
    box-shadow: 2px 5px 14px 4px rgb(255 255 255);
}

/* End Consultant bage */


/* End Output blocks */
.qeustion-description {
    white-space: pre-wrap;
    line-height: 32px;
    word-wrap: break-word;
    padding-top: 5px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 19px;
}



/* Start Output blocks */


/* .consultant-chat-output::-webkit-scrollbar {
    width: 3px;
} */

.wrp-question-block {
    background-color: #DBE4D7;
    padding: 5px 10px;
    border-radius: 24px;
}

.wrp-answer-block {
    background: #9DFFC3;
    padding: 5px 10px;
    border-radius: 24px;
}

.chat-expired-title {
    background: #f8dfbc;
}

.title-your-question-block {
    margin-bottom: 15px;
}

.qestion-date,
.answer-date {

    display: none;
    text-align: center;
}

.qestion-date {
    color: #9b9b9b;
}

.answer-date {
    color: #2336008c;
}

.img-answer-avator {
    /* width: 29px; */
    border-radius: 25px;
}

.wrp-question-block .img-answer-avator {
    width: 29px;
    border-radius: 25px;
}

.answer-description {
    padding-top: 5px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 19px;
}

.title-avator-block {
    margin-left: 10px;
}

.field-right-gestoriay {
    display: flex;
}



/* Animation request */


.anm {
    opacity: 0.0;
    animation: tst 400ms linear 0s forwards;
}

@keyframes tst {
    from {
        opacity: 0.0;
    }

    to {
        opacity: 1;
    }
}



.loader-consultant {
    display: flex;
    flex-wrap: wrap;
    align-content: end;
}

.loader-consultant-title {
    width: fit-content;
    color: gray;
}

.loader-consultant-animat {
    position: relative;
    width: 100px;
    display: block;
}

.loader-consultant-animat::after {
    content: '';
    top: -5px;
    right: 57px;
    background-color: transparent;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: absolute;
    color: #acacac;
    box-sizing: border-box;
    animation: animloader 1.7s linear infinite alternate;
}

.hidde-loader {
    display: none;
}

@keyframes animloader {
    0% {
        box-shadow: -23px -3px, -8px 3px, 7px -3px;
    }

    33% {
        box-shadow: -23px 3px, -8px -3px, 7px 3px;
    }

    66% {
        box-shadow: -23px -3px, -8px 3px, 7px -3px;
    }

    100% {
        box-shadow: -23px 3px, -8px -3px, 7px 3px;
    }
}

/* @keyframes animloader {
    0% {
        box-shadow: -23px -6px, -8px 6px, 7px -6px;
    }

    33% {
        box-shadow: -23px 6px, -8px -6px, 7px 6px;
    }

    66% {
        box-shadow: -23px -6px, -8px 6px, 7px -6px;
    }

    100% {
        box-shadow: -23px 6px, -8px -6px, 7px 6px;
    }
} */


.answer-description {
    line-height: 32px;
    word-wrap: break-word;
}

.answer-description h1,
.answer-description h2,
.answer-description h3 {
    margin-top: 0px;
    margin-bottom: .5rem;
    line-height: 1.2;
}


.inner-menu-btns {
    background-color: #B3D6C3;
    cursor: pointer;
    transition: background-color 170ms linear 0s;
    color: #232323;
}

.inner-elem-right {
    background-color: #B3D6C3;
    color: #232323;
    text-align: center;
    text-transform: uppercase;
}

.inner-menu-btns:hover {
    background-color: #7fbd9b;

}

/* Media queryes */


@media screen and (min-width: 1350px) {

    .chat-content {
        width: 100% !important;
    }

    .main-wrp-chat {
        display: flex;
        justify-content: start;
        height: 84vh;
    }

    .chat-left-bar {
        width: 15%;
        padding-top: 13px;
        min-height: 750px;
        background-color: #DAE9D5;
    }

    .cons-right-columnt {
        margin-top: 8px;
        width: 14%
    }


    .wrp-question-block {
        margin: 20px 0px 20px 0px;
    }

    .wrp-answer-block {
        margin: 20px 0px 20px 0px;
    }

    .inner-menu-btns {
        width: 195px;
        padding: 2px;
        margin: 5px auto;
        border-radius: 25px;
        line-height: 25px;
        font-size: 13px;
        text-align: center;
    }

    .inner-elem-right {
        width: 85%;
        padding: 2px;
        margin: 5px auto 5px auto;
        border-radius: 25px;
        line-height: 22px;
        font-size: 16px;
    }

    .img-download {
        width: 24px;
        margin-top: -5px;
        margin-right: 4px;
        margin-left: -3px;
    }

    .consultant-chat-wrp {
        min-height: 500px;
        width: 71%;
        padding: 3% 0% 0% 10%;
    }

    .cunsultant-chat-form {
        width: 59%;
        float: right;
        position: fixed;
        bottom: 5px;
    }

    .main-wrp-qestion,
    .main-wrp-qestion-greeting {
        float: left;
        min-width: 17%;
        max-width: 100%;
    }

    .main-wrp-qestion-greeting {
        margin-top: 20vh;
    }

    .block-main-wrp {
        float: right;
        min-width: 17%;
        max-width: 100%;
    }

    .clear-floats-answer {
        width: 100%;
        clear: both;
    }

    .consultatn-bage {
        top: 14px;
        right: 1%;
    }

    .field-right-gestoriay .img-bage-avator {
        margin-left: 10px;
        margin-right: 6px;
    }

    .field-right-gestoriay .inner-elem-right {
        width: 63%;
        height: 30px;
        margin: 10px auto 5px auto;
        line-height: 27px;
        font-size: 14px;
    }

    .consultatn-bage .img-bage-avator {
        display: none;
    }

    .consultatn-bage .title-avator-bage {
        position: relative;
        display: block;
        width: 112px;
        height: 30px;
        text-align: center;
        line-height: 28px;
    }

    .consultatn-bage .title-avator-bage::after {
        content: '';
        position: absolute;
        top: 13px;
        left: 120px;
        width: 13%;
        height: 100%;
        border-top: 1px solid #658775c2;
    }

}

@media screen and (min-width: 1000px) and (max-width: 1350px) {

    .main-wrp-chat {
        display: flex;
        justify-content: space-between;
        height: 85vh;
    }

    .chat-content {
        width: 100% !important;
    }

    .chat-left-bar {
        width: 20%;
        padding-top: 13px;
        min-height: 750px;
        background-color: #CCE2C5;
    }

    .cons-right-columnt {
        width: 18%;
        margin-top: 10px;
    }

    .wrp-question-block {
        margin: 20px 0px 20px 0px;
    }

    .wrp-answer-block {
        margin: 20px 0px 20px 0px;
    }

    .consultant-chat-wrp {
        min-height: 500px;
        width: 62%;
        padding: 3% 0% 0% 4%;
    }

    .inner-menu-btns {
        width: 191px;
        padding: 2px;
        margin: 5px auto;
        border-radius: 25px;
        line-height: 25px;
        font-size: 13px;
        text-align: center;
    }

    .inner-elem-right {
        width: 85%;
        padding: 2px;
        margin: 5px auto;
        border-radius: 25px;
        line-height: 22px;
        font-size: 16px;
    }

    .field-right-gestoriay .img-bage-avator {
        margin-left: 10px;
    }

    .field-right-gestoriay .inner-elem-right {
        width: 63%;
        height: 28px;
        padding: 2px;
        margin: 11px auto 5px auto;
        border-radius: 25px;
        line-height: 24px;
        font-size: 14px;
    }

    .img-download {
        width: 24px;
        margin-top: -7px;
        margin-right: 4px;
        margin-left: -3px;
    }

    .cunsultant-chat-form {
        width: 56%;
        position: fixed;
        bottom: 5px;
    }

    .main-wrp-qestion,
    .main-wrp-qestion-greeting {
        float: left;
        min-width: 17%;
        max-width: 100%;
    }

    .main-wrp-qestion-greeting {
        margin-top: 20vh;
    }

    .block-main-wrp {
        float: right;
        min-width: 17%;
        max-width: 100%;
    }

    .clear-floats-answer {
        width: 100%;
        clear: both;
    }

    .consultatn-bage {
        top: 16px;
        right: 1%;
    }

    .consultatn-bage .img-bage-avator {
        display: none;
    }

    .consultatn-bage .title-avator-bage {
        position: relative;
        display: block;
        width: 112px;
        height: 27px;
        line-height: 27px;
        text-align: center;
    }

    .consultatn-bage .title-avator-bage::after {
        content: '';
        position: absolute;
        top: 13px;
        left: 117px;
        width: 13%;
        height: 100%;
        border-top: 1px solid #658775c2;
    }

}

@media screen and (min-width: 1000px) {

    .consultant-chat-wrp {
        max-height: 80vh;
    }

    /* .cunsultant-chat-form {
        width: 58%;
        float: right;
        position: fixed;
        bottom: 5px;
    } */

    #consult-chat-question {
        width: 92%;
    }

    .chat-men-mob-btn,
    #offcanvasMobileChatMenu {
        display: none;
    }

    .consultant-chat-output {
        height: 75vh;
        padding-right: 20px;
        padding-bottom: 7%;
        overflow-y: scroll;

    }

    .bg-consultant-chat::before {
        content: '';
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        opacity: 0.4;
        background-image: url(/images/consultant/back_img.png);
        z-index: -1
    }

    .consultant-chat-output::-webkit-scrollbar {
        width: 11px;
        border-radius: 3px;
        background-color: #DFE4D9;
    }

    /* Track */
    .consultant-chat-output::-webkit-scrollbar-track {
        background: #A9A6A61F;

    }

    /* Handle */
    .consultant-chat-output::-webkit-scrollbar-thumb {
        background: #81A89378;
        border-radius: 3px;
    }

    .chat-ended, .btn-clear-sess-reload {
        background-color: #51878dcc !important;
        border-color: #7f7f7f !important;
        display: block;
        height: 33px;
        line-height: 21px;
        width: 79px;
        color: white;
        margin: 0px auto 5px auto;
        font-size: 19px;
        transition:background-color 200ms linear 0s;
    }

    .chat-ended:hover, .btn-clear-sess-reload:hover {
        background-color: #296f77cc !important;
    }

}

@media screen and (max-width: 1000px) {



    .chat-content {
        position: relative;
        min-height: 60vh !important;
        max-height: 90vh !important;
        overflow: hidden !important;
    }

    .chat-left-bar,
    .cons-right-columnt {
        display: none;
    }

    .wrp-question-block {
        margin: 10px 0px 10px 0px;
    }

    .wrp-answer-block {
        margin: 10px 0px 10px 0px;
    }

    .bg-consultant-chat::before {
        content: '';
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        opacity: 0.4;
        background-image: url(/images/consultant/back_img_mb.png);
        z-index: -1
    }


    .cunsultant-chat-form {
        position: fixed;
        width: 92%;
        display: block;
        margin-left: 2%;
        display: block;
        bottom: 3px;
        margin: 0% 1%;
        padding-top: 10px;
    }

    #consult-chat-question {
        width: 86%;
    }


    .consultant-chat-wrp {
        min-height: 60px;
    }


    .bg-consultant-chat .btn-close {
        /* float: right; */
        position: absolute;
        top: 19px;
        right: 6%;
    }

    .img-mob-btn {
        width: 20px;
        height: 20px;
        margin-top: -25px;
    }

    #offcanvasMobileChatMenu {
        background-color: white;
    }

    .inner-menu-btns {
        width: 100%;
        padding: 5px;
        margin: 5px 0px;
        line-height: 25px;
        font-size: 17px;
        background-color: #b3d6d059;
    }

    .img-download {
        width: 26px;
        margin-top: -3px;
        margin-right: 4px;
    }

    .main-wrp-qestion,
    .main-wrp-qestion-greeting {
        float: left;
        min-width: 17%;
        max-width: 100%;
    }

    .main-wrp-qestion-greeting {
        margin-top: 10vh;
        float: left;
        min-width: 50%;
        max-width: 100%;
    }

    .block-main-wrp {
        float: right;
        min-width: 17%;
        max-width: 100%;
    }

    .clear-floats-answer {
        width: 100%;
        clear: both;
    }

    .consultant-chat-output {
        min-height: 20vh;
        height: 72vh;
        padding-right: 3%;
        padding-bottom: 60px;
        overflow-y: scroll;
    }

    .consultant-chat-output::-webkit-scrollbar {
        display: none;
    }

    .consultatn-bage {
        top: -50px;
        right: -4%;
    }

    .consultatn-bage .title-avator-bage {
        display: inline-block;
        width: 112px;
        height: 27px;
        line-height: 27px;
        text-align: center;
    }

    .chat-ended, .btn-clear-sess-reload {
        display: block;
        background-color: #51878dcc !important;
        border-color: #7f7f7f !important;
        height: 33px;
        line-height: 21px;
        width: 79px;
        color: white;
        margin: 0px auto 5px auto;
        font-size: 19px;
    }

}
