/* ==============================
   TABLETS
   ============================== */
   
   @media( max-width:979px ) {

	/* ==============
	   header
	   ============== */
	  
	   #search-form #search {
			width:85%;   
	   }
	   
	   #logo img {
	   		height:auto;
	   }
	   
	   #motto em {
			display:block;
			float:none;
			margin-left:0;
			margin-top:10px  
	   }
	   
	   #site-title {
			margin-top:15px;   
	   }
		 
		header .menu > li {
			float:none;
			background:url('/_external/advancingnativemissions.com/wp-content/themes/framework-client/images/bg-gray-noise.jpg');
			border-top:3px solid #333;
		}
		
		header .menu > li a {
			width:100%;
		}
		
		header li.first, header li.last {
			border-radius:0;	
		}
		
		#mobile-menu-toggle a {
			display:block;
			padding:15px;
			background:url('/_external/advancingnativemissions.com/wp-content/themes/framework-client/images/bg-gray-noise.jpg');
			text-align:center;
			color:#fff;
			text-decoration: none;
			font: 600 20px "proxima-nova-condensed";
			text-transform: uppercase;
			text-shadow: 0px 1px 0 #272727;	
		}
		
		header #main-navigation {
			display:none;
		}
		
		header #main-navigation.visible {
			display:block;	
		}
		
		
	 /* ==============
	   home
	   ============== */
	   
	   #home-feature .span8, #home-feature .span4 {
			float:none;
			width:100%;   
	   }
	   
	   #home-feature .span4 {
			margin-top:20px; 
			margin-left:0;  
	   }
	   
	   #home-feature .padding-left {
			padding-right:20px;   
	   }
	   
	   #home-feature .padding-right {
			padding-left:20px;   
	   }
	   
	   #feature-slider .slider-wrapper {
			height:auto;   
	   }
	   
	   #feature-links li {
			float:left;
			width:49%;
			margin-top:0;
			margin-bottom:10px;   
	   }
	   
	   #feature-links li:nth-child(even) {
			float:right;   
	   }
	   
	   #home-interactive #project-list, #home-interactive #home-videos {
			float:none;
			width:100%;   
	   }
	   
	   #home-interactive .box {
			height:auto;   
	   }
	   
	   #home-videos-feed .item > div {
			float:left;
			width:48%;   
	   }
	   
	   #home-videos-feed .item > div:nth-child(even) {
			float:right;   
	   }
	   
	   
	/* ==============
	   pages 
	   ============== */
	   
	   #page-body [class*="span"] {
		 float:none;
		 width:100%;
		 margin:0;
		 margin-bottom:20px;
		  
	  	}
	  
	  #page-body .rounded.framed {
		margin:0 0 20px !important;
		width:100%;  
	  }
	  
	  #page-body .teal-button, #page-body .big-button {
		width:100%;  
	  }
	  
	  #page-body #region-select ul {
			margin:0;  
	  }
	  
	  #page-body iframe {
			max-width:100%;  
	  }
	  
	  .gform_wrapper .gform_body>ul>li.gfield {
	  
	  	width:auto;
		float:none;
	  	
	  }
	   
	   
	/* ==============
	   footer
	   ============== */
	   
	   #footer-top .span4 {
			width:50%;   
	   }
	   
	   #footer-top .span4.last {
			width:100%;   
	   }
	   
	   #footer-bottom .span8 {
		   width:57%;
	   }
	   
	   #footer-bottom .span4 {
			width:40%;
	   }
	   
	   #footer-logos .widget img {
			width:90%;
			height:auto;   
	   }
	   
	   #footer-logos .widget {
			width:25%;
			margin:0;
			float:left;
			height:auto;   
	   }
	   
	   
   }
   
/* ==============================
   PHONES
   ============================== */
   
   @media( max-width:767px ) {

	/* ==============
	   header
	   ============== */
	   
	   #header-top li {
			width:30.3%;
			padding:0 1.5% !important;
	   }
	   
	   #header-top li a {
			padding:0 !important; 
			text-align:center;  
	   }
	   
	   #header-top li:nth-child(3) {
			width: 63.6%;  
	   }
	   #header-top #user-actions #cart_count {
			display:none;   
	   }
	   
	   #header-top #user-actions a {
			display:block;   
	   }
	   
	   #site-title {
		   font-size:22px;
		   line-height:24px;
	   }
	   
	   #motto {
			width:100%;
			padding-left:20px;
			border:none;   
	   }
	   
	   #motto em {
			font-size:14px;
			margin-top:5px;   
	   }
	   
	   #header-brand {
			margin:10px 0;   
	   }
	   
	
	/* ==============
	   home
	   ============== */
	   
	   #feature-links li {
			float:none !important;
			width:100%;
			margin-top:0;
			margin-bottom:10px;   
	   }
	   
	   #feature-slider .nivoSlider {
			width:100%;   
	   }
	   
	   #feature-slider .nivo-controlNav {
			display:none;   
	   }
	   
	   #region-select.span3, #region-projects.span9, .project-holder.span8, .region-links.span4 {
			width:100% !important; 
			float:none; 
			margin-bottom:20px; 
	   }
	   
	   .project-thumb {
			width:90%;
			   
	   }
	   
	   .project-square-holder, .project-square {
			width:100% !important; 
			position:relative;   
	   }
	   
	   .project-holder {
			height:auto;  
	   }
	   
	   .project-popup [class*="span"] {
			width:100%;
			float:none;   
	   }
	   
	   .project-popup img {
			max-width:100%;
			width:100%;   
	   }
	   
	   #home-videos-feed .item > div {
			float:none;
			width:100%;   
	   }
	   
	   #home-videos .framed {
			height:auto;   
	   }
	   
	   #home-videos-feed .item > div:nth-child(even) {
			float:none;   
	   }
	   
	   
	/* ==============
	   pages
	   ============== */
	   
	   #sidebar {
			width:100%;
			border:none;
			float:none;
			height:auto !important; 
			padding-bottom:5px;  
	   }
	   
	   #page-body {
			height:auto !important;
			width:100%;
			padding-left:20px;
			float:none;   
	   }
	   
	   
	
	/* ==============
	   footer
	   ============== */
	   
	   #footer-top .span4 {
			width:100%%;   
	   }
	   
	   
	   #footer-bottom .span8 {
		   width:100%;
		   margin-bottom:10px;
	   }
	   
	   #footer-bottom .span4 {
			width:100%;
	   }
	   
	   #footer-logos .widget img {
			width:90%;
			height:auto;   
	   }
	   
	   #footer-logos .widget {
			width:25%;
			margin:0;
			float:left;
			height:auto;   
	   }
	   
	   
   }

		