/**
 * @file
 * Base styles including fonts, resets and html elements
 *
 */

 /**
 * HTML5 display definitions
 */
/* Correct `block` display not defined in IE 8/9. */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section,
summary {
  display: block;
}

/* Correct `inline-block` display not defined in IE 8/9. */
audio,
canvas,
video {
  display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/* Address styling not present in IE 8/9. */
[hidden] {
  display: none;
}

/**
 * Base
 *
 */

html {
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

/* Remove default margin. */
body {
  margin: 0;
  padding: 0;
}

/**
 * Links
 *
 * The order of link states are based on Eric Meyer's article:
 * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
 */
/* Address `outline` inconsistency between Chrome and other browsers. */
a:focus,
:focus {
  outline: thin dotted #ccc;
}

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

/**
 * Typography
 *
 */

p,
pre {
  margin: 0;
}

/* Add margin between p elements */
p + p {
  margin-top: 20px;
  margin-top: 1.25rem;
}

/* Add margin between p and lists */
p + ul,
p + ol {
  margin-top: 10px;
  margin-top: 0.625rem;
}

blockquote {
  /* Also indent the quote on both sides. */
  margin: 1.25rem 30px;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
h1 {
  font-size: 36px;
  font-size: 2.25rem;
  line-height: 40px;
  line-height: 2.5rem;
  margin-top: 40px;
  margin-top: 2.5rem;
  margin-bottom: 20px;
  margin-bottom: 1.25rem;
}
@media (min-width: 1200px) {
  h1 {
    font-size: 43px;
    font-size: 2.7rem;
    line-height: 60px;
    line-height: 3.75rem;
  }
}

h2 {
  font-size: 30px;
  font-size: 1.875rem;
  line-height: 40px;
  line-height: 2.5rem;
  margin-top: 20px;
  margin-top: 1.25rem;
}

h3 {
  font-size: 24px;
  font-size: 1.5rem;
  line-height: 40px;
  line-height: 2.5rem;
  margin-top: 20px;
  margin-top: 1.25rem;
}

h4 {
  font-size: 24px;
  font-size: 1.5rem;
  line-height: 40px;
  line-height: 2.5rem;
  margin-top: 20px;
  margin-top: 1.25rem;
}

h5 {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 30px;
  line-height: 1.875rem;
  margin-top: 20px;
  margin-top: 1.25rem;
}

h6 {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 20px;
  line-height: 1.25rem;
  margin-top: 20px;
  margin-top: 1.25rem;
}

/* Address styling not present in IE 8/9, Safari 5, and Chrome. */
abbr[title] {
  border-bottom: 1px dotted;
}

/* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */
b,
strong {
  font-weight: bold;
}

/* Address styling not present in Safari 5 and Chrome. */
dfn {
  font-style: italic;
}

/* Address styling not present in IE 8/9. */
mark {
  background: #ff0;
  color: #000;
}

/* Correct font family set oddly in Safari 5 and Chrome. */
code,
kbd,
pre,
samp,
tt,
var {
  font-family: "Courier New", "DejaVu Sans Mono", monospace, sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 20px;
  line-height: 1.25rem;
}

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

/* Set consistent quote types. */
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

/* Address inconsistent and variable font size in all browsers. */
small {
  font-size: 80%;
}

/* Prevent `sub` and `sup` affecting `line-height` in all browsers. */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/**
 * Embedded content and figures
 *
 */
img {
  /* Remove border when inside `a` element in IE 8/9. */
  border: 0;
  /* Responsive images */
  max-width: 100%;
  height: auto;
}

/* Correct overflow displayed oddly in IE 9. */
svg:not(:root) {
  overflow: hidden;
}

/* Address margin not present in IE 8/9 and Safari 5. */
figure {
  margin: 0;
}

/**
 * Forms
 */

legend {
  border: 0;
  padding: 0;
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 * 4. Improve appearance and consistency with IE 6/7.
 * 5. Keep form elements constrained in their containers.
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */
  max-width: 100%;
  /* 5 */
  box-sizing: border-box;
  /* 5 */
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
.button a {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
  margin-right: 3px;
  margin-bottom: 10px;
  margin-bottom: 0.625rem;
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome.
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  box-sizing: content-box;
  /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* Remove inner padding and border in Firefox 4+. */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}

/* Drupal-style form labels. */
label {
  display: block;
  font-weight: 700;
  color: black;
  margin: 0;
}

/**
 * Tables
 */
table {
  /* Remove most spacing between table cells. */
  border-collapse: collapse;
  border-spacing: 0;
}

/*!
 *  Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
/* Font Awesome items removed by P. Linstrom -- We don't use icon fonts.  */
/* Font-display: swap; added by P. Linstrom -- Hopefully this will speed page display. */
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 300;
  font-style: normal;
  src: url("../fonts/sourcesanspro-light-webfont.eot");
  src: url("../fonts/sourcesanspro-light-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/sourcesanspro-light-webfont.woff2") format("woff2"), url("../fonts/sourcesanspro-light-webfont.woff") format("woff"), url("../fonts/sourcesanspro-light-webfont.ttf") format("truetype"), url("../fonts/sourcesanspro-light-webfont.svg#source_sans_prolight") format("svg");
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 300;
  font-style: italic;
  src: url("../fonts/sourcesanspro-lightit-webfont.eot");
  src: url("../fonts/sourcesanspro-lightit-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/sourcesanspro-lightit-webfont.woff2") format("woff2"), url("../fonts/sourcesanspro-lightit-webfont.woff") format("woff"), url("../fonts/sourcesanspro-lightit-webfont.ttf") format("truetype"), url("../fonts/sourcesanspro-lightit-webfont.svg#source_sans_prolight_italic") format("svg");
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/sourcesanspro-regular-webfont.eot");
  src: url("../fonts/sourcesanspro-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/sourcesanspro-regular-webfont.woff2") format("woff2"), url("../fonts/sourcesanspro-regular-webfont.woff") format("woff"), url("../fonts/sourcesanspro-regular-webfont.ttf") format("truetype"), url("../fonts/sourcesanspro-regular-webfont.svg#source_sans_proregular") format("svg");
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 400;
  font-style: italic;
  src: url("../fonts/sourcesanspro-it-webfont.eot");
  src: url("../fonts/sourcesanspro-it-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/sourcesanspro-it-webfont.woff2") format("woff2"), url("../fonts/sourcesanspro-it-webfont.woff") format("woff"), url("../fonts/sourcesanspro-it-webfont.ttf") format("truetype"), url("../fonts/sourcesanspro-it-webfont.svg#source_sans_proitalic") format("svg");
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/sourcesanspro-bold-webfont.eot");
  src: url("../fonts/sourcesanspro-bold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/sourcesanspro-bold-webfont.woff2") format("woff2"), url("../fonts/sourcesanspro-bold-webfont.woff") format("woff"), url("../fonts/sourcesanspro-bold-webfont.ttf") format("truetype"), url("../fonts/sourcesanspro-bold-webfont.svg#source_sans_probold") format("svg");
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 700;
  font-style: italic;
  src: url("../fonts/sourcesanspro-boldit-webfont.eot");
  src: url("../fonts/sourcesanspro-boldit-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/sourcesanspro-boldit-webfont.woff2") format("woff2"), url("../fonts/sourcesanspro-boldit-webfont.woff") format("woff"), url("../fonts/sourcesanspro-boldit-webfont.ttf") format("truetype"), url("../fonts/sourcesanspro-boldit-webfont.svg#source_sans_probold_italic") format("svg");
  font-display: swap;
}
html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
}
@media (min-width: 1200px) {
  body {
    font-size: 16.96px;
    font-size: 1.06rem;
  }
}

/**
 * Links.
 */
a:link {
  color: #12659c;
}
a:hover, a:active {
  text-decoration: underline;
  color: #0d476e;
}
a:visited {
  color: #2d9de7;
}

/**
 * Titles.
 */

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
  font-weight: inherit;
}

h1 {
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.5px;
  color: black;
}

h2 {
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: black;
  margin-bottom: 10px;
  margin-bottom: 0.625rem;
  padding-bottom: 0;
}
h2 a {
  font-weight: inherit;
}
h2 a:hover {
  text-decoration: none;
}

h2.block__title,
h2.pane__title {
  font-weight: 400;
  font-style: normal;
  color: black;
  text-transform: uppercase;
  padding-top: 0;
  font-size: 24px;
  line-height: 24px;
  padding-bottom: 4px;
  margin-bottom: 10px;
  border-bottom: 2px solid #12659c;
  margin-top: 40px;
  margin-top: 2.5rem;
  /* clear floated images and other content */
  clear: both;
}
h2.block__title a,
h2.pane__title a {
  text-decoration: none;
}

h3 {
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #333333;
  margin-bottom: 0;
  padding-bottom: 0;
}

h4 {
  font-weight: 400;
  margin-bottom: 0;
  padding-bottom: 0;
  color: black;
}

h5, .node-type-event .field--date, .node-type-event .field--location {
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight: 400;
}

h6 {
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight: 400;
}

/**
 * Lists
 */
dl,
menu,
ol,
ul {
  margin: 0px 0px 20px 16px;
  margin: 0rem 0rem 1.25rem 1rem;
  padding: 0px 0px 0px 32px;
  padding: 0rem 0rem 0rem 2rem;
}

ol ol,
ol ul,
ul ol,
ul ul {
  /* Turn off bottom margins on nested lists. Add to margin. */
  margin: 10px 0px 0px 16px;
  margin: 0.625rem 0rem 0rem 1rem;
}

ol li,
ul li {
  margin-bottom: 10px;
  margin-bottom: 0.625rem;
}

dd {
  margin: 0 0 0 30px;
}

a {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;
  /* Instead use this non-standard one: */
  word-break: break-word;
}

/* Limit the line length of wide content area */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
 * Accessibility features.
 */
/* element-invisible as defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
.element-invisible,
.element-focusable {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* Turns off the element-invisible effect. */
.element-focusable:active, .element-focusable:focus {
  position: static !important;
  clip: auto;
  height: auto;
  width: auto;
  overflow: auto;
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 */
#skip-link {
  margin: 0;
}
#skip-link a:link,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Removing focus from content so that skip-link fix does not always
 * highlight main container when any content is clicked
 */
#main {
  outline: none;
}

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

