/* start global rules  */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

input,
textarea {
  border: none;
  outline: none;
  resize: none;
}

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

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

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

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

/* end global rules  */
/* start var  */
:root {
  --gray-color: #888;
  --dark-red: #f44336;
  --dark-blue: #0075ff;
  --blue-color: #0d69d5;
}

/* end var  */
.page {
  background-color: #f1f5f9;
  min-height: 100vh;
}

/* start sidebar  */
.sidebar {
  width: 250px;
  box-shadow: 0 0 10px #ddd;
}

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

.sidebar h3 {
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .sidebar h3 {
    font-size: 12px;
    margin-bottom: 15px;
    left: -7px;
  }
}

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

.sidebar h3::before {
  width: 50%;
  height: 2px;
  bottom: -20px;
}

.sidebar h3::after {
  width: 12px;
  height: 12px;
  border-radius: 50px;
  border: 4px solid white;
  bottom: -29px;
}

@media (max-width: 767px) {

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

.sidebar ul li a {
  margin-bottom: 5px;
  transition: 0.3s;
}

.sidebar ul li:hover a {
  background-color: #f6f6f6;
}

.sidebar ul li a.active {
  background-color: #f6f6f6;
}

.sidebar ul li a i {
  margin-right: 10px;
}

@media (max-width: 767px) {
  .sidebar ul li a span {
    display: none;
  }
}

/* end sidebar  */
/* start content  */
.content {
  overflow: hidden;
}

/* start header */
header .search i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  color: var(--gray-color);
  font-size: 14px;
}

header .search input {
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 160px;
  padding-left: 30px;
  margin-left: 5px;
  transition: width 0.3s;
}

header .search input:focus {
  width: 200px;
  outline: none;
}

header .icon .not::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--dark-red);
  right: -5px;
  top: -5px;
}

header .icon img {
  width: 32px;
  height: 32px;
  margin-left: 15px;
}

/* end header */
.content h1 {
  margin: 20px 20px 40px;
  max-width: fit-content;
}

.content h1::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0;
  bottom: -15px;
  background-image: linear-gradient(to right,
      black 25%,
      white 25%,
      white 75%,
      #f1f5f9 75%);
}

/* start wraper */
.wraper {
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .wraper {
    grid-template-columns: minmax(200px, 1fr);
    margin-left: 10px;
    margin-right: 10px;
    gap: 10px;
  }
}

/* start welcome */
.welcome {
  overflow: hidden;
}

.welcome .first img {
  width: 200px;
  margin-bottom: -10px;
}

@media (max-width: 767px) {
  .welcome .first img {
    display: none;
  }
}

.welcome>img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: white solid 4px;
  margin-left: 25px;
  margin-top: -27px;
}

