/* 
Theme Name: Fitness CPA
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Fitness CPA is a child theme of Hello Elementor, created by WPValet team
Author: WPValet
Author URI: https://wpvalet.co/
Template: hello-elementor
Version: 2.0.0
Text Domain: fitnesscpa
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
p:last-child{
	margin-bottom: 0 !important;
}

.elementor-widget-button.bold a .elementor-button-text{
	font-weight: 700;
}

.fc-logo img{
    filter: grayscale(1);
}

.fc-logo img:hover{
    filter: unset;
}

.elementor-social-icon {
  position: relative;
  display: inline-block;
}

/* Tooltip box */
.elementor-social-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 145%;
  left: 48%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 6px 10px;
  font-family: 'lato';
  font-size: 16px;
  word-spacing: 3px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

/* Arrow */
.elementor-social-icon::before {
  content: "";
  position: absolute;
  bottom: 77%;
  left: 48%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  opacity: 0;
  transition: 0.2s ease;
}

/* Show on hover */
.elementor-social-icon:hover::after,
.elementor-social-icon:hover::before {
  opacity: 1;
}

/* Header */
.tfc-header,
.tfc-header > .e-con-inner{
	transition: all 0.3s ease;
}

.tfc-header.elementor-sticky--effects{
	box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}

.tfc-header.elementor-sticky--effects > .e-con-inner{
	padding: 20px 0;
}

.tfc-menu ul.sub-menu .xero a{
	border: 0 !important;
    padding-left: 30px !important;
}

.tfc-mobile-menu .sub-menu{
	position: relative !important;
	margin: 0 !important;
}

.tfc-mobile-menu .sub-menu a{
	text-transform: capitalize;
	justify-content: center;
	border: 0 !important;
}

@media(max-width: 767px){
	.tfc-header.elementor-sticky--effects > .e-con-inner{
		padding: 12px 0;
	}
}

/* Mega Menu */
.tfc-mega-menu .jet-mega-menu-sub-menu__list{
    border: 2px solid #ddd;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, .15);
	padding: 20px !important;
	margin-top: 10px !important;
}

.tfc-mega-menu .jet-mega-menu-sub-menu__list li .jet-mega-menu-item__inner{
	border-bottom: 1px solid #ddd !important;
	padding: 10px 0 !important;
	margin: 0 10px !important;
}

.tfc-mega-menu .jet-mobile-menu__controls{
	margin-bottom: 20px;
}

/* Service Card */
.tfc-service__card:hover .tfc-service__button{
	background-color: #000 !important;
}

/* Blog */
.tfc-post-pagination .jet-filters-pagination__item.prev-next .jet-filters-pagination__link{
	font-family: sans-serif;
    font-size: 50px;
	line-height: 1em;
    padding-top: 0;
    margin: -5px 20px 0;
    color: var(--e-global-color-primary);
}

.tfc-post-pagination .jet-filters-pagination__item.prev-next .jet-filters-pagination__link:hover{
	color: #000;
}

.tfc-post-pagination .jet-filters-pagination__current .jet-filters-pagination__link{
	position: relative;
}

.tfc-post-pagination .jet-filters-pagination__current .jet-filters-pagination__link:after{
	content: '';
    width: 28px;
    top: 0;
    left: -4px;
    bottom: 0;
    background: var(--e-global-color-primary);
    position: absolute;
    transform: skew(-10deg);
    z-index: -1;
}

/* Post Content */
.tfc-post-content h2,
.tfc-post-content p a{
	font-weight: 700;
}

.tfc-post-content ul,
.tfc-post-content ol{
	margin-bottom: 20px;
}

.tfc-post-content ul li{
	margin-bottom: 10px;
}

.tfc-post-navigation .elementor-post-navigation{
	gap: 50px;
}

.tfc-post-navigation .post-navigation__arrow-wrapper{
	margin-top: 2px;
}

.tfc-post-navigation .elementor-post-navigation__link a{
	padding: 10px;
    border: 2px solid var(--e-global-color-primary);
}

.tfc-post-navigation .elementor-post-navigation__link a:hover{
	border-color: #000;
}

.tfc-post-navigation .elementor-post-navigation__link a:hover span{
	color: #000 !important;
}

.tfc-post-navigation .elementor-post-navigation__link a:hover i{
	color: #000;
}

