header {
  position: relative;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: var(--bg-primary);
}

.header {
  padding: 10px 0px;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .03);
}

.header a {
  display: flex;
}

.header .header__bell>div {
  display: flex;
}

.header-logo {
  padding-left: 0px;
}

.header-logo img {
  height: 45px;
}

.header__search input {
  background-color: var(--bg-4);
  width: 350px;
  height: 50px;
  border-radius: 50px;
  padding-left: 50px;
  margin-right: 8px;
}

.header__search svg {
  position: absolute;
  left: 0;
  width: 50px;
  font-size: calc(var(--heading-3) - 5px);
}

.header__navigation li {
  padding-inline: 8px;
}

.header__navigation li a {
  height: 50px;
  width: 50px;
  background-color: var(--bg-4);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}

.header__navigation li a svg {
  font-size: calc(var(--heading-3) - 3px);
}

.header__search svg

/* ,
.header__navigation svg */
  {
  fill: var(--color-2)
}

.header__tools li {
  padding-inline: 18px;

  & a svg {
    font-size: var(--heading-2);

    & path {
      fill: var(--color-3);
    }
  }
}

.header__tools>li>div>svg {
  font-size: var(--heading-2);
}

.header__avatar img {
  height: 32px;
  width: 32px;
  border-radius: 100%;
}

@-webkit-keyframes xoayvong {
  from {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

@keyframes xoayvong {
  from {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

.header__setting a {
  animation: xoayvong 2s linear 0s infinite;
  -webkit-animation: xoayvong 2s linear 0s infinite;
  -moz-animation: xoayvong 2s linear 0s infinite;
  -o-animation: xoayvong 2s linear 0s infinite;
  height: 27px;
  width: 27px;
}

.header__bell .unread::after {
  position: absolute;
  content: "";
  height: 5px;
  width: 5px;
  background-color: var(--color-6);
  right: 8px;
  top: 5px;
  border-radius: 100%;

}

.active-menu a {
  background-color: var(--bg-3);
}

.header__mobile li a {
  height: 35px;
  width: 35px;
  border-radius: 100%;
  background-color: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;

  & svg {
    font-size: var(--heading-3);
    height: 15px;
  }
}

.header__btn::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  top: 7px;
  right: 0;
  position: absolute;
  border-radius: 1px;
  background: #1b1d21;
  -webkit-transition: all .25s;
  -o-transition: all .25s;
  transition: all .25s;

}

.header__btn.open-menu::before {
  transform: translateY(8px) rotate(45deg);
}

.header__btn::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  top: 18px;
  right: 0;
  position: absolute;
  border-radius: 1px;
  background: #1b1d21;
  -webkit-transition: all .25s;
  -o-transition: all .25s;
  transition: all .25s
}

.header__btn.open-menu::after {
  transform: translateY(-8px) rotate(-45deg);
  width: 30px;
  top: 22px;
}

.header__btn {
  margin-top: -7px;
}

.header__navigation--mobile {
  & li {
    & a {
      background-color: transparent;
      height: auto;
      width: auto;

      & svg {
        font-size: calc(var(--heading-3) - 3px);
        height: 20px;
      }
    }
  }

}

.header__navigation--mobile svg {
  fill: #606060;
  ;
}

.header__navigation--mobile {
  & li {
    padding-inline: 15px;
  }
}

.headerRB-mobile {
  padding-top: 15px;
}

.header__navigation--mobile li {
  position: relative;
}

.header__navigation--mobile li.active::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--bg-3);
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
}


.header {
  transition: all 0.3s;
}

.header.fixed {
  position: fixed;
  animation: fadeIn 0.5s ease-in-out;
  left: 0;
  right: 0;
  background-color: white;
  top: 0;
}

