#mainwrapper{
    position: relative;
    background: var(--text-color);
}



#profile_wrapper{
    position: relative; 
    width: 100%; 
    min-height: 100vh;
    background: var(--text-color);
}

#mainwrapper.professional_layout, #mainwrapper.professional_layout #profile_wrapper{
    background: #E1E1E1;
}

.dark #mainwrapper.professional_layout, .dark #mainwrapper.professional_layout #profile_wrapper{
    background: var(--text-color);
}

#mainwrapper .creative_layout_button{display: none;}
#mainwrapper.professional_layout .professional_layout_button{display: none;}
#mainwrapper.professional_layout .creative_layout_button{display: inline-block;}

#profile_wrapper .profile_stats .grid_1_1{
    grid-template-columns: 1fr 1fr;
}

.background_element{
    position: fixed;
    top: 60px; left: 0;
    width: 100%; 
    height: 80vh; 
    min-height: 300px;       
  background-color: #151515;  /* fallback */
  background-image: radial-gradient(circle at center,
                                   #252525 0%,
                                   #151515 100%);
    background-size: cover!important; 
    background-position: center!important; 
    overflow: hidden;
    opacity: 0; 
    transition-duration: 1s;

    
}



.show .background_element{
    opacity: 1;
}

#mainwrapper.professional_layout .background_element{display: none;}

.background_element .image_credit{position: absolute; top: 15px; left: 15px; color: white; font-size: 13px; }

.background_video_wrapper{
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    
    
}

.background_element .background_video_wrapper iframe{
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
    
}

.background_element::after{
    content: "";
    position: absolute; 
    bottom: 0; left: 0;
    height: 50%; width: 100%; 
    background: rgb(21,21,21);
    background: linear-gradient(180deg, rgba(21,21,21,0) 50%, rgba(21,21,21,1) 90%);
}


.background_element a.add_video{
    text-decoration: none;
    font-size: 12px; 
    color: white;
    padding: 10px 0 10px 25px;
    position: absolute;
    top: 40px; left: 20px;
    opacity: 0; 
    transform: translateY(100px);
    transition-duration: 0.25s;
    
}


.background_element .background_console{
    opacity: 0; 
    transform: translateY(100px);
    transition-duration: 0.25s;
    opacity: 1;
    transform: translateY(0);
    color: #999;
    padding: 20px;
}

.background_element .background_console a.edit_background{
    color: #999; 
    text-decoration: none;
    display: block; 
    font-size: 14px;
    height: 14px;
    padding: 10px 0 10px 30px; 
    position: relative;
    
}

@media(min-width: 1024px){
    .background_element .background_console a.edit_background{
        transform: translateY(100px);
    opacity: 0;
    transition-duration: 0.25s;
    }

    .background_element .background_console a.edit_background:nth-child(2){
        transition-delay: 0.1s;
    }
}

.background_element:hover .background_console a.edit_background{
    transform: translateY(0);
    opacity: 1;
}

.background_element .background_console a.edit_background .icon{
    position: absolute; 
    top: 50%; left: 0; 
    transform: translateY(-50%);
    width: 25px; height: 25px;
    background: white; 
    border-radius: 50%;
}

.background_element .background_console a.edit_background .icon .material-symbols-outlined{
    font-size: 14px; color: #151515;
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translateX(-50%) translateY(-50%);
}

.background_element:hover .background_console{
    opacity: 1; 
    transform: translateY(0px);
}

.background_element:hover a.add_video{
    opacity: 1; 
    transform: translateY(0px);
}

.background_element a.add_video::after{
    content: "";
    width: 20px; height: 20px; 
    position: absolute; 
    top: 50%; left: 0;
    transform: translateY(-50%);
    border-radius: 50%; 
    background: white url(../images/buttons/icon-video-dark.svg) no-repeat;
    background-size: 80%; background-position: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    opacity: 1;
    transition-duration: 0.25s;
}


.content_wrapper{
    width: calc(100% - 20px); 
    margin: 50vh auto 80px auto;
    background: white; 
    max-width: 1200px;
    border-radius: 20px; 
    min-height: 100vh;
    position: relative;
}

#mainwrapper.professional_layout .content_wrapper{
    margin: 30px auto;
}

.dark .content_wrapper{
    background: var(--dark-grey); 
    color: white;
}

.content_wrapper .padding{
    padding: 20px; display: block;
}

.content_wrapper .profile_head_grid{
    display: grid; 
    grid-gap: 1em; 
    grid-template-columns: 70px 1fr;
    position: relative;
    
}

.content_wrapper .profile_head_grid .edit_profile_layout{
    position: absolute; 
    top: 0; right: 0;
}





@media(max-width: 480px){
    .content_wrapper .profile_head_grid{
        grid-template-columns: 70px 1fr;
        
    }
}

.profile_head_sub_grid{
    display: grid; 
    grid-template-columns: 1fr;
    gap: 0 1em; 
    
}

.profile_head_sub_grid > div{
    padding: 0.5em 0 0.25em 0; 
    border-top: 1px solid var(--light-grey);
}

