@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
.popchat *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.msg-reply {
  padding : 10px;
  background-color: #999;
}

body .popchat{
  overflow: hidden;
  background: #f2f2f2;
}

.popchat #click{
  display: none;
}

.popchat label{
  position      : absolute;
  right         : 30px;
  bottom        : 10px;
  height        : 55px;
  width         : 55px;
  background    : #EEE; /*-webkit-linear-gradient(left, #034ea2, #8fbfff);*/
  text-align    : center;
  line-height   : 55px;
  border-radius : 50px;
  font-size     : 30px;
  color         : #fff;
  cursor        : pointer;
}

.popchat label i{
  position      : absolute;
  top           : 50%;
  left          : 50%;
  font-size     : 30px;
  color         : #fff;
  transform     : translate(-50%, -50%);
  transition    : all 0.4s ease;
}

.popchat label i.fas{
  opacity: 1;
  pointer-events: none;
}

.popchat #click:checked ~ label i.fas{
opacity: 1;
pointer-events: auto;
transform: translate(-50%, -50%) rotate(180deg);
}
.popchat #click:checked ~ label i.fab{
opacity: 1;
pointer-events: none;
transform: translate(-50%, -50%) rotate(180deg);
}
.popchat .wrapper{
  z-index:9999;
  right: 30px;
  bottom: 0px;
  max-width: 100%;
  background: #fff;
  border-radius: 15px;
  opacity: 1;
  transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
  /*box-shadow: 0px 15px 20px rgba(0,0,0,0.1);*/
  /*position: absolute;*/
  /*pointer-events: none;*/
}

.popchat #click:checked ~ .wrapper{
  opacity: 1;
  bottom: 67px;
  pointer-events: auto;
}

.popchat .wrapper .head-text{
  line-height: 60px;
  color: #000;
  border-radius: 10px 10px 0 0;
  padding: 0 30px;
  font-weight: 500;
  font-size: 20px;
  /*background: -webkit-linear-gradient(left, #034ea2, #8fbfff);*/
}
.popchat .wrapper .chat-box{
  padding: 10px;
  width: 100%;
}

.popchat .chat-box .desc-text{
  display: block;
  overflow: auto;
  color: #515365;
  text-align: center;
  line-height: 25px;
  font-size: 17px;
  font-weight: 500;
  height: 600px;
}

.popchat .chat-box form{
padding: 5px 10px;
margin: 10px 0;
border-radius: 10px;
border: 1px solid lightgrey;
}
.popchat .chat-box form .field{
height: 50px;
width: 100%;
margin-top: 20px;
}
.popchat .chat-box form .field:last-child{
margin-bottom: 15px;
}
.popchat form .field input,
.popchat form .field button,
.popchat form .textarea textarea{
width: 100%;
height: 100%;
padding-left: 20px;
border: 1px solid lightgrey;
outline: none;
border-radius: 25px;
font-size: 16px;
transition: all 0.3s ease;
}
.popchat form .field input:focus,
.popchat form .textarea textarea:focus{
border-color: #fc83bb;
}
.popchat form .field input::placeholder,
.popchat form .textarea textarea::placeholder{
color: silver;
transition: all 0.3s ease;
}
.popchat form .field input:focus::placeholder,
.popchat form .textarea textarea:focus::placeholder{
color: lightgrey;
}
.popchat .chat-box form .textarea{
height: 70px;
width: 100%;
}
.popchat .chat-box form .textarea textarea{
height: 100%;
border-radius: 50px;
resize: none;
padding: 15px 20px;
font-size: 16px;
}
.popchat .chat-box form .field button{
border: none;
outline: none;
cursor: pointer;
color: #fff;
font-size: 18px;
font-weight: 500;
background: -webkit-linear-gradient(left, #034ea2, #8fbfff);
transition: all 0.3s ease;
}
.popchat .chat-box form .field button:active{
transform: scale(0.97);
}
