::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background-color: white;
}

::-webkit-scrollbar-thumb {
  background-color: var(--blue-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--dim-blue-color);
}

:focus {
  outline: none;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

h2.title {
  font-size: 18px;
}

h1.header {
  font-size: 25px;
}

/* start side bar*/
.sidebar {
  min-height: 100vh;
}

.sidebar .logo {
  display: block;
  margin: 0 auto 40px;
  text-decoration: none;
  color: #ab351a;
  font-weight: 800;
  font-style: italic;
  font-size: 2rem;
}

.sidebar .logo::before,
.sidebar .logo::after {
  content: "";
  position: absolute;
  background-color: #ab351a;
  left: 50%;
  transform: translateX(-50%);
}

.sidebar .logo::before {
  width: calc(100% + 40px);
  height: 1px;
  bottom: -5px;
}

.sidebar .logo::after {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  bottom: -10px;
  outline: 5px solid white;
}

.sidebar li a.selected,
.sidebar li a:hover {
  background-color: #dbdada;
}

@media (max-width: 767px) {
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }

  .sidebar .logo {
    font-size: 13px;
    margin: 0 auto;
    padding: 20px 0;
  }

  .sidebar .logo::before,
  .sidebar .logo::after {
    display: none;
  }

  .sidebar a {
    justify-content: center;
  }
}

.sidebar-content {
  position: sticky;
  top: 0;
}
/* end sidebar */

/* start search bar */
.container .search-bar form::after {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  font-weight: 800;
  color: var(--grey-color);
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.container .search-bar form input {
  width: 160px;
  padding: 10px 0 10px 40px;
  border: 1px solid #ccc;
}

.container .search-bar form input:focus {
  width: 180px;
}

.container .search-bar form input:focus::placeholder {
  opacity: 0;
}

.container .search-bar .search-bar-icons .notifications::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  top: -8px;
  right: -5px;
}
/* end search bar */

/* start content */
.container .content {
  background-color: #f1f5f9;
}

.container .content h1 {
  margin-bottom: 40px;
}

.container .content h1::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 3px;
  background-color: white;
  bottom: -10px;
  left: 0;
}

.container .content h1::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: black;
  bottom: -10px;
  left: 0;
}

.boxes {
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

@media (max-width: 767px) {
  .boxes {
    grid-template-columns: minmax(200px, 1fr);
    gap: 10px;
  }
}
/* end content */

/* start welcome section */
.boxes .welcome .head .welcome-img {
  width: 200px;
}

.boxes .welcome .head .image {
  position: absolute;
  left: 20px;
  bottom: 0;
  transform: translateY(50%);
}

@media (max-width: 767px) {
  .boxes .welcome .head .image {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }
}

.boxes .welcome .details {
  margin-top: 60px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.boxes .welcome > a {
  margin: 30px 20px 20px auto;
}
/* end welcome section */

/* start drafts section */
.drafts .details form textarea {
  height: 180px;
  resize: none;
}

.drafts .details form input[type="submit"] {
  margin-left: auto;
}
/* end drafts section */

/* start targets section */
.targets .details .details-icon {
  width: 50px;
  height: 50px;
}

@media (max-width: 767px) {
  .targets .details .details-icon {
    width: 60px;
    height: 60px;
  }
}

.targets .details .progress-bar,
.targets .details .progress-bar .progress {
  height: 4px;
}

.targets .details .progress::before {
  content: attr(progress);
  color: white;
  position: absolute;
  padding: 3px;
  top: -35px;
  right: -15px;
  border-radius: 5px;
  font-size: 13px;
}

.targets .details .progress.progress-value-blue::before {
  background-color: var(--blue-color);
}

.targets .details .progress.progress-value-orange::before {
  background-color: var(--orange-color);
}

.targets .details .progress.progress-value-green::before {
  background-color: var(--green-color);
}

.targets .details .progress::after {
  content: "";
  position: absolute;
  top: -13px;
  right: -4px;
  border-style: solid;
  border-width: 5px;
}

.targets .details .progress.progress-value-blue::after {
  border-color: var(--blue-color) transparent transparent transparent;
}

.targets .details .progress.progress-value-orange::after {
  border-color: var(--orange-color) transparent transparent transparent;
}

.targets .details .progress.progress-value-green::after {
  border-color: var(--green-color) transparent transparent transparent;
}
/* end targets section */

/* start stats*/
.details .stat {
  flex-basis: calc(50% - 10px);
}

@media (max-width: 767px) {
  .details .stat {
    flex-basis: 100%;
  }
}
/* end stats */

/* start news */
.news .details .news-row img {
  width: 100px;
}

@media (max-width: 767px) {
  .news .details .news-row h3 {
    margin-top: 10px;
  }

  .news .details .news-row .label {
    margin-top: 10px;
  }
}
/* end news */

/* start tasks */
.tasks .details .task-row.done {
  opacity: 0.3;
}

.tasks .details .task-row.done .text {
  text-decoration: line-through;
}
/* end tasks */

/* start uploads */
.uploads .details .upload-row img {
  width: 40px;
}
/* end uploads */

/* start progress */
.progress .details .progress-rows {
  border-left: 2px solid var(--blue-color);
  margin-left: 10px;
}

.progress .details .progress-rows span::before,
.progress .details .progress-rows span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -1px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: white;
}

.progress .details .progress-rows span::before {
  width: 12px;
  height: 12px;
  outline: 1px solid white;
  z-index: 1;
}

.progress .details .progress-rows span::after {
  width: 15px;
  height: 15px;
  border: 2px solid var(--blue-color);
}

.progress .details .progress-rows span.inprogress::before {
  animation: progress-flash 1s infinite;
}

.progress .details .progress-rows span.done::before {
  background-color: var(--blue-color);
}

@keyframes progress-flash {
  0% {
    background-color: white;
  }
  100% {
    background-color: var(--blue-color);
  }
}

.progress .details img {
  width: 150px;
  align-self: flex-end;
  margin-bottom: -15px;
  opacity: 0.3;
}
/* end progress */

/* start reminders */
.reminders .details .reminder.task-list {
  border-left: 2px solid var(--blue-color);
}

.reminders .details .reminder.projects {
  border-left: 2px solid var(--green-color);
}

.reminders .details .reminder.clients {
  border-left: 2px solid var(--orange-color);
}

.reminders .details .reminder.workshop {
  border-left: 2px solid var(--red-color);
}

.reminders .details .reminder::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  left: -15px;
  top: 50%;
  transform: translate(-100%, -50%);
}

