/* ! ==== TIMELINE-POST-PAGE ==== --> */

.timelinePostHeader .back-btn-section {
  display: flex;
  align-items: center;
}

.timelinePostHeader .back-btn-section .left {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 12px;
  gap: 13px;
}

.timelinePostHeader .back-btn-section .left span {
  font-weight: 600;
  color: var(--text-color);
}

.timelinePostHeader .back-btn-section .right {
  width: 50%;
  padding-right: 10px;
}

.timelinePostHeader .back-btn-section .right .post-btn {
  width: 70px;
  height: 30px;
  background-color: var(--primary-color);
  color: var(--primary-button-text);
  line-height: 30px;
  text-transform: capitalize;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

#timelinePost {
  height: calc(100vh - 60px) !important;
  overflow: hidden;
  position: relative;
}

#timelinePost .profile-details {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
}

#timelinePost .profile-details .left .img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  overflow: hidden;
}

#timelinePost .profile-details .left .img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#timelinePost .profile-details .right .name {
  color: var(--text-color);
  text-transform: capitalize;
}

#timelinePost .profile-details .right .postbtn-section li {
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  text-transform: capitalize;
  padding: 3px 10px;
  width: 90px;

  margin-right: 5px;
  background-color: #ebebeb;
  display: inline-block;
  cursor: pointer;
}

#timelinePost .profile-details .right #submenuList {
  display: none;
  flex-direction: column;
  padding: 0;
  position: absolute;
  z-index: 666665555555555;
}

#timelinePost .profile-details .right #submenuList li {
  border-top: 1px solid var(--border-color);
  border-radius: 0px;
}

#timelinePost .post-textarea {
  /* background-color: #13ab06; */
  /* overflow: hidden;
 height: 200px;
 overflow-y: scroll; */
}

#timelinePost .textarea-box {
  background-color: red;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-top: 10px;
  overflow: hidden;
  transition: background-color 0.3s, display 0.3s;
}

#timelinePost .textarea-box textarea {
  min-height: 30px;
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  font-size: 30px;
  line-height: 36px;
  font-weight: normal;
  background-color: transparent;
  text-align: center;
  font-weight: 600;
  color: var(--white-color);
  transition: text-align 0.3s;
}

#timelinePost .textarea-box textarea::placeholder {
  font-size: 30px;
  /* color: #dadada; */
  font-weight: 600;
}

#timelinePost .textarea-box.transformed {
  background-color: transparent !important;
  padding: 0px;
  margin-top: 0;
  display: block !important;
}

#timelinePost .textarea-box.transformed textarea {
  text-align: left;
  color: var(--text-color);
  font-size: 18px;
  line-height: 22px;
  max-height: 250px;
  padding: 10px;
}

#timelinePost .textarea-box.transformed textarea::-webkit-scrollbar {
  width: 8px;
  background-color: var(--dashboard-bg);
  border-radius: 12px;
}

#timelinePost .textarea-box.transformed textarea::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 12px;
}

#timelinePost .color-selection {
  padding: 10px 12px;
  padding-bottom: 0px;
  display: flex;
}

#timelinePost .color-selection .default-color {
  cursor: pointer;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  color: var(--white-color);
  border-radius: 5px;
  background-image: linear-gradient(
    to right,
    #ff00a7,
    #ed00b8,
    #d500c9,
    #b719d9,
    #8d2ee9,
    #ba1cdb,
    #dc04cc,
    #f700bd,
    #ff2285,
    #ff704e,
    #ffb111,
    #ffe90b
  );
}

#timelinePost .color-selection .color-plate {
  font-size: 30px;
  width: 32px;
  height: 32px;
  line-height: 28px;
  margin-left: 10px;
  text-align: center;
  border-radius: 5px;
  background-color: #eaf3f8;
  cursor: pointer;
}

#timelinePost .color-selection .colors {
  cursor: pointer;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  background-color: #eb9f2d;
  border-radius: 5px;
  margin-left: 10px;
  box-shadow: 0px 0px 2px #0005;
}

