/*------------------------------
T O N Y  -  C S S
------------------------------––
A starter CSS framework
------------------------------*/

/*------------------------------------------------------------
CSS Variables
------------------------------------------------------------*/

:root {

  /* Color Variables
  ------------------------------------------------------------*/

  /* Primary */
  --color-ruby-lighter: hsla(360, 100%, 90%, 1);
  --color-ruby-light: hsla(360, 100%, 80%, 1);
  --color-ruby: hsla(360, 100%, 37%, 1);
  --color-ruby-dark: hsla(360, 100%, 29%, 1);
  --color-ruby-darker: hsla(360, 100%, 21%, 1);

  /* Secondary */
  --color-sand: hsla(32, 62%, 76%, 1);
  --color-fire: hsla(22, 71%, 43%, 1);
  --color-earth: hsla(20, 11%, 44%, 1);
  --color-slate: hsla(43, 5%, 40%, 1);
  --color-gray: hsla(24, 4%, 64%, 1);

  /* Interface */
  --color-charcoal: hsla(20, 4%, 14%, 1);
  --color-shadow: hsla(20, 4%, 20%, 1);
  --color-border-gray: hsla(0, 0%, 90%, 1);

  /* Background */
  --color-silver: hsla(23, 12%, 87%, 1);
  --color-haze: hsla(20, 17%, 93%, 1);


  /* Typography Variables
  ------------------------------------------------------------*/

  /* Font stack */
  --font-sans-serif: 'Roboto', sans-serif;
  --font-serif: 'Libre Baskerville', serif;

  /* Font Weight */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;


  /* Other Variables
  ------------------------------------------------------------*/

  /* Animation */
  --animation-transition: all 0.25s ease;

  /* Elevation */
  --elevation-flat: none;
  --elevation-skim: 0 3px 15px 0 hsla(0, 3%, 8%, 0.15);
  --elevation-float: 1px 12px 22px -7px hsla(0, 3%, 8%, 0.16);
  --elevation-fly: 0 8px 32px -3px hsla(0, 3%, 12%, 0.23);

  /*-- END --*/
}

/*------------------------------------------------------------
CSS Reset
------------------------------------------------------------*/

/* Prevent iOS text size adjust after orientation change,
   without disabling user zoom.
------------------------------------------------------------*/
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Remove margin and padding from body
------------------------------------------------------------*/
body {
  margin: 0;
  padding: 0;
}

/* Remove margin and padding from base elements
------------------------------------------------------------*/
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hgroup,
p,
blockquote,
figure,
form,
fieldset,
input,
legend,
pre,
abbr,
button {
  margin: 0;
  padding: 0;
}

/* Reset font size, weight, and style
------------------------------------------------------------*/
pre,
code,
address,
caption,
th,
figcaption,
i {
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
}

/* Box sizing defaults to border-box
------------------------------------------------------------*/
*,
::before,
::after {
  box-sizing: border-box;
}

/* Remove borders from fieldsets/iframes
   Remove border from an img when inside `a` element
   in IE 9/10.
------------------------------------------------------------*/
fieldset,
iframe,
img {
  border: 0;
}

/* Remove default 'center' alignment on these elements.
------------------------------------------------------------*/
caption,
th {
  text-align: left;
}

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

/* Correct `block` display not defined for any HTML5 element
   in IE 9.
   Correct `block` display not defined for `details` or `summary`
   in IE 10/11 and Firefox.
   Correct `block` display not defined for `main` in IE 11.
------------------------------------------------------------*/
article,
aside,
footer,
header,
nav,
main,
section,
summary,
details,
hgroup,
figure,
figcaption {
  display: block;
}

/* Remove form-like styles from button
   Address `overflow` set to `hidden` in IE 9/10/11.
------------------------------------------------------------*/
button {
  background: none;
  border: 0;
  box-sizing: border-box;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  overflow: visible;
  vertical-align: inherit;
}

button:disabled {
  cursor: default;
}

/* Remove form-specific Firefox focus styles
------------------------------------------------------------*/
::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Single taps dispatched immediately on clickable elements
------------------------------------------------------------*/
a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

/* Remove the gap between audio, canvas, iframes,
   images, videos and the bottom of their containers:
------------------------------------------------------------*/
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/* Remove default fieldset styles.
------------------------------------------------------------*/

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

/* Allow only vertical resizing of textareas.
------------------------------------------------------------*/
textarea {
  resize: vertical;
}

/*------------------------------------------------------------
Base Elements
------------------------------------------------------------*/

html {
  font-size: 62.5%;
}

