/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,600");
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b, strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code, kbd, samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button, input, optgroup, select, textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button, input {
  /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button, select {
  /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"], [type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
body {
  font-family: "Montserrat", sans-serif;
}
a {
  color: #234a56;
  text-decoration: none;
  transition: 0.3s linear;
}
p {
  line-height: 1.6;
}
@media (min-width: 767px) {
  .inner {
    max-width: 70rem;
    margin: auto;
  }
}
.main {
  padding: 2em 1em;
}
.sidebar {
  flex: 1;
  margin-top: 1em;
}
@media (min-width: 767px) {
  .sidebar {
    margin-right: 4em;
    margin-top: 0;
  }
}
@media print {
  .sidebar {
    display: none;
  }
}
.sidebar h3 {
  margin-top: 0;
}
.sidebar a {
  font-weight: bold;
  text-decoration: underline;
}
.sidebar p {
  line-height: 1.6;
  color: #234a56;
}
.content {
  flex: 3;
}
.page .inner {
  display: flex;
  flex-direction: column-reverse;
}
@media (min-width: 767px) {
  .page .inner {
    flex-direction: row;
  }
}
.page-title {
  text-align: center;
}
.page-title h1 {
  display: inline-block;
  border-bottom: 1px solid #89b9c5;
  margin: 0.5em auto 0 auto;
  padding: 0 3em 0.5em 3em;
  font-size: 20px;
}
@media (min-width: 767px) {
  .page-title h1 {
    font-size: 36px;
    margin: 0.5em auto 1em auto;
  }
}
.global-header {
  background-color: #234a56;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 1em;
}
@media print {
  .global-header {
    display: none;
  }
}
.global-header .inner {
  display: grid;
  grid-template-columns: 80px 1fr;
}
.global-header .mobile-nav-button {
  text-align: right;
}
.global-header .mobile-nav-button a {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 14px;
  display: block;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 7px;
}
.global-header .mobile-nav-button a span {
  font-size: 12px;
  margin-left: 5px;
}
@media (min-width: 767px) {
  .global-header .mobile-nav-button {
    display: none;
  }
}
.global-header .nav {
  display: none;
  position: absolute;
  right: 1em;
  top: 50px;
  z-index: 10;
  transform: translate(-50% -50%);
  background: rgba(65, 125, 149, 0.9);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
@media (min-width: 767px) {
  .global-header .nav {
    position: static;
    display: block !important;
    background: transparent;
    box-shadow: none;
  }
}
.global-header .nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}
@media (min-width: 767px) {
  .global-header .nav ul {
    border-bottom: 1px solid #ffffff;
    padding-bottom: 10px;
  }
}
.global-header .nav ul li {
  margin: 0;
}
@media (min-width: 767px) {
  .global-header .nav ul li {
    display: inline-block;
  }
}
.global-header .nav ul li a {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 14px;
  display: block;
  padding: 1em;
  font-weight: 300;
}
@media (min-width: 767px) {
  .global-header .nav ul li a {
    padding: 5px 15px;
  }
}
.global-header .nav ul li a:hover {
  color: #89b9c5;
}
@media (min-width: 767px) {
  .global-header .nav ul li a.special {
    border: 1px solid #89b9c5;
    background: #417d95;
    padding: 10px 15px;
  }
}
.intro {
  max-width: 70rem;
  margin: auto;
  color: #ffffff;
  text-align: center;
  padding: 3em 1em 0 1em;
}
@media (min-width: 767px) {
  .intro {
    padding: 0 1em;
  }
}
.intro p {
  font-size: 1em;
}
@media (min-width: 767px) {
  .intro p {
    font-size: 20px;
  }
}
.intro img {
  max-width: 100%;
}
@media (min-width: 767px) {
  .intro img {
    max-width: 550px;
    margin: 2em 1em 1em 1em;
  }
}
.intro .intro-text p {
  font-weight: 300;
}
.intro .intro-text p strong {
  font-weight: 500;
  font-size: 1.3em;
}
@media (min-width: 767px) {
  .intro .intro-text p strong {
    font-size: 1em;
  }
}
.logo img {
  width: 35px;
}
@media (min-width: 767px) {
  .logo img {
    width: 50px;
  }
}
.logo-inner {
  max-width: 70rem;
  margin: 2em auto;
  text-align: center;
}
.logo-inner .logo-smaller {
  max-width: 300px;
}
@media (min-width: 767px) {
  .logo-inner .logo-smaller {
    max-width: 390px;
  }
}
.global-footer {
  background: #89b9c5;
  padding: 2em 1em;
  text-align: center;
  color: #ffffff;
  font-weight: 300;
}
@media print {
  .global-footer {
    display: none;
  }
}
.global-footer a {
  color: #ffffff;
  text-decoration: underline;
}
.global-footer a:hover {
  color: #234a56;
}
.global-footer img {
  max-width: 55px;
}
.global-footer .contact {
  margin: 1em 1em 4em 1em;
}
.global-footer .social {
  font-size: 24px;
}
.global-footer .social a {
  padding: 5px;
  display: inline-block;
}
.ad {
  background: #234a56;
  display: flex;
  color: #ffffff;
  flex-direction: column;
  text-align: center;
  align-content: center;
  justify-content: center;
}
@media print {
  .ad {
    display: none;
  }
}
.ad a {
  line-height: 0;
  display: block;
}
.ad img {
  max-width: 790px;
  margin: auto;
}
.ad-horizontal {
  height: 66px;
}
.ad-square {
  display: none;
  width: 300px;
  height: 250px;
  margin-top: 1em;
}
@media (min-width: 767px) {
  .ad-square {
    display: block;
  }
}
.ad-square img {
  width: 300px;
  height: 250px;
}
.ad-mobile {
  display: block;
}
@media (min-width: 767px) {
  .ad-mobile {
    display: none;
  }
}
.ad-desktop {
  display: none;
}
@media (min-width: 767px) {
  .ad-desktop {
    display: block;
  }
}
@media (min-width: 767px) {
  .mobile-ad {
    display: none;
  }
}
.below-text {
  position: relative;
  top: 30px;
}
.photo-button {
  display: flex;
  display: none;
  margin-bottom: 2em;
  flex-direction: row;
  text-decoration: none !important;
  background-color: #417d95;
}
@media (min-width: 767px) {
  .photo-button {
    display: flex;
  }
}
.photo-button:hover {
  background-color: #89b9c5;
}
.photo-button .blank {
  flex: 1;
  line-height: 0;
}
.photo-button .blank img {
  width: 100%;
}
.photo-button .title {
  flex: 3;
  text-align: center;
  align-self: center;
  justify-self: center;
}
.photo-button .title span {
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  box-sizing: border-box;
  text-transform: uppercase;
}
.listings {
  display: flex;
  flex-direction: column;
}
@media (min-width: 767px) {
  .listings {
    flex-direction: row;
  }
}
.obit-item {
  border: 1px solid #417d95;
  padding: 1em;
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 767px) {
  .obit-item {
    flex-direction: row;
    padding: 2em;
  }
}
.obit-item:hover {
  background: rgba(137, 185, 197, 0.2);
}
.obit-item h1 {
  color: #234a56;
  font-size: 24px;
  text-transform: uppercase;
  margin-top: 0;
}
.obit-item .obit-image {
  flex: 1;
  margin-right: 1em;
  margin-bottom: 1em;
}
@media (min-width: 767px) {
  .obit-item .obit-image {
    margin-bottom: 2em;
  }
}
.obit-item .obit-content {
  flex: 3;
}
.obit-item .obit-dates {
  font-size: 13px;
  font-weight: 300;
  color: #417d95;
}
.obit-item .obit-obit {
  font-size: 14px;
  line-height: 1.6;
}
.obit-item .obit-meta {
  font-size: 13px;
  color: #417d95;
  line-height: 1.3;
}
.obit-item .read-more {
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: underline;
}
.main-search {
  color: #ffffff;
  text-align: center;
  margin: 3em auto;
  max-width: 70rem;
}
.search-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
@media (min-width: 767px) {
  .search-options ul {
    flex-direction: row;
  }
}
.search-options ul li {
  flex: 1;
  background: #234a56;
  display: inline-block;
  transition: 0.3s linear;
  position: relative;
}
@media (min-width: 767px) {
  .search-options ul li {
    border-right: 1px solid #417d95;
  }
}
.search-options ul li:hover {
  background: #417d95;
}
.search-options ul li:last-child {
  border-right: none;
}
.search-options ul li a {
  color: #ffffff;
  padding: 1em;
  display: block;
  text-transform: uppercase;
  font-size: 14px;
}
.search-options ul li a.active {
  background: #417d95;
}
@media (min-width: 767px) {
  .tab-name a::after, .tab-location a::after, .tab-dod a::after {
    display: none;
    content: url("../img/tick.svg");
    position: absolute;
    left: 50%;
    margin-left: -15px;
    bottom: -40px;
  }
  .tab-name a.active::after, .tab-location a.active::after, .tab-dod a.active::after {
    display: block;
  }
}
@media (min-width: 767px) {
  .tab-funeral-home a::after {
    display: none;
    content: url("../img/tick.svg");
    position: absolute;
    left: 50%;
    margin-left: -65px;
    bottom: -40px;
  }
}
.tab-funeral-home a.active::after {
  display: block;
}
.search-input {
  max-width: 100%;
}
@media (min-width: 767px) {
  .search-input {
    margin-top: 19px;
  }
}
.search-input input {
  margin-top: 1em;
  padding: 1em;
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #ffffff;
}
@media (min-width: 767px) {
  .search-input input {
    margin-right: 1em;
  }
}
.search-input select {
  width: 100%;
  border-radius: 0;
  border: none;
  padding: 17px;
  color: rgba(53, 53, 53, 0.8);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #ffffff;
}
.search-input input[type="submit"] {
  background: #417d95;
  text-transform: uppercase;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: 0.3s linear;
  border: 1px solid #89b9c5;
}
.search-input input[type="submit"]:hover {
  background: #234a56;
}
@media (min-width: 767px) {
  #search-by-name form, #search-by-location form, #search-by-dod form, #search-by-funeral-home form {
    display: grid;
    grid-template-columns: 1fr 100px;
  }
}
@media (min-width: 767px) {
  #search-by-name .search-fields, #search-by-location .search-fields, #search-by-dod .search-fields, #search-by-funeral-home .search-fields {
    display: flex;
  }
}
#search-by-funeral-home .search-fields, #search-by-location .search-fields {
  display: block;
  margin-top: 1em;
}
@media (min-width: 767px) {
  #search-by-funeral-home .search-fields, #search-by-location .search-fields {
    margin-right: 1em;
  }
}
.search-input {
  display: none;
}
.search-filters h3, .search-filters h4 {
  color: #234a56;
  border-bottom: 1px solid #417d95;
  padding-bottom: 5px;
}
.search-filters h3 {
  font-size: 1em;
}
.search-filters h4 {
  font-size: 14px;
}
.search-filters label {
  font-size: 14px;
  color: #234a56;
  padding: 3px 0;
}
.all-obits {
  margin-bottom: 2em;
  display: block;
}
.single-obit .inner {
  display: flex;
  flex-direction: column-reverse;
  padding: 1em 0;
}
@media (min-width: 767px) {
  .single-obit .inner {
    flex-direction: row;
    padding: 3em 0;
  }
}
.single-obit .content h1 {
  margin-top: 0;
  font-weight: 700;
  text-transform: uppercase;
}
.single-obit .content p {
  line-height: 1.5;
  font-weight: 300;
}
.single-obit .content .dates {
  font-size: 13px;
  font-weight: 300;
  color: #417d95;
  margin-bottom: 2em;
}
.single-obit .content .photo {
  position: relative;
  margin-bottom: 2em;
}
@media (min-width: 767px) {
  .single-obit .content .photo {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
  }
}
.single-obit .content .funeral-home-logo {
  margin-top: 2em;
  margin-bottom: 3em;
}
.single-obit .content .funeral-home-logo img {
  max-width: 100%;
}
.single-obit .content .obit-meta {
  font-size: 13px;
  color: #417d95;
  line-height: 1.3;
}
@media (min-width: 767px) {
  .search-results .inner {
    display: flex;
  }
}
.search-results .content h1 {
  margin-top: 0;
}
.search-filters label {
  display: block;
  margin: 0.5em 0 0.5em 0;
  font-weight: 300;
}
.search-filters input {
  margin-right: 4px;
}
.search-inputs {
  display: none;
}
@media (min-width: 767px) {
  .search-inputs {
    display: block !important;
    margin-bottom: 4em;
  }
}
.filter-btn {
  background: #dde7dc;
  display: block;
  padding: 1em;
  margin-bottom: 1em;
  text-decoration: none !important;
  text-transform: uppercase;
  text-align: center;
}
@media (min-width: 767px) {
  .filter-btn {
    display: none;
  }
}
.filter-btn i {
  margin: 0 1em;
}
@media (min-width: 767px) {
  .filter-btn i {
    margin: 0 1.5em;
  }
}
.pagination {
  text-align: center;
  margin-top: 2em;
}
.pagination .page-numbers {
  width: 20px;
  height: 20px;
  display: inline-block;
  padding: 4px;
}
.pagination .current {
  background: #dde7dc;
  border-radius: 50%;
}
.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
  border: 1px solid #417d95;
  padding: 1em;
  border-radius: 0;
  appearance: none;
  background: #ffffff;
}
.gform_wrapper textarea {
  border: 1px solid #417d95;
  padding: 1em;
  border-radius: 0;
  appearance: none;
}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type="submit"] {
  border: none;
  background: #234a56;
  color: #ffffff;
  padding: 1em 2em;
  text-transform: uppercase;
  border-radius: 0;
  appearance: none;
}
.gform_wrapper .gform_footer {
  text-align: right;
}
body .gform_wrapper ul li.gfield {
  margin-bottom: 2em;
}
.video-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}
.video-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}
@media print {
  .share {
    display: none;
  }
}
.share .inner {
  padding: 0 1em;
  text-align: right;
  display: block;
}
.share a {
  color: #ffffff;
  background: #417d95;
  padding: 10px 15px;
  display: inline-block;
  font-size: 12px;
}
.share a i {
  margin-right: 5px;
  font-size: 14px;
}
.share a:hover {
  background: #89b9c5;
}
.slider {
  position: relative;
  margin: auto;
  margin-top: 2em;
}
@media (min-width: 767px) {
  .slider {
    margin-top: 0;
  }
}
.slide {
  display: none;
  text-align: center;
}
.slide:first-child {
  display: block;
}
.dots {
  text-align: center;
  margin-top: 0.5em;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #dde7dc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: #89b9c5;
}