@media(max-width: 767px){
	.tfc-author-box_bio .elementor-author-box{
		flex-direction: column;
		gap: 10px;
	}
	
	.tfc-post-navigation .elementor-post-navigation{
		gap: 10px;
	}
	
	.tfc-post-navigation .elementor-post-navigation__link a{
		padding: 5px;
	}
}

/* Table of Content */
.tfc-table-of-content .jet-listing-dynamic-repeater__item{
	position: relative;
}

.tfc-table-of-content .jet-listing-dynamic-repeater__item a{
	cursor: pointer;
}

.tfc-table-of-content .jet-listing-dynamic-repeater__item:before{
	content: url("data:image/svg+xml,%3Csvg width='13' height='16' viewBox='0 0 13 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 15.5V0.5L13 8.39474L0 15.5Z' fill='%23C8102E'/%3E%3C/svg%3E");
	position: absolute;
	top: 2px;
	left: -17px;
	visibility: hidden;
}

.tfc-table-of-content .jet-listing-dynamic-repeater__item a:hover,
.tfc-table-of-content .jet-listing-dynamic-repeater__item.active a{
	font-weight: 700 !important;
}

.tfc-table-of-content .jet-listing-dynamic-repeater__item:hover:before,
.tfc-table-of-content .jet-listing-dynamic-repeater__item.active:before{
	visibility: visible;
}

/* Services Card */
.tfc-services__card:hover h3{
	color: var(--e-global-color-primary) !important;
}

/* Hexagon Box */
.hexagon-bg{
  will-change: opacity, transform;
}

@media(max-width: 1180px){
	.tfc-hexagon__card {
		position: relative;
	}
}

/* Video */
.tfc-video-card.recent-post:before{
	content: '';
    display: block;
    width: 100px;
    height: 50px;
    position: absolute;
    top: 20px;
    left: -11px;
    z-index: 5;
    background: url("./images/new-mark.png") center center no-repeat;
    background-size: cover;
}

/* Download Card */
.tfc-download__loop .jet-listing-grid__item:nth-child(2) .tfc-download__card,
.tfc-download__loop .jet-listing-grid__item:nth-child(5) .tfc-download__card,
.tfc-download__loop .jet-listing-grid__item:nth-child(8) .tfc-download__card{
	background-image: url("./images/red-bg-download.jpg");
}

.tfc-download__loop .jet-listing-grid__item:nth-child(2) .tfc-download__card a.elementor-button,
.tfc-download__loop .jet-listing-grid__item:nth-child(5) .tfc-download__card a.elementor-button,
.tfc-download__loop .jet-listing-grid__item:nth-child(8) .tfc-download__card a.elementor-button{
	background-color: #1f1f1f !important;
}

.tfc-download__loop .jet-listing-grid__item:nth-child(2) .tfc-download__card a.elementor-button:hover,
.tfc-download__loop .jet-listing-grid__item:nth-child(5) .tfc-download__card a.elementor-button:hover,
.tfc-download__loop .jet-listing-grid__item:nth-child(8) .tfc-download__card a.elementor-button:hover{
	background-color: #fff !important;
}

.tfc-download__loop .jet-listing-grid__item:nth-child(3) .tfc-download__card,
.tfc-download__loop .jet-listing-grid__item:nth-child(6) .tfc-download__card,
.tfc-download__loop .jet-listing-grid__item:nth-child(9) .tfc-download__card{
	background-image: url("./images/grey-bg-download.jpg");
}

/* ERC Calculator */
.tfc-erc-calculator .tfc-erc-calculator__field:first-child:after{
    content:url("./images/Group-3.png");
    position:absolute;
    right:-15px;
}

.erc-calculator-button:hover{
	color: #fff !important;
	background-color: #000;
}

@media (max-width:1024px){
 	.tfc-erc-calculator .tfc-erc-calculator__field:first-child:after{
    	right:-25px;
	}
}

@media (max-width:767px){
   .tfc-erc-calculator .tfc-erc-calculator__field:first-child:after{
    	display: none;
	}
}

.tfc-calculator.vc_row {
    margin: 0;
}

