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

/* base */
* {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-size: 100%;
  color: #000;
}
html {
  background-color: #fff;
}
body {
  opacity: 0;
}

/* snowday banner */
#snowday {
  background-color: #2a506e;
  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 #preheader,
#header #mainheader {
  display: block;
  width: 100%;
}
#header #preheader {
  border-bottom: 2px solid #ebebeb;
  padding: 12px 0;
}
#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 {
  background-color: #ebebeb;
  padding: 15px;
  height: 100px;
  width: 100px;
  float: left;
}
#header #brand img {
  max-height: 72px;
}
#header #navigation {
  width: calc(100% - 100px);
  float: right;
  height: 100%;
}
#header #navigation *{
  text-decoration: none;
}
#header #navigation .navbar {
  height: 100%;
}
@media(max-width:992px){
  #header #navigation .navbar {
    height: auto;
  }
}
#header #navigation .navbar .nav-link {
  display: inline-block;
  margin-right: 2px !important;
}
#header #navigation .navbar .nav-link,
#header #navigation .navbar .dropdown-toggle {
  padding-left: 8px !important;
  padding-right: 8px !important;
}
#header #navigation .navbar .dropdown-toggle {
  font-weight: 600;
}
#header #navigation .navbar .nav-link,
#header #navigation .navbar .nav-link:visited {
  font-weight: 600;
  color: #2a506e;
}
#header #navigation .navbar a:hover,
#header #navigation .navbar a:focus,
#header #navigation .navbar a:active {
  color: #4687b9;
}
#header #navigation .navbar .nav-link {
  padding-right: 0;
}
#header #navigation .navbar .nav-link:not(:first-of-type) {
  padding-left: 0;
}
#header #navigation .navbar .btn-outline-success {
  background-color: #fff;
  height: 44px;
}
#header #navigation .navbar .btn-outline-success:hover,
#header #navigation .navbar .btn-outline-success:focus,
#header #navigation .navbar .btn-outline-success:active {
  background-color: #28a745;
}
#header .navbar-toggler {
  position: absolute;
  right: 15px;
  top: 28px;
}
.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 {
  padding: 60px 0 40px;
  background-color: #2a506e;
  color: rgba(255,255,255,.6);
}
footer .logo {
  max-width: 124px;
}
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%;
  color: white;
}
footer nav .nav-link {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  line-height: 1.6 !important;
  /* color: #b2cde2; */
  color: white;
}
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: #2a506e;
  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: #3a6f99;
  text-decoration: none !important;
  border-color: #4584b5;
}
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: #2a506e;
}
.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;
}
.btn-primary,
.btn-primary:visited {
  background-color: #2a506e;
  border-color: #2a506e;
  font-weight: 600;
  box-shadow: none;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #4687b9;
  border-color: #4687b9;
  font-weight: 600;
  color: #fff;
}
.btn-outline-success {
  border-width: 2px;
  border-radius: 0;
  font-weight: 600;
}

/* 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: auto;
  height: auto;
}

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

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

/* pagination */
.pagination {
  margin-top: 40px !important;
  font-weight: 600;
  display: block;
}
.pagination li {
  font-size: 1.2rem !important;
}
.pagination li:nth-of-type(1) {
  float: left;
}
.pagination li:nth-of-type(2) {
  float: right;
}

/* main */
#main {
  padding-top: 60px;
  padding-bottom: 60px;
}
#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.8rem;
  font-size: 1.1rem;
}
#main .page-content li {

}
#main .page-content table a {
  text-decoration: none;
}
#main .page-content table tr {
  border-top: 1px solid #eee;
}
#main .page-content table tr td {
  padding-top: 12px;
  padding-bottom: 12px;
}
#main .page-content table tr td:nth-of-type(2) {
  text-align: right;
}
.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: #2a506e;
}
.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;
}

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

/* icons */
.icon::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
[rel="prev"]::before {
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f359";
  margin-right: 8px;
}
[rel="next"]::after {
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f35a";
  margin-left: 8px;
}
.pagination li.disabled {
  opacity: 0;
}

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

@media(max-width: 992px){
  /* Header */
  #header ul li:not(.nav-item) {
    margin: 0 6px 0 0;
  }
  #header #navigation {
    width: 100%;
    float: right;
  }
  #header #navigation .navbar {
    padding: 0;
  }
  #header .navbar-toggler {
    border: 2px solid #eee;
    padding: 0.5em 0.75em;
  }
  #header .navbar-toggler .fas {
    color: #2a506e;
  }
  #primaryNavigation li {
    display: block;
    width: 100%;
  }
  #primaryNavigation li a {
    display: block;
    width: 100%;
    line-height: 22px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  #primaryNavigation .dropdown-menu {
    border: 0;
    padding-left: 10px;
  }
  #primaryNavigation .dropdown-menu .dropdown-item {
    white-space: normal;
  }
  #primaryNavigation .form-inline {
    padding-right: 15px;
    padding-left: 10px;
  }
  #navigation input.form-control {
    width: 100%;
  }
  #primaryNavigation ul {
    width: 100%;
  }
}
@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;
  }
}
