:root {
    --color-grey: #888;
    --color-blue: #0075ff;
    --color-blue-alt: #0d69d5;
    --color-orange: #f59e0b;
    --color-green: #22c55e;
    --color-red: #f44336;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

*:focus {
    outline: none;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background-color: white;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-blue);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-blue-alt);
}

/* start component */
h1 {
    margin: 20px 20px 40px;
}

h1::before,
h1::after {
    content: "";
    position: absolute;
    left: 0;
    height: 3px;
    bottom: -10px;
}

h1::before {
    background-color: white;
    width: 120px;
}

h1::after {
    background-color: black;
    width: 40px;
}

/* end component */
.page {
    min-height: 100vh;
    background-color: #f1f5f9;
}

.sidebar {
    width: 200px;
    -moz-box-shadow: 0 0 10px #ddd;
    -webkit-box-shadow: 0 0 10px #ddd;
    box-shadow: 0 0 10px #ddd;
}

@media (max-width: 768px) {
    .sidebar {
        width: 55px;
        padding: 10px;
    }

    .sidebar>h3 {
        font-size: 10px;
        margin-bottom: 15px;
    }

    .sidebar i {
        text-align: center;
    }
}

@media (min-width: 768px) {

    .sidebar>h3::before,
    .sidebar>h3::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background-color: black;
    }

    .sidebar>h3::before {
        width: 100px;
        height: 2px;
        bottom: -20px;
    }

    .sidebar>h3::after {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 4px solid white;
        bottom: -28px;
    }
}

.sidebar a.active,
.sidebar a:hover {
    background-color: #f6f6f6;
}

/* start head  */
.head .search::before {
    content: "\f002";
    font-family: var(--fa-style-family-classic);
    font-weight: 900;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    color: var(--color-grey);
}

.head .search input {
    width: 170px;
    transition: width 0.3s;
    padding-left: 30px;
}

.head .search input:focus {
    width: 200px;
}

.head .search input::placeholder {
    transition: opacity 0.3s;
}

.head .search input:focus::placeholder {
    opacity: 0;
}

.head .notifications::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--color-red);
    border-radius: 50%;
    top: -5px;
    right: -5px;
}

.head .icons img {
    width: 32px;
    height: 32px;
    margin-left: 15px;
}

/* end head  */
/* start wrapper  */
.wrapper {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

@media (max-width: 767px) {
    .wrapper {
        grid-template-columns: minmax(200px, 1fr);
        margin: 0 10px;
        gap: 10px;
    }

    .content {
        width: calc(100% - 55px);
    }
}

/* end wrapper  */
/* start welcome widget  */
.welcome .intro img {
    width: 200px;
    margin-bottom: -10px;
}

.welcome .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px #ddd;
    margin-top: -32px;
    margin-left: 20px;
}

.welcome .body {
    border-top: 1px solid #eee;
    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(--color-blue-alt);
}

@media (max-width: 767px) {
    .welcome .intro {
        padding-bottom: 30px;
    }

    .welcome .avatar {
        margin-left: 0px;
    }

    .welcome .body>div:not(:last-child) {
        padding-bottom: 20px;
    }
}

/* end welcome widget  */
/* start quick draft widget  */
.quick-draft form textarea {
    height: 200px;
    resize: none;
}

.quick-draft .save {
    margin-left: auto;
    transition: 0.3s;
    cursor: pointer;
}

.quick-draft .save:hover {
    background-color: var(--color-blue-alt);
}

/* end quick draft widget  */
/* start target */
.target .icon {
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.target .details {
    flex: 1;
}

.target .progress {
    height: 2px;
}

.target .progress>span {
    height: 100%;
    position: absolute;
}

.target .progress>span span {
    padding: 2px 4px;
    border-radius: 6px;
    position: absolute;
    font-size: 13px;
    right: -17px;
    top: -35px;
}

.target .progress>span span::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-color: transparent;
    border-width: 5px;
    border-style: solid;
}

