/*these change the colour of the top menu buttons
*/
li#menu-item-1001 a {
    background: orange !important;
}

li#menu-item-1440 a {
	background: pink !important;
}

li#menu-item-1472 a {
	background: aqua !important;
}
/*this should fix gap in pink dropdown list; http://premium.wpmudev.org/forums/topic/help-menu-2-drop-down-list-disappeared-in-upgrade; Martin 
*/
ul.pagenav li {
margin: 0px 0px 0px 0px;
}

/*this changes the membership subscription buttons (sign up and renew) to white so they are readable - Jack Kittering at http://premium.wpmudev.org/forums/topic/renew-subscriptions-buttons-and-price-missing#post-598679:
141002 Changed text colour from #FFFFFF to #000000 while no background colour
*/
#container .content a.unfav, #container .content li.load-more a, #container .content a.button {
	color: #000000 !important;
}

/*8http://premium.wpmudev.org/forums/topic/questions-about-events-not-answered-in-usage-docs#post-600979 David M
"he Saturday and Sunday table shading is unfortunately a bit tricky. The following works most of the way:.....What that does is used the CSS nth-last-child selector to style only the 1st and 2nd columns from the last in the table. Unfortunately, that doesn't cover the last row, where the columns can span a series. There's not really an easy workaround to this apart from altering the plugin itself, which isn't recommended. Perhaps that might still work for you though?"
*/

table.eab-monthly_calendar.eab-shortcode_calendar tbody tr td:nth-last-child(1),
table.eab-monthly_calendar.eab-shortcode_calendar tbody tr td:nth-last-child(2) {
background-color: #ccc !important;
}
/* from http://premium.wpmudev.org/forums/topic/questions-about-events-not-answered-in-usage-docs#post-600979 David M "As for the links within the calendar, this should cover that:"
*/
#container div.content table.eab-monthly_calendar a.wpmudevevents-calendar-event {
color: #fff !important;
}


/* Removing Space after Blog Post  (http://premium.wpmudev.org/forums/topic/issue-with-blog-space-vs-events-space#post-603253) Jack Kittering
*/
.post-content { margin-bottom: -50px; }

/* Getting calendar to stop going off the page. http://premium.wpmudev.org/forums/topic/calendar-formatting-lost-when-changing-months#post-608675 be
*/
.eab-monthly_calendar td, .eab-monthly_calendar th { padding: 0; }
table.eab-monthly_calendar { font-size: .9em; }

/* To fix the issue of H2 etc headings not working in Events+ plugin. http://premium.wpmudev.org/forums/topic/event-formatting-all-over-the-shop#post-608318 Jack Kittering
*/
#wpmudevevents-wrapper h1 {float:none;}
#wpmudevevents-wrapper h2 {float:none;}
#wpmudevevents-wrapper h3 {float:none;}
#wpmudevevents-wrapper h4 {float:none;}
#wpmudevevents-wrapper h5 {float:none;}
#wpmudevevents-wrapper h6 {float:none;}

/* To add line above Event text http://premium.wpmudev.org/forums/topic/separator-required-under-location-and-date-info#post-608715 Be
You have to add it to EACH event - not here. 
*/

/*To ensure bullet points appear in Posts - as the theme apparently overrides it :  http://premium.wpmudev.org/forums/topic/event-text-not-showing-correctly-formatted?replies=12#post-616169 Aristath
*/
.post-content ul li ul li { list-style: disc; }

/*To remove the booking buttons from public holidays    http://premium.wpmudev.org/forums/topic/listing-public-holidays-how-do-you-list-them#post-617787  Vinod
*/
.wpmudevevents-list .public-holiday .wpmudevevents-viewevent,
.wpmudevevents-list .public-holiday .wpmudevevents-buttons {
display: none;
}

.wpmudevevents-list .public-holiday .wpmudevevents-date {
margin-bottom: 15px;
}