.welcome .last {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

@media (max-width: 767px) {
  .welcome .last {
    flex-direction: column;
  }
}

.welcome .last>div {
  flex: 1;
}

.welcome a {
  transition: 0.3s;
  margin: 20px 10px 20px auto;
}

.welcome a:hover {
  background-color: var(--blue-color);
}

/* end welcome */

/* start quick draft */

.quick-draft .save {
  transition: 0.3s;
  margin: 20px 10px 20px auto;
}

.quick-draft textarea {
  min-height: 180px;
}

.quick-draft .save:hover {
  background-color: var(--blue-color);
}

/* end quick draft */
/* start target  */
.target .type .icon {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

.target .type .rate {
  width: 100%;
  height: 3px;
}

.target .type .rate span>span {
  position: absolute;
  padding: 3px 5px;
  font-size: 13px;
  border-radius: 6px;
  right: -15px;
  top: -35px;
  color: white;
}

.target .type .rate span>span::after {
  content: "";
  position: absolute;
  border: 7px solid;
  border-color: red transparent transparent transparent;
  bottom: -13px;
  left: 13px;
}

.target .blue .rate span>span::after {
  border-color: var(--dark-blue) transparent transparent transparent;
}

.target .yello .rate span>span::after {
  border-color: hsl(37.76deg 92.06% 50.59%) transparent transparent transparent;
}

.target .green .rate span>span::after {
  border-color: hsl(142.64deg 67.09% 46.47%) transparent transparent transparent;
}

.target .blue .rate span>span {
  background-color: var(--dark-blue);
}

.target .yello .rate span>span {
  background-color: hsl(37.76deg 92.06% 50.59%);
}

.target .green .rate span>span {
  background-color: hsl(142.64deg 67.09% 46.47%);
}

/* end target  */
/* start news */
.news .box {
  border-bottom: #eee 1px solid;
}

.news .box:last-child {
  border-bottom: none;
}

.news .box .img img {
  width: 100px;
  height: 56px;
  margin-right: 15px;
  border-radius: 6px;
}

/* end news */
/* start ticket  */
.ticket .holder .box {
  border: 1px solid #ccc;
  width: calc(50% - 10px);
}

@media (max-width: 767px) {
  .ticket .holder .box {
    width: 100%;
  }
}

/* end ticket  */
/* start task */
.task .box {
  border-bottom: #eee 1px solid;
}

.task .box:last-child {
  border-top: #eee 1px solid;
  border-bottom: none;
}

.task .done {
  opacity: 0.3;
  margin-left: 10px;
}

.task .box i:hover {
  color: var(--dark-red);
}

.task .box i {
  cursor: pointer;
  transition: 0.3s;
}

/* end task */
/* start top  */
/* end top  */
/* start upload */
.upload .box {
  border-bottom: #eee 1px solid;
}

.upload .box:last-child {
  border-top: #eee 1px solid;
  border-bottom: none;
}

.upload .box .logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

/* end upload */
/* start last  */
.last ul::before {
  content: "";
  position: absolute;
  height: 90%;
  width: 2px;
  background-color: var(--blue-color);
  left: 10px;
}

.last ul li::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid white;
  outline: 2px solid var(--blue-color);
  margin-right: 15px;
  z-index: 1;
}

.last ul li.done::before {
  background-color: var(--blue-color);
}

.last ul li.current::before {
  animation: 1s flash alternate infinite;
}

.last img {
  position: absolute;
  opacity: 0.2;
  bottom: 0;
  right: 0;
  width: 160px;
}

@media (max-width: 767px) {
  .last img {
    display: none;
  }
}

/* end last  */
/* start reminder */
.reminder ul li::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: red;
  display: block;
  margin-right: 15px;
}

.reminder ul li:first-child::before {
  background-color: var(--blue-color);
}

.reminder ul li:nth-child(2):before {
  background-color: #22c55e;
}

.reminder ul li:nth-child(3):before {
  background-color: #f59e0b;
}

.reminder ul li:last-child::before {
  background-color: var(--dark-red);
}

.reminder ul li .blue {
  border-left: 2px solid var(--blue-color);
}

.reminder ul li .green {
  border-left: 2px solid #22c55e;
}

.reminder ul li .yello {
  border-left: 2px solid #f59e0b;
}

.reminder ul li .red {
  border-left: 2px solid var(--dark-red);
}

/* end reminder */
/* start post */
.post .img img {
  width: 48px;
  height: 48px;
}

.post .the-post {
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  min-height: 140px;
  text-transform: capitalize;
}

.post .the-post p {
  line-height: 1.7;
}

/* end post */
/* start social */
.social .box {
  padding-left: 70px;
}

@media (max-width: 767px) {
  .social .box {
    padding-left: 60px;
  }
}

.social .twitter {
  background-color: rgb(29 161 242 / 20%);
}

.social .face-book {
  background-color: rgb(24 119 242 / 20%);
}

.social .youtube {
  background-color: rgb(255 0 0 / 20%);
}

.social .linkedin {
  background-color: rgb(0 119 181 / 20%);
}

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

