:root {
  --header-background: #3a55a4;
  --light-contrast-color:   #fdfdfd; 
  --white-color: #ffffff;
  --bg-white-color: #ffffff;
  --dark-contrast-color: #969696;
  --nav-color: var(--light-contrast-color);
  --heading-color: var(--nav-color);
  --alt-color: #00a95a;
  --main-color: #3a55a4;
  --gray-bg-color: #f6f6f6;
  --danger-color: #dc3545;
  --blue: #3a55a4;
}

.header {
  background-color: #fff; /*var(--header-background);*/
  color: #3a55a4; /*var(--nav-color);*/
  padding: 0px;
}

.bg-alt-color {
  background-color: var(--alt-color);
  color: var(--light-contrast-color);
}

.bg-main-color {
  background-color: var(--main-color);
  color: var(--light-contrast-color)
}

.bg-white-color {
  background-color: var(--bg-white-color);
  color: var(--dark-contrast-color);
}

.bg-white-color .bg-main-color h1, 
.bg-white-color .bg-main-color h2, 
.bg-white-color .bg-main-color h3, 
.bg-white-color .bg-main-color h4, 
.bg-white-color .bg-main-color h5, 
.bg-white-color .bg-main-color h6 {
  color: var(--light-contrast-color);
}

.bg-white-color .bg-alt-color h1, 
.bg-white-color .bg-alt-color h2, 
.bg-white-color .bg-alt-color h3, 
.bg-white-color .bg-alt-color h4, 
.bg-white-color .bg-alt-color h5, 
.bg-white-color .bg-alt-color h6 {
  color: var(--light-contrast-color);
}

.bg-white-color h1, 
.bg-white-color h2, 
.bg-white-color h3, 
.bg-white-color h4, 
.bg-white-color h5, 
.bg-white-color h6 {
  color: var(--dark-contrast-color);
}

.bg-transparent {
  background-color: transparent;
}

.bg-gray-color {
  background-color: var(--gray-bg-color);
}

.color-alt-color {
  color: var(--alt-color);
}

.color-main-color {
  color: var(--main-color);
}

.color-white-color {
  color: var(--white-color);
}

.color-danger-color {
  color: var(--danger-color);
}

.color-dark-contrast-color {
  color: var(--dark-contrast-color);
}

.hover-alt-color:hover {
  color: var(--alt-color);
}

.hover-alt-color-outline:hover {
  border: 1px solid var(--alt-color);
}

.hover-main-color:hover {
  color: var(--main-color);
}

.hover-white-color:hover {
  color: var(--white-color);
}

.hover-transparent-bg:hover {
  background-color: transparent !important;
}

.hover-accent-color:hover {
  color: var(--accent-color);
}

.hover-danger-color:hover {
  color: var(--danger-color);
}

.btn-alt-color {
  background-color: var(--alt-color);
  border-color: var(--alt-color);
}

.btn-alt-color:hover {
  background-color: var(--white-color);
  border-color: var(--alt-color);
  color: var(--alt-color);
}

