/*!
Theme Name: Ryan Oconnell
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ryan-oconnell
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
==============================
Global Style Start
==============================
*/
:root{
	--theme-color:#E14763;
	--default-color:#6C798E;
}
html {
	height: 100%;
}
body{
	margin:0;
}
img,svg{
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}
iframe{
	max-width:100%;
}
p:last-of-type {
	margin: 0;
}
.py-7{
	padding-top:70px;
	padding-bottom:70px;
}
.pt-7{
	padding-top:70px;
}
.pb-7{
	padding-bottom:70px;
}
#page{
	overflow: hidden;
}
.box-shadow{
	box-shadow: rgba(51, 51, 51, 0.18) 0px 0px 3px 0px;
	padding:15px;
}
a,button,input,textarea,select{
	outline:none !important;
	text-decoration:none !important;
	box-shadow:none !important;
}
a[href^=tel] {
	text-decoration:inherit;
	color: inherit;
}
body .wp-block-image:not(.is-style-rounded).image-radius img {
	border-radius:20px;
}
.slick-list {
	margin: 0 -10px;
}
.slick-slide {
	margin: 0 10px;
}
/* Slick Slider */

.itemMargin .slick-slide {
	margin-right:10px;
	margin-left:10px;
}
.itemMargin .slick-list {
	margin: 0 -10px;
}
.stagePaddingRight .slick-slide{
	margin-left:20px;
}
.stagePaddingRight .slick-list{
	margin:0;
	padding:0 20% 0 0 !important;
}

/* Slick Slider */

input::-webkit-input-placeholder ,
textarea::-webkit-input-placeholder {
	opacity:1;
	color: rgba(0,0,0,0.6);
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	opacity:1;
	color: rgba(0,0,0,0.6);
}
input::placeholder,
textarea::placeholder {
	opacity:1;
	color: rgba(0,0,0,0.6);
}
input,
textarea{
	color: rgba(0,0,0,0.6);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px white inset !important;
	box-shadow: 0 0 0 30px white inset !important;
}
/*
============================================================
Global Style End
============================================================
*/



/*
============================================================
Theme Style Will Start From Here
============================================================
*/


@media only screen and (min-width:992px) {
	.container {
		max-width: 1140px;
	}
}

@media only screen and (max-width:991px) {
	.container {
		max-width:1024px;
	}
}

@media only screen and (max-width:767px) {
	.container {
		max-width:767px;
	}
}

.home header:not(.elementor-editor-active header){
	position:absolute !important;
	width:100%;
	top:0;
	left:0;
	background:transparent;
	z-index:999;
}
.home.admin-bar header{
	top:32px !important;
}

/* Only remove width constraints on home page - no other changes */
@media (min-width: 992px) {
    .home .elementor-nav-menu--main .elementor-nav-menu {
        flex-wrap: nowrap !important;
    }
}

@media only screen and (max-width:991px) {

	.home.admin-bar header{
		top:46px !important;
	}
	#wpadminbar{
		position: fixed;
		top:0;
	}
}


.primary-btn{
	font-family: "Raleway", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 18.78px;
	color: #ffffff !important;
	background: #508EFF;
	box-shadow: 0px 4px 33px rgba(55, 231, 255, 0.15);
	border-radius: 5px;
	border-style: none;
	padding: 13px 30px 13px 30px;
	transition:0.3s all ease;
}
.primary-btn:hover{
	background-color:#000000;
}
.secondary-btn{
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	padding: 13px 30px 13px 30px;
	color:#000000 !important;
	font-family: "Raleway", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 18.78px;
	transition:0.3s all ease;
	display: inline-block;
}
.secondary-btn:hover{
	background:#508EFF;
	color:#ffffff !important;
	border-color:#508EFF;
}
.secondary-btn.center-align {
	margin-left: auto;
	margin-right: auto;
	display: block;
	width: max-content;
}
.secondary-btn.right-align {
	display: block;
	width: max-content;
	margin-left: auto;
}

.home:not(.elementor-editor-active) footer,
.page-about-me:not(.elementor-editor-active) footer,
.blog:not(.elementor-editor-active) footer,
.archive:not(.elementor-editor-active) footer,
.single:not(.elementor-editor-active) footer,
.page-template-page-video:not(.elementor-editor-active) footer,
.page-template-page-financial-model:not(.elementor-editor-active) footer{
	padding-top:150px !important;
}
.home-hire-me:not(.elementor-editor-active .home-hire-me){
	margin-bottom:-100px;
	z-index:11;
}


/*
==================================================
Inner Hero Style Start
==================================================
*/

.inner-hero {
	height: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.inner-hero-content h1 {
	font-size: 58px !important;
	line-height: 67.97px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin:0 !important;
}
@media only screen and (max-width:991px) {

	.inner-hero {
		height:300px;
	}

}
@media only screen and (max-width:767px) {

	.inner-hero {
		height:250px;
	}
	.inner-hero-content h1{
		font-size:35px !important;
		line-height:45px !important;
	}
}

/*
==================================================
Inner Hero Style End
==================================================
*/


/*
==================================================
Blog Page Style Start
==================================================
*/

/* Filter */

.search-filter {
	max-width: 670px;
	margin-left: auto;
	margin-right: auto;
	background: #FFFFFF;
	box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
	border-radius: 15px;
	padding: 15px;
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: -38px;
}
.wp-block-search__button.wp-element-button {
	display: none;
}
.wp-block-search__label {
	display: none;
}
.custom-search{
	position:relative;
	max-width:calc(100% - 280px)
}
.custom-search::before{
	position:absolute;
	content:"\f002";
	width:24px;
	height:24px;
	top:50%;
	transform:translateY(-50%);
	left:10px;
	font-family: "Font Awesome 6 Free";
	font-weight:900;
	color: rgba(0,0,0,0.6);
}
.custom-search input {
	border:none;
	padding: 10px;
	color: rgba(0,0,0,0.6);
	padding-left:40px;
	max-width:100%;
}
.cat-filter ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cat-filter li {
	display: block;
	padding:0;
}
.cat-filter li,.cat-filter li a {
	color: rgba(0,0,0,0.6);
	transition: 0.6s all ease;
	line-height:33px;
}
.cat-filter li a:hover {
	color: #508EFF;
}
.cat-filter li:not(:first-child){
	display:none;
}
.cat-filter {
	width: 260px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 8px;
	padding:0 10px;
	position: relative;
	cursor:pointer;
	height:46px;
}
.cat-filter ul {
	position: relative;
	top: 5px;
}
.cat-filter::after {
	position: absolute;
	content: "\f107";
	width: 15px;
	height: 15px;
	line-height:15px;
	top: 50%;
	transform: translateY(-50%);
	right: 10px;
	pointer-events: none;
	font-family:"Font Awesome 6 Free";
	font-weight: 900;
}
.cat-filter.active li {
	display: block !important;
}
.cat-filter.active ul{
	position:absolute;
	background:#fff;
	width:100%;
	height:auto;
	left: 0;
	padding: 0 10px;
}



/* Filter End */



/* Big Post */

.blog-post-blocks{
	padding-bottom:70px;
}
.big-post-block{
	padding-top:70px;
	padding-bottom:70px;
}
.big-block-thumb {
	display: block;
}
.big-block-thumb img {
	border-radius: 10px;
}

.big-post-cat {
	padding: 0;
	margin: 0;
	list-style: none;
}
.big-post-cat li {
	display: inline-block;
	font-size: 20px;
	font-weight: 600;
	color: #508EFF;
	line-height: 23.44px;
	margin-right: 20px;
}
.big-post-content h3 {
	font-size: 24px;
	font-weight: 600;
	line-height: 36.22px;
	margin: 10px 0;
}
.big-post-content h3 a {
	color: #000;
}
.big-post-short-description {
	color: rgba(0,0,0,0.5);
}
.big-post-author-meta {
	margin-top: 25px;
	position:relative;
	padding-left:60px;
}
.author-img{
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	left:0;
}
.author-img img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}
.big-post-author-meta h4 {
	color: #508EFF;
	font-size: 20px;
	line-height: 23.44px;
	margin-bottom:5px;
	text-transform: capitalize;
}
.big-post-author-meta p {
	color: rgba(0,0,0,0.7);
	font-size: 12px;
	line-height: 14.06px;
}
/* Big Post End */