/* To get menu 2 oo show on the ipad when in portrait mode; http://premium.wpmudev.org/forums/topic/issues-with-theme-on-smartphone-and-ipad Vinod
*/
@media only screen and (max-width: 770px) and (min-width: 490px){
 .header-nav {
display: block !important;
}
}
/* Ipad - to get history to show full width in landscape AND portrait mode instead of 2/3 in portrait mode; http://premium.wpmudev.org/forums/topic/issues-with-theme-on-smartphone-and-ipad   Vinod
*/
#container .full-width#post-entry{
width: 94% !important;
padding: 3% !important;
}
/* Replacing missing dropdown menu for Menu 2 which disappeared 140304 after an upgrade of the theme and plugins: http://premium.wpmudev.org/forums/topic/menu-two-only-shows-top-layer

*/
#top-header .header-nav ul.pagenav ul li a {
    width: 156px;
}

#top-header .header-nav ul.pagenav li{
	position: relative;
}

#top-header .header-nav ul.sub-menu{
	position: absolute;
	left: 0;
	top: 24px;
}

#top-header .header-nav ul.sub-menu {
  left: 0;
  position: absolute;
  top: 24px;
  z-index: 9999;
}

#top-header .header-nav ul.pagenav li:hover > .sub-menu {
	display: block;
}


/* Display BP Username in Directory */
/*
// PLEASE RELOCATE, THIS IS PHP CODE

function my_member_username() {
    global $members_template;

    return $members_template->member->user_login;
}
add_filter('bp_member_name','my_member_username');

*/

/*Events Page formatting. http://premium.wpmudev.org/forums/topic/formatting-in-events-all-over-the-shop-again by Vinod on 140430
*/

#post-entry ol, #post-entry ul {
   margin-left: 15px;
}



/*Changing background colour in Q&amp;A plugin so you can read the test. 140501 Jack Kittering http://premium.wpmudev.org/forums/topic/typing-in-yoursitecomauquestionsask-goes-no-where (Originally tried white text but it affects something else).
*/
#qa-menu li {
    background-color: #FFFFFF !important;
}

/* Topic (WPMU reference thread)
*/

/* Changing h1 tags to fix alignment issues on event pages */

#wpmudevevents-wrapper h1{
float: none !important;
}
#wpmudevevents-contentheader h1{
float: left;
}
/* Changing 23 tags to fix alignment issues on event pages */

#wpmudevevents-wrapper h2{
float: none !important;
}
#wpmudevevents-contentheader h2{
float: left;
}
/* Changing h3 tags to fix alignment issues on event pages */

#wpmudevevents-wrapper h3{
float: none !important;
}
#wpmudevevents-contentheader h3{
float: left;
}
/* 140610 Changing space around product images so there is white space...http://premium.wpmudev.org/forums/topic/more-space-needed-around-photos...Michael Bissett */
.mp_product_image_list, .mp_product_image_single {
    margin-right: 20px !important;
}

@media screen and (min-width: 768px) {

    .scribe-serv-list {
        margin-left: 180px !important;
    }

}
/* 140619 To fix Job Alert text going off page - Jimmy http://premium.wpmudev.org/forums/topic/help-with-text-going-off-page?replies=3#post-690464...Tyler 
.post-content {
    width: 595px !important;
}
140701 To fix Job Alert text going off page - Take 2 from Ari    http://premium.wpmudev.org/forums/topic/help-with-text-going-off-page?replies=6#post-696899*/
.post-content {
    max-width: 100%;
}
/* 140701 To stop dot points going off the page. http://premium.wpmudev.org/forums/topic/help-with-text-going-off-page ...Tyler*/
.post-content ul li {
margin-right: 15px !important;
}

/*140823 Learndash advised how to add more space underneat the Next Lesson text...Email on 140823 from Kloe*/

#learndash_next_prev_link {
margin-top: 20px;
}

/*141002 To fix Menu 2 dropdown from not staying so you can click on it and to fix the missing colour on the Sign Up buttons for Membership.http://premium.wpmudev.org/forums/topic/issues-with-themethings-have-changed-from-custom-css?replies=1#post-749761...Vinod Dalvi

141014 removed this due to update by Jack below

#membership-wrapper .subscriptionbox a.button {
    color: #81d742 !important;
}
*/

#top-header .header-nav ul.sub-menu {
    top: 23px;
}
#nav li ul {
    z-index: 99999;
}


/*141014 To fix the background in the Sign Up button in Membership http://premium.wpmudev.org/forums/topic/issues-with-themethings-have-changed-from-custom-css ...Jack Kittering 
*/
#membership-wrapper .subscriptionbox a.button {
    color: #81D742 !important;
    background: #81d742 !important;
}