.btn-static-main-color {
  /* does not change on hover */
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.btn-static-main-color:hover {
  /* does not change on hover */
  background-color: var(--main-color);
  border-color: var(--main-color);
  cursor: auto;
}

.btn-main-color {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.btn-main-color:hover {
  background-color: var(--transparent-color);
  border-color: var(--main-color) !important;
  color: var(--main-color);
}

.btn-white-color {
  background-color: var(--bg-white-color);
  border-color: var(--bg-white-color);
}

.btn-white-color:active,
:not(.btn-check) + .btn-white-color:active,
.btn-white-color:hover {
  color: var(--white-color);
  background-color: transparent;
  border-color: var(--white-color);
}

.btn-outline-alt-color {
  color: var(--alt-color);
  border-color: var(--alt-color);
}

.btn-outline-alt-color:hover {
  background-color: var(--alt-color);
  border-color: var(--alt-color);
  color: var(--light-contrast-color);
}

.landing-image {
  background-image: url("../../assets/img/masonry-portfolio/masonry-portfolio-13.jpg");
  background-position: center;
  background-size: cover;
  height: 95vh;
}

section.about-us {
  
}

.sample-memorial-card>*:last-child {
  border-bottom-right-radius: var(--bs-border-radius) !important;
  border-bottom-left-radius: var(--bs-border-radius) !important;
}

.navmenu ul li:last-child {
  /*background-color: var(--alt-color);*/
  margin-left: 40px;
}

.navmenu ul.dropdown-list li:last-child {
  background-color: unset;
}

.navmenu ul.dropdown-list li:hover > a {
  background-color: unset;
}
 
.navmenu ul li {
  font-weight: bold;
}

@media (min-width: 1200px) {
  .navmenu ul li a {
    padding: 25px 15px;
  }
  
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus {
    font-weight: 400;
    color: green; /*var(--nav-color);*/
    border-bottom: 2px solid green;
    /*background-color: rgba(0, 0, 0, 0.3);*/
  }
  
  .navmenu li:last-child a {
    /*padding-right: 15px;*/
    background: #009961;
    padding: 6px 15px;
    border-radius: 50px;
    color: #fff;
  }
  
  .navmenu ul li:last-child.no-alt-bg {
    background-color: unset;
  }
}


.testimonials-carousel {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.testimonials-container {
  position: relative;
  width: 68%;
  left: 15%;
  display: flex; 
  flex-wrap: nowrap;
  justify-content: center;
}

.testimonials-carousel .testimonials-container .card {
  flex: none; 
  width: 100%;
  margin-left: 5px;
  margin-right: 5px;
  position: relative;
  left: 0px;
}

.testimonials-container .card{
  transition-property: left, opacity;
  transition-delay: 0ms;
  transition-duration: 400ms;
}

.sample-memorial-card {
  width: 280px;
  flex-shrink: 0;
}

.sample-memorial-card img {
  width:280px;
}

.horizontal-testimonial-card {
  max-width: 280px; 
}

@media (max-width: 576px) {
  .horizontal-testimonial-card {
    text-align: center;
    max-height: 400px;
    overflow: scroll;
  }
}

@media (min-width: 576px) {
  .horizontal-testimonial-card {
    height: 120px;
  }
  
  .horizontal-testimonial-card .card-col {
    height: 100%;
  }
  
  .horizontal-testimonial-card .card-col .card-body {
    height: 100%;
    overflow: scroll;
  }
}

.bg-white-color .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.bg-white-color .carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon.light-color-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon.light-color-control {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.footer > div.container {
  height: 80px;
}

.footer .logo {
  max-width: 70px;
}

.footer a {
  color: var(--main-color) !important;
  font-weight: bolder;
  font-size: 0.9rem;
}

.footer ul {
  list-style-type: none;
}

.footer ul li {
  display: inline-block;
  padding-left: 4%;
}

@media (max-width: 576px) {
  .footer ul li {
    display: block;
  }
}

ul.services-list  {
  color: var(--main-color);
  font-weight: bold;
  padding-left: 0px;
  list-style-type: none;
}

ul.services-list  li i {
  padding-right: 1rem;
}

.rounded-border-input {
  border-radius: 0.375rem;
  border-width: 2px;
  border-style: solid;
  border-color: var(--dark-contrast-color);
  color: var(--dark-contrast-color);
}

#signin-form input, #signup-form input {
  height: 2.8rem; 
  border-color: transparent;
  border-radius: 12px;
  padding: 1rem;
  font-weight: normal;
}

#signin-form input.btn, #signup-form input.btn {
  padding: unset;
}

.horizontal-rule {
  display: inline-block;
  position: relative;
  bottom: 50%;
  border-bottom: solid 2px white;
}

.alt-sign-in {
   height: 2.8rem; 
   padding: 1rem; 
   border-radius: 12px;
   background-color: var(--white-color);
   font-size: 0.9rem;
}

.alt-sign-in img:first-child {
  width: 17%;
}

.swiper-slide:not(.swiper-slide-visible) {
  opacity: 0%;
}

@media (min-width: 768px) {
  .package-col {
    width: fit-content;
    height: 400px;
    display: flex;
    align-items: center;
  }
  
  .package-container.pricing-start {
    margin-left: auto;
  }
  
  .package-container {
    width: 240px; 
    display: flex; 
    flex-direction: column;
  }
  
  .package-container ul.benefits {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .package-container ul.benefits li {
    flex-grow: 1;
  }
  
  .package-container.pricing-end {
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .package-container {
    max-width: 240px; 
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.package-container .benefits {
  list-style-type: none;
  padding-left: 0px;
  line-height: 2;
}

/*
$grid-breakpoints: (
  xs: 0,
  sm: 576px,
  md: 768px,
  lg: 992px,
  xl: 1200px,
  xxl: 1400px
);
*/

@media(min-width: 992px) {
  .memorial-section {
    padding-left: 10%;
    padding-right: 10%;
  }
  
  .memorial-aside {
    border-right: 1px solid var(--dark-contrast-color);
  }
  
  .memorial-aside > * {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Login form
------------------------------*/
.custom_form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.custom_form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.custom_form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.custom_form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: login-form-loading 1s linear infinite;
}

@keyframes custom_form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Login Section
--------------------------------------------------------------*/
.custom_form .info {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.custom_form .info h3 {
  font-weight: 600;
  font-size: 24px;
}

.custom_form .info p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 30px;
  font-size: 15px;
}

.custom_form .info-item+.info-item {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.custom_form .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease-in-out;
  margin-right: 20px;
}

.custom_form .info-item h4 {
  padding: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.custom_form .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.custom_form .custom_form_element {
  width: 100%;
}

.custom_form .custom_form_element .form-group {
  padding-bottom: 8px;
}

.custom_form .custom_form_element input[type=text],
.custom_form .custom_form_element input[type=email],
.custom_form .custom_form_element input[type=password],
.custom_form .custom_form_element textarea {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.custom_form .custom_form_element input[type=text]:focus,
.custom_form .custom_form_element input[type=email]:focus,
.custom_form .custom_form_element input[type=password]:focus,
.custom_form .custom_form_element textarea:focus {
  border-color: var(--accent-color);
}

.custom_form .custom_form_element input[type=text]::placeholder,
.custom_form .custom_form_element input[type=email]::placeholder,
.custom_form .custom_form_element input[type=password]::placeholder,
.custom_form .custom_form_element textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.custom_form .custom_form_element input[type=text],
.custom_form .custom_form_element input[type=email],
.custom_form .custom_form_element input[type=password]
{
  height: 48px;
  padding: 10px 15px;
}

.custom_form .custom_form_element textarea {
  padding: 10px 12px;
  height: 290px;
}

.custom_form .custom_form_element button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 13px 50px;
  transition: 0.4s;
  border-radius: 4px;
}

.custom_form .custom_form_element button {
  background: var(--background-color);
  color: var(--default-color);
  border-width: var(--bs-border-width);
  border-color: var(--accent-color);
  padding-left: 14px;
  padding-right: 14px;
  transition: 0.4s;
  border-radius: 0px;
}

.custom_form .custom_form_element button:hover {
  color: color-mix(in srgb, var(--accent-color) 90%, black 15%);
  border-radius: 4px;
}
.custom_form .custom_form_element button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
  color: var(--contrast-color);
}

.custom_form .custom_form_element button[type=submit][disabled=disabled] {
  background: color-mix(in srgb, var(--accent-color) 50%, white 50%);
}

.min-vh-40 {
  min-height: 40vh !important;
}

.min-vh-50 {
  min-height: 50vh !important;
}

.small-header {
  font-size: 15px;
}

.main {
  min-height: 70vh;
}

.rounded-button {
  background-color: var(--accent-color);
  border-radius: 30px;
  padding: 8px 30px;
  border: 2px solid transparent;
  transition: 0.3s all ease-in-out;
  font-size: 14px;
  color: var(--contrast-color) !important;
}

.rounded-button:hover {
  border-color: var(--accent-color);
  background-color: transparent;
  color: var(--accent-color) !important;
}

.heading-color-button {
  background-color: var(--heading-color);
}

.heading-color-button:hover {
  border-color: var(--heading-color);
  background-color: transparent;
  color: var(--heading-color) !important;
}

.red-color-button {
  background-color: var(--bs-danger);
}

.red-color-button:hover {
  border-color: var(--bs-danger);
  background-color: transparent;
  color: var(--bs-danger) !important;
}

.heading-color-hollow-button {
    border-color: var(--heading-color);
    background-color: transparent;
    color: var(--heading-color) !important;
}

.heading-color-hollow-button:hover {
  background-color: var(--heading-color);
  border-color: var(--heading-color);
  color: var(--contrast-color) !important;
}

.accent-color-hollow-button {
    border-color: var(--accent-color);
    background-color: transparent;
    color: var(--accent-color) !important;
}

.accent-color-hollow-button:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color) !important;
}

.danger-color-hollow-button {
    border-color: var(--bs-danger);
    background-color: transparent;
    color: var(--bs-danger) !important;
}

.danger-color-hollow-button:hover {
  background-color: var(--bs-danger);
  border-color: var(--bs-danger);
  color: var(--contrast-color) !important;
}

.btn-danger-color {
  background-color: var(--danger-color);
}

.btn-danger-color:hover {
  background-color: transparent;
  border-color: var(--danger-color);
  color: var(--danger-color);
}


.my_memorials .card:hover {
  border-color: var(--accent-color);
}

.my_memorials .card-title {
  color: var(--heading-color);
}

.memorial-card {
  width: 300px;
}

.memorial-card .memorial-caption, .memorial-card .memorial-card-heading {
  overflow: scroll;
}

.memorial-subtitle {
	display: block;
	margin-top: 20px;
	font-size: 14px;
	color: color-mix(in srgb, var(--heading-color), transparent 10%);
}

.cursor-pointer {
  cursor: pointer;
}

.remove-icon {
  cursor: pointer;
  color: red;
  display: inline-block;
  float: right;
}

.map_div { height: 180px; }


/*
 Widgets
*/
.memorial-cover-widget img {
  border-radius: 5px;
}

.memorial-cover-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin: 15px 0 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.memorial-cover-widget .social-links {
  margin: 5px 0;
}

.memorial-cover-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin: 0 3px;
  font-size: 18px;
}

.memorial-cover-widget .social-links a:hover {
  color: var(--accent-color);
}

.memorial-cover-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

.no-border {
  border-width: 0px;
}

.thin-border {
  border-width: 1px;
}

.border-main-color {
   border-color: var(--main-color);
}

.custom.border-main-color {
   border-color: var(--main-color) !important;
}

.no-outside-boder-list-group {
  border-width: 0px;
}

.no-outside-boder-list-group .list-group-item {
  border-left: 0px;
  border-right: 0px;
}

.no-outside-boder-list-group .list-group-item:first-child {
  border-top: 0px;
}

.no-outside-boder-list-group .list-group-item:last-child {
  border-bottom: 0px;
}

.no-box-shadow {
  box-shadow: none !important;
}

.edit_memorial_section_header {
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
}

.circled-icon {
  width: fit-content; 
  padding: 4px; 
  line-height: 0px; 
  border-radius: 50%; 
  border: 2px solid black;
}

.htmx-indicator{
    display:none;
}
.htmx-request .htmx-indicator{
    display:inline;
}
.htmx-request.htmx-indicator{
    display:inline;
}

.htmx-request .hide-during-request {
  display: none;
}