.tfc-calculator-form__row {
    -webkit-backdrop-filter: blur(5.5px);
    backdrop-filter: blur(5.5px);
    transition: background-color .3s cubic-bezier(.42, .00, .58, 1.00);
    position: absolute;
    height: calc(100% + 40px);
    width: calc(100% + 40px);
	margin: -20px 0 0 -20px;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: all ease-out .2s;
    left: 0;
}

.tfc-calculator-form__row.removed {
    opacity: 0;
    visibility: hidden;
}

.tfc-calculator-form__form {
    width: 560px;
    box-shadow: 0px 6px 0px #c8102e, 0px 10px 40px rgba(0,0,0,.1);
    border-radius: 10px;
    padding: 50px 30px;
    background-color: #FFFFFF;
}

.tfc-calculator-form,
.tfc-calculator-form p {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tfc-calculator-form .wpcf7-submit {
    width: 100%;
}

.tfc-calculator-form .wpcf7-spinner {
    margin-left: auto;
    margin-right: auto;
}

.tfc-calculator-form input[type="submit"] {
    padding: 10px 15px;
}

.tfc-calculator-form.processing:before {
    display: none;
}

.tfc-calculator-form .wpcf7-response-output {
    margin-top: 30px;
    margin-bottom: 0;
}

.tfc-erc-calculator {
    display: flex;
    flex-direction: column;
}

.tfc-erc-calculator__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.tfc-erc-calculator__field {
    padding: 30px;
    box-shadow: 0px 6px 0px #c8102e, 0px 9px 60px rgba(0, 0, 0, 0.07);
    border: 1px solid #F1F1F1;
    border-radius: 10px;
    width: 80%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color:#f4f4f4 !important;
}

.tfc-erc-calculator__field input[type="number"],
.tfc-calculator-form input[type=text], 
.tfc-calculator-form input[type=email] {
    padding: 10px 14px;
    height: unset;
    box-shadow: none;
    border-radius: 5px;
    font-size: 22px;
}

.tfc-calculator-form input[type=text], 
.tfc-calculator-form input[type=email] {
    padding: 20px !important;
    font-size: 18px !important;
}

.tfc-erc-calculator__field input[type="number"] {
    width: 15%;
}

.tfc-erc-calculator__field label,
.tfc-erc-calculator__result__label {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 0;
}

.tfc-erc-calculator__result {
    align-self: center;
    width: 80%;
    padding: 20px 40px;
    display: flex;
    border-radius: 10px;
    box-shadow: 0px 6px 0px #c8102e, 0px 9px 60px rgba(0, 0, 0, 0.07);
    border: 1px solid #F1F1F1;
    margin-top: 20px;
    justify-content: space-between;
    align-items: center;
}

.tfc-erc-calculator__result__content {
    color: #000;
    width: 50%;
}

.tfc-erc-calculator__result__text {
    margin-top: 20px;
    line-height: 1.2;
}

.tfc-erc-calculator__result__result {
    font-size: 40px;
	line-height: 1.2em;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    padding-left: 30px;
    color: #000;
    border-left: solid 1px #c8102e;
    width: 30%;
    text-align: right;
}
._3efP_GeH5kyBAzqnLzL adpQ3VUeQbmczOdx9ymw
{
    max-width:100% !important;
}

.wpcf7-form .processing * {
    opacity: 1;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 .wpcf7-not-valid-tip:after {
    display: none;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 10px;
    background-color: unset;
}

@media only screen and (max-width: 767px) {
    .tfc-erc-calculator__field,
    .tfc-erc-calculator__result__content,
    .tfc-calculator-form__row,
    .tfc-erc-calculator__result,
    .tfc-erc-calculator__form,
    .tfc-erc-calculator__result__result {
        width: 100%;
    }
    .tfc-calculator-form__row {
        margin: 0;
        align-items: flex-start;
    }
    .tfc-erc-calculator__field input[type=number] {
        font-size: 18px;
        width: 30%;
    }
    .tfc-erc-calculator__result {
        flex-direction: column;
        padding: 20px;
        gap: 20px
    }
    .tfc-erc-calculator__result__result {
        border-left: none;
        padding-left: 0;
        padding-top: 20px;
        border-top: solid 1px #c8102e;
        text-align: center;
    }
    .tfc-erc-calculator__field label {
        font-weight: 500;
        font-size: 18px;
    }
}

@media only screen and (max-width: 500px) {
    .tfc-erc-calculator__field input[type=number] {
        width: 50%;
        padding: 8px;
    }
    .tfc-erc-calculator__field {
        padding: 16px;
    }
}

@media only screen and (max-width: 382px) {
    .tfc-erc-calculator__field {
        flex-direction: column;
    }
    .tfc-erc-calculator__field label {
        text-align: center;
    }
}

.ercCal  .vc_column_container > .vc_column-inner
{
    padding-top:24px !important;
    text-align:center !important;
}
.ercCal  .vc_row-o-equal-height .vc_column-inner > .wpb_wrapper
{
    margin-bottom:0px !important;
}
.ercCal h2
{
    font-weight:800;
}
.errCal .ercColText .wpb_text_column.wpb_content_element,
.ercCal h2
{
    margin-bottom:16px !important;
}
.ercCal a.red-btn
{
    text-align:center;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:0.14px;
    line-height:21px;
}
.ercCal p
{
    font-size: 20px;
    line-height:30px;
    text-align:center;
    font-style:italic;
    color: #555555;
    margin-bottom:-19px;
    
}

.tfc-calculator-form__form {
	padding-bottom: 0 !important;
}

.tfc-erc-calculator__button {
	width: 80%;
	margin: 0 auto;
	text-align: right;
}

a.erc-calculator-button {
    background: #c8102e;
    color: #fff;
    border-radius: 10px;
    padding: 20px 60px;
	display: inline-block;
}

.tfc-erc-calculator-feedback {
	display: none;
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.tfc-erc-calculator__result {
	flex-direction: column;
	width: 100% !important;
	margin-top: 0 !important;
}

.tfc-erc-calculator__result__inner {
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
	gap: 40px;
}

.tfc-erc-calculator__result__content {
	flex: 1;
}

.tfc-erc-calculator__cta {
	border-top: 1px solid #ddd;
	padding: 30px 0 0;
	width: 100%;
	margin-top: 30px;
	color: #000;
	display: flex;
	justify-content: space-between;
    align-items: center;
	flex-direction: row;
	text-align: left;
}

.tfc-erc-calculator__cta a.erc-calculator-button {
	padding: 20px 40px;
}

.tfc-erc-calculator__cta__content p:last-child {
	margin-bottom: 0;
}
.show-cta-btn #logo {
	width: 170px;
}
.show-cta-btn .header:not(.transparent) .header-nav.nav>li.menu-cta-btn>a {
    color: #fff;
    padding: 15px;
    background: #c8102e;
    line-height: 1;
}
.nav>li.menu-cta-btn {
	display: none;
}
.show-cta-btn .nav>li.menu-cta-btn {
	display: inline-block;
}
@media(max-width: 767px) {
    .page-id-772 .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label li.gfield {
        width: 100% !important;
    }
	.tfc-erc-calculator-feedback,
	.tfc-erc-calculator__button {
		width: 100%;
	}
	.tfc-erc-calculator__cta {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}
}

/*Hubspot forms*/
.newsletter-form{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 800px;
	margin: 30px auto 0;
}

.newsletter-form .hs-form-field {
	text-align: left;
}

.newsletter-form .hs-form-field label {
	margin-bottom: 5px;
}

.newsletter-form .hs-submit {
	margin-top: 19px;
}

.hbspt-form .hs-error-msgs, .hs-error-msgs li {
	margin: 0;
	list-style: none;
}

.hs-error-msg {
	font-size: 12px;
	color: #c8102e;
}

.newsletter-form.blog {
	margin-top: 0;
}

.newsletter-form.blog .hs-form-field label {
	color: #fff;
}

.newsletter-form.blog .hs_error_rollup {
	display: none;
}

label, legend {
    display: block;
    font-size: .9em;
    font-weight: 700;
	color: #222;
    margin-bottom: .4em;
}

.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: right .45em top 50%;
    background-repeat: no-repeat;
    background-size: auto 16px;
    border-radius: 0;
    box-shadow: inset 0 -1.4em 1em 0 rgba(0, 0, 0, .02);
    display: block;
    padding-right: 1.4em;
}

.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    color: #333;
    font-size: .97em;
    height: 2.507em;
    max-width: 100%;
    padding: 0 .75em;
    transition: color .3s, border .3s, background .3s, opacity .3s;
    vertical-align: middle;
    width: 100%;
}
.hs-form-d2595cf5-b6f5-4061-9ff0-81f17188cba3_bd31db9a-303c-4576-8f48-c018086953fa .hs-button {
    white-space: pre-wrap;
}