.small-post-thumb {
	height: 235px;
	border-radius: 7px;
}
.small-post-box {
	margin-top: 30px;
}
.small-post-meta {
	color: rgba(0,0,0,0.6);
	margin: 10px 0 4px 0;
}
.small-post-cat {
	margin: 0;
	padding: 0;
	list-style: none;
}
.small-post-cat li {
	display: inline-block;
	color: #508EFF;
	font-size: 16px;
	line-height: 18.75px;
	font-weight: 600;
	margin-right: 10px;
}
.small-post-box h4 {
	color: #000;
	font-size: 16px;
	line-height: 24.14px;
	margin-top: 5px;
}
.small-post-box a {
	transition: 0.3s all ease;
	margin-top: 10px;
	display: block;
	color:#000 !important;
}
.small-post-box a:hover {
	color: #508EFF !important;
	text-decoration: underline !important;
}


/*
==================================================
Blog Page Style End
==================================================
*/

/*
==================================================
Media Box Style Start
==================================================
*/

.post-box{
	background: #FFFFFF !important;
	box-shadow: 0px 4.37306px 43.7306px rgba(0, 0, 0, 0.08) !important;
	border-radius: 12px;
	display:block;
	color:#000000 !important;
	margin-top:30px;
}
.post-thumb {
	height: 240px;
	border-radius: 12px 12px 0 0;
}
.post-thumb iframe{
	width:100%;
	height:100%;
	border-radius:12px 12px 0 0;
}
.post-content{
	padding:0 20px 20px 20px;
}
.post-meta {
	color: rgba(0,0,0,0.5);
	font-size: 16px;
	line-height: 26px;
	margin: 10px 0 8px 0;
}
.post-box h3 {
	font-size: 20px;
	line-height: 23.44px;
	font-weight: 400;
	min-height: 70px;
}
.short-description {
	height: 103px;
	overflow: hidden;
}
.short-description p {
	color: rgba(1,1,1,0.6);
}
.posts-navigation a:hover {
	text-decoration: underline !important;
	color: #508EFF !important;
}
.navigation.posts-navigation {
	margin-top: 28px;
}

/*
==================================================
Media Box Style End
==================================================
*/

/*
==================================================
Single Post Sidebar Style Start
==================================================
*/

.r-post-thumb {
	width: 95px;
	height: 95px;
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: 0;
}
.related-post-box {
	display: block;
	position: relative;
	min-height: 95px;
	padding-left: 105px;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid rgba(0,0,0,0.3);
	color: #000;
}
.r-post-cat {
	margin: 0;
	padding: 0;
	list-style: none;
}
.r-post-cat li {
	display: block;
	color: #508EFF;
	font-size: 12px;
	line-height: 20px;
}
.r-post-content h4 {
	color: #000;
	font-size: 16px;
	line-height: 24.14px;
}
.sidebar-title{
	color:#508EFF;
	font-size:20px;
	line-height:23px;
	font-weight:600;
	margin-bottom:30px;
}

/*
==================================================
Single Post Sidebar Style End
==================================================
*/



/*
==================================================
Video Page Style Start
==================================================
*/

.video-blocks {
	padding: 70px 0;
}
.big-video-content p {
	color: rgba(0,0,0,0.7);
}
.big-video-content h2 {
	margin-bottom: 20px;
}
.big-video-block {
	padding-bottom: 40px;
}
.big-video iframe {
	border-radius: 10px;
}
.small-video-box {
	margin-top: 30px;
	background: #FFFFFF;
	border: 1px solid #D9D9D9;
	border-radius: 10px;
	padding: 10px;
	padding-bottom: 20px;
}
.small-video iframe {
	height: 200px;
	border-radius: 10px;
}
.small-video-box h3 {
	color: #000;
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
	margin: 10px 0;
}
.small-video-box p {
	color: rgba(0,0,0,0.7);
}

/*
==================================================
Pagination Style Start
==================================================
*/
.pagination-wrap {
	margin-top: 50px;
}
.pagination-wrap ul.page-numbers {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	justify-content: center;
}
.pagination-wrap .page-numbers li .page-numbers {
	display: block;
	color: #000;
	background-color:#FAFAFA;
	padding: 2px 10px;
	min-width: 55px;
	line-height: 2;
	text-align: center;
	border-radius:10px;
	-webkit-border-radius: 5px;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
}
.pagination-wrap .page-numbers li .page-numbers:hover, .pagination-wrap .page-numbers li .page-numbers.current{
	background-color:#508eff;
	color: #FFF;
}
/*
==================================================
Video Page Style End
==================================================
*/


/*
==================================================
Financial Models Page Style Start
==================================================
*/

.product-block {
	padding:50px 0;
}
.product-content h3 {
	color: #000;
	font-size: 48px;
	line-height: 56.25px;
	font-weight: 600;
	margin: 0;
}
.price {
	color: #508EFF;
	font-size: 24px;
	line-height: 40px;
	font-weight: 700;
	margin: 6px 0;
	display: block;
}
.price > * {
	text-decoration: none;
}
.price del {
	color: rgba(0,0,0,0.5);
	margin-right:10px;
}
.product-content p {
	color: rgba(0,0,0,0.7);
}
.add_to_cart_button,
.added_to_cart {
	background: #508EFF;
	border-radius: 5px;
	color:#fff !important;
	padding:12px 30px;
	display:inline-block;
	margin-top:20px;
	transition:0.3s all ease;
}
.add_to_cart_button:hover,
.added_to_cart:hover{
	background:#000;
}
.add_to_cart_button.added{
	display: none;
}
.product-blocks {
	padding-top: 50px;
	padding-bottom: 70px;
}
.page-title {
	margin-bottom: 30px;
}

/*
==================================================
Financial Models Page Style End
==================================================
*/

/*
==================================================
Cart Page Style Start
==================================================
*/

.cart_totals h2 {
	font-size: 40px;
	margin-bottom: 15px;
	margin-top: 10px;
}
.order-total strong {
	color: #508EFF;
	font-size: 20px;
}
.checkout-button {
	background: #000 !important;
	transition: 0.3s all ease;
}
.checkout-button:hover {
	background: #508EFF !important;
}


/*
==================================================
Cart Page Style End
==================================================
*/

/*
==================================================
Checkout Page Style Start
==================================================
*/

.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea,
#coupon_code{
	padding: 14px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}
.select2-container--default .select2-selection--single{
	border-color:rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}
.select2-dropdown{
	border-color:rgba(0, 0, 0, 0.1);
}
.woocommerce-input-wrapper textarea{
	resize: none;
	height:150px !important;;
}
.select2-selection__rendered {
	line-height: 49px !important;
}
.select2-container .select2-selection--single {
	height: 49px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 11px;
	right: 10px;
}
#order_review_heading {
	margin-top: 30px;
}
#place_order {
	background: #000;
	padding: 15px 20px;
	transition: 0.3s all ease;
	margin-top:20px;
}
#place_order:hover {
	background: #508EFF;
}
.checkout_coupon.woocommerce-form-coupon button,
.woocommerce-cart-form button {
	padding: 16px 20px !important;
}
.checkout_coupon.woocommerce-form-coupon {
	max-width: 600px;
}
#coupon_code {
	width: 250px;
	padding:11px 15px;
}

/*
==================================================
Checkout Page Style End
==================================================
*/


/*
==================================================
Form Style Start
==================================================
*/