.content_wrapper .profile_head_grid .profile_image{
    width: 60px; height: 60px; 
    background-position: center!important; 
    background-size: cover!important;
    border-radius: 50%;
    position: relative;
    background: 
    url("../images/backgrounds/icon-user-profile.svg") no-repeat center/100px, /* top layer */
    radial-gradient(circle at center, #252525 0%, #151515 100%);
}

.is_editable{position: relative;}

.is_editable::after{
    content: "";
    width: 20px; height: 20px; 
    position: absolute; 
    top: 0; right: 0;
    border-radius: 50%; 
    background: white url(../images/buttons/edit-pencil-dark.svg) no-repeat;
    background-size: 90%; background-position: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    opacity: 1;
    transition-duration: 0.25s;
}

.edit_background.is_editable::after{
    right: initial; left: 0important;
}

.sub_profile_box{
    padding: 1em 0;
    background: white;
}

.dark .sub_profile_box{background: var(--dark-grey);}

.sub_profile_box .sub_head{
 padding: 0.2em 0.2em 0.5em 0.2em;
 margin-top: -10px;
 margin-bottom: 10px;
 border-bottom: 1px solid var(--light-grey);   
 
}

.sub_profile_box .sub_head .flex{
    display: flex;
 justify-content: space-between;
 align-items: center;
}

.sub_profile_box.inactive{
    opacity: 0.3;
    transition-property: opacity;
transition-duration: 0.25s;
}

.sub_profile_box.inactive:hover{
    opacity: 1;
}

.sub_profile_box .sub_profile_box_head{
    border-top: 4px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
    padding: 0.5em 0;
}

.dark .sub_profile_box .sub_profile_box_head{
    border-top: 4px solid var(--off-white);
    border-bottom: 1px solid var(--off-white);
}

.sub_profile_box .sub_profile_box_head .handle{
    width: 24px; 
    height: 24px!important;
    display: inline-block;
    background: url(../images/buttons/drag-handle.svg) no-repeat; 
    background-size: 100%; background-position: center; 
    transform: translateY(4px);
    height: 100%;
    opacity: 1;
}

.dark .sub_profile_box .sub_profile_box_head .handle{filter: invert(100%);}

.sub_profile_box .sub_profile_box_head h2{display: inline-block;}

.sub_profile_box .grid.grid_1_1{
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.sub_profile_box .grid.grid_1_1.align_top{
    align-items: initial;
}

.sub_profile_box  .sub_profile_box_body{
    display: block; 
    min-height: 80px;
    position: relative;
    padding: 1em 0;
}

.sub_profile_box  .sub_profile_box_body .activate_section{
    position: absolute; 
    top: 50%; left: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.25s;
    display: none;
    text-align: center;

}

@media(max-width: 1023px){
    .sub_profile_box  .sub_profile_box_body .activate_section{display: block; opacity: 1;}
}

.sub_profile_box.inactive  .sub_profile_box_body .activate_section{
    display: block; 
}


.sub_profile_box:hover  .sub_profile_box_body .activate_section{
    opacity: 1;
}

.sub_profile_box .sub_profile_box_head h2{
    line-height: 1em;
    padding-bottom: 0;
}

@media(min-width: 640px){
    .is_editable::after{
        opacity: 0;
        transform: translateY(0px);
        transform: translateY(50px);
    transition-duration: 0.25s;
    }

    .is_editable:hover::after{
        transform: translateY(0px);
        opacity: 1;
    }
    
}

.sub_profile_box.is_editable::after{display: none;}

.content_wrapper .profile_head_grid h1{font-size: 24px; padding-bottom: 0.1em;}

.action_deck{margin: 1em 0;}

.profile_nav{
    
    margin: 1em 0;
    border-top: 4px solid var(--text-color);

}

.dark .profile_nav{
    border-top: 4px solid var(--off-white);
}

.profile_nav ul{
    padding: 0; margin: 0; 
    text-indent: 0;
    display: flex;
    justify-content: space-between;
}

.profile_nav ul li{
    list-style: none; 
    border-bottom: 1px solid rgba(0,0,0,0);
    transition-duration: 0.25s;
    display: inline-block; 
    padding: 0;
}

.profile_nav ul li a{text-decoration: none; font-size: 11px; display: inline-block; padding: 5px 0; cursor: pointer;}

.profile_nav ul li:hover, .profile_nav ul li.active{
    border-bottom: 1px solid rgba(0,0,0,1);
}

.profile_box{padding: 0.5em 0; }

.bar_chart_wrapper{
    width: 100%; 
    height: 10px; 
    background: #e1e1e1;
    margin-bottom: 0.5em;
}

.bar_chart_wrapper .bar_wrapper{
    height: 100%; 
    display: block; 
}

#profile_preview_expertises .sub_profile_box_body .bar_chart_wrapper .bar_wrapper .bar{
    width: 0%; height: 100%; 
    background: var(--primary-color);
    transition-duration: 0.25s;
}

#profile_preview_expertises .sub_profile_box_body.show .bar_chart_wrapper .bar_wrapper .bar{
    width: 100%;
}

.project_wrapper h1.project_title{
    padding-bottom: 0;
}

.project_wrapper h1.project_type{
    padding-bottom: 1em;
}