@keyframes fadeIn {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.submenunavRb {
  padding-top: 20px;
  max-width: 300px;
  position: absolute;
  top: 77%;
  visibility: hidden;
  opacity: 0;
  transform: scale(1, 0);
  transform-origin: 0 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;

}

.submenunavRb li {
  background-color: white;
  padding: 4px 6px;
  box-shadow: 0 1rem 3rem rgb(0, 0, 0);
  -webkit-box-shadow: 0px 30px 70px 0px rgba(58, 58, 58, 0.4);
  -moz-box-shadow: 0px 30px 70px 0px rgba(137, 139, 142, 0.15);

  border-radius: 5px;
}

.submenunavRb a {
  height: auto !important;
  width: auto !important;
  background-color: transparent !important;
}

.header__li:hover .submenunavRb {
  opacity: 1;
  visibility: visible;
  transform: scale(1)
}

.header__li img {
  height: 25px;
  width: auto;
}

.header__avatar ul {
  width: 230px;
  background-color: var(--bg-primary);
  padding: 10px 0px;
  border-radius: 5px;
  position: absolute;
  top: 100%;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
  right: 30px;
  visibility: hidden;
  opacity: 0;
  transform: scale(1, 0);
  transform-origin: 0 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-box-shadow: 0px 30px 70px 0px rgba(137, 139, 142, 0.15);
  -moz-box-shadow: 0px 30px 70px 0px rgba(137, 139, 142, 0.15);
}

.header__avatar ul a {
  padding: 4px 18px;
}

.header__avatar ul a svg {
  margin-right: 12px;
}

.re__border-b {
  border-bottom: 1px solid #F2F2F2;
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 0px;
}

.name__avatar {
  padding: 0px 8px;
  font-size: 14px;
}

.name__avatar~svg {
  height: 12px;
}

.header-avatar__content.active~.header-avatar__ul {
  opacity: 1;
  visibility: visible;
  transform: scale(1)
}

.header-avatar__content {
  cursor: pointer;
}

.home-right {
  height: fit-content;
  position: sticky;
  top: 110px;
}





.bellRb-content {
  width: 310px;
  background-color: var(--bg-primary);
  padding: 25px;
  border-radius: 5px;
  position: absolute;
  top: 100%;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
  right: -50px;
  visibility: hidden;
  opacity: 0;
  transform: scale(1, 0);
  transform-origin: 0 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-box-shadow: 0px 30px 70px 0px rgba(137, 139, 142, 0.15);
  -moz-box-shadow: 0px 30px 70px 0px rgba(137, 139, 142, 0.15);
  z-index: 10;
  height: 400px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-stop: always;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 15px;
  overflow-x: auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.header__bell.active .bellRb-content {
  opacity: 1;
  visibility: visible;
  transform: scale(1)
}

.bellRb__title {
  font-size: calc(var(--heading-4) + 1px);
  margin-bottom: 20px;
}

.bellRb__card:not(:last-child) {
  margin-bottom: 20px;
}

.bellRb__card a {
  display: block;
}

.bellRb__img img {
  height: 40px;
  width: 40px;
}

.bellRb__img figure {
  width: 40px;
}

.bellRb-content a::after {
  content: none;
}

.bellRb__text {
  flex: 1;
}

.bellRb__des {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  height: fit-content;
  color: var(--color-2);
}

.bellRb__text span {
  color: var(--color-2);
  font-size: calc(var(--font-size-body) - 1px);
}

.bellRb__text .hh {
  font-size: calc(var(--font-size-body) - 1px);
  background-color: #f8961f;
  color: var(--color-primary);
  text-align: center;
  padding: 5px 5px;
  font-weight: 500;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.13);
  margin-top: 5px;
}

.bellRb__text .hhh {
  font-size: calc(var(--font-size-body) - 1px);
  background-color: #1699e3;
  color: var(--color-primary);
  text-align: center;
  padding: 5px 5px;
  font-weight: 500;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.13);
  margin-top: 5px;
}

.bellRb__text li {
  padding: 0;
}


.bopup-postRb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.448);
  z-index: 10;
  display: none;
}

.bopup-postRb.active {
  display: flex;
}

.bopup-postRb-2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.448);
  z-index: 10;
  display: none;
}

.bopup-postRb-2.active {
  display: flex;
}

.bopup-postRb-box {
  width: 500px;
  background-color: var(--bg-primary);
  border-radius: 5px;
  height: 100vh;
  z-index: 10;
}

.bopup-postRb-top {
  padding: 12px 15px 9px 15px;
  border-bottom: 1px solid #d0d0d0;
}

.bopup-postRb__title {
  font-size: calc(var(--heading-4) + 3px);
}

.bopup-postRb__title svg {
  margin-right: 10px;
}

.bopup-postRb__close {
  position: absolute;
  right: 10px;
  top: 10px;
  height: 25px;
  width: 25px;
  background-color: #e4e6eb;
}

.bopup-postRb-between {
  padding: 15px;
}

.bopup-postRb-bottom {
  padding: 15px;
}

.bopup-postRb-between textarea,
.bopup-postRb-between textarea:focus,
.bopup-postRb-between textarea:focus-visible {
  border: 0;
  box-shadow: none;
  outline: 0px;
}

.bopup-postRb-between textarea::placeholder {
  font-size: 20px;
}

.bopup-postRb-between textarea {
  margin-top: 15px;
  font-size: 20px;
}

.bellRb__nameuser span {
  background-color: #e4e6eb;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 11px;
}