.social .face-book i,
.social .face-book a {
  background-color: #1877f2;
}

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

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

.social .twitter {
  color: #1da1f2;
}

.social .face-book {
  color: #1877f2;
}

.social .youtube {
  color: #ff0000;
}

.social .linkedin {
  color: #0077b5;
}

.social .box i {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  transition: 0.3s;
}

.social .box i:hover {
  transform: rotate(6deg);
}

/* end social */
/* end wraper */
/* start projects */
.projects .re-table {
  overflow-x: auto;
}

.projects table {
  min-width: 1000px;
  border-spacing: 0;
}

.projects table thead td {
  background-color: #eee;
  font-weight: bold;
}

.projects table td {
  padding: 15px;
}

.projects table tbody td {
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
  transition: 0.3s;
}

.projects table tbody td:last-child {
  border-right: 1px solid #eee;
}

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

.projects table img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 2px;
  background-color: white;
  transition: 0.5s;
}

.projects table img:not(:first-child) {
  margin-left: -20px;
}

.projects table tbody td span {
  font-size: 13px;
}

/* end projects */
/* end content  */

/* start settings */
/* start taggle  */

.but .taggle {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.but .taggle-switch {
  width: 78px;
  height: 32px;
  background-color: #ccc;
  border-radius: 16px;
  transition: 0.3s;
  cursor: pointer;
  position: relative;
}

.but .taggle-switch::before {
  font-family: "Font Awesome 6 Free";
  content: "\f00d";
  font-weight: 900;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 4px;
  left: 4px;
  border-radius: 50%;
  background-color: white;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.but .taggle:checked+.taggle-switch {
  background-color: var(--blue-color);
}

.but .taggle:checked+.taggle-switch::before {
  content: "\f00c";
  color: var(--blue-color);
  left: 50px;
}

/* end taggle  */
/* start control */
.setting-page {
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}

/* end control */
.control form textarea {
  min-height: 180px;
  border: 1px solid #ccc;
}

/* start gentral */
.setting-page .genral input:disabled {
  cursor: no-drop;
  background-color: #f0f4f8;
  color: #bbb;
}

.setting-page .email:disabled {
  display: inline-flex;
  width: calc(100% - 80px);
}

/* end gentral */
/* start secuirty */
.security .box:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.security .box .bottom {
  transition: 0.3s;
}

.security .box .bottom:hover {
  background-color: var(--dark-blue);
}

/* end secuirty */
/* start social info  */
.social-info .box i {
  transition: 0.3s;
  border-right: 1px solid #ccc;
}

.social-info .box:focus-within i {
  color: black;
}

/* end social info  */
/* start wedgest */
.wedgest input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
}

.wedgest label {
  padding-left: 30px;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

.wedgest label::before {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 5px;
  border: 2px solid #888;
}

.wedgest label:hover::before,
.wedgest input[type="checkbox"]:checked+label::before {
  border-color: var(--blue-color);
}

.wedgest label::after {
  font-family: "Font Awesome 6 Free";
  content: "\f00c";
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: absolute;
  width: 15px;
  border-radius: 3px;
  left: 2px;
  top: 2px;
  height: 15px;
  background-color: var(--blue-color);
  transition: 0.3s;
  transform: scale(0);
}

.wedgest input[type="checkbox"]:checked+label::after {
  transform: scale(1);
}

/* end wedgest */
/* start backup */
.backup input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
}

.backup .data label {
  padding-left: 30px;
  cursor: pointer;
  position: relative;
}

.backup .data label::before {
  content: "";
  position: absolute;
  background-color: white;
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-radius: 50%;
  left: 0;
  outline: 2px solid #888;
  margin-top: 2px;
}

.backup .data input[type="radio"]:checked+label::before {
  background-color: var(--blue-color);
  outline-color: var(--blue-color);
}

.backup .servers {
  border-top: 1px solid #eee;
}

.backup .servers .server {
  border: 2px solid #eee;
  transition: 0.3s;
}

.backup .servers input[type="radio"]:checked+.server {
  border: 2px solid var(--blue-color);
  color: var(--blue-color);
}

/* end backup */

/* end settings */
/* strat profile */

/* start profile page */
@media (min-width:787px) {
  .profile-page .img {
    border-right: 1px solid #eee;
  }
}


.profile-page .img img {
  width: 120px;
  height: 120px;
}

@media (max-width: 767px) {
  .profile-page .img h2 {
    margin: 10px auto;
  }
}

.profile-page .img h2:before {
  content: "";
  position: absolute;
  width: 60%;
  height: 5px;
  border-radius: 3px;
  background-color: var(--blue-color);
  bottom: -45px;
  left: -1px;
  z-index: 1;
}

.profile-page .img h2::after {
  content: "";
  position: absolute;
  width: calc(40% + 7px);
  height: 5px;
  border-radius: 3px;
  right: -1px;
  background-color: #eee;
  bottom: -45px;
}

.profile-page .content .box {
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
  transition: 0.3s;
}

.profile-page .content .box>div {
  min-width: 250px;
  padding: 10px 0 0;
}

.profile-page .content .box h4 {
  font-weight: normal;
}

/* end profile page */
/* start other */
/* start skills */
.skills {
  flex-grow: 1;
}

.skills ul li {
  padding: 15px 0;
}

.skills ul li:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.skills ul li span {
  display: inline-flex;
  margin-top: 5px;
}

.skills ul li span:not(:last-child) {
  margin-right: 5px;
}

/* end skills */
/* start activities */
.activeties {
  flex-grow: 2;
}

.activeties .box {
  border-bottom: 1px solid #eee;
}

.activeties .box img {
  width: 64px;
  height: 64px;
  margin-right: 10px;
}

@media (min-width: 768px) {
  .profile-page .activeties .data {
    margin-left: auto;
    text-align: right;
  }
}

@media (max-width: 767px) {
  .profile-page .activeties .box .data {
    margin-top: 15px;
  }
}

/* end activities */
/* end other */
/* end profile */
/* start projedt   */
/* start project-page */
.project-page {
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

@media (max-width: 767px) {
  .project-page {
    grid-template-columns: minmax(200px, 1fr);
    margin-left: 10px;
    margin-right: 10px;
    gap: 10px;
  }
}

/* start project  */
.project>span {
  position: absolute;
  right: 10px;
  top: 15px;
}

.project .imges {
  min-height: 80px;
}

.project .imges a {
  position: absolute;
  left: 0;
  bottom: 0;
}

.project .imges a:hover {
  z-index: 10;
}

.project .imges a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
}

.project .imges a:nth-child(2) {
  left: 25px;
}

.project .imges a:nth-child(3) {
  left: 50px;
}

.project .imges a:nth-child(4) {
  left: 75px;
}

.project .imges a:nth-child(5) {
  left: 100px;
}

.project .do {
  border-top: 1px solid #eee;
  justify-content: flex-end;
}

@media (max-width:767px) {
  .project .do {
    flex-direction: column;
  }

  .project .do span {
    margin-bottom: 15px;
    width: fit-content;
  }
}

.project .progress {
  border-top: 1px solid #eee;

}

.project .progress .the-progress {
  height: 8px;
  width: 260px;
}

@media (max-width:767px) {
  .project .progress {
    flex-direction: column;
  }

  .project .progress .the-progress {
    margin-bottom: 15px;
  }
}

/* end project  */
/* end project-page */
/* end projedt   */
/* start courses page  */
.course-page {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 767px) {
  .course-page {
    grid-template-columns: minmax(200px, 1fr);
  }
}

.course-page .icon {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  left: 16px;
  top: 15px;
  border: 2px solid white;
}

.course-page .box {
  overflow: hidden;
}

.course-page .info p {
  line-height: 1.7;
}

.course-page .down {
  border-top: 1px solid #eee;
}

.course-page .down .click {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translateX(-50%);
}

/* end courses page  */
/* start friends page */
.friends-page {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 767px) {
  .friends-page {
    grid-template-columns: minmax(200px, 1fr);
    margin-left: 10px;
    margin-right: 10px;
    gap: 10px;
  }
}

.friends-page .friend .icon {
  position: absolute;
  left: 10px;
  top: 10px;
}

.friends-page .friend .icon i {
  padding: 10px;
  background-color: #eee;
  border-radius: 50%;
  transition: 0.3s;
}

.friends-page .friend .icon i:hover {
  background-color: var(--blue-color);
  color: white;
  cursor: pointer;
}

.friends-page .friend .text img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: 10px 0;
}