.form-close img {
	width: 15px;
}
.form-close {
	width: 30px;
	position: absolute;
	right: 15px;
	top: 15px;
	cursor: pointer;
	border: 1px solid #000;
	border-radius: 50%;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.field input, .field textarea {
	width: 100%;
	border: 1px solid #ddd;
	padding: 13px;
	border-radius: 10px;
}
.field {
	margin-top: 20px;
}
.field textarea {
	resize: none;
	height: 150px;
}
.submit-field {
	text-align: center;
	margin-top: 20px;
	position: relative;
}
.contact-form-popup {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow:auto;
	padding:50px;
	transition:0.3s all ease;
	opacity:0;
	visibility: hidden;
	z-index:-1;
}
.contact-form-popup.isOpen{
	opacity:1;
	visibility: visible;
	z-index:9999;
}
.form-inner {
	max-width:1100px;
	background: #fff;
	padding: 50px;
	border-radius: 15px;
	position: relative;
	margin:auto;
}
.contact-form-popup .submit-field {
	text-align: left;
}
.form-left img{
	margin-top:50px;
}
.popup-form {
	padding-left: 50px;
}

/*
==================================================
Form Style End
==================================================
*/

#Field-numberInput {
	padding: 10px;
	border: 1px solid #000;
}



.breaker::after {
	content:"";
	display:block;
	clear:both;
}
.free-download-form-wrap {
	margin-top: 20px;
}
.related.products h2 {
	margin-bottom: 30px;
}
/**/
.pop-up-wrap {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	display: none;
}
.pop-up-wrap.active {
	display: flex;
}
.pop-up-wrap .bg-wrap {
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	z-index: 30;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
.pop-up-wrap .in-wrap {
	background-color: #FFF;
	max-width: 1200px;
	width: 90%;
	position: relative;
	z-index: 50;
	height: 90%;
	line-height: 1.2;
}
.pop-up-wrap .in-wrap p {
	margin-bottom: 15px;
}
.pop-up-wrap .in-wrap small {
	margin-bottom: 30px;
	font-size: 12px;
	color: rgba(0, 0, 0, 0.5);
	display: block;
}
.pop-up-wrap .in-wrap .row {
	height: 100%;
}
.pop-up-wrap .btn-close-pop-up {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 20;
	color: #000;
	font-size: 30px;
}
.pop-up-wrap .thumb-wrap {
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.pop-up-wrap .product-detail-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
}
.pop-up-wrap .product-detail-wrap .form-wrap {
	max-width: 400px;
	width: 100%;
	padding: 50px;
	text-align: center;
}
.pop-up-wrap .product-detail-wrap .form-group {
	margin-bottom: 20px;
}
.pop-up-wrap .product-detail-wrap .form-wrap h2 {
	font-size: 20px;
	line-height: 1.4;
	margin: 0 0 20px;
	color: #508EFF;
}
.pop-up-wrap .processing .btn-form-download {
	opacity: .5;
}
.pop-up-wrap .button-wrap {
	position: relative;
}
.pop-up-wrap .loading-ajax {
	opacity: 0;
	max-width: 50px;
	position: absolute;
	right: 0;
	top: 50%;
}
.pop-up-wrap .processing .loading-ajax {
	opacity: 1;
}

/*
==========================================================================
CUSTOM CALCULATOR STYLES
==========================================================================
This section contains all custom styling for the financial calculators
on ryanoconnellfinance.com.
*/


/*
===========================================================
GREEK CHART CONTAINER & CANVAS SIZING
===========================================================
*/

/* --- Universal container for all calculator charts --- */
.calculator-chart-container {
	width: 100%;
	max-width: 900px;
	margin: 20px auto;
}

/* --- Wrapper for each individual chart --- */
.calculator-chart-wrapper {
	position: relative;
	width: 100%;
	margin-bottom: 30px !important;
}

/* Keep the old classes for backward compatibility with your Greeks calculator */
.greeks-chart-container {
	width: 100%;
	max-width: 900px;
	margin: 20px auto;
}

.chart-wrapper {
	position: relative;
	width: 100%;
	margin-bottom: 30px !important;
}

/*
==========================================================================
Sitewide Additional CSS (Consolidated)
==========================================================================
*/

p.coupon-one, p.coupon-two {
	margin: 0px !important;
	font-size: 14px !important;
}

.btn-div {
	cursor: pointer !important;
}

.elementor-4690 .elementor-element.elementor-element-de2b7a9:not(.elementor-motion-effects-element-type-background),
.elementor-4690 .elementor-element.elementor-element-de2b7a9 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #FFFFFF;
	cursor: pointer !important;
}



/* Calculater - page */

.calculators-template-default h2{
	font-family: "Roboto", Sans-serif !important;
	font-size: 64px !important;
	font-weight: 600 !important;
	line-height: 77px !important	;
}

.calculators-template-default [data-id="3f0420c7"] h2{
	font-family: "Roboto", Sans-serif !important;
	font-size: 42px !important;
	font-weight: 600 !important;
	line-height: 50px !important	;
	margin-bottom:16px !important;
}

.calculators-template-default [data-id="3f0420c7"] .elementor-widget-heading{
	margin:0px !important;
}

.calculators-template-default .elementor-widget-heading {
	margin:50px 0px 0px 0px !important;
}

.calculators-template-default .section_breaks{
	padding:0px !important;
}

.calculators-template-default .elementor-widget-theme-post-content{
	margin:0px !important;
}

.calculators-template-default h3{
	font-family: "Roboto", Sans-serif !important;
	font-size: 42px !important;
	font-weight: 600 !important;
	line-height: 50px !important;
	margin-top: 30px !important; /* Reduced from 120px */
	margin-bottom: 15px !important; /* Added bottom margin */
}

.calculators-template-default h4{
	font-family: "Roboto", Sans-serif !important;
	font-size: 32px !important;
	font-weight: 600 !important;
	line-height: 38px !important;
	margin-top: 25px !important; /* Reduced from 50px */
	margin-bottom: 10px !important; /* Added bottom margin */
}

/* Add H5 styling with reasonable margins */
.calculators-template-default h5{
	font-family: "Roboto", Sans-serif !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	line-height: 30px !important;
	margin-top: 20px !important;
	margin-bottom: 8px !important;
}

/* Reduce section break label margins for Template 13 specifically */
.cp_cff_13 #fbuilder .fields.section_breaks>label {
	margin: 0.3em 0 !important; /* Reduced from 1em */
}

/* Override any excessive H3 margins within form fields */
.calculators-template-default #fbuilder .fields h3 {
	margin-top: 0 !important;
	margin-bottom: 10px !important;
}

.calculators-template-default p{
	font-family: "Roboto", Sans-serif !important;
	font-size: 18px !important; /* increased from 16px */
	font-weight: 400 !important;
	line-height: 29px !important; /* increased proportionally */
}

.calculators-template-default li {
	font-family: "Roboto", Sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 29px !important;
	margin-bottom: 8px !important;
}

.calculators-template-default #phera_center{
	text-align:center !important;
	max-width:890px !important;
	margin-left:auto !important;
	margin-right:auto !important;
}


/* Universal Calculator Form Styling */
#fbuilder > div {
	width:881px !important;
}

body #fbuilder .medium {
	width: 267px !important;
	max-width:267px !important;
}

/* Universal CFF Form Container Styling */
.cp_cff_box {
	display: flex !important;
	justify-content: center !important;
	max-width: 800px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Universal text centering for all calculator input fields */
.cp_cff_box input[type="text"],
.cp_cff_box input[type="number"],
.cp_cff_box input.cpcff-field,
.cp_cff_box .calculated-field input,
.cp_cff_box .cff-calculated-field input,
.cp_cff_box .cpcff-calculated,
.cp_cff_box .cp_cpcff_more > div > input,
input[type="text"],
input[type="number"],
input.cpcff-field,
.calculated-field input,
.cff-calculated-field input,
.cpcff-calculated,
.cp_cpcff_more > div > input,
#fbuilder input[type="text"],
#fbuilder input[type="number"],
#fbuilder .calculated-field input,
#fbuilder .cff-calculated-field input {
	text-align: center !important;
}