.target .icon.blue {
    background-color: #0075ff20;
}

.target .progress.blue {
    background-color: #0075ff20;
}

.target .progress>span.blue {
    background-color: var(--color-blue);
}

.target .progress>span.blue span {
    background-color: var(--color-blue);
}

.target .progress>span.blue span::after {
    border-top-color: var(--color-blue);
}

.target .icon.orange {
    background-color: #f59e0b20;
}

.target .progress.orange {
    background-color: #f59e0b20;
}

.target .progress>span.orange {
    background-color: var(--color-orange);
}

.target .progress>span.orange span {
    background-color: var(--color-orange);
}

.target .progress>span.orange span::after {
    border-top-color: var(--color-orange);
}

.target .icon.green {
    background-color: #22c55e20;
}

.target .progress.green {
    background-color: #22c55e20;
}

.target .progress>span.green {
    background-color: var(--color-green);
}

.target .progress>span.green span {
    background-color: var(--color-green);
}

.target .progress>span.green span::after {
    border-top-color: var(--color-green);
}

/* end target */
/* start tickets */
.tickets .box {
    width: calc(50% - 10px);
}

/* end tickets */
/* start news  */
@media (max-width: 767px) {
    .latest-news .label {
        width: fit-content;
        margin: 10px auto;
    }

    .latest-news img {
        margin: 0 0 10px 0;
    }
}

/* end news  */
/* start tasks */
.tasks .delete:not(.done .delete) {
    cursor: pointer;
    transition: 0.3s;
}

.tasks .delete:not(.done .delete):hover {
    color: var(--color-red);
}

.tasks .done {
    opacity: 0.3;
}

.tasks .done h3,
.tasks .done p {
    text-decoration: line-through;
}

/* end tasks */
/* start current project  */
.current-project img {
    position: absolute;
    opacity: 0.15;
    bottom: 0;
    right: 0;
    width: 150px;
}

.current-project ul::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--color-blue);
}

.current-project ul li::before {
    content: "";
    display: block;
    margin-right: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid white;
    outline: 2px solid var(--color-blue);
    z-index: 1;
}

.current-project ul li.done::before {
    background-color: var(--color-blue);
}

.current-project ul li.current::before {
    animation: change-color 0.8s infinite alternate;
}

/* end current project  */
/* start reminder */
.reminders li>span {
    width: 15px;
    height: 15px;
}

.reminders ul div {
    border-left-width: 2px;
    border-left-style: solid;
}

.reminders ul div.blue {
    border-left-color: var(--color-blue);
}

.reminders ul div.green {
    border-left-color: var(--color-green);
}

.reminders ul div.orange {
    border-left-color: var(--color-orange);
}

.reminders ul div.red {
    border-left-color: var(--color-red);
}

/* end reminder */
/* start post  */
.latest-post .post-content {
    line-height: 1.8;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}

/* end post  */
/* start media  */
.social-media .box {
    padding-left: 70px;
}

.social-media .box i {
    position: absolute;
    left: 0;
    top: 0;
    width: 52px;
    transition: 0.3s;
}

.social-media .box i:hover {
    transform: rotate(5deg);
}

.social-media .twitter {
    background-color: #1da1f220;
    color: #1da1f2;
}

.social-media .twitter i,
.social-media .twitter a {
    background-color: #1da1f2;
}

.social-media .facebook {
    background-color: #1877f220;
    color: #1877f2;
}

.social-media .facebook i,
.social-media .facebook a {
    background-color: #1877f2;
}

.social-media .youtube {
    background-color: #ff000020;
    color: #ff0000;
}

.social-media .youtube i,
.social-media .youtube a {
    background-color: #ff0000;
}

.social-media .linkedin {
    background-color: #0a66c220;
    color: #0a66c2;
}

