div.nsl-container[data-align='left'] { text-align: center; }
div.nsl-container .nsl-button-default div.nsl-button-label-container { color: #1e1e1e; }
.elementor-shortcode { display: flex; justify-content: center; align-items: center; }
.forminator-button { width: 100% !important; background-color: #2872fa !important; font-size: 16px !important; }
label { color: white !important; }
input { background: transparent !important; }
form { margin-bottom: 0 !important; }
.elementor-element.elementor-element-f702b85 { margin-bottom: 10px !important; }
.forminator-row.forminator-row-last { margin-bottom: 0 !important; }
@media (max-width: 767px) { .elementor-element.elementor-element-f702b85 { margin-bottom: 0px !important; } }
.button-login {
    background: #151515; 
    background-size: 300% 300%; 
    color: white; 
    border: 1px solid #333 !important;
    min-width: 115px; 
    letter-spacing: 0.7px; 
    font-family: 'Roboto', sans-serif; 
    height: 34px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0 20px;
    text-decoration: none; 
    font-size: 13px; 
    border-radius: 4px; 
    transition: 0.3s;
}
.button-login:hover { border: 1px solid #555 !important; }
@media (max-width: 1330px) { #menu-item-40203 { display: none !important; } }
@media (max-width: 1175px) { #menu-item-40203, li#menu-item-16382 { display: none !important; } }
.btn-dashboards {
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 1000; 
    display: none; /* Hidden by default */
    text-decoration: none; 
    font-family: Lato, sans-serif; 
    font-weight: bold; 
    padding: 12px 24px;
    background-color: #000; 
    color: #fff; 
    font-size: 1.05em; 
    border-radius: 50px;
    border: 2px solid #F0F8FF; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: all 0.3s ease;
}
.btn-dashboards:hover {
    color: #fff; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.btn-new {
    display: inline-block; 
    font-size: 0.7em; 
    margin-left: 8px; 
    padding: 2px 6px; 
    border-radius: 4px;
    color: #fff; 
    margin-top: -5px; 
    vertical-align: middle; 
    background-image: linear-gradient(45deg, #007bff, #8a2be2); 
    border: none;
}
.btn-close {
    display: none;
    position: absolute; 
    top: -8px; 
    right: -8px; 
    width: 20px; 
    height: 20px; 
    background-color: #fff; 
    color: #000; 
    font-size: 14px; 
    line-height: 20px; 
    text-align: center; 
    border-radius: 50%; 
    cursor: pointer; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}
.btn-dashboards:hover .btn-close {
    display: block;
}
.btn-close:hover {
    background-color: #555;
    color: #fff;
}
@media (min-width: 768px) { 
    .btn-dashboards { display: block; } /* Show on tablets and desktops */
}
@media (max-width: 767px) { 
    .btn-dashboards { display: none !important; } /* Explicitly hide on mobile */
}

/* FIX: Prevent menu collapse - Force full width header */

/* Make header container full width to accommodate all menu items */
header.ct-header {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Make inner header container also full width */
.ct-header-inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 40px !important;
}

/* Menu container - ensure it can hold all items */
#menu-first-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    align-items: center !important;
}

/* Menu items - prevent wrapping and ensure visibility */
#menu-first-menu .menu-item {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    min-width: fit-content !important;
    height: 34px !important;
    min-height: 34px !important;
}

/* Hide the "more" button completely */
.more-items-container,
.more-items-container * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Force all menu items to be visible */
header [data-device="desktop"] [data-id*="menu"] .menu-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 34px !important;
    min-height: 34px !important;
}

/* Center menu links vertically */
header [data-device="desktop"] [data-id*="menu"] .ct-menu-link {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* Mostrar header/footer apenas quando NÃO está em minimal-view */
@media (min-width: 1025px) {
    body:not(.minimal-view) header,
    body:not(.minimal-view) [data-site-header]{
        display: block !important;
    }
    
    ,
    body:not(.minimal-view) footer,
    body:not(.minimal-view) [data-site-footer] {
        display: grid !important;
    }
}

header ul {
    align-items: center;
}

/* ---- Anti-flicker: dropdowns and header show/hide ---- */
/* Hide dropdowns by default to prevent any flash on toggle/resize */
header .sub-menu,
header .ct-mega-menu,
header .ct-mega-menu .sub-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(6px);
    pointer-events: none !important;
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s linear 0.12s;
}

/* Show dropdowns only on hover/focus */
header li.menu-item:hover > .sub-menu,
header li.menu-item:focus-within > .sub-menu,
header li.menu-item:hover > .ct-mega-menu,
header li.menu-item:focus-within > .ct-mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
    pointer-events: auto !important;
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s;
}

/* During minimal-view, ensure no transitions/animations run and dropdowns stay hidden */
body.minimal-view header,
body.minimal-view header * {
    transition: none !important;
    animation: none !important;
}

body.minimal-view header .sub-menu,
body.minimal-view header .ct-mega-menu {
    display: none !important;
}

/* Extra safety on desktop: when header is hidden/shown during resize, keep dropdowns collapsed */
@media (min-width: 1025px) {
    header .sub-menu,
    header .ct-mega-menu {
        will-change: opacity, transform;
        backface-visibility: hidden;
    }
}

.ct-header-cta {
    z-index: 5;
}