.my-messenger {
  font-family: "Poppins";
  margin-top: 102px;
  width: 100%;
  overflow: hidden;
}
@media (max-width: 1200px) {
  .my-messenger {
    margin-top: 0px;
  }
}
.my-messenger__container {
  display: flex;
  justify-content: space-between;
  max-width: 1470px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
@media (max-width: 800px) {
  .my-messenger__container {
    flex-direction: column;
  }
}

.contact-body {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
}
.contact-body .contact-header {
  position: relative;
}
.contact-body .contact-header .contact-header-row {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.contact-body .contact-header .contact-header-row__icon {
  display: block;
  width: 40px;
  height: 35px;
}
.contact-body .contact-header .contact-header-row__title {
  flex: 1 1 auto;
  margin-left: 30px;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 48px;
  color: #001A45;
}
.contact-body .contact-header .contact-header-row__icon-btn {
  display: block;
  width: 25px;
  height: 25px;
  margin-right: 35px;
  margin-left: 10px;
  cursor: pointer;
}
.contact-body .contact-header .contact-header-row__input {
  flex: 1 1 auto;
  margin-left: 70px;
  width: 80%;
  background: #F5F5F5;
  border-radius: 25px;
  border: none;
  padding: 5px 10px;
}
.contact-body .contact-header .contact-header-row__input ::placeholder {
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: #D9D9D9;
}
.contact-body .contact-header .messages-menu-wrap .messages-menu {
  position: absolute;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  bottom: -160px;
  right: 0;
  box-shadow: 0 10px 20px -9px #222;
  z-index: 5;
}
.contact-body .contact-header .messages-menu-wrap .messages-menu__item {
  padding: 25px 35px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.contact-body .contact-header .messages-menu-wrap .messages-menu__item .item-icon {
  display: block;
  width: 30px;
  height: 25px;
}
.contact-body .contact-header .messages-menu-wrap .messages-menu__item .item-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #001A45;
}
.contact-body .contact-header .filter-menu-wrap {
  display: none;
}
.contact-body .contact-header .filter-menu-wrap .filter-menu {
  position: absolute;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  bottom: -250px;
  right: 0;
  box-shadow: 0 10px 20px -9px #222;
  z-index: 5;
}
.contact-body .contact-header .filter-menu-wrap .filter-menu ul {
  list-style: none;
}
.contact-body .contact-header .filter-menu-wrap .filter-menu li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.contact-body .contact-header .filter-menu-wrap .filter-menu input[type=checkbox] {
  display: none;
}
.contact-body .contact-header .filter-menu-wrap .filter-menu label {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  margin-left: 10px;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #D9D9D9;
}
.contact-body .contact-header .filter-menu-wrap .filter-menu label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  background-color: #ccc;
  border-radius: 50%;
  margin-right: 10px;
}
.contact-body .contact-header .filter-menu-wrap .filter-menu input[type=checkbox]:checked + label::before {
  background-color: #1BB9D1;
  border: 2px solid #000000;
}
.contact-body .contact-header .filter-menu-wrap .filter-menu input[type=checkbox]:checked + label {
  color: #001A45;
}
.contact-body .contact-list-btn .load-more-btn {
  display: none;
  width: 100%;
  max-width: 490px;
  position: absolute;
  padding: 30px 0 33px 0;
  background-color: #FFFFFF;
  bottom: 0;
  left: 45px;
}
.contact-body .contact-list-btn .load-more-btn__title {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #D9D9D9;
  text-align: center;
}
.contact-body .contact-list-btn .load-more-btn__doted {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.contact-body .contact-list-btn .load-more-btn__doted .dot {
  width: 17px;
  height: 17px;
  background-color: #1BB9D1;
  border-radius: 50%;
}
.contact-body .contact-list {
  position: relative;
  direction: rtl;
  flex: 1 1 auto;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  height: calc(100vh - 213px);
}
.contact-body .contact-list-wrap {
  direction: ltr;
  position: relative;
}
.contact-body .contact {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.contact-body .contact.current {
  background: rgba(27, 185, 209, 0.2);
}
.contact-body .contact-details {
  flex: 1;
}
.contact-body .contact-name {
  font-weight: bold;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: #001A45;
}
.contact-body .contact-message {
  margin: 0;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #001A45;
}
.contact-body .contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}
.contact-body .contact-info .contact-settings {
  padding: 5px 0;
  cursor: pointer;
  align-self: flex-end;
  display: flex;
  gap: 3px;
}
.contact-body .contact-info .contact-settings .settings-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #1A202C;
}
.contact-body .contact-info .contact-time {
  font-size: 12px;
  color: #888;
  align-self: flex-end;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #001A45;
}
.contact-body .messages-menu-wrap {
  display: none;
}
.contact-body .messages-menu-wrap .messages-menu {
  position: absolute;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  bottom: -211px;
  right: 0;
  box-shadow: 0 10px 20px -9px #222;
  z-index: 5;
}
.contact-body .messages-menu-wrap .messages-menu__item {
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  gap: 15px;
  transition: all linear 0.3s;
}
.contact-body .messages-menu-wrap .messages-menu__item:hover {
  background: #1BB9D1;
}
.contact-body .messages-menu-wrap .messages-menu__item .item-icon {
  display: block;
  width: 30px;
  height: 25px;
}
.contact-body .messages-menu-wrap .messages-menu__item .item-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #001A45;
}