input:invalid,
button:invalid,
a.button:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none;
}
input:focus,
button:focus,
a.button:focus,
select:focus,
textarea:focus {
  box-shadow: #0066ff 0 0 5px 0;
  z-index: 1;
}

input[type="file"]:focus, input[type="file"]:active,
input[type="radio"]:focus,
input[type="radio"]:active,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
  box-shadow: none;
}

button,
a.button,
input[type="reset"],
input[type="submit"],
.button a,
input[type="button"] {
  -webkit-appearance: none;
  border-radius: 0px;
  background-clip: padding-box;
  background-image: none;
  background-color: #12659c;
  cursor: pointer;
  color: white;
  border: 0;
  display: inline-block;
  outline: 0;
  overflow: visible;
  margin: 0 3px 3px 0;
  padding: 1px 30px 0 30px;
  text-shadow: none;
  text-decoration: none;
  vertical-align: top;
  width: auto;
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 28px;
  height: 31px;
  font-size: 20.8px;
  font-size: 1.3rem;
}

button:hover, button:active,
a.button:hover,
a.button:active,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="submit"]:hover,
.button a:hover,
input[type="submit"]:active,
.button a:active,
input[type="button"]:hover,
input[type="button"]:active {
  background: #0f5685;
  text-decoration: none;
}
button::-moz-focus-inner,
a.button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
.button a::-moz-focus-inner,
input[type="button"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  box-sizing: border-box;
  background-clip: padding-box;
  border-radius: 0;
  background-color: white;
  border: 1px solid;
  border-color: #d9d9d9;
  color: black;
  outline: 0;
  margin: 0;
  padding: 6.4px;
  padding: 0.4rem;
  text-align: left;
  font-size: 12.8px;
  font-size: 0.8rem;
  line-height: 18px;
  vertical-align: top;
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
}
textarea[disabled],
select[disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
input[type="week"][disabled] {
  background-color: #eee;
}

button[disabled],
input[disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled],
a.button_disabled {
  box-shadow: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  color: #888;
  cursor: default;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #888;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #888;
}

input.placeholder_text,
textarea.placeholder_text {
  color: #888;
}

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

select[size="0"],
select[size="1"] {
  height: 1.8em;
}


textarea {
  min-height: 40px;
  overflow: auto;
  resize: vertical;
  width: 100%;
}

optgroup {
  color: black;
  font-style: normal;
  font-weight: normal;
  font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
}
optgroup::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Utility classes */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
