/**
 * Theme Name:     Take Away Tax
 * Author:         Elegant Themes
 * Template:       Divi
 * Text Domain:	   take-away-tax
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 */
/* General Reset */



:root {
    --custome-primary-color: #000000; /* Blue */
    --custome-secondary-color: #f8ca17; /* Green */
    --custome-accent-color: #D10405; /* Red */
    --custome-background-color: #f0f0f0; /* Light gray */
    --custome-text-color: #fff; /* Dark text */
}

/* Header Styles */
a.et_pb_button:hover {
	background-color:#000000 !important;
}

.main-header {
    width: 100%;
    top: -52px !important;
 
}
.right-section{
	display:flex;
	gap:10px;
}
/* Top Bar */
.top-bar {
    background-color: #D10405;
    /* Dark green */
    padding: 0px 30px;
}
@keyframes animateIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.navss li .sub-items-container ul.nav-sub-items.active li {
	animation-name: animateIn;
	animation-duration: 300ms;
	animation-fill-mode: both;
	animation-timing-function: ease-in-out;
}
.nav-sub-items li:nth-child(1){
	animation-delay: 120ms;	
}
.nav-sub-items li:nth-child(2){
	animation-delay: 240ms;	
}
.nav-sub-items li:nth-child(3){
	animation-delay: 360ms;	
}
.nav-sub-items li:nth-child(4){
	animation-delay: 480ms;	
}
.nav-sub-items li:nth-child(5){
	animation-delay: 600ms;	
}.nav-sub-items li:nth-child(6){
	animation-delay: 720ms;	
}
.nav-sub-items li:nth-child(7){
	animation-delay: 840ms;	
}

.nav-sub-items li:nth-child(8){
	animation-delay: 960ms;	
}

.nav-sub-items li:nth-child(9){
	animation-delay: 1080ms;	
}

.nav-sub-items li:nth-child(10){
	animation-delay: 1200ms;	
}
.nav-sub-items li:nth-child(11){
	animation-delay: 1320ms;	
}
.nav-sub-items li:nth-child(12){
	animation-delay: 1420ms;	
}
.nav-sub-items li:nth-child(13){
	animation-delay: 1420ms;	
}

.nav-sub-items li:nth-child(14){
	animation-delay: 1520ms;	
}

.nav-sub-items li:nth-child(15){
	animation-delay: 1620ms;	
}

.nav-sub-items li:nth-child(16){
	animation-delay: 1720ms;	
}

.nav-sub-items li:nth-child(17){
	animation-delay: 1820ms;	
}

.nav-sub-items li:nth-child(18){
	animation-delay: 1920ms;	
}

.nav-sub-items li:nth-child(19){
	animation-delay: 2020ms;	
}

.nav-sub-items li:nth-child(20){
	animation-delay: 2120ms;	
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
      max-width: 100% !important;
    width: 100% !important;
}
.advisor-logo{
    width: 120px;
    background: white;
	display: flex;
    align-items: center;
    padding: 5px;
	height:50px;
}
 .spruce-logo {
    width: 60px;
    background: white;
	 display: flex;
    align-items: center;
    padding: 5px;
	 height:50px;
}

/* Bottom Header */
.bottom-header {
    background-color: #fff;
    padding: 30px 20px 30px 20px;
    box-shadow: inset 1px 0px 2px rgb(0 0 0 / 40%);
}

.bottom-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100% !important;
    width: 100% !important;
}

.logo-img {
    width: 300px;
    height: auto;
}

