/* 
Theme Name: Affinity Accounting
Description: Theme for Affinity Accounting
Author: WPValet
Author URI: https://wpvalet.co/
Template: hello-elementor
Version: 1.0.0
Text Domain: affinity
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */

/* General */
p:last-child{
	margin-bottom: 0;
}

.aa-chart ul {
	padding-left: 24px !important;
}

.aa-medium-text {
	font-weight: 600 !important;
}

@media (max-width: 1024px) {
	.aa-full-width {
		width: 100% !important;
	}
}

@media (max-width: 767px) {
	.aa-flex-mobile {
		display: flex !important;
		flex-direction: column;
	}
}

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

.aa-header.elementor-sticky--effects .e-con-inner{
	padding: 10px 0;
}

.aa-header.transparent.elementor-sticky--effects{
	background-color: #fff;
	animation: auto ease 0s 1 normal none running none;
    box-shadow: 0 5px 40px 0 rgba(0, 0, 0, .1);
}

.aa-expect-box:hover .elementor-widget-heading .elementor-widget-container{
	background-color: #58A4AE;
}

.aa-expect-box:hover .elementor-widget-text-editor p{
	color: #fff;
}

/* Blog */
.aa-categories .elementor-widget-wp-widget-categories h5,
.aa-tags .elementor-widget-wp-widget-tag_cloud h5{
	display: none;
}

.aa-categories ul{
	list-style-type: none;
	padding: 0;
}

.aa-categories ul li:not(:last-child){
	margin-bottom: 16px;
}

.aa-categories ul li a{
	font-family: Neue Haas Grotesk Display Pro;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6em;
	color: var(--e-global-color-text);
}

.aa-categories ul li a:hover{
	color: var(--e-global-color-primary);
}

.aa-tags .tagcloud,
.aa-tag .elementor-post-info__terms-list{
	display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
	font-size: 0;
}

.aa-tags .tagcloud a,
.aa-tag a{
	font-family: Neue Haas Grotesk Display Pro;
	font-size: 18px !important;
	font-weight: 500;
	line-height: 1.2em;
	color: var(--e-global-color-secondary);
	padding: 8px 16px;
	background-color: #AABACE33;
	border-radius: 100px;
}

.aa-tags .tagcloud a:hover,
.aa-tag a:hover{
	color: #fff;
	background-color: var(--e-global-color-primary);
}

.aa-post-content p a{
	color: var(--e-global-color-primary) !important;
	text-decoration: underline !important;
}

.aa-post-content h2,
.aa-post-content h3,
.aa-post-content h4,
.aa-post-content h5
.aa-post-content h6{
	margin: 30px 0 20px;
}

.aa-post-content p a:hover{
	text-decoration: none;
}

.aa-post-content ul,
.aa-post-content ol{
	margin-bottom: 30px;
}

/* Form */
.gfield_label{
	font-size: 16px !important;
	font-weight: 450 !important;
	line-height: 1.2em !important;
	margin-bottom: 6px !important;
}

label.gform-field-label--type-sub{
	font-size: 16px !important;
	padding: 6px 0 !important;
}

.gfield_required_text{
	font-size: 14px !important;
	font-style: normal !important;
	color: #8190A8 !important;
}

.gform_wrapper.gravity-theme .gform_fields{
	grid-row-gap: 20px !important;
}

.gform-body .ginput_container--name {
	gap: 24px;
}

.gform-body .ginput_container--name span{
	padding: 0 !important;
}

.gform-body input,
.gform-body select,
.gform-body textarea{
	min-height: 56px;
	font-size: 18px !important;
	line-height: 1.6em !important;
	color: var(--e-global-color-text);
	padding: 13.5px 16px !important;
	border: none;
	border-radius: 10px;
	background-color: #AABACE33;
}

.gform-body input:focus-visible,
.gform-body select:focus-visible,
.gform-body textarea:focus-visible{
	outline: none !important;
}

.iti--show-selected-dial-code input{
	padding-left: 85px !important;
}

