/* Preserve some sanity */
.grid, .unit {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*border: 1px solid #EEE;*/
}

/* Set up some rules to govern the grid */
.grid {
	display: block;
	clear: both;
	padding: 0 10px;
}
.grid .grid {
	padding: 0;
}
.grid .unit {
	float: left;
	width: 100%;
}

/* Wrapping at a maximum width is optional */
.wrap .grid,
.grid.wrap {
	max-width: 1000px;
	margin: 0 auto;
}
.grid .whole {
	width: 100%;
}
.grid .half {
	width: 50%;
}
.grid .one-third {
	width: 33.3332%;
}
.grid .two-thirds {
	width: 66.6665%;
}
.grid .one-quarter {
	width: 25%;
}
.grid .three-quarters {
	width: 75%;
}
.grid .one-fifth {
	width: 20%;
}
.grid .two-fifths {
	width: 40%;
}
.grid .three-fifths {
	width: 60%;
}
.grid .four-fifths {
	width: 80%;
}

/* Clearfix after every .grid */
.grid {
	*zoom: 1;
}
.grid:before, .grid:after {
	display: table;
	content: "";
	line-height: 0;
}
.grid:after {
	clear: both;
}

/* Utility classes */
.align-center {
	text-align: center;
}
.align-left {
	text-align: left;
}
.align-right {
	text-align: right;
}
.pull-left {
	float: left;
}
.pull-right {
	float: right;
}

/* Responsive Stuff */
@media screen and (max-width: 568px) {
	/* Stack anything that isn’t full-width on smaller screens */
	.grid .unit {
		width: 100% !important;
	}
	/* Sometimes, you just want to be different on small screens */
	.center-on-mobiles {
		text-align: center !important;
	}
	.left-on-mobiles {
		text-align: left !important;
	}
	.hide-on-mobiles {
		display: none !important;
	}
}