/*
==============================================================================
	MOBILE MEDIA QUERIES
==============================================================================
*/


/*---------------------------------------------------------------------------*/
/*	Tablets - for 1035px or less
/*---------------------------------------------------------------------------*/

@media screen and (max-width: 1035px) {
	#primary-menu {
		top: -10px;
	}
	#logo {
	    min-height: 103px;
	}
	.archive #sidebar #color-bars {
	    display: block;
	}
	#child-page-nav-sidebar {
	    float: left;
	    margin-right: 0;
	    width: 100%;
	}
	.simple-section-nav {
		display: none;
		/* Hide Simple Section Navigation Widget for mobile width.
		 * Using Simple Section Navigation Widget plugin for full width because it shows parent, sibling, child pages.
		 * Simple Section Navigation Widget too many links for mobile.
		 * Using Child Page Navigation plugin for mobile widths because it shows only sibling or child pages.
		 */
	}
	.widget_theme_navigation {
		display: block;
		/* Show Child Page Navigation widget for full width.
		 * Using Simple Section Navigation Widget plugin for full width because it shows parent, sibling, child pages.
		 * Simple Section Navigation Widget too many links for mobile.
		 * Using Child Page Navigation plugin for mobile widths because it shows only sibling or child pages.
		 */
	}
	#child-page-nav-sidebar .widget {
		padding: 0;
		margin-bottom: 10px;
	    background: none;
	    border: none;
	}
	#child-page-nav-sidebar .widget-inside {
	    padding-bottom: 0;
	}
	#child-page-nav-sidebar .widget-title {
	    display: none;
	}
	#child-page-nav-sidebar .widget ul {
		text-align: center;
		margin-left: 0;
	}
	#child-page-nav-sidebar li a:hover,
	#child-page-nav-sidebar li a:active,
	#child-page-nav-sidebar li a:focus {
		color: #1e4942;
		text-decoration: underline;
	}
	#child-page-nav-sidebar li {
	    padding-bottom: 0;
	    padding: 0 1em;
	    display: inline;
	    line-height: 1.8;
	    border-right: 1px solid #e5e5e5;
	}
	#child-page-nav-sidebar li:last-child {
	    border: none;
	}
	/*#child-page-nav-sidebar .widget.more li:last-child {
	    border-right: 1px solid #e5e5e5;
	}*/
	#sidebar {
		margin-top: 20px;
	}
	/* start home intro */
	#home-intro.two > .widget {
		margin-right: 0;
	}
	#home-intro.two > .widget + .widget {
		width: 100%;
	}
	/* end home intro */
	.home.page #sidebar,
	.home.page #content {
	    max-width: 620px;
	    width: 620px;
	}
	.flexible-container-home-twitter {
	    position: relative;
	    padding-bottom: 56.25%;
	    padding-top: 30px;
	    height: 0;
	    overflow: hidden;
	}
	.flexible-container-home-twitter iframe,   
	.flexible-container-home-twitter object,  
	.flexible-container-home-twitter embed {
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	}
	/* start keep sidebar at 1035px and 680px */
	.home #sidebar {
	    display: block;
	    float: left;
	}
	/*.home #masonry,
	.post-type-archive-podcast #masonry {
		clear: both;
	}*/
	
	.archive #sidebar {
		display: block !important;
	    float: left;
	}
	/* end keep sidebar at 1035px and 680px */
}


/*---------------------------------------------------------------------------*/
/*	Mobiles - for 680px or less
/*---------------------------------------------------------------------------*/

@media screen and (max-width: 680px) {
	#logo {
	    min-height: 0;
	}
	/* start mobile menu */
	#mobile-navigation {
		display: block;
		background-color: #333;
		text-align: center;
	}
	.menu-toggle {
		display: inline-block;
	}
	#mobile-navigation .nav-menu {
		display: none;
	}
	/*#mobile-navigation .toggled-on li {
		background-color: #d6d825;
	}*/
	#mobile-navigation .toggled-on a {
		display: block;
	   	padding: .5em 0;
	    text-align: center;
	    width: 100%;
	    height: auto;
	}
	.menu-toggle {
		margin: 0.5em 0;
		color: #999;
		display: inline-block;
	    font-size: 11px;
	    font-weight: bold;
	    text-transform: uppercase;
	}
	.menu-toggle:hover {
		cursor: pointer;
		color: #fff;
	}
	.toggled-on {
		cursor: pointer;
		/*color: #d6d825;*/
	}
	#mobile-navigation ul li a:hover,
	#mobile-navigation ul li.current_page_item a,
	#mobile-navigation ul li.current_page_parent a,
	#mobile-navigation ul li.current-page-ancestor a {
	    background-color: #444;
	    background-image: none;
	}
	/* end mobile menu */
	/* start home intro */
	.home #home-intro {
		display: block !important;
	}
	#home-intro {
		padding: 0;
	}
	/* end home intro */
	.home.page #sidebar,
	.home.page #content {
	    max-width: 300px;
	    width: 300px;
	}
	.flexible-container-home-twitter {
	    padding-bottom: 0;
	    padding-top: 0;
	    height: auto;
	}
	.flexible-container-home-twitter iframe,   
	.flexible-container-home-twitter object,  
	.flexible-container-home-twitter embed {
	    position: relative;
	    width: auto;
	    height: 379px;
	}
	.archive #content,
	.archive #sidebar {
	    width: 300px;
	}
	#sidebar {
		display: block !important;
	}
	.widget-area.one .widget,
	.widget-area.two .widget,
	.widget-area.three .widget {
	    width: auto !important;
	    float: none !important;
	}
	#home-intro.one .widget,
	#home-intro.two .widget,
	#home-intro.three .widget,
	#home-sidebar.one .widget,
	#home-sidebar.two .widget,
	#home-sidebar.three .widget {
		margin-right: 0;
	}
	#child-page-nav-sidebar li a,
	#podcast-sidebar .widget.more li a {
		font-size: 110%;
	}
	
	.calendar-full-width {
		display: none;
	}
	.calendar-mobile {
		display: block;
	}
	
}