/* 
Theme Name: Tarleton Firm
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Theme for Tarleton Firm built on Hello Elementor.
Author: Team WPValet
Author URI: https://vincere.dev/
Template: hello-elementor
Version: 1.0.0
Text Domain: tarletonfirm
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 */

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

.tlf-regular-btn .elementor-button-icon svg {
	width: 34px !important;
	height: 34px !important;
}

.tlf-regular-btn .elementor-button-content-wrapper {
	align-items: center;
}

.tlf-title span{
	font-family: 'Instrument Serif';
	font-style: Italic;
	font-size: 1.17em;
	line-height: 1em;
	letter-spacing: -0.03em;
}

.tlf-custom-button {
	cursor: pointer;
}

/* Header */
.tlf-header {
	backdrop-filter: blur(8px);
}

.tlf-header ul.elementor-nav-menu--dropdown {
	padding: 10px !important;
}

.tlf-header ul.elementor-nav-menu--dropdown a.elementor-sub-item {
	border-radius: 8px !important;
	border: none !important;
	margin-bottom: 8px !important;
}

.tlf-header ul.elementor-nav-menu--dropdown > li:last-child a.elementor-sub-item {
	margin-bottom: 0 !important;
}

@media (min-width: 1025px) {
	.elementor-nav-menu--layout-horizontal .elementor-nav-menu>li:not(:last-child)>a {
		margin-inline-end: 10px !important
	}
	
	.elementor-nav-menu--layout-horizontal .elementor-nav-menu>li:not(:first-child)>a {
		margin-inline-start: 10px !important;
	}
}

/* Probate Tab */
.tlf-probate__tab .e-n-tabs-heading {
	width: fit-content;
	position: relative;
	display: flex;
	overflow-x: auto;
	scrollbar-width: thin !important;
}

.tlf-probate__tab .tab-track,
.tlf-carousel-drag .tab-track {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 12px;
	background: linear-gradient(180deg, rgba(50, 85, 115, 0.02) 0%, rgba(50, 85, 115, 0.1) 50%, rgba(50, 85, 115, 0.02) 100%);
	border-radius: 10px;
}

.tlf-probate__tab .tab-track:after,
.tlf-carousel-drag .tab-track:after {
	position: absolute;
	content: '';
	width: 100%;
	border: 1px dashed var(--e-global-color-primary);
	top: 5px;
}

.tlf-probate__tab .tab-knob,
.tlf-carousel-drag .tab-knob {
	position: absolute;
	bottom: 0;
	width: 24px;
	height: 12px;
	background: var(--e-global-color-primary);
	border-radius: 12px;
	cursor: grab;
	transition: left 0.3s ease;
	z-index: 2;
}

@media(max-width: 1024px){
	.tlf-probate__tab .tab-track,
	.tlf-probate__tab .tab-knob,
	.tlf-carousel-drag .tab-track,
	.tlf-carousel-drag .tab-knob {
		display: none;
	}

	.tlf-probate__tab .e-n-tabs-heading {
		width: 100%;
	}
}

/* Form */
.tlf-form .gform_heading{
	display: none !important;
}

.tlf-form label{
	font-weight: 500 !important;
	line-height: 1.5em !important;
	letter-spacing: -0.01em !important;
	color: #fff;
	margin-bottom: 4px !important;
}

.tlf-form input:not(.gform_button){
	font-size: 18px !important;
	line-height: 1.5em !important;
	letter-spacing:  -0.01em !important;
	color: #fff !important;
	padding: 13.5px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #FFFFFF !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.tlf-form input:focus-visible{
	outline: 0 !important;
}

.tlf-form .gfield_required{
	color: #fff !important;
}

.tlf-form input::placeholder{
	color: #FFECEC80 !important;
}

.tlf-form .gform-footer{
	padding-bottom: 0 !important;
}

.tlf-form .gform_button{
	padding: 19px 26px !important;
	margin: 0 !important;
}

.tlf-form .gform_confirmation_message{
	font-size: 20px;
	text-align: center;
	color: #fff;
}

