.path-user {

    .view-user-projects-events {
        .views-row {                
            margin-bottom: 15px;

            .volunteers-user-projects-list {
                p {
                    background: unset !important;
                }
            }
        }
    }

    .user-feed-menu {
        display: none;
    }

    nav.tabs {
        border-bottom: none;
        
        .nav-tabs {
            width: 60%;
            right: 0px;
            position: absolute;
            top: 300px;
            /* right: 0; */
            margin-right: 20px;
            border: none;
            background-color: #a7a0f9;
            padding: 10px;

            .nav-item {
                width: 50%;
                margin: 0px;
            }
        }
    }
    

    section.section {
        background-color: #0f01b7;
        float: left;
        width: 100%;
        padding-bottom: 0px;
        
        .nav-item {
            width: 33%;
            text-align: center;
        }

        #block-mycustom-theme-page-title {
            margin: 30px;
        }

        #block-mycustom-theme-content {
            /*background-color: #e13811;*/
            padding: 12px;
        }

        small.description {
            color: #99e1fd !important;
        }
    

        #edit-user-picture-0--description {
            width: 45%;
            margin-top: 12px;
        }
        
        .custom-user-create {
            .carousel {
                margin: 30px 0;
                /* background: #ccc; */
            }
            .carousel .carousel-item {
                text-align: center;
                overflow: hidden;
                height: 475px;
            }
            .carousel .carousel-item img {
                max-width: 100%;
                margin: 0 auto; /* Align slide image horizontally center in Bootstrap v3 */
            }
            .big-title {
                width: 37%;
                float: left;
                margin-left: 3%;

                span {
                    font-size: 11px;
                    color: white;
                    width: 100%;
                    display: block;
                    text-align: left;
                }
                
                h3, p {
                    color: #fff;
                    display: inline-block;
                    font-family: 'Oswald', sans-serif;
                    text-shadow: none;
                    margin-bottom: 20px;
                }
                h3 {
                    background: rgba(0,0,0,0.9);
                    padding: 12px 24px;
                    font-size: 40px;	
                    text-transform: uppercase;
                    width: 100%;
                    font-size: 30px;
                }
                p {
                    background: #20b0b9;
                    padding: 10px 20px;
                    font-size: 16px;
                    font-weight: 300;
                }
            }
            .carousel .nav {	
                background: #eee;
            }
            .carousel .nav a {
                color: #333;
                border-radius: 0;
                font-size: 85%;
                padding: 10px 16px;
                background: transparent;
            }
            .carousel .nav .active a {
                color: #fff;
                background: #20b0b9;
            }
            .carousel .nav strong {
                display: block;
                font-family: 'Roboto', sans-serif;
                font-size: 110%;
                text-transform: uppercase;
            }

            thead {
                display: none;
            }

            tbody td:nth-child(2) {
                padding: 12px;
                display: block;
            }

            td:nth-child(3) {
                display: none;
            }

            .field--type-entity-reference-revisions {
                width: 56%;
                float: left;
                margin: 12px;
                background-color: #00000082;

                label {
                    color: white;
                }
            }
            .languages-container  { 
                .field--type-entity-reference-revisions {
                    width: 90%;
                    float: left;
                    margin: 12px;
                }
                .languages-fields {
                    width: 60%;
                    float: left;
                    background-color: #00000082;
                }
                .field__label {
                    display: none;
                }
            }

            .field-custom-title {
                text-align: left;
                margin: 12px;
                margin-bottom: 0px;
                color: white;
                font-weight: bold;
            }

            #edit-field-user-volunteering-wrapper {
                width: 95%;
            }

            #block-mycustom-theme-views-block-user-projects-events-block-1,
            #block-mycustom-theme-views-block-user-projects-events-block-2 {
                text-align: left;
                padding: 15px;
                background-color: black;
                color: white;

                a {
                    color: #0e0a86;
                    font-size: 16px;
                    color: wheat;
                }
            }

        }
    }    
}