/* Additional universal styling for dropdown centering */
#fbuilder select,
.cp_cff_box select,
.cp_cff_13 #fbuilder select,
.cp_cff_13 #fbuilder .select2-selection--single {
	text-align: center !important;
	text-align-last: center !important;
	width: 267px !important;
	padding: 12px 19px !important;
	font-family: Roboto !important;
	font-size: 22px !important;
	border: 1px solid #e6e6e6 !important;
	border-radius: 8px !important;
	line-height: 26px !important;
}

input[type="number"]:focus{
	border-color: #508EFF !important;
}
/*It common id for all calculators*/
.fields.cff-radiobutton-field {
	margin-bottom:35px !important;
}

/* Universal calculator styling - works everywhere */
.fields.section_breaks label,
.calculators-template-default .fields.section_breaks label {
	font-family: Roboto !important;
	font-size:28px !important;
	font-weight:700 !important;
	line-height:45px !important;
	color:#000 !important;
}



/* Universal field labels for all calculator forms */
.fields label,
.calculators-template-default .fields label {
	font-family: Roboto !important;
	font-size:20px !important;
	font-weight:600 !important;
	line-height:32px !important;
	color:#000 !important;
	margin-bottom:7px !important;
}



/* Universal help text for all calculator forms */
.fields .uh,
.calculators-template-default .fields .uh {
	font-family: Roboto !important;
	font-size:14px !important;
	font-weight:400 !important;
	line-height:22px !important;
	color: #4D4D4D !important;
	margin-top:7px !important;
	font-style: italic !important;
	max-width:252px !important;
	margin-left:auto !important;
	margin-right:auto !important;
}
/*number fields box - universal styling*/
.fields.cff-number-field .dfield input.field.number,
.calculators-template-default .fields.cff-number-field .dfield input.field.number,
.cp_cff_13 #fbuilder input[type="number"],
.cp_cff_13 #fbuilder input[type="text"] {
	padding:12px 19px !important;
	width:267px !important;
	font-family: Roboto !important;
	font-size:22px !important;
	font-weight:400 !important;
	line-height:26px !important;
	color: #000 !important;
	border: 1px solid #e6e6e6 !important;
	border-radius: 8px !important;
}


/* Calculated field styling - universal */
.fields.cff-calculated-field .dfield input,
.calculators-template-default .fields.cff-calculated-field .dfield input,
.cp_cff_13 #fbuilder .cff-calculated-field input,
.cp_cff_13 #fbuilder .calculated-field input {
	padding:12px 19px !important;
	width:267px !important;
	font-family: Roboto !important;
	font-size:22px !important;
	font-weight:400 !important;
	line-height:26px !important;
	color: #000 !important;
	border: 1px solid #e6e6e6 !important;
	border-radius: 8px !important;
	background-color: #f5f5f5 !important;
}

.fields.section_breaks {
	margin-top: 20px !important; /* Reduced from 35px */
	margin-bottom: 15px !important; /* Reduced from 25px */
}

/* Universal CFF Form Layout & Centering */
#fbuilder,
.cp_cff_13 #fbuilder {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
}

/* Additional form centering and spacing */
.cp_cff_main {
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
}

.fform,
.cp_cff_13 #fbuilder .fform {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	max-width: 881px !important;
	width: 100% !important;
	text-align: center !important;
}



input{border-color:#e6e6e6 !important;
border-radius:8px !important;}

.post_discount_slider {
	overflow: hidden;
}




/* booking-form */
.fcal_booking_form_wrap .fcal_booking_form .fcal_form_item button {
	background: #ffffff !important;
	border-color: var(--fcal_primary_color);
	border-radius: 8px;
	color: #000 !important;
	box-shadow: 0px 0px 10px 0px rgb(0 0 0) !important;
}
.fcal_calendar_inner .fcal_date_wrapper .fcal_date_event_details {
	background: rgba(80, 142, 255, 1) !important;
	position: absolute !important;

}
/* */
li.wc_payment_method.payment_method_stripe_cc.stripe-small-container.wc-stripe-no-desc label {
	display: inline !important;
}
/* Content */

span.wc-stripe-card-icons-container {
	display: flex;
	width: 100% !important;
	column-gap: 10px;
}
.woocommerce-checkout-review-order .shop_table.woocommerce-checkout-review-order-table {
	display: none !important;
}

/* */
.posts-home a.elementor-post__read-more {
	display: flex;
	column-gap: 7px;
}
/* Custom Form Styles */
h3.heading3 {
	font-size: 20px;
	font-family: 'Roboto';
	font-weight: 600;
	line-height: 23.44px;
}

.Project-Overview {
	margin-top: 48px;
}

.side-by-side-div {
	margin-top: 48px;
	display: flex;
	width: 100%;
	column-gap: 22px;
}

.Timeline, .Budget, .Supporting-Documents, .Preferred-Communication-Method {
	width: 100%;
	max-width: 50%;
}

span.special {
	font-size: 16px;
	font-weight: 400;
	color: #4D4D4D;
}

.Additional-Services {
	margin-top: 48px;
}

.submit-field {
	margin-top: 60px !important;
}
.plan-form-inner::-webkit-scrollbar {width: 5px;}

.plan-form-inner::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
	margin-top: 50px;
	margin-bottom: 50px;
}

.plan-form-inner::-webkit-scrollbar-thumb {
	background: #508EFF;
	border-radius: 10px;
}
.plan-form-inner {
	background: #fff;
	max-width: 1140px !important;
	padding: 50px;
	border-radius: 20px;
	position: relative;
	padding-top: 60px;
	height: 90vh !important;
	overflow-y: scroll !important;
}
.plan-form-inner h3 {
	color: black !important;
}
/* */
/* Testimonials */
.elementor-swiper-button.elementor-swiper-button-prev,
.elementor-swiper-button.elementor-swiper-button-next {
	border: 1px solid #508EFF;
	border-radius: 50%;
	padding: 5px;
}

a.elementor-testimonial__header {
	display: block !important;
}

.elementor-testimonial__image {
	justify-content: center;
	margin-top: -80px;
}

cite.elementor-testimonial__cite {
	margin-top: 36px;
	display: flex !important;
}

span.elementor-testimonial__name {
	text-align: center;
}

.elementor-star-rating {
	text-align: center;
	margin-top: 16px;
}

.elementor-testimonial__icon.elementor-icon.elementor-icon- {
	display: none;
}

.elementor-testimonial__text {
	text-align: center;
}
.elementor-widget-reviews .elementor-testimonial__header {
	padding-bottom: 16px;
}

.elementor-testimonial {
	background-color: #F6F9FF;
	border-radius: 8px;
	height: 100% !important;
}

/* Calender */
.fcal_author,
.slot_timing.fcal_icon_item,
.slot_location.fcal_icon_item.fcal_img_item.fcal_loc_google_meet,
.fcal_timezone_select,
.fcal_slot_payment_item {
	display: none !important;
}


h1.fcal_slot_heading {
	font-size: 48px !important;
	font-family: 'Roboto' !important;
	color: black !important;
}

h1.fcal_slot_heading::after {
	font-size: 48px !important;
	font-family: 'Roboto' !important;
	content: ' My Tutoring';
	color: #508EFF !important;
}

.calendar-container{
	padding:0px !important;
}

.fcal_slot_description p {
	font-size: 16px !important;
	color: #4D4D4D !important;
}

.fcal_calendar_inner.fcal_on_lg, .fcal_side {
	border: 0px !important;
}

.fcal_date_wrapper {
	background-color: rgba(80, 142, 255, 1) !important;
	padding: 20px !important;
	border-radius: 20px !important;
}

.calendar-header {
	background-color: #edf3ff;
	border-radius: 10px 10px 0px 0px;
	padding: 10px;
	position: relative;
}

.fcal_calendar_inner.fcal_day_selected .calendar-container {
	border-right: 0px !important;
}

.fcal_spot {
	background-color: rgba(80, 142, 255, 0.1) !important;
}

.fcal_side {
	width: 100% !important;
	max-width: 41% !important;
}

.fcal_slot_picker.is_active {
	padding-left: 20px;
	border-radius: 10px;
}