.contact .avatar-wrap,
.dialogue-header .avatar-wrap {
  position: relative;
  margin-right: 10px;
}
.contact .avatar-wrap .avatar-img,
.dialogue-header .avatar-wrap .avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #001A45;
  background-color: #001A45;
}
.contact .avatar-wrap .avatar-status,
.dialogue-header .avatar-wrap .avatar-status {
  position: absolute;
  width: 15px;
  height: 15px;
  top: 0;
  right: 0;
  border-radius: 50%;
  background-color: #48C629;
}

.contact-list::-webkit-scrollbar {
  width: 30px;
  background: #F5F5F5;
}

.contact-list::-webkit-scrollbar-thumb {
  width: 30px;
  background-color: #001A45;
  border-radius: 20px;
}

.contact-list::-webkit-scrollbar-track-piece:vertical:start {
  margin-top: 30px;
}

.contact-list::-webkit-scrollbar-track-piece:vertical:end {
  margin-bottom: 30px;
}

.dialogue-window {
  background: #F5F5F5;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.dialogue-header {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #ddd;
}
.dialogue-header .dialogue-info {
  margin-right: 25px;
}
.dialogue-header .dialogue-title {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: #001A45;
}
.dialogue-header .dialogue-status {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: #727479;
}

.dialogue-body {
  padding: 10px;
  flex: 1 1 auto;
}

.message-list {
  overflow-y: auto;
  scroll-behavior: smooth;
  list-style: none;
  height: calc(100vh - 334px);
  margin: 0;
  padding: 0;
}

.message {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.message .avatar-wrap {
  margin-right: 15px;
  align-self: flex-start;
  flex-shrink: 0;
}
.message .avatar-wrap .avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #001A45;
  background-color: #001A45;
}
.message .avatar-wrap .avatar-status {
  position: absolute;
  width: 15px;
  height: 15px;
  top: 0;
  right: 0;
  border-radius: 50%;
  background-color: #48C629;
}

.received {
  max-width: 80%;
}

.sent {
  max-width: 80%;
  margin-left: auto;
}
.sent .avatar-wrap {
  display: none;
}

.message-body {
  padding: 3px 10px;
  border: 1px solid rgba(0, 26, 69, 0.5);
  border-radius: 10px;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #001A45;
}

.message-time {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #001A45;
  margin-left: 10px;
  align-self: flex-end;
  white-space: nowrap;
}

.dialogue-footer {
  display: flex;
  align-items: center;
  padding: 10px;
  border-top: 1px solid rgba(0, 26, 69, 0.25);
}

.font-panel {
  padding: 5px 10px;
  display: flex;
  align-self: flex-start;
  gap: 15px;
}

.message-input-wrap {
  background: #FFFFFF;
  border: 1px solid rgba(0, 26, 69, 0.5);
  border-radius: 10px;
  width: 100%;
  height: 80px;
  padding: 10px 20px;
  display: flex;
}

.btn-wrap {
  display: flex;
  gap: 25px;
  align-items: center;
  align-self: flex-end;
  margin-right: 20px;
}
.btn-wrap .send-button {
  background: #0AB1D6;
  border-radius: 15px;
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  color: #FFFFFF;
  border: none;
}
.btn-wrap .emoji-button,
.btn-wrap .add-file-button {
  flex-shrink: 0;
}

