.talk#talk-content {
  height: 100vh;
  background-color: #fff;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-radius: 25px 25px 0 0;
}

.talk#talk-content .container {
  height: 100%;
  /* padding-top: 15px; */
}

.talk#talk-content .messages-grid {
  display: grid;
  justify-content: center;
  align-content: center;
  grid-template-rows: repeat(12, 1fr);
}

.btn-play-audio {
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  width: 30px;
  height: 35px;
  margin: 5px 10px;
  background-image: url(../../../img/icons/play.png);
}

.timeAudio {
  color: #fff;
  align-self: center;
}

.close-video {
  position: absolute;
  right: 10px;
  z-index: 99999999999999;
  color: white;
  filter: drop-shadow(2px 4px 1px black);
  font-size: 35pt;
  top: -20px;
}

.progress {
  display: -ms-flexbox;
  display: flex;
  height: 1rem;
  overflow: hidden;
  line-height: 0;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}

.progress.audio {
  width: 80%;
  margin: auto 10px;
  height: 10px;
}

.progress.audio .progress-bar {
  background-color: #7f3687;
  transition: width 0.01s ease;
}

.progress-bar {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #007bff;
  transition: width 0.6s ease;
}

.talk#talk-content .talk-header {
  background-color: #fff;
  border-radius: 25px 25px 0 0;
  align-items: center;
  display: grid;
  padding: 5px 0;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 5px;
  justify-content: center;
  position: relative;
}

.talk#talk-content .talk-header .search-messages {
  position: absolute;
  bottom: -35px;
  background-color: #e7e7e7;
  border-radius: 15px;
  display: none;
}

.talk#talk-content .talk-header h1 {
  font-size: 16px;
  color: #9e9e9e;
  font-family: "montserrat black", "Franklin Gothic Medium", "Arial Narrow",
    Arial, sans-serif;
  margin: 0;
  grid-column: span 5;
}

.talk#talk-content .talk-header .btn-search {
  font-size: 19px;
  color: #9e9e9e;
  grid-column: span 1;
  background-color: transparent;
}

.talk#talk-content .talk-header .dropdown {
  font-size: 19px;
  color: #9e9e9e;
  background-color: transparent;
  text-align: center;
  position: relative;
  grid-column: span 2;
}

.talk#talk-content .talk-header .dropdown .dropdown-options {
  position: absolute;
  top: 35px;
  width: 150px;
  right: 0%;
  background-color: #eaeaea;
  padding: 10px 5px;
  border-radius: 5px;
  text-align: right;
  display: grid;
}

.talk#talk-content .talk-header .dropdown .dropdown-options a {
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: #9e9e9e;
  margin: 10px;
}

.talk#talk-content .talk-header .dropdown .dropdown-options a:hover {
  color: #cec1ce;
}

.talk#talk-content .talk-header .dropdown .dropdown-options::before {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: -4px;
  right: 4%;
  background-color: #eaeaea;
  transform: rotate(45deg);
  z-index: 1;
}

.talk#talk-content .img-preview {
  position: absolute;
  background-color: #000000b0;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 999999999999999;
}

.talk#talk-content .img-preview.show {
  display: flex !important;
  -webkit-animation: animate-show 0.5s;
  -o-animation: animate-show 0.5s;
  -moz-animation: animate-show 0.5s;
  animation: animate-show 0.5s;
  opacity: 1;
}

.talk#talk-content .img-preview img {
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.talk#talk-content .video-preview {
  position: absolute;
  background-color: #000000b0;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 999999999999999;
}

.talk#talk-content .video-preview.show {
  display: flex !important;
  -webkit-animation: animate-show 0.5s;
  -o-animation: animate-show 0.5s;
  -moz-animation: animate-show 0.5s;
  animation: animate-show 0.5s;
  opacity: 1;
}

.talk#talk-content .video-preview video {
  width: 100%;
  align-self: center;
  object-fit: cover;
  margin: 0 auto;
}

.talk#talk-content .video-preview .btn-play {
  width: 100%;
  align-self: center;
  object-fit: cover;
  margin: 0 auto;
  height: 100%;
  max-height: none !important;
}

@-webkit-keyframes animate-show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-o-keyframes animate-show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes animate-show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes animate-show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.btn-message-back {
  background-color: transparent;
  font-size: 18px;
  color: #c9c9c9;
  grid-column: span 2;
}

.talk#talk-content .talk-header .img-profile {
  border-radius: 10px;
  grid-column: span 2;
  height: 50px;
  width: 50px;
  background-color: #eaeaea;
  background-image: url(../../img/padrao/profile-user.png);
  background-position: center;
  background-size: cover;
}

