/**
 * @file
 * normalize.css
 *
 * This is the first custom stylesheet called in the CSS order. It was mostly
 * rewritten for the theme HFC theme to use settings from the Gridless
 * HTML5/CSS3 boilerplate at http://thatcoolguy.github.com/gridless-boilerplate/
 * Credit is left inline and big thanks to Nicolas Gallagher and Jonathan Neal
 * Across this document we use safe CSS hacks: http://mathiasbynens.be/notes/safe-css-hacks
 * Selectors beggining with an underscore (_selector: property) target only IE6
 * Selectors beggining with an asterisk (*selector: property) target only IE6 and IE7
 *
 * This file also contains settings from previous versions of this theme,
 * some of which were derived from Zen or Basic themes and other sources.
 */

/** HTML5 display definitions **/

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
dialog {
  display: block;
}

/* Corrects inline-block not defined in IE6/7/8 and FF3 */
audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
}

/* Ensures content is hidden from all presentations, including screenreaders */
[hidden] {
  display: none;
  visibility: hidden;
}

/* Visually hidden but available for screen readers */
.hidden {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  color: transparent;
}

/* Switch box model to border-box. See http://paulirish.com/2012/box-sizing-border-box-ftw */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

/* Switch box model back for colorbox module. */
#colorbox,
#cboxOverlay,
#cboxWrapper {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -o-box-sizing: content-box;
  box-sizing: content-box;
}

/** Base structure **/

/*
 * The body will work like a 'div#wrapper' (for this to work, the 'body' needs to have a set width)
 * To add a background to the PAGE, set it in the 'html' element
 * To add a background to the WRAPPER, set it in the 'body' element
 */
html {
  overflow-y: scroll; /* Force a scrollbar in non-IE */
  height: 100%;
  font-size: 100%;
  line-height: var(--initial-line-height);
  -webkit-text-size-adjust: 100%; /* Prevent iOS text size adjust on orientation change without disabling user zoom */
  -ms-text-size-adjust: 100%;
}

/* For info on transitioning, see http://elliotjaystocks.com/blog/css-transitions-media-queries */
body {
  min-height: 100%;
  margin: 0 auto;
  -o-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  background-color: var(--background-color);
  text-rendering: optimizelegibility;
}

/* Fonts settings based on the 100E2R standard: http://www.informationarchitects.jp/en/100e2r/ */
body,
button,
caption,
fieldset,
input,
legend,
option,
select,
textarea,
td,
th {
  max-width: 100%; /* Fixes forms and tables to be responsive */
  letter-spacing: var(--letter-spacing);
  color: var(--font-color);
  font-family: var(--main-font);
  font-size: var(--initial-font-size);
  line-height: var(--initial-line-height);
}

/* Headings */
h1 {
  margin: 0.6316em 0;
  font-size: 2.375em;
  font-weight: 400;
  line-height: 1.2632em;
}

h2 {
  margin: 0.8571em 0;
  font-size: 1.6em;
  line-height: 1.5em;
}

h3 {
  margin: 1.1428em 0;
  font-size: 1.3125em;
  line-height: 1.1428em;
}

h4 {
  margin: 1.5em 0;
  font-size: 1em;
  line-height: 1.5em;
}

small {
  margin: 0 0 1.875em;
  font-size: 0.8em;
  line-height: 1.875em;
}

/* Add and/or remove tags as your baseline grid needs */
p,
blockquote,
q,
pre,
address,
hr,
code,
samp,
dl,
form,
table,
fieldset,
menu,
figure,
figcaption,
button {
  margin: 0 0 1.5em;
}

/** Tables **/

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

/* Hide extra sticky header tables */

table.sticky-header.small-only {
  display: none;
}

/* Toggle table displays */

table.large-only {
  display: none;
}

table.small-only {
  display: table;
}

/* Responsive table styles */

.st-head-row {
  padding-top: 1em;
  font-weight: bold;
}

.st-head-row.st-head-row-main {
  padding-top: 0;
  font-size: 1.25em;
}

.st-key {
  width: 50%;
  padding-right: 0.5em;
  text-align: right;
}

.st-val {
  width: 50%;
  padding-left: 0.5em;
}

.sticky-header tr {
  -moz-transition: 0;
  -webkit-transition: 0;
  -ms-transition: 0;
  transition: 0;
}

thead tr {
  position: sticky;
  z-index: 99;
  top: -1px;
  background-color: var(--secondary-branding-color);
}

tbody tr {
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border-bottom: 2px solid #eee !important;
}

tbody tr:nth-child(even) {
  background-color: var(--light-gray);
}

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

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  color: var(--black);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1) !important;
  background-color: var(--hover-accent-color);
}

thead th {
  padding: 0.5em 1em;
  text-align: left;
  color: var(--white);
  border-bottom: 2px solid #ccc;
  font-size: 1.5rem;
}

td {
  padding: 1em 1.5em;
}