.reminders .details .reminder.task-list::before {
  background-color: var(--blue-color);
}

.reminders .details .reminder.projects::before {
  background-color: var(--green-color);
}

.reminders .details .reminder.clients::before {
  background-color: var(--orange-color);
}

.reminders .details .reminder.workshop::before {
  background-color: var(--red-color);
}
/* end reminders */

/* start posts */
.posts .details .post-header img {
  width: 50px;
  height: 50px;
}

.posts .details p {
  line-height: 1.8;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
/* end posts */

/* start social */
.social-links .details .social.twitter {
  background-color: #d2ecfc;
}

.social-links .details .social.facebook {
  background-color: #d1e4fc;
}

.social-links .details .social.youtube {
  background-color: #ffcccc;
}

.social-links .details .social.linkedin {
  background-color: #cce4f0;
}

.social-links .details .social .media i {
  width: 40px;
  height: 40px;
}

.social-links .details .social .media i:hover {
  transform: rotate(5deg);
}

.social-links .details .social.twitter .media i,
.social-links .details .social.twitter a {
  background-color: #1da1f2;
}

.social-links .details .social.facebook .media i,
.social-links .details .social.facebook a {
  background-color: #1877f2;
}

.social-links .details .social.youtube .media i,
.social-links .details .social.youtube a {
  background-color: #ff0000;
}

.social-links .details .social.linkedin .media i,
.social-links .details .social.linkedin a {
  background-color: #0077b5;
}

.social-links .details .social.twitter .media span {
  color: #1da1f2;
}

.social-links .details .social.facebook .media span {
  color: #1877f2;
}

.social-links .details .social.youtube .media span {
  color: #ff0000;
}

.social-links .details .social.linkedin .media span {
  color: #0077b5;
}
/* end social */

/* start projects */
.projects {
  grid-column: 1 / -1;
}

.projects .details {
  overflow-x: scroll;
}

.projects .details table {
  border-spacing: 1px;
  background-color: #eee;
  min-width: 1000px;
}

.projects .details table thead td {
  font-weight: bold;
  padding: 15px;
}

.projects .details table tbody {
  background-color: white;
}

.projects .details table tbody tr {
  transition: 0.3s;
}

.projects .details table tbody tr:hover {
  background-color: #faf7f7;
}

.projects .details table tbody td {
  font-size: 14px;
  padding: 5px;
}

.projects .details table tbody td.team img {
  width: 30px;
  height: 30px;
  max-width: 100%;
  border-radius: 50%;
}

.projects .details table tbody td.team img:not(:first-child) {
  margin-left: -20px;
}
/* end projects */
