/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

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

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #FFF2A8; color: #000; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { 
	color: #1c5fa0; 
	text-decoration: none;
	-webkit-transition: 0.15s color ease;
	   -moz-transition: 0.15s color ease;
	    -ms-transition: 0.15s color ease;
	     -o-transition: 0.15s color ease;
	        transition: 0.15s color ease;
}



a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: none; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

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

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

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

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */

@font-face {
	font-family: FritzQ;
	src: url('http://grizzly-bear.net/css/frizquadratatt.eot');
	src: local('☺'), url('http://grizzly-bear.net/css/frizquadratatt.woff') format('woff'), 
									 url('http://grizzly-bear.net/css/frizquadratatt.ttf') format('truetype'), 
									url('http://grizzly-bear.net/css/frizquadratatt.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
/*
@font-face {
	font-family: GrotesqueMTW01-Condense;
	src: url('GrotesqueMT-Condensed.eot');
	src: local('☺'), url('GrotesqueMT-Condensed.woff') format('woff'), url('GrotesqueMT-Condensed.ttf') format('truetype'), url('GrotesqueMT-Condensed.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: GrotesqueMTW01-BoldExte;
	src: url('GrotesqueMT-Extended_Bold.eot');
	src: local('☺'), url('GrotesqueMT-Extended_Bold.woff') format('woff'), url('GrotesqueMT-Extended_Bold.ttf') format('truetype'), url('GrotesqueMT-Extended_Bold.svg') format('svg');
	font-weight: bold;
	font-style: normal;
}
*/

#mti_wfs_colophon {
	display: none;
	visibility: none;
	opacity: 0;
}


html, body {
}

body {
	background-color: #363839;
	background-repeat: repeat;
	background-size: 100% 100%;
	color: #c3c3c3;
	color: rgba(255,255,255,.9);
	font-family: 'FritzQ', Times, "Times New Roman", Georgia, serif;
	font-size: 10px;
	overflow-x: hidden;
	text-align: center;
	text-transform: uppercase;
}
body.home {
	overflow-y: hidden;
}

a, 
.btn {
	transition-property: color;  
  transition-duration: .5s; 
	-moz-transition-property: color;  
  -moz-transition-duration: .5s; 
	-webkit-transition-property: color;  
  -webkit-transition-duration: .5s;  
  -o-transition-property: color;  
  -o-transition-duration: .5s;
}

.btn,
.button-grid a {
	background: #FFF;
	border: none;
	display: inline-block;
	padding: 4px 8px;
	line-height: 20px;
	vertical-align: middle;
	font-family: 'GrotesqueMTW01-Condense';
	font-size: 14px;
	text-transform: uppercase;
}
	td span.btn {
		color: #2c2c2d!important;
	}

.button-grid {
	padding-top: 10px;
}
	.button-grid strong {
		display: inline-block;
		font-family: 'GrotesqueMTW01-BoldExte';
		font-size: 28px;
		margin-right: 10px;
		vertical-align: middle;
	}

.clear { clear: both; }

input {
	font-family: 'FritzQ', Times, "Times New Roman", Georgia, serif;
	text-transform: none;
}
input[type="email"],
input[type="text"] {
	font-size: 16px;
	height: 23px;
	vertical-align: middle;
}
#mc-embedded-subscribe-form {
	padding: 20px 0;
}
#mc-embedded-subscribe-form input[type="submit"] {
	font-size: 24px;
}

#mc-embedded-subscribe-form input[type="email"],
#mc-embedded-subscribe-form input[type="text"] {
	
	width: 260px;
}

h2 {
	font-weight: normal;
	letter-spacing: 2px;
	line-height: 1;
	margin: 0 0 10px;
	text-align: left;
}
	header h2 {
		font-family: 'GrotesqueMTW01-BoldExte';
	}

p {
	line-height: 1.3;
	margin-top: 0;
}

th {
	font-weight: bold;
}

td,
th {
	text-align: left;
}

.container {
	margin: 0 20px;
	/*
	margin: 0 auto;
	width: 1100px;
	*/
}

.logo {
	font-family: 'GrotesqueMTW01-BoldExte';
	text-transform: uppercase;
}