.friends-page .friend .info {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.friends-page .friend .info>span {
  position: absolute;
  color: #f59e0b;
  font-size: 40px;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  opacity: 0.2;
}

/* end friends page */
/* start files page  */
.files-page {
  flex-direction: row-reverse;
  align-items: flex-start;
}

/* start fiels  */
.files-page .files {
  min-width: 260px;
}

.files-page .files .box i {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.files-page .files .box .pdf{
  background-color:rgb(0 117 255 / 20%) ;
}
.files-page .files .box .word{
  background-color:rgb(244 67 54 / 20%) ;
}
.files-page .files .box .images{
  background-color:rgb(34 197 94 / 20%);
}
.files-page .files .box .csv{
  background-color:rgb(245 158 11 / 20%) ;
}

.files-page .files .box>span {
  margin-left: auto;
}

.files-page .files>a {
  margin: 15px auto 0;
  padding: 10px 15px;
  transition: 0.3s;
}
.files-page .files>a i {
  margin-right: 10px;
}
.files-page .files>a:hover i{
  animation: up-down 1s infinite ease;
}
/* end fiels  */
/* start files-content  */
.files-content{
  flex: 1;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr))
}
.files-page .files-content img {
  width: 64px;
  height: 64px;
  transition: 0.3s;
}
.files-page .files-content img:hover{
  transform: rotate(5deg);
}
.files-page .files-content .text{
  border-top: 1px solid #eee;
}

