/* Tim Wilde
Created to apply styles to non admin users
*/

/* hide course search nav bar*/

#coursesearchnavbar
{
display:none !important;
}

/* hide course searches */
#site-index #coursesearch, #site-index #coursesearch2, #coursesearch2,#coursesearch
{
display:none !important;
}

/*hide forum search*/
.forumsearch
{
display:none !important;
}

/* hide optional on edit user page  */
#region-main .region-content .mform #moodle_optional { display: none !important; } 

/*remove forum post */
.block_navigation .type_custom.depth_3 .tree_item.branch { display: none; } 

/*hide individual Sitepages from navigation block*/
.block_navigation .block_tree.list .type_activity.depth_2 .tree_item.leaf a[title="Page"] { height:0; display: none; } 

/* Remove "Site Pages" tree from nav block */
.block_navigation .type_course.depth_2  { display: none; }

/*remove single site news page from front navigation block */
.block_navigation .type_activity.depth_2 .tree_item.leaf { display: none; }

/* hide particpants from nav block on enrolled courses */
.block_navigation .tree_item.branch a[title="Participants"] { height:0; display: none; }

/* block nav hide users folder*/
.block_navigation .tree_item.branch a[title="Users"] { height:0; display: none; } 

/* hide the my courses and users folders*/
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_system.depth_2.collapsed.contains_branch .tree_item.branch span { height:0; display: none; }

/* unhide the my courses folder that was hidden above*/
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_system.depth_2.collapsed.contains_branch .tree_item.branch.canexpand span { height:0; display: inline; }

/* hide participants from courses - different fix to my courses  */
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_system.depth_2.contains_branch .type_category.depth_3.contains_branch .type_course.depth_4.contains_branch .type_unknown.depth_5 .tree_item.branch span { height:0; display: none; }

/* hide reports folder from navigation block  */
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_system.depth_2.contains_branch .type_category.depth_3.contains_branch .type_unknown.depth_4.collapsed.contains_branch .tree_item_branch span { height:0; display: none; }

/* hide participants from courses guest users */
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_system.depth_2.contains_branch .type_category.depth_3.contains_branch .type_course.depth_4.contains_branch .type_unknown.depth_5.item_with_icon .tree_item.leaf.hasicon span{ height:0; display: none; } 

/* hide course content from general course */
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_system.depth_2.contains_branch .type_category.depth_3.contains_branch .type_course.depth_4.contains_branch .type_structure.depth_5.contains_branch.current_branch ul{ height:0; display: none; } 

/* hide course content including PDFs and and quizes*/
.type_course.depth_4.contains_branch .type_structure.depth_5.contains_branch ul{ height:0; display: none; } 

/* hide my courses content including PDFs and and quizes */
.type_system.depth_2.contains_branch .type_course.depth_3.contains_branch .type_structure.depth_4.contains_branch ul{ height:0; display: none; } 

/* hide my profile in nav block  */ 
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_user.depth_2.collapsed.contains_branch .tree_item.branch span { height:0; display: none; }

/* hide course admin in settings block   */
.block-region#region-pre .region-content .block_settings.block#inst41 .content .box.block_tree_box#settingsnav .block_tree.list .type_course.contains_branch .tree_item.branch.root_node span { height:0; display: none; } 

/* show grades icon where course admin is hidden */
.block-region#region-pre .region-content .block_settings.block#inst41 .content .box.block_tree_box#settingsnav .type_course.collapsed.contains_branch ul { height:18px !important;display:inline !important;}

/* remove hard return to reduce large space in settings block -when collapsed*/
.block-region .region-content .block_settings.block .content .box.block_tree_box .block_tree.list .type_unknown.collapsed.contains_branch hr { height:0; display: none !important; }

/* remove hard return to reduce large space in settings block - when expanded */
.block-region .region-content .block_settings.block .content .box.block_tree_box .block_tree.list .type_unknown.contains_branch hr { height:0; display: none !important; }

/* hide my courses -collapsed */
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_system.depth_2.collapsed.contains_branch .tree_item.branch.canexpand span { height:0; display: none; }

/* hide my courses - expanded*/
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch 
.type_system.depth_2.contains_branch .tree_item.branch.canexpand span{ height:0; display: none; }