#header {
	z-index: 5;
}
	#header.closed {
		background-color: transparent;
		background-color: rgba(242, 234, 221, 0);
	}	
	
	#header .logo {
		position: fixed;
		float: left;
		font-size: 40px;
		left: 10px;
		line-height: 36px;
		margin: 0;
		text-align: right;
		top: 18px;
		display: block;
		overflow: visible;
		z-index: 25;
		
	}
		#header .logo a {
			color: #c3c3c3;
			color: rgba(255, 255, 255, .9);
			display: block;
			height: 66px;
			overflow: visible;
			width: 200px;
		}
		/*
		.home #header .logo a {
			color: #2c2c2d;
			color: rgba(44, 44, 45, .7);
		}
		*/
		
	#navToggle {
		cursor: pointer;
		float: left;
		height: 32px;
		margin-left: 15px;
		width: 27px;
	
	}	
	#header.closed #navToggle {
		height: 41.5px;
		width: 35px;
	}
	
.nav {
	float: left;
	font-size: 16px;
	height: 44px;
	left: 250px;
	overflow: hidden;
	padding: 20px 0 0 10px;
	position: absolute;
	text-align: left;
	top: 0;
	z-index: 20;

}

	.nav ul { line-height: 1em }
	.nav li {
		display: inline-block;
		line-height: 1em;
		margin: 0 20px 4px 0;
	}
	.nav a {
		color: #c3c3c3;
		color: rgba(255, 255, 255, .9);
		display: block;
		font-family: 'GrotesqueMTW01-BoldExte';
		letter-spacing: 2px;
		padding: 0 0 5px;
		border-bottom: 1px solid rgba(18,92,173,0);
	}
	.nav a:hover {
		color: #FFF;
		color: rgba(255, 255, 255, .9);
	}
	.nav .active a {
		color: #d63b3d;
		color: rgba(214,59,61);
		border-bottom: 21px solid rgba(18,92,173,.8);
	}
		/*
		.home nav a {
			color: #363839;
			color: rgba(44,44,45,.7);
		}
		*/

.secondary {
	background-color: #2c2c2d;
	background-color: rgba(44,44,45,.6);
	bottom: 10px;
	padding: 6px 31px 6px 0;
	position: fixed;
	right: 0;
	text-align: right;
	z-index: 3;
}
	.secondary li {
		display: inline-block;
		margin-left: 20px;
	}
	.secondary a {
		font-size: 10px;
		letter-spacing: 1px;
	}
		.secondary a:link,
		.secondary a:visited { 
			color: #eee; 
			color: rgba(255,255,255,.9);
		}
		.secondary a:hover { color: #FFF }
		

.social { display: none}


	
.content {
	margin-left: 230px;
	padding: 63px 0 20px 10px;
	min-height: 646px;
	text-align: left;
	z-index: 4;
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
}
	.content>table:last-child {
		margin-bottom: 0;
	}

body.category-news .content,
.single-post .content,
.post-type-archive-live_date .content,
.page-template-follow-php .content,
.page-template-default .content {
	
}
	.single-post .content .post,
	.page-template-default .content .post {
		margin-left: -10px;
	}
	.single-post .content .post {
		padding: 10px;
	}

#past_dates .cell-link,	
#past_dates tr td:nth-child(4) {
	display: none;
}	

.posts {
	position: relative;
}

.page-wrap {
	margin: 0 auto;
	width: 100%;
	min-height: 100%;
	background-color: #383838;
}

#footer {
	background: #FFF; 
	color: #333;
	font-size: 9px;
	letter-spacing: 2px;
	padding: 10px 0;
	text-align: left;
}
	#footer a {
		color: #d63b3d;
	} 
	
.full-screen-img {
	background: #363839;
	border-bottom: 1px solid #FFF;
	bottom: 0;
	width: 100%;
	min-height: 730px;
	overflow: hidden;
	margin-bottom: 0px;
	position: absolute;
	left: 0;
	top: 0;	
	z-index: 1;
}

div.bg,
img.bg {
	opacity: 0;
	min-height: 100%;
	min-width: 1100px;
	width: 100%;
	height: auto;
	position: absolute;
	top: 0;
	left: 0;
}



#features {
	
}

.carousel-control {
	color: #FFF;
	display: block;
	font-family: 'GrotesqueMTW01-Condense';
	font-size: 80px;
	opacity: .6;
	position: absolute;
	text-shadow: rgba(0,0,0,.2);
	top: 42.5%;
	z-index: 15;
}
.carousel-control.left {
	left: 10px;
}
.carousel-control.right {
	right: 10px;
}

.header-section {
	border: 1px solid #FFF;
	border-width: 1px 0;
	font-family: 'GrotesqueMTW01-Condense';
	font-size: 18px;
	line-height: 1em;
	margin: 0 0 0 -10px;
	padding: 10px;
	text-align: left;
}
	.header-section+.entry p:first-child {
		margin-top: 10px;
	}
	.header-section+.header-section { border-top: 0 }