#timelinePost .color-selection .colors:first-child {
  margin-left: 0;
}

#timelinePost .color-selection .colors:nth-child(2) {
  background-color: #fff;
}

#timelinePost .color-selection .colors:nth-child(3) {
  background-color: #ff0040;
}

#timelinePost .color-selection .colors:nth-child(4) {
  background-color: #000;
}

#timelinePost .color-selection .colors:nth-child(5) {
  background-image: linear-gradient(to bottom right, #009245, #fcee21);
}

#timelinePost .color-selection .colors:nth-child(6) {
  background-image: linear-gradient(to bottom right, #0100ec, #fb36f4);
}

#timelinePost .color-selection .colors:nth-child(7) {
  background-image: linear-gradient(to bottom right, #38a2d7, #561139);
}

#timelinePost .add-post {
  display: flex;
  border-radius: 0px;
  align-items: center;
  justify-content: space-between;
}

#timelinePost .add-post .right {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0px;
  justify-content: flex-end;
  padding-right: 12px;
}

#timelinePost .add-post .right .icon {
  cursor: pointer;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  width: 100%;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  justify-content: flex-end;
}

#timelinePost .add-post .right .icon img {
  width: 25px;
  height: 25px;
  object-fit: cover;
}

#timelinePost .btn-sec {
  border-top: 1px solid var(--border-color);
  text-align: right;
  margin-top: 15px;
}

#timelinePost .post-btn {
  height: 40px;
  width: 100%;
  border: none;
  font-weight: 500;
  margin-top: 10px;
  text-transform: capitalize;
  border-radius: 4px;
  background-color: var(--primary-color);
  color: var(--primary-button-text);
}

#colorModal .modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
}

#colorModal .modal-header {
  padding: 10px 12px;
  border-bottom: none;
}

#colorModal .modal-body {
  border: none;
}

#colorModal .color-modal {
  display: grid;
  gap: 10px;
  justify-content: center;
  align-items: center;
  border: none;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding-left: 5px;
}

#colorModal .color-modal .colors {
  cursor: pointer;
  width: 35px;
  height: 35px;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(9, 9, 121, 1) 35%,
    rgba(0, 212, 255, 1) 100%
  );
  border-radius: 5px;

  box-shadow: 0px 0px 2px #0005;
}

#colorModal .color-modal .colors:nth-child(2) {
  background: rgb(34, 193, 195);
  background: linear-gradient(
    0deg,
    rgba(34, 193, 195, 1) 0%,
    rgba(253, 187, 45, 1) 100%
  );
}

#colorModal .color-modal .colors:nth-child(3) {
  background: linear-gradient(
    90deg,
    rgba(131, 58, 180, 1) 0%,
    rgba(253, 29, 29, 1) 50%,
    rgba(252, 176, 69, 1) 100%
  );
}

#colorModal .color-modal .colors:nth-child(4) {
  background: linear-gradient(to right, #fc5c7d, #6a82fb);
}

#colorModal .color-modal .colors:nth-child(5) {
  background: linear-gradient(to right, #f12711, #f5af19);
}

#colorModal .color-modal .colors:nth-child(6) {
  background: #00712d;
}

#colorModal .color-modal .colors:nth-child(7) {
  background: orange;
}

#colorModal .color-modal .colors:nth-child(8) {
  background: #6439ff;
}

#colorModal .color-modal .colors:nth-child(9) {
  background: #2e073f;
}

#colorModal .color-modal .colors:nth-child(10) {
  background: #03e6f7;
}

#colorModal .color-modal .colors:nth-child(11) {
  background: #6c0345;
}

#colorModal .color-modal .colors:nth-child(12) {
  background: #c40c0c;
}

#colorModal .color-modal .colors:nth-child(13) {
  background: #03aed2;
}

#colorModal .color-modal .colors:nth-child(14) {
  background: #912bbc;
}

#colorModal .color-modal .colors:nth-child(15) {
  background: #ff00c8;
}

@media screen and (min-width: 576px) {
  #colorModal .modal-content {
    width: 50%;
  }
}
