/*
Theme Name: British Judo Trust

Author:       Robert Carr

Author URI:   https://carrdesign.co.uk/

Description: The British Judo Trust is a WordPress theme for creative, digital marketing, marketing business website, marketing consultant, digital agencies, freelancers, design studios, seo, social media marketing based theme. The British Judo Trust theme has a really eye-catching homepage. The homepage's headers and footers improve the website's appearance. This theme is artistically stunning and compatible with the latest version of WordPress. This theme is compatible with numerous SEO plugins, including Yoast SEO and Rank Math. The theme works great with any of your favorite page builder likes Elementor, Beaver Builder, SiteOrigin, Thrive Architect, Divi, Visual Composer, etc.

Version: 1.0

License: GNU General Public License version 2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: bjt_theme

Requires PHP:  5.6

Tested up to: 6.8

Tags:blog, news, one-column, two-columns, right-sidebar, block-styles, custom-colors, editor-style, custom-background, custom-menu, featured-images, template-editing, full-site-editing, block-patterns,  threaded-comments, wide-blocks, translation-ready

*/

body.page-template-front .site-main-header {
	width:100%;
	z-index:999;
}
.site-main-header {
	position:relative;
}
.clear {
	clear:both;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "gamay-narrow", sans-serif;
	font-weight: 700;
	font-style: normal;
	margin-top: 0px;
}
/*dropdown menu background color*/

.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
	background-color:#ffffff;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container li {
	padding:5px 0;
	border-bottom:1px solid #eee !important;
}
.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
	padding-top:30px !important
}
.wp-block-navigation__submenu-container.wp-block-navigation-submenu li ul {
	padding-top:0 !important;
	left:100% !important;
	right:auto !important;
}
.header-navigation.wp-block-navigation {
	padding:5px 0 !important;
}
.wp-block-group.header-main-banner {
	position:relative;
}
.fse-sections-02 {
	position:relative !important;
}
.welcome-wrap {
	position:relative !important;
	z-index:9999;
}
/* = Sidebar CSS

----------------------------------------------- */

.st-widgetBX ul.wp-block-latest-posts li {
	margin-bottom:20px;
	min-height:80px;
}
.st-widgetBX ul.wp-block-latest-posts li a.wp-block-latest-posts__post-title {
	margin-bottom:5px !important;
	display:block;
	line-height:20px;
}
/* = Contact Form 7 CSS

----------------------------------------------- */

.wpcf7 {
	margin:30px 0 0;
	padding:0;
}
.wpcf7 input[type="text"],  .wpcf7 input[type="tel"],  .wpcf7 input[type="email"] {
	width:40%;
	color:#797979;
	margin-bottom:0;
	border:1px solid #cccccc;
	box-shadow:inset 1px 1px 2px #ccc;
	height:40px;
	padding:0 15px;
}
.wpcf7 textarea {
	color:#797979;
	margin-bottom:25px;
	border:1px solid #cccccc;
	box-shadow:inset 1px 1px 2px #ccc;
	padding:10px;
	width:60%;
	height:160px;
	font-size:12px;
}
.wpcf7 input[type="submit"] {
	border-radius:40px;
	cursor:pointer;
	background-color:#60c19f;
	padding:20px 40px;
	color:#ffffff;
	font-weight:600;
	border:none;
	font-size:16px;
	width:auto;
	text-transform:uppercase;
}
.wpcf7 input[type="submit"]:hover {
	background-color:#101010;
}
/* = Footer CSS

----------------------------------------------- */

.site-footer {
	position:relative;
}
.site-footer h3.wp-block-heading {
	position:relative;
}
 .site-footer h3.wp-block-heading::after {
 content: '';
 width: 40px;
 height: 3px;
 background: #4baf4f;
 position: absolute;
 left: 0;
 bottom: 0;
}
footer.wp-block-template-part {
	margin-block-start:0 !important
}
.Footer-QuickLinks {
	list-style:none !important;
	padding:0 !important;
}
.Footer-QuickLinks li {
	list-style:none !important;
	padding:5px 0 5px 0 !important;
}
.Footer-QuickLinks li a:hover {
	text-decoration:none;
}
.footer-latest-news li {
	margin-bottom:10px;
}
.wp-block-social-links.footer-social li {
	border-radius:10px;
}
.wp-block-social-links.footer-social li a {
	padding:12px;
}
ul.gv-latest-posts {
	margin:0;
	padding:0;
}
ul.gv-latest-posts li {
	list-style:none;
	margin-bottom:15px;
}
ul.gv-latest-posts li .wp-block-latest-posts__featured-image {
	margin-top:6px;
}
ul.gv-latest-posts li .wp-block-latest-posts__featured-image img {
	border-radius:10px;
}
ul.gv-latest-posts li .wp-block-latest-posts__post-title {
	margin-bottom:15px;
	display:block;
	line-height:22px;
}
ul.gv-latest-posts li .wp-block-latest-posts__post-title:hover {
	color:#8cc73e;
}
/* = Blog page Design CSS

----------------------------------------------- */

ul.blog-list-style {
	margin:0;
	padding:0;
}
ul.blog-list-style li {
	margin-bottom:40px;
	display:flow-root;
}
ul.blog-list-style li a.wp-block-post-excerpt__more-link {
	padding:10px 20px;
	border-radius:10px
}
ul.blog-list-style li .blog-thumbnail.wp-block-post-featured-image a,  ul.blog-list-style li .blog-thumbnail.wp-block-post-featured-image img {
	height:auto;
	width:auto;
	border-radius:10px;
}
ul.blog-list-style li h3.wp-block-post-title {
	display:flex;
}
.wp-block-group.PostStyle-1 {
	display:flow-root;
}
.wp-block-column.fse-page-layout {
	border-radius:5px;
	display:flow-root;
}
.wp-block-group.st-widgetBX {
	display:flow-root;
	padding:10px !important;
	border-radius:15px;
}
.advertising-image {
	position:relative !important;
}
 .advertising-image::after {
content:'';
width:200px;
height:220px;
position:absolute;
left:0;
top: 0px;
background:#ff8c4e;
border-radius:15px;
}
.bz-imagebox img {
	position:relative !important;
	z-index:999 !important;
}
.Bz-footer-infobar {
	margin-top:-65px !important;
}
.Bz-footer-infobar figure.wp-block-image {
	background-color:#383838;
	width:55px !important;
	height:55px !important;
	line-height:55px !important;
	border-radius:55px !important;
	text-align:center;
}
.Bz-footer-infobar figure.wp-block-image img {
	vertical-align:middle !important;
}
.wp-block-latest-posts.wp-block-latest-posts__list li {
	margin-bottom:15px;
}
main.wp-container-core-group-is-layout-08f5c33b {
	padding-bottom:100px !important;
}

.what_can_do {
	background: url(assets/images/cta_gradient.png) no-repeat center top / 60% auto transparent;
}
.image_border_radius img {border-radius: 25px;}

.image_border_radius .vc_single_image-wrapper:before {
    content: "";
    position: absolute;
    bottom: 0px;     /* show behind bottom part */
    left: -10px;
    width: 70%;
    height: 60%;    /* adjust */
    background: #00a0af;
    z-index: -1;
    border-radius: 25px
}

footer .current-menu-item a span {
    color: #00a0af !important;
}

/* Desktop overlap */
.overlap-wrapper {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.overlap-wrapper .img-main {
    display: block;
    width: 450px;
    height: auto;
    border-radius: 25px;
}

.overlap-wrapper .img-overlay {
    position: absolute;
    bottom: -200px;  /* Overlap amount */
    right: -30px;   /* Overlap amount */
    width: 350px;   /* Overlay image size */
    height: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-radius: 25px;
}

/* ?? Mobile – keep overlap but smaller */
@media (max-width: 767px) {
    .overlap-wrapper .img-main {
        width: 250px; /* optional: scale main image too */
    }

    .overlap-wrapper .img-overlay {
        width: 110px;   /* ?? Smaller overlay portrait */
        bottom: -10px;  /* Slight overlap */
        right: -10px;   /* Slight overlap */
    }
}