.social-media .linkedin i,
.social-media .linkedin a {
    background-color: #0a66c2;
}

/* end media  */
/* start table  */
.responsive-table {
    overflow-x: auto;
}

.responsive-table table {
    min-width: 1000px;
    border-spacing: 0;
}

.responsive-table table td {
    padding: 15px;
}

.responsive-table table thead td {
    background-color: #eee;
    font-weight: bold;
}

.responsive-table table tbody td {
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    transition: 0.3s;
}

.responsive-table table tbody tr td:last-child {
    border-right: 1px solid #eee;
}

.responsive-table table tbody img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 2px;
    background-color: white;
}

.responsive-table table tbody img:not(:first-of-type) {
    margin-left: -20px;
}

.responsive-table table tbody tr:hover td {
    background-color: #faf7f7;
}

/* end table  */
/* end dashboard */
/* start settings  */
/* start toggle */
.toggle-checkbox {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.toggle-switch {
    width: 50px;
    height: 16px;
    border-radius: 16px;
    background-color: #ccc;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-switch::before {
    content: "\f00d";
    font-weight: 900;
    font-size: 8px;
    font-family: var(--fa-style-family-classic);
    color: #aaa;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 2px;
    left: 3px;
    transition: 0.3s;
}

.toggle-checkbox:checked+.toggle-switch {
    background-color: var(--color-blue);
}

.toggle-checkbox:checked+.toggle-switch::before {
    color: var(--color-blue);
    content: "\f00c";
    left: 35px;
}

/* end toggle */
.settings-page {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}

@media (max-width: 767px) {
    .settings-page {
        grid-template-columns: minmax(100px, 1fr);
        margin-left: 10px;
        margin-right: 10px;
        gap: 10px;
    }
}

/* start site control */
.site-control textarea {
    resize: none;
    min-height: 150px;
}

.site-control textarea::placeholder {
    opacity: 0.8;
    transition: 0.3s;
}

.site-control textarea:focus::placeholder {
    opacity: 0;
}

/* end site control */
/* start general info */
.general-info .email {
    display: inline-flex;
    width: calc(100% - 80px);
    background-color: #0075ff08;
    cursor: not-allowed;
}

/* end general info */
/* start social info  */
.social-info .box i {
    background-color: #f6f6f6;
    border-radius: 6px 0 0 6px;
    border: 1px solid #ddd;
    border-right: none;
    transition: 0.3s;
}

.social-info .box input {
    border: 1px solid #ddd;
    background-color: #f6f6f6;
    border-radius: 0 6px 6px 0;
}

.social-info .box:focus-within i {
    color: black;
}

/* end social info  */
/* start widgets control */
.settings-page input {
    -webkit-appearance: none;
    appearance: none;
}

.widgets-control .control label {
    padding-left: 30px;
    cursor: pointer;
    position: relative;
}

.widgets-control .control label::before,
.widgets-control .control label::after {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -9px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.widgets-control .control label::before {
    content: "";
    border: 2px solid var(--color-grey);
}

.widgets-control .control label:hover::before {
    border-color: var(--color-blue-alt);
}

.widgets-control .control label::after {
    content: "\f00c";
    font-family: var(--fa-style-family-classic);
    font-weight: 900;
    font-size: 12px;
    background-color: var(--color-blue);
    color: white;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    transform: scale(0);
}

.widgets-control .control input[type="checkbox"]:checked+label::after {
    transform: scale(1) rotate(360deg);
}

/* end widgets control */
/* start backup */
.backup-manager .control label {
    padding-left: 30px;
    cursor: pointer;
    position: relative;
}

.backup-manager .control label::before,
.backup-manager .control label::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.backup-manager .control label::before {
    border: 2px solid var(--color-grey);
    height: 16px;
    width: 16px;
    left: 0;
    top: 50%;
    margin-top: -9.5px;
}

.backup-manager .control label::after {
    background-color: var(--color-blue);
    width: 10px;
    height: 10px;
    left: 5px;
    top: 5px;
    transition: 0.3s;
    transform: scale(0);
}

.backup-manager .control input[type="radio"]:checked+label::after {
    transform: scale(1);
}

.backup-manager .control input[type="radio"]:checked+label::before {
    border-color: var(--color-blue);
}

.backup-manager .control label:hover::before {
    border-color: var(--color-blue);
}

.backup-manager .servers {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

@media (max-width: 767px) {
    .backup-manager .servers {
        flex-wrap: wrap;
    }

    .backup-manager .server {
        margin-right: 0;
    }
}

.backup-manager .servers .server {
    border: 2px solid #eee;
    position: relative;
}

.backup-manager .servers .server label {
    cursor: pointer;
}

.backup-manager .servers input[type="radio"]:checked+.server {
    border-color: var(--color-blue);
    color: var(--color-blue);
}

/* end backup */
/* end settings  */
/* start profile page  */
@media (max-width: 767px) {
    .profile-page .overview {
        flex-direction: column;
    }
}

.profile-page .overview .avatar-box {
    width: 300px;
}

@media (min-width: 768px) {
    .profile-page .overview .avatar-box {
        border-right: 1px solid #eee;
    }
}

.profile-page .overview .avatar-box>img {
    width: 120px;
    height: 120px;
}

.profile-page .overview .avatar-box .level {
    height: 6px;
    width: 70%;
    margin: auto;
    overflow: hidden;
}

.profile-page .overview .avatar-box .level span {
    position: absolute;
    background-color: var(--color-blue);
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 6px;
}

.profile-page .overview .info-box .box {
    transition: 0.3s;
}

.profile-page .overview .info-box .box:hover {
    background-color: #f9f9f9;
}

.profile-page .overview .info-box .box>div {
    min-width: 250px;
    padding: 10px 0;
}

@media (max-width: 767px) {
    .profile-page .overview .info-box .box>div {
        flex: 1;
        padding: 10px 0 0;
    }

    .profile-page .overview .info-box .box>div.toggle {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.other-data .skills-card {
    flex-grow: 1;
}

.other-data .skills-card ul li span {
    background-color: #eee;
    border-radius: 6px;
    font-size: 14px;
    padding: 4px 10px;
    display: inline-flex;
}

.other-data .skills-card ul li span:not(:last-child) {
    margin-right: 5px;
}

.other-data .activities {
    flex-grow: 2;
}

@media (min-width: 768px) {
    .other-data .activities .date {
        margin-left: auto;
        text-align: right;
    }
}

@media (max-width: 767px) {
    .other-data {
        flex-direction: column;
    }

    .other-data .activity {
        flex-direction: column;
    }

    .other-data .activity img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .other-data .activity .date {
        margin-top: 15px;
    }

    .other-data .activity .date span:last-child {
        display: block;
        margin-top: -5px;
    }
}

/* end profile page  */
/* start projects page  */
.projects-page {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}

@media (max-width: 767px) {
    .projects-page {
        grid-template-columns: minmax(200px, 1fr);
        margin-left: 10px;
        margin-right: 10px;
        gap: 10px;
    }
}

.projects-page .project .date {
    position: absolute;
    top: 10px;
    right: 10px;
}

.projects-page .project .team {
    min-height: 80px;
}

.projects-page .project .team a {
    position: absolute;
    left: 0;
    bottom: 0;
}

.projects-page .project .team a:hover {
    z-index: 100;
}

.projects-page .project .team a:nth-child(2) {
    left: 25px;
}

.projects-page .project .team a:nth-child(3) {
    left: 50px;
}

.projects-page .project .team a:nth-child(4) {
    left: 75px;
}

.projects-page .project .team a:nth-child(5) {
    left: 100px;
}

.projects-page .project .team a img {
    border: 2px solid white;
}

@media (max-width: 767px) {
    .projects-page .project .tasks {
        flex-direction: column;
    }

    .projects-page .project .tasks span:not(:last-child) {
        margin-bottom: 15px;
    }
}

.projects-page .project .progress {
    height: 8px;
    width: 240px;
}

.projects-page .project .progress span {
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 767px) {
    .projects-page .project .info {
        flex-direction: column;
    }

    .projects-page .project .progress {
        margin-bottom: 15px;
    }
}

/* end projects page  */
/* start courses-page */
.courses-page {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 767px) {
    .courses-page {
        grid-template-columns: minmax(200px, 1fr);
        margin-left: 10px;
        margin-right: 10px;
        gap: 10px;
    }
}

.courses-page .course .cover {
    max-width: 100%;
}

.courses-page .course .instructor {
    position: absolute;
    top: 20px;
    left: 20px;
    border: 2px solid white;
}

.courses-page .course .describtion {
    line-height: 1.6;
}

.courses-page .course .info .title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -12px;
}

/* 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 .contact {
    position: absolute;
    top: 10px;
    left: 10px;
}

.friends-page .contact i {
    color: #666;
    transition: 0.3s;
    cursor: pointer;
}

.friends-page .contact i:hover {
    color: white;
    background-color: var(--color-blue);
}

.friends-page .icons .vip {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    opacity: 0.2;
}

/* end friends page */
/* start file page */
.file-page {
    flex-direction: row-reverse;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .file-page {
        flex-direction: column;
        align-items: normal;
    }
}

.file-page .file-stats {
    min-width: 260px;
}

.file-page .file-stats .blue {
    background-color: #0075ff20;
}

.file-page .file-stats .green {
    background-color: #22c55e20;
}

.file-page .file-stats .red {
    background-color: #f4433620;
}

.file-page .file-stats .orange {
    background-color: #f59e0b20;
}

.file-page .file-stats .size {
    margin-left: auto;
}

.file-page .file-stats>a {
    padding: 10px 15px;
    margin: 15px auto 0;
    transition: 0.3s;
}

.file-page .file-stats>a:hover {
    background-color: var(--color-blue-alt);
}

.file-page .file-stats>a:hover i {
    transition: 0.3s;
    animation: go-up 0.8s infinite;
}

.file-page .files-content {
    flex: 1;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.file-page .files-content img {
    transition: 0.3s;
}

.file-page .files-content img:hover {
    transform: rotate(5deg);
}

/* end file page */
/* start plans page  */
.plans-page {
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
}
@media (max-width: 767px) {
    .plans-page {
        grid-template-columns: minmax(250px, 1fr);
        gap: 10px;
        margin-right: 10px;
        margin-left: 10px;
    }
}
.plans-page .plan .top {
    border: 3px solid white;
    outline: 3px solid transparent;
}
.plans-page .plan.blue .top {
    outline-color: var(--color-blue);
}
.plans-page .plan.green .top {
    outline-color: var(--color-green);
}
.plans-page .plan.orange .top {
    outline-color: var(--color-orange);
}
.plans-page .plan .top .price {
    font-size: 40px;
    margin: auto;
}
.plans-page .plan .top .price span {
    font-size: 20px;
    top: 0;
    left: -20px;
}
.plans-page .plan li i.yes {
    color: var(--color-green);
}
.plans-page .plan li i:not(.yes, .help) {
    color: var(--color-red);
}
.plans-page .plan li i:first-child {
    font-size: 18px; 
    margin-right: 5px;
}
.plans-page .plan li i.help {
    margin-left: auto;
    cursor: pointer;
}
.plans-page .plan a {
    margin: auto;
}
/* start plans page  */
/* start animations */
@keyframes change-color {
    from {
        background-color: white;
    }

    to {
        background-color: var(--color-blue);
    }
}

@keyframes go-up {

    0%,
    100% {
        transform: translateY(2px);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* end animations */