.hs-form .button, .hs-form button, .hs-form input[type=button], .hs-form input[type=reset], .hs-form input[type=submit] {
    border: 1px solid transparent;
    border-radius: 0;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-size: .97em;
    font-weight: bolder;
    letter-spacing: .03em;
    line-height: 2.4em;
    margin-right: 1em;
    margin-top: 0;
    min-height: 2.5em;
    padding: 0 1.2em;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s;
    vertical-align: middle;
	background-color: var(--e-global-color-primary);
    border-color: rgba(0, 0, 0, .05);
    color: #fff;
}

.hs-form .button:hover, .hs-form button:hover, .hs-form input[type=button]:hover, .hs-form input[type=reset]:hover, .hs-form input[type=submit]:hover{
	border: 1px solid transparent;
	background-color: #A51B24;
}

@media(max-width: 1180px){
	.newsletter-form{
		gap: 10px;
	}
}

@media(max-width: 991px){
	.newsletter-form{
		flex-direction: column;
		gap: 10px;
	}
		
	.hs-form .button, .hs-form button, .hs-form input[type=button], .hs-form input[type=reset], .hs-form input[type=submit]{
		width: 100%;
	}
	
	.newsletter-form .hs-submit {
		margin-top: 8px;
	}
}

/*CTA Form*/

