/******************************************************************************/
/*                                                                            */
/* Albright Labs                                                              */
/* A Software Company                                                         */
/* hello@albrightlabs.com                                                     */
/* (610) 756-5060                                                             */
/* PO Box 1537, Albrightsville, PA 18210                                      */
/*                                                                            */
/******************************************************************************/

/* base */
* {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-size: 100%;
  color: #000;
}
h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
}
html {
  background-color: #fff;
}
body {
  opacity: 0;
}
.display-5 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: bold;
}
@media(max-width:767px){
  .display-5 {
    font-size: 2.4rem;
  }
}
.display-6 {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: bold;
}

/* sitebar */
#sitebar {
  background-color: #44687d;
  padding: 0;
}
#sitebar .inner {
  padding-top: 8px;
  padding-bottom: 8px;
}
#sitebar * {
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
#sitebar .website-tab {
  padding-right: 12px;
  padding-left: 12px;
  padding-bottom: 4px;
  padding-top: 4px;
}
#sitebar .website-tab.active {
  background-color: #fff;
  color: #000;
}
#sitebar a:not(.website-tab) {
  line-height: 40px !important;
  padding: 0 4px !important;
}

/* snowday banner */
#snowday {
  background-color: #244357;
  padding: 2px 10px;
}
#snowday .inner {
  padding-top: 8px;
  padding-bottom: 8px;
}
#snowday * {
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

/* header */
#header #mainheader {
  border-bottom: 2px solid #ebebeb;
}
#header ul {
  list-style-type: none;
  display: inline-block;
  list-style: none;
  padding: 0;
  margin: 0;
}
#header ul li:not(.nav-item) {
  margin: 0 24px 0 0;
}
#header ul li {
  display: inline-block;
}
#header #brand {
  padding: 6px 15px;
  height: 130px;
  width: 200px;
}
#header .navbar-toggler {
  transform: translateY(-50%);
  position: absolute;
  right: 15px;
  top: 50%;
}
.dropdown-item {
  font-weight: 600;
  padding: 0 8px !important;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #fff;
  color: inherit;
}
.dropdown-item:hover,
.dropdown-item.active:hover,
.dropdown-item:active:hover {
  background-color: #ebebeb;
  background-color: #fff;
}
.dropdown-menu {
  border-radius: 0;
  border-width: 2px;
  border-color: #ebebeb;
}

/* footer */
footer:not(.blockquote-footer) {
  padding: 60px 0 40px;
  background-color: #244357;
  color: #fff;
}
footer .logo {
  max-width: 200px;
}
footer .fancy-border-bottom {
  border-bottom: 2px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.7) !important;
  display: inline-block;
  padding-bottom: 8px;
  margin-top: 0;
  width: 100%;
}
footer nav .nav-link {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  line-height: 1.6 !important;
  color: #fff;
}
footer hr {
  border: 1px solid rgba(255,255,255,0.5);
}
footer .text-muted {
  color: rgba(255,255,255,0.5) !important;
}
footer .generic-form .form-group label {
  font-size: 0.9rem;
}
footer .generic-form .form-group .form-control.form-control-sm:not(textarea) {
  height: 32px !important;
}
footer .generic-form .form-group textarea.form-control {
  height: auto;
}
footer .generic-form .form-group .form-control.form-control-sm {
  border: 0 !important;
}
footer form {
  max-width: 380px;
}

/* utilities */
.font-weight-semibold {
  font-weight: 600;
}
.min-height-100vh {
  min-height: 100%;
  min-height: 100vh;
}

/* links */
a,
a:visited,
.dropdown-item,
.nav-item > .nav-link,
.btn-link {
  color: #44687d;
  display: inline-block;
  border: 2px solid transparent;
  border-radius: 0;
  line-height: 32px !important;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
}
a:hover,
a:focus,
a:active,
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.nav-item > .nav-link:hover,
.nav-item > .nav-link:focus,
.nav-item > .nav-link:active,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  /* color: #2a4e65; */
  color: #244357;
  text-decoration: none !important;
  border-color: #305973;
}
a > span,
a > i,
a > strong,
a > .fa {
  color: inherit;
}
a,
a:hover,
a:focus,
a:active {
  font-weight: 600;
}

