:root {
    --blue-color: #0075ff;
    --blue-alt-color: #0d69d5;
    --orange-color: #f59e0b;
    --green-color: #22c55e;
    --red-color: #f44336;
    --grey-color: #888;
    --transition: 0.3s;
}

* {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

a {
    text-decoration: none;
}

ul {
    padding: 0;
    list-style: none;

}

.page {
    background-color: #f1f5f9;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: white;
}

::-webkit-scrollbar-thumb {
    background-color: var(--blue-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--blue-alt-color);
}

.toggle-checkbox {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.toggle-switch {
    height: 28px;
    width: 65px;
    border-radius: 14px;
    background-color: #ccc;
    cursor: pointer;
}

.toggle-switch::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00d";
    font-weight: 900;
    color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 20px;
    width: 20px;
    background-color: white;
    border-radius: 50%;
    top: 4px;
    left: 4px;
    transition: var(--transition);
}

.toggle-checkbox:checked+.toggle-switch {
    background-color: var(--blue-color);

}

.toggle-checkbox:checked+.toggle-switch::before {
    content: "\f00c";
    color: var(--blue-color);
    left: 41px;
}

/* Start Page */
.sidebar {
    width: 250px;
    box-shadow: 0 0 10px #ddd;
}

.sidebar h3 {
    position: relative;
    margin-bottom: 50px;
}

@media (min-width: 768px) {

    .sidebar h3::before,
    .sidebar h3::after {
        content: "";
        position: absolute;
        background-color: black;
        left: 50%;
        transform: translateX(-50%);
    }

    .sidebar h3::before {
        height: 2px;
        bottom: -20px;
        width: 80px;
    }

    .sidebar h3::after {
        height: 12px;
        width: 12px;
        border-radius: 50%;
        border: 4px solid white;
        bottom: -29px;
    }
}

.sidebar ul a {
    transition: var(--transition);
}

.sidebar ul .active,
.sidebar ul a:hover {
    background-color: #f6f6f6;
}

@media(max-width:767px) {
    .sidebar {
        width: 58px;
        padding: 10px;
    }

    .sidebar h3 {
        font-size: 13px;
        margin: 0 0 20px 0;
    }
}

/* Start Content */
.content {
    overflow: hidden;
}

.content .header {
    width: 100%;
    height: 65px;
}

.content .header .search::before {
    font-family: "Font Awesome 5 Free";
    content: "\f002";
    font-weight: 900;
    font-size: 15px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-color);
}

.content .header .search input {
    padding-left: 30px;
    border: 1px solid #ccc;
    width: 160px;
    transition: var(--transition);
}

.content .header .search input:focus {
    outline-color: #eee;
    width: 200px;
}

.content .header .search input::placeholder {
    transition: opacity var(--transition);
}

.content .header .search input:focus::placeholder {
    opacity: 0;
}

.content .header .icons .notification::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    right: -5px;
    top: -5px;
}

.content .header .icons img {
    height: 35px;
}

h1 {
    margin: 20px 20px 50px;
}

h1::before,
h1::after {
    content: "";
    position: absolute;
    height: 3px;
    bottom: -20px;
    left: 0;
}

h1::before {
    width: 120px;
    background-color: white;
}

h1::after {
    width: 40px;
    background-color: black;
}

.page .wrapper {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    margin-left: 20px;
    margin-right: 20px;
}