/*
.header-page {
	font-family: 'GrotesqueMTW01-BoldExte';
	font-size: 72px;
	line-height: 1em;
	margin: 0;
	position: fixed;
	right: 3px;
	text-align: left;
	top: 80px;
	transform:rotate(-90deg);
	-webkit-transform:rotate(-90deg);
	-moz-transform:rotate(-90deg);
	-o-transform:rotate(-90deg);
	-ms-transform:rotate(-90deg);
	-webkit-transform-origin: right bottom;
	opacity: .6;
	z-index: 10;
}
*/
.header-page {
	color: rgba(255, 255, 255, .9);
	font-family: 'GrotesqueMTW01-BoldExte';
	font-size: 66px;
	line-height: 66px;
	margin-left: -10px;
	text-align: left;
	padding: 20px 10px 12px;
}
	.header-page > a { color: #FFF }
	.header-page .fb_iframe_widget {
		line-height: 50px;
		vertical-align: top;
	}
		.header-page .fb_iframe_widget span,
		.header-page iframe {
			vertical-align: middle;
		}

.header-post {
	margin: 0 0 20px;
	text-align: left;
}
	.header-post h1 {
		font-family: 'GrotesqueMTW01-Condense';
		font-size: 28px;
		line-height: .9em;
		margin: 0;
	}
		.header-post h1 a {
			color: #383838;
		}

.item-taxonomy {
	color: #888;
	font-family: 'GrotesqueMTW01-BoldExte';
	font-size: 12px;
}	
.post-date {
	font-size: 10px;
	color: #666;
}


a.post-edit-link {
	color: #CCC!important;
	display: inline!important;
	font-family: Arial, Helvetica, sans-serif!important;
	font-size: 11px!important;
	font-weight: normal!important;
	text-transform: uppercase!important;
	line-height: 1em!important;
	padding: 0!important;
	margin: 0!important;
	height: auto!important;
}

.post.category-news,
.post.category-press {
	background-color: #FFF;
	background-color: rgba(255,255,255,.9);
	color: #383838;
}

.feature {
	position: relative;
	text-align: center;
	height: 100%;
	padding: 0;
}
	.feature .header-post {
		background: url(http://grizzly-bear.net/img/mesh.png);
		bottom: -10px;
		position: absolute;
		z-index: 1;
		left: -10px;
		margin: 0;
		overflow: hidden;
		right: -10px;
		top: -10px;
	}
		.feature .header-post h1 {
			font-size: 100px;
			letter-spacing: -3px;
		}
			.feature .header-post h1 a {
				display: block;
				padding: 200px 80px 0 274px;
			}
			.home .feature .header-post h1 a {
				padding-top: 150px;
			}
			
		.feature .header-post a {
			color: #FFF;
			color: rgba(255,255,255,.9);
			text-shadow: 1px 1px 0 #888;
		}
	
			.feature .header-post h2 {
				font-size: 18px;
			}
				.feature .header-post h2 a {
					display: block;
					padding: 0 80px 1029px 280px;
				}
				.feature .header-post h2 a span {
					color: #d63b3d;
				}
				.feature .header-post h2 a:hover span {
					text-decoration: underline;
				}



.header-block	{
	padding: 10px;
}
	.header-block h1 {
		font-family: 'GrotesqueMTW01-Condense';
		font-size: 22px;
		margin: 2px 0 4px;
	}
		.flip .header-block h1 a {
			color: #FFF;
		}


.flip {
	position: relative;
}
.release.flip {
	height: 300px;
	overflow: hidden;
	width: 300px;
}

.header-flip {
	background-color: #000;
	bottom: 0;
	cursor: pointer;
	display: none;
	left: 0;
	margin: 0;
	padding: 20px;
	position: absolute;
	right: 0;
	top: 0;
}

#isotoped {
	margin-left: -10px;
}

article.medium {
	background: #FFF;
	float: left;
	margin: 0 10px 10px 0;
	padding: 0;
	width: 300px;
}
	article.medium img {
		width: 100%;
	}
	article.release.medium img {
		min-height: 100%;
	}
	article.medium header {
		padding: 10px;
	}
	
.thumb-box {
	display: block;
	overflow: hidden;
	max-height: 300px;
}
.video .thumb-box {
	max-height: 150px;
}
.video.medium {
	height: 320px;
}

.single-post header h2,
.medium header h2 {
	color: #888;
}
		
.entry {
	font-size: 12px;
	text-align: left;
	text-transform: none;
}

.entry p {
	line-height: 1.5em;
}


.comments {
	margin-left: -10px;
	padding-top: 10px;
	text-align: left;
}


/* Live */

table {
	margin: 20px 0 20px -10px;
}
th {
	color: #FFF;
	font-family: 'GrotesqueMTW01-Condense';
	font-weight: bold;
	letter-spacing: 1px;
}
th,
td {
	padding: 8px 0;
}
	td small a {
		color: #FFF;
		text-decoration: underline;
	}
	td small {
		font-size: 85%;
	}

tr>th:first-child,
tr>td:first-child {
	padding-left: 10px;
}
	
tr:hover td {
	background: #FFF;
	color: #2c2c2d;
	-webkit-transition: 0.5s all ease;
	   -moz-transition: 0.5s all ease;
	    -ms-transition: 0.5s all ease;
	     -o-transition: 0.5s all ease;
	        transition: 0.5s all ease;
}
	tr:hover td small a {
		color: #125cad;
		text-decoration: none;
	}

.cell-date {
	width: 100px;
}
.cell-city {
	width: 200px;
}
.cell-link {
	width: 150px;
}
.cell-track-number {
	text-align: center;
	width: 25px;
}
.cell-track-title strong {
	font-family: 'GrotesqueMTW01-BoldExte';
}
.cell-track-play {
	text-align: center;
	width: 50px;
}
	.cell-track-play a {
		color: #FFF;
		font-size: 16px;
	}
	tr:hover .cell-track-play a {
		color: #2c2c2d;
	}

.release-cover {
	border-left: 1px solid #FFF;
}

.tracklist {
	border-collapse: separate;
}

.tracklist td {
	border-top: 1px solid #444;
	border-bottom: 1px solid #333;
	padding: 8px 5px;
	vertical-align: middle;
}
.lyricized td {
	vertical-align: top;
}

.lyrics {
	display: none;
	font-size: 13px;
	width: 75%;
}



/* Contact */

.list-stack h4 {
	font-family: 'GrotesqueMTW01-BoldExte';
	font-size: 12px;
	margin: 10px 0;
}

.list-stack ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}
.list-stack ul li {
	float: left;
	margin: 0 20px 10px 0;
}

	.list-stack li a {
		color: #d63b3d;
	}