/* forms */
.form-group label {
  font-weight: 600;
}
.form-control,
.form-control:active,
.form-control:focus {
  height: calc(1.5em + .75rem + 8px);
  box-shadow: none;
  border-radius: 0;
  border-width: 2px;
}
.form-control {
  border-color: #d6d6d6;
}
.form-control:active,
.form-control:focus {
  border-color: #44687d;
}
.form-group .red-star {
  display: inline-block;
  position: relative;
  font-weight: bold;
  color: red;
  left: 4px;
  top: 2px;
}
.form-success-indicator {
  position: relative;
  display: none;
  top: 2px;
}
.generic-form .form-group textarea.form-control {
  height: auto;
}

/* buttons */
.btn {
  box-shadow: none !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
}
.btn-primary,
.btn-primary:visited {
  background-color: #44687d;
  border-color: #44687d;
  font-weight: 600;
  box-shadow: none;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #244357;
  border-color: #244357;
  font-weight: 600;
  color: #fff;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #244357;
    border-color: #244357;
}
.btn-link {
  padding-right: 12px;
  padding-left: 12px;
}

/* headings */
.h1, h1,
.h2, h2,
.h3, h3,
.h4, h4,
.h5, h5,
.h6, h6 {
  margin-bottom: 12px;
  margin-top: 32px;
  font-weight: 700;
}
.h6, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* stripe loader */
.stripe-loading-indicator {
  height: 4px !important;
}
.stripe-loading-indicator .stripe,
.stripe-loading-indicator .stripe-loaded {
  height: 4px !important;
  background: #28a745 !important;
}

 /* ffh widget */
 .widget-find-funeral-home #search-input {
   width: 100%;
 }
 .widget-find-funeral-home #search-button {
   margin-top: 8px;
   width: 100%;
   border-width: 2px;
   border-radius: 0;
   font-weight: 600;
 }

/* sticky */
.sticky-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  height: 100%;
}
.sticky-container .sticky-element {
  position: -webkit-sticky;
  position: sticky;
  width: 100%;
  top: 20px;
}

/* sidebar advertisements */
img.advertisement {
  max-width: 100%;
  width: 100%;
  height: auto;
}
@media(max-width:991px){
  img.advertisement {
    max-width: 200px;
  }
}

/* sidebar labels */
.sticky-element span.text-muted {
  font-size: 0.85rem;
}

/* sidebar first title */
.sticky-element > h3 {
  margin-top: 15px;
}

/* main */
#main {
  padding-top: 24px;
  padding-bottom: 48px;
}
#main .page-content h1,
#main .page-content h2,
#main .page-content h3,
#main .page-content h4,
#main .page-content h5 {
  margin-bottom: 12px;
  margin-top: 32px;
}
#main .page-content > h1:first-child,
#main .page-content > h2:first-child,
#main .page-content > h3:first-child,
#main .page-content > h4:first-child,
#main .page-content > h5:first-child,
#main .page-content .page-title h1,
#main .page-content .page-title h2,
#main .page-content .page-title h3,
#main .page-content .page-title h4,
#main .page-content .page-title h5 {
  margin-top: 0;
}
#main .page-content p,
#main .page-content ul,
#main .page-content ol,
#main .page-content table {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.65rem;
}
#main .page-content li {

}
.page-title + .page-inner > p:first-child,
.page-title + .page-inner > .post-image:first-child {
  margin-top: 32px !important;
}