@media(max-width: 767px) {
    .page .wrapper {
        grid-template-columns: minmax(200px, 1fr);
        gap: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Start Dashboard Page */
.page .wellcome .intro img {
    width: 180px;
}

.page .wellcome>img {
    width: 64px;
    margin-left: 20px;
    margin-top: -35px;
    padding: 2px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px #ddd;
}


.page .wellcome .body {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.page .wellcome>a {
    margin: 0 15px 15px auto;
}

.page .wellcome>a:hover {
    background-color: var(--blue-alt-color);
}

.quick-draft textarea {
    min-height: 180px;
    resize: none;
}

.quick-draft textarea::placeholder,
.quick-draft input[type="text"]::placeholder {
    transition: opacity var(--transition);
}

.quick-draft textarea:focus::placeholder,
.quick-draft input[type="text"]:focus::placeholder {
    opacity: 0;
}

.quick-draft input[type="submit"] {
    margin-left: auto;
    cursor: pointer;
}

.quick-draft input[type="submit"]:hover {
    background-color: var(--blue-alt-color);
}

.target-row .icon {
    width: 80px;
    height: 80px;
    background-color: rgb(0 117 255 / 20%);
}

.money .icon {
    background-color: rgb(0 117 255 / 20%);
}

.projects .icon {
    background-color: rgb(245 158 11 / 20%);
}

.team .icon {
    background-color: rgb(34 197 94 / 20%);
}

.target-row .progress {
    height: 4px;
}

.money .progress {
    background-color: rgb(0 117 255 / 20%);
}

.projects .progress {
    background-color: rgb(245 158 11 / 20%);
}

.team .progress {
    background-color: rgb(34 197 94 / 20%);
}

.target-row .details .progress>span {
    left: 0;
    top: 0;
    height: 100%;
}

.target-row .details .progress>span>span {
    padding: 2px 5px;
    top: -30px;
    right: -15px;
}

.target-row .details .progress>span>span::before {
    content: "";
    position: absolute;
    border-style: solid;
    top: 100%;
    border-width: 5px;
    left: 15px;
}

.money .details .progress>span>span::before {
    border-color: var(--blue-color) transparent transparent transparent;
}

.projects .details .progress>span>span::before {
    border-color: var(--orange-color) transparent transparent transparent;
}

.team .details .progress>span>span::before {
    border-color: var(--green-color) transparent transparent transparent;
}

.tecket .box {
    width: calc(50% - 10px);
    border: 1px solid #ccc;
}

.tecket .box span {
    font-size: 25px;
    margin-bottom: 5px;
}

.latest-news .row:not(:last-child) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.latest-news .row img {
    width: 100px;
    margin-right: 15px;
}

.latest-news .row .info {
    flex-grow: 1;
}

.latest-news .row .info h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.latest-news .row .label {
    cursor: pointer;
}

.task:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}

.task i {
    transition: var(--transition);
}

.task i:not(.done):hover {
    color: var(--red-color);
}

.task .done {
    opacity: 0.4;
}

.done .info {
    text-decoration: line-through;
}

.uploads li:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}

.uploads li img {
    width: 40px;
    height: 40px;
}

.current-project ul li {
    padding-left: 40px;
}

.current-project ul::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: var(--blue-color);
    left: 10px;
    top: 0;
}

.current-project ul li::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 0;
    top: -3px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid white;
    display: block;
    outline: 2px solid var(--blue-color);
    z-index: 1;
}

.current-project ul li.done::before {
    background-color: var(--blue-color);
}

.current-project ul li.current::before {
    animation: change-background 0.6s infinite alternate;
}

.reminders ul li>div {
    padding-left: 10px;
    border-left: 2px solid var(--blue-color);
}

.reminders ul li.blue>div {
    border-left: 2px solid var(--blue-color);
}

.reminders ul li.orange>div {
    border-left: 2px solid var(--orange-color);
}

.reminders ul li.green>div {
    border-left: 2px solid var(--green-color);
}

.reminders ul li.red>div {
    border-left: 2px solid var(--red-color);
}

.reminders ul li>span {
    width: 14px;
    height: 14px;
}

.latest-post .avatar {
    width: 50px;
    height: 50px;
}

