*{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

ul{ margin: 0; padding: 0; }
a{ text-decoration: none; }
.text-center{ text-align: center; }

img, object, embed { max-width: 100%; height: auto; }

/* Reset for strange margins by default on <figure> elements */
figure { margin: 0; }

/**  Main ************************/
div.wrapper{ background: url('../images/bg.png') repeat 0 0; }

/**  header ************************/
header{ min-height: 100px }
h1.site-title{ text-shadow: 1px 1px 2px #fff; }

/**  main-content ************************/
div.main-content{ min-height: 500px }


/**  sidebar ************************/
aside ul{ list-style: none; }
aside ul li{ padding: 4px 0; border-bottom: 1px solid #EBE9E9; }


/**  footer ************************/
footer{ margin-top: 40px; }
p.copyright{ font-size: 14px; }


/* Responsive Reset */

/*.row{ *zoom: 1; } /* e.g. IE bugs display: inline-block; */


/* Grid */
/*.columns, .column{ float: left; position: relative; }*/

.one, .row .one { width: 8.33333%; }
.two, .row .two { width: 16.66667%; }
.three, .row .three { width: 25%; }
.four, .row .four { width: 33.33333%; }
.five, .row .five { width: 41.66667%; }
.six, .row .six { width: 50%; }
.seven, .row .seven { width: 58.33333%; }
.eight, .row .eight { width: 66.66667%; }
.nine, .row .nine { width: 75%; }
.ten, .row .ten { width: 83.33333%; }
.eleven, .row .eleven { width: 91.66667%; }
.twelve, .row .twelve { width: 100%; }

/* Media Query */
@media only screen and (max-width: 768px) {
	body{ width: 100%; margin: 0; padding: 0; }
	
	/* Clear all float DIV */
	.row{ width: auto; min-width: 0; margin-left: 0; margin-right: 0; }
	.column, .columns{ width: auto !important; float: none; }
	.column:last-child, .columns:last-child { float: none; }
	[class*="column"] + [class*="column"]:last-child { float: none; }
	.column:before, .columns:before, .column:after, .columns:after { content: ""; display: table; }
	.column:after, .columns:after { clear: both; }
}


/* More media queries */
/* For iOS devices */
@media only screen and (max-width: 320px) {
	/* iPhone in portrait orientation */
}
@media only screen and (max-width: 480px) {
	/* iPhone in landscape orientation */
}
@media only screen and (max-width: 1024px) {
	/* iPad in landscape orientation (as well as netbooks, since these devices typically have a horizontal resolution of 1024px). */
}

/* For Android devices */
@media only screen and (max-width: 380px) {
	/* Samsung Galaxy in portrait orientation */
}
@media only screen and (max-width: 685px) {
	/* Samsung Galaxy in landscape orientation */
}