@media(min-width: 640px){
    .background_element, .background_element.is_editable{
        height: 50vh; 
    }

    .content_wrapper{
        margin: 30vh auto 80px auto;
    }

    .content_wrapper .profile_head_grid{
        grid-template-columns:140px 1fr;
        align-items: top;
    }
    
    .content_wrapper .profile_head_grid .profile_image{
        width: 120px; height: 120px; 
    }
    .content_wrapper .padding{
        padding: 40px; 
    }

    .content_wrapper .profile_head_grid h1{font-size: 36px;}
}

@media(min-width: 1280px){
    .background_element{
        width: 50%; height: calc(100vh - 90px);
    }

    .background_element .image_credit{position: absolute; bottom: 15px; left: 15px; top: initial; }

    .background_element .image_credit a{color: #CCC;}

    .background_element::after{
        bottom: 0; left: initial; right: 0;
    height: 100%; width: 50%; 
    background: rgb(21,21,21);
    background: linear-gradient(90deg, rgba(21,21,21,0) 50%, rgba(21,21,21,1) 90%);
    }

    .content_wrapper{
        width: calc(50vw - 30px);
        margin: 30px 30px 30px calc(50% - 30px);
    }

    #mainwrapper.professional_layout .content_wrapper{
        width: 1200px;
        margin: 30px auto;
    }
}

@media(min-width: 1600px){
    .content_wrapper .profile_head_grid h1{font-size: 48px;}
}

.form_field input[type=text], .form_field input[type=email], .form_field input[type=password], .form_field input[type=number], .form_field input[type=date], .form_field select{
    margin-bottom: 0.5em; 
}

.dark .form_field input[type=text], .dark .form_field input[type=email], .dark .form_field input[type=password], .dark .form_field input[type=number], .dark .form_field input[type=date], .dark .form_field select{
    background: var(--dark-grey);
    color: var(--light-grey);
}

.dark .form_field.modern_field label, .dark .form_field.modern_field input:valid ~ label,.dark .form_field.modern_field input:focus ~ label,.dark .form_field.modern_field.error input ~ label{background: var(--dark-grey); color: var(--light-grey);}

.form_field label{font-size: 0.8em;}

#modal_skills_wrapper{
    border-top: 4px solid var(--text-color);
}

.dark #modal_skills_wrapper{
    border-top: 4px solid var(--light-grey);    
}

#modal_skills_wrapper .list_item{
    padding: 5px 0; 
    border-bottom: 1px solid var(--text-color);
    display: none;
    background: white;
}

.dark #modal_skills_wrapper .list_item{
    background: var(--dark-grey);
    border-bottom: 1px solid var(--light-grey);
}

#modal_skills_wrapper .list_item .skill_grid{
    display: grid; 
    grid-template-columns: 30px 3fr 2fr 1fr;
    align-items: center;
    gap: 1em;
}

#modal_skills_wrapper .list_item .skill_grid .sortable_handle, .sortable_handle{
    background: url(../images/buttons/drag-handle.svg) no-repeat; 
    background-size: 100%; background-position: center; 
    height: 100%;
    opacity: 0.5;
}

.dark #modal_skills_wrapper .list_item .skill_grid .sortable_handle, .sortable_handle{filter: invert(100%);}

#modal_skills_wrapper .list_item .skill_grid p{padding: 0; margin: 0;}

.link_form_grid{
    display: grid; 
    grid-template-columns: 30px 2fr 2fr 200px;
    gap: 1em;
    align-items: center;
}



#modal_links_wrapper #master_link{border-top: 4px solid var(--text-color); padding: 0.5em 0;}
.dark #modal_links_wrapper #master_link{border-top: 4px solid var(--light-grey); }

#modal_links_wrapper .slave_link{
    border-top: 1px solid var(--text-color); padding: 0.5em 0;
    background: white;
}

.dark #modal_links_wrapper .slave_link{
    border-top: 1px solid var(--light-grey);
    background: var(--dark-grey);
}

#profile_preview_links .link_name{padding: 5px 0 5px 30px; position: relative;}

#profile_preview_links .link_name::before{
    content: "";
    width: 20px; height: 20px; 
    position: absolute; 
    top: 2px; 
    left: 0; 
    
}

#profile_preview_links .link_name.link_artstation::before{background: url(../images/buttons/icon-logo-artstation.svg) no-repeat; background-size: contain; background-position: center;}
#profile_preview_links .link_name.link_facebook::before{background: url(../images/buttons/icon-logo-facebook.svg) no-repeat; background-size: contain; background-position: center;}
#profile_preview_links .link_name.link_linkedin::before{background: url(../images/buttons/icon-logo-linkedin.svg) no-repeat; background-size: contain; background-position: center;}
#profile_preview_links .link_name.link_behance::before{background: url(../images/buttons/icon-logo-behance.svg) no-repeat; background-size: contain; background-position: center;}
#profile_preview_links .link_name.link_twitter::before{background: url(../images/buttons/icon-logo-x.svg) no-repeat; background-size: contain; background-position: center;}
#profile_preview_links .link_name.link_instagram::before{background: url(../images/buttons/icon-logo-instagram.svg) no-repeat; background-size: contain; background-position: center;}
#profile_preview_links .link_name.link_pinterest::before{background: url(../images/buttons/icon-logo-pinterest.svg) no-repeat; background-size: contain; background-position: center;}
#profile_preview_links .link_name.link_imdb::before{background: url(../images/buttons/icon-logo-imdb.svg) no-repeat; background-size: contain; background-position: center;}
#profile_preview_links .link_name.link_link::before{background: url(../images/buttons/icon-logo-link.svg) no-repeat; background-size: contain; background-position: center;}

