/*
12 Media Queries
---------------------------------------------------------------------------------------------------- */
.mobile-nav {
	display:none;
	background-color:#3b3d42;
}

.toggle-switch span {
	color: #ddd;
}

.toggle-switch{
	display: block;
	width: 100%;
	padding: 15px 0;
	text-align: left;
	text-decoration: none;
	position: relative;
	text-indent: 20px;
}

.toggle-switch:after{
	content: "";
	background: url(../lib/images/mobile_button_white.png) no-repeat ;
	position: absolute;
	height: 30px;
	width: 30px;
	top: 10px;
	right: 15px;
}

.primary .toggle-switch,
.secondary .toggle-switch {
	/*background: -webkit-linear-gradient(#4d4c4c 0%, #ffffff 100%);*/
	/*background: -webkit-linear-gradient(rgba(22,22,22,1) 0%, rgba(78,78,78,1) 100%)*/
	background-color:#3b3d42;
}	   


/*
14 Media Queries
---------------------------------------------------------------------------------------------------- */

/* Desktops, laptops and iPads (landscape) ----------- */



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

	.glass { width:145px; }
	.glass > a span { font-size:1.6rem; }	

}

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

	.glass { width:130px; height: 72px; vertical-align: top; }
	.glass > a span { font-size:1.6rem; }	
	.site-header .search-form { margin-top: -120px; }

}

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

	.wrap { padding: 0 10px; }	
	.site-header .search-form { margin-top: -100px; }

}

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

	.nav-primary, .nav-secondary { display: none; }
	.mobile-nav { display: block; }	
	#wpadminbar { display:none; }
	.site-header { margin-top: 45px; }
	.site-header .search-form { margin: 0px; float:none; }
	.title-area { height: 270px; }
	.ml-listview > li > a, .ml-listview > li > span ( color: #fff; )
	.#home-middle-01, #home-middle-02 {width: 100%; }

}

/* iPads (portrait) ----------- */

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

	.wrap {
		padding: 0 2%;	
	}

	.archive-page,
	.footer-widgets .widget-area,
	.wrap,
	.site-footer .creds,
	.site-footer .gototop,
	.site-header .widget-area,
	.site-inner,
	.title-area,
	.site-container .sidebar,
	.site-container .content,
	.site-container .content-sidebar-wrap,
	.site-container .sidebar-secondary,
	.header-image .site-title,
	.header-image .title-area,
	.genesis-nav-menu.menu-mobile .sub-menu .sub-menu,
	.genesis-nav-menu.menu-mobile .sub-menu a
 	{
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.header-image .site-title, 
	.header-image .title-area {
		min-height: 50px;
	}

	.header-image .site-title a {
		margin:auto;
	}

	.genesis-nav-menu li,
	.site-footer .creds,
	.site-footer .gototop,
	.site-header ul.genesis-nav-menu,
	.site-header .search-form {
		float: none;
	}

	.genesis-nav-menu,
	.site-description,
	.site-footer .creds,
	.site-footer .gototop,
	.site-header .search-form,
	.site-title,
	.title-area {
		text-align: center;
	}

	.genesis-nav-menu a {
		padding: 1.25rem 1rem;
	}

	.genesis-nav-menu .sub-menu a {
		background-color: #5b5d64;
		border: none;
	}

	.genesis-nav-menu .sub-menu a:hover {
		background-color: #7f838e;
	}

	.site-title {
		margin: 1rem 0;
	}

	.site-header .search-form {
		margin: 2rem auto 0;
		width: 50%;
	}

	.menu li.right {
		display: none;
	}

	.site-footer .wrap {
		padding: 1.5rem 0;
	}

	.site-footer-widgets .widget-area {
		margin: 0;
	}
	
	.site-footer .footer-left,
	.site-footer .footer-right {
		text-align: center;
		width: 100%;
		float: none;
		padding: 0 0 .75rem;
	}
	
	.gototop {
		float: none;
	}
	
	.nav-primary,
	.nav-secondary {
		display: none;
	}
	
	.mobile-nav {
		display: block;
	}
	
	#wpadminbar { display:none; }
	
	.site-footer .one-half {
		margin-left: 0;
	}

	/* Align everything center */
	.alignright,
	img.alignright,
	.aligncenter,
	img.aligncenter,
	.alignleft,
	img.alignleft {
		display: block;
		margin: 0 auto 24px;
		float:none;
	}

/* Align Simple Social Icons Centered */
	.simple-social-icons ul.alignright,
	.simple-social-icon ul.alignleft {
		text-align: center;
	}

	.simple-social-icons ul.alignright li,
	.simple-social-icons ul.alignleft li {
		display: inline-block;
		float: none;
	}

	/*.site-header .widget_text {
		display:none;
	}*/
	
	.site-container { margin-top: 50px; }
	.home .site-inner .wrap { width: 100%; }
	.title-area { height: 155px; }
	.site-header { min-height: 75px;}


}

/* iPhones (landscape) ----------- */

@media only screen and (max-width: 667px) {
	#home-bottom .widget_sp_image { width: 22.5; }	
}


/* iPhones (portrait and landscape) ----------- */

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

	html {
		font-size: 57.5%; 
	}

	.site-header .search-form {
		width: 70%;
		margin: 0; 
	}

	.five-sixths,
	.four-fifths,
	.four-sixths,
	.one-fifth,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fifths,
	.three-fourths,
	.three-sixths,
	.two-fifths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		margin: 0;
		width: 100%;
	}

	#home-bottom .widget_sp_image { width: 48%; }
	.entry-title { min-height: 35px; }
	.entry-title:after { margin-top: 0px; float: right; height: 73px; width: 73px; background-size: cover; display:none; }

	.site-container { margin-top: 100px; }
	.home .site-inner .wrap { width: 100%; }
	.title-area { height: 115px; }
	.site-header { min-height: 75px;}
	
	/* flex-slider carousel */
	.home .flex-viewport { max-height: 147px; }
	.flexslider .slides { height: 180px; }
	.home .flexslider .slides { height: 180px; }
	.flex-viewport { max-height: 180px; }
	.flex-caption p { font-size: 12px; }

	.sidebar-primary .widget, .widget_text, .widget_text a { width: 100%; }
	blockquote, blockquote.narrow { width: 90%; }
	
	/* fostering page /what-we-do/fostering/
	------------------------------------------------------------------------------------------------------------------- */
	.page-id-19 .mwm-aal-container { width: 100%; }
	.page-id-19 .fostering-button-div { display:table; width:100%; }

}