.calendar.svelte-jvr8qp {
	background-color: white !important;
	padding: 10px;
	border-radius: 0px 0px 10px 10px;
}

.calendar.svelte-jvr8qp .day-name {
	border-bottom: 1px solid black;
}
.fcal_date_event_details.is_active {
	height: 100% !important;
}

div#fcal_day_picker_wrap::before {
	content: "1 Hour Tutoring Sessions";
	font-size: 28px;
	font-weight: 500;
	font-family: 'Roboto';
	color: white;
	width: 100% !important;
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
	margin-top: 40px;
}

/* Product - Legacy styles removed, see modern redesign below */

/* Consultation Form Specific */
.initial-form #fcal_day_picker_wrap::before {
	content: "1 Hour Consultation Sessions" !important;
	font-size: 28px;
	font-weight: 500;
	font-family: 'Roboto';
	color: white;
	width: 100% !important;
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
	margin-top: 40px;
}
.initial-form .fcal_slot_heading::after {
	font-size: 48px !important;
	font-family: 'Roboto' !important;
	content: ' Consultation' !important;
	color: #508EFF !important;
}
/* Default pricing for tutoring (calendar ID 3) */
.fcal_slot_description::after {
	content: 'Tutoring Session Fee $159.99/Hr';
	font-size: 24px;
	color: #508EFF;
	font-weight: 600;
	font-family: 'Roboto';
	padding-top: 24px !important;
	line-height: 64px;
}

/* Freelance services pricing (calendar ID 4) */
.fluent_booking_app[data-calendar_id="4"] .fcal_slot_description::after,
div[data-calendar_id="4"] .fcal_slot_description::after,
[data-calendar_id="4"] .fcal_slot_description::after,
.fluent_booking_app[data-calendar-id="4"] .fcal_slot_description::after,
div[data-calendar-id="4"] .fcal_slot_description::after,
[data-calendar-id="4"] .fcal_slot_description::after {
	content: 'Consultation Fee $299.99\A(1 hour)' !important;
	font-size: 24px !important;
	color: #508EFF !important;
	font-weight: 600 !important;
	font-family: 'Roboto' !important;
	padding-top: 24px !important;
	line-height: 1.2 !important;
	white-space: pre-line !important;
}

/* Freelance page specific targeting by URL/slug - FREELANCE RATE */
body.page-freelance-finance-services .fcal_slot_description::after,
body[class*="freelance"] .fcal_slot_description::after,
html body.page-freelance-finance-services .fcal_slot_description::after {
	content: 'Consultation Fee $299.99\A(1 hour)' !important;
	font-size: 24px !important;
	color: #508EFF !important;
	font-weight: 600 !important;
	font-family: 'Roboto' !important;
	padding-top: 24px !important;
	line-height: 1.2 !important;
	white-space: pre-line !important;
}

/* Finance tutoring page specific targeting - TUTORING RATE */
body.page-finance-tutoring .fcal_slot_description::after,
body[class*="finance-tutoring"] .fcal_slot_description::after {
	content: 'Tutoring Session Fee $159.99/Hr' !important;
	font-size: 24px !important;
	color: #508EFF !important;
	font-weight: 600 !important;
	font-family: 'Roboto' !important;
	padding-top: 24px !important;
	line-height: 1.2 !important;
	white-space: pre-line !important;
}

/* Expert witness services pricing (calendar ID 6) */
.fluent_booking_app[data-calendar_id="6"] .fcal_slot_description::after,
div[data-calendar_id="6"] .fcal_slot_description::after {
	content: 'Consultation Fee $149.99\A(30 minutes)' !important;
	font-size: 24px !important;
	color: #508EFF !important;
	font-weight: 600 !important;
	font-family: 'Roboto' !important;
	padding-top: 24px !important;
	line-height: 1.2 !important;
	white-space: pre-line !important;
}
/* Product Search Bar */
.product-search-bar form.woocommerce-product-search {
	width: 100% !important;
	max-width: 881px !important;
	column-gap: 0px !important;
}

.product-search-bar input#woocommerce-product-search-field-0 {
	width: 100% !important;
	max-width: 85% !important;
	padding: 11px;
	border-radius: 8px;
	border: 1px solid rgb(0 0 0 / 6%);
}

.product-search-bar button {
	width: 100% !important;
	max-width: 114px !important;
	padding: 15px 32px 15px 32px !important;
	background-color: #508EFF !important;
	font-size: 16px !important;
	font-family: 'Roboto' !important;
	line-height: 18.75px !important;
	font-weight: 400 !important;
	border-radius: 5px !important;
	margin-left:-10px !important;
}

.search-container {
	position: relative;
}
.search-icon {
	position: absolute;
	left: 30px;
	top: 50%;
	transform: translateY(-50%);
	color:#010101;
}
/* Product Sorting */
.sorting .elementor-container {
	margin-right: 100px !important;
	margin-left: auto !important;
}

.sorting .woocommerce.widget_product_categories {
	display: flex !important;
	column-gap: 12px;
	align-items: center;
}


.woocommerce.widget_product_categories h5 {
	font-size: 16px;
	font-family: 'Roboto';
	font-weight: 400;
	line-height: 25.6px;
	margin-bottom: 0px !important;
}

.sorting span.select2.select2-container.select2-container--default {
	width: 148px !important;
}

.sorting .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #010101;
}
.sorting .select2-container--default .select2-selection--single {
	background-color: #fff;
	border: 1px solid rgb(1 1 1 / 70%);
	border-radius: 8px;
	height: 50px !important;
}

.sorting .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 50px;
	position: absolute;
	top: 1px;
	right: 1px;
	width: 20px;
}
.sorting .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #010101 transparent transparent transparent;
}

/* Product Grid/List */
.pt-cv-colwrap {
	display: flex !important;
	flex-direction: column !important;
}
.pt-cv-title {
	order: -1 !important;
}

.pt-cv-ctf-list {
	order: 0 !important;
}

.product.woocommerce.add_to_cart_inline {
	order: 1 !important;
}

.pt-cv-content {
	order: 2 !important;
}

.pt-cv-ctf-value {
	display: none !important;
}

span.pt-cv-ctf-name {
	font-size: 40px !important;
	color: #508EFF;
}

.pt-cv-thumb-wrapper.pull-left {
	margin-right: 61px !important;
}
.pt-cv-alternate-right .pt-cv-content-item:nth-child(even) .cvp-block,
.pt-cv-alternate-right .pt-cv-content-item:nth-child(even) .cvp-responsive-image,
.pt-cv-alternate-right .pt-cv-content-item:nth-child(even) .pt-cv-thumb-wrapper,
.pt-cv-alternate-right .pt-cv-content-item:nth-child(even) .pt-cv-thumbnail {
	float: right !important;
	margin-left: 61px !important;
	margin-right: 0 !important;
}
.pt-cv-content-item {
	padding-top: 60px !important;
	padding-bottom: 60px !important;
}
li.cv-pageitem-first, li.cv-pageitem-last {
	display: none !important;
}

.pt-cv-content a {
	color: black !important;
	font-weight: 600;
	font-size: 14px !important;
	padding-left: 10px;
}

#pt-cv-view-df8e5e0gu8 .pt-cv-readmore:hover {
	padding: 5px !important;
	border-radius: 5px !important;
}
ins span bdi {
	font-size: 40px !important;
	color: #508EFF !important;
}
#pt-cv-view-df8e5e0gu8 .add_to_cart_inline .button,
#pt-cv-view-f76df2eifm .add_to_cart_inline .button {
	font-weight: 400 !important;
}
.cvp-live-filter.cvp-customized.cvp-dropdown {
	margin-right: 0 !important;
	margin-bottom: 0px !important;
	margin-left: auto !important;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.cvp-live-filter .cvp-label {
	font-weight: 400 !important;
	margin-right: 12px !important;
	font-size: 16px !important;
}
.cvp-live-filter select {
	padding: 12px;
}
.cvp-live-filter input, .cvp-live-filter select {
	border: 1px solid rgb(1 1 1 / 70%) !important;
	border-radius: 8px !important;

}
#pt-cv-view-df8e5e0gu8 .add_to_cart_inline .button {
	margin: 25px 0px 25px 0px !important;

}