.footer-placeholder {
  border-top: 1px solid rgba(0, 26, 69, 0.25);
  padding: 30px 0;
  text-align: center;
  display: none;
}

.message-input {
  padding-right: 10px;
  width: 100%;
  resize: none;
  border: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9999;
}

.modal-content {
  position: relative;
  background-color: #fff;
  padding: 30px 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 900px;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}
.modal-content__search-bar .search-input {
  background: #F5F5F5;
  border: 1px solid rgba(0, 26, 69, 0.25);
  border-radius: 25px;
  padding: 7px 10px;
  width: 100%;
}
.modal-content__search-bar .categories-title {
  margin: 20px 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: #000000;
}
.modal-content__search-bar .categories-list {
  display: flex;
  justify-content: space-between;
}
.modal-content__search-bar .categories-list .more-btn {
  display: block;
  transform: rotate(-90deg);
  cursor: pointer;
}
.modal-content__search-bar .categories-list ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.modal-content__search-bar .categories-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.modal-content__search-bar .categories-list input[type=checkbox] {
  display: none;
}
.modal-content__search-bar .categories-list label {
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #ffffff;
  background-color: #D9D9D9;
}
.modal-content__search-bar .categories-list input[type=checkbox]:checked + label {
  background-color: #1BB9D1;
}
.modal-content__search-bar .search-btn-block {
  display: flex;
  justify-content: end;
}
.modal-content__search-bar .search-btn-block .search-btn {
  width: fit-content;
  background: #0AB1D6;
  border-radius: 15px;
  color: #FFFFFF;
  padding: 7px 15px;
  cursor: pointer;
}
.modal-content__result-block .result-inner__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #001A45;
}
.modal-content__result-block .result-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-content__result-block .result-list__item .avatar-wrap .avatar-img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 3px solid #001A45;
  background-color: #001A45;
}
.modal-content__result-block .result-list__item .user-info__name {
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: #001A45;
  margin-bottom: 5px;
}
.modal-content__result-block .result-list__item .user-info__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 5px;
}
.modal-content__result-block .result-list__item .user-info__categories .categories-item {
  width: fit-content;
  background: #D9D9D9;
  border-radius: 25px;
  padding: 5px 10px;
  color: #ffffff;
}
.modal-content__result-block .result-list__item .user-info__footer {
  margin-bottom: 5px;
  display: flex;
  gap: 10px;
}
.modal-content__result-block .result-list__item .user-info__footer .info-item {
  display: flex;
  gap: 10px;
}
.modal-content__result-block .result-list__item .user-info__footer .info-item__icon ,
.modal-content__result-block .result-list__item .user-info__footer .info-item__icon img {
  width: 20px;
  height: 20px;
}
.modal-content__result-block .result-list__item .user-info__footer .info-item__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
}
.modal-content__result-block .result-list__item .search-btn {
  cursor: pointer;
  width: fit-content;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #FFFFFF;
  background: #1BB9D1;
  border-radius: 15px;
  align-self: center;
}
.modal-content .close-btn {
  position: absolute;
  width: fit-content;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  cursor: pointer;
}

/* Massager from shortcode */

svg.bm-svg ,
.mass-message svg{
  width: 25px;
  height: 25px;
  color: #001A45;
}
.bp-messages-wrap .chat-footer>a>svg{
  color: #001A45;
}

.bp-messages-wrap .chat-header .thread-actions>a>svg, .bp-messages-wrap .chat-header .thread-actions>span>svg, .bp-messages-wrap .chat-header .thread-actions>div.expandingButtons>svg {
  width: 25px !important;
  height: 25px !important;
  color: #001A45 !important;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-info .name span, .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-info .name a {
  color: #001A45 !important;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-sticky-date {
  background: #001A45 !important;
}

.bp-messages-wrap .chat-header .back svg {
  width: 25px;
  height: 25px;
  color: #1BB9D1;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-messages-listing .bm-message .message-controls>span>svg {
  width: 20px;
  height: 20px;
}

