/* Artfully Masterminded by ZURB */

/* -------------------------------------------------- 
    Table of Contents
-----------------------------------------------------
:: Reset & Standards
:: Links
:: Lists
:: Tables
:: Misc
*/


/*	--------------------------------------------------
	:: Global Reset & Standards
	-------------------------------------------------- */

body { 
  background: #fff;
  font-size: 16px;
  line-height: 1.5em;
 -webkit-font-smoothing: antialiased; Performance Implications
}

body, cite {
  margin:0;
  padding:0;
}

a img,
img { border: 0px }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
	
table {
  border-collapse: collapse;
  border-spacing: 0;
}

table thead tr th:first-child, table tfoot tr td:first-child { border-left: none; }
table thead tr th:last-child, table tfoot tr td:last-child { border-right: none; }

form label { cursor: pointer; }


/* -------------------------------------------------- 
	:: Drupal Resets
---------------------------------------------------*/

.field-type-taxonomy-term-reference .field-item {
 display: inline-block;
 margin-right: 10px;
}

ul.menu,
ul.block-grid {
  padding: 0px;
  margin: 0px;
}

ul li.expanded {
list-style-image: none;
list-style-type: none; /* nope, neva! */
}


ul.menu li {
 margin: 0;
}

ul li.collapsed {
 list-style-image: none;
}

.item-list ul {
  margin: 0
}

li.expanded, li.collapsed, li.leaf {
 padding: 0px;
}

ul li.leaf {
 list-style-type:none; 
 list-style-image:none;
}


/* -------------------------------------------------- 
	:: Print Styles
---------------------------------------------------*/

/*
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
 */
.print-only { display: none !important; }
@media print {
	* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
	-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
	p a, p a:visited { color: #444 !important; text-decoration: underline; }
	p 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; } /* css-discuss.incutio.com/wiki/Printing_Tables */
	tr, img { page-break-inside: avoid; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3{ page-break-after: avoid; }
	.hide-on-print { display: none !important; }
	.print-only { display: block !important; }
}
	

/* -------------------------------------------------- 
	:: Utilitiies
---------------------------------------------------*/
	.left        { float: left; }
	.right       { float: right; }
	.text-left   { text-align: left; }
	.text-right  { text-align: right; }
	.text-center { text-align: center; }
	.hide        { display: none; }
	.highlight   { background: #ff0; }
	.naked-list { list-style: none; }
	
	
	/* Consider whether we should keep the following:
	* Don't use native buttons on iOS 
	* input[type=submit].button, button.button { -webkit-appearance: none; }    
	*/
	
	
	/*	--------------------------------------------------
   	Video
   	Mad props to http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
	-------------------------------------------------- 
	
	.flex-video {
		position: relative;
		padding-top: 25px;
		padding-bottom: 67.5%;
		height: 0;
		margin-bottom: 16px;
		overflow: hidden;
	}
	
	.flex-video.widescreen { padding-bottom: 57.25%; }
	.flex-video.vimeo { padding-top: 0; }
	
	.flex-video iframe,
	.flex-video object,
	.flex-video embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	
	*/
	
/* Mobile Visibility Affordances */
		
		
		/* Desktop */
		.show-on-phones { display: none !important; }	
		.show-on-tablets { display: none !important; }
		.show-on-desktops { display: block !important; }
		
		.hide-on-phones { display: block !important; }	
		.hide-on-tablets { display: block !important; }
		.hide-on-desktops { display: none !important; }
		
		
		/* Tablet size */
		@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px) {
			.hide-on-phones { display: block !important; }
			.hide-on-tablets { display: none !important; }
			.hide-on-desktops { display: block !important; }
			
			.show-on-phones { display: none !important; }
			.show-on-tablets { display: block !important; }
			.show-on-desktops { display: none !important; }
		}
		
		/* TODO: Revisit this to see whether it's useful to us
		 * Modernizr-enabled tablet targeting - Requires modernizr.js - not current being used -
		 */
		@media only screen and (max-width: 1280px) and (min-width: 768px) {
			.touch .hide-on-phones { display: block !important; }
			.touch .hide-on-tablets { display: none !important; }
			.touch .hide-on-desktops { display: block !important; }
			
			.touch .show-on-phones { display: none !important; }
			.touch .show-on-tablets { display: block !important; }
			.touch .show-on-desktops { display: none !important; }
		}
		
		/* Mobile phones and larger */	
		@media only screen and (max-width: 767px) {
			.hide-on-phones { display: none !important; }
			.hide-on-tablets { display: block !important; }
			.hide-on-desktops { display: block !important; }
			
			.show-on-phones { display: block !important; }
			.show-on-tablets { display: none !important; }
			.show-on-desktops { display: none !important; }
		}
		
		/* only screen and (device-width: 1280px), only screen and (max-device-width: 1280px),  /*
		/* Keeping this in as a reminder to address support for other tablet devices like the Xoom in the future */
		
		/* Specific overrides for elements that require something other than display: block */
		
		table.show-on-desktops { display: table !important; }
		table.hide-on-phones { display: table !important; }	
		table.hide-on-tablets { display: table !important; }
		
		@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px) {
			table.hide-on-phones { display: block !important; }
			table.hide-on-desktops { display: block !important; }
			table.show-on-tablets { display: block !important; }
		}
		
		@media only screen and (max-width: 767px) {
			table.hide-on-tablets { display: block !important; }
			table.hide-on-desktops { display: block !important; }
			table.show-on-phones { display: block !important; }
		}
	
	