/*---------------------------------------

	Layout changes at 1240px, where skyscraper ads are dropped

-----------------------------------------*/

@media screen and ( max-width: 1240px ) {

/*#wpnavigation, #top, #branding .wrap { padding: 0 20px; }*/
#wpnavigation, #top { padding: 0 20px; }
.cat_panel_inner { padding: 30px 20px 20px 20px; }
#content_wrap { padding: 0; }
#home_content_wrap { padding: 0; }
.skyscraper { display: none; }

.home_banner_content { padding: 0; }

} 

/*---------------------------------------

	1000px, minimise header, retain banner

-----------------------------------------*/

@media screen and ( min-width: 1000px ) {

#branding { position: static; }
.scrolled1 #branding { position: absolute; top: 794px; }
.template-plain-one-col #wpnavigation { position: fixed; top: 40px; left: 0; right: 0; }
/*body.scrolled, body.template-plain-one-col { padding-top: 0; }*/
body.template-plain-one-col.scrolled1 { padding-top: 98px; }


/*#XenForo body.scrolled1 { padding-top: 0; }*/

/* XenForo */
/*#fs3header { padding-top: 20px; }*/
#XenForo #headerMover { margin-top: 20px; }
#XenForo #content { padding: 0; }

}

@media screen and ( max-width: 999px ) {

body.template-plain-one-col { padding-top: 30px; }

.home_banners_wrap { display: none; }
#top { display: none; }

#branding { position: relative; background: #8bab3f; padding: 48px 0 0 0; }
#branding .wrap { height: auto; } 

.scrolled1 #branding { display: block; position: absolute; top: 756px }

.house_banner { display: none; }
.banner { position: relative; bottom: auto; right: auto; margin: 0 auto; }

.body_content_main { margin-right: 329px; }
.body_content { float: left; }
.body_content_lining { margin: 0 14px; }

.sidebar { float: left; width: 328px; border-left: 1px solid #DEDEDE; }
.sidebar_lining { margin: 0 14px; }

.content_stream li { width: 50%; margin-bottom: 40px; }

.footer_nav, .footer_associations { display: none; }
#mobile_logo { display: block; }

#toggle_nav { display: block; position: absolute; top: 0; right: 0; width: 48px; height: 48px; border-left: 1px solid #8bab3f; z-index: 20; }
#toggle_nav:before { content: '\e817'; display: inline-block; width: 48px; height: 48px; line-height: 48px; text-align: center; font-family: "fontello"; font-style: normal; font-weight: normal; font-size: 20px; color: #FFF; text-shadow: none; }

#mobile_user { display: block; position: absolute; top: 0; right: 49px; width: 48px; height: 48px; border-left: 1px solid #8bab3f; z-index: 20; }
#mobile_user:before { content: '\f234'; display: inline-block; width: 48px; height: 48px; line-height: 48px; text-align: center; font-family: "fontello"; font-style: normal; font-weight: normal; font-size: 20px; color: #FFF; text-shadow: none; }

#mobile_logout { display: block; position: absolute; top: 0; right: 98px; width: 48px; height: 48px; border-left: 1px solid #8bab3f; z-index: 20; }
#mobile_logout:before { content: '\e80e'; display: inline-block; width: 48px; height: 48px; line-height: 48px; text-align: center; font-family: "fontello"; font-style: normal; font-weight: normal; font-size: 20px; color: #FFF; text-shadow: none; }


#nav #top_user_nav { display: none !important; }
#nav #top_links_search { display: block !important; float: none; width: 100%; text-align: center; background: #779236; border-top: 1px solid #8bab3f; }

#nav #top_links_search ul { display: block; line-height: 44px; font-size: 12px; color: #FFF; text-align: center; margin: 0; vertical-align: top; border: none; }
#nav #top_links_search li { display: inline-block; font-size: 13px; line-height: 44px; border-right: 1px solid #8bab3f; vertical-align: top; }
#nav #top_links_search li.left   { width: 31%; }
#nav #top_links_search li.middle { width: 31%; }
#nav #top_links_search li.right  { width: 37%; }
#nav #top_links_search li:last-child { border: none; }
#nav #top_links_search a { display: block; }
#nav #top_links_search a:link, #nav #top_links_search a:visited { color: #eff5e3; text-decoration: none; }
#nav #top_links_search a:before { margin-right: 3px; }

#nav #top_links_search li#sign_in_out { display: block; width: auto; background: #819e3b; border-right: none; border-bottom: 1px solid #8bab3f; text-align: right; } 
#nav #top_links_search li#sign_in_out a { display: inline; }
#nav #top_links_search li#sign_in_out .stats { display: block; position: relative; padding: 0 32px; color: #eff5e3; }
#nav #top_links_search li#sign_in_out .stats:after { content: '\e822'; position: absolute; right: 14px; top: 0; display: block; width: 10px; height: 44px; font-family: "fontello";
  font-style: normal; font-weight: normal; font-size: 16px; color: #FFF; text-shadow: none; }

#top_search { position: relative; display: block; background: #779236; border-top: 1px solid #8bab3f; padding: 12px 14px; }
#search { background: #FFF; padding: 5px 16px 7px 0; border-radius: 17px; -moz-box-shadow: inset 0 0 3px #EEE; -webkit-box-shadow: inset 0 0 3px #EEE; box-shadow: inset 0 0 3px #EEE; }

#search .search_q { width: 80%; height: 16px; line-height: 16px; font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; font-size: 14px; color: #FFF; border: none; outline: none; -webkit-appearance: none; background: none; padding-left: 28px;  -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
#search .search_q:focus { width: 80%; color: #4B4B4B; }

.search_go { font-size: 16px; color: #CCC; }

#wpnavigation, .scrolled1 #wpnavigation, .template-plain-one-col #wpnavigation { position: fixed; top: 0; left: 0; right: 0; height: 48px; }

#wpnavigation li { display: none; }
#cat_nav li#logo { display: none; }

#nav { position: absolute; top: 48px; left: 0; width: 100%; display: none; }
#cat_nav { position: relative; width: 100%; border-bottom: 2px solid #FFF; z-index: 10; }
#cat_nav li { position: relative; display: block; line-height: normal; border-right: none; font-size: 14px; padding: 0 10px 0 14px; text-shadow: none; }
#cat_nav li a { position: relative; display: block; padding: 12px 0; height: auto; width: 100%; line-height: normal; }
#cat_nav li a:before { display: none; } 
#cat_nav li a:after { content: '\e822'; position: absolute; right: 0; top: 13px; display: block; width: 10px; height: 20px; font-family: "fontello";
  font-style: normal;
  font-weight: normal; font-size: 16px; color: #FFF; text-shadow: none; }

#cat_nav li:hover .cat_panel, #cat_nav li.active_tab .cat_panel { display: none; }

#member_profile { margin: 60px auto 0 auto; padding: 0px 8px 14px 8px; }
#directory_profile { padding: 56px 8px 14px 8px; }

/* Colours */

#cat_nav #startup_tab { background: #8bab3f; }
#cat_nav #marketing_tab { background: #5998bd; }
#cat_nav #money_tab { background: #46b4b4; }
#cat_nav #wellbeing_tab { background: #6673a9; }
#cat_nav #technology_tab { background: #817b6b; }
#cat_nav #productivity_tab { background: #f79541; }
#cat_nav #more_tab { background: #475e2b; }


.join_people { display: none; }

.footer_ads .desktop { display: none; }
.footer_ads .mobile { display: inline; }

}

/*---------------------------------------

	860px, switch to 1 col content, drop sidebar

-----------------------------------------*/

@media screen and ( max-width: 860px ) {

body.template-plain-one-col { padding-top: 0px; }

#branding { position: fixed; padding-top: 48px;}
.scrolled1 #branding { position: absolute; top: 650px; }

.body_content_main { margin-right: 0; }
.body_content, .sidebar { float: none; }
.body_content_lining { margin: 0 14px; }

#content { padding: 20px 0; }
/*body.scrolled1 { padding-top: 240px; }*/
body.scrolled1 #directory_profile { padding-top: 56px; }
body.scrolled1.template-plain-one-col { padding-top: 0; }

#footer_wrap { padding: 20px 14px 0 14px; }

.footer_social li { margin: 0 1px 4px 0; }

h1 { font-size: 25px; padding: 0 0 18px 0; }
p.intro { font-size: 19px; margin: 0 0 14px 0; }
#member_header p { font-size: 12px; }
#member_header p.member_intro { font-size: 16px; }

.profile_block { width: 50%; }
.profile_similar { float: none; width: auto; }
.profile_join { float: none; width: auto; }

.r-tabs .r-tabs-nav { display: none; }
.r-tabs .r-tabs-accordion-title { display: block; background: #eff5e3; padding: 0 !important; text-transform: uppercase; font-size: 12px; border-bottom: 1px solid #d2e3b1; }
.r-tabs .r-tabs-accordion-title .r-tabs-anchor { padding: 18px; display: block; color: #475e2b; text-decoration: none; }

.join_intro p { padding: 0; }
.join_intro h2 { font-size: 18px;  }
.join_option { display: block; width: auto; margin-bottom: 12px; }
.join_options .community_option { top: auto; z-index: 2; }

.join_options .join_option_benefits li.blank_option { display: none; }

#ankle_newsletter, #ankle_ecosystem { float: none; width: auto; }
.ankle_lining { margin: 0; }
.footer_notes { display: none; }

/* Sidebar Changes */

.sidebar { float: none; width: 100%; border: none; overflow: hidden; padding-top: 30px; }
.sidebar_lining { margin: 0 14px; }
.sidebar_part_1, .sidebar_part_2 { float: left; width: 50%; }

#sticky_sidebar_banner .mobile { display: inline; }
#sticky_sidebar_banner .mcnamf { display: none; }

/* Teaser Ads */

.teaser_ad { display: inline-block !important; }
.article_body_ad { display: block !important; }

}

/*---------------------------------------

	748px, switch banners

-----------------------------------------*/

@media screen and ( max-width: 748px ) {

.footer_ads .footer_banner { display: none; }

/* Profile */

.directory_profile_col { width: 100%; }

#profile_header { width: 100%; overflow: hidden; padding: 20px 0 12px 0; }
#profile_header_primary { float: none; width: auto; padding: 0 8px; text-align: center; margin-bottom: 12px;  }

#profile_header_secondary { float: none; width: auto; padding: 0 8px; text-align: center;  }
#profile_header_secondary p { text-align: center; line-height: normal; font-size: 14px; letter-spacing: -1px; }
.profile_avatar { position: relative; display: block; margin: 6px auto 0 auto; top: auto; right: auto; width: 50px; height: 50px; }
.profile_avatar img { width: 50px; height: 50px; }

.sign_up_form { top: 0px;  width: 280px; }

.mobile_banner { display: block; }

}

/*---------------------------------------

	630px

-----------------------------------------*/

@media screen and ( max-width: 630px ) {

.content_stream li { width: 100%; margin-bottom: 30px; }
.content_stream li div { border: none !important; }

/* Directory Changes */


.directory_search_keyword, .directory_search_location { float: none; width: auto; margin-bottom: 8px; }
.directory_search_submit { float: none; width: auto; margin-bottom: 0;  }
.directory_search_keyword span, .directory_search_location span { margin: 0 16px; }

.member .thumb { display: block; float: none; margin: 0 0 14px 0; }
.directory_cats ul li { width: 100%; }

.directory_listing_primary, .directory_listing_secondary { float: none; width: auto; }

/* Profile */


.profile_block { width: 100%; }

/* Form Changes */

.fieldset_split { border-bottom: none; }
.fieldset_split .form_field { float: none; width: auto; border-bottom: 1px solid #d2e3b1; }
.business_image_field { float: none; width: auto; border-bottom: 1px solid #d2e3b1; }

/* Inline House Ads */

.inline_house_ad_first, .inline_house_ad_second { float: none; width: auto; margin-bottom: 12px; }

/* Sidebar Changes */

.sidebar_part_1, .sidebar_part_2 { float: none; width: auto; }

}