.latest-post .content {
    line-height: 1.8;
    text-transform: capitalize;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.latest-post .reactions .likes,
.latest-post .reactions .comments {
    transition: var(--transition);
}

.latest-post .reactions .likes:hover {
    color: var(--red-color);
}

.latest-post .reactions .comments:hover {
    color: var(--blue-alt-color);
}

.social i {
    width: 55px;
    transition: var(--transition);
}

.social i:hover {
    transform: rotate(6deg);
}

.social .twitter {
    background-color: rgb(29 161 242 / 20%);
}

.social .twitter i {
    background-color: #1da1f2;
}

.social .twitter i+span {
    color: #1da1f2;
}

.social .twitter>span {
    background-color: #1da1f2;
}

.social .facebook {
    background-color: rgb(24 119 242 / 20%);
}

.social .facebook i {
    background-color: #1877f2;
}

.social .facebook i+span {
    color: #1877f2;
}

.social .facebook>span {
    background-color: #1877f2;
}

.social .youtube {
    background-color: rgb(255 0 0 / 20%);
}

.social .youtube i {
    background-color: #ff0000;
}

.social .youtube i+span {
    color: #ff0000;
}

.social .youtube>span {
    background-color: #ff0000;
}

.social .linkedin {
    background-color: rgb(0 119 181 / 20%);
}

.social .linkedin i {
    background-color: #0077b5;
}

.social .linkedin i+span {
    color: #0077b5;
}

.social .linkedin>span {
    background-color: #0077b5;
}

.projects .table {
    overflow-x: auto;
}

.projects table {
    min-width: 1000px;
    border-spacing: 0;
}

.projects table tbody td {
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    transition: var(--transition);
}

.projects table tbody td:last-of-type {
    border-right: 1px solid #eee;
}

.projects table tbody tr:hover td {
    background-color: #faf7f7;
}

.projects table img {
    width: 35px;
    border-radius: 50%;
    background-color: white;
    padding: 3px;
}

.projects table img:not(:first-of-type) {
    margin-left: -20px;
}

@media(max-width: 767px) {
    .page .wellcome>img {
        margin-left: 0;
    }

    .page .wellcome .body>div:not(:last-child) {
        margin-bottom: 20px;
    }

    .tecket .box {
        width: 100%;
    }

    .latest-news .row {
        text-align: center;
    }

    .latest-news .row img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .latest-news .row .label {
        margin: 10px auto 0;
    }
}

/* End Dashboard Page */
/* Start Settings Page */
.site-control textarea {
    resize: none;
    min-height: 150px;
    border-color: #ccc;
}

.general-info input {
    border: 1px solid #ccc;
}

.general-info .email {
    display: inline-flex;
    width: calc(100% - 80px);
    background-color: #f0f4f8;
    cursor: no-drop;
}

.security-info .button {
    transition: var(--transition);
}

.security-info .button:hover {
    background-color: var(--blue-alt-color);
}

.security-info>div:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}

.social-info>div i {
    height: 40px;
    width: 40px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-right: none;
    background-color: #f6f6f6;
    border-radius: 6px 0 0 6px;
    transition: var(--transition);
}

.social-info>div:focus-within i {
    color: black;
}

.social-info>div input {
    background-color: #f6f6f6;
    padding-left: 10px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 0 6px 6px 0;
}

.widgets-control .control>input {
    -webkit-appearance: none;
    appearance: none;
}

.widgets-control .control label {
    padding-left: 30px;
    cursor: pointer;
}

.widgets-control .control label::before,
.widgets-control .control label::after {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -9px;
    border-radius: 4px;
    transition: var(--transition);
}

.widgets-control .control label::before {
    content: "";
    height: 14px;
    width: 14px;
    border: 2px solid var(--grey-color);
}

.widgets-control .control label:hover::before {
    border-color: var(--blue-alt-color);
}

.widgets-control .control>input:checked+label::before {
    background-color: var(--blue-color);
    border-color: var(--blue-color);
}

.widgets-control .control label::after {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    font-weight: 900;
    font-size: 12px;
    width: 18px;
    height: 18px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0) rotate(360deg);
}