.talk#talk-content .messages {
  overflow-y: auto;
  border-radius: 15px;
  grid-row: span 10;
}

.messages .message-other {
  background-color: #9e9e9e;
  padding: 5px 10px;
  border-radius: 15px 15px 15px 5px;
  margin-right: 15px;
  width: 75%;
  color: #fff;
}

.messages .message-other .btn-play {
  padding: 5px 10px;
  margin-right: 15px;
  width: 75%;
  height: 100%;
  max-height: none;
}

.messages .message-me {
  background-color: #77cdcc;
  padding: 5px 10px;
  border-radius: 15px 15px 5px 15px;
  margin-left: 25%;
  width: 75%;
}

.messages .message-me .btn-play {
  padding: 5px 10px;
  margin-left: 25%;
  width: 75%;
  height: 80%;
  max-height: none;
  margin-top: 0;
}

.messages .message-other:not(:first-child) {
  margin-top: 15px;
}

.messages .message-other:not(:last-child) {
  margin-bottom: 15px;
}

.messages .message-me:not(:first-child) {
  margin-top: 15px;
}

.messages .message-me:not(:last-child) {
  margin-bottom: 15px;
}

.messages .message-other .content-message {
  color: #fff;
  font-size: 13px;
}

.messages .message-me .content-message {
  color: #eaeaea;
  font-size: 13px;
}

.messages .time {
  color: #fff;
  font-size: 10px;
  font-weight: bold;
}

.messages p {
  font-size: 13px;
}

.talk#talk-content .message {
  margin-top: 20px !important;
  padding: 3px 0 !important;
}

.talk#talk-content .talk-footer {
  display: flex;
  padding-top: 5px;
  z-index: 999999;
  grid-row: span 2;
  align-self: center;
}

.talk#talk-content .dropdown {
  font-size: 18px;
  color: #77cdcc;
  border-radius: 0 0 5px 5px;
  background-color: #fff;
}

.talk#talk-content .dropdown-menu {
  position: absolute;
  top: -24px;
  background-color: #fff;
  display: none;
  border-radius: 5px 5px 0 0;
  box-shadow: 0px -7px 7px #00000029;
}

.talk#talk-content .dropdown-menu .photo {
  font-size: 18px;
  color: #9e9e9e;
  margin-top: 5px;
  background-color: #fff;
}

.talk#talk-content .dropdown-menu button.dropdown-item.locate.btn-emote {
  font-size: 18px;
  color: #fccd1b;
  background-color: #fff;
}

button.dropdown-item.audio.btn-audio {
  background-color: transparent;
  font-size: 18px;
  color: #77cdcc;
}

.input-image .image-chat {
  display: flex;
  width: 100%;
  height: 210px;
  bottom: 56px;
  position: absolute;
  left: 0;
  background-color: #eaeaea;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.input-image .image {
  width: 200px;
  height: 200px;
  background-color: white;
  align-items: center;
  justify-content: center;
  background-image: url(../../../img/padrao/insertphoto.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
  border-radius: 25px;
  z-index: 1000;
}

.input-video .image-chat {
  display: flex;
  width: 100%;
  height: 210px;
  bottom: 56px;
  position: absolute;
  left: 0;
  background-color: #eaeaea;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.input-video .video {
  width: 200px;
  height: 200px;
  background-color: white;
  align-items: center;
  justify-content: center;
  background-image: url(../../../img/padrao/insertvideo.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
  border-radius: 25px;
  z-index: 1000;
  margin-top: 5px;
}

.input-image,
.input-video {
  display: none;
}

.talk#talk-content .dropdown-menu .video {
  align-self: center;
  color: #77cdcc;
  z-index: 9999999;
  font-size: 18px;
}

.btn-block {
  height: 30px;
  width: 30px;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 3px 5px #00000073;
  padding: 5px 10px;
  background-image: url(../../../img/icons/block.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 62%;
  margin-top: 5px;
  float: right;
  z-index: 9999999;
}

.talk#talk-content .btn-gift {
  height: 30px;
  width: 30px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 5px #00000073;
  background-image: url(../../../img/icons/giftbox.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 62%;
  margin-right: 5px;
  z-index: 9999999;
}

.talk#talk-content .talk-footer .input-group-text {
  background-color: transparent;
  border: 0;
  border-radius: 25px;
  margin-left: 5px;
  padding: 5px 7px;
  z-index: 9999999;
}

.talk#talk-content .talk-footer .form-control {
  border-radius: 25px 0px 0px 25px;
  border: 0;
  background-color: transparent;
  font-family: "montserrat bold", "Franklin Gothic Medium", "Arial Narrow",
    Arial, sans-serif;
  font-size: 13px;
  grid-column: 2 / span 9;
  z-index: 9999999;
  padding: 0;
}

