/*
Theme Name: Just By Design 2025
Template: twentytwentyfour
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: Just By Design
Author URI: http://justbydesign.com/
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.6
Description:
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: jbd2025-twentytwentyfour-child
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
*/
.heading-size-xxl, .heading-size-xxl *{
    font-size: clamp(50.18px, 2.886rem + ((1vw - 3.2px) * 5.618), 80px);
}
.heading-size-xl{
    font-size: clamp(46.18px, 2.886rem + ((1vw - 3.2px) * 5.618), 75px);
}
.heading-size-1{
	font-size: clamp(35.2px, 2.2rem + ((1vw - 3.2px) * 2.824), 64px);
	font-weight: 800;
}
.heading-size-2{
	font-size: clamp(26.014px, 1.563rem + ((1vw - 3.2px) * 1.93), 46px);
}
.heading-size-3-alt{
	font-size: clamp(22.041px, 1.378rem + ((1vw - 3.2px) * 1.586), 30px);
	font-weight:500;
}
.heading-size-4{
	font-size: clamp(15.747px, 0.984rem + ((1vw - 3.2px) * 0.809), 22px);
}


body:not(.home) .sec-linkedin{
	display:none;
}
h5{
	line-height:1.6;
}
#mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box{
	background-image: url('/wp-content/themes/jbd2025-twentytwentyfour-child/assets/img/menu-icon.png');
	width: 47px !important;
    height: 30px !important;
}
#mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box span{
	display:none;
}
.home .strong-rating{
	display:inline-block;
	background-image: url('/wp-content/themes/jbd2025-twentytwentyfour-child/assets/img/stars.png');
	width: 165px !important;
    height: 24px !important;
}
.home .strong-rating span.star,
.home .strong-view.controls-style-buttons3 .wpmslider-next:before, .home .strong-view.controls-style-buttons3 .wpmslider-prev:before{
	display:none !important;
}
.home .strong-view.controls-style-buttons3 .wpmslider-next, .home .strong-view.controls-style-buttons3 .wpmslider-prev{
	background-image: url('/wp-content/themes/jbd2025-twentytwentyfour-child/assets/img/arrow-o.png');
	width: 44px !important;
    height: 44px !important;
	background-repeat:no-repeat;
	background-position:center center;
	background-color: #fff;
	border-radius: 50%;
	top: calc(50% - 69px);
}
.home .strong-view.controls-style-buttons3 .wpmslider-prev{
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	transform: rotate(180deg);
}
body footer .social-icons a:hover {
    background-color: #f3573f;
}
body:not(.home) .page-title{
	max-width: 100%;
    text-align: center;
}
body .block-media-and-text .wrapper-inner:before{
	display:none;
}
body .text-text__media .inner {
    padding: 50px;
    text-align: left;
}

.text-accordion >div>div>p{
	margin:0 !important;
}
.text-accordion .sp-easy-accordion .sp-ea-single{
	background: transparent !important;
}
.row-aligned-left>div>div{
	justify-content: flex-start !important;
}
body .button-white-bordered .button{
	padding: 10px 10px 10px 20px !important;
    border: 1px solid #fff;
    margin-top: 10px;
    min-width: 400px !important;
}
body .button-white-bordered .button:after{
	margin-left:20px;
}
.wp-site-blocks:before{
	content:'';
	display:block;
	position:absolute;
	top:0;
	left:0px;
	width:100%;
	height: 300px;
	z-index:-1;
	background-color:#385056;
}
.home .swiper{
	overflow:visible !important;
}
.home .swiper-button-next, .home .swiper-button-prev{
	top: auto !important;
    bottom: -46px;
    z-index: 999;
    background: none !important;
    background-image: url(/wp-content/themes/jbd2025-twentytwentyfour-child/assets/img/arrow-right.png) !important;
    width: 55px;
    height: 16px;
    border: 0;
    left: auto !important;
    right: 70px !important;
	outline: none;
}
.home .swiper-button-prev{
	right: 150px !important;
	background-image: url(/wp-content/themes/jbd2025-twentytwentyfour-child/assets/img/arrow-left.png) !important;
}
.home .swiper-button-next:after, .home .swiper-button-prev:after{
	display:none !important;
}
.text-highlight >div{
	position:relative;
	min-height:90px;
}
.text-highlight h2{
	animation: slide-left-to-right 10s linear infinite;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
	z-index: 20;
}
.page-title-bar-text h1{
	color:#fff;
}
body .row>.img-display-alt:before{
	display:none;
}
.wp-block-cover__image-background-shortcode img{
	border: none;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.media-text__media{
	padding:0 !important;
}
body .gallery-grid{
	margin:0;
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
	justify-content: space-between;
}
.gallery-grid li{
	width:calc(25% - 20px);
}
.block-recent-posts .item-caption{
	margin:20px 0;
}
.block-recent-posts .item-caption{
	margin:20px 0;
}
.block-recent-posts .item-caption h3 a{
	text-decoration:none;
}
body .block-recent-posts .row{
	row-gap:40px;
}
.single header + main.wp-block-group{
	padding-top: 143px !important;
}

#caf-post-layout-container{
	padding: 0 0 20px;
}
body #caf-post-layout-container ul.dropdown{
	padding: 0px 0 10px 0 !important;
}
body #caf-post-layout-container  .caf-post-title{
	background-color: transparent;
}
body .caf-post-layout1 .manage-layout1{
	background-color: #fff;
    padding-bottom: 40px;
	    height: 100%;
}
body .caf-post-layout1 .caf-content-read-more{
	background: #fff;
    padding: 5px 10px;
    position: absolute;
    bottom: 10px;
}
body .data-target-div1 .caf-post-layout1 a.caf-read-more{
	color: #f3573f !important;
    background: none !important;
    border: 0;
    padding: 0;
    text-decoration: underline !important;
    -webkit-text-underline-position: under;
    -ms-text-underline-position: below;
    text-underline-position: under;
}

