/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 22 2025 | 20:12:23 */
:root {
  /* Animation timing function for smooth transitions */
  --animation-smooth: 0.5s cubic-bezier(.24, 0, 0, 1);
}
body {
  /* Font smoothing for better readability */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* BUTTONS */
.wp-block-button {
    position: relative;
}
.wp-block-button__link {
    padding-right: 32px !important;
	transition: var(--animation-smooth);
}
/*#field_2_8 .ginput_container.ginput_container_select {
    margin: 4px;
    border: 5px solid #b69574;
}*/
.single .post-navigation-link__title {
    -webkit-line-break: after-white-space;
}
.wp-block-button__link::before {
    content: '';
    display: inline-block;
    background-image: url(https://www.jpcbysamsic.uk/wp-content/uploads/2025/05/arrow_right.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 6px;
    height: 10px;
    margin-left: 8px;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
	transition: var(--animation-smooth);
}
.wp-element-button:hover {
	opacity: 1;
	background: var(--wp--preset--color--primary-80);
}
.wp-block-button:hover .wp-block-button__link::before{
	right: 12px;
}
elect#input_2_8 {
    font-size: 16px;
}
p.gform_required_legend {
    display: none;
}
span.gfield_required.gfield_required_asterisk
Specificity: (0,2,1)
 {
    color: white !important;
}
/* MENU */
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu, #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu{    
        transform: translate(0, 24px) !important;
        transition: var(--animation-smooth) !important;
    }
.hideMobile {
	display:flex !important;
}
.showMobile {
	display: none !important;
}
ul#mega-menu-max_mega_menu_2 {
    display: flex;
    align-content: center;
	    background-image: url(https://www.jpcbysamsic.uk/wp-content/uploads/2025/05/pattern-1.png) !important;
    background-position: bottom !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}
/* BUTTONs*/
.wp-block-button__link {
display: flex !important;
}
#mega-menu-wrap-max_mega_menu_2 #mega-menu-max_mega_menu_2 > li.mega-menu-flyout ul.mega-sub-menu {
float: none !important;

}
.wp-block-query-pagination-numbers {
    display: flex;
    gap: 8px;
}
 .page-numbers {
    padding: 8px 0px;
    border: 1px solid;
    text-decoration: none;
	transition:var(--animation-smooth);
	 width: 20px !important;
	 text-align: center;
	 display: block;
}
span.page-numbers.current {
    background: var(--wp--preset--color--primary-20);
}
a.wp-block-query-pagination-previous, a.wp-block-query-pagination-next {
    padding: 8px 16px;
    border: 1px solid;
    text-decoration: none;
	transition:var(--animation-smooth);
}
a.wp-block-query-pagination-previous:hover, a.wp-block-query-pagination-next:hover,  .page-numbers:hover{
    background: var(--wp--preset--color--primary-20);
}
/*TEXT*/
.wp-block-post h4 {
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 3.4rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/* FOOTER */
footer img.wp-block-cover__image-background {
    object-fit: contain !important;
}
/* TABS */
.atbs-tabs-fe8dd63c .tabs-nav .tab-title {
    margin: 8px !important;
}
.wp-block-atbs-tabs .tabs-titles {
    background-color: transparent !important;

}
span.tab-title-text {
    text-align: center;
}
.page-id-872 main {
    min-height: 80vh;
}
form.post-password-form {
    padding: 80px 0px !important;
}
/*HEADER*/
.site-header {
	transition: var(--animation-smooth) !important;
}

.site-header .wp-block-site-logo img {
	height: 60px;
	transition: height var(--animation-smooth)!important;
}
.site-header.scrolled .wp-block-site-logo img {
	height: 50px;
}
header.site-header.wp-block-template-part {
    position: fixed;
    z-index: 2;
    width: 100%;
    top: 0;
}
	.site-content {
    margin-top: 89px !important;
}
/* QUERIES */
@media (max-width: 812.98px) {
.hideMobile {
	display:none !important;
}
.showMobile {
	display: flex !important;
}
}
@media (max-width: 768.98px) {
	.home .wp-block-post figure {
		display: none;
	}
	.wp-block-buttons.is-content-justification-right {
    justify-content: flex-start !important;
}
	.wp-block-post h4 {
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    overflow: visible;
    height: fit-content ;
    display: flex;
    -webkit-box-orient: vertical;
}
	.reverse-col-mobile {
    flex-direction: column-reverse !important;
}

}