.pt-cv-taxoterm.above_title, .custom-image {
	display: none !important;
}

h4.pt-cv-title {
	margin-bottom: 20px !important;
}

button.buy_now-button,
button.buy_now-button:link,
button.buy_now-button:visited,
button.buy_now-button:active,
button.buy_now-button:focus,
button.buy_now-button:hover {
    color: #fff !important;
}

button.buy_now-button {
	background-color: transparent;
	font-size: 16px;
	border: 1px solid #508eff;
	margin-left: 16px;
	padding: 15px 32px 15px 32px !important;
	border-radius: 10px 10px 10px 10px !important;
}
button.buy_now-button:hover {
	background-color: #508eff !important;
	color: white !important;
}
.h2-hon h2.elementor-heading-title.elementor-size-default {
	position: absolute;
	top: 100px;
	left: 10px;
}
a.added_to_cart.wc-forward {
	display: none !important;
}
del {
	text-decoration: none !important;
}
del span bdi {
	text-decoration: line-through !important;
}
.free-models h4.pt-cv-title {
	margin-bottom: 20px !important;
}
footer.elementor-section.elementor-top-section.elementor-element.elementor-element-cc0dfb4.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default {
	padding-top: 150px !important;
}
.calendar_nav button {
	height: auto !important;
	width: auto !important;
}

.calendar-month-year {
	position: absolute;
	left: 50%;
	transform: translate(-50%,0%);
}

.calendar_nav {
	display: flex !important;
	justify-content: space-between !important;
	width: 100% !important;
}
.term-box {
	height: 337px !important;
}
ul#menu-1-12479b4 li a {
	margin-left: 0px !important;
	margin-right: 0px !important;
}

ul#menu-1-12479b4 {
	column-gap: 29px !important;
}
.fcal_wrap .fcal_calendar_inner {
	border: 0px solid var(--fcal_slot_border) !important;
}


.woocommerce-checkout #payment div.form-row {
	padding: 0em;
}
.wc-stripe_cc-new-method-container {
	margin-bottom: 3em !important;
}




table.variations tr {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}
table.variations tr td select {
	height: 43px;
	padding-left: 10px;
	border: 1px solid #000000;
	border-radius: 6px;
	box-shadow: 0px 0px 12px -1px #efefef !important;
}
a.reset_variations {
	display: none !important;
}


/* sr css */


.post_discount_slider .slick-prev,
.post_discount_slider .slick-next {
	border: none !important;
	font-size: 0px !important;
	width: 40px;
	height: 40px;
	position: absolute;
	z-index: 1000;
	cursor: pointer;
	background: #508eff;
}

.post_discount_slider .slick-prev::before {
	content: "\f104";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 24px;
	color: #fff ;
}

.post_discount_slider .slick-next::before {
	content: "\f105";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 24px;
	color: #fff;
}

.cff-form input {
	margin-top: 2px !important;
}

.cff-form label {
	margin-bottom: 5px !important;
}

/* Original iframe styling (still intact) */
.calculators-template-default iframe[src*="youtube.com/embed/"] {
	width: 70%;
	max-width: 560px;
	height: 315px;
	display: block;
	margin: 0 auto;
}

/* UPDATED: WP Rocket YouTube preview image styling with higher specificity */
body.calculators-template-default div.rll-youtube-player {
	width: 70% !important;
	max-width: 560px !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
	position: relative !important;
}

body.calculators-template-default .rll-youtube-player img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16/9 !important;
	object-fit: cover !important;
	display: block !important;
}

/* Ensure play button overlay is properly positioned */
body.calculators-template-default .rll-youtube-player .play {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
}

/* Also target iframe in case it's still an iframe */
body.calculators-template-default iframe.rll-youtube-player {
	width: 70% !important;
	max-width: 560px !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
	aspect-ratio: 16/9 !important;
}

.calculators-template-default .video-tutorial-title {
	text-align: center !important;
	margin-top: 50px !important;
}

.calculators-template-default .video-description {
	text-align: center !important;
	width: 70% !important;
	max-width: 560px !important;
	margin: 20px auto !important;
}

.search-filter .cat-filter {
	width: 280px;
}

#category-filter-dropdown {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background-color: #ffffff;
	cursor: pointer;
	font-size: 16px;
	color: #555;
	
}

#category-filter-dropdown:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.media-sec .short-description:empty {
	display: none;
}

.media-sec .post-thumb {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	line-height: 0;
}

.elementor-element-c1e71c1 .price {
	display: none !important;
}

.product_meta, .woocommerce-product-gallery__trigger {
	display: none !important;
}


/* --- Related Products Styling Fixes --- */

.related.products ul.products li.product h2.woocommerce-loop-product__title {
	margin-bottom: 5px;
}

.related.products ul.products li.product a.button {
	background-color: #5a8efd;
	color: #ffffff;
	border: none;
}

.related.products ul.products li.product a.button:hover {
	background-color: #4a7ee4;
	color: #ffffff;
}

/* --- Professional Dropdown Menu for Elementor --- */

.elementor-nav-menu--main .elementor-nav-menu--dropdown {
	background-color: #ffffff;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
	padding: 10px 0;
}

.elementor-nav-menu--main .elementor-nav-menu--dropdown li a {
	color: #333333;
	padding: 12px 20px;
	font-weight: 500;
	transition: all 0.2s ease-in-out;
}

.elementor-nav-menu--main .elementor-nav-menu--dropdown li a:hover {
	background-color: #f5f5f5;
	color: #0073e6;
}

.elementor-nav-menu--main .elementor-nav-menu--dropdown li {
	border-bottom: 1px solid #f0f0f0;
}
.elementor-nav-menu--main .elementor-nav-menu--dropdown li:last-child {
	border-bottom: none;
}

.grecaptcha-badge {
	visibility: hidden !important;
}

/*
==========================================================================
Media Queries
==========================================================================
*/

@media only screen and (max-width:1024.9px){
	#fbuilder > div{
		width:750px !important;
	}
	.fields.section_breaks label {
		font-size:26px !important;
		line-height:36px !important;
	}
	
	body #fbuilder .medium {
		max-width:240px !important;
		width:240px !important;
	}

	.calculators-template-default h2{
		font-size: 48px !important;
		line-height: 58px !important	;
	}

	.calculators-template-default [data-id="3f0420c7"] h2{
		font-size: 34px !important;
		line-height: 44px !important	;
		margin-bottom:13px !important;
	}

	.calculators-template-default h3{
		font-size: 34px !important;
		line-height: 44px !important;
		margin-top: 25px !important; /* Reduced from 80px */
		margin-bottom: 12px !important;
	}

	.calculators-template-default h4{
		font-size: 28px !important;
		line-height: 36px !important;
		margin-top: 20px !important; /* Reduced from 42px */
		margin-bottom: 8px !important;
	}

	.calculators-template-default h5{
		font-size: 22px !important;
		line-height: 28px !important;
		margin-top: 18px !important;
		margin-bottom: 6px !important;
	}

	.fields.section_breaks {
		margin-top: 18px !important;
		margin-bottom: 12px !important;
	}
}
@media only screen and (max-width:991px) {
	.big-post-content {
		margin-top: 30px;
	}
	.big-post-block {
		padding-bottom: 30px;
	}
	.product-content h3 {
		font-size: 30px;
		line-height: 40px;
	}
	.popup-form {
		padding-left: 0;
		margin-top:30px;
	}
	.pop-up-wrap .in-wrap {
		overflow: scroll;
	}
	.pop-up-wrap .thumb-wrap {
		height: 250px;
	}
	.pop-up-wrap .product-detail-wrap {
		padding: 50px 15px 15px;
	}
	.pop-up-wrap .product-detail-wrap .form-wrap {
		padding: 15px;
	}
	.pop-up-wrap .in-wrap .row {
		height: auto;
	}
	.pop-up-wrap .product-detail-wrap .form-wrap h2 {
		font-size: 20px !important;
		line-height: 1.3 !important;
	}
}

