/*
 * responsive.custom.css is for custom media queries that are not set via the
 * theme settings, such as cascading media queries.
 *
 * By default all the other responsive stylesheets used in Adaptivetheme use a
 * "stacking method", however cascading media queries use a waterfall method so
 * you can leverage the cascade and inheritance for all browsers that support
 * media queries, regardless of screen size.
 *
 * @SEE http://zomigi.com/blog/essential-considerations-for-crafting-quality-media-queries/#mq-overlap-stack
 *
 * NOTE: this file loads by default, to disable got to your theme settings and
 * look under the "CSS" settings tab.
 */
/*
 * Really small screens and up
 */
/* @media only screen and (min-width: 220px) {} */
/*
 * Smalltouch sizes and up
 */
/* @media only screen and (min-width: 320px) {} */
/*
 * Smalltouch sizes and down
 */
@media only screen and (max-width: 480px) {
  /* 
   * Float Region Blocks - custom media query CSS example:
   * 
   * Float regions blocks is an Extension you can enable in the appearance
   * settings for your theme. This feature allows you to automatically float
   * blocks in regions, you can switch it on and off depending on your
   * requirements. For design purposes you many want to remove the floats for
   * devices where the entire theme is just one column - for example small
   * mobile phones. The following CSS is inside the custom media query:
   *
   *   @media only screen and (max-width: 480px){}
   *
   * This will target devices with a maximum width of 480px - most small phones.
   * In these smaller screen sizes we can remove the float and widths so all
   * blocks stack instead of displaying horizonally. The selector used is an
   * "attribute selector" which will match on any float block class. Use your
   * inspector or Firebug to get the classes from the page output if you need
   * more granular control over block alignment and stacking.
   */
  /* line 57, ../sass/responsive.custom.scss */
  .region[class*="float-blocks"] .block {
    float: none;
    width: 100%;
  }
  

	body.gallery-grid-4-column .field-collection-container .field-item,
	body.gallery-grid-3-column .field-collection-container .field-item,
	body.gallery-grid-3-column .field-collection-container .grid-sizer,
	body.gallery-grid-4-column .field-collection-container .grid-sizer{
		width: 99%;
	}

	body.gallery-grid-3-column .field-collection-container .gutter-sizer,
	body.gallery-grid-4-column .field-collection-container .gutter-sizer {
		width: 1%; 
	}
	
	body.gallery-grid-4-column .field-collection-container .field-item img,
	body.gallery-grid-3-column .field-collection-container .field-item img{
		max-width:100%;
		width:100%;
	}
  
  
}
/*
 * Tablet sizes and up
 */
/* @media only screen and (min-width: 768px) {} */
/*
 * Desktops/laptops and up
 */
/* @media only screen and (min-width: 1025px) {} */



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

	#block-block-5 .front-bg-left,
	#block-block-5 .front-bg-right{
		flex: 0 0 50%;
	}

}

@media only screen and (max-width: 32.5em) {

	#block-block-5 .front-bg-right,
	#block-block-5 .block-inner {
		display:none;
	}
	
	#block-block-5 .front-bg-left{
		flex: 0 0 100%;
	}
	
	body.front_second_image .front-bg-left {
		background-image: url("images/front-right-bg.jpg");
		background-position: center top;
	}
	
}


@media only screen and (max-width: 47.938em) {

	#block-block-4.right{
		float:none!important;
		text-align:center!important;
	}
	
	.js #block-system-main-menu {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}
	
	.region-footer .block{
		float:none!important;
	}
	
	#block-block-5 .block-inner{
		width:50%;
	}
	
	

}
 
@media only screen and (min-width: 48em) and (max-width: 61.938em) { 


}
  
@media only screen and (min-width: 62em) and (max-width: 74.938em) { 


}

@media only screen and (min-width: 75em) { 


}
