* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
ol,
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #fff;
}
.forgot_password:hover {
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
  color: #fff;
}
a:active {
  text-decoration: none;
  color: #fff;
}
a.info {
  color: #000;
}
a.info:hover {
  color: #000;
}
button,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #ffffff;
}
html,
body {
  width: 100%;
  overflow-y: hidden;
  background: linear-gradient(0deg, #000000, #000000), #FFFFFF;
}
html {
  font-size: 0.694444vw;
  font-family: Roboto, 'sans-serif';
}
.wrapper {
  display: flex;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
}
.column-1 {
    width: 20%;
}
.column-2 {
    width: 80%;
}
.userpic {
  width: 3.7rem;
  height: 3.7rem;
  margin-right: 1rem;
  border-radius: 100%;
  overflow: hidden;
}
.userpic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header {
  height: 6%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #E0E0E0;
}
.header__user {
  margin-left: 2.5rem;
  display: flex;
  align-items: center;
}
.header__user-info {
  font-size: 1.2rem;
}
.header__user-name {
  color: #fff;
  font-size: 2.4rem;
  line-height: 2.8rem;
  font-weight: bold;
}
.header__user-status {
  position: relative;
  padding-left: 1rem;
  color: #888888;
}
.header__user-status::before {
  content: '';
  position: absolute;
  background: #00980F;
  width: 0.5rem;
  height: 0.5rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 100%;
  border: 0.1rem solid #fff;
}
.header__controls {
  margin-right: 5rem;
  display: flex;
  align-items: center;
}
.header__control {
  width: 3.7rem;
  height: 3.7rem;
  margin-left: 1.5rem;
  cursor: default;
}
.header__control_cam {
    background: url(/fav/lw/img/tt/02/cam.svg) no-repeat center center;
    background-size: 100%;
}
.header__control_phone {
    background: url(/fav/lw/img/tt/02/phone.svg) no-repeat center center;
    background-size: 100%;
}
.header__control_add {
    background: url(/fav/lw/img/tt/02/add.svg) no-repeat center center;
    background-size: 100%;
}
.side {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #1F1F1F;
}
.side__item-ic {
  width: 6rem;
  height: 6rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #edeff8;
  border-radius: 1rem;
}
.side__item_active .side__item-ic {
  background: #1FCA74;
  box-shadow: 0 6px 12px rgba(16, 27, 79, 0.205333);
}
.side__item-text {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.4rem;
  text-align: center;
  color: #9B9B9B;
}
.side__item-ic:nth-child(1) svg {
  width: 2.2rem;
  height: 3.5rem;
}
.side__item-ic:nth-child(2) svg {
  width: 3.5rem;
  height: 3rem;
}
.side__item-ic:nth-child(3) svg {
  width: 2.9rem;
  height: 3.4rem;
}
.side__item-ic:nth-child(4) svg {
  width: 3.4rem;
  height: 3.4rem;
}
.message {
  position: relative;
  margin: 3rem 2.5rem;
  padding-left: 8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 6rem;
}
.message__text {
  height: 3.9rem;
  position: relative;
  padding-left: 1.5rem;
  padding-right: 2.5rem;
  display: flex;
  align-items: center;
  background: #1F2224;
  border-radius: 0 1rem 1rem 1rem;
  font-size: 1.6rem;
  line-height: 1.9rem;
  color: #fff;
}
.message__emoji {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  right: -2.5rem;
  top: 0.4rem;
  background: url(/fav/lw/img/tt/02/emoji.svg) no-repeat center center;
  background-size: 100%;
  cursor: default;
}
.message__userpic {
  width: 6rem;
  height: 6rem;
  position: absolute;
  left: 0;
  top: 0;
}
.message_typing .message__userpic {
  position: absolute;
  left: 0;
  top: 0;
}
.message__time {
  width: 2.6rem;
  height: 0.7rem;
  position: relative;
  top: 1.6rem;
  left: 1rem;
  background: url(/fav/lw/img/tt/02/now.svg) no-repeat center center;
  background-size: 100%;
  align-self: flex-start;
}
.message_typing .message__text {
  min-height: 3.9rem;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  flex: 0;
  align-items: center;
  justify-content: center;
}
.message_typing {
  padding-left: 8rem;
  flex-direction: column;
  align-items: flex-start;
}
.message_typing__item {
  width: 0.8rem;
  height: 0.8rem;
  display: block;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: #fff;
  animation: 1s linear 0.1s typing infinite;
}
.message_typing__item:nth-child(2) {
  animation: 1s linear .2s typing infinite;
  
}
.message_typing__item:nth-child(3) {
  animation: 1s linear .4s typing infinite;
}
.message__uploading {
  font-size: 1.2rem;
  color: #8B8D91;
}
.input__wrapper {
  position: relative;
  max-width: 100%;
  display: flex;
  align-items: center;
  margin: 0 15rem;
  padding: 1.3rem 2.5rem;
  background-color: #000000;
}
.scroll-container {
  height: 100%;
  overflow-y: scroll;
}
.scroll-container::-webkit-scrollbar {
  width: 7px;
  background-color: #1F1F1F;
}
.scroll-container::-webkit-scrollbar-thumb {
  background-color: #2B2C33;
}
.main {
  height: 94%;
  max-height: 94%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.input {
  width: 100%;
  font-size: 2.2rem;
  height: 5rem;
  border-radius: 5rem;
  border: none;
  background: #2B2C33;
  margin-right: 1.5rem;
  color: #fff;
  padding-left: 5rem;
}

@keyframes typing {
  0% {transform: scale(1);}
  50% {transform: scale(1);}
  75% {transform: scale(1.5);}
  100% {transform: scale(1);}
}
.modal {
  width: 35rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  border-radius: 10px;
  z-index: 5;
  padding: 3.5rem 3rem;
  text-align: center;
  display: none;
}
.modal__backdrop {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 4;
  display: none;
}
.modal__header {
  font-weight: bold;
  font-size: 2.4rem;
  line-height: 2.8rem;
  color: #000000;
  margin-bottom: 3rem;
}
.with-timer {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 2.2rem;
}
.modal__sub-header {
  font-size: 1.172rem;
  margin-bottom: 1rem;
}
.modal__sub-header--bottom {
  font-size: 1.172rem;
  margin-bottom: 3rem;
}
.modal__button {
  position: relative;
  width: 100%;
  display: block;
  padding: 1.5rem;
  text-align: center;
  border-radius: 1rem;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 2.1rem;
  color: #FFFFFF;
  cursor: pointer;
  margin-bottom: 1.5rem;
  border: none;
}
.modal__button.green_button{
  background: #0D8E41;
}
.modal__button.blue_button{
  background: #1A75BC;
}
.modal__text {
  font-size: 1.2rem;
  line-height: 1.6rem;
  text-align: center;
  color: #000000;
}
.modal__input {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  font-size: 1.6rem;
  line-height: 1.9rem;
  height: 4rem;
  border: none;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  margin-top: -1rem;
}
.modal__input_error {
  box-shadow: 0 0 2px rgba(255, 0, 0, 0.75);
}
span.errors{
  color: red;
}
.side__search {
  height: 6%;
  display: flex;
  align-items: center;
}
.side__input {
  width: 95%;
  background: #000 url(/fav/lw/img/tt/02/search.svg) no-repeat center left 1.2rem;
  background-size: 1.5rem;
  font-weight: normal;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 0.5rem;
  color: #939393;
  height: 70%;
  padding-left: 3.7rem;
  margin: 2.5% auto;
}
.side__item-info {
  height: 5.1rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.side__item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.5rem;
  cursor: default;
}
.side__item_bg {
  background: #2D333A;
}
.side__item:hover {
  background: #2D333A;
}
.side__item .userpic {
  width: 4.5rem;
  height: 4.5rem;
  margin-right: 1rem;
}
.side__item-name {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.side__item-message {
  font-size: 1.4rem;
  color: #858585;
}
.side__item-date {
  position: absolute;
  right: 0.5rem;
  top: 0.3rem;
  font-size: 1.4rem;
  color: #858585;
}
.input__ic {
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  margin-right: 0.5rem;
  background-size: 100%;
  border-radius: 50rem;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: default;
}
.input__more {
  background-image: url(/fav/lw/img/tt/02/more.svg);
}
.input__voice {
  background-image: url(/fav/lw/img/tt/02/voice.svg);
}
.input__images {
  background-image: url(/fav/lw/img/tt/02/images.svg);
}
.input__user-card {
  background-image: url(/fav/lw/img/tt/02/user-card.svg);
}
.input__emoji {
  background-image: url(/fav/lw/img/tt/02/emoji-chat.svg);
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
}
.input__like {
  background-image: url(/fav/lw/img/tt/02/like.svg);
  border-radius: 0;
  width: 2.2rem;
  min-width: 2.2rem;
  height: 2.3rem;
  margin-right: 0;
  margin-left: 1.5rem;
}
.bottom {
  height: 3%;
  padding-right: 5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #2B2C33;
}
.bottom a {
  font-weight: 500;
  font-size: 1.2rem;
  color: #FFFFFF;
  opacity: 0.5;
  display: inline-block;
}
.privacy {
  margin-right: 3rem;
  position: relative;
}
.privacy::after {
  position: absolute;
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background: #fff;
  right: -1.8rem;
  top: 0.5rem;
  border-radius: 100%;
}
/*For FullHD and bigger*/
@media screen and (min-width: 1980px) {
  body {
    width: 100vw;
  }
  .wrapper {
    width: 70%;
    margin: 0 auto;
  }
}
/*For small screens and laptops*/
@media screen and (max-width: 1366px) {
  .header {
    height: 10%;
  }
  .header__user-name {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
  }
  .header__user-status {
    font-size: 1.6rem;
    padding-left: 1.2rem;
  }
  .header__user-status::before {
    width: 0.8rem;
    height: 0.8rem;
  }
  .header__control {
    width: 4.5rem;
    height: 4.5rem;
  }
  .main {
    height: 90%;
  }
  .side__search {
    height: 10%;
  }
  .side__input {
    font-size: 1.8rem;
    padding-left: 3.7rem;
  }
  .message {
    height: 10rem;
    padding-left: 12rem;
  }
  .message__userpic {
    width: 10rem;
    height: 10rem;
  }
  .message__uploading {
    font-size: 2.3rem;
    line-height: 3rem;
  }
  .message__text {
    height: 5rem;
    font-size: 2.6rem;
    line-height: 1.9rem;
    color: #fff;
  }
  .message__emoji {
    width: 2.5rem;
    height: 2.5rem;
    right: -3.5rem;
  }
  .side__input {
    height: 50%;
  }
  .side__item {
    padding: 1rem;
  }
  .side__item .userpic {
    width: 6.5rem;
    height: 6.5rem;
  }
  .side__item-name {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .side__item-message {
    font-size: 1.8rem;
  }
  .side__item-date {
    font-size: 1.8rem;
  }
  .input {
    font-size: 1.8rem;
    height: 6rem;
    border-radius: 6rem;
    margin-right: 4rem;
    padding-left: 6.5rem;
  }
  .input__wrapper {
    margin: 0 5rem;
  }
  .input__ic {
    width: 5rem;
    height: 5rem;
    min-width: 5rem;
    margin-right: 1rem;
  }
  .input__emoji {
    left: 3rem;
  }
  .bottom {
    height: 5%;
  }
  .bottom a {
    font-size: 1.6rem;
  }
  .with-timer {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 2.2rem;
  }
  .modal__sub-header {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  .modal__sub-header--bottom {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }
}
/*For mobile devices*/
@media screen and (max-width: 767px) {
  .bottom {
    display: none;
  }
  html {
    font-size: 2.66668vw;
  }
  .column-1 {
    display: none;
  }
  .column-2 {
    width: 100vw;
  }
  .header {
    padding-left: 1.5rem;
  }
  .header__user {
    margin-left: 0;
  }
  .header__user-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  .header__user-status {
    font-size: 1.4rem;
    padding-left: 1.4rem;
  }
  .message {
    height: 7rem;
    margin: 1.5rem 1rem;
    padding-left: 6rem;
  }
  .message__userpic {
    width: 5rem;
    height: 5rem;
  }
  .message__uploading {
    font-size: 1.4rem;
    line-height: 2.5rem;
    left: 7.4rem;
  }
  .header__controls {
    margin-right: 0;
  }
  .header__control {
    width: 4rem;
    height: 4rem;
    margin-left: 0;
    margin-right: 1.5rem;
  }
  .header__buttons {
    width: 12.3rem;
    height: 2.3rem;
    display: block;
    background: url(/fav/lw/img/tt/02/header.svg) no-repeat center center;
    background-size: 100%;
    position: absolute;
    right: 1rem;
  }
  .main {
    height: 90%;
  }
  .message__text {
    padding: 0.9rem;
    font-size: 1.4rem;
    line-height: 1.6rem;
    height: 4.5rem;
  }
  .message__time {
    top: 1.2rem;
    left: 1rem;
  }
  .header__user-name {
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1.8rem;
    line-height: 2.1rem;
    font-weight: normal;
  }
  .input__wrapper {
    margin: 0;
    padding: 1.5rem 1rem;
    border-top: 1px solid #E5E5E5;
  }
  .input__ic {
    width: 5rem;
    height: 5rem;
    margin-left: 0.5rem;
    margin-right: 0;
  }
  .input__gif, .input__page, .input__image {
    display: none;
  }
  .input__emoji {
    width: 4rem;
    height: 4rem;
    min-width: 3rem;
    left: 1rem;
  }
  .input__like {
    background-image: url(/fav/lw/img/tt/02/send.svg);
    margin-left: 1rem;
    margin-right: 0;
  }
  .message__emoji, .input__more, .input__user-card {
    display: none;
  }
  .message_typing .message__text {
    min-height: 3rem;
  }
  .input {
    height: 5rem;
    margin-right: 1rem;
  }
  .modal {
    width: 25rem;
    padding: 2rem;
  }
  .modal__header {
    font-size: 2.2rem;
    line-height: 2.3rem;
  }
  .with-timer {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 2rem;
  }
  .modal__sub-header {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .modal__sub-header--bottom {
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }
}
@media screen and (max-width: 359px) {
  .header {
    height: 10%;
  }
  .header__user-name {
    font-size: 5rem;
    line-height: 4.1rem;
  }
  .header__user-status {
    font-size: 2.5rem;
  }
  .header__user-status::before {
    width: 1rem;
    height: 1rem;
  }
  .header__control {
    width: 7rem;
    height: 7rem;
  }
  .main {
    height: 90%;
  }
  .message__userpic {
    width: 8rem;
    height: 8rem;
  }
  .message {
    height: 9rem;
    padding-left: 9rem;
  }
  .message__uploading {
    font-size: 2.4rem;
    line-height: 3.5rem;
  }
  .message__text {
    font-size: 2.4rem;
  }
  .input__wrapper {
    padding: 2.8rem 1rem;
  }
}
@media screen and (max-width: 767px) and (max-height: 568px) {
  .bottom {
    display: none;
  }
  html {
    font-size: 1.66668vw;
  }
  .column-1 {
    display: none;
  }
  .column-2 {
    width: 100vw;
  }
  .header {
    height: 15%;
  }
  .main {
    height: 85%;
  }
  .input__wrapper {
    padding: 0.8rem 1rem;
  }
  .modal {
    width: calc(100% - 18rem);
    height: 300px;
    padding: 30px;
    top: initial!important;
    bottom: 5rem!important;
    left: 9rem!important;
    transform: initial!important;
    font-size: 3rem;
  }
  .modal .modal__header{
    font-size: 1em;
    line-height: 1em;
  }
  .with-timer {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.8rem;
  }
  .modal__sub-header {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .modal__sub-header--bottom {
    font-size: 1.1rem;
  }
  .modal .modal__input {
    margin-top: -2rem;
    margin-bottom: 20px;
    font-size: 0.8em;
    height: 2em;
  }
  .modal .modal__button {
    margin-bottom: 20px;
    padding: 3rem;
    font-size: 3rem;
    line-height: 1.8rem;
  }
  .modal .modal__text {
    font-size: 15px;
    line-height: 15px;
  }
}
/*For keyboard*/
@media screen and (max-height: 400px) {
  .column-2 {
    height: 106%;
  }
  .header {
    display: none;
  }
  .main {
    height: 100%;
  }
}
@media screen and (min-width: 1440px) {
  html {
    font-size: 10px;
  }
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}
.spinner-border.hidden {
  display: none;
}
.spinner-border {
  position: absolute;
  top: 2rem;
  left: 6rem;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  color: #fff;
  vertical-align: text-bottom;
  border: 0.15em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border .75s linear infinite;
  animation: spinner-border .75s linear infinite;
}
/* hint */
.rqst, #ldng, .arwDwn{
  width: 100%
}
.rqst {
  background: #fff;
  top: -300px;
  position: absolute;
  font-size: 18px;
  line-height: 1.5;
  box-shadow: 0 .5px 0 rgba(0, 0, 0, .2);
  z-index: 9
}
.shwRqst.rqst {
  top: 0
}
.rqstText {
  text-align: center;
  padding: 20px 20px 70px;
  overflow: auto;
  font-size: 14px
}
.rqstText div {
  float: left;
  display: inline-block
}
.rqstText div:nth-child(1) {
  margin-right: 20px
}
.rqstText div:nth-child(2) {
  text-align: left;
  width: calc(100% - 90px)
}
.model-pic {
  width: 50px;
  float: left;
  height: 50px;
  background-size: cover;
  border-radius: 25px;
  background-image: url('/fav/lw/img/tt/02/user.jpg');
}
.model-pic.fr{
  background-image: url('/fav/lw/img/tt/19/userfr.jpg');
}
.model-pic.it{
  background-image: url('/fav/lw/img/tt/19/userit.jpg');
}
#ldng span {
  width: 45px;
  height: 10px;
  background: #0178D5;
  display: inline-block;
  margin-top: 10px;
  border-radius: 20px;
  vertical-align: middle;
  animation-name: blink;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  z-index: 99999999
}
#ldng span:nth-child(2) {
  animation-delay: .2s
}
#ldng span:nth-child(3) {
  animation-delay: .4s
}
#ldng span:nth-child(4) {
  animation-delay: .6s
}
#ldng span:nth-child(5) {
  animation-delay: .8s
}
.arwDwn {
  background-image: url('/fav/lw/img/tt/04/arrow_down.svg');
  background-size: 70px;
  background-repeat: no-repeat;
  background-position: center bottom;
  height: 35px;
  position: absolute;
  bottom: 20px
}
@media screen and (min-width: 360px) {
  .rqstText div:nth-child(2) {
    padding-top: 10px
  }
}

@media screen and (min-width: 600px) {
  .rqstText {
    font-size: 18px
  }
}@media screen and (min-width: 960px) {
  .shwRqst.rqst {
    width: 450px;
    border-radius: 4px;
    top: 180px;
    margin: 0 auto;
    left: 108px
  }

  .rqst::before {
    content: '';
    width: 70px;
    height: 70px;
    background: #fff;
    z-index: 9999;
    display: block;
    margin: -36px auto;
    transform: rotate(45deg);
    border-radius: 5px 0 0 0
  }

  .rqstText {
    padding: 40px 20px
  }

  .rqstText div:nth-child(2) {
    padding-top: 0
  }

  .arwDwn {
    display: none
  }
}
@keyframes blink {
  0% {
    opacity: .2
  }
  20% {
    opacity: 1
  }
  100% {
    opacity: .2
  }
}
.message_typing.img-wrap{
  height: auto;
}
.message_typing.img-wrap .img{
  height: auto;
  min-height: auto;
  max-width: 40rem;
}
.message_typing.img-wrap .img video{
  width: 100%;
}