/* hide my courses - on general page*/
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch 
.type_system.depth_2.contains_branch .type_course.depth_3.contains_branch.current_branch p{ height:0; display: none; }

/* hide my courses - on general page - step 2*/
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch 
.type_system.depth_2.contains_branch .type_course.depth_3.collapsed.item_with_icon p{ height:0; display: none; }

/* hide "show only topic button"  */
#thetopics .section.main.togglesection .right.side a[title~=Show] { height:0; display: none; }

/* hide "show only topic button" in readings and resources  */
.region-content .course-content .topics .section.main.clearfix .right.side a[title~=Show] { height:0; display: none; }

/* hide my home v2.5*/
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_setting.depth_2.item_with_icon .tree_item.leaf.hasicon { height:0; display: none; }

/* hide home v2.5*/
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .tree_item.branch.canexpand.navigation_node { height:0; display: none; }

/* hide my courses v 2.5 */
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_system.depth_2.collapsed.contains_branch .tree_item.branch#expandable_branch_1 { height:0; display: none; }


/* hide badges  v 2.5 and my profile settings*/
.block-region .region-content .block_settings.block .content .box.block_tree_box .block_tree.list .type_unknown.collapsed.contains_branch .tree_item.branch span[tabIndex="0"] { height:0; display: none; }

/* add my profile settings back which were hidden above v2.5 */
.block-region .region-content .block_settings.block .content .box.block_tree_box .block_tree.list .type_unknown.collapsed.contains_branch .tree_item.branch.root_node#usersettings span[tabIndex="0"] { height:14px; display: block !important; }

/* hide "discuss this topic" on front page */
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content #site-news-forum .forumpost .row.side .options.clearfix .link { height:0; display: none !important; }

/* grades icon on course page align left and add space underneath */
.block-region .region-content .block_settings.block .content .box.block_tree_box .block_tree.list .type_course.contains_branch ul {padding-left:0px !important; padding-bottom:3px !important;}

/* hide particpants and badges on the certificate page  */
.block-region .region-content .block_navigation.block .content .type_unknown.depth_1.contains_branch .type_system.depth_2.contains_branch .type_course.depth_3.contains_branch .type_unknown.depth_4.collapsed.contains_branch .tree_item.branch { height:0; display: none !important; }

/* hide my badges on user profile page */
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_user.depth_2.contains_branch .type_setting.depth_3.item_with_icon .tree_item.leaf.hasicon a { height:0; display: none; }

/* hide admin lti submissions */
.block-region .region-content .block_settings.block .content .box.block_tree_box .block_tree.list .type_unknown.contains_branch { height:0; display: none; }

/* hide admin lti submissions and reduce space*/
.block-region .region-content .block_settings.block .content .box.block_tree_box .block_tree.list .type_course.collapsed.contains_branch hr { height:0; display: none;}

/* remove fields available via "my profile"/"change email" */
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_maildisplay { height:0; display: none; }
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_mailformat { height:0; display: none; }
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_maildigest { height:0; display: none; }
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_autosubscribe { height:0; display: none; }
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_trackforums { height:0; display: none; }
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_htmleditor { height:0; display: none; }
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_timezone{ height:0; display: none; }
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_lang { height:0; display: none; }
#region-main .region-content .mform #id_moodle .fcontainer #fitem_id_description_editor { height:0; display: none; }
#region-main .region-content .mform #id_moodle_picture { height:0; display: none; }
#region-main .region-content .mform #id_moodle_interests { height:0; display: none; }
#region-main .region-content .mform #id_moodle_optional { height:0; display: none; }

/* hide "customise this page" button on nav bar */
#page .navbar .wrapper.clearfix .navbutton {height:0 !important; display: none !important; }
/* hide "view profile" option on my profile page */
.block-region .region-content .block_navigation.block .content .block_tree.list .type_unknown.depth_1.contains_branch .type_user.depth_2.contains_branch .type_custom.depth_3.item_with_icon.current_branch .tree_item.leaf.hasicon.active_tree_node a { height:0 !important; display: none !important; }
/* hide "my picture" on profile page*/ 
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content .userprofile .userprofilebox.clearfix  .profilepicture a { height:0 !important; display: none !important; }
/* adjust padding on profile page - description box */
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content .userprofile .userprofilebox.clearfix  .descriptionbox { padding-bottom:0px !important; }
