/*
Theme Name: 2025 / Jade Medical
Theme URI: 
Author: WP team / Peter Aylward
Description: Twenty Twenty-Five converted to Jade Medical
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* ************************************************
 Gecko specials
************************************************ */
button:focus,
a:focus,
input:focus,
div:focus,
textarea:focus {
    outline: none;
}

/* * {
  text-decoration:none !important;
} */

h1 {
  text-align: center; /* optional */
}

/* Force footer to bottom */
html, body {
  height: 100%;
  margin: 0;
}

.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wp-site-blocks > main,
.wp-site-blocks > #main {
  flex: 1;  /* Main content takes remaining space */
}

footer {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

 /* **************************************************
   customised login
 ************************************************** */
 /* Customize Login Screen */
body.login .button-primary {
  background-color: #004c4c;
  border-color: #004c4c;
  box-shadow: 0 1px 0 #004c4c;
}

body.login .button-primary:active,
body.login .button-primary:focus,
body.login .button-primary:hover {
  background-color: #004c4c;
  border-color: #004c4c;
  box-shadow: 0 1px 0 #004c4c;
}

body.login {
  background-color: #e0f3df;
}

.login h1 a {
  color: #004c4c !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  text-indent: 0 !important;
}

/* ************************************************
make swiper button visible within the image
************************************************ */
.swiper-button-prev {
	left: 20px !important;
	color: white !important;
}
.swiper-button-next {
	right: 20px !important;
	color: white !important;
}
/* *************************************************
scroll of header / smooth
************************************************* */
.heading-logo {
  transition: margin-top 0.3s ease;
}

/***************************************************
 overlay 2 images keep responsive 
 **************************************************/
 .overlay-gallery-homepage ul {
  flex-wrap: nowrap !important;
  li:nth-child(1) {
  		margin-left: 20%;
	}
	li:nth-child(2) {
  		margin-top: 4%;
  		margin-left: -20%;
	}

}

/* for tablet */
@media (max-width: 1000px) {
  .overlay-gallery-homepage ul {
    li:nth-child(1) {
        margin-left: 5%;
    }
    li:nth-child(2) {
        margin-top: 5%;
        margin-left: -10%;
    }
  }
}

@media (max-width: 700px) {
  .overlay-gallery-homepage ul {
    li:nth-child(1) {
        margin-left: 0%;
    }
    li:nth-child(2) {
        margin-top: 5%;
        margin-left: -50%;
    }
  }
}
/***************************************************
 overlay 2 images keep responsive 
 **************************************************/
 .overlay-gallery-about ul {
  flex-wrap: nowrap !important;
  /* li:nth-child(1) {
  		margin-left: 0%;
	} */
	li:nth-child(2) {
  		margin-top: 60%;
  		margin-left: -10%;
	}

}

/* for tablet */
@media (max-width: 1024px) {
  .overlay-gallery-about ul {
    figure {
      max-width: 300px !important;
    }
    li:nth-child(2) {
        margin-top: 0%;
        margin-left: 0%;
    }
  }
}

@media (max-width: 700px) {
  .overlay-gallery-about ul {
    li:nth-child(1) {
        margin-left: 0%;
    }
    li:nth-child(2) {
        margin-top: 0%;
        margin-left: 0%;
    }
  }
}

.small-service-image {
	max-height: 200px;
}

/* *************************
scroll to top
************************ */
.custom-scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #63757E;
  color: #fff;
  padding: 8px 14px;
  font-size: 22px;
  border-radius: 50%;
  display: none;
  text-decoration: none;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

@media (max-width: 700px) {
  .custom-scroll-top {
    bottom: 30px;
    right: 20px;
    /* padding: 4px 12px; */
    font-size: 18px;
  }
}

.custom-scroll-top:hover {
  background-color: #555;
}

/* contact form */
.jm-contact-form textarea,
.jm-contact-form input,
.lj-contact-form select,
.jm-contact-form .kb-checkbox-item,
.jm-contact-form .kb-radio-item {
  font-family: "Roboto" !important;
  &::placeholder {
    color: rgb(157,167,172,1);
  }
}

.jm-contact-form .kb-checkbox-item,
.jm-contact-form .kb-radio-item {
	font-size: 16px;
	font-weight: 400;
	color: #414040;
	/* color: #000; */
	input[type="checkbox"],
	input[type="radio"] {
		margin-left: 20px;
		margin-right: 10px;
		height: 18px;
		width: 18px;
	}
}


/*******************************************************
/* scroll padding for jump to links on achors 
*****************************************************/
#renewal-of-vows,
#funerals-memorials,
#writing-coaching {
  scroll-margin-top: 150px; /* Adjust based on your header height */
}
#renewal-of-vows-faqs,
#funerals-memorials-faqs,
#writing-coaching-faqs {
  scroll-margin-top: 120px; /* Adjust based on your header height */
}

@media (max-width: 700px) {
  #renewal-of-vows,
  #funerals-memorials,
  #writing-coaching,
  #renewal-of-vows-faqs,
  #funerals-memorials-faqs,
  #writing-coaching-faqs {
    scroll-margin-top: 80px; /* Adjust based on your header height */
  }

}


/* ***************************************
scale up various ways
*************************************** */
.scaleup_02 {
  transition: transform 0.3s ease-in-out;
  &:hover {
    transform: scale(1.02);
  }
}
.scaleup_05 {
  transition: transform 0.3s ease-in-out;
  &:hover {
    transform: scale(1.05);
  }
}
.scaleup_20 {
  transition: transform 0.3s ease-in-out;
  &:hover {
    transform: scale(1.2);
  }
}