#profile_preview_links .link_name a{text-decoration: none; display: inline-block; position: relative;}
#profile_preview_links .link_name a::after{
    content: "";
    position: absolute; 
    bottom: 1px; 
    left: 0;
    width: 0%; 
    opacity: 0;
    border-bottom: 1px solid var(--text-color);
    transition-duration: 0.25s;
}

#profile_preview_links .link_name:hover a::after{width: 100%; opacity: 1;}

.set_video_form_body .video_wrapper{
    width: 480px;
    height: calc(480px * 9 / 16); 
    background: rgba(0,0,0,0.5);
}

.set_video_form_body .video_wrapper iframe{display: none;}

.input_list_select_wrapper{
    position: relative; 
    display: block; 

}

.input_list_select_wrapper .input_list{
    position: absolute; 
    width: calc(100% - 65px);
    top: -8px;
    left: 15px; 
    min-height: 100px; 
    background: white;
    border: 1px solid rgba(0,0,0,0.2);
    z-index: 11;
    display: none;
}

.input_list_select_wrapper .input_list > ul{
    display: block; 
    padding: 0; margin: 0;
    text-indent: 0;

}

.input_list_select_wrapper .input_list > ul > li{
    display: block; 
    list-style: none; 
    padding: 10px; 
    background: white;

}

.input_list_select_wrapper .input_list > ul > li:hover, .input_list_select_wrapper .input_list > ul > li.active{
    filter: invert(100%);
}

.sub_profile_head{
    padding-bottom: 0.5em; 
    display: block; 
    border-bottom: 1px solid var(--text-color);
}

.gallery_grid{
    display: block; 
    padding: 10px 0; 
    overflow: hidden;
}

.gallery_grid > .item{
    width: 110px; height: 110px; 
    display: inline-block; 
    margin: 0 -5px -5px 0;
    background: #EEE;
    background-size: cover!important;
    background-position: center!important;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transform: scale(0.9);
    transition-duration: 0.25s;
}

.dark .gallery_grid > .item{
    background: var(--dark-grey);
    border: 1px solid rgba(255,255,255,0.2);
}

.gallery_grid > .item .click_zone{
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    
}

.gallery_grid > .item:hover{
    transform: scale(1);
}

.gallery_grid > .item .item_handle, .gallery_grid > .item .zoom_image{
    position: absolute;
    top: 5px; right: 5px;
    width: 30px; height: 30px; 
    opacity: 1;
    background: rgba(255,255,255,0.8);
    border-radius: 50%; 
    opacity: 0;
    transition-duration: 0.25s;
}

.gallery_grid > .item .item_handle span, .gallery_grid > .item .zoom_image span{position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); width: 14px; height: 14px;}



.gallery_grid > .item .zoom_image{
    right: initial; left: 5px;
}

.gallery_grid > .item:hover .item_handle, .gallery_grid > .item:hover .zoom_image{opacity: 1;}

.gallery_grid > .item .toggle{
    position: absolute; 
    bottom: 5px; left: 5px; width: 15px; height: 15px; 
    border-radius: 50%; 
    border: 3px solid var(--primary-color);
    opacity: 0;
    transition-duration: 0.25s;
}

.gallery_grid > .item:hover .toggle, .gallery_grid > .item.active .toggle{opacity: 1;}

.gallery_grid > .item .toggle::after{
    content: "";
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    border-radius: 50%; 
    background: var(--primary-color);
    opacity: 0;
    transform: scale(100%);
    transition-duration: 0.25s;
}

.gallery_grid > .item.active .toggle::after{
    transform: scale(100%); 
    opacity: 1;
}


.gallery_grid > .item span.small{
    position: absolute; 
    bottom: 10px; left: 10px; 
    opacity: 0.5;
}

.gallery_grid > .item span.material-symbols-outlined{
    position: absolute; 
    top: 10px; left: 10px;
   
}

.dark .gallery_grid > .item .item_handle span.material-symbols-outlined, .dark .gallery_grid > .item .zoom_image span.material-symbols-outlined{color: var(--text-color);}

.gallery_grid .item.add_file, .gallery_grid .item.add_folder{
    
}

#super_media_modal{
    position: fixed; 
    top: 0; left: 0;
    width: 100%; 
    height: 100vh;
    z-index: 150;
    background: rgba(0,0,0,0.9);
    display: none;
}

#super_media_modal .super_modal_content{
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
}

#super_media_modal .super_modal_content .image_carousel_wrapper, #super_media_modal .super_modal_content .image_carousel_wrapper .feature_wrapper{
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; 
    overflow: hidden;
    transition-duration: 0.25s;
}

#super_media_modal .super_modal_content .image_carousel_wrapper .feature_wrapper{position: relative;}

#super_media_modal.show_info .super_modal_content .image_carousel_wrapper .feature_wrapper{width: calc(100% - 300px);}

