/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body
{
	background-color: #272228;
}

#pageHeader
{
	background-color: transparent;
}

	#pageHeader
		.inner
	{
		position: relative;
		margin: 0 auto;
		width: 100%;
		max-width: 1480px;
		height: 414px;
		overflow: hidden;
		background-position: center center;
		background-repeat: no-repeat;
	}

		#pageHeader
			.inner-column
		{
			position: relative;
			margin: 0 auto;
			width: 100%;
			max-width: 1000px;
			height: 100%;
			overflow: hidden;
		}

	#pageHeader_overlay
	{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url( '../img/pageheader-mask.png' ) no-repeat 0 0;
		background-position: center center;
	}

#pageHeader_logo
{
	margin: 20px 0 0 3.5%; /* 35/1000 */
	width: 33%; /* ~330/1000 */
	font-family: 'aaux-next', sans-serif;
	font-size: 1.875em; /* 30/16 */
	font-style: normal;
	font-weight: 400;
	line-height: 1em;
	color: #ffffff;
}

	#pageHeader_logo
		a
	{
		display: block;
		overflow: hidden;
	}

	#pageHeader_logo_emblem
	{
		float: left;
		width: 31%; /* ~100/330 */
	}

		#pageHeader_logo_emblem
			img
		{
			max-width: 100%;
		}

	#pageHeader_logo_text
	{
		float: left;
		margin: 0.5em 0 0 5%;
		width: 64%;
	}

#pageHeader_caption
{
	position: absolute;
	bottom: 20px;
	right: 3.6%; /* 36/1000 */
	width: 40%;
	font-family: 'aaux-next', sans-serif;
	font-size: 1.25em; /* 20/16 */
	font-style: normal;
	font-weight: 300;
	line-height: 1.2em;
	text-align: right;
	color: #ffffff;
}

#pageHeader_nav
{
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	background-color: #272228;
}

	#pageHeader_nav_mobileInit
	{
		display: none;
		font-size: 1.75em; /* 28/16 */
		line-height: 1.2em;
		color: #818285;
	}

	#pageHeader_nav_mobileInit:focus,
	#pageHeader_nav_mobileInit:hover,
	#pageHeader_nav_mobileInit.active
	{
		cursor: pointer;
		color: #ffffff;
	}

	#pageHeader_nav
		.menu
	{
		float: left;
		margin: 0 0 0 3.5%; /* 35/1000 */
		padding: 0.75em 0 0 0; /* 12/16 */
		width: 96.5%;
		list-style-type: none;
	}

	#pageHeader_nav
		.menu-item
	{
		position: relative;
		float: left;
		margin: 0;
		margin-left: 2.3%; /* 23/1000 */
		padding: 0 0 0.6em 0; /* 12/20 */
		list-style-type: none;
		font-family: 'aaux-next', sans-serif;
		font-size: 1.25em; /* 20/16 */
		font-style: normal;
		font-weight: 300;
		line-height: 1.2em;
		color: #ffffff;
	}

	#pageHeader_nav
		.menu-item:first-child
	{
		margin-left: 0;
	}

		#pageHeader_nav
			.menu-item
			a
		{
			text-decoration: none;
			color: inherit;
		}

		#pageHeader_nav
			.menu-item
			a:focus,
		#pageHeader_nav
			.menu-item
			a:hover
		{
			outline: none;
			text-decoration: underline;
		}

	#pageHeader_nav
		.menu-item
		.sub-menu
	{
		display: none;
		position: absolute;
		z-index: 10;
		margin: 0.6em 0 0 -0.6em; /* 12/20 */
		padding: 0;
		width: 230px;
		list-style-type: none;
		background-color: #272228;
		-webkit-box-shadow: 0px 5px 10px rgba( 50, 50, 50, 0.5 );
		-moz-box-shadow: 0px 5px 10px rgba( 50, 50, 50, 0.5 );
		box-shadow: 0px 5px 10px rgba( 50, 50, 50, 0.5 );
	}

	.rgba
		#pageHeader_nav
		.menu-item
		.sub-menu
	{
		background-color: rgba( 39, 34, 40, 0.95 );
	}

	#pageHeader_nav
		.sub-menu
		.menu-item
	{
		float: none;
		margin: 0;
		padding: 0.6em;
		background: url( '../img/hr_dotted_gold.gif' ) repeat-x top left;
		font-size: 1em;
	}

#pageBody
{
	background-color: #ffffff;
}

	#pageBody
		.inner
	{
		margin: 0 auto;
		padding: 50px 3.5%;
		width: 93%;
		max-width: 930px;
		overflow: hidden;
	}