.nav-links ul.navss {
    list-style: none;
    display: flex;
    align-items: left;
    gap: 30px;
	padding:0;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-right: auto;
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none !important;
    color: var(--custome-primary-color);
    position: relative;
    z-index: 9;
    font-weight: bold;
    font-size: 16px;
}
.nav-links a:hover{
	text-decoration: none !important;
	color: var(--custome-accent-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    text-decoration: none;
    color: var(--custome-primary-color);
    /* Dark green */
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.find-office {
    font-size: 14px;
}
a.find-office:hover {
    color:#D10405;
}

.search-link {
    font-size: 14px;
}
a.search-link:hover {
    color:#D10405;
}
.sign-in {
    background-color: var(--custome-accent-color);
    /* Dark green */
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: capitalize;
	box-shadow: 6px 6px 18px -9px #0A0A0A !important;
}

.sign-in:hover {
    background-color: var(--custome-primary-color);
    /* Slightly yellow  */
}

/* Icons */
.menu_toggler .icon {
	font-size: 30px;
	margin-right: -50px;
	margin-top: -5px;
}
.menu_toggler .icon.cross {
    margin-right: 0 !important;
}

.myclass {
    display: grid !important;
}

.sub-items-container1 {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    background: #00000026;
    position: fixed;
    top: 0px;
    left: 0%;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0s ease, opacity 0s ease;
    z-index: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navss .sub-items-container1.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 8;
}



.navss li .sub-items-container {
    height: calc(100vh - 80px);
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    position: fixed;
    top: 38px;
    left: 0%;
    z-index: 8;
    pointer-events: none;
    transform: translate(-150vw);
}

.navss:has(.sub-items-container1.active) li .sub-items-container {
    transform: none;
}

.navss li .sub-items-container ul.nav-sub-items {
     background-color: #fff;
    width: 50%;
    height: 100vh;
    transition: opacity 0.3s ease;
    z-index: 8;
    pointer-events: all;
    padding-top: 220px;
    padding-left: 60px;
	padding-right: 20px !important;
    position: fixed;
    top: 0;
	overflow: auto;
	transform:translateX(-150vh);
}

.navss li .sub-items-container ul.nav-sub-items.active {
	transform:translateX(0);
}

#header .logo {
    position: relative;
    z-index: 99;
}

/* Menu item styling */
.menu-item-detailed {
    display: flex;
    align-items: flex-start;
    /* Align text to the top */
    gap: 20px;
    padding: 25px 25px;
    /* Space below each item */
    border-bottom: 1px solid #f0f0f0;
    /* Light separator */
}

.bottom-header .logo {
    position: relative;
    z-index: 99;
}

.menu-item-detailed:last-child {
    border-bottom: none;
}

.menu-item-detailed a {
    text-decoration: none;
    color: var(--custome-primary-color);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

/* Images */
.nav-item-image img {
    width: 64px;
    /* Image size matching screenshot */
    height: 64px;
    object-fit: contain;
    /* Maintain aspect ratio */
    border-radius: 0;
    /* Ensure no rounded corners */
}

/* Content inside menu items */
.nav-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Headline (title of each item) */
.nav-item-label {
    font-size: 20px;
    /* Larger font for titles */
    font-weight: bold;
    color: var(--custome-primary-color);
    /* Green color */
    margin-bottom: 5px;
}
.nav-item-label:hover{
	color:#E02B20 !important;
}
/* Description text */
.nav-item-description {
    font-size: 14px;
    color: var(--custome-primary-color);
    line-height: 1.8;
    /* Increased line spacing for readability */
}

/* Simple menu items */
.menu-item {
    padding: 25px;
    font-weight: bold;
    color: var(--custome-primary-color);
    list-style: none;
}

.menu-item a {
    text-decoration: none;
    color: var(--custome-primary-color);
    font-size: 25px !important;
}

.menu-item a:hover {
    text-decoration: underline;
}

.bottom-header .menu_toggler {
    display: none;
}

.bottom-header .menu-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.links_back_title {
    display: none;
    margin-top: 50px;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 991px) {
	.top-bar {
		padding:0px;
	}
	.advisor-logo{
		width:122px;
		height:41px;
	}
	.spruce-logo {
    width: 69px;
    padding: 15px;
    height: 41px;
}
	.top-bar .container{
		    justify-content: flex-start;
	}
	
    .navss li .sub-items-container ul.nav-sub-items {
        width: 100%; 
    }
    .bottom-header .menu_toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 99;
    }

    .menu_toggler .cross {
        display: none;
    }

    .bottom-header.active .menu_toggler .icon {
        display: none;
    }

    .bottom-header.active .menu_toggler .icon.cross {
        display: block;
    }
.logo-img {
    width: 220px;
}
    .bottom-header .menu-wrapper {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        padding: 188px 20px 40px 20px;
        z-index: 7;
        background-color: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        transition: all 0.3s ease-in-out;
        transform: translateX(-150vh);
    }

    .bottom-header.active .menu-wrapper {
        transform: translateX(0);
    }

    .nav-links {
        margin-left: 0;
    }

    .nav-links ul.navss {
        flex-direction: column;
        gap: 20px;
    }

    .header-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .navss li .sub-items-container ul.nav-sub-items {
        opacity: 1;
        margin-top: 60px;
        padding-left: 20px;
		transform:none;
		padding-top:100px;
    }

    .navss li .sub-items-container {
        transition: all 0.3s ease-in-out;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        margin: 0;
        z-index: 15;
    }

    .navss li .sub-items-container:has(.active) {
        transform: translateX(0);
    }
    .bottom-header:has(.navss li .sub-items-container .active) .logo {
        z-index: 0;
    }
    .bottom-header:has(.navss li .sub-items-container .active) .menu-wrapper{
        pointer-events: none;
    }
    .navss li .sub-items-container:has(.active) .links_back_title .back_btn{
        margin-left: 20px;
		font-size: 20px;
    }
    .navss li .sub-items-container:has(.active) .links_back_title p{
        margin: 5px auto 0;
		font-size: 20px;
    }
    .navss li .sub-items-container .links_back_title {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        pointer-events: all;
    }
	
}
.navss:has(.sub-items-container1.active) li .sub-items-container::after {
    width: calc(50% - 25px);
    height: 120px;
    position: absolute;
    left: 0;
    top: -40px;
    background: #ffffff;
    content: '';
    z-index: 99;
}
.new1{
        position: fixed;
        background-color: rgba(0, 0, 0, 0.5);
        height: 100%;
        width: 100%;
        z-index: 5;
        animation-name: fadeIn;
        animation-duration: 300ms;
        animation-fill-mode: both;
        animation-timing-function: ease-in-out;
}