@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2"), url("../fonts/Montserrat-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"), url("../fonts/Montserrat-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2"), url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
/* MAIN */
/* ================================================ */
.nchat {color: #393939;
  font: 400 0.875rem "Montserrat", Arial, sans-serif;
  max-width: 353px;
  width: calc(100% - 24px);
  position: absolute;
  bottom: 95px;
  left: 12px;
  display: none;
  padding-top: 40px;
  padding-bottom: 24px;
  z-index: 1000;
}
.nchat:before {
  content: "";
  border-radius: 20px;
  background: -o-linear-gradient(231deg, #3487E8 0%, #FB6CAD 100%);
  background: linear-gradient(219deg, #3487E8 0%, #FB6CAD 100%);
  -webkit-box-shadow: 0px 4px 20px 0px #000;
          box-shadow: 0px 4px 20px 0px #000;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 160px;
  z-index: -1;
}
.nchat__close {
  height: 40px;
  width: 40px;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  top: 0;
  z-index: 10;
  right: 0;
  background: none;
  padding: 0;
}
.nchat__top {
  margin-bottom: -100px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.nchat__img {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
  width: 160px;
  height: 160px;
}
.nchat__img img {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.nchat__img:after, .nchat__img:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 198.41px;
  height: 166.519px;
  border-radius: 100%;
  -webkit-transform: rotate(39.598deg);
      -ms-transform: rotate(39.598deg);
          transform: rotate(39.598deg);
  background: rgba(91, 75, 157, 0.8);
}
.nchat__img:before {
  background: #AA66A8;
  left: -32px;
  top: -5px;
}
.nchat__title {
  border-radius: 100px;
  background: #B30041;
  color: #fff;
  text-align: center;
  padding: 6px 15px;
  display: inline-block;
  margin-top: -10px;
  margin-bottom: 15px;
  position: relative;
  z-index: 3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.nchat__head {
  border-radius: 20px;
  background: #304458;
  -webkit-box-shadow: 0px 4px 20px 0px #24508A;
          box-shadow: 0px 4px 20px 0px #24508A;
  padding-top: 112px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
  max-width: 326px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.nchat__label {
  display: none;
}
.nchat__text {
  text-align: center;
  color: #C7D7F0;
}
.nchat__field {
  position: relative;
}
.nchat__field input[type=text],.nchat__field textarea {
  width: 100%;
  font-family: inherit;
  height: 40px;
  border-radius: 100px;resize:none;
  background: #EAEFF5;
  border: none;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 500;
  color: #6D849B;height: 70px;
  border-radius: 10px; padding: 10px;
}
.nchat__button {
  margin-top: 10px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  white-space: nowrap;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  background: transparent;
  border-radius: 100px;
  border: 1px solid #4F7192;
}
.nchat__button .icon {
  font-size: 18px;
}
.nchat__button:hover {
  background: #4F7192;
}
.nchat__button-second {
  display: none;
  height: 30px;
  width: 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: none;
  background: transparent;
}
.nchat__button-second .icon {
  font-size: 18px;
}
.nchat__tarif {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  position: relative;
  margin-top: 15px;
  padding-left: 15px;
}
.nchat__tarif strong {
  font-weight: 800;
  color: #0075FF;
}
.nchat__tarif-icon {
  position: absolute;
  left: -55px;
  top: -20px;
}
.nchat__inner {
  display: none;
  max-height: calc(100vh - 430px); overflow-x: hidden; position: relative;
}
.nchat._open {
  display: block;
}
.nchat._second {
  padding-top: 0;
  padding-bottom: 15px;
}
.nchat._second .nchat__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: -5px;
  text-align: left;
}
.nchat._second .nchat__img {
  width: 86px;
  height: 86px;
  margin-left: 10px;
  margin-right: 0;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}
.nchat._second .nchat__img:after, .nchat._second .nchat__img:before {
  width: 106px;
  height: 88px;
  left: -15px;
  top: 0px;
}
.nchat._second .nchat__img:after {
  left: 0;
  top: -5px;
}
.nchat._second .nchat__top-wrap {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 1px;
}
.nchat._second .nchat__title {
  margin-left: -5px;
  font-size: 11px;
  margin-top: 5px;
  padding: 8px;
  margin-bottom: 10px;
}
.nchat._second .nchat__text {
  font-size: 13px;
  line-height: 13px;
  text-align: center;
}
.nchat._second .nchat__head {
  padding-top: 10px;
  padding-bottom: 10px;
}
.nchat .nchat__label {
  display: block;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 5px;
  padding-left: 15px;
}
.nchat._second .nchat__field input[type=text],.nchat._second .nchat__field textarea {
  padding-right: 40px;
}
.nchat._second .nchat__button {
  display: none;
}
.nchat._second .nchat__button-second {
  position: absolute;
  top: 5px;
  right: 5px;
  width: auto;
  height: 30px;
  border: none;
  margin-top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.nchat._second .nchat__button-second .icon {
  color: #3487E8;
  font-size: 20px;
}
.nchat._second .nchat__button-second span {
  display: none;
}
.nchat._second .nchat__tarif {
  margin-top: 5px;
}
.nchat._second .nchat__tarif-icon {
  top: -26px;
}
.nchat._second .nchat__inner {
  display: block;
  margin: 15px 5px;
  padding: 5px 10px;
  overflow-y: auto;
}
._selectfilevz{
  border-radius: 5px;
  cursor: pointer;}
.nbot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;width: 100%;
}
.nbot__img {
  height: 30px;
  width: 30px;
  margin-right: 12px;
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  z-index: 1;
}
.nbot__img:after {
  content: "";
  display: block;
  position: absolute;
  background: url("../img/nbot-bg.png") no-repeat center;
  width: 38px;
  height: 50px;
  top: -6px;
  left: -4px;
  z-index: -1;
}
.vz_resulthtml{ line-height: 120%;font-size: 13px;  overflow: visible; }
.vz_resulthtml a{line-height: 120%;color:#000; font-size: 13px;  text-decoration: underline; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;display: inline-block;}
.nbot__img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.nbot__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 1px;
}
.nbot__name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.nbot__text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.n-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  padding: 4px;cursor: pointer;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
}
.n-author__img {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  margin-right: 12px;
}
.n-author__img img {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.n-author__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 1px;
}
.n-author__name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.n-author__text span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  max-width: 90%;
}
.n-author__text:not(.active){
overflow: hidden;
-ms-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
   text-overflow: ellipsis;
white-space: nowrap;height: 20px;overflow: hidden;
}

.btn_chat {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1000;
}
.btn_chat button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: block;
  padding: 0;
  background: #28A2D7;
}
.btn_chat button:hover {
  background: #B30041;
}

.nchat__inner::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.nchat__inner::-webkit-scrollbar-track {
  background: transparent;
}

.nchat__inner::-webkit-scrollbar-thumb {
  background: #FFF;
}

.nchat__inner::-webkit-scrollbar-button {
  display: none;
}

@media screen and (max-width: 480px) {
  .nchat {
    left: 15px;
    width: 100vw;
    bottom: 95px;
  }
  .nchat__inner {
    max-height: calc(100vh - 420px);
  }
  .btn_chat button {
    width: 40px;
    height: 40px;
  }
}
@media screen and (max-width: 900px) {
  .nchat {
    left: 15px;
    width: auto;
    max-width:450px;
    right: 15px;
    bottom: 95px;
  }
  .nchat__inner {
    max-height: calc(100vh - 420px);
  }
  .btn_chat button {
    width: 40px;
    height: 40px;
  }
}
@media screen and (min-width: 1250px) {
  .nchat__inner {min-height: calc(100vh - 420px);}
}
/* icons ============ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  position: relative;
}

.typing {
  align-items: center;
  display: flex;
  height: 17px;
}
.typing .dot {
  animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
  background-color: #FFF ; //rgba(20,105,69,.7);
  border-radius: 50%;
  height: 7px;
  margin-right: 4px;
  vertical-align: middle;
  width: 7px;
  display: inline-block;
}
.typing .dot:nth-child(1) {
  animation-delay: 200ms;
}
.typing .dot:nth-child(2) {
  animation-delay: 300ms;
}
.typing .dot:nth-child(3) {
  animation-delay: 400ms;
}
.typing .dot:last-child {
  margin-right: 0;
}

@keyframes mercuryTypingAnimation {
  0% {
    transform: translateY(0px);
    background-color:#725EA5; // rgba(20,105,69,.7);
  }
  28% {
    transform: translateY(-7px);
    background-color:#F56DAF; //rgba(20,105,69,.4);
  }
  44% {
    transform: translateY(0px);
    background-color: #725EA5; //rgba(20,105,69,.2);
  }
}
