﻿/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

body {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* .widget_consultant{
    position: fixed;
} */
.btn_cons_wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #EF7F11;
    border: 4px solid #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-animation: spinner 1s 1;
    animation: spinner 1s 1;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
    left: 91%;
    top: 85vh;
}

.cons_wrapper_mess_count {
    position: absolute;
    top: -5%;
    right: -5%;
    width: 20px;
    height: 20px;
    color: white;
    background-color: red;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 16px;
}

@-webkit-keyframes spinner {
    0% {
        /* -webkit-transform: rotate3d(1, 1, 1, 0deg);
       -ms-transform: rotate3d(1, 1, 1, 0deg);
       -o-transform: rotate3d(1, 1, 1, 0deg);
       transform: rotate3d(1, 1, 1, 0deg); */
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    100% {
        /* -webkit-transform: rotate3d(1, 1, 1, 360deg);
       -ms-transform: rotate3d(1, 1, 1, 360deg);
       -o-transform: rotate3d(1, 1, 1, 360deg);
       transform: rotate3d(1, 1, 1, 360deg); */
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

@keyframes spinner {
    0% {
        /* -webkit-transform: rotate3d(1, 1, 1, 0deg);
       -ms-transform: rotate3d(1, 1, 1, 0deg);
       -o-transform: rotate3d(1, 1, 1, 0deg);
       transform: rotate3d(1, 1, 1, 0deg); */
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    100% {
        /* -webkit-transform: rotate3d(1, 1, 1, 360deg);
       -ms-transform: rotate3d(1, 1, 1, 360deg);
       -o-transform: rotate3d(1, 1, 1, 360deg);
       transform: rotate3d(1, 1, 1, 360deg); */
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

.message_box {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 28px;
    background: #fff;
}

.wgt_avatar {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    border-radius: 50%;
    position: relative;
}

.message_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: calc(100% - 55px);
}

.widget_dialog {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -.35px;
    color: #2f2e39;
    text-align: left;
    margin-bottom: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    margin-top: 0;
    max-width: 300px;
    font-family: Arial, Helvetica, sans-serif;
}

.widget_dialog p {
    margin: 0 !important;
}

.message_body {
    background: #f3f4f7;
    border-radius: 8px;
    padding: 20px 25px;
    max-width: 350px;
}

.form_box_area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.text_area_send_msg {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.send_btn {
    width: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* padding-bottom: 4px; */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: inherit;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.text {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1, sans-serif' letter-spacing='-0.35px'>Введите ваш вопрос...</text></svg>");
    background-repeat: no-repeat;
    background-position-y: 3px;
    width: 100%;
    border: none;
    resize: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 14px !important;
    min-height: 25px !important;
    line-height: 22px !important;
    letter-spacing: -.35px;
    padding: 0 5px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif !important;
}

.text:focus {
    outline: none
}

.submit_btn_step_one {
    width: 30px;
    height: 30px;
    background: #EF7F11;
    border-radius: 50%;
    display: grid;
    justify-content: center;
    align-items: center;
    border: 0 !important;
    cursor: pointer;
}

.submit_btn_step_one svg {
    width: 14px;
    height: 14px;
    margin-right: -2px
}

/* .send_btn button {
    border: none;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    margin: 0;
} */

.submit_btn_smile {
    padding-left: 0;
    padding-right: 15px;
}

button:focus {
    outline: none;
}

.text_area:active {
    content: ''
}

.cons_wrapper_mess_count {
    pointer-events: none;
}

.symb_status .symb_len {
    font-size: 11px;
    color: red;
    mix-blend-mode: normal;
    opacity: .5;
    border-bottom: 2px solid #e0e3eb;
    border-radius: 3px;
    padding: 5px 0;
    position: relative;
}

.symb_status {
    display: none;
}

.symb_indicator {
    margin-top: -2px;
    z-index: 99;
    border-bottom: 2px solid #de4949;
}

.symb_wrapper {
    width: 100%;
}

textarea:focus {
    outline: none;
}

.success {
    border-bottom: 2px solid green;
}

.fromuser {
    background: #EF7F11;
    margin-left: auto;
    max-width: 350px
}

.fromuser p {
    color: #fff !important;
}

.consultant_avatar:nth-child(2) {
    margin-right: 0px !important;
}

.hide {
    display: none !important;
}

.form_input {
    position: relative;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.frm_success {
    background: none;
    border: 1px solid #67cc43 !important;
    color: #67cc43 !important;
}

.form_input input {
    width: 100%;
    height: 49px;
    display: block;
    font-size: 14px;
    line-height: 22px;
    color: #99989b;
    padding: 0 33px 0 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #e5e5e8;
    border-radius: 6px;
    background-color: #f1f1f1;
}

.form_input input:focus {
    outline: none;
}

.privacy_policy_text {

    font-size: 11px;
    line-height: 12px;
    color: #a1a3aa;
    text-align: left;
    text-decoration: none;
}

.form_buttons {
    padding-top: 9px;
}

.form_buttons button {
    display: block;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #EF7F11;
    border: none;
    position: relative;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    -webkit-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s;
    padding: 14px 10px;
    cursor: pointer;
}

.form_success {
    position: absolute;
    bottom: 46%;
    width: 14px;
    height: 11px;
    right: 16px;
    display: none;
}

.input_warning {
    border-color: #f99 !important;
    color: #f99 !important;
}

.input_warning_path {
    stroke: #f99 !important;
}

.active {
    pointer-events: all;
    display: block;
}

.disabled {
    pointer-events: none;
}

.btnDisable {
    position: absolute;
    z-index: -9999;

}

.padingBtm {
    padding-bottom: 0px !important;
}

.text {
    border-bottom: 2px solid grey;
}

.btn_cons_wrapper {
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.dialog {
    z-index: 9999;
    cursor: pointer;
    position: fixed;
    right: 10%;
    top: 85vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    background-color: #fff;
    padding: 5px;
    -webkit-box-shadow: 0 20px 23px 13px rgba(147, 148, 149, .15);
    box-shadow: 0 20px 23px 13px rgba(147, 148, 149, .15);
    margin-bottom: 2px !important;
    width: 330px;
    height: 64px;
    border-radius: 5px;
    display: none;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.consultant_body_mess {

    -webkit-transition: max-height .4s;

    -o-transition: max-height .4s;

    transition: max-height .4s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 400px;
    padding-bottom: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
}

.consultant_body_mess {
    -webkit-transition: scroll .4s;
    -o-transition: scroll .4s;
    transition: scroll .4s;
}

.consultant_body_mess::-webkit-scrollbar-thumb {
    border: 2px solid grey;
}

.consultant_body_mess::-webkit-scrollbar {
    width: 4px;
}

.consultant_body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    display: none;
    position: absolute;
    /* width: 30%; */

    bottom: 20%;
    right: 2%;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    font-family: Arial, Helvetica, sans-serif;
}

.consultant_body_head {
    height: 80px;
    margin-top: 20px;
    -webkit-box-shadow: 0 -2px 16px rgba(0, 0, 0, .26);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, .26);
    /* background: -webkit-gradient(linear, left top, right top, from(#254bde), to(#062ca6));
    background: -o-linear-gradient(left, #254bde, #062ca6);
    background: linear-gradient(90deg, #254bde, #062ca6); */
    background-color: #EF7F11;
    width: 100%;
    padding: 0 28px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    box-sizing: border-box;
}

.consultant_body_send {
    border-top: 1px solid rgba(193, 192, 196, .5);
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #fff;
    padding: 25px;
    margin-top: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 -20px 20px 4px hsla(0, 0%, 67.1%, .15) !important;
    box-shadow: 0 -20px 20px 4px hsla(0, 0%, 67.1%, .15) !important;
    position: absolute;
    bottom: 0;
    width: calc(100%);
    box-sizing: border-box;
}

*,
:after,
:before {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}


.btn_cons_wrapper,
.consultant_body {
    z-index: 9999;
    position: fixed;
}

.dialog ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 11px;
    margin-bottom: 0rem !important;
}

.dialog ul p {
    font-size: 14px;
    line-height: 14px !important
}

.consultant_status {
    margin-left: 10px;
}

@media screen and (max-width: 1024px) {
    /* .btn_cons_wrapper {
        top: 78vh;
    } */
}

@media screen and (max-width: 768px) {
    .btn_cons_wrapper {
        left: 85%;
        top: 82vh;
    }

    .dialog {
        width: 290px;
        top: 82vh;
        right: 17% !important;
    }

    .consultant_body_mess {
        height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .btnone {
        display: none;
    }

    .consultant_body_head {
        margin-top: 80px;
        border-radius: 0;
    }

    .mb-2 {
        margin-bottom: 200px;
    }
}

@media screen and (max-width: 430px) {
    .consultant_body {
        right: 0;
        bottom: 0% !important;
        height: 100vh;
    }

    .btn_cons_wrapper {
        left: 80%;
        top: 78vh;
    }

    .dialog {
        right: 25% !important;
        width: 280px;
        top: 78vh
    }

    .consultant_body_mess {
        height: calc(100vh - 160px);
    }
}

@media screen and (max-width: 375px) {
    .dialog {
        right: 20% !important;
        width: 270px;
        top: 78vh;
    }

    .dialog ul {
        font-size: 9px;
    }

    .widget_dialog {
        font-size: 11px !important;
    }

    .d_img {
        display: block;
    }

}

@media screen and (max-width: 360px) {
    .d_img {
        /* display: none; */
    }

    .dialog {
        right: 23% !important;
        width: 240px;
        top: 78vh;
    }
}

div ul li a {
    color: #007bff;
    text-decoration: none;
}

.privacy {
    text-decoration: underline;
}

.privacy {
    cursor: pointer;
}

.wdgt_shadow {
    width: 0px;
    height: 0px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    -webkit-transform: translateZ(0px);
    transform: translateZ(0px);
    -webkit-box-shadow: rgba(34, 40, 51, 0.47) 0px -25px 350px 400px;
    box-shadow: rgba(34, 40, 51, 0.47) 0px -25px 350px 400px;
    -webkit-transition: -webkit-box-shadow 0.3s ease-in-out 0s;
    transition: -webkit-box-shadow 0.3s ease-in-out 0s;
    -o-transition: box-shadow 0.3s ease-in-out 0s;
    transition: box-shadow 0.3s ease-in-out 0s;
    transition: box-shadow 0.3s ease-in-out 0s, -webkit-box-shadow 0.3s ease-in-out 0s;
    z-index: 999;
}

.mt-2 {
    margin-top: 15px;
}

.autocomplete {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* 
input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
} */

input[type=text] {
    /* background-color: #f1f1f1; */
    /* width: 100%; */
}

input[type=submit] {
    /* background-color: DodgerBlue; */
    color: #fff;
    cursor: pointer;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    text-align: start;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.activ {
    display: block;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.body_head_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.head_consultant_close {
    visibility: visible;
    opacity: .5;
    background: transparent;
    margin-top: 10px;
    cursor: pointer;
}

.btn_consultant {
    cursor: pointer;
}

.head_content_consultant {
    display: grid;
    grid-template-columns: max-content max-content;
}

.consultant_info {
    display: grid;
    align-content: center;
    grid-row-gap: 5px;
    grid-template-rows: max-content max-content;
}

.consultant_info h4 {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 18px;
    /* margin-bottom: 5px; */
}

.consultant_avatar {
    position: relative;
    margin-right: 15px;
}

.consultant_avatar img {
    border-radius: 50%;
}

.consultant_avatar:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #92c97a;
    border-radius: 50%;
    border: 2px solid #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    bottom: 0;
    right: 5%;
}

.consultant_info span {
    color: #ffffff;
    font-size: 13px;
}

.btn_consultant,
.head_consultant_close {
    cursor: pointer;
    touch-action: manipulation;
}