:root {
  --blue-color: #0075ff;
  --blue-alt-color: #0d69d5;
  --orange-color: #f59e0b;
  --green-color: #22c55e;
  --red-color: #f44336;
  --grey-color: #888;
}

* {
  box-sizing: border-box;
}
body {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
}
*:focus {
  outline: none;
}
a {
  text-decoration: none;
}
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  background-color: white;
}
::-webkit-scrollbar-thumb {
  background-color: var(--blue-color);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--blue-alt-color);
}
.page {
  background-color: #f1f5f9;
  min-height: 100vh;
}
/* start sidebar */
.sidebar {
  width: 250px;
  box-shadow: 0 0 10px #ddd;
}
.sidebar > h3 {
  margin-bottom: 50px;
}
.sidebar > h3::before,
.sidebar > h3::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: black;
}
.sidebar > h3::before {
  width: 80px;
  height: 2px;
  bottom: -20px;
}
.sidebar > h3::after {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 4px solid white;
  bottom: -29px;
}
.sidebar ul li a {
  margin-bottom: 5px;
  transition: 0.3s;
}
.sidebar ul li a:hover,
.sidebar ul li a.active {
  background-color: #f6f6f6;
}
.sidebar ul li a span {
  font-size: 14px;
  margin-left: 10px;
}
@media (max-width: 767px) {
  .sidebar {
    width: 58px;
    padding: 10px;
  }
  .sidebar > h3 {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .sidebar > h3::before,
  .sidebar > h3::after {
    display: none;
  }
  .sidebar ul li a span {
    display: none;
  }
}
/* end sidebar */
/* start content */
.content {
  overflow: hidden;
}
.head .search::before {
  content: "\f002";
  font-family: var(--fa-style-family-classic);
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey-color);
  font-size: 14px;
}
.head .search input {
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-left: 5px;
  padding-left: 30px;
  width: 180px;
  transition: width 0.3s;
}
.head .search input:focus {
  width: 200px;
}
.head .search input:focus::placeholder {
  opacity: 0;
}
.head .icon .notification::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--red-color);
  position: absolute;
  border-radius: 50%;
  top: -5px;
  right: -5px;
}
.head .icon img {
  width: 32px;
  height: 32px;
  margin-left: 15px;
  border-radius: 50%;
}
.page h1 {
  margin: 20px 20px 40px;
}
.page h1::before,
.page h1::after {
  content: "";
  position: absolute;
  left: 0;
  height: 3px;
  bottom: -10px;
}
.page h1::before {
  background-color: white;
  width: 120px;
}
.page h1::after {
  background-color: black;
  width: 40px;
}
.wrapper {
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  margin-left: 20px;
  margin-right: 20px;
}
@media (max-width: 767px) {
  .wrapper {
    grid-template-columns: minmax(200px, 1fr);
    margin-left: 10px;
    margin-right: 10px;
    gap: 10px;
  }
}
/* end content */
/* start welcome widget */
.welcome {
  overflow: hidden;
}
.welcome .intro img {
  width: 100px;
}
.welcome .avatar {
  width: 64px;
  height: 64px;
  margin-top: -32px;
  margin-left: 20px;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 5px #ddd;
}
.welcome .body {
  border-bottom: 1px solid #eee;
}
.welcome .body > div {
  flex: 1;
}
.welcome .visit {
  margin: 0 15px 15px auto;
  transition: 0.3s;
}
.welcome .visit:hover {
  background-color: var(--blue-alt-color);
}
@media (max-width: 767px) {
  .welcome .intro {
    padding-bottom: 30px;
  }
  .welcome .avatar {
    margin-left: 0;
  }
  .welcome .body > div:not(:last-child) {
    margin-bottom: 20px;
  }
}
/* end welcome widget */
/* start quick draft widget */
.quick-draft textarea {
  resize: none;
  min-height: 115px;
}
.quick-draft .save {
  cursor: pointer;
  margin-left: auto;
  transition: 0.3s;
}
.quick-draft .save:hover {
  background-color: var(--blue-alt-color);
}
/* eng quick draft widget */
/* start yearly targets widget */
.targets .target-row .icon {
  width: 80px;
  height: 80px;
  padding: 15px;
  margin-right: 10px;
}
.targets .details {
  flex: 1;
}
.targets .details .progress {
  height: 4px;
}
.targets .details .progress > span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}
.targets .details .progress > span span {
  position: absolute;
  bottom: 16px;
  right: -16px;
  padding: 2px 5px;
  font-size: 12px;
  border-radius: 6px;
  color: white;
}
.targets .details .progress > span span::after {
  content: "";
  border-color: transparent;
  border-style: solid;
  border-width: 5px;
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
}
.targets .details .progress > .money span::after {
  border-top-color: var(--blue-color);
}
.money .icon,
.money .progress {
  background-color: rgb(0 117 255/ 20%);
}
.targets .details .progress > .project span::after {
  border-top-color: var(--orange-color);
}
.project .icon,
.project .progress {
  background-color: rgb(245 158 11/ 20%);
}
.targets .details .progress > .team span::after {
  border-top-color: var(--green-color);
}
.team .icon,
.team .progress {
  background-color: rgb(34 197 94/ 20%);
}
/* end yearly targets widget */
/* start ticket widget */
.tickets .box {
  border: 1px solid #ccc;
  width: calc(50% - 10px);
}
@media (max-width: 767px) {
  .tickets .box {
    width: 100%;
  }
}
/* end ticket widget */
/* start latest news widget */
.latest-news .news-row:not(:last-of-type){
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.latest-news .news-row img {
  width: 100px;
  height: 67px;
  border-radius: 6px;
  margin-right: 15px;
}
.latest-news .news-row .info {
  flex-grow: 1;
}
@media (max-width: 767px) {
  .latest-news .news-row{
    display: block;
  }
  .latest-news .news-row .label{
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
  }
}
/* end latest news widget */
/* start tasks widget */
.tasks .task-row:not(:last-of-type){
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.tasks .info {
  flex-grow: 1;
}
.tasks .done{
  opacity: 0.3;
}
.tasks .done h3,
.tasks .done p{
  text-decoration: line-through;
}
.tasks .delete{
  transition: 0.3s;
  cursor: pointer;
}
.tasks .delete:hover{
  color: var(--red-color);
}
/* end tasks widget */
/* start latest uploads widget */
.latest-uploads ul li:not(:last-child){
  border-bottom: 1px solid #eee;
}
.latest-uploads ul li img{
  width: 40px;
  height: 40px;
}
/* end latest uploads widget */
/* start last project progress widget */
.last-project ul::before{
  content: "";
  position: absolute;
  left: 11px;
  width: 2px;
  height: 100%;
  background-color: var(--blue-color);
}
.last-project ul li::before{
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  border: 2px solid white;
  outline: 2px solid var(--blue-color);
  margin-right: 15px;
  z-index: 1;
}
.last-project ul li.done::before{
  background-color: blue;
}
.last-project ul li.current::before{
  animation: change-color 0.8s infinite alternate;
}
/* end last project progress widget */
/* start reminders widget */
.reminders ul li .key{
  width: 15px;
  height: 15px;
}

.reminders ul li > .blue {
  border-left: 2px solid var(--blue-color);
}
.reminders ul li > .green {
  border-left: 2px solid var(--green-color);
}
.reminders ul li > .orange {
  border-left: 2px solid var(--orange-color);
}
.reminders ul li > .red {
  border-left: 2px solid var(--red-color);
}
/* end reminders widget */
/* start latest post widget */
.latest-post .avatar {
  width: 48px;
  height: 48px;
}
.latest-post .post-content {
text-transform: capitalize;
line-height: 1.8;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
min-height: 140px;
}
/* end latest post widget */
/* start social media widget */
.social-media .box {
  padding-left: 70px;
}
.social-media .box i {
  position: absolute;
  left: 0;
  top: 0;
  transition: 0.3s;
  width: 50px;
}
.social-media .box i:hover {
  transform: rotate(5deg);
}
.social-media .twitter {
  background-color: rgb(29 161 242 / 20%);
  color: #1da1f2;
}
.social-media .twitter i,
.social-media .twitter a {
  background-color: #1da1f2;
}
.social-media .facebook {
  background-color: rgb(24 119 242 / 20%);
  color: #1877f2;
}
.social-media .facebook i,
.social-media .facebook a {
  background-color: #1877f2;
}
.social-media .youtube {
  background-color: rgb(255 0 0 / 20%);
  color: #ff0000;
}
.social-media .youtube i,
.social-media .youtube a {
  background-color: #ff0000;
}
.social-media .linkedin {
  background-color: rgb(0 119 181 / 20%);
  color: #0077b5;
}
.social-media .linkedin i,
.social-media .linkedin a {
  background-color: #0077b5;
}
/* end social media widget */
/* start projects table */
.projects .responsive-table{
  overflow-x: auto;
}
.projects table {
  min-width: 1000px;
  border-spacing: 0;
}
.projects thead td {
  background-color: #eee;
  font-weight: bold;
}
.projects table td {
  padding: 15px;
}
.projects tbody td {
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
  transition: 0.3s;
}
.projects tbody tr:hover td {
  background-color: #faf7f7;
}
.projects tbody tr td:last-child{
  border-right: 1px solid #eee;
}
.projects table img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 2px;
  background-color: white;
}
.projects table img:not(:first-child){
  margin-left: -20px;
}
.projects table .label {
  font-size: 12px;
}
/* end projects table */
/* start settings page */
/* toggle checkbox */
.toggle-checkbox{
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.toggle-switch {
  background-color: #ccc;
  width: 78px;
  height: 32px;
  border-radius: 16px;
  position: relative;
  transition: 0.3s;
  cursor: pointer;
}
.toggle-switch::before {
  font-family: var(--fa-style-family-classic);
  content: "\f00d";
  font-weight: 900;
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #eee;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #aaa;
  transition: 0.3s;
}
.toggle-checkbox:checked + .toggle-switch {
  background-color: var(--blue-color);
}
.toggle-checkbox:checked + .toggle-switch::before {
  left: 50px;
  content: "\f00c";
  color: var(--blue-color);
}
/* end toggle checkbox */
.settings-page {
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  margin-left: 20px;
  margin-right: 20px;
}
@media (max-width: 767px) {
  .settings-page {
    grid-template-columns: minmax(200px, 1fr);
    margin-left: 10px;
    margin-right: 10px;
    gap: 10px;
  }
}
.settings-page :disabled {
  cursor: no-drop;
  color: #bbb;
  background-color: #eee;
}
/* start site control widget  */
.control textarea {
  border: none;
  resize: none;
  border: 1px solid #ccc;
  min-height: 150px;
}
/* end site control widget  */
/* start general info widget */
.general input[type="email"]{
  display: inline-block;
  width: calc(100% - 80px);
}
/* start general info widget */
/* start security widget */
.security .sec-box:not(:last-of-type) {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}
/* end security widget */
/* start social info widget */
.social input{
  border-radius: 0 6px 6px 0;
  background-color: #f6f6f6;
  border: 1px solid #ddd;
}
.social .icon{
  width: 40px;
  height: 40px;
  background-color: #f6f6f6;
  color:#868484;
  transition: 0.3s;
  border-radius: 6px 0 0 6px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
} 
.social > div:focus-within i{
  color: black;
}
/* end social info widget */
/* start backup maneger widget */
.check-time{
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}
.backup .servers{
  position: relative;
}
@media (max-width: 767px) {
  .backup .servers{
    flex-wrap: wrap;
  }
}
.backup .servers input[type="radio"]{
  appearance: none;
  -webkit-appearance: none;
}
.backup .servers label{
  cursor: pointer;
}
.backup .servers input[type="radio"]:checked + .server {
  color: var(--blue-color);
  border-color: var(--blue-color);
}
/* end backup maneger widget */
/* end settings page */
/* start profile page */
.profile-page .avatar-box img{
  width: 120px;
  height: 120px;
}
.profile-page .avatar-box .level{
  height: 4px;
  overflow: hidden;
  width: 70%;
  margin: 0 auto 10px;
}
.profile-page .avatar-box .level span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--blue-color);
  border-radius: 6px;
}
@media (min-width: 768px) {
  .profile-page .avatar-box{
    width: 300px;
    border-right: 1px solid #eee;
  }
}
@media (max-width: 767px) {
  .profile-page .overview {
    flex-direction: column;
  }
  .profile-page{
    margin-left: 10px;
    margin-right: 10px;
    gap: 10px;
  }
  .other-data {
    margin-top: 10px;
    gap: 10px;
  }
}
.profile-page .info-box .box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  border-bottom: 1px solid #eee;
}
.profile-page .info-box .box:hover {
  background-color: #f9f9f9;
}
.profile-page .info-box .box > div {
  min-width: 200px;
  padding: 0 0 5px;
}
.profile-page .info-box .box > h4 {
  font-weight: normal;
  padding-bottom: 10px;
}
/* start other-data */
.other-data {
flex-wrap: wrap;
}
.other-data .skills {
  flex-grow: 1;
}
.other-data .activites {
  flex-grow: 2;
}
.other-data .skills .skill:not(:last-of-type){
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  padding-bottom: 20px;
}
.other-data .skills .skill span {
  background-color: #f6f6f6;
  margin-left: 5px;
  border-radius: 6px;
  padding: 5px 10px;
}
.other-data .activites .activity:not(:last-of-type) {
  border-bottom: 1px solid #eee;
}
.other-data .activites .activity img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.other-data .activites .activity .box {
  flex-grow: 1;
}
@media (max-width: 767px) {
  .other-data .activites .activity{
    flex-direction: column;
  }
  .other-data .activites .activity img{
    margin-top: 10px;
  }
  .other-data .activites .activity .box{
    flex-direction: column;
    text-align: center;
  }
  .other-data .activites .activity .box .info {
    margin-left: 0;
  }
  .other-data .activites .activity .box .time {
    padding-bottom: 20px;
  }
}
/* end other-data */
/* end profile page */
/* start projects page */
.projects-page{
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}
@media (max-width: 767px) {
  .projects-page{
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    margin-left: 10px;
    margin-right: 10px;
    gap: 10px;
  }
}
.projects-page .project > span{
  position: absolute;
  top: 10px;
  right: 10px;
}
.projects-page .project .team,
.projects-page .project .works{
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  padding-bottom: 20px;
}
.projects-page .project .team img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 2px;
  background-color: white;
}
.projects-page .project .team img:not(:first-of-type){
  margin-left: -25px;
}
.projects-page .project .works{
  text-align: right;
  margin-top: 20px;
  display: flex ;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .projects-page .project .works span {
    margin-bottom: 5px;
  }
}
.projects-page .project .works span {
  background-color: #f6f6f6;
  padding: 5px 10px;
  margin-left: 5px;
  border-radius: 6px;
  margin-bottom: 5px;
}
.projects-page .project .progress {
    position: relative;
    height: 4px;
    width: 50%;
    background-color: #eee;
    border-radius: 6px;
}
.projects-page .project .progress span {
  height: 4px;
  background-color: var(--blue-color);
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 0;
}
/* end projects page */
/* start courses page */
.courses-page{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
@media (max-width: 767px) {
  .courses-page{
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin-left: 10px;
    margin-right: 10px;
    gap: 10px;
  }
}
.courses-page .course {
  overflow: hidden;
}
.courses-page .course .layout > img {
  width: 100%;
  height: 170px;
}
.courses-page .course .layout .avatar {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
}
.courses-page .course .details p {
  color: #777;
  line-height: 1.6;
  border-bottom: 1px solid #ccc;
  padding-bottom: 30px;
}
.courses-page .course .details a {
  color: white;
  background-color: var(--blue-color);
  font-weight: 500;
  width: fit-content;
  padding: 5px 10px;
  margin-top: -30px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.courses-page .course .details a:hover{
  background-color: var(--blue-alt-color);
}
/* end courses page */
/* start friends page */
.friends-page{
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@media (max-width: 767px) {
  .friends-page{
    margin: 10px;
    gap: 10px;
    }
}
.friends-page .friend .contact i{
  position: absolute;
  background-color: #eee;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  left: 10px;
}
.friends-page .friend .contact i:nth-child(2){
  left: 45px;
}
.friends-page .friend .icons .vip {
  position: absolute;
    right: 20px;
    font-size: 45px;
    top: 15px;
    opacity: 0.1;
}
/* end friends page */
/* start files page */
.files-page{
  align-items: flex-start;
  /* flex-direction: row-reverse; */
}
@media (max-width: 767px) {
  .files-page{
    flex-direction: column;
    align-items: normal;
    margin: 10px;
    gap: 10px;
  }
}
.files-page .files-stats{
  min-width: 260px;
}
.files-page .files-stats .icon{
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.files-page .files-stats .blue {
  background-color: rgb(0 117 255 / 20%);
}
.files-page .files-stats .green {
  background-color: rgb(34 197 94 / 20%);
}
.files-page .files-stats .red {
  background-color: rgb(244 67 54 / 20%);
}
.files-page .files-stats .orange {
  background-color: rgb(245 158 11 / 20%);;
}
.files-page .files-stats .size{
  margin-left: auto;
}
.files-page .files-stats .upload{
  padding: 10px 15px;
  margin: 15px auto 0;
  transition: 0.3s;
}
.files-page .files-stats .upload:hover {
  background-color: var(--blue-alt-color);
}
.files-page .files-stats .upload:hover i{
  animation: go-up 0.8s infinite;
}
.files-page .files-content {
  flex: 1;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (max-width: 767px) {
  .files-page .files-content{
    gap: 10px;
  }
}
.files-page .files-content .file img{
  width: 65px;
  height: 65px;
  transition: 0.3s;
}
.files-page .files-content .file:hover img {
  transform: rotate(5deg);
}
/* end files page */
/* start plans page */
.plans-page {
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}
@media (max-width: 767px) {
  .plans-page {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    margin: 10px;
  }
}
.plans-page .plan .top {
  border: 3px solid white;
  outline: 2px solid transparent;
}
.plans-page .plan.green .top {
  outline-color: var(--green-color);
}
.plans-page .plan.blue .top {
  outline-color: var(--blue-color);
}
.plans-page .plan.orange .top {
  outline-color: var(--orange-color);
}
.plans-page .plan .price {
  position: relative;
  font-size: 35px;
  width: fit-content;
  margin: 5px auto 0;
}
.plans-page .plan .price span:first-child {
  position: absolute;
  left: -15px;
  top: -5px;
  font-size: 20px;
  
}
.plans-page .plan ul li {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.plans-page .plan ul li i:first-child{
  margin-right: 5px;
  font-size: 18px;
}
.plans-page .plan ul li .help{
  margin-left: auto;
  color: var(--grey-color);
  cursor: pointer;
}
.plans-page .plan ul li i.yes{
  color: var(--green-color);
}
.plans-page .plan ul li i:not(.yes, .help){
  color: var(--red-color);
}
/* end plans page */
/* start animation */
@keyframes change-color {
  from{
    background-color: var(--blue-color);
  }
  to{
    background-color: white;
  }
}
@keyframes go-up {
  0%, 100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-5px);
  }
}
/* end animation */
