/*
	Elastic CSS Framework
	Released under the MIT, BSD, and GPL Licenses.
	More information http://elasticss.com
	
	Elastic CSS Grid Module
*/

/*
	Provides clearfix to grade A browsers
*/
.unit:after,
.container:after,
.cols:after,
.col:after,
.clearfix:after
{
	content    : " ";
	display    : block;
	height     : 0;
	clear      : both;
	visibility : hidden;
}

/*
	Provides display as block to every Elastic main class
	Provides clearfix to old IE
*/
.unit,
.container,
.cols,
.col,
.clearfix
{
	display  : block;
	*zoom    : 1;
	*display : inline-block;
}

.full-height
{
	/* handled by engine */
	display:block;
}

.same-height
{
	/* handled by engine */
	display:block;
}

.elastic-height
{
	height : 0;
}

.horizontal-center
{
	margin : 0 auto;	
}

.vertical-center
{
	/* margin : auto 0; */
	display : block;
}

.center
{
	/* margin : auto */
	margin : 0 auto;
}

.col
{
	float : left;
}

.col.final
{
	/* handled by engine */
	display:block;
}

.col.fixed
{
	width : auto;
}

.col.elastic
{
	display : block;
}

.inverted > .col,
.inverted > .container > .col
{
	float : right;
}

/*
	Even though Elastic relies mostly on the Elastic Engine we still provide
	support for the very basic set of classes.
	
	In the case that you are not using engine or JavaScript is disabled,
	this classes cover most cases.
*/
.with-2.cols > .col:not(.fixed),
.with-2.cols > .container > .col:not(.fixed)
{
	width : 50%;
}

.with-3.cols > .col:not(.fixed),
.with-3.cols > .container > .col:not(.fixed)
{
	width : 33.33%;
}

.with-3.cols > .col.over-2,
.with-3.cols > .container > .col.over-2
{
	width : 66.66%;
}

.with-4.cols > .col:not(.fixed),
.with-4.cols > .container > .col:not(.fixed)
{
	width : 25%;
}

.with-4.cols > .col.over-2,
.with-4.cols > .container > .col.over-2
{
	width : 50%;
}

.with-4.cols > .col.over-3,
.with-4.cols > .container > .col.over-2
{
	width : 75%;
}