.widgets-control .control>input:checked+label::after {
    transform: scale(1);
}

.backup-control input {
    -webkit-appearance: none;
    appearance: none;
}

.backup-control .date label {
    padding-left: 30px;
    cursor: pointer;
}

.backup-control .date label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    height: 18px;
    width: 18px;
    border: 2px solid var(--grey-color);
    transition: var(--transition);
}

.backup-control .date input[type="radio"]:checked+label::before {
    border-color: var(--blue-color);
}

.backup-control .date label::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    left: 5px;
    top: 3.4px;
    border-radius: 50%;
    background-color: var(--blue-color);
    transition: var(--transition);
    transform: scale(0);
}

.backup-control .date input:checked+label::after {
    transform: scale(1);
}

.backup-control .servers {
    border-top: 1px solid #eee;
}

.backup-control .server {
    border: 2px solid #eee;
    transition: var(--transition);
}

.backup-control .server label {
    cursor: pointer;
}

.backup-control .servers input:checked+.server {
    color: var(--blue-color);
    border-color: var(--blue-color);
}

@media(max-width: 767px) {
    .backup-control .servers {
        flex-wrap: wrap;
    }
}

/* End Settings Page */
/* Profile Page */
.personal {
    width: 300px;
}

.personal img {
    width: 120px;
}

.personal .level {
    margin: auto;
    width: 50%;
    height: 6px;
}

.personal .level>span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.personal-info h4 {
    font-weight: normal;
}

.personal-info .box:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}

.personal-info .box>div {
    min-width: 235px;
}

.personal-info .box .toggle-switch {
    height: 20px;
    width: 50px;
}

.personal-info .box .toggle-switch::before {
    height: 15px;
    width: 15px;
    top: 3px;
    left: 4px;
    font-size: 12px;
}

.personal-info .box input:checked+.toggle-switch::before {
    left: 31px;
}

.profile-content .skills ul li:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}

.profile-content .skills {
    flex: 1;
}

.profile-content .activites {
    flex: 2;
}

.profile-content .activites .box:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}

.profile-content .activites .box img {
    width: 65px;
    height: 65px;
}

