body,
html {
  height: 100%;
  margin: 0;
  background: #7f7fd5;
  background: -webkit-linear-gradient(45deg, #d2a4fd, #366de7);
  background: linear-gradient(45deg, #d2a4fd, #366de7);
  line-height: 1;
  font-size: 12px;
}

.chat {
  margin-top: auto;
  margin-bottom: auto;
}
.chat-mensagens {
  display: none;
  flex-direction: column;
}

.card {
  /*height: 90vh;*/
  border-radius: 15px !important;
  background-color: transparent !important;
}
.msg_body {
  overflow-y: auto;
  height: 70vh;
  top: 100px;
  position: relative;
}
.msg-header {
  position: absolute;
  height: 15%;
  border-radius: 15px 15px 0 0 !important;
  border-bottom: 0 !important;
  padding: 5px;
  top: 0;
}
.msg-footer {
  border-radius: 0 0 15px 15px !important;
  border-top: 0 !important;
  padding: 3px !important;
  position: relative;
  width: 100%;
  bottom: 0px;
  position: absolute;
  /*display: flex;*/
}
.type_msg {
  background-color: rgba(5, 5, 5, 0.4) !important;
  border: 0 !important;
  color: white !important;
  height: 40px !important;
  overflow-y: auto;
}
.type_msg:focus {
  box-shadow: none !important;
  outline: 0px !important;
}
.send_btn {
  border-radius: 0 15px 15px 0 !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
  border: 0 !important;
  color: white !important;
  cursor: pointer;
}
.active {
  background-color: rgba(0, 0, 0, 0.3);
}
.online_icon {
  display: inline-block;
  text-align: center;
  height: 12px;
  width: 12px;
  background-color: #4cd137;
  border-radius: 50%;
  /*border:1.5px solid white;*/
}
.offline {
  background-color: transparent !important;
}

/* Flex Container */
.msg_cotainer {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 10px;
  border-radius: 0px 15px 15px 15px;
  /*background-color: #82ccdd;*/
  color: white;
  background: linear-gradient(90deg, #0079d0, #00bcee);
  padding: 10px;
  position: relative;
  min-width: 40%;
  max-width: 70%;
}
.msg_is_typing {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 10px;
  /* padding: 10px; */
  position: relative;
  min-width: 90%;
  max-width: 90%;
}
.msg_is_typing_content {
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 15px 15px 15px 15px;
  color: white;
  background: linear-gradient(90deg, #0079d0, #00bcee);
  max-width: 20%;
}
.msg_cotainer_send {
  margin-top: auto;
  right: 0;
  margin-bottom: auto;
  margin-right: 10px;
  border-radius: 15px 0px 15px 15px;
  background-color: #f1f1f4;
  padding: 10px;
  position: relative;
  min-width: 40%;
  max-width: 70%;
}
.msg_day_separator {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  padding: 15px;
  font-style: italic;
}
.msg_time {
  position: absolute;
  left: 0;
  bottom: -15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}
.msg_time_send {
  position: absolute;
  right: 0;
  bottom: -15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}
#action_menu_btn {
  position: absolute;
  right: 10px;
  top: 5px;
  color: white;
  cursor: pointer;
  font-size: 20px;
}

#config_menu_btn {
  font-size: 14px;
}
.config_menu {
  position: absolute;
  padding: 15px 0;
  background-color: rgba(0, 0, 0);
  color: white;
  border-radius: 15px;
  /* top: 30px; */
  right: 10px;
  display: none;
  bottom: 30px;
}
.config_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.config_menu ul li {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 5px;
}
.config_menu ul li i {
  padding-right: 10px;
}
.config_menu ul li:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 18px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}