table.views-table caption {
  margin: 2em 0 0.4em;
  text-align: left;
  font-size: 1.15em;
  font-weight: bold;
}

/** Forms **/

form {
  margin: 0.5em 0;
}

fieldset {
  padding: 0;
  border: 0;
}

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

legend {
  border: 0;
}

button,
input {
  line-height: normal;
}

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

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

input[type="search"] {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

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

form .form-required {
  color: #c00000;
}

/** Quotes **/

blockquote,
q {
  quotes: none;
}

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

blockquote,
q,
cite {
  font-style: italic;
}

blockquote {
  margin-left: 1em;
  padding-left: 0.5em;
  border-left: 4px solid #ddd;
}

blockquote > p {
  padding: 0;
}

/** Lists **/

ul {
  margin: 0 0 1.5em 2em;
  padding: 0;
  list-style-position: outside;
  list-style-type: disc;
}

ol {
  margin: 0 0 1.5em 2.5em;
  padding: 0;
  list-style-position: outside;
  list-style-type: decimal;
}

ul li.leaf {
  list-style-type: none; /* reseting from system.css */
  list-style-image: none;
}

.item-list ul {
  margin: 0 0 0 1.5em; /* reseting from system.css */
}

li ul,
li ol {
  margin: 0 0 0 0.625em;
}

ul ul {
  list-style-type: circle;
}
ul ul ul {
  list-style-type: square;
}
ul ul ul ul {
  list-style-type: circle;
}
ol ol {
  list-style-type: lower-alpha;
}
ol ol ol {
  list-style-type: decimal;
}

ol.upper-alpha {
  list-style-type: upper-alpha;
}
ol.lower-alpha {
  list-style-type: lower-alpha;
}
ol.upper-roman {
  list-style-type: upper-roman;
}
ol.lower-roman {
  list-style-type: lower-roman;
}
ol.decimal {
  list-style-type: decimal;
}

.region-content .field-name-body ol,
.region-content .field-name-body ul {
  margin: 0 0 1.5em 2.441em; /* indents enough for 3 digit numbered lists */
}

.region-content .field-name-body li ol,
.region-content .field-name-body li ul {
  margin: 0 0 0 1.25em;
}

/* Menus */

ul.menu {
  list-style: none outside none;
}

ul.menu li {
  margin: 0;
}

li.expanded,
li.collapsed,
li.leaf,
ul.menu li {
  margin: 0 0 0.3125em 0;
  padding: 0;
}

/* Tabs */

ul.primary li a {
  -moz-border-radius: 5px 5px 0 0;
  -khtml-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

/* Definition lists */

dl dd {
  margin: 0 0 0.8125 1.5em;
}

dt {
  margin: 0 0 0.8125;
}

dl.node-type-list dt {
  font-weight: bold;
}

/** Links **/

/* When declaring Link states, remember: LoVe HA : Link | Hover | Visited | Active */

a,
a:visited {
  transition: none;
  text-decoration: none;
  color: var(--link-color);
  border-bottom: 1px solid var(--link-color);
}

a:hover,
a:focus {
  transition: none;
  text-decoration: none;
  border-bottom: 3px solid var(--link-color);
  background-color: var(--hover-accent-color);
}

/* Edit links for views */

.edit-link {
  margin-bottom: 0.625em;
  padding-left: 0.3125em;
  text-transform: uppercase;
  font-size: 0.625em;
}

.edit-link a {
  text-decoration: none;
  color: #aaa;
  border-bottom: none;
}

.edit-link a:hover {
  text-decoration: underline;
  color: #555;
  background-color: transparent;
}

/* HFC Button */

.hfc-button {
  display: inline-block;
  margin: 0.4em 0;
  padding: 0 0.8em;
  -o-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-transform: uppercase;
  color: var(--white) !important;
  border: 2px solid rgba(0, 0, 0, 0);
  background-color: var(--link-color);
  font-weight: 600;
}

.hfc-button a {
  display: block;
  color: inherit;
  border-bottom: none;
}

.hfc-button a:hover,
.hfc-button a:focus {
  background-color: transparent;
}

.hfc-button.wide {
  width: 100%;
  text-align: center;
}

.hfc-button.big {
  padding: 0.5em 1.5em;
  color: var(--link-color) !important;
  border: 2px solid var(--link-color) !important;
  background-color: transparent;
}

.hfc-button:hover,
.hfc-button:focus {
  text-decoration: none;
  color: var(--link-color) !important;
  border: 2px solid var(--link-color) !important;
  background-color: var(--white);
}

.hfc-button.big:hover,
.hfc-button.big:focus {
  background-color: rgba(255, 255, 255, 0.5);
}

.hfc-button-major {
  display: inline-block;
  margin: 0.4em 0;
  padding: 0.5em 1.2em 0.5em 0.5em;
  -o-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-transform: uppercase;
  color: var(--white) !important;
  border: none;
  background-color: var(--primary-branding-color);
  background-image: url("../images/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 1em;
  box-shadow: 0 15px 10px -10px rgba(31, 31, 31, 0.5);
  font-family: "Work Sans", "Open Sans", sans-serif;
  font-weight: 600;
}

.hfc-button-major:hover,
.hfc-button-major:focus {
  padding-right: 4em;
  background-color: var(--primary-branding-color);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(128, 128, 128, 0.1) inset;
}

/* No Link Overrides */

.no-link a {
  display: block;
  color: inherit;
  border: none;
}

.no-link a:hover,
.no-link a:focus {
  background-color: transparent;
}

a.no-link {
  color: inherit;
  border-bottom: none;
}

a.no-link:hover,
a.no-link:focus {
  background-color: transparent;
}

.contextual-links a {
  border-bottom: none;
}

.contextual-links a:hover,
.contextual-links a:focus {
  background-color: transparent;
}

a.contextual-links-trigger:hover,
a.contextual-links-trigger:focus {
  background-color: transparent;
}

#section-fatfooter .bean-anywhere-button a {
  display: block;
  color: inherit;
  border: none;
}

#section-fatfooter .bean-anywhere-button a:hover,
#section-fatfooter .bean-anywhere-button a:focus {
  background-color: transparent;
}

/** Figures **/

figure {
  margin: 0;
}

/** Embedded content **/

img,
object,
video,
iframe {
  max-width: 100%; /* Automatically scales images larger than the container. Consider this first: http://unstoppablerobotninja.com/entry/fluid-images/ */
  /* _width: 100%; /* IE6 doesn't support max-width, so we just use width. If the image is larger than the container, just uncomment this. If it is smaller than the container, uncomment and change the 100% value to an absolute one */
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic; /* Improve IE's resizing of images: css-tricks.com/ie-fix-bicubic-scaling-for-images */
}

.img-gap {
  position: relative;
}

.img-gap > a {
  line-height: 0;
}

.mediaelement-video {
  margin: 0 0 1.5em;
}

/* Corrects overflow displayed oddly in IE9 */
svg:not(:root) {
  overflow: hidden;
}

/** Abbreviations **/

abbr[title],
dfn[title] {
  cursor: help;
  white-space: nowrap;
  border-bottom: 1px dotted;
}

/* Date-based "abbreviations" show computer-friendly timestamps which are not human-friendly. */

abbr.created {
  cursor: auto;
  white-space: normal;
  border: none;
}

/** Marked/inserted/deleted text **/

mark {
  background: #ff0;
}

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

del {
  text-decoration: line-through;
}

/** Others **/

hr {
  display: block;
  height: 1px;
  border: 0;
  border-bottom: 1px solid #ddd;
}

strong,
b,
dt {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

var,
address {
  font-style: normal;
}

/* Position 'sub' and 'sup' without affecting line-height: gist.github.com/413930 */
sub,
sup {
  position: relative;
  vertical-align: baseline;
  font-size: 0.625em;
  line-height: 0;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/** Helper classes **/

/* User Interface Styles */

.resizable-textarea textarea {
  font-size: 14px !important;
}

div.messages {
  color: #04a107;
  border: 1px solid #04a107;
  background-color: #edffed;
}

/* Quick-and-dirty yellow box. (Hint: Use on paragraphs) */

.yellowbox {
  padding: 0.5em 1.5em;
  text-align: center;
  border: 1px solid #f88;
  background: #ff8;
}

/* clear classes for content */

.clearleft {
  clear: left;
}

.clearright {
  clear: right;
}

.clearboth {
  clear: both;
}

/* Float classes for images */

.floatleft {
  float: left;
  margin: 0 1em 0.3125em 0 !important;
}

.floatright {
  float: right;
  margin: 0 0 0.3125em 1em !important;
}

.caption {
  color: #444446;
  font-size: 0.625em;
  font-weight: bold;
}

.photo-frame img {
  padding: 4px;
  background: #fcfcff;
  box-shadow: 1px 1px 2px #aaa;
}

.photo-border img {
  border: 1px solid #ccc;
}

/* "Skip to Main Content" link
 *
 * This link useful for both visually impaired people and those with mobility impairments
 * who cannot use a mouse.
 */

#skip-nav {
  display: none;
}

#skip-nav a,
#skip-nav a:hover,
#skip-nav a:visited {
  position: absolute;
  top: -500px;
  left: 0;
  overflow: hidden;
  width: 1px;
  height: 1px;
}

#skip-nav a:active,
#skip-nav a:focus {
  position: static;
  width: auto;
  height: auto;
}

/** Prevent overflowing content **/

#section-header,
#content,
#section-footer {
  overflow: visible;
  word-wrap: break-word; /* A very nice CSS3 property */
}

@media (min-width: 600px) {
  /* Toggle table displays */
  table.large-only {
    display: table;
  }
  table.small-only {
    display: none;
  }

  .hfc-button.big {
    margin: 0 1em;
    padding: 0.5em 1.5em;
    font-size: 1.2rem;
  }
}