/* background colors */
.bg-met-bl-1 {
  background-color: #44687d;
}
.bg-met-bl-2 {
  background-color: #315d80;
}
.bg-met-bl-3 {
  background-color: #386b93;
}
.bg-met-bl-4 {
  background-color: #3f78a5;
}

/* text- colors */
.text-white-children * {
  color: #ffffff !important;
}

/* text-sizes */
.lead-children * {
  font-size: 1.25rem;
}
.lead-sm {
  font-size: 1.1rem !important;
}

/* breadcrumbs */
.breadcrumb {
  background-color: #fff;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 12px;
}
.breadcrumb-item {
  line-height: 36px;
}
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  color: #3f3f3f;
}

/* modals */
.modal-title {
  margin-top: 0;
}
.modal-backdrop.show {
  opacity: 0.4;
}
.modal-content {
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  border-radius: 0;
}
.modal-header {
  border-bottom: 0;
}
.modal-footer {
  border-top: 0;
}
.modal-body {
  padding-top: 0;
  padding-bottom: 0;
}

/* responsive video */
.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;
}

/* homepage login form */
.login-form-container {
  border: 2px solid #ccc;
  background-color: #f5f5f5;
  padding: 20px 20px 0 20px;
}

/* line height fix */
.line-height-inherit {
  line-height: inherit !important;
}

/* data alerts */
body > p.flash-message.success {
  background-color: #28a745 !important;
}
body > p.flash-message.error {
  background-color: #dc3545 !important;
}

/* alerts */
.alert.alert-warning {
  border-width: 2px;
  border-radius: 0;
}
.alert.alert-light {
  background-color: #f5f5f5;
  border-color: #ebebeb;
  border-width: 2px;
  border-radius: 0;
}

/* hr */
hr {
  border-color: #ebebeb;
  border-width: 2px;
  margin: 32px auto;
}

/* icons */
.icon::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* pointer events */
.pointer-events-none {
  pointer-events: none;
  color: inherit;
}

@media(min-width: 1200px){
  /* Base */
  .container-fluid {
    max-width: 1680px;
  }
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1500px;
  }
}
@media(max-width: 992px){
  /* Header */
  #header ul li:not(.nav-item) {
    margin: 0 6px 0 0;
  }
  #header .navbar-toggler .fas {
    color: #44687d;
  }
}
@media(max-width: 575px){
  /* Main */
  #main {
    padding-top: 40px;
  }

  /* Sidebar */
  .sidebar {
    margin-top: 50px !important;
  }
  .page-sidebar {
    margin-top: 40px !important;
  }

  /* Page title */
  .page-title h1 {
    font-size: 2.2rem;
    margin-top: 0 !important;
  }

  /* FR-view */
  .fr-view img {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
  }

  /* leads */
  * {
    font-size: 1rem;
  }
  .lead {
    font-size: 1rem;
  }
  .lead-children * {
    font-size: 1rem;
  }

  /* Titles */
  #main .page-content h1:not(.mt-0),
  #main .page-content h2:not(.mt-0),
  #main .page-content h3:not(.mt-0),
  #main .page-content h4:not(.mt-0),
  #main .page-content h5:not(.mt-0) {
    margin-bottom: 24px;
    margin-top: 24px;
  }
}

#header .navbar-toggler {
  /* border: 2px solid #ebebeb !important; */
  border: 2px solid #44687d !important;
  color: #44687d !important;
  outline: none !important;
  padding: 0.5em 0.75em;
  font-weight: 600;
}
#header .navbar-toggler .fas {
  color: #44687d !important;
}
#navigation-container {
  background-color: #ebebeb;
}
#navigation > div {
  border-top: 2px solid #ebebeb;
}
a {
  display: inline-block;
  padding: 0 2px;
}

