/*
Theme Name: MG Car Club (2019) Main Site
Author: The MG Car Club 
Author URI: http://obergine.com
Description: The theme for the MG Car Club's new redesign/development. This is the central theme for the main website. For child themes see networked sites.
Version: 1.0
*/

@import url('css/foundation.css');
@import url('css/app.css?v=3.12');

#sidebar > ul > li { border-bottom: 1px solid #dfdfdf; margin-bottom: 20px; padding-bottom: 5px;}
#sidebar .bbp-login-form label { width: auto; }
#sidebar form fieldset { border: none; padding: 0; }

#sidebar .bbp_widget_login { margin-top: 30px; }

#sidebar #bbp_search { width: 100%; margin-bottom: 10px; }

#sidebar .bbp-logged-in h4 { font-weight: normal; }
#sidebar .bbp-logged-in { padding-bottom: 15px; }


	header h1 {
		display: none !important;
	}

/*  #section-main-nav { position: absolute; top: 0; left: -100%; padding-top: 44px; }*/
  .js-ready #section-main-nav { height: 100%; width: 85%; background: #333333; -webkit-box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25); -moz-box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25); box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25); }
  
.joinbtn:before
{
	content: "Join today";
	display: inline-block;
	
}

 @media screen and (max-width: 1200px) {
 
	#why-join .whyinfo span
	{
		float:none !important;
	}
	#why-join .whyinfo
	{
		height:auto !important;
	}
 
	footer .Copyright .row .eight.columns,
	footer .Copyright .row .four.columns
	{
		width: 100%  !important;
		text-align: left !important;
		float: none !important;
		margin-left: 0px  !important;
	}
 
	body:not(.home) #main-content,
	body:not(.home) #breadcrumbs-div
	{
		padding-left: 10px;
		padding-right: 10px;
	}
	header > div, footer> div, footer > div.PaddingT50B30, footer > div.PaddingTB70{padding-left: 10px !important;padding-right: 10px !important;}
 }
 
 @media screen and (max-width: 1030px)  and (min-width: 768px){ 
 
	footer .row .three.columns
	{
		width: 100% !important;
		margin-bottom: 30px;
	}
	
	footer .row .four.columns,
	footer .row .five.columns
	{
		width: 50% !important;
		margin-left: 0px !important;
	}
	
	footer .row .four.columns
	{
		padding-left: 30px !important;
	}
	
	
	
	footer .Copyright .row .eight.columns,
	footer .Copyright .row .four.columns
	{
		padding-left: 0px !important;
		margin-left: 0px !important;
	}
	
 }
  
@media screen and (max-width: 1030px) { 

.close-btn { display: block;} header h1 { height: 45px; margin: 0; padding: 0; background-color: #006841; background-image: -webkit-linear-gradient(top, #006841, #00442b); background-image: -moz-linear-gradient(top, #006841, #00442b); background-image: -ms-linear-gradient(top, #006841, #00442b); background-image: -o-linear-gradient(top, #006841, #00442b); border-bottom: 1px solid #003521; position: absolute; left: 0; width: 100%; margin: 0; padding: 8px 0; color: #fff; display: block; font-size: 20px; font-size: 2rem; text-align: center; text-decoration: none; text-shadow: 0px -1px 0px #222; }
  header h1 img { width: 22px; vertical-align: middle; padding-bottom: 6px; }
  header .nav-btn, header .close-btn { display: inline; width: auto; min-width: 40px; max-width: 70px; height: 30px; margin: 0; padding: 0 5px; overflow: hidden; line-height: 30px; font-family: inherit; font-size: 12px; font-weight: bold; text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0; text-overflow: ellipsis; text-decoration: none; text-align: center; white-space: nowrap; color: #fff; -webkit-border-radius: 6px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.25); }
  header .nav-btn.left, header .close-btn.left { position: absolute; top: 8px; left: 10px; z-index: 998; }
  header .nav-btn.right, header .close-btn.right { position: absolute; top: 7px; right: 6px; z-index: 1; }
  header .nav-btn { background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #00915b), color-stop(0.5, #00774b), color-stop(0.5, #006d44), color-stop(1, #006841)); border: 1px solid #003521; }
  header .nav-btn:hover { background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #005937), color-stop(0.5, #004e31), color-stop(0.5, #003f28), color-stop(1, #002618)); }
  header .close-btn { padding: 0 15px; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #333333), color-stop(0.5, #2e2e2e), color-stop(0.5, #262626), color-stop(1, #191919)); border: 1px solid #3a3a3a; }
  header .close-btn:hover { background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #4c4c4c), color-stop(0.5, #474747), color-stop(0.5, #404040), color-stop(1, #333333)); }
  /*header .top-links{ height: 95px; }*/
  header .social{padding-right: 10px;margin-top: 20px;}
  header nav#club-section { position: absolute; width: 100%; top: 47px; left: 0; text-align: center; }
/*  header nav#club-section ul { display: inline-block; margin: 0 auto; width: 70%; }*/
/*  header nav#club-section ul li { font-size: 12px; font-size: 1.2rem; width: 25%; text-align: center; }*/
/*  header nav#club-section ul li.club-motorsport { width: 28%; }
  header nav#club-section ul li.club-shop { width: 22%; }*/
/*  header nav#club-section ul li a { padding: 14px 0; margin-top: 0; }*/
  header nav#section-main-nav ul li { float: none !important; background: #1e1e1e; border-bottom: none; /* flyout third tier */ }
  header nav#section-main-nav ul li a { padding: 10px 18px; border-bottom: 1px solid #343434; }
  header nav#section-main-nav ul li ul { position: inherit; left: auto; }
  header nav#section-main-nav ul li ul li { padding: 0; }
  header nav#section-main-nav ul li ul li a { padding: 9px 28px 11px; -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; }
  header nav#section-main-nav ul li li { background: #00110b; }
  header nav#section-main-nav ul li:hover > ul { left: auto; }
  header nav#section-main-nav ul li li li { background: #002b1b; }
  header nav#section-main-nav ul li li li a { padding: 9px 41px 11px; }
  header nav#section-main-nav ul li:hover ul li:hover ul { left: auto; top: 0; }
  header nav#section-main-nav ul li.members-link { background: #006841; }
  header nav#section-main-nav ul li.members-link li { background: #00774b; }
  header nav#section-main-nav ul li.members-link li li { background: #008251; }
 }

 /*** Temp - begins **/



.Subscribe input[type="email"] {
	height:55px;
}

nav#section-main-nav ul li > ul {  margin-left:0px; }

.NewsCategoryItem .content-block.six.columns
{
	padding-left: 0px;
	padding-right: 0px;
}

.MGCCHide 
{
display:none !important;
}

header .row .nine.columns
{
padding-left: 0px;
padding-right: 0px;
}

#searchform input[type="text"]
{
float: right;
}

@media only screen and (max-width: 767px) {
.Quicklinks .row .six.columns
{
padding-left: 0.9375rem;
padding-right: 0.9375rem;
}
}

/*** Temp - ends**/
 
 /*** New **/
body.single-tribe_events .tribe-events-before-html {display:none;}

header nav#club-section {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    text-align: center;
	margin-bottom:20px;
}

/* member benefits */
.memberDiscountRow .wpb_single_image {margin-bottom:0;}
.memberDiscountRow h2 {margin:0;padding:5px;background:#006841;color:#fff;}


/* Members - Members Discounts Page - begins */

/* Members - Members Discounts Page - ends */
