header.header-social {
  height: 80px;
  z-index: 99;
  background: #ffffff;
  width: 100%;
  box-shadow: 1px 8px 15px -7px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #050505;
}

/*---Header left-----*/

.header_left {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 1rem;
}

.circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f2f5;
  padding: 10px 32px 10px 10px;
  border-radius: 50px;
  cursor: text;
}

.search input {
  outline: none;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
}

.search input::-moz-placeholder {
  transform: translateY(-1px);
}

.search input::placeholder {
  transform: translateY(-1px);
}

/*---Header left-----*/

/*---Header middle-----*/

.header_middle {
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(3px);
}

.middle_icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  cursor: pointer;
  transform: translateX(-2px);
}

.middle_icon:nth-child(2) {
  transform: translateX(-4px);
}

.middle_icon:nth-child(3) {
  transform: translateX(-3px);
}

.middle_icon:nth-child(4) {
  transform: translateX(-5px);
}

.middle_icon:nth-child(5) {
  transform: translateX(-5px);
}

.active-social {
  border-bottom: 3px solid #1877f2;
  border-radius: 0;
  height: 56px;
  transform: translateX(0);
}

.active svg {
  transform: translateY(1px) translateX(-1px);
}

.middle_notification {
  position: absolute;
  top: 3px;
  right: 1.9rem;
  background: #e41e3f;
  border-radius: 50px;
  padding: 1px 5px;
  font-size: 13px;
  color: #fff;
}

/*---Header middle-----*/

/*---Header right-----*/

.header_right {
  display: flex;
  align-items: center;
}

.profile_link {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 3px 10px 3px 6px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  line-height: 19px;
  margin-right: 10px;
}

.profile_link img {
  width: 28.7px;
  height: 28.7px;
  border-radius: 50%;
  border: 1px solid #b0b3b8;
  transform: translateX(-1px);
}

.profile_link span {
  margin-bottom: 3px;
}

.circle_icon {
  position: relative;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  background: #e4e6eb;
  cursor: pointer;
}

.right_notification {
  position: absolute;
  top: -6px;
  right: -5px;
  background: #e41e3f;
  border-radius: 50px;
  padding: 1px 6px;
  font-size: 13px;
  color: #fff;
}

/*---Header right-----*/

.all_menu_wrap {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1rem;
  overflow-y: auto;
  height: 95%;

  /* Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #bcc0c4 transparent;
}

.all_menu_wrap::-webkit-scrollbar {
  width: 8px;
}

.all_menu_wrap::-webkit-scrollbar-track {
  background: transparent;
}

.all_menu_wrap::-webkit-scrollbar-thumb {
  background-color: #bcc0c4;
  border-radius: 10px;
}

.all_menu_wrap::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

/*---Search menu-----*/

.search_area {
  position: absolute;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1),
    inset 0 0 0 0 rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: all 0.2s;
  -webkit-font-smoothing: antialiased;
  z-index: 1;
  min-height: 400px;
  max-height: 70vh;
  padding: 8px 16px 10px 6px;
}

.search_wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search_area .search {
  padding: 10px 44px 10px 12px;
  width: 252px;
  gap: 4px;
}

.search_area .search input {
  padding-left: 4px;
}

.search_area .search svg {
  transform: translateY(1px);
}

.search_area .search input::-moz-placeholder {
  transform: translateY(-2px);
}

.search_area .search input::placeholder {
  transform: translateY(-2px);
}

.search_area .search input:focus::-moz-placeholder {
  transform: translateY(-1px);
}

.search_area .search input:focus::placeholder {
  transform: translateY(-1px);
}

.search_history {
  width: 100%;
}

.search_history_header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  font-size: 14px;
}

.search_history_header span {
  font-weight: 600;
  font-size: 16px;
}

.search_history_header a {
  cursor: pointer;
  color: #1877f2;
}

/*---Search menu-----*/

/*---Search All Menu-----*/

.all_menu {
  position: absolute;
  right: -9rem;
  top: 45px;
  background: #f4f5f8;
  border-radius: 10px;
  height: 90vh;
  width: 575px;
  padding: 10px 1rem;
  box-shadow: -2px 1px 5px 2px rgba(0, 0, 0, 0.1);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  z-index: 99;
}