.gform-body select {
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='9' viewBox='0 0 16 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0.5L8 7.5L15 0.5' stroke='%23363F51'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
    background-position: 97% 24px;
}

.gform-footer input[type="submit"]{
	line-height: 1.2em !important;
	border: none !important;
	padding-right: 53px !important;
	background-image: url("data:image/svg+xml,%3Csvg width='17' height='14' viewBox='0 0 17 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.42157 0.92157L15.5 7M9.42157 13.0784L15.5 7M15.5 7H0' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-position: 75% 20px;
}

.aa-white-form .gfield_label,
.aa-white-form label.gform-field-label--type-sub,
.aa-white-form .gfield_required_text{
    color: #fff !important;
}

.aa-white-form .gform-body input, selector .gform-body select, selector .gform-body textarea{
    background-color: #FFFFFF4D !important;
}

.aa-white-form .gform-footer input[type="submit"]{
   color: var(--e-global-color-text);
   background-color: #fff;
   background-image: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.1716 0.921387L16.25 6.99982M10.1716 13.0782L16.25 6.99982M16.25 6.99982H0.75' stroke='%23363F51' stroke-width='1.5'/%3E%3C/svg%3E%0A");
}

.aa-white-form .gform-footer input[type="submit"]:hover{
	color: #fff;
    background-color: var(--e-global-color-text);
	background-image: url("data:image/svg+xml,%3Csvg width='17' height='14' viewBox='0 0 17 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.42157 0.92157L15.5 7M9.42157 13.0784L15.5 7M15.5 7H0' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A");
}

.aa-pl-form .gform-footer input[type="submit"] {
	background-image: none !important;
	width: 100% !important;
	padding: 17px 50px !important;
	text-align: center !important;
}

@media(max-width: 767px){
	.gform-body .ginput_container--name{
		gap: 14px;
	}
}

/* Footer */
.aa-footer-link a {
	color: #58A4AE !important;
	transition: color 0.3s;
}

.aa-footer-link a:hover {
	color: #363F51 !important;
}

.home .aa-footer {
	padding-bottom: 100px !important;
}

/* FAQ Accordion */
.aa-faq .e-n-accordion-item {
	padding: 26px 20px !important;
	border-bottom: solid 1px rgba(170, 186, 206, 0.6) !important;
	background-color: transparent;
	transition: background-color 0.3s;
}

.aa-faq .e-n-accordion-item.open {
	background-color: #fff;
}

.aa-faq .e-n-accordion-item:hover {
	background-color: rgba(170, 186, 206, 0.2);
}

/* Ebook Form */
.aa-ebook-form input:not(.gform_button){
	color: #fff !important;
	background-color: #FFFFFF1A !important;
	padding: 15.5px 20px !important;
}

.aa-ebook-form input:not(.gform_button)::placeholder{
	color: #fff !important;
}

.aa-ebook-form .gform_wrapper.gravity-theme .gform_fields{
	grid-row-gap: 12px !important;
}

.aa-ebook-form input.gform_button{
	background-color: var(--e-global-color-text) !important;
	background-position: 89% 20px !important;
	padding: 17px 54px 17px 26px !important;
}

.aa-ebook-form input.gform_button:hover{
	background-color: var(--e-global-color-secondary) !important;
}

.aa-ebook-form .gform-footer{
	position: absolute;
    left: -104%;
    bottom: -9px;
    padding: 0 !important;
}

@media(max-width: 767px){
	.aa-ebook-form .gform-footer{
		position: relative;
		left: 0;
		justify-content: center;
	}
}

/* Job Accordion */
.aa-job-accordion .e-n-accordion-item {
	background-color: #fff !important;
	border-radius: 12px !important;
}

.aa-job-accordion .e-n-accordion-item a {
	color: var(--e-global-color-primary) !important;
	text-decoration: underline !important;
}

.ginput_container_consent input {
	min-height: unset !important;
}

.ginput_container_consent {
	display: flex !important;
	gap: 14px;
	align-items: center !important;
}

@media (max-width: 767px) {
	.ginput_container_consent {
		align-items: flex-start !important;
	}
}
