/********************************************
	Tag Resets
********************************************/

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	margin: 0;
	padding: 0;
	border: 0;
}

/********************************************
	Normalize CSS
	http://necolas.github.com/normalize.css/
********************************************/

html {
	height: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	min-height: 100%;
	font-size: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
audio,
canvas,
video {
	display: block;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

b,
strong {
	font-weight: bold;
}

abbr[title] {
	border-bottom: 1px dotted;
}

input,
textarea,
button,
select {
	margin: 0;
	font-size: 100%;
	line-height: normal;
	vertical-align: baseline;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

textarea {
	overflow: auto;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ******************************************
	Responsive design adjustments
****************************************** */
html {
    font-size: 100%;
    line-height: 1;
    -moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

/* Fluid Columns, Fixed Gutters */
.wrapper {
	    padding: 0 .65em;
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
}

/********************************************
Fluid Media
********************************************/

figure {
    position: relative;
}

figure img,
figure object,
figure embed,
figure video {
    display: block;
    max-width: 100%; 
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}

/* 
interpolation-mode
http://css-tricks.com/ie-fix-bicubic-scaling-for-images/
 */

/********************************************
	Clearfix
********************************************/

/* Float Clearing http://nicolasgallagher.com/micro-clearfix-hack */
.group:after {
    content: " "; /* 1 */
    display: table; /* 2 */
    clear: both;
}

.group {
    *zoom: 1; /* 3 */
}
	
/* ******************************************
IE 8 and below, legacy browser style fixes
****************************************** */
.ie .wrapper {
*behavior: url("https://www.cdsboxes.com/js/boxsizing.htc");
}
/* Figures/Images */

	.ie #portfolio figure {
	    width: 100%;
	    box-sizing: border-box;
	    }

/* "*" hack applies only to IE7 and below */

	.ie #portfolio figure {
	    *width: auto;
	    }
   
/* Navigation */

/* IE8 .checked class for checkbox.js */

	#nav input[type=checkbox].checked ~ nav {
	    height: auto;
	    overflow: visible;  
	}

/* Always show nav, IE7 and below */

	.ie #nav nav {
	    *height: auto;
	    *overflow: visible;  
	}

/* Hide navicon, IE7 and below */

	.ie #nav label { 
	    *background: none;
	    }
     
/* box-sizing polyfill, IE7 and below (The URL in .ie textarea is placeholder only. You will need to replace with path to your domain) */

	.ie .wrapper,
	.ie .name,
	.ie .email,
	.ie input,
	.ie textarea {
	    *behavior: url("http://www.cdsboxes.com/js/boxsizing.htc");
	}