@media only screen and (max-width: 769px) {
    .all_menu {
        position: absolute;
        right: -4rem;
        top: 45px;
        background: #f4f5f8;
        border-radius: 10px;
        height: 90vh;
        width: 503px;
        padding: 10px 1rem;
        box-shadow: -2px 1px 5px 2px rgba(0, 0, 0, 0.1);
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        z-index: 99;
    }

    .circle_icon {
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background: #e4e6eb;
    cursor: pointer;
}


}

@media only screen and (max-width: 560px) {
   .all_menu {
     position: absolute;
     right: -6rem;
     top: 45px;
     background: #f4f5f8;
     border-radius: 10px;
     height: 90vh;
     width: 410px;
     padding: 10px 1rem;
     box-shadow: -2px 1px 5px 2px rgba(0, 0, 0, 0.1);
     -webkit-user-select: none;
     -moz-user-select: none;
     user-select: none;
     z-index: 99;
    }
}

@media only screen and (max-width: 400px) {
   .all_menu {
     position: absolute !important;
     right: -9rem !important ;
     top: 45px !important ;
     background: #f4f5f8 !important;
     border-radius: 10px !important;
     height: 90vh !important;
     width: 337px !important;
     padding: 10px 1rem !important;
     box-shadow: -2px 1px 5px 2px rgba(0, 0, 0, 0.1) !important;
     -webkit-user-select: none !important;
     -moz-user-select: none !important;
     user-select: none !important;
     z-index: 99 !important;
    }
}

.all_menu_header {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

div.all_menu_col{
  overflow: hidden;
}

.all_left {
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.all_menu_search {
  background: #f0f2f5;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
  border-radius: 50px;
}

.all_menu_search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
}

.all_menu_group {
  margin-top: 10px;
  border-bottom: 1px solid #ced0d4;
}

.all_menu_group_header {
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
}

.all_menu_group {
  width: 100%;
}

.all_menu_item {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 5px;
  padding: 5px;
  cursor: pointer;
  border-radius: 10px;
}

.all_menu_item img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}

.all_menu_col {
  display: flex;
  flex-direction: column;
}

.all_menu_col span:first-of-type {
  font-size: 14px;
  font-weight: 500;
}

.all_menu_col span:last-of-type {
  font-size: 12px;
  color: #65676b;
  width: 95%;
}

.all_right {
  padding: 15px 10px;
  background: #ffffff;
  margin-right: 1rem;
  border-radius: 10px;
  height: 550px;
  width: 170px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.all_right_header {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.all_right_item {
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 10px;
  margin-bottom: 2px;
}

.all_right_circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e4e6eb;
}

/*---Search All Menu-----*/

/*-------User menu----*/

.mmenu {
  padding: 0 0.3rem;
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 10px;
}

.mmenu_header {
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 10px;
  gap: 10px;
}

.mmenu_header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.mmenu_col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mmenu_col span:first-of-type {
  color: #050505;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
}

.mmenu_col span:last-of-type {
  font-size: 14px;
}

.mmenu_main {
  padding: 10px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mmenu_splitter {
  width: 100%;
  height: 1px;
  background: #e4e6eb;
  margin-top: 5px;
}

.mmenu_span1 {
  font-size: 14px !important;
}

.mmenu_span2 {
  font-size: 12px !important;
  color: #65676b;
}

.mmenu_item {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 5px;
  padding: 7px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
}

.rArrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.absolute_wrap {
  padding: 0 0.3rem;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 360px;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 10px;
}

.absolute_wrap .mmenu_item {
  margin-top: 0;
}

.absolute_wrap_header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 24px;
}

.absolute_wrap label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 50px;
  font-weight: 600;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
}

.absolute_wrap label input {
  width: 20px;
  height: 20px;
}

/*----Active header----*/

.active_header {
  background: #e7f3ff;
}

.active_header svg {
  fill: #1877f2;
}

.active_link {
  background: #e7f3ff;
  color: #1877f2;
}