.tlf-form.dark label{
	color: #333333 !important;
}

.tlf-form.dark input:not(.gform_button){
	color: #333333 !important;
	border-color: #333333 !important;
}

.tlf-form.dark input::placeholder{
	color: #33333380 !important;
}

/* FAQ Accordion */
.tlf-faq .e-opened {
	transform: rotate(45deg);
}

/* Carousel Drag */
.tlf-carousel-drag.bottom .e-n-carousel {
	padding-bottom: 60px;
	padding-top: unset !important;
}

.tlf-carousel-drag.top .e-n-carousel {
	padding-top: 60px;
	padding-bottom: unset !important;
}

.tlf-carousel-drag .tab-knob {
	width: 65px !important;
	height: 24px !important;
}

.tlf-carousel-drag .tab-track {
	height: 24px !important;
	max-width: 1320px;
}

.tlf-carousel-drag .tab-track:after {
	top: 11px !important;
}

.tlf-carousel-drag.bottom .tab-track,
.tlf-carousel-drag.bottom .tab-knob {
	bottom: 0 !important;
	top: unset !important;
}

.tlf-carousel-drag.top .tab-track,
.tlf-carousel-drag.top .tab-knob {
	bottom: unset !important;
	top: 0 !important;
}

@media (min-width: 1280px) {
	.tlf-carousel-drag.top .e-n-carousel {
		padding-right: 214px;
	}
}

@media (max-width: 1024px) {
	.tlf-carousel-drag.bottom .e-n-carousel {
		padding-bottom: 30px !important;
	}

	.tlf-carousel-drag.top .e-n-carousel {
		padding-top: 30px;
	}
}

/* Vertical Slider */
.tlf-planning__slider {
	position: relative;
	margin: 0 auto;
	padding-left: 40px;
	overflow: hidden;
}

.tlf-planning__slider .swiper {
	width: 100%;
	overflow: hidden;
}

.tlf-planning__slider .swiper-slide {
	height: auto !important;
	padding: 6px 0;
}

.tlf-planning__slider .swiper-pagination {
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, rgba(50, 85, 115, 0.02) 0%, rgba(50, 85, 115, 0.1) 50%, rgba(50, 85, 115, 0.02) 100%);
	border-radius: 10px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.tlf-planning__slider {
		padding-left: 20px;
	}

	.tlf-planning__slider .swiper-pagination{
		width: 3px;
	}

	.tlf-planning__slider .swiper-slide {
		min-height: 136px !important;
	}

	.tlf-planning__slider .swiper-slide .elementor-element[data-element_type="container"]{
		height: 100% !important;
	}
}

/* Single Post */
.tlf-post-content p {
	margin-bottom: 24px !important;
}

.tlf-post-content p:last-child {
	margin-bottom: 0 !important;
}

.tlf-post-content h1,
.tlf-post-content h2,
.tlf-post-content h3,
.tlf-post-content h4,
.tlf-post-content h5,
.tlf-post-content h6 {
	margin: 24px 0 !important;
	font-weight: 500 !important;
}

.tlf-post-content h1,
.tlf-post-content h2 {
	font-size: 40px !important;
}

.tlf-post-content h3 {
	font-size: 32px !important;
}

.tlf-post-content h4 {
	font-size: 24px !important;
}

.tlf-post-content h5,
.tlf-post-content h6 {
	font-size: 20px !important;
}

.tlf-post-content ul,
.tlf-post-content ol {
	margin-bottom: 24px !important;
}

.tlf-post-content p a {
	color: var(--e-global-color-accent) !important;
	transition: color 0.3s;
}

.tlf-post-content p a:hover {
	color: inherit !important;
}

@media (max-width: 767px) {
	.tlf-post-content h2 {
		font-size: 26px !important;
	}

	.tlf-post-content h3 {
		font-size: 24px !important;
	}

	.tlf-post-content h4 {
		font-size: 20px !important;
	}

	.tlf-post-content h5,
	.tlf-post-content h6 {
		font-size: 18px !important;
	}
}