#navigation .h5,
#footer .h5 {
  margin-bottom: 1rem;
  margin-top: 0;
  margin-top: 1.25rem;
  font-size: 1.1rem;
  line-height: 1 !important;
}
#footer .h5 {
  /* color: #aba48f; */
  /* color: #dddbd2; */
  color: #fff;
}
#navigation .nav-link,
#footer .nav-link {
  line-height: 1 !important;
  font-size: 0.9rem;
  margin: 0 -2px;
  padding: 6px 0px;
}
#footer .nav-link,
#footer .contact-link,
#footer .social-link {
  /* color: rgba(255,255,255,0.8); */
  color: rgba(255,255,255,1);
}
#footer .nav-link:hover,
#footer .contact-link:hover,
#footer .social-link:hover,
#footer .nav-link:focus,
#footer .contact-link:focus,
#footer .social-link:focus {
  color: rgba(255,255,255,1);
}
#header #search-form.search-form-footer button,
#footer #search-form.search-form-footer button,
#find-funeral-home button {
  color: #000;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 40px;
  height: 40px;
}
#header .image-affiliate,
#footer .image-affiliate {
  max-width: 164px;
}
#header .fab,
#footer .fab {
  margin-right: 8px;
}
#header .form-control,
#header .form-control:active,
#header .form-control:focus,
#footer .form-control,
#footer .form-control:active,
#footer .form-control:focus,
#find-funeral-home .form-control,
#find-funeral-home .form-control:active,
#find-funeral-home .form-control:focus {
  height: 40px;
  border: 0;
  border-bottom: 2px solid #fff;
}
#header .form-control:active,
#header .form-control:focus,
#header .form-control:hover,
#footer .form-control:active,
#footer .form-control:focus,
#footer .form-control:hover,
#find-funeral-home .form-control:active,
#find-funeral-home .form-control:focus,
#find-funeral-home .form-control:hover {
  border: 0;
  border-bottom: 2px solid #44687d;
}
.text-inherit {
  color: inherit !important;
}
.nav-link.header-link {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}
.border-top-bottom-transparent {
  border-bottom: 2px solid transparent;
  border-top: 2px solid transparent;
}
#header .social-link,
#footer .social-link {
  margin-right: 8px !important;
}


/* alerts */
.alert {
  border-width: 1px !important;
  border-radius: 0 !important;
  border-left-width: 4px !important;
}
.alert-primary {
  color: #fff;
  background-color: #44687d;
  border-color: #244357;
}

/* badges */
.badge-primary {
  background-color: #44687d;
}

/* breadcrumb */
.breadcrumb {
  padding: 0 !important;
}
textarea.form-control,
textarea.form-control:active,
textarea.form-control:focus {
  height: auto !important;
}

/* cards */
.card {
  border: 2px solid #d6d6d6;
  border-radius: 0;
}
.card-img,
.card-img-top {
  border-radius: 0;
}

/* jumbotron */
.jumbotron {
  background-color: #ebebeb;
  border-radius: 0;
}

/* scroll to top */
#scroll-to-top {
  background-color: #44687d;
  opacity: 0.9;
  z-index: 99;
  text-align: center;
  font-size: 1.5rem;
  line-height: 36px;
  border-radius: 0;
  cursor: pointer;
  position: fixed;
  height: 36px;
  width: 42px;
  right: 15px;
  bottom: 0;
}
#scroll-to-top:hover,
#scroll-to-top:focus {
  opacity: 1;
}

/* sidebar */
@media(max-width:991px){
  .sidebar {
    border-top: 2px solid #ebebeb !important;
  }
}

/* header */
@media(max-width:575px){
  .contact-column * {
    font-size: 0.8rem;
  }
}

@media(max-width:991px){
  .contact-column a:nth-of-type(3) {
    display: none;
  }
}

.list-group-item {
  padding-right: 2px !important;
  padding-left: 2px !important;
}