#super_media_modal .super_modal_content .image_carousel_wrapper .feature_wrapper .carousel_item{
    position: absolute; 
    top: 0; left: 0;
    width: 100%; height: 100%; 
    background-size: contain!important;
    background-position: center!important;
    display: none;
}

#super_media_modal .super_modal_nav{position: absolute; bottom: 20px; right: 20px; text-align: right; color: white; transition-duration: 0.25s;}
#super_media_modal.show_info .super_modal_nav{right: 320px;}

#super_media_modal .super_modal_nav a{padding: 10px; width: 14px; height: 14px; text-align: center; display: inline-block; margin-left: 10px; background: white; text-decoration: none; border-radius: 50%; position: relative; transform: scale(1); transition-duration: o.25s;}
#super_media_modal .super_modal_nav a:hover{transform: scale(1.1);}
#super_media_modal .super_modal_nav a span{font-size: 14px; color: var(--text-color); display: inline-block; width: 14px; height: 14px; text-align: center; overflow: hidden; }
#super_media_modal .super_modal_nav a.fit_screen{position: absolute; bottom: 50px; right: 0;}

#super_media_modal .super_modal_nav a.admin_add_collection{position: absolute; bottom: 90px; right: 0;}

body.scroll_y_inhibit{
    overflow-y: hidden;
}

#gallery_breadcrumbs > div{display: inline-block; }

#gallery_breadcrumbs > div.wrapper{display: inline-block; padding-left: 20px; position: relative; cursor: pointer; }
#gallery_breadcrumbs > div.wrapper:first-child{padding-left: 0;}
#gallery_breadcrumbs > div.wrapper .material-symbols-outlined{font-size: 11px; position: absolute; top: 50%; left: 5px; transform: translateY(-50%); }
.album_token{display: inline-block; padding: 6px 10px 4px 10px; background: #EEE; border: 1px solid rgba(50,50,50,0.2); border-radius: 10px; line-height: 1em; font-size: 12px;}
.dark .album_token{border: 1px solid var(--light-grey); background: var(--dark-grey2);}

#sub_profile_videos .sub_profile_box_body .video_grid{
    display: grid; 
    grid-gap: 15px; 
}

#sub_profile_videos .sub_profile_box_body .video_grid .item{
    background: #EEE;
    border-radius: 15px; 
    min-height: 100px;
    overflow: hidden;
    position: relative;
}

.dark #sub_profile_videos .sub_profile_box_body .video_grid .item{
    background: var(--dark-grey);
}

#sub_profile_videos .sub_profile_box_body .video_grid .item .video_wrapper{position: relative;}

#sub_profile_videos .sub_profile_box_body .video_grid .item .video_wrapper .background{
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background-size: cover!important; 
    background-position: center!important;
}

#sub_profile_videos .sub_profile_box_body .video_grid .item .video_wrapper:hover .background{display: none;}

@media(min-width: 640px){#sub_profile_videos .sub_profile_box_body .video_grid{grid-template-columns: 1fr 1fr;}}

@media(min-width: 1280px){#sub_profile_videos .sub_profile_box_body .video_grid{grid-template-columns: 1fr 1fr;}}

#sub_profile_videos .sub_profile_box_body .video_grid .item .text_wrapper{
    padding: 1em;
}

#sub_profile_videos .sub_profile_box_body .video_grid .item .text_wrapper h3{line-height: 1em; padding: 0; margin: 0; font-size: 0.9em;}


.video_grid .video_item .toggle{
    position: absolute; 
    top: 10px; left: 10px; width: 15px; height: 15px; 
    border-radius: 50%; 
    border: 3px solid var(--primary-color);
    opacity: 1;
    transition-duration: 0.25s;
    
}



.video_grid .video_item:hover .toggle, .video_grid .video_item.active .toggle{opacity: 1;}

.video_grid .video_item .toggle::after{
    content: "";
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    border-radius: 50%; 
    background: var(--primary-color);
    opacity: 0;
    transform: scale(100%);
    transition-duration: 0.25s;
}

.video_grid .video_item.active .toggle::after{
    transform: scale(100%); 
    opacity: 1;
}


.video_grid .video_item .item_handle{
    position: absolute;
    top: 5px; right: 5px;
    width: 30px; height: 30px; 
    background: rgba(255,255,255,0.8);
    border-radius: 50%; 
    opacity: 0;
    transition-duration: 0.25s;
}

.video_grid .video_item:hover .item_handle{
    opacity: 1;
}

.video_grid .video_item .item_handle span{position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); width: 16px; height: 16px; font-size: 16px;}

.dark .video_grid .video_item .item_handle span{color: var(--text-color);}

.services_grid{
    display: grid; 

    grid-template-columns: 1fr 1fr; 
    grid-gap: 1em;
}

@media(min-width: 1024px){
    .services_grid{grid-template-columns: 1fr 1fr 1fr;}
}

.services_grid .service_item{ border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 10px 10px 10px 30px; position: relative; }
.dark .services_grid .service_item{border: 1px solid rgba(255,255,255,0.2);}
.services_grid .service_item p{line-height: 1em; padding: 0; margin: 0;}

.sub_profile_services_menu .swap_panels{
    margin: 2em 0;
}

