/*****************************************
* Reset (Remove Default Browser Styles)
******************************************/

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

strong {
  font-weight:bold;
}

em {
  font-style: italic;
}

/* List Styles */
ol, ul {
  list-style: none;
}

.list {
  margin-bottom: 1rem;
  padding-left: 1em;
}

.bulleted li {
  position: relative;
  padding-left: 1rem;
  margin: 0 0 .5rem 1rem;
}

.numbered {
  list-style: decimal;
}

blockquote, q {
  quotes: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.inline {
  display: inline-block !important;
  width: auto;
}

/*****************************************
* Boilerplate
******************************************/

body {
  height: 100%;
  font: normal normal 16px/1.5 "Open Sans", sans-serif;
  color: #000;
}

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

@media screen and (min-width: 1008px) {
  a[href^=tel] {
    cursor: default;
    pointer-events: none;
  }

  a[href^=tel]:hover {
    color: inherit;
  }
}

/****************************************
* Misc
****************************************/

img {
  display: block;
  max-width: 100%;
  height: auto;
}

hr {
  border: none;
  border-top: 2px solid #DDD;
  width: 100%;
  margin: 1rem 0;
}

/* On pages with little content, ensures that footer sticks to the bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
}

button,
.button {
  display: block;
  padding: 1em 2em;
  border: none;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  cursor: pointer;
  text-align: center;
  font-size: 100%;
  word-break: normal;
}

a {
  text-decoration: none;
}

@media(min-width: 1008px) {
  .mobile {
    display: none !important;
  }
}

/****************************************
*
* Layout
*
****************************************/

/****************************************
* Grid
****************************************/

.grid {
  display: grid;
  margin: auto;
  max-width: 1800px;
  padding: 2rem;
  grid-gap: 2rem;
}

@media (min-width: 1140px) {
  .grid {
    padding: 3rem 4rem;
    grid-gap: 3rem 4rem;
  }
}

@media (min-width: 1400px) {
  .grid {
    padding: 3rem 6rem;
    grid-gap: 6rem;
  }
}

/****************************************
* Visibility
****************************************/

@media (max-width: 575.98px) {
  .visible--phone {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .visible--tablet {
    display: none;
  }
}

@media (max-width: 1139.98px) {
  .visible--desktop {
    display: none;
  }
}

@media (max-width: 1399.98px) {
  .visible--widescreen {
    display: none;
  }
}

.hidden {
  display: none;
}

@media (min-width: 576px) {
  .hidden--phone {
    display: none;
  }
}

@media (min-width: 768px) {
  .hidden--tablet {
    display: none;
  }
}

@media (min-width: 1140px) {
  .hidden--desktop {
    display: none;
  }
}

@media (min-width: 1400px) {
  .hidden--widescreen {
    display: none;
  }
}

/****************************************
* iframes and videos
****************************************/

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* padding-bottom will need to be overridden on occasion. Should be iframe height / iframe width. */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.placeholder {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-top: 56%;
}

.placeholder:hover {
  cursor: pointer;
}

.placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.placeholder svg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  fill: #ffffff;
  filter: drop-shadow(4px 5px 3px rgba(0, 0, 0, .8));
  transition: width .4s ease, height .4s ease;
 }

.placeholder:hover svg {
  width: 50px;
  height: 50px;
}

/****************************************
* Form Validation
****************************************/

.error-messages .message,
.message {
  display: block;
  color: #d80000;
  margin-bottom: 4px;
  width: 100%;
  font-size: 14px;
}

/****************************************
* Misc.
****************************************/

.flex {
  display: flex;
}

.underline {
  text-decoration: underline;
}

.hide {
   position: absolute !important;
   top: -9999px !important;
   left: -9999px !important;
}

.honey {
  display: none;
}

@media(max-width: 1007px) {
  .desktop {
    display: none !important;
  }
}

/****************************************
* Skip to content
****************************************/

.skip {
  position: absolute;
  top: -1000px;
  left: -1000px;
  height: 1px;
  width: 1px;
  text-align: left;
  overflow: hidden;
}

a.skip:active,
a.skip:focus,
a.skip:hover {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/****************************************
* Centering
****************************************/

.x-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}