/* Medium Viewport
------------------------------------------------------------*/
@media only screen and (min-width: 720px) and (max-width: 959px) {

  /* This resizes all text for smaller screen sizes. */
  html {
    font-size: 58%;
  }
}

/* Small Viewport
------------------------------------------------------------*/
@media only screen and (max-width: 719px) {

  /* This resizes all text for mobile screens. */
  html {
    font-size: 55%;
  }

}

body {
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-sans-serif);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: var(--font-weight-regular);
  color: var(--color-charcoal);
}

p {
  max-width: 72rem;
}

li {
  list-style-type: none;
}

hr {
  border: 0;
  border-top: solid 1px var(--color-border-gray);
  margin: 4rem 0;
  padding: 0;
  height: 1px;
}

a {
  color: var(--color-ruby);
  text-decoration: none;
  transition: var(--animation-transition);
}

a:hover {
  color: var(--color-ruby-dark);
}

a:active {
  color: var(--color-ruby-darker);
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
  /* Remove underline. */
}

/* a:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-ruby-lighter);
} */

blockquote {
  margin: 4.8rem 0;
}

blockquote>p {
  border-top: solid 1px var(--color-sand);
  border-bottom: solid 1px var(--color-sand);
  font-style: italic;
  font-family: var(--font-serif);
  padding: 1.6rem 2rem;
  color: var(--color-shadow);
  font-size: 2.2rem !important;
  line-height: 3.6rem !important;
}

blockquote cite {
  display: block;
  margin-top: .8rem;
  font-style: normal;
  font-family: var(--font-sans-serif);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--color-earth);
  letter-spacing: 1px;
  font-weight: var(--font-weight-medium);
}

/* Selection
------------------------------------------------------------*/
::selection {
  background: var(--color-charcoal);
  color: #fff;
}

::-moz-selection {
  background: var(--color-charcoal);
  color: #fff;
}

/*------------------------------------------------------------
Utility Classes
------------------------------------------------------------*/

/* Typography Sizes
------------------------------------------------------------*/
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-regular);
}