#pageBody_left
{
	float: left;
	width: 69%; /* ~640/930 */
}

#pageBody_right
{
	float: left;
	margin-left: 2%;
	width: 29%; /* ~270/930 */
	background:
		url( '../img/aside_bg.gif' ) no-repeat 0 0,
		url( '../img/aside_bg_tile.png' ) repeat-y 0 0;
	color: #434345;
}

	#pageBody_right
		.widget
	{
		margin-left: 7.407407407%; /* 20/270 */
	}

#pageBody_bottom
{
	clear: left;
	overflow: hidden;
}

#pageFooter
	.inner
{
	margin: 0 auto;
	padding: 0 3.5% 60px 3.5%;
	width: 93%;
	max-width: 930px;
	overflow: hidden;
	color: #fefefe;
}

#pageFooter_tagline
{
	margin-top: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #5d595d;
	width: 100%;
	overflow: hidden;
}

#pageFooter_tagline
	p
{
	float: right;
	margin: 0;
	width: 60%;
	font-family: 'Volkhov', serif;
	font-size: 1.25em; /* 20/16 */
	font-style: normal;
	font-weight: 400;
	line-height: 1.2em;
	text-align: right;
	color: #c2baa2;
}

#pageFooter_nav
	.menu
{
	float: left;
	margin: 1em 0 0 0;
	padding: 0;
	width: 39%;
	list-style-type: none;
}

#pageFooter_nav
	.menu-item
{
	float: left;
	margin: 1em 0 0 3%;
	padding: 0;
	width: 30%;
	list-style-type: none;
	font-family: 'aaux-next', sans-serif;
	font-size: 0.875em; /* 14/16 */
	font-style: normal;
	font-weight: 600;
	color: #fefefe;
}

#pageFooter_nav
	.menu-item:nth-child(3n+1)
{
	margin-left: 0;
}

#pageFooter_copyright
{
	margin: 30px 0 0 0;
	font-family: 'aaux-next', sans-serif;
	font-size: 0.75em; /* 12/16 */
	font-style: normal;
	font-weight: 300;
	text-align: right;
}

#pageBody_bottom
	> #sponsors:first-child
{
	margin-top: 30px;
}

section
+ section
{
	margin-top: 40px;
}

section
	> header
{
	padding: 5px 10px;
	background-color: #272228;
}

section
	> header
	h1
{
	margin: 0;
	font-family: 'Volkhov', serif;
	font-size: 1.125em; /* 18/16 */
	font-style: normal;
	font-weight: 400;
	line-height: 1.2em;
	color: #c2baa2;
}

#featured
	> header
{
	display: none;
}

#sponsors
	header
{
	padding: 60px 0 0 0;
	background: transparent url( '../img/apac-logo.png' ) no-repeat center top;
}

#sponsors
	h1
{
	margin: 0;
	font-family: 'aaux-next', sans-serif;
	font-size: 1.46875em; /* 23.5/16 */
	font-style: normal;
	font-weight: 300;
	text-align: center;
	color: #847645;
}

.sponsors-list
{
	margin: 0;
	padding: 30px 0 0 0;
	border-top: 1px solid #f1f0f1;
	list-style-type: none;
}

header
+ .sponsors-list
{
	margin-top: 20px;
}

.sponsors-list
	.sponsor
{
	display: inline-block;
	width: 11.5%; /* allows for eight sponsors per line */
	height: 55px;
	overflow: hidden;
	background-position: center;
	background-repeat: no-repeat;
}

#sponsors_Mercedes-Benz
{
	background-image: url( '../img/sponsor_mercedes-benz.png' );
}

#sponsors_IBM
{
	background-image: url( '../img/sponsor_ibm.png' );
}

#sponsors_Rolex
{
	background-image: url( '../img/sponsor_rolex.png' );
}

#sponsors_ATT
{
	background-image: url( '../img/sponsor_att.png' );
}

#sponsors_Samsung
{
	background-image: url( '../img/sponsor_samsung.png' );
}

#sponsors_Zurich
{
	background-image: url( '../img/sponsor_zurich.png' );
}

#sponsors_3M
{
	background-image: url( '../img/sponsor_3m.png' );
}

#sponsors_UPS
{
	background-image: url( '../img/sponsor_ups.png' );
}

.widget
{
	margin-top: 2em;
}

.widget:first-child
{
	margin-top: 20px;
}

.widget
	p
{
	line-height: 1.4em;
}

.widgettitle
{
	margin: 0;
	padding-bottom: 4px;
	border-bottom: 2px solid #c2baa2;
	font-family: 'aaux-next', sans-serif;
	font-size: 1.25em; /* 20/16 */
	font-style: normal;
	font-weight: 600;
	line-height: 1.2em;
}

