/* ==========================================================================
   Scaffolding
   ========================================================================== */

/* Micro clearfix
   ========================================================================== */

.clearfix:before,   
.clearfix:after {
  content:"";
  display:table;
}

.clearfix:after {
  clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
  zoom:1;
}

/* Document Setup
   ========================================================================== */

html, 
body {
  height: 100%;
}

html {
  font-size: 16px; /* @basefontsize */
  -ms-touch-action: manipulation;
  touch-action: manipulation; /* remove 300ms delay in some browsers */
}

/* Using a new pixel ratio of 6/5 */
/* Standard 7" 1024x600 tablet (KINDLE FIRE) */
@media screen and (-webkit-device-pixel-ratio: 1) and (device-width: 1024px) and (max-device-height: 600px) and (orientation: landscape), screen and (-webkit-device-pixel-ratio: 1) and (device-width: 600px) and (max-device-height: 1024px) and (orientation: portrait), screen and (-o-device-pixel-ratio: "1") and (device-width: 1024px) and (max-device-height: 600px) and (orientation: landscape), screen and (-o-device-pixel-ratio: "1") and (device-width: 600px) and (max-device-height: 1024px) and (orientation: portrait), screen and (device-pixel-ratio: 1) and (device-width: 1024px) and (max-device-height: 600px) and (orientation: landscape), screen and (device-pixel-ratio: 1) and (device-width: 600px) and (max-device-height: 1024px) and (orientation: portrait) {
  html {
    font-size: 1.2rem; /* @basefontsize x (6/5) */
  }
}

/* 1024x600 tablet with pixel ratio of 3/2 (GALAXY TAB) */
/* Because we have a solid device-pixel-ratio we can avoid the device height */
@media screen and (-webkit-device-pixel-ratio: 1.5) and (device-width: 683px) and (orientation: landscape), screen and (-webkit-device-pixel-ratio: 1.5) and (device-width: 400px) and (orientation: portrait), screen and (-o-device-pixel-ratio: 3/2) and (device-width: 683px) and (orientation: landscape), screen and (-o-device-pixel-ratio: 3/2) and (device-width: 400px) and (orientation: portrait), screen and (device-pixel-ratio: 1.5) and (device-width: 683px) and (orientation: landscape), screen and (device-pixel-ratio: 1.5) and (device-width: 400px) and (orientation: portrait) {
  html {
    font-size: 0.8rem; /* @basefontsize x (2/3) x (6/5) */
  }
}

body {
  color: #212121;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  text-rendering: optimizelegibility;
}

#page {
  overflow: auto; /* prevents margin bleed from content */
}

/* Copy
   ========================================================================== */

p,
address,
ins,
mark {
  margin: 1.5rem 0;
}

small, 
smaller {
  font-size: 0.857rem;
}

b,
strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

ins {
  text-decoration: none;
  padding: 0 3px;
}

mark {
  font-style: italic;
  font-weight: bold;
  padding: 0 3px;
}

ins,
mark {
  background-color: transparent;
}

cite, 
em {
  font-style: italic;
}

abbr[title] {
  border-bottom: 1px solid #BDBDBD;
  cursor: help;
}

/* Headings
   ========================================================================== */

h1, .h1,
h2, .h2, 
h3, .h3, 
h4, .h4, 
h5, .h5, 
h6, .h6 {
  font-weight: 400;
}

h1, .h1,
h2, .h2, 
h3, .h3 {
  margin: 48px 0 24px;
  margin: 3rem 0 1.5rem;
}

h4, .h4, 
h5, .h5, 
h6, .h6 {
  margin: 24px 0 24px;
  margin: 1.5rem 0 1.5rem;
}

h1 small,
h2 small {
  font-weight: normal;
}

h1, .h1 {
  font-size: 2em; /* 2em */
  line-height: 1.2em;
}

h2, .h2 {
  font-size: 1.5em; /* 1.5em */
  line-height: 1.2;
}

h3, .h3 {
  font-size: 1.3125em; /* 1.3125em */
  line-height: 1.3;
}

h4, .h4 {
  font-size: 1.125em; /* 1.125em */
  line-height: 1.25;
}

h5, .h5 {
  font-size: 1em; /* 1em */
}