/* end files-content  */
/* end files page  */
/* start palns page  */
.plans-page{
  grid-template-columns:repeat(auto-fill,minmax(450px,1fr));
}
@media (max-width: 767px) {
  .plans-page {
      grid-template-columns: minmax(250px, 1fr);
      margin-left: 10px;
      margin-right: 10px;
  }
}
.plans-page .plan .text{
  background-color: red;
  border: 3px solid white;
  outline: 3px solid transparent;
}
.plans-page .free .text{
  background-color: #22c55e;
  outline-color:#22c55e ;
}
.plans-page .basic .text{
  background-color: var(--blue-color);
  outline-color: var(--blue-color);
}
.plans-page .premium .text{
  background-color: #f59e0b;
  outline-color: #f59e0b;
} 
.plans-page .plan .text > div{
  width: fit-content;
  position: relative;
  font-size: 40px;
  margin: 0 auto;
}
.plans-page .plan .text > div span{
  position: absolute;
  top: 0;
  left: -20px;
  font-size: 25px;
}
.plans-page .plan ul li{
  padding: 15px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.plans-page .plan ul li i:first-child{
  font-size: 18px;
  margin-right: 5px;
}
.plans-page .plan ul li i.info{
  color: var(--gray-color);
  margin-left: auto;
  cursor: pointer;
}
.plans-page .plan a {
  color: white;
}
.plans-page .free a {
  background-color: #22c55e;
}
.plans-page .basic a{
  background-color: var(--blue-color);
}
/* end palns page  */
/* start animation */
@keyframes flash {
  0% {
    background-color: var(--blue-color);
  }

  100% {
    background-color: white;
  }
}
@keyframes up-down{
  0%,100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-10px);
  }
}
/* end animation */