.sub_profile_services_menu .swap_panels .panel{
    padding: 10px; 
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 22px;
}

.sub_profile_services_menu .swap_panels .panel .service_item .toggle{
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    opacity: 1;
    transition-duration: 0.25s;
}

.sub_profile_services_menu .swap_panels .panel .service_item .toggle::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0;
    transition-duration: 0.25s;
}

.sub_profile_services_menu .swap_panels .panel .service_item.active .toggle::after{opacity: 1;}

.set_services_list .service_item{
    padding: 10px; 
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 10px; 
    margin-bottom: 10px;
    display: none;
    background: white;
    
}

.dark .set_services_list .service_item{
    background: var(--dark-grey);
    border: 1px solid rgba(255,255,255,0.3);
}

.set_services_list .service_item .form_field{padding: 0; margin: 0;}
.set_services_list .service_item .form_field.modern_field label{transform: translateY(-37px);}

.set_services_list .service_item .grid{
    grid-template-columns: 30px 1fr 200px 150px 50px;
    align-items: center;
}

.set_services_list .service_item .grid p{line-height: 1em; padding: 0; margin: 0;}

.set_services_list .service_item .handle{
    width: 24px;
    height: 24px !important;
    display: inline-block;
    background: url(../images/buttons/drag-handle.svg) no-repeat;
    background-size: 100%;
    background-position: center;
    transform: translateY(4px);
    height: 100%;
    opacity: 1;
    cursor: ns-resize;
}

.dark .set_services_list .service_item .handle{
    filter: invert(100%);
}

.set_services_list .delete_button{opacity: 0.5; cursor: pointer;}
.set_services_list .delete_button:hover{opacity: 1;}

#sub_profile_box_services .service_item{
    padding: 0.5em 0;
    border-bottom: 1px solid var(--text-color);
}

.dark #sub_profile_box_services .service_item{
    border-bottom: 1px solid var(--light-grey);
}

.service_item_grid{
    grid-template-columns: 1fr 100px 100px;
    font-size: 0.9em;
    
}

.resume_container h1, .resume_container h2, .resume_container h3, .resume_container h4, .resume_container h5,.resume_container h6, .resume_container p{line-height: 1.2em; padding: 0.4em 0; margin: 0;}

#section_resume .sub_profile_box_body .resume_wrapper{
    max-height: 350px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s;
}

#section_resume .sub_profile_box_body .resume_wrapper.show_all{
    max-height: none;
    overflow: initial;
}

#section_resume .sub_profile_box_body .resume_wrapper .resume_container .mask{
    content: "";
    position: absolute; 
    bottom: 0; left: 0;
    width: 100%; height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));


}

.dark #section_resume .sub_profile_box_body .resume_wrapper .resume_container .mask{
    background: linear-gradient(to bottom, rgba(51, 51, 51, 0), rgba(51, 51, 51, 1));
}

#section_resume .sub_profile_box_body .resume_wrapper.show_all .resume_container .mask{
    display: none;
}

#section_resume .sub_profile_box_body .bio_toggle_nav{text-align: center; position: absolute; bottom: 5px; left: 0; width: 100%; }
#section_resume .sub_profile_box_body .bio_toggle_nav a.button{position: absolute; 
bottom: 0; left: 50%; transform: translateX(-50%);}

#section_resume .sub_profile_box_body .resume_wrapper.show_all .bio_toggle_nav{bottom: -30px;}

canvas.doughnut_chart{
    width: 160px; height: 160px; 
    text-align: center;
    
}

.donut_wrapper{
    width: 160px; 
    text-align: center;
    position: relative;
}

.donut_wrapper p{margin-top: 1em;}

.donut_wrapper h1{
    position: absolute;
    top: 90px; left: 50%; 
    transform: translateX(-50%) translateY(-50%);
}

.donut_wrapper h1 sup{font-size: 0.4em; transform: translateY(-0.5em) translateX(2px);}
.donut_wrapper .votes{
    position: absolute; 
    width: 100%; 
    top: 95px; left: 0; 
    text-align: center;
}

body.dark #mainwrapper{background: var(--text-color);}

.following_grid{
    display: grid; 
    grid-template-columns: 60px 1fr 1fr;
    align-items: center;
}

.following_grid > div:last-child{text-align: right;}

.item.item_list{
    padding: 5px 0;
    border-top: 1px solid var(--light-grey);
}

.following_grid .user_avatar{width: 45px; height: 45px; }

.following_grid p.small a{font-size: 1.1em; font-weight: 700; padding-bottom: 0.3em; display: inline-block; }

p.small span.material-symbols-outlined{font-size: 12px;}

.user_social_grid{
    padding-top: 1em; border-top: 1px solid var(--text-color);
    display: flex;
    justify-content: space-between;
}

.dark .user_social_grid{
    border-top: 1px solid var(--light-grey);
}

a.button.active{
    background: var(--text-color);
    color: white;
    border: 1px solid var(--text-color);
}

.dark a.button.active{
    border: 1px solid var(--light-grey);
    color: var(--light-grey);
    background: transparent;
}

a.button.button_2 span{
    font-size: 12px; 
    position: relative; 
    top: initial; left: initial;
    padding: 0; margin: 0;
    transform: initial;
}

