/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
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 */
.elementor-nav-menu--layout-horizontal .elementor-nav-menu { font-weight: bold; }
footer .reseller-logout { display: none !important; }

.beveled { clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%); box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px; }
.beveled-1 { clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%); }
.beveled-2 { clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%); }
.beveled-icon { clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%); }
.elementor-button { clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%); }
.elementor-button:hover { clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%); }

.b-clip-shadow {
    position: relative;
    background: transparent !important; 
    overflow: visible !important;
}

.b-clip-shadow ::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ECEEF1; 
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
    z-index: -1; 
}

.b-clip-shadow  { box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px; }

@media screen and (max-width: 1024px) {
    .elementor-nav-menu--dropdown {
      position: fixed !important; 
        width: 90% !important;      
        left: 5% !important;       
        right: 5% !important;
        margin: 0 auto !important;
        top: 112px !important;      
        box-shadow: 0px 20px 40px rgba(0,0,0,0.4);
    }

    .elementor-widget-nav-menu {
        position: static !important;
    }
}
@media screen and (max-width: 767px) { .elementor-nav-menu--dropdown { left: 4% !important; right: 4% !important; } }

/* Container for the tabs */
.portal .e-n-tabs-heading[role="tablist"] {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between;
}

/* Individual tab buttons */
.portal .e-n-tabs-heading .e-n-tab-title {
    flex: 1 !important;      
    display: flex !important;
    flex-direction: column;  
    align-items: center;     
    justify-content: center!important; 
    margin: 0 5px !important; 
}

/* Ensure the title text is centered */
.portal .e-n-tab-title-text {
    text-align: center;
    width: 100%;
	justify-content: center;
}

/* Make the trigger feel clickable */
.tajfun-dl-img-container-trigger, .tajfun-dl-ctl-container-trigger, .tajfun-dl-logo-container-trigger { cursor: pointer; }
/* Hide the Admin Status field from the public "Become a Reseller" page */
.wpforms-admin-only { display: none !important; }

/* 1. THE WRAPPER 
   Ensure the parent container of these 3 sections is set to:
   Position: Relative 
*/

.tajfun-dl-img-container, 
.tajfun-dl-ctl-container, 
.tajfun-dl-logo-container {
    display: grid !important;
    grid-template-rows: 0fr; /* The "Closed" state */
    transition: grid-template-rows 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    
    /* Stacking logic so they trigger from the same spot */
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    z-index: 1;
}

/* 2. THE OPEN STATE */
.is-open {
    grid-template-rows: 1fr; /* The "Open" state - expands to natural height */
    position: relative !important; /* Pushes content down smoothly */
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* 3. THE CONTENT ANCHOR
   Grid needs a direct child to measure. 
   Ensure your inner elements are wrapped or targeted here.
*/
.tajfun-dl-img-container > div, 
.tajfun-dl-ctl-container > div, 
.tajfun-dl-logo-container > div {
    min-height: 0;
}

/* 4. LOGO SECTION - INTERNAL 3-COLUMN ROWS */
.tajfun-dl-logo-container.is-open > .e-con, 
.tajfun-dl-logo-container.is-open > .e-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 2% !important;
    width: 100% !important;
    padding: 20px 0;
}

.tajfun-dl-logo-container.is-open > .e-con > .elementor-widget-icon-list {
    flex: 0 0 32% !important;
    width: 32% !important;
}

/* 5. THE HEADINGS */
.tajfun-dl-logo-container.is-open > .elementor-widget-heading {
    width: 100% !important;
    padding-top: 20px;
}