@media only screen and (max-width:768px){
	.button-coupon-wrapper {
		flex-direction: column-reverse;
		row-gap: 30px;
	}
	.coupon-button {
		width: 100% !important;
		margin-top: 20px;
	}
}

@media only screen and (max-width:767px) {
	.py-7{
		padding-top:40px;
		padding-bottom:40px;
	}
	.pt-7{
		padding-top:40px;
	}
	.pb-7{
		padding-bottom:40px;
	}
	.big-post-block {
		padding-top: 40px;
		padding-bottom: 20px;
	}
	.cat-filter {
		width: 200px;
	}
	.custom-search {
		max-width: calc(100% - 200px);
	}
	.search-filter {
		margin-left: 10px;
		margin-right: 10px;
	}
	.page-title {
		font-size: 35px !important;
		line-height: 45px !important;
	}
	.short-description {
		height: auto;
	}
	.video-blocks {
		padding: 40px 0;
	}
	.big-video {
		margin-top: 30px;
	}
	.big-video-block {
		padding-bottom: 0;
	}
	.big-video iframe {
		max-height: 200px;
	}
	.product-blocks {
		padding-top:0;
		padding-bottom:40px;
	}
	.product-content {
		margin-top: 30px;
	}
	#coupon_code {
		float: none !important;
		margin: 0;
		width: 100%;
	}
	.checkout_coupon.woocommerce-form-coupon button, .woocommerce-cart-form button {
		float: none !important;
		width: 100% !important;
		margin-top: 15px !important;
	}
	#billing_first_name_field,
	#billing_last_name_field {
		float: none;
		width: 100%;
	}
	.contact-form-popup {
		padding: 50px 20px;
	}
	.form-inner {
		padding: 30px;
	}
	h2{
		font-size:35px !important;
		line-height:45px !important;
	}
	#fbuilder > div {
		width:600px !important;
	}

	.fields.section_breaks label {
		font-size:22px !important;
		line-height:32px !important;
	}

	.fields label {
		font-size:18px !important;
		font-weight:600 !important;
		line-height:26px !important;
	}

	body #fbuilder .medium {
		width:190px !important;
		max-width:190px !important;
	}
	.fields.section_breaks {
		margin-top: 15px !important; /* Increased from 0px - was too tight */
		margin-bottom: 10px !important; /* Reduced from 15px */
	}

	.fields.cff-number-field .dfield input.field.number,
	.fields.cff-calculated-field .dfield input {
		padding:10px !important;
		font-size:18px !important;
		line-height:24px !important;
	}
	.calculators-template-default .elementor-widget-heading {
		margin:40px 0px 0px 0px !important;
	}
	.calculators-template-default h2{
		font-size: 32px !important;
		line-height: 45px !important	;
	}
	.calculators-template-default [data-id="3f0420c7"] h2{
		font-size: 28px !important;
		line-height: 38px !important	;
		margin-bottom:10px !important;
	}
	.calculators-template-default h3{
		font-size: 28px !important;
		line-height: 38px !important;
		margin-top: 20px !important; /* Reduced from 24px but still reasonable */
		margin-bottom: 10px !important;
	}
	.calculators-template-default h4{
		font-size: 24px !important;
		line-height: 32px !important;
		margin-top: 18px !important; /* Reduced from 34px */
		margin-bottom: 8px !important;
	}
	.calculators-template-default h5{
		font-size: 20px !important;
		line-height: 26px !important;
		margin-top: 16px !important;
		margin-bottom: 6px !important;
	}
	.calculators-template-default p{
		font-size: 14px !important;
		line-height: 21px !important	;
	}
	h2.woocommerce-loop-product__title {
		font-size: 26px !important;
		line-height: 36px !important;
	}
	.calendar-month-year h2 {
		font-size: 16px !important;
	}

	.fcal_back button {
		padding: 13px !important;
	}
	.vip-review .elementor-swiper-button.elementor-swiper-button-next {
		right: -5px !important;
	}

	.vip-review .elementor-swiper-button.elementor-swiper-button-prev {
		left: -5px !important;
	}
	.fcal_wrap .fcal_calendar_inner {
		border: 0px solid var(--fcal_slot_border) !important;
	}
	div#ajaxsearchlite1 {
		padding: 10px !important;
		width: 94% !important;
	}
	#pt-cv-view-df8e5e0gu8 .pt-cv-thumbnail:not(.pt-cv-thumbnailsm)
	{
		height:auto !important;
	}
	.h2-hon h2.elementor-heading-title.elementor-size-default {
		position: absolute;
		top: 130px !important;
		left: 10px;
	}
	.pt-cv-content-item{
		padding-bottom:0px !important;
	}
	.cvp-live-filter select {
		width: 207px !important;
	}
	#pt-cv-view-f76df2eifm .pt-cv-thumbnail:not(.pt-cv-thumbnailsm) {
		height: auto !important;
	}
	#pt-cv-view-f76df2eifm .add_to_cart_inline .button {
		margin: 0px 0px 25px 0px !important;
	}
	.fcal_slot_description::after{
		line-height: 40px;
	}
	div#fcal_day_picker_wrap::before,
	.initial-form #fcal_day_picker_wrap::before {
		font-size: 22px !important;
		font-weight: 600 !important;
	}
	
	.term-box {
		height: auto !important;
	}
	.home-products img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
		height: auto !important;
	}
	.plan-form-inner {
		padding: 20px;
	}
	.side-by-side-div {
		display: block;
	}

	.Timeline, .Budget, .Supporting-Documents, .Preferred-Communication-Method {
		width: 100% !important;
		max-width: 100% !important;
		margin-top: 20px;
	}
	
	.calculators-template-default iframe[src*="youtube.com/embed/"] {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		aspect-ratio: 16 / 9 !important;
	}

	body.post-type-archive-calculators .elementor-element-30b8ee4 {
		display: flex;
		justify-content: center !important;
		padding: 0 15px !important;
	}
}

@media (max-width:640px){
	#fbuilder > div {
		width:100% !important;
	}
}

/* Override Elementor button styling to ensure white text */
.elementor-wc-products ul.products li.product .button,
.elementor-1831 .elementor-element.elementor-element-c1e71c1.elementor-wc-products ul.products li.product .button {
	color: #fff !important;
}

/* FluentForm Asterisk Fix */
.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
    color: #f56c6c !important;
    content: " *" !important;
    margin-left: 3px !important;
    font-weight: normal !important;
    font-size: inherit !important;
    display: inline !important;
    position: relative !important;
}

.fluentform .ff-el-input--label.ff-el-is-required.asterisk-left label:before {
    color: #f56c6c !important;
    content: "* " !important;
    margin-right: 3px !important;
    font-weight: normal !important;
    font-size: inherit !important;
    display: inline !important;
    position: relative !important;
}

/* Ensure labels display properly */
.fluentform .ff-el-input--label label {
    display: inline-block !important;
    margin-bottom: 5px !important;
    font-weight: 500;
    color: #333;
}

/* Fix any potential conflicts with asterisk display */
.fluentform .ff-el-is-required label {
    position: relative !important;
}

/* Ensure the asterisk doesn't break on mobile */
@media (max-width: 767px) {
    .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after,
    .fluentform .ff-el-input--label.ff-el-is-required.asterisk-left label:before {
        white-space: nowrap !important;
    }
}

/* --- Universal Calculator Loading Indicator --- */
.calculator-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.1);
	z-index: 9999;
	display: none;
	pointer-events: none;
}

.calculator-loading-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #3498db;
	border-radius: 50%;
	animation: calculator-spin 0.8s linear infinite;
}

@keyframes calculator-spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Alternative: Mouse cursor loading indicator */
.calculator-loading-cursor {
	cursor: wait !important;
}

.calculator-loading-cursor * {
	cursor: wait !important;
}