.bp-messages-wrap .chat-header .thread-actions>a, .bp-messages-wrap .chat-header .thread-actions>span, .bp-messages-wrap .chat-header .thread-actions>div.expandingButtons {
  color: #001A45;
}

.bp-messages-wrap .bm-messages-list .bm-list{
  background-color: #F5F5F5 !important;
}

.bp-messages-wrap img.avatar{
  border: 3px solid #001A45 !important;
  height: 50px !important;
  width: 50px !important;
  object-fit: cover;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack.bm-left-side .bm-content .bm-messages-listing .bm-message .bm-message-content:not(.bm-hide-background), .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack.bm-right-side .bm-content .bm-messages-listing .bm-message .bm-message-content:not(.bm-hide-background) {
  border: 1px solid rgba(0, 26, 69, 0.5) !important;
  border-radius: 10px !important;
}

.bp-messages-wrap .bp-messages-side-threads .threads-list .thread .pic,
.bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-pic{
  width: 50px !important;
  height: 50px !important;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content{
  padding-left: 75px;
}

.bp-messages-column{
  width: calc(100% - 520px);
}
.bp-messages-wrap .bp-messages-side-threads, .bp-messages-wrap .bp-messages-side-threads>*{
  width: 520px;
}

.bp-messages-wrap .chat-header .thread-info .avatar{
  width: 50px !important;
  height: 50px !important;
}

.os-theme-dark.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle {
  background: #001A45 !important;
}

.os-theme-dark.os-scrollbar-vertical, .os-theme-light.os-scrollbar-vertical{
  width: 16px;
}

.bp-messages-wrap .chat-header{
  min-height: 100px;
}

.bp-messages-wrap .bm-messages-list .bm-list .os-viewport{
  padding-right: 20px;
}

.bp-messages-user-list .user .pic{
  width: 50px;
  height: 50px;
}

.bp-messages-wrap .chat-header .back+.thread-info{
  margin-left: auto !important;
}

.bp-messages-wrap .chat-header .thread-info{
  margin-right: 0 !important;
  flex-direction: row-reverse;
  gap: 10px;
}

.bp-messages-wrap .chat-header .thread-info .thread-info-data .name{
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
}

.bp-messages-wrap .threads-list .thread .actions{
  padding-right: 20px;
}

.bp-messages-wrap .chat-header.side-header{
  background: #fff;
}

.bp-messages-wrap .chat-header .bpbm-search form input[type=text]{
  background: #F5F5F5 !important;
  border-radius: 25px !important;
}

.bp-messages-wrap .chat-header{
  background: #F5F5F5;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-sticky-date{
  font-size: 14px;
  padding: 5px 7px;
}

.bp-messages-wrap .threads-list .thread .bm-info .name{
  font-size: 15px;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-info .name span, .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-info .name a ,
.bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack.bm-left-side .bm-content .bm-messages-listing .bm-message .bm-message-content:not(.bm-hide-background) * ,
.bp-messages-wrap *{
  font-family: "Poppins", sans-serif;
}

.bp-messages-wrap .chat-header.side-header::before{
  position: relative;
  content: url(	https://hvacrschool.com/wp-content/themes/hvacrschool/assets/svg/messages.svg) " Messages";
  flex-grow: 1;
  width: 100%;
  text-align: left;
  margin: 0 auto;
  font-weight: 600;
  font-size: 32px;
  line-height: 48px;
  color: #001A45;
  margin-bottom: -20px;
  padding: 0 10px;
}

.bp-messages-wrap .chat-header.side-header{
  flex-wrap: wrap;
}

.bp-messages-wrap .bp-messages-side-threads .threads-list .thread .time .time-wrapper{
  font-size: 12px;
}

.bp-messages-wrap .threads-list .thread .actions .bm-more-actions{
  color: #001A45;
}

.new-message {
  position: relative !important;
  background: url('../assets/add-icon.png') no-repeat center center !important  ;
}

.new-message svg{
  display: none;
}

.bp-messages-wrap .chat-footer>a>svg {
  width: 25px;
  height: 25px;
}

@media (min-width: 1040px) {
  .side-header .new-message {
    position: absolute !important;
    right: 0 !important;
    top: 8px !important;
  }
  .bp-messages-wrap .chat-header.side-header .new-message+.bpbm-search{
    width: calc(100%);
    padding-left: 10px;
  }
}