@media (max-width: 767px) {
    .personal {
        border-right: 1px solid #eee;
    }

    .personal-content {
        flex-direction: column;
        text-align: center;
    }

    .personal-info .box {
        flex-direction: column;
        text-align: center;
    }

    .personal-info .box>div {
        margin-bottom: 5px;
    }

    .profile-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-content .activites .box {
        flex-direction: column;
    }

    .profile-content .activites .box>div {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .profile-content .activites .box>div img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* End Profile Page */
/* Start Projects Page */
.project .date {
    position: absolute;
    right: 10px;
    top: 10px;
}

.project h4 {
    font-weight: normal;
}

.project .team {
    min-height: 80px;
}

.project .team a {
    position: absolute;
    bottom: 0;
    transition: var(--transition);
}

.project .team img {
    border: 2px solid white;
    width: 40px;
}

.project .team a:nth-child(2) {
    left: 25px;
}

.project .team a:nth-child(3) {
    left: 50px;
}

.project .team a:nth-child(4) {
    left: 75px;
}

.project .team a:nth-child(5) {
    left: 100px;
}

.project .team a:hover {
    z-index: 200;
}

.project .do {
    border-top: 1px solid #eee;
    justify-content: flex-end;
}

.project .info {
    border-top: 1px solid #eee;
}

.project .info .prog {
    height: 6px;
    width: 200px;
}

.project .info .prog>span {
    height: 100%;
}

@media (max-width: 767px) {
    .project .do {
        flex-direction: column;
    }

    .project .do>span {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .project .info {
        flex-direction: column;
    }

    .project .info .prog {
        margin-bottom: 10px;
    }
}

/* End Projects Page */
/* Start Courses Page */
.courses {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin-left: 20px;
    margin-right: 20px;
}

.courses .cover {
    max-width: 100%;
    border-radius: 6px 6px 0 0;
}

.courses .instructor {
    width: 64px;
    top: 20px;
    left: 20px;
    border: 2px solid white;
}

.courses .description p {
    line-height: 1.7;
    min-height: 70px;
}

.courses .info {
    border-top: 1px solid #eee;
}

.courses .info span:first-of-type {
    height: 25px;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

@media(max-width: 767px) {
    .courses {
        grid-template-columns: minmax(200px, 1fr);
        gap: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* End Courses Page */
/* Start Friends Page */
.friends {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin-left: 20px;
    margin-right: 20px;
}

.friends .contact {
    top: 10px;
    left: 10px;
}

.friends .contact i {
    transition: var(--transition);
}

.friends .contact i:hover {
    font-size: 14px;
    background-color: var(--blue-color);
    color: white;
}

.friends .friend img {
    width: 100px;
}

.friends .friend .info {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.friends .friend .info .vip {
    font-size: 40px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
}

@media(max-width: 767px) {
    .courses {
        grid-template-columns: minmax(200px, 1fr);
        gap: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* End Friends Page */
/* Start Files Page */
.files{
    align-items: start;
    flex-direction: row-reverse;
}
.files .files-stat {
    min-width: 250px;
}

.files .files-stat .box {
    border: 1px solid #eee;
}

.files .files-stat .icon {
    height: 40px;
    width: 40px;
}

.files .files-stat .blue {
    background-color: rgb(0 117 255 / 20%);
}

.files .files-stat .green {
    background-color: rgb(34 197 94 / 20%);
}

.files .files-stat .red {
    background-color: rgb(244 67 54 / 20%);
}

.files .files-stat .orange {
    background-color: rgb(245 158 11 / 20%);
}
.files .files-stat .size{
    margin-left: auto;
}
.files .files-stat .upload{
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
}
.files .files-stat .upload i{
    transition: var(--transition);
}
.files .files-stat .upload:hover{
    background-color: var(--blue-alt-color);
}
.files .files-stat .upload:hover i{
    animation: go-to 0.8s infinite;
}
.files .files-card {
    flex: 1;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.files .files-card  .file i{
    transition: var(--transition);
}
.files .files-card  .file:hover i{
    color: var(--blue-color);
}
.files .files-card img{
    width: 64px;
    height: 64px;
    transition: var(--transition);
}
.files .files-card  .file:hover img{
    transform: rotate(6deg);
}
.files .files-card .info{
    border-top: 1px solid #eee;
}
@media(max-width: 767px) {
    .files{
        align-items: normal;
        flex-direction: column;
    }
}
/* End Files Page */
/* Start Plans Page */
.plans{
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    margin-left: 20px;
    margin-right: 20px;
}
.plans .top {
    border: 3px solid white;
    outline: 3px solid transparent;
}
.plans .top.green{
    outline-color: var(--green-color);
}
.plans .top.blue{
    outline-color: var(--blue-color);
}
.plans .top .price{
    font-size: 40px;
    width: fit-content;
    margin: auto;
}
.plans .top .price span{
    font-size: 25px;
    top: 0;
    left: -20px;
}
.plans ul li{
    border-bottom: 1px solid #eee;
}
.plans ul li i.yes{
    color: var(--green-color);
}
.plans ul li i:not(.yes, .help){
    color: var(--red-color);
}
.plans ul li i.help{
    margin-left: auto;
    cursor: pointer;
}
@media(max-width: 767px) {
    .plans {
        grid-template-columns: minmax(200px, 1fr);
        gap: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
}
/* End Plans Page */
/* Start Animations */
@keyframes change-background {
    from {
        background-color: white;
    }

    to {
        background-color: var(--blue-color);
    }
}
@keyframes go-to {
    0%,
    100% {
       transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/* End Animations */