/* Mobile-specific hero image fix - targeted only for hero sections */
@media (max-width: 768px) {
    /* Target only hero section images, not all images */
    .elementor-section[data-element_type="section"] .elementor-widget-image img:first-of-type,
    .hero-section img,
    .banner-section img,
    .home-hero img {
        animation-delay: 0s !important;
        transition-delay: 0s !important;
    }
    
    /* Override lazy loading delays for hero areas only */
    .elementor-section:first-child .elementor-widget-image img,
    .elementor-top-section:first-child img {
        animation-delay: 0s !important;
        transition-delay: 0s !important;
    }
}

/* Logo size reduction - Decrease logo by 25% on desktop */
@media only screen and (min-width: 992px) {
.custom-logo-link .custom-logo {
transform: scale(0.75);
transform-origin: left center;
}
}

/* Navigation Bar Optimization for More Menu Items */
.main-navigation ul li a {
    font-size: 14px;
    padding: 10px 12px;
}

/* Optimize menu spacing */
.main-navigation ul {
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0 5px;
}

/* Ensure menu items don't wrap */
.main-navigation ul li a {
    white-space: nowrap;
}

/* Make contact button more compact if exists */
.contact-button,
.menu-item-contact a,
.menu-item-btn a {
    padding: 8px 15px !important;
    font-size: 14px !important;
}

/* Better spacing on larger screens */
@media (min-width: 992px) {
    .main-navigation {
        font-size: 14px;
    }

    .main-navigation ul li {
        margin: 0 8px;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .main-navigation ul li {
        margin: 0 4px;
    }

    .main-navigation ul li a {
        padding: 8px 10px;
        font-size: 13px;
    }

    /* Further reduce logo on medium screens if needed */
    .site-branding img,
    .custom-logo {
        max-width: 140px;
    }
}

/*
==============================
Home Page Widget Hover Effects
==============================
*/

/* ===== Interactive Financial Tools (Elementor Loop Carousel) ===== */
.elementor-widget-loop-carousel .e-loop-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elementor-widget-loop-carousel .e-loop-item:hover {
    transform: translateY(-8px);
}

.elementor-widget-loop-carousel .e-loop-item .e-con {
    transition: box-shadow 0.3s ease;
}

.elementor-widget-loop-carousel .e-loop-item:hover .e-con {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2) !important;
}

/* Tool icon scale effect */
.elementor-widget-loop-carousel .e-loop-item .elementor-icon {
    transition: transform 0.3s ease;
}

.elementor-widget-loop-carousel .e-loop-item:hover .elementor-icon {
    transform: scale(1.15);
}

/* Title color change on hover */
.elementor-widget-loop-carousel .e-loop-item .elementor-heading-title {
    transition: color 0.3s ease;
}

.elementor-widget-loop-carousel .e-loop-item:hover .elementor-heading-title {
    color: #2563eb !important;
}

/* ===== Download My Excel Models (Elementor Posts Widget) ===== */
.elementor-widget-posts .elementor-post {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.elementor-widget-posts .elementor-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.18) !important;
}

/* Image zoom on card hover */
.elementor-widget-posts .elementor-post__thumbnail {
    overflow: hidden;
}

.elementor-widget-posts .elementor-post__thumbnail img {
    transition: transform 0.3s ease;
}

.elementor-widget-posts .elementor-post:hover .elementor-post__thumbnail img {
    transform: scale(1.08);
}

/* Title color change on hover */
.elementor-widget-posts .elementor-post__title a {
    transition: color 0.3s ease;
}

.elementor-widget-posts .elementor-post:hover .elementor-post__title a {
    color: #2563eb !important;
}

/* Badge/category pop effect */
.elementor-widget-posts .elementor-post__badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elementor-widget-posts .elementor-post:hover .elementor-post__badge {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== Download My Excel Models (WooCommerce Products Widget) - Modern Redesign ===== */

/* CRITICAL: Force Elementor WooCommerce Products to single column layout */
.home-products .elementor-wc-products ul.products li.product,
.home-products ul.products li.product {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
}

/* Override Elementor's inner product grid */
.home-products .elementor-wc-products ul.products li.product > *,
.home-products ul.products li.product .product-inner,
.home-products ul.products li.product > div {
    display: block !important;
    width: 100% !important;
    grid-column: unset !important;
    grid-row: unset !important;
    float: none !important;
}

/* Card Container - CSS Grid for consistent 3-column layout */
.home-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

/* Card styling - Fixed width and consistent height */
.home-products ul.products li.product {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa !important;
    padding: 0 !important;
    border: 1px solid #e5e7eb;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
}

/* Responsive: 2 columns on tablet, 1 on mobile */
@media (max-width: 991px) {
    .home-products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 575px) {
    .home-products ul.products {
        grid-template-columns: 1fr !important;
    }
}

.home-products .woocommerce ul.products li.product {
    background: #f8f9fa !important;
}

/* Card Hover Effect - Lift + Blue Shadow */
.home-products ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2) !important;
    border-color: #2563eb;
}

/* Image Container - Position relative for overlays */
.home-products ul.products li.product .woocommerce-loop-product__link {
    position: relative;
    display: block !important;
    overflow: hidden;
    width: 100% !important;
    grid-column: 1 / -1 !important;
    float: none !important;
}

/* Product Image */
.home-products ul.products li.product .woocommerce-loop-product__link img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

/* Image Zoom on Hover */
.home-products ul.products li.product:hover .woocommerce-loop-product__link img {
    transform: scale(1.1);
}

/* FREE Badge - Green overlay top-left */
.home-products ul.products li.product .woocommerce-loop-product__link::before {
    content: "FREE";
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Download Overlay - Appears on hover */
.home-products ul.products li.product .woocommerce-loop-product__link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px;
}

.home-products ul.products li.product:hover .woocommerce-loop-product__link::after {
    opacity: 1;
}

/* Content Area */
.home-products ul.products li.product .woocommerce-loop-product__link + * {
    padding: 16px 18px 0;
}

/* Category Pill - Excel Template badge */
.home-products ul.products li.product .woocommerce-loop-product__title::before {
    content: "📊 Excel Template";
    display: block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

/* Product Title - Bolder, better hierarchy */
.home-products ul.products li.product .woocommerce-loop-product__title {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #1f2937 !important;
    margin: 0 0 12px !important;
    padding: 16px 18px 0 !important;
    transition: color 0.3s ease;
    display: block !important;
    width: 100% !important;
    grid-column: 1 / -1 !important;
    float: none !important;
}

.home-products ul.products li.product:hover .woocommerce-loop-product__title {
    color: #2563eb !important;
}

/* Hide Price (if shown) - since products are free */
.home-products ul.products li.product .price {
    display: none !important;
}

/* Full-Width CTA Button */
.home-products ul.products li.product .button,
.home-products ul.products li.product a.button.product_type_simple,
.home-products .elementor-wc-products ul.products li.product .button,
.home-products .elementor-wc-products ul.products li.product a.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 36px) !important;
    margin: auto 18px 18px !important; /* margin-top: auto pushes button to bottom */
    padding: 14px 20px !important;
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative !important;
    float: none !important;
    clear: both !important;
}

/* Button Icon - Download arrow */
.home-products ul.products li.product .button::before,
.home-products ul.products li.product a.button.product_type_simple::before {
    content: "📥";
    font-size: 16px;
}

/* Remove old arrow styling */
.home-products a.button.product_type_simple::after {
    display: none !important;
}

/* Button Hover */
.home-products ul.products li.product:hover .button,
.home-products ul.products li.product:hover a.button.product_type_simple {
    background: linear-gradient(135deg, #1e40af, #1e3a8a) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Ensure flex growth for card content alignment */
.home-products ul.products li.product > *:last-child {
    margin-top: auto;
}

/* ===== Explore Financial Models Button - Pop Out Hover Effect ===== */
.elementor-element-a2413a5 .elementor-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.elementor-element-a2413a5 .elementor-button:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35) !important;
}