.cta-form .hs_submit.hs-submit {
	flex: 0 0 100%;
	text-align: center;
}

.cta-form .hs_submit.hs-submit input {
	line-height: 1;
	padding: 10px 25px !important;
	width: auto;
	margin: 0;
}

.cta-form .hs-form-field {
	flex: 0 0 48%;
	margin-bottom: 30px;
}

.cta-form .hs-error-msg {
	font-size: 14px;
}

.cta-form .hs_error_rollup ul li {
	margin: 0 0 30px;
	list-style: none;
}

#hbspt-form-1606384063690-2628236381 .submitted-message {
	text-align: center;
	font-size: 24px;
	color: #000;
	margin-top: 50px;
}

.fz22, .fz22 p {
	font-size: 22px;
}

.fz24, .fz24 p {
	font-size: 24px;
}

.get-in-touch-form {
	max-width: 800px;
	margin: 0 auto;
}

.get-in-touch-form .inputs-list.multi-container {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
}

.get-in-touch-form .inputs-list.multi-container li {
	list-style: none;
	margin-right: 10px;
}

.get-in-touch-form .hs-form-field {
	margin-bottom: 30px;
}

.get-in-touch-form .hs-form-field input[type="radio"], .get-in-touch-form .hs-form-field input[type="checkbox"] {
	margin-right: 5px;
}

.newsletter-form.franchisees {
	margin-left: 0;
}

.newsletter-form.franchisees label {
	color: #fff;
}

.newsletter-form.franchisees .hs-form-field {
	flex: 0 0 40%;
}
.entry-image img {
	width: 100% !important;
	float: none !important;
	margin: 0 auto 25px !important;
}

.get-in-touch-form label > span {
	font-size: 16px !important;
	font-family: 'Lato' !important;
	font-weight: 400 !important;
	font-style: normal !important;
}

.get-in-touch-form ul.inputs-list{
	padding: 0;
}

.get-in-touch-form ul.inputs-list li{
	list-style-type: none;
}

.get-in-touch-form textarea {
    min-height: 120px;
}

@media(max-width: 1199px) {
	.newsletter-form .hs-form-field {
		flex: 0 0 100%;
	}
}

@media(max-width: 991px) {
	.cta-form .hs-form-field, .newsletter-form.franchisees .hs-form-field {
		flex: 0 0 100%;
	}
	.newsletter-form.franchisees .hs-form-field {
		margin-bottom: 10px;
	}
	.cta-form input, .cta-form select {
		font-size: 18px !important;
	}
	.newsletter-form .hs_submit {
		flex: 0 0 100%;
		text-align: center;
	}
	.newsletter-form {
		justify-content: center;
	}
}