.textwidget
{
	margin-top: 0.5em;
	font-size: 1.125em; /* 18/16 */
	color: #8b8c8e;
}

.textwidget
	> *:first-child
{
	margin-top: 0;
}

.widget_apgc_latestevents
	ul
{
	margin: 1em 0 0 0;
	padding: 0;
	list-style-type: none;
}

.widget_apgc_latestevents
	li
{
	margin-top: 1em;
	padding-top: 1em;
	background: url( '../img/hr_dotted_grey.gif' ) repeat-x left top;
}

.widget_apgc_latestevents
	li:first-child
{
	margin-top: 0;
	padding-top: 0;
	background: none;
}

.widget_apgc_latestevents
	h1
{
	margin: 0;
	font-family: 'aaux-next', sans-serif;
	font-size: 1em; /* 18/16 */
	font-style: normal;
	font-weight: 600;
	line-height: 1.2em;
}

.widget_apgc_latestevents
	.post-header
	+ .post-body
{
	margin-top: 3px;
}

.widget_apgc_latestnewsletters
	ul
{
	margin: 1em 0 0 0;
	padding: 0;
	list-style-type: none;
}

.widget_apgc_latestnewsletters
	li
{
	margin-top: 1em;
	padding-top: 1em;
	background: url( '../img/hr_dotted_grey.gif' ) repeat-x left top;
}

.widget_apgc_latestnewsletters
	li:first-child
{
	margin-top: 0;
	padding-top: 0;
	background: none;
}

.widget_apgc_latestnewsletters
	.post
{
	display: block;
	padding-right: 15px;
	background: url( '../img/bullet_rangle_grey.png' ) no-repeat 98% center;
	font-family: 'aaux-next', sans-serif;
	font-size: 1em; /* 16/16 */
	font-style: normal;
	font-weight: 600;
	line-height: 1.2em;
	color: #8b8c8e;
}

.widget_apgc_rolexclock,
#pageBody_right
	.widget_apgc_rolexclock
{
	margin-left: auto;
	margin-right: auto;
	width: 175px;
}

.post-thumbnail
{
	overflow: hidden;
	background-color: #efefef;
	text-align: center;
}

	.post-thumbnail
		img
	{
		max-width: 100%;
	}

.post-thumbnail
	+ .post-header
{
	margin-top: 20px;
}

.post-header
	+ .post-body
{
	margin-top: 0.5em;
}

.post-body
	> *:first-child
{
	margin-top: 0;
}

.post-body
	.one_half
{
	margin-left: 5%;
	width: 47.5%;
}

.post-body
	.one_half:first-child
{
	margin-left: 0;
}

.post-body
	.one_half
	> *:first-child
{
	margin-top: 0;
}

.post-tag
{
	margin: 0;
	font-family: 'Volkhov', serif;
	font-size: 1.125em; /* 18/16 */
	font-weight: 700;
	line-height: 1.3em;
	color: #c2baa2;
}

.post-link
{
	margin: 10px 0 0 0;
	padding-top: 5px;
	background: url( '../img/hr_dotted_grey.gif' ) repeat-x left top;
	font-family: 'aaux-next', sans-serif;
	font-size: 0.875em; /* 14/16 */
	font-style: normal;
	font-weight: 600;
	line-height: 1.3em;
	color: #847645;
	text-align: right;
}

	.post-link
		a
	{
		display: block;
		padding-bottom: 5px;
		background: url( '../img/hr_dotted_grey.gif' ) repeat-x left bottom;
	}

.posts-tiled
{
	margin-top: 15px;
}

.posts-tiled
	h1
{
	font-family: 'aaux-next', sans-serif;
	font-size: 1.125em; /* 18/16 */
	font-weight: 700;
}

.posts-tiled
	.post
{
	float: left;
	margin: 25px 0 0 5%;
	width: 47.5%;
}

.posts-tiled
	.post.odd
{
	clear: left;
	margin-left: 0;
}

.posts-tiled
	.post.idx-1,
.posts-tiled
	.post.idx-2
{
	margin-top: 0;
}

.posts-tiled
	.post-thumbnail
	+ .post-header
{
	margin-top: 10px;
}

.posts-tiled
	.post-header
	+ .post-body
{
	margin-top: 0.5em;
}

.posts-featured
	.post
{
	position: relative;
	overflow: hidden;
	background-color: #272228;
}

.posts-featured
	.post-thumbnail
{
	width: 68%; /* ~435/642 */
	background-color: transparent;
}