.bellRb__nameuser svg {
  margin-right: 5px;
}

.bopup-postRb-bottom li:not(:last-child) {
  margin-bottom: 5px;
}

.bopup-postRb-bottom img {
  height: 22px;
  margin-right: 10px;
}

.bopup-postRb-bottom select,
.bopup-postRb-bottom input,
.bopup-postRb-bottom .bopup-postRb__upimage {
  height: 30px;
  background-color: white;
  border: 1px solid rgb(231, 231, 231);
  border-radius: 5px;
  padding: 0px 10px;
  width: 100%;
}

.bopup-postRb__upimage input {
  width: 100%;
  opacity: 0;
}

.bopup-postRb-bottom input::placeholder {
  color: var(--color-second);
  opacity: 1;
}

.bopup-postRb__btn {
  margin: 0px 15px 15px 15px;
  padding: 9px;
  background-color: var(--bg-3);
  font-size: 14px;
  color: var(--color-primary);
  width: calc(100% - 30px);
  border-radius: 5px;
}

.bopup-postRb__img img {
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.bopup-postRb__nameuser span {
  background-color: #e4e6eb;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 11px;
  margin-top: 2px;
}

.bopup-postRb__nameuser span svg {
  margin-right: 5px;
}

.bopup-postRb-box form {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: scroll;
  /* height: 90vh; */
  max-height: 100vh;
}

.bupuplinkproject {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: none;
}

.bupuplinkproject button {
  font-size: 13px;
  color: white;
  float: right;
  background: #a5421b;
  padding: 5px 15px;
  border-radius: 0;
  position: absolute;
  bottom: 0;
  right: 20px;
  bottom: 10px;
}

.bupuplinkproject.active {
  display: block;
}

.click-btn-bupuplinkproject {
  cursor: pointer;
}

#previewContainer img:nth-child(1) {
  width: 100%;
  height: 200px;
}

.preview-item {
  margin-bottom: 10px;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.preview-item img {
  width: 100%;
  height: 100%;
}

.upload-preview .preview-item:nth-child(1) {
  width: 100%;
  height: 200px;
}

button.remove-btn {
  position: absolute;
  top: 0px;
  right: 7px;
  padding: unset;
  font-size: 20px;
}

@media (min-width: 576px) {
  .bopup-postRb-box form {
    position: unset;
  }

  .bellRb-content {
    right: 0;
  }
}

@media (min-width: 768px) {
  .bopup-postRb__btnup {
    display: none;
  }

  .bopup-postRb-top {
    justify-content: center;
  }

  .bopup-postRb__title svg {
    display: none;
  }

  .bopup-postRb__close {
    display: flex;
  }

  .bopup-postRb-box {
    height: fit-content;
  }

  .bopup-postRb-top {
    padding: 12px 0px 9px 0px;
  }

  .bopup-postRb__title {
    font-weight: 600;
  }

  .bopup-postRb__btn {
    display: block;
  }

  .bopup-postRb-between textarea,
  .bopup-postRb-between textarea::placeholder {
    font-size: 18px;
  }

  .bopup-postRb-bottom {
    /* padding: 15px 15px 5px 15px; */
    padding: 0 15px;
  }

}

@media (min-width: 992px) {
  .detail-news-listimg .clm {
    position: sticky;
    top: 100px;
    height: fit-content
  }
}

@media (min-width: 768px) {
  .header__mobile li a {
    height: 45px;
    width: 45px;

    & svg {
      height: 17px;
    }
  }

  .header__bell .unread::after {
    position: relative;
    content: "";
    height: 7px;
    width: 7px;
    background-color: var(--color-6);
    right: -6px;
    top: -4px;
    border-radius: 100%;
  }
}

@media (min-width: 992px) {
  .header__search {
    display: flex;
  }

  .header {
    padding: 18px 0px;
  }

  .header__mobile {
    display: none;
  }

  .header__avatar,
  .header__tools {
    display: flex;
  }

  .header-logo {
    width: 280px;
    padding-left: 10px;
  }

  .header-logo img {
    height: 55px;
  }

  .headerRB-mobile,
  .share-post--mobile {
    display: none;
  }
}

@media (min-width: 1400px) {
  .header__navigation {
    display: block;
  }
}

@media(max-width:768px) {
  .preview-item {
    width: calc(94% / 3);
  }
}

@media(max-width:380px) {
  .preview-item {
    width: calc(92% / 3);
  }
}

.bopup-postRb__input {
  height: 30px;
  background-color: white;
  border: 1px solid rgb(231, 231, 231);
  border-radius: 5px;
  padding: 0px 10px;
  width: 100%;
}