.user-feed-menu  {
    .field--name-user-picture {
        display: ruby;
        
        img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 12px;
        }
    }

    .form-item-body-value {
        margin: 17px;
        margin-right: 5px;
    }

    .menu-user-message-icon {
        position: relative;

        #block-mycustom-theme-privatemessagenotification {
            background-color: transparent;
            width: 40px;
            background-color: white;
            height: 40px;
            text-align: center;
            object-fit: cover;
            border-radius: 50%;
            /* padding: 5px; */
            display: grid;
            position: unset;

            .private-message-notification-wrapper {
                position: unset;
                height: 100%;

                .unseen_count {
                    position: absolute;
                    top: -10px;
                    right: 0px;
                    background-color: red;
                    border-radius: 50%;
                    min-width: 20px;
                    min-height: 20px;
                    color: white;
                    font-size: 13px;
                    width: auto;
                    height: auto;
                    display: block;
                }

                i {
                    color: blue;
                    margin: 8px;
                    display: block;
                }

                .private-message-page-link {
                    background-color: transparent;
                    font-size: 0px;
                    position: absolute;
                    top: -11px;
                    left: 28px;
                    width: 16px;
                    height: 16px;
                    background-color: red;
                    color: white;
                    border-radius: 50%;
                    font-size: 11px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    text-align: center;
                    line-height: 1;
                    padding: 11px !important;
                }
            }

        }
    }

    & .nav-item a {
        width: 40px;
        background-color: white;
        height: 40px;
        /* text-align: center; */
        /* object-fit: cover; */
        border-radius: 50%;
        padding: 20px;
        display: grid;
        padding: 9px !important;
        padding-left: 4px !important;

        img {
            width: 25px;
            /* text-align: center; */
            margin-left: auto;
            margin-right: auto;
        }

        svg {
            width: 30px;
            margin-left: auto;
            margin-right: auto;
        }

        .unseen_count {
            position: absolute;
            top: -10px;
            right: 0px;
            background-color: red;
            border-radius: 50%;
            min-width: 20px;
            min-height: 20px;
            color: white;
            font-size: 13px;
            width: auto;
            height: auto;
            display: block;
        }
    }

    .nav-item a.notification-link {
        width: 100%;
        margin: 0px;
        /*background-color: red;*/
        border: none;
        border-radius: 0px;
        display: block;
        float: left;
        height: auto;
        padding: 0px;
        border: 1px solid #eaeaea !important;
    }

    .dropdown-notifications {
        position: relative;

        li {
            position: relative;
            height: 225px;

            .avatar {
                position: absolute;
                top: 16px;
                left: 22px;
                z-index: 1;
                
                .field--name-user-picture {
                    a {
                        display: block;
                        width: 100px;
                        padding: 0;
                        margin: 0;
                        float: left;
                        height: 100px;
                        padding: 0px !important;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            border-radius: 50%;
                        }
                    }
                }
            }

            a.notification-link {
                background-color: #494995;
                height: 100%;

                .list-group-item {
                    color: white; 
                    margin-left: 100px;
                    background-color: transparent;
                    width: 375px;
                }
            }
        }

        .seen {
            a.notification-link {
                background-color: white;
                
                .list-group-item {
                    /* padding: 0px !important; */
                    /* margin: 0px; */
                    /*border: 1px solid #eaeaea !important;*/
                    /* padding: 10px; */
                    color: white;
                    color: black;
                }
            }
        }
    }

    #block-mycustom-theme-views-block-notifications-block-1 {
        right: 0px;
        width: 500px;
        position: absolute;
        z-index: 99999;
    }

    .dropdown-notifications.closed-notifications {
        display: none;
    }

    .dropdown-notifications.opened-notifications {
        display: block;
        height: 500px;
        overflow: auto;
    }
}

.path-user {
    .stop-slide {
        background-image: url('https://img.freepik.com/premium-vector/icons-play-pause-stop-vector_942802-1222.jpg');
        background-repeat: no-repeat;
        background-size: 100%;
        height: 50px;
        width: 50px;
        display: block;
        cursor: pointer;
        position: relative;
    }
    .restart-slide {
        background-image: url('https://t4.ftcdn.net/jpg/08/33/83/01/360_F_833830193_ydiNP9FeVmo9XrHJbwxYKNfKoOVFuCZT.jpg');
        background-repeat: no-repeat;
        background-size: 100%;
        height: 50px;
        width: 50px;
        display: block;
        cursor: pointer;
        position: relative;
    }


    form > .form-wrapper  {
        width: 30%;
        background-color: #8989f9;
        /* color: whi; */
        float: left;
        margin: 20px;
        padding: 12px;
        height: 300px;
        overflow-y: scroll;
    }

    #user-pass-reset {
        #edit-actions {
            height: auto;
            width: auto;
            overflow: unset;
        }
    }

    .custom-user-create {
        /* margin: 0px; */
        /* padding: 0px; */
        float: left;

        .tabledrag-toggle-weight-wrapper {
            display: none;
        }

        

        #edit-field-user-investitor-0-subform-field-investitor-project-link-0 {
            legend,
            .description,
            .form-item-field-user-investitor-0-subform-field-investitor-project-link-0-title {
                display: none;
            }
        }
    }

    .custom-username-form {
        float: left;
        /*margin-top: 30px;*/
        /*height: 590px;
        background-color: #0e0a86;
        /*padding-top: 30px;*/
        background-color: #0e0a86;
        color: white;
        padding: 12px;
    }

    .paragraphs-dropdown-actions {
        background-color: #6060c6;
    }

    section.section #field-user-spoken-languages-values {
        small.description {
            color: white !important;
            margin-left: 23px;
            display: block;
        }
        
        input {
            margin-left: 0px;
        }

        label {
            margin-left: 20px;
        }
    } 
}