.posts-featured
	h1
{
	font-family: 'aaux-next', sans-serif;
	font-size: 1.125em; /* 18/16 */
	font-style: normal;
	font-weight: 700;
	color: #ffffff;
}

.posts-featured
	.post-body
{
	color: #ffffff;
}

.posts-featured
	.post-header
	+ .post-body
{
	margin-top: 0.5em;
}

	.posts-featured
		.post-body
		p:first-child
	{
		line-height: 1.3em;
	}

.posts-featured
	.post-link
	a
	{
		display: block;
		background: none;
	}

.posts-featured
	.grouped
{
	position: absolute;
	bottom: 5px;
	right: 2%;
	width: 28%;
}

.posts-featured
	.grouped
	h1
{
	line-height: 1.1em;
}

.post-body
	.with_frm_style
	label.frm_primary_label,
.post-body
	.with_frm_style.frm_login_form
	label
{
	font-family: inherit;;
	font-size: inherit;
}

.post-body
	.with_frm_style
	input[type="text"],
.post-body
	.with_frm_style
	input[type="password"],
.post-body
	.with_frm_style
	input[type="email"],
.post-body
	.with_frm_style
	input[type="number"],
.post-body
	.with_frm_style
	input[type="url"],
.post-body
	.with_frm_style
	input[type="tel"],
.post-body
	.with_frm_style
	select,
.post-body
	.with_frm_style
	textarea,
.post-body
	.frm_form_fields_style,
.post-body
	.with_frm_style
	.frm_scroll_box
	.frm_opt_container,
.post-body
	.frm_form_fields_active_style,
	.frm_form_fields_error_style,
.post-body
	.with_frm_style
	.chzn-container-multi
	.chzn-choices,
.post-body
	.with_frm_style
	.chzn-container-single
	.chzn-single
{
	font-size: inherit;
}

.post-body
	.with_frm_style
	input[type="text"],
.post-body
	.with_frm_style
	input[type="password"],
.post-body
	.with_frm_style
	input[type="email"],
.post-body
	.with_frm_style
	input[type="number"],
.post-body
	.with_frm_style
	input[type="url"],
.post-body
	.with_frm_style
	input[type="tel"],
.post-body
	.with_frm_style
	select,
.post-body
	.with_frm_style
	textarea,
.post-body
	#content
	.with_frm_style
	input:not([type="submit"]):not([type="button"]),
.post-body
	#content
	.with_frm_style
	select,
.post-body
	#content
	.with_frm_style
	textarea,
.post-body
	.with_frm_style
	.chzn-container
{
	font-family: inherit;
	font-size: inherit;
}

@media screen and ( max-width: 960px ) {

	#pageHeader
		.inner
	{
		height: 314px;
	}
}

@media screen and ( max-width: 900px ) {

	.posts-featured
		.post-thumbnail
	{
		margin-top: 1em;
		width: 100%;
		text-align: center;
	}

	.posts-featured
		.grouped
	{
		position: static;
		margin: 1em 2% 0.5em 2%;
		width: 96%;
	}

	.post-body
		.one_half
	{
		margin-left: 0;
		width: 100%;
	}

	.post-body
		.one_half
		+ .one_half
	{
		margin-top: 1em;
	}

	.sponsors-list
		.sponsor
	{
		width: 23%; /* allows for four sponsors per line */
	}

	#pageFooter_nav
		.menu
	{
		width: 50%;
	}
}