/* Follow */
.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
}
	.tabs li {
		display: inline;
	}
		.tabs li a {
			color: rgba(255,255,255,.9);
			display: inline-block;
			text-align: center;
			padding: 3px 10px;
		}
		.tabs li a.active {
			background: #FFF;
			color: #363839;
		}

.tab-panel {
	display: none;
	text-align: left;
}
.tab-panel.active {
	display: block;
}

.tab-panel.instafeed {
	height: 400px;
	vertical-align: top;
}


/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media (max-width: 767px) { 
	body {
		overflow-y: auto;
	}
	
	
	
}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 20px;
}

.float-left {
	float: left;
}
.float-right {
	float: right;
}

/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}



/* Screen Styles */

@media (max-width: 1090px) { 
	.nav {
		font-size: 12px;
	}
}

@media (max-width: 960px) { 
	.nav {
		font-size: 11px;
	}
	.nav .active a {
		border-width: 0 0 26px;
	}
	
}

@media (max-width: 850px) { 
	body.home {
		overflow-y: auto;
	}
	
	.full-screen-img {
		display: none;
	}
	
	
#features {
	display: none;
}
#header { 
	padding-top: 20px;
	position: static;
	text-align: center; 
}
	#header .logo {
		float: none;
		font-size: 100px;
		line-height: 90px;
		position: relative;
		text-align: center;
		width: auto;
	}
		#header .logo a {
			height: auto;
			width: auto;
		}
	.nav {
		float: none;
		font-size: 26px;
		height: auto;
		left: auto;
		margin: 0;
		position: relative;
		text-align: center;
	}
		.nav li {
			display: inline-block;
			float: none;
			margin-bottom: 15px;
		}
		
	#navToggle {
		float: none;
	}

	.header-page {
		position: relative;
		text-align: center;
		transform:rotate(0deg);
		-webkit-transform:rotate(0deg);
		-moz-transform:rotate(0deg);
		-o-transform:rotate(0deg);
		-ms-transform:rotate(0deg);
		-webkit-transform-origin: right bottom;
	}
	
	.secondary {
		background: none;
		position: static;
		text-align: center;
	}
		.secondary a {
			font-size: 18px;
		}
	
	.content {
		border: 1px solid #FFF;
		margin: 0 auto;
	}
	
	
	#footer {
		position: relative;
	}
	
	th,
	td {
		font-size: 16px;
	}
		td .btn {
			font-size: 28px;
			line-height: 36px;
			padding: 8px 8px 7px;
		}
			
			
	td {
		padding: 8px 10px;
	}
}


@media (max-width: 520px) { 
	#header .logo {
		font-size: 60px;
		line-height: 52px;
	}
}