.line .user_stats_flex{
    padding: 1em 0 0 0;
    margin-top: 1em;
    text-align: left; 
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--text-color);

}

.dark .line .user_stats_flex{
    border-top: 1px solid var(--light-grey);
}

body .background_element .hero_thumb_editor{
    position: absolute; 
    top: 30px; right: 80px; 
    width: 240px; min-height: 120px; 
    background: white;
    border-radius: 10px; 
    z-index: 5;
    padding: 5px; 
    opacity: 0;
    transform: translateY(100px) scale(0.25);
    transition-duration: 0.5s;
    
}

body.dark .hero_thumb_editor{
    background: var(--dark-grey);
}

body .background_element:hover .hero_thumb_editor{
    opacity: 1; 
    transform: translateY(0);
}

.hero_thumb_editor .hero_thumb{
    width: 100%; 
    padding-bottom: 50%;
    background: var(--text-color);
    background-size: cover!important; 
    background-position: center!important; 
    border-radius: 7px; 
    position: relative;
    cursor: pointer;
}

.hero_thumb_editor .hero_thumb p.small{
    position: absolute; top: 50%; left: 50%; 
    transform: translateY(-50%) translateX(-50%); 
    background: rgba(25,25,25,0.5);
    display: inline-block; 
    padding: 5px 10px 5px 20px; 
    border-radius: 15px; 
    color: white; 
}

.hero_thumb_editor .hero_thumb:hover p.small{filter: invert(100%);}

.hero_thumb_editor .hero_thumb p.small span{
    position: absolute; 
    top: 50%; left: 12px; 
    transform: translateY(-50%) translateX(-50%); 
}

.hero_thumb_editor .hero_thumb .small_avatar{
    position: absolute; 
    width: 40px; height: 40px; 
    border-radius: 50%; 
    background-size: cover!important; 
    background-position: center!important; 
    bottom: -20px; right: 15px; 
    border: 2px solid white;
}

.dark .hero_thumb_editor .hero_thumb .small_avatar{
    border: 2px solid var(--text-color);
}

.hero_thumb_editor .hero_preview_text{
    padding: 10px 0; 
    width: calc(100% - 50px);
}

.date_field{
    border: 1px solid var(--light-grey);
    color: var(--text-color);
    border-radius: 20px; 
    font-family:Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.dark .date_field{
    background: var(--dark-grey);
    border: 1px solid var(--light-grey);
    color: var(--light-grey);
    color-scheme: dark;
}

.block_head{
    border-top: 4px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
    padding: 0.5em 0;
    margin-top: 2em;
    display: block; 
}


.dark .block_head{
    border-top: 4px solid var(--off-white);
    border-bottom: 1px solid var(--off-white);
}


.block_head h2{
    padding: 0; margin: 0; 
}

.list{
    border-top: 1px solid var(--text-color);
    
}

.list .list_item{
    border-bottom: 1px solid var(--text-color);
    padding: 5px 0;
}

.dark .list{
    border-top: 1px solid var(--light-grey);
}

.dark .list .list_item{
    border-bottom: 1px solid var(--light-grey);
}

.grid_3_1_1_2{
    grid-template-columns: 3fr 1fr 1fr 2fr;
    align-items: center;
}

.list_item .grid > div:last-child{
    text-align:right;
}

#super_media_modal .image_info_wrapper{
    position: absolute; 
    top: 20px; right: 20px; 
    max-width: 320px;
    
}

#super_media_modal .image_info_wrapper a{font-size: 1em; position: relative; padding-left: 2em;}

#super_media_modal .image_info_wrapper span{font-size: 1.2em; position: absolute; top: 50%; left: 10px; transform: translateY(-55%);}

@media(min-width: 640px){
    #super_media_modal .image_info_wrapper a{font-size: 1.0em; position: relative; padding-left: 2em;}

    #super_media_modal .image_info_wrapper span{font-size: 1.2em; position: absolute; top: 50%; left: 10px; transform: translateY(-55%);}
}

.image_carousel_wrapper .image_info_panel{
    position: fixed;
    width: calc(100vw - 20px);
    max-width: 340px;
    height: calc(100vh - 140px);
    top: 70px; right: -360px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition-duration: 0.35s;
    opacity: 0;
}

.image_carousel_wrapper.open .image_info_panel{
    opacity: 1;
    right: 70px;

}

body.dark .image_carousel_wrapper .image_info_panel{background: var(--dark-grey2);}

.image_carousel_wrapper.open .image_info_panel .panel_head{
    padding: 10px; 
    background: var(--dark-grey);
    color: white;
    height: 30px; overflow: hidden;
}

.image_carousel_wrapper.open .image_info_panel .panel_body{
    height: calc(100vh - 190px);
    overflow: hidden;
}

.image_carousel_wrapper.open .image_info_panel .panel_head .close{
    position: absolute; 
    top: 10px; right: 10px; 
    cursor: pointer;

}

body .image_carousel_wrapper.open .image_info_panel  .panel_body{
    padding: 10px; 
}

body.dark .image_carousel_wrapper.open .image_info_panel  .panel_body{}

body.dark .image_carousel_wrapper.open .image_info_panel  .panel_body p{font-size: 0.8em;}