.talk#talk-content .talk-footer .input-group {
  background-color: #e7e7e7;
  border-radius: 25px;
  /* box-shadow: 0 1px 5px #00000075; */
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  position: relative;
  width: 82vw;
  margin-bottom: 0;
}

.talk#talk-content .talk-footer .input-group-prepend {
  grid-column: span 2;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.talk#talk-content .talk-footer .input-group .btn-group.dropup {
  grid-column: span 2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
}

.talk#talk-content .talk-footer .input-group-text,
.talk#talk-content .talk-footer .form-control {
  height: 30px;
  z-index: 1000;
}

.talk#talk-content .talk-footer .input-group-text img {
  height: 20px;
  z-index: 99999999;
}

.dropdown-toggle::after {
  display: none !important;
}

.live-modal {
  position: absolute;
  top: 25%;
  background-color: white;
  padding: 50px;
  border-radius: 10px;
  text-align: center;
  z-index: 999;
  box-shadow: 4px 4px 10px;
  left: 62%;
  margin-left: -50%;
  width: 75%;
}

@-webkit-keyframes camera {
  from {
    -webkit-transform: rotate(8deg);
  }

  to {
    -webkit-transform: rotate(-8deg);
  }
}

@keyframes camera {
  from {
    transform: rotate(8deg);
  }

  to {
    transform: rotate(-8deg);
  }
}

.live-modal img {
  -webkit-animation: camera 0.1s alternate infinite ease-in-out;
  animation: camera 0.1s alternate infinite ease-in-out;
  width: 100px;
  filter: grayscale(1);
}

.live-modal a {
  width: 100%;
}

/* .container{
    max-width: unset;
} */

#graph {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  width: 220px;
  height: 220px;
  animation: 1s ease-in-out;
  background-color: white;
  border-radius: 50%;
}

#graph img {
  width: 130px;
  height: 100px;
  position: relative;
  left: 22%;
  top: 18%;
}

#graph canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

#graph span {
  color: #3eaaa8;
  display: block;
  line-height: 220px;
  text-align: center;
  width: 220px;
  font-family: sans-serif;
  font-size: 40px;
  font-weight: 100;
  margin-left: 5px;
  border-radius: 0;
  margin-top: -45px;
}

#graph input {
  width: 200px;
}

.audio-input {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
}

.messages-history a {
  text-decoration: none;
  color: #f87c2c;
}

.messages-history a:hover {
  text-decoration: none;
  color: #bb6024;
}

@media screen and (min-width: 767px) {
  .talk#talk-content .container {
    height: 100vh;
    padding-top: 15px;
  }

  .talk#talk-content {
    height: 100vh;
    padding-bottom: 0px;
  }

  .talk#talk-content .messages {
    height: 85%;
    margin-top: 15px;
    overflow-y: auto;
    border-radius: 15px;
  }

  .messages .message-other {
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    margin-right: 15px;
    width: auto;
  }

  .messages .message-me {
    /* background-color: #091b31; */
    padding: 5px 10px;
    border-radius: 15px;
    margin-left: 15px;
    width: auto;
  }

  .messages .message-other {
    width: 50%;
  }

  .messages .message-me .btn-play {
    margin-left: 50%;
    width: 50%;
  }

  .messages .message-me {
    width: 50%;
    margin-left: 50%;
  }

  .messages .message-other .btn-play {
    width: 50%;
  }

  .messages-history,
  nav {
    display: block !important;
  }

  .image-chat {
    bottom: 38px !important;
  }

  .live-modal {
    right: 15%;
  }

  .talk#talk-content .talk-footer {
    padding-top: 5vh;
  }

  .talk#talk-content .talk-header .dropdown .dropdown-options {
    position: absolute;
    top: 30px;
    width: 150px;
    left: -175%;
    background-color: #eaeaea;
    padding: 10px 5px;
    border-radius: 5px;
  }

  .talk#talk-content .talk-header .dropdown .dropdown-options a {
    position: relative;
    z-index: 2;
    text-decoration: none;
    color: #9e9e9e;
  }

  .talk#talk-content .talk-header .dropdown .dropdown-options a:hover {
    color: #cec1ce;
  }

  .talk#talk-content .talk-header .dropdown .dropdown-options::before {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: -6px;
    left: 41%;
    background-color: #eaeaea;
    transform: rotate(45deg);
    z-index: 1;
  }
}

@media (min-width: 1114px) {
  .live-modal a {
    width: unset;
  }
}
