.wpurc_wrapper,
.wpurc_wrapper * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.wpurc_wrapper {
  position: relative;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 405px;
  -webkit-flex-wrap: nowrap;
  -moz-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  -o-flex-wrap: nowrap;
  flex-wrap: nowrap;
  justify-content: flex-start;
  -ms-align-items: stretch;
  align-items: stretch;
  align-content: stretch;
}

.wpurc_msg_wrapper {
  position: relative;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: auto;
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.wpurc_msg {
  position: relative;
  display: block;
  min-width: 0%;
  max-width: 75%;
  font-weight: 400;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  line-height: 25px;
}

.wpurc_msg.user {
  -ms-text-align-last: auto;
  text-align-last: auto;
  -ms-align-self: flex-start;
  align-self: flex-start;
}

.wpurc_msg.cuser {
  text-align: right;
  -ms-align-self: flex-end;
  align-self: flex-end;
}

.wpurc_msg.new {
  -webkit-transform: translateY(350px);
  -ms-transform: translateY(350px);
  -o-transform: translateY(350px);
  transform: translateY(350px);
}

.wpurc_user_info {
  position: absolute;
  bottom: -15px;
  display: block;
  white-space: nowrap;
  font-weight: 300;
  font-size: 10px;
  font-family: "Roboto", sans-serif;
  line-height: 8px;
}

.wpurc_user_info a {
  text-decoration: none;
}
.wpurc_user_info a.admin_hl {
  text-decoration: none;
}

.wpurc_user_info a:hover {
  text-decoration: underline;
}

.wpurc_msg.user .wpurc_user_info {
  left: 0px;
}

.wpurc_msg.cuser .wpurc_user_info {
  right: 0px;
}

.wpurc_text_wapper {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 0;
  height: 155px;
  font-size: 0;
  line-height: 0px;
  -webkit-flex: 0 0 155px;
  -moz-flex: 0 0 155px;
  -ms-flex: 0 0 155px;
  -o-flex: 0 0 155px;
  flex: 0 0 155px;
}

.wpurc_textarea {
  position: relative;
  margin: 0;
  width: 100%;
  height: 75px;
  outline: none;
  border: none;
  font-weight: 400;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  line-height: 20px;
  resize: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
.wpurc_textarea:focus{
  outline: none;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.wpurc_tools {
  position: relative;
  margin: 20px 0;
  width: 100%;
  height: 20px;
}

.fa-paperclip,
.fa-smile-o,
.fa-user-o {
  position: relative;
  float: left;
  margin: 0;
  padding: 0;
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 22px;
  cursor: pointer;
}

.fa-paperclip {
  font-size: 24px;
}
.fa-smile-o {
  margin: 0 20px;
  font-size: 23px;
}

.wpurc_btn {
  position: relative;
  float: right;
  margin: 0;
  padding: 0;
  width: auto;
  height: 20px;
  outline: none;
  border: none;
  background: transparent;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  line-height: 20px;
  cursor: pointer;
}

.wpurc_optional {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
}

.wpurc_logmail {
  height: 40px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -moz-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  -o-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.wpurc_input {
  position: relative;
  min-width: 0;
  width: 50% !important;
  height: 40px !important;
  padding: 10px 20px !important;
  border: none !important;
  outline: none !important;
  font-family: "Roboto", sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 20px !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
  -webkit-flex: 1 1 50%;
  -moz-flex: 1 1 50%;
  -ms-flex: 1 1 50%;
  -o-flex: 1 1 50%;
  flex: 1 1 50%;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

input[name="wpurc_name"]{
  margin-right: 10px;
}
input[name="wpurc_mail"]{
  margin-left: 10px;
}

.wpurc_hidden{
  display: none !important;
}

.wpurc_percent_wrapper {
  position: absolute;
  display: none;
  width: 64px;
  height: auto;
  padding: 10px;
  bottom: 35px;
  left: -22px;
  font-weight: 500;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
  -webkit-box-shadow: -10px -10px 25px rgba(0, 0, 0, 0.25);
  box-shadow: -10px -10px 25px rgba(0, 0, 0, 0.25);
}

.wpurc_percent_wrapper:before{
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  bottom: -10px;
  left: 22px;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}

/*smile*/
.wpurc_smile_wrapper{
  position: absolute;
  display: inline-block;
  width: 160px;
  bottom: 35px;
  left: -70px;
  height: 0px;
  font-size: 0;
  cursor: default;
  -webkit-box-shadow: -10px -10px 25px rgba(0, 0, 0, 0.25);
  box-shadow: -10px -10px 25px rgba(0, 0, 0, 0.25);
  -webkit-transition: all 150ms cubic-bezier(0.075, 0.82, 0.165, 1);
  -o-transition: all 150ms cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: all 150ms cubic-bezier(0.075, 0.82, 0.165, 1);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.wpurc_smile_wrapper span{
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  padding: 5px;
}

.fa-smile-o.open .wpurc_smile_wrapper{
}

.wpurc_smile_wrapper:before{
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  bottom: 0px;
  left: 70px;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  cursor: default;
  -webkit-transition: all 50ms cubic-bezier(0.075, 0.82, 0.165, 1);
  -o-transition: all 50ms cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: all 50ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
.fa-smile-o.open .wpurc_smile_wrapper:before{
  bottom: -10px;
}

.wpurc_smile_prev{
  position: relative;
  width: 20px;
  margin: 5px;
  display: inline-block;
  cursor: pointer;
}

.wpurc_msg .wpurc_emotions {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  vertical-align: top;
  display: inline-block;
  -webkit-background-size: 20px 20px;
  background-size: 20px 20px;
}
.wpurc_smile{
  background: url(../img/smile.svg);
}
.wpurc_sad{
  background: url(../img/sad.svg);
}
.wpurc_boring{
  background: url(../img/boring.svg);
}
.wpurc_estatic{
  background: url(../img/estatic.svg);
}
.wpurc_interes{
  background: url(../img/interes.svg);
}
.wpurc_nervous{
  background: url(../img/nervous.svg);
}
.wpurc_snob{
  background: url(../img/snob.svg);
}
.wpurc_stoik{
  background: url(../img/stoik.svg);
}
.wpurc_angry{
  background: url(../img/angry.svg);
}
.wpurc_suprised{
  background: url(../img/suprised.svg);
}
.wpurc_sad{
  background: url(../img/sad.svg);
}

/* style img tag */

.wpurc_img_wrapper{
  position: relative;
  min-width: 50px;
  width: 100%;
  height: 100px;
  overflow: hidden;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  -o-filter: blur(3px);
  -ms-filter: blur(3px);
}

.wpurc_msg .wpurc_img {
  position: relative;
  min-height: 100px;
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.wpurc_modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 9999999999999;
  display: none;
}

.wpurc_modal.show {
  display: block;
}

.wpurc_overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background: rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.wpurc_modal img {
  position: absolute;
  max-width: 100vw;
  max-height: 100vh;
  padding: 20px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: block;
  cursor: zoom-out;
  z-index: 10;
}


/* style audio tag */
.wpurc_audio{
  display: block;
}

.wpurc_floating_wrapper{
  position: fixed;
  max-width: 250px;
  height: 60px;
  bottom: 0;
  right: 20px;
  width: auto;
  overflow: hidden;
  z-index: 999999999999999999999999999999;
}

.wpurc_header{
  position: relative;
  width: 100%;
  height: 60px;
  padding: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 18px;
  cursor: pointer;
  text-align: center;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.wpurc_loader_wrapper{
  position: absolute;
  width: 50px;
  height: 250px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.wpurc_loader{
  position: absolute;
  width: 50px;
  height: 50px;
  top: -60px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  border-radius: 50%;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  background: #fff;
}

.wpurc_loader circle{
  fill: none;
  stroke: #34495e;
  stroke-width: 4px;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin:  50% 50%;
  -ms-transform-origin:  50% 50%;
  -o-transform-origin:  50% 50%;
  transform-origin:  50% 50%;
  -webkit-animation: wpurc_loader 2s infinite;
  -o-animation: wpurc_loader 2s infinite;
  animation: wpurc_loader 2s infinite;
}

@-webkit-keyframes wpurc_loader {
  to { stroke-dashoffset: 200; }
}
@-o-keyframes wpurc_loader {
  to { stroke-dashoffset: 200; }
}
@-moz-keyframes wpurc_loader {
  to { stroke-dashoffset: 200; }
}
@keyframes wpurc_loader {
  to { stroke-dashoffset: 200; }
}