@media screen and ( max-width: 830px ) {

	#pageHeader
		.inner
	{
		padding-top: 56px;
		height: 258px;
	}

	#pageHeader_logo
	{
		width: 96.5%;
		font-size: 1.5em; /* 25/16 */
	}

	#pageHeader_logo_text
	{
		position: fixed;
		top: 16px;
		left: 3.5%;
		z-index: 2;
		margin: 0;
		width: auto;
		background-color: #272228;
	}

	#pageHeader_nav
	{
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1;
		border-bottom: 1px solid #fefefe;
		height: 56px;
	}

	#pageHeader_nav_mobileInit
	{
		display: block;
		position: absolute;
		top: 12px;
		right: 3.5%;
	}

	#pageHeader_nav
		.menu
	{
		display: none;
		position: fixed;
		top: 57px;
		left: 0;
		margin: 0;
		margin-top: 0;
		padding: 0;
		width: 100%;
		height: auto;
		overflow-x: hidden;
		overflow-y: auto;
		background-color: #272228;
		-webkit-box-shadow: 0px 5px 10px rgba( 50, 50, 50, 0.5 );
		-moz-box-shadow: 0px 5px 10px rgba( 50, 50, 50, 0.5 );
		box-shadow: 0px 5px 10px rgba( 50, 50, 50, 0.5 );
	}

	#pageHeader_nav
		.menu-item
	{
		float: none;
		margin-left: 0;
		padding: 0.8em 0 0.8em 10px;
		border-top: 1px dotted #fefefe;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}

	#pageHeader_nav
		.menu-item:first-child
	{
		border-top: none;
	}

	#pageHeader_nav
		.menu-item,
	#pageHeader_nav
		.menu-item:focus,
	#pageHeader_nav
		.menu-item:hover
	{
		background: url( '../img/rangle_white_26x49.png' ) no-repeat 98% 1em;
		background-size: 7px 14px;
	}

	#pageHeader_nav
		.menu-item.has-children,
	#pageHeader_nav
		.menu-item.has-children:focus,
	#pageHeader_nav
		.menu-item.has-children:hover
	{
		background: url( '../img/icon_plus_46x46_white.png' ) no-repeat 98.5% 1em;
		background-size: 13px 13px;
	}

		#pageHeader_nav
			.menu-item
			a
		{
			display: inline;
			padding: 0;
		}

		#pageHeader_nav
			.menu-item
			.sub-menu
		{
			display: block;
			position: static;
			top: auto;
			left: auto;
			margin: 0.7em 0 0 0;
			padding: 0 0 0.2em 0;
			border-top: none;
			-webkit-border-radius: 0;
			-moz-border-radius: 0;
			border-radius: 0;
			width: auto;
			background: none;
			-webkit-box-shadow: none;
			-moz-box-shadow: none;
			box-shadow: none;
		}

			#pageHeader_nav
				.menu-item
				.sub-menu
				.menu-item
			{
				margin: 0;
				border-top: none;
				background: none;
				font-size: 0.9em;
			}

				#pageHeader_nav
					.menu-item
					.sub-menu
					.menu-item
					.sub-menu
				{
					margin-left: 1em;
				}

	#pageBody
		.inner
	{
		padding-top: 30px;
	}
}

@media screen and ( max-width: 790px ) {

	.posts-tiled
		.post
	{
		float: none;
		margin-left: 0;
		width: 100%;
	}

	.posts-tiled
		.post.idx-2
	{
		margin-top: 25px;
	}

	#pageFooter_tagline
		p
	{
		width: 70%;
	}
}

@media screen and ( max-width: 690px ) {

	#pageHeader_caption
	{
		width: 70%;
		font-size: 1em;
	}

	#pageBody
		.inner
	{
		max-width: 430px;
	}

	#pageBody_left
	{
		float: none;
		width: 100%;
	}

	#pageBody_right
	{
		margin-left: 0;
		width: 100%;
		background: none;
	}

		#pageBody_right
			.widget
		{
			margin-left: 0;
		}

	.posts-featured
		.post-thumbnail
	{
		margin-top: 0;
	}

	.widget
	{
		margin-top: 0.5em;
	}

	.widget
		> *
	{
		display: none;
		padding-bottom: 1.5em!important;
	}

	.widget
		> .widgettitle
	{
		display: block;
		padding-bottom: 8px!important;
	}

	.widgettitle
	{
		margin: 0;
		padding: 8px 10px;
		border: none;
		background: #272228 url( '../img/bullet_rangle_gold.png' ) no-repeat 98% center;
		font-size: 1.125em; /* 18/16 */
		font-style: normal;
		font-weight: 600;
		line-height: 1.2em;
		color: #c2baa2;
	}

	.widgettitle:focus,
	.widgettitle:hover
	{
		cursor: pointer;
	}

	.widget_apgc_latestevents
		ul
	{
		display: none;
	}

	.sponsors-list
		.sponsor
	{
		width: 30%; /* allows for three sponsors per line */
	}

	#pageFooter_nav
		.menu
	{
		width: 70%;
	}
}

@media screen and ( max-width: 590px ) {

	#pageFooter_tagline
		p
	{
		float: none;
		margin: 0 auto;
		width: 98%;
		text-align: center;
	}
}

@media screen and ( max-width: 500px ) {

	#pageFooter_nav
		.menu
	{
		width: 100%;
	}
}

@media screen and ( max-width: 460px ) {

	#pageHeader_caption
	{
		visibility: hidden;
	}

	#pageFooter_copyright
	{
		text-align: center;
	}
}

@media screen and ( max-width: 400px ) {

	#pageHeader_logo
	{
		font-size: 1.2em;
	}

	#pageHeader_logo_text
	{
		top: 18px;
	}

	.sponsors-list
		.sponsor
	{
		width: 45%; /* allows for two sponsors per line */
	}
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * 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;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override 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 print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

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

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}