h1,
.text-heading-hero {
  font-size: 4.2rem;
  line-height: 4.8rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

h2,
.text-heading-hero-s {
  font-size: 3.2rem;
  line-height: 4rem;
  margin-top: 3.6rem;
  margin-bottom: 2rem;
}

.text-heading-hero-xs {
  font-size: 2.6rem;
  line-height: 3.6rem;
  margin-top: 2.8rem;
  margin-bottom: 2rem;
}

h3,
.text-heading-content {
  font-family: var(--font-sans-serif);
  font-weight: var(--font-weight-bold);
  font-size: 2.4rem;
  line-height: 3.2rem;
  margin-top: 3.2rem;
  margin-bottom: 2rem;
}

h4,
.text-heading-content-s {
  font-family: var(--font-sans-serif);
  font-weight: var(--font-weight-regular);
  font-size: 2rem;
  line-height: 2.8rem;
  margin-top: 2.4rem;
  margin-bottom: 2rem;
}

.text-subheading {
  font-family: var(--font-sans-serif);
  font-size: 2rem;
  line-height: 2.4rem;
  margin-top: 1.6rem;
  margin-bottom: .8rem;
  color: var(--color-slate);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.text-subheading+h1,
.text-subheading+h2,
.text-subheading+h3,
.text-subheading+h4 {
  margin-top: 0;
}

.text-body-l {
  font-size: 2rem;
  line-height: 3.2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

p,
.text-body {
  font-size: 1.6rem;
  line-height: 2.4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.text-sosumi {
  font-size: 1.4rem;
  line-height: 2rem;
  margin-top: 1.6rem;
  margin-bottom: .8rem;
  color: var(--color-slate);
  letter-spacing: 0.4px;
}

/* Typography Colors
------------------------------------------------------------*/
.text-primary {
  color: var(--color-ruby);
}

.text-muted {
  color: var(--color-slate);
}

.text-disabled {
  color: #B7B7B7;
}

/* Lists
   Add .list to ul/ol to display list with bullets/numbers.
------------------------------------------------------------*/
ul.list,
ol.list {
  font-size: 1.6rem;
  line-height: 2.4rem;
  margin: 0 0 1.6rem;
  list-style-position: outside;
}

/* Unordered Lists */
ul.list {
  margin-left: 1.6rem;
  list-style-type: disc;
}

ul.list li ul,
ul.list li ol {
  margin-left: 2rem;
}

/* Ordered Lists */
ol.list {
  margin-left: 2rem;
  list-style-type: decimal;
}

ol.list li ul,
ol.list li ol {
  margin-left: 2rem;
}

/* Images */
.img-responsive {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/*------------------------------------------------------------
Components > Buttons
------------------------------------------------------------*/

/* Primary
------------------------------------------------------------*/
.button {
  color: #fff;
  background: var(--color-ruby);
  padding: 8px 16px;
  text-transform: uppercase;
  font-weight: var(--font-weight-medium);
  line-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  text-align: center;
  justify-content: center;
}

.button .icon-left {
  margin-right: 8px;
}

.button .icon-right {
  margin-left: 8px;
}

.button:hover {
  color: #fff;
  background: var(--color-ruby-dark);
}

.button:active {
  color: #fff;
  background: var(--color-ruby-darker);
}

/* Primary Black
------------------------------------------------------------*/
.button-black {
  background: var(--color-charcoal);
}

.button-black:hover {
  color: var(--color-sand);
  background: var(--color-charcoal);
}

.button-black:active {
  color: var(--color-fire);
  background: var(--color-charcoal);
}

/* Primary White
------------------------------------------------------------*/
.button-white {
  color: var(--color-charcoal);
  background: #fff;
}

.button-white:hover {
  color: var(--color-earth);
  background: #fff;
}

.button-white:active {
  color: var(--color-fire);
  background: #fff;
}

/* Secondary
------------------------------------------------------------*/
.button-secondary {
  color: var(--color-charcoal);
  background: none;
  border: solid 2px var(--color-charcoal);
  padding-top: 6px;
  /* Accounts for 1px border */
  padding-bottom: 6px;
  /* Accounts for 1px border */
  position: relative;
}

.button-secondary:hover {
  color: var(--color-charcoal);
  background: var(--color-haze);
}

.button-secondary:active {
  color: var(--color-charcoal);
  background: var(--color-silver);
}

/* Secondary White
------------------------------------------------------------*/
.button-secondary-white {
  color: #fff;
  background: none;
  border: solid 2px #fff;
}

.button-secondary-white:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
}

.button-secondary-white:active {
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
}

/* Tertiary
------------------------------------------------------------*/
.button-tertiary {
  padding: 0;
  background: none;
  color: var(--color-ruby);
}

.button-tertiary svg {
  font-size: 1.2rem;
  margin-left: 8px;
  transition: var(--animation-transition);
}

.button-tertiary:hover {
  background: none;
  color: var(--color-ruby);
  opacity: 0.9;
}

.button-tertiary:hover svg {
  transform: translateX(2px);
}

.button-tertiary:active {
  background: none;
  color: var(--color-ruby);
  opacity: 0.8;
}

/* Button Group
------------------------------------------------------------*/
.button-group {
  display: flex;
}

.button-group .button {
  margin-right: 1.6rem;
  flex-wrap: wrap;
  min-width: 18rem;
  text-align: center;
  justify-content: center;
}

.button-group .button:last-child {
  margin-right: 0;
}

/*------------------------------------------------------------
Components > Forms
------------------------------------------------------------*/

/* INPUT
------------------------------------------------------------*/
.input {
  -webkit-appearance: none;
  border-radius: 0;
  font-size: 1.6rem;
  line-height: 2.4rem;
  padding: 7px 8px;
  /* account for 1px border */
  border: solid 1px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.8);
  transition: var(--animation-transition);
  border-radius: 2px;
}

.input:hover {
  border: solid 1px rgba(0, 0, 0, 0.45);
}

.input:focus {
  background: #fff;
  outline: 0;
  border: solid 1px rgba(0, 0, 0, 0.45);
}


/*------------------------------------------------------------
Global
------------------------------------------------------------*/

/* Container
------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 136rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Title
------------------------------------------------------------*/
.section-title-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 4rem;
}

.section-title-wrap.border-top:before,
.section-title-wrap.border-bottom:before {
  content: '';
  display: flex;
  width: 100%;
  border-bottom: solid 1px var(--color-border-gray);
  position: absolute;
}

/* Add .border-top or .border-bottom to .section-title-wrap depending on where the Title is */
.section-title-wrap.border-top:before {
  top: 24%;
}

.section-title-wrap.border-bottom:before {
  top: 54%;
}

.section-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  z-index: 99;
  margin: 0 0 2rem;
  padding: 0 1.2rem;
}

.section-title .text-subheading {
  padding: 0 1.2rem;
  margin: 0;
}

/* Section CTA
------------------------------------------------------------*/
.section-cta {
  text-align: center;
  padding: 6rem 0 0;
}


/* Staff Nav
------------------------------------------------------------*/
@media only screen and (max-width: 700px) {
  .staff-nav {
    justify-content: left !important;
    overflow-x: auto;
  }
}