.avatar_grid{
    display: grid; 
    grid-template-columns: 40px 1fr;
    grid-gap: 10px;
    margin-bottom: 5px;
}

.avatar_grid .avatar{
    width: 40px; height: 40px; 
    border-radius: 50%; 
    background: url(../images/backgrounds/icon-user-profile.svg) no-repeat;
    background-size: cover!important; 
    background-position: center!important; 
}

.scroll_content .padding_right{
    width: calc(100% - 20px);
    padding-bottom: 40px;
}

.info_content p{font-size: 0.8em;}

#like_image_button span:nth-child(1){display: inline-block;}
#like_image_button span:nth-child(2){display: hidden;}

#super_media_modal .super_modal_nav a#like_image_button.active{background: red; color: white;}
#super_media_modal .super_modal_nav a#like_image_button.active span{color: white;}

#super_media_modal .super_modal_nav a#like_image_button span:nth-child(1){display: inline-block;}
#super_media_modal .super_modal_nav a#like_image_button span:nth-child(2){display:none;}

#super_media_modal .super_modal_nav a#like_image_button.active span:nth-child(1){display: none;}
#super_media_modal .super_modal_nav a#like_image_button.active span:nth-child(2){display:inline-block;}

.time_grid{
    column-count: 2; /* Splits content into 3 columns */
    column-gap: 20px; /* Space between columns */
}

@media(min-width: 640px){
    .time_grid{
        column-count: 3; /* Splits content into 3 columns */
        column-gap: 20px; /* Space between columns */
    }
}

.time_grid a{width: 80%; text-align: center;}


/*------------------------- CHAT ----------------------------- */


.panel_conntent_wrapper{
    display: grid;
    grid-template-rows: 50px 1fr 120px;
}


body .image_carousel_wrapper.open .image_info_panel .panel_conntent_wrapper  .panel_body{height: calc(100vh - 330px);     background: linear-gradient(to top, rgba(230, 230, 230, 0.5) 0%, rgba(230, 230, 230, 0) 5%);}
body.dark .image_carousel_wrapper.open .image_info_panel .panel_conntent_wrapper  .panel_body{background: linear-gradient(to top, rgba(51, 51, 51, 0.5) 0%, rgba(51, 51, 51, 0) 5%);}

.panel_conntent_wrapper .panel_body{height: 100%; }

.panel_conntent_wrapper .panel_form{
    height: 120px; overflow: hidden; 

}

.panel_content_wrapper .thread_wrapper{padding: 5px; width: 100%; max-width: 340px; 
    overflow: hidden; }

.panel_content_wrapper .thread_wrapper p{font-size: 14px; }

textarea.comment_field{
    width: 100%;  
    height: 60px;  
    border: none;  
    background: transparent;  
    color: #151515;  
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;  
    font-size: 14px;  
    padding: 10px;  
    resize: none;  
    outline: none;  
    overflow: hidden;  /* Prevents scrollbar shift */
    overflow-y: auto;  /* Enables vertical scrolling */
    word-wrap: break-word; /* Ensures long words don't shift layout */
    white-space: pre-wrap; /* Preserves line breaks */
}

.dark textarea.comment_field{
    color: #CCC;
}


body  .image_info_panel .message_nav{
    padding: 0 10px;
    align-items: center; 
}

body  .image_info_panel .message_nav a{
    color: #999;
    font-size: 18px; 
    text-decoration: none;
    transition-duration: 0.25s;
}

body  .image_info_panel .message_nav a:hover{
    transform: scale(1.1);
    color: #151515;
}

body  .image_info_panel .message_nav a:hover{
    transform: scale(1.1);
    color: white;
}

body  .image_info_panel .message_box{
    padding: 10px 0 0 0;
    display: grid; 
    grid-template-columns: 40px 1fr;
    grid-gap: 10px; 
    width: 100%; 
    max-width: 320px;


}

body  .image_info_panel .message_box a .avatar{
    transform: translateY(5px);
    width: 40px; height: 40px; 
    border-radius: 50%; 
    background: url(../images/backgrounds/icon-user-profile.svg) no-repeat;
    background-size: cover!important; 
    background-position: center!important; 
    transition-duration: 0.25s;
}

body  .image_info_panel .message_box a:hover .avatar{
    transform: translateY(5px) scale(1.2);
}

body  .image_info_panel .message_box .very_small{font-size: 11px!important; font-weight: bold;}

body  .image_info_panel .message_box .very_small a{text-decoration: none;}
body  .image_info_panel .message_box .very_small a:hover{text-decoration: underline;}

body  .image_info_panel .message_box .message_bubble{padding: 15px; border-radius: 10px; background: #E1E1E1;}
body.dark  .image_info_panel .message_box .message_bubble{background: var(--dark-grey);}

body  .image_info_panel .message_box .post_time{padding: 5px 10px;}

body  .image_info_panel .message_box .post_time a span{font-size: 14px; transform: translateY(3px); opacity: 0.5; transition-duration: 0.25s;}
body  .image_info_panel .message_box .post_time a:hover span{transform: translateY(3px) scale(1.2);  opacity: 0.8;}

/*------------------------- END CHAT ----------------------------- */

