/* @override 
	http://nexe.fi/sites/all/themes/nexe/css/responsive.custom.css?mf62ni */

/*
 * 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) {} */
/*
 * Smartphone sizes and up
 */
/* @media only screen and (min-width: 320px) {} */
/*
 * Smartphone sizes and down
 */
@media only screen and (max-width: 480px) {
  /* 
   * Float Region blocks example:
   * In smaller screen sizes we can remove the float and widths so all blocks
   * stack instead of displaying horizonally. The selector used here 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.
   * 
   * "Float Region blocks" is an extension for floating blocks in regions, see
   * your themes appearance settings, under the Extensions tab.
   */
  .region[class*="float-blocks"] .block {
    float: none;
    width: 100%;
  }

	img.buoy {
		display: none;
	}
	
	.remote-support ul.download {
		width: 100%
	}

	.remote-support ul.download li {
		display: block;
		clear: both;
		margin-bottom: 1em;
		width: 100%;
		text-align: center;
	}
	
	.remote-support ul.download li div {
		margin: 0 auto;
	}

}
/*
 * Tablet sizes and up
 */
@media only screen and (min-width: 768px) {

	div.region-header {
		position: relative;
	}
	
	#block-locale-language {
		position: absolute;
		right: 0;
		top: -7px;
	}

}

/*
 * Desktops/laptops and up
 */
/* @media only screen and (min-width: 1025px) {} */

@media only screen and (min-width: 769px) {
	
	img.buoy {
		float: right;
		margin-top: -3em;
	}

	#block-locale-language {
		/*margin-bottom: -25px;*/
	}

	div.region-header {
		position: relative;
	}
	
	#block-locale-language {
		position: absolute;
		right: 0;
		top: -7px;
	}

	.promo {
		height: 450px;    
		text-align: right;
		padding-right: 3.5em;
		background: url(../images/nexe-etu.jpg);
	}
	
	p.large {
		font-size: 1.25em;
	}

	.promo h1 {
		padding: 2em 0 0;
	
	}
	.promo p, .promo h1 {
		text-align: center;
		clear: both;
	}
	
	#node-4 div.adr {
		margin-left: 12em;
		margin-top: -4.5em;
	}
	
	div.contact-info {
		text-align: left;
	}
	
	#contact-us {
		clear: both;
	} 
	
	#contact-us .contact-info {
		float: left;
		width: 27%;
	}
	
	#contact-us .map {
		float: left;
		margin: 1em 2em 0 0;
		width: 67%;
	}
	
	#contact-us .map iframe {
		width: 100%;
		height: 220px;
	}
	
	h2#contact-form-title {
		float: left;
	}
	
}