h6, .h6 {
  font-size: 0.857em; /* 0.857em */
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

dl {
  margin: 1.5em 0;
}

dt {
  font-weight: 700;
  margin: 1.5em 0 0.25em;
}

dd {
  font-size: 0.857em;
  margin: 0.25em 0 0.5em;
}

ol, 
ul {
  margin: 1.5em 0;
  padding-left: 1em; /* set bullets flush to content */
  padding-left: 1.5em; /* indent bullets */
}

li {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

li ul,
li ol {
  font-size: 1em;
  margin: 0;
}

ol li {
  list-style: decimal outside none;
}

ul li {
  list-style: square outside none;
}

.list-bordered {
  padding-left: 0;
}

.list-bordered li {
  border-bottom: 1px solid #BDBDBD;
  line-height: 2.25em;
  list-style-type: none;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 0 0 4px;
}

.list-bordered li:first-child {
  border-top: 1px solid #BDBDBD;
}

/* Code & Plain Text
   ========================================================================== */

pre,
code,
kbd,
samp {
  font-family: 'Source Code Pro', Menlo, Consolas, Monaco, monospace;
  font-weight: 400;
  line-height: 1.5em;
}

pre, 
code {
  white-space: pre;
  word-spacing: normal;
  word-wrap: break-word;
}

pre {
  font-size: 0.857em;
  margin: 1.5em 0;
}

code {
  text-align: left;
}

/* Hyperlinks
   ========================================================================== */

a, a:visited {
  color: #2196F3;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba( 255, 255, 255, 0.5);
  /* -webkit-touch-callout: none; */
}

a:hover,
a:focus {
  color: #2196F3;
  text-decoration: underline;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Blockquote
   ========================================================================== */

blockquote {
  margin-left: 1.5rem;
  margin-right:1.5rem;
}

blockquote {
  font-family: Georgia, Palatino, 'Droid Serif', 'Times New Roman', 'Roboto Slab', serif;
  font-style: normal;
  font-weight: 400;
}

blockquote, q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

blockquote.quote {
  border-left: 12px solid #212121;
  margin: 0;
  padding-left: 1.5rem;
}

blockquote.quote .quote_text {
  font-size: 1.25rem;
  position: relative;
}

blockquote.quote .quotations:before {
  position: absolute; left: -0.6em;
  content: '\201C';
}

blockquote.quote .quotations:after {
  content: '\201D';
}

blockquote.quote .attribution {
	background-color: transparent;
  display: block;
  font-size: 0.857rem;
  line-height: 1.5rem;
}

/* Haiku
   ========================================================================== */

.haiku {
  line-height: 1.75em;
  margin: 2.5rem 0 1.75rem;
  /* position: left + 0.4125 */
  /* set max-width per instance */
}

.haiku span {
  background-color: #212121;
  box-shadow: 0.35em 0 0 #212121, -0.35em 0 0 #212121;
  color: #FFFFFF;
  padding: 0.25em 0;
}

.haiku .attribution {
	background-color: transparent;
	box-shadow: none;
  color: #212121;
  display: block;
  font-size: 0.857rem;
  font-weight: 400;
  line-height: 1.5rem;
}

/* Images
   ========================================================================== */

figure {
  margin: 1.5rem 0;
}

figure img {
  display: block;
  margin: 0;  
}

figcaption {
  font-size: 0.75rem;
  line-height: 1.5em;
	margin-top: 4px;
}

img {
	box-sizing: border-box;
  height: auto;
  max-width: 100%;
}

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

form, 
.form {
  margin:  0;
  padding: 0;
}

form p, 
.form p {
  margin:  0.75rem 0;
}

form label, 
.form label {
  display: block;
  font-size: 0.857rem;
  font-weight: 700;
  line-height: 1.5rem;
  margin: 0;
}

form legend,
.form legend {
/* The <legend> tag defines a caption for the <fieldset> element. */
  display: block;
}

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

/* Remove blue highlight in Safari. */
input:focus, 
textarea:focus {
  outline: 0 none;
}

input[type="hidden"] {
  display: none;
}

input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #424242;
  box-sizing: border-box;
  font-size: 0.857rem;
  line-height: 1.75rem;
  padding: 0 0.5rem;
  width: 100%; max-width: 320px;
}

label ~ input[type="email"],
label ~ input[type="number"],
label ~ input[type="password"],
label ~ input[type="search"],
label ~ input[type="tel"],
label ~ input[type="text"],
label ~ input[type="url"],
label ~ select,
label ~ textarea {
  border-top-left-radius: 2px;
}

textarea {
	line-height: 1.5;
  max-width: 768px;
}

input[type="checkbox"],
input[type="radio"] {
	margin-right: 3px;
}

input[type="image"] {
	border: 0;
	box-shadow: none;
}

input[type="file"] {
	background-color: transparent;
	background-color: initial;
	border: initial;
	box-shadow: none;
	line-height: initial;
	padding: initial;
	width: auto;
}

button, 
.button, 
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
  border-radius: 4px;
	cursor: pointer;
	height: auto;
	font-size: 0.857rem;
	font-weight: 400;
  letter-spacing: 0.025em;
	line-height: 1.5rem;
	outline: none;
	padding: 0.25rem 0.75rem;
	text-align: center;
	width: auto;
}

input[type="file"], 
select {
	height:  1.75rem;
	margin:  0;
	padding: 0;
}

select {
	background-color: #ffffff;
  color: #424242;
  font-size: 0.857rem;
	width: auto;
}

select[multiple],
select[size] {
	height: auto;
}

select[disabled], input[disabled] {
  color: #ccc;
}

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

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

table {
	border-collapse: collapse;
	border-spacing: 0;
	box-sizing: border-box;
	font-size: 0.857rem;
	line-height: 1.5rem;
	margin: 1.5rem 0;
	width: 100%; max-width: 100%;
	vertical-align: baseline;
}

table, thead, tfoot {
	border: 1px solid #e0e0e0;
}

thead, tfoot {
  font-weight: 700;
  padding: 0;
}

tr {
	border: 0 solid #e0e0e0;
}

td, th {
  margin:  0;
  padding: 0.25rem 0.5rem;
  text-align: left;
}

tbody tr:nth-child(odd) {
  background-color: transparent;
}

tbody > tr:nth-child(even) {
  background-color: #f5f5f5;
}

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

	table.responsive_table,
	table.responsive_table thead, 
	table.responsive_table tbody, 
	table.responsive_table tfoot, 
	table.responsive_table th, 
	table.responsive_table td, 
	table.responsive_table tr 
	{
		border-width: 0;
		display: block;
	}

	table.responsive_table thead {
		display: none;
	}

	table.responsive_table tr {
		border-width: 1px;
		margin: 0.5rem auto;
	}

	table.responsive_table th, 
	table.responsive_table td
	{
		margin: 0.25rem;
		text-align: left;
	}

}

/* Other
   ========================================================================== */

hr {
  border-top: 0 solid #bdbdbd;
  border-width: 1px 0 0 0;
  clear: both;
  margin: 1.5em 0;
}

.contact-address {
  display: none !important;
}