/* funeral home search */
#find-funeral-home-container {
  background-image: url('../img/funeral-home.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  width: 100%;
}
#find-funeral-home-container > div,
#find-funeral-home-companion-container > div {
  background-color: rgba(0,0,0,0.55);
  min-height: 265px;
  display: block;
  width: 100%;
}
#find-funeral-home-companion-container > div {
  background-color: rgba(0,0,0,0.45);
}
#find-funeral-home-companion-container {
  /* background-color: #ebebeb; */
  background-image: url('../img/nysfda-good-at-goodbyes-background.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  width: 100%;
}
#find-funeral-home-companion-container * {
  color: #fff;
}

/* blockquote */
.blockquote p {
  font-size: inherit;
  font-size: 1.2rem !important;
  padding-left: 50px;
  font-weight: 600;
  color: #000;
}
.blockquote p::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f059";
  font-size: 2.2rem;
  position: absolute;
  left: 3rem;
  width: 50px;
  height: 50px;
  padding: 0 !important;
  padding-top: 4px !important;
  line-height: 1 !important;
  color: #44687d;
}

.text-gold {
  color: #a19469;
}
.text-red {
  color: #a32638;
}
.small-hr {
  max-width: 200px;
  border-width: 4px;
  border-color: #44687d;
}
.animate-arrow > i {
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.animate-arrow:hover > i {
  margin-left: 6px;
}
.list-group {
  border-radius: 0;
}
.list-group-item {
  border-color: transparent;
  border-width: 2px;
  border-radius: 0;
  line-height: 1;
}
.list-group-item + .list-group-item {
  border-top-width: 2px;
}
.text-default {
  color: #44687d;
}

/* Reset */
#html-content:not(.text) {
    all: initial;
    * {
        all: unset;
    }
}

/* pagination */
#main .page-content ul.pagination {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 22px !important;
}
#main .page-content ul.pagination li a,
#main .page-content ul.pagination li span {
  display: inline-block;
  padding: 4px 12px;
  min-width: 44px;
  text-align: center;
  line-height: 32px !important;
  margin: 0 8px 0 0;
}
#main .page-content ul.pagination li.disabled {
  display: none;
}
#main .page-content ul.pagination li.active span {
  border: 2px solid transparent;
  font-weight: 600;
}
#main .page-content ul.pagination li:first-child a,
#main .page-content ul.pagination li:first-child span,
#main .page-content ul.pagination li:last-child a,
#main .page-content ul.pagination li:last-child span {
  padding: 4px 2px;
}
#main .page-content ul.pagination li:first-child a,
#main .page-content ul.pagination li:last-child a {
  color: transparent;
}
#main .page-content ul.pagination li:last-child span {
  opacity: 0;
}
#main .page-content ul.pagination li:first-child a[rel="prev"]::before {
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f30a";
  color: #44687d;
  font-size: 28px;
}
#main .page-content ul.pagination li:first-child a[rel="prev"]:hover::before,
#main .page-content ul.pagination li:first-child a[rel="prev"]:focus::before {
  color: #244357;
}
#main .page-content ul.pagination li:last-child a[rel="next"]::after {
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f30b";
  color: #44687d;
  font-size: 28px;
}
#main .page-content ul.pagination li:last-child a[rel="next"]:hover::after,
#main .page-content ul.pagination li:last-child a[rel="next"]:focus::after {
  color: #244357;
}

.border-left-4-blue {
  border-left: 4px solid #44687d;
}

.category-tag {
  font-size: 1.2rem;
}

/* responsive videos */
.responsive-iframe {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.responsive-iframe iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.nav-link {
  position: relative;
}
.nav-link.subitem:before {
  content: "";
  border-color: transparent rgba(0,0,0,0.5);
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  display: block;
  height: 0;
  width: 0;
  left: -0.9rem;
  top: 8px;
  position: absolute;
}
footer .nav-link.subitem:before {
  border-color: transparent rgba(255,255,255,0.5);
}


#header .login-logout-link {
  transform: translateY(-50%);
  position: absolute;
  right: 128px;
  top: calc(50% + 1px);
}