.page-user-register {
    .form-item .paragraphs-add-wrapper,
    .form-item .clearfix,
    .paragraphs-actions,
    tbody td.field-multiple-drag,
    #edit-field-user-event-holder-0-subform-field-event-hold-description-0-format,
    #edit-field-user-investitor-0-subform-field-investitor-project-desc-0-format,
    #edit-field-user-concretize-project-0-subform-field-project-idea-description-0-format,
    .paragraph-type,
    .paragraph-top {
        display: none !important;
    }
}

/*.user-logged-in.path-user {*/
.path-user {
    section.section {
        #user-form {
            /*overflow-x: hidden;
            height: 800px;
            overflow-y: auto;*/
        }

        .custom-user-create {
            .carousel .carousel-item {
                height: auto;

                .empty-information {
                    color: white;
                    /* margin: 20px; */
                    font-size: 40px;
                    font-weight: bold;
                    background-color: #00000080;
                    padding: 20px;
                    line-height: 100px;
                    width: 100%;
                    display: block;
                    margin-left: 15px;
                }
            }

            .personal-information {

                margin: 12px;
                width: 98%;

                .form-wrapper {
                    text-align: left;
                
                    label {
                        color: white;
                        text-align: left;
                        font-weight: bold;
                    }
                }

                #edit-field-user-full-name-wrapper {
                    label {
                        width: 100%;
                    }
                }
            }
        }

        td {
            border-color: #5b5b5b8f !important;
            background-color: #9594bb5e !important;
            color: white !important;
        }

        #edit-field-user-living-in-morocco-wrapper {
            float: left;
            margin-left: 100px;
            width: 20%;
        }

        #edit-field-main-citizenship-wrapper,
        #edit-field-user-main-language-wrapper {
            float: left;
            width: 90%;
            margin-left: 10px;
        }

        #edit-user-picture-wrapper {
            margin: 20px;

            .file--image  {
                background: none;
                padding-left: 0px;

                a {
                    font-size: 0px;
                }
                a:after {
                    content: 'See the bigger picture';
                    font-size: 16px;
                    color: #6ce4ff;
                    font-weight: bold;
                    text-underline-offset: revert-layer;
                    text-decoration: underline;
                    width: 100%;
                    float: left;
                }
            }
            small#edit-user-picture-0--description.description {
                margin-top: 12px;
                color: white !important;
                margin-left: 12px;
            }
        }

        #edit-user-picture-0-remove-button {
            float: left;
            width: 100%;
        }

        small.description {
            color: white !important;
            text-align: left;
            float: left;
            margin-top: 5px;
            margin-bottom: 20px;
        }

        & #edit-account {
            /* float: left; */
            margin: 16px;
            color: white;
            margin-top: 0px;

            .form-type-email {
                margin-top: 30px;
            }

            .js-form-item {
                float: left;
                min-width: 75%;
            }
        }

        .field--type-text-with-summary {
            .form-wrapper {
                display: none;
            }
        }
        
    }
}

.page-user-logout {

    & section.section {
  
        form > .form-wrapper {
            width: 99%;
            height: 100px;
            overflow: hidden;
            margin-left: auto;
            /* margin-right: auto; */
            padding: 25px;

            #edit-submit {
                margin-top: 0px;
                background-color: purple;
            }

            #edit-cancel {
                background-color: purple;
                padding: 17px;
                border-radius: 8px;
            }
        }

    }
}

/**** USER PROJECT PAGE ***/
body.node--type-user-project {

    .post-user_project {
        height: 400px;
    }


    .utilities-stars-container {
        margin-top: 6px;
        margin-bottom: 10px;
    }

    .global-category {
        .star-rating {
        display: flex;
        align-items: center;
        font-family: sans-serif;
        gap: 0.4em;
        float: left;
        margin-left: 10px;
        }
        hr {
            float: left;
            width: 90%;
            margin-top: 0px;
            margin-bottom: 0px;
        }
        .stars {
        display: flex;
        font-size: 1.4em;
        line-height: 1;
        }
        .star {
        color: #bcdef7;
        }
        .star.full {
        color: gold;
        }
        .star.half {
        background: linear-gradient(90deg, gold 50%, #bcdef7 50%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        }
        .rating-value {
        font-size: 1em;
        color: #707bb3;
        display: none;
        }
    }
}
/*************************/

.user-logged-in.path-user {
    #edit-submit {
        background-color: #ff3000d4;
        height: 50px;
        /* margin-top: 70px; */
        color: white;
        border-color: unset;
        float: left;
        position: absolute;
        left: 0px;
        width: 200px;
        /* margin: 20px; */
        top: 328px;
        left: 23px;
    }
}