.custom-logo, h1 img{
	transform: unset !important;
}
.custom-link-logo{
	position:relative;
}
.custom-link-logo a{
	position:absolute;
	top:0px;
	left:0px;
	display: block;
    width: 100%;
    height: 100%;
}
.envirabox-theme-base .envirabox-caption-wrap.outside{
	background-color: #385056db !important;
    padding: 20px !important;
	display:none !important;
}
.envira-gallery-item .envira-title{
	background-color: #fff !important;
    padding: 10px !important;
}
.envira-caption.envira-gallery-captioned-text{
	display:none !important;
}

.caf-meta-content .author,
.caf-meta-content .comment{
	display:none !important;
}

.table-pricing{
	overflow-x: auto;
}
.table-pricing table{
	margin: 0 auto;
	min-width: 700px;
}
.table-pricing thead{
	background-color: #ebebeb;
}
.table-pricing tbody tr{
	background-color: #fefefe;
}
.table-pricing tbody tr:nth-child(even){
	background-color: #f7f7f7;
}
.table-pricing table th,
.table-pricing table td{
	padding: 15px;
}

.home .strong-view.nav-position-outside .wpmslider-controls .wpmslider-pager.wpmslider-custom-pager{
	display: flex;
    justify-content: center;
    flex-wrap: nowrap;
	align-items: baseline;
}
.home .strong-view.nav-position-outside .wpmslider-controls .wpmslider-pager.wpmslider-custom-pager div a.active{
	height:3px !important;
}

.page-template-wp-custom-template-landing-page .wp-site-blocks:before{
	display:none;
}
.lp-cta{
	overflow:hidden;
}
.lp-top >div{
	position:relative;
	z-index:2;
}
.lp-top:after{
	content: '';
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 600px;
    background-image: url(/wp-content/uploads/2025/09/bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
	z-index:1;
}
.text-hint >div{
	max-width: 50%;
    padding: 0 50px;
}
.text-box ul{
	list-style:none;
	padding-left:0;
}
.text-box ul li{
	background-image: url(/wp-content/uploads/2025/09/list.png);
    background-position: top left;
    background-repeat: no-repeat;
	padding-left: 33px;
    padding-bottom: 20px;
}
.page-template-wp-custom-template-landing-page footer .sec-row{
	display:none;
}
.page-template-wp-custom-template-landing-page .gform_wrapper form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .page-template-wp-custom-template-landing-page .gform_wrapper form select, .page-template-wp-custom-template-landing-page .gform_wrapper form textarea{
	border-radius: 20px;
}
.page-template-wp-custom-template-landing-page .gform_wrapper form textarea{
	padding-top: 10px !important;
}
body.page-template-wp-custom-template-landing-page .gform_wrapper input[type="submit"]{
	border-width: 0;
    color: var(--wp--preset--color--base-2);
    text-transform: uppercase;
    text-decoration: none !important;
    min-width: 200px;
    min-height: 48px;
    display: inline-flex;
    -webkit-justify-content: center;
    justify-content: center;
    text-align: center;
    -webkit-align-items: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 30px !important;
    border: 1px solid #fff !important;
    background-color: #f3573f !important;
}
body.page-template-wp-custom-template-landing-page .gform-theme--framework .gfield_description:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
	color:#fff !important;
}
body.page-template-wp-custom-template-landing-page .gform-theme--framework .gform_validation_errors{
	background-color:#fff;
}
body.page-template-wp-custom-template-landing-page .sp-easy-accordion .ea-header{
	border: 1px solid #444444;
    border-radius: 30px;
}

@media screen and (min-width: 601px){
	body a.book-call{
		position: fixed;
		-webkit-transform: rotate(-90deg);
		-moz-transform: rotate(-90deg);
	    transform: rotate(-90deg);
	    right: 33px;
	    bottom: 55%;
	    transform-origin: right;
		z-index: 999;
	}
}
@media screen and (min-width:640px){
	.envira-caption.envira-gallery-captioned-text{
		display:none !important;
	}
	.envirabox-theme-base .envirabox-caption-wrap.outside{
		display:block !important;
	}
}
@media screen and (min-width:992px){
	.img-float img{
		position: absolute;
	    top: 0;
	    left: 0;
	    max-width: none;
	}
}

@media screen and (max-width:575px){
	.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item{
		width:100% !important;
	}
	.testimonial-section .swiper-wrapper{
		height:300px !important;
		max-height:300px !important;
	}
}
@media screen and (max-width:600px){
	.home .main-content + .sec-row{
		padding-top:100px !important;
	}
	body .row>.img-display-alt:before{
		width: 100px;
    	height: 27px;
		background-size:contain;
	}
	    header .wp-block-site-logo {
        max-width: 40% !important;
    }
}
@media screen and (max-width:991px){
	body .text-text__media .inner {
	    padding: 0;
	    text-align: left;
	}
	.header-wrapper .button{
		min-width:100px;
	}
}
@keyframes slide-left-to-right {
    0% {
		-webkit-transform: translateX(100%); 
		-moz-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
		-webkit-transform: translateX(-100%);
		-moz-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}