/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
/*

/* when updating make sure to also check the following files: 
-enfold\config-templatebuilder\avia-shortcodes\gallery_horizontal.php line 330 - horizontal slider captions edit */

/* Logo Fix */
#header_main .logo {padding: 0 !important;}

/* Title Headers for Pages */
#title-header .av-special-heading-tag  {font-weight: bold;}
#title-header .container .content {vertical-align: bottom !important;}
#top .av-special-heading .av-special-heading-tag {font-weight: bold;}

/* title headers for blogs */
.single-post .entry-content-header .entry-title {font-size: 30px !important;}

#top .widget_categories .cat-item-278 {display:none !important;}

/* Adds PageBuilder to LearnDash Post Typs  */
add_filter('avf_builder_boxes', 'add_builder_to_posttype');
function add_builder_to_posttype($metabox)
{
	foreach($metabox as &$meta)
	{
		if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout')
		{
			$meta['page'][] = 'sfwd-courses';
			$meta['page'][] = 'sfwd-lessons';
                        $meta['page'][] = 'sfwd-topic';
		}
	}
	return $metabox;
}

/* button fix */ 
.avia-button-wrap a span {font-size: 17px;}


/* Toggle Changes */
.togglecontainer .single_toggle .toggler {font-weight:bold; font-size: 17px;}

/* Judges Fix */
#top #judges-list .avia-team-member {margin: 3px;}
#top #judges-list .avia-team-member h3 {font-size:20px;}


/* homepage 3rd button */
#top .home-slider .slideshow_caption {
  width:55% !important;
}

#top .home-slider .button-three {
  	padding: 15px 16px;
    display: block;
    background: black;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 16px;
    font-weight: bold;
    margin-bottom: -96px;
    margin-left: 330px;
  	max-width: 225px;
}

/* homepage 3rd button mobile */
#top .home-slider-mob .button-three {
  	padding: 15px 16px;
    display: block;
    background: black;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 16px;
    font-weight: bold;
    margin-bottom: -96px;
    margin-left: 330px;
  	width: 225px;
}

/* Template Gallery Page Fix */
.post-entry-type-gallery .big-preview .avia-gallery {width: 65em !important;}

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}

/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}

@media only screen and (max-width: 479px) {
  /* Add your Mobile Styles here */
#top .home-slider-mob .button-three {
    margin-bottom: -10px;
  	width: 225px;
  position:relative;
  margin-left:0px;
  
  
}

