/* ==========================================================================
   Smith Green — Mobile Menu Styles
   ========================================================================== */

.mobile-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #000;
    border-radius: 0 0 0 0;
}

.teklon-mobile-menu-item {
    position: relative;
    z-index: 10000;
    border-style: solid;
    border-width: 1px 0px 1px 1px;
    border-color: #FFFFFF;
    flex: 1 0 0%;
    text-align: center;
    padding: 10px 0;
}

.menu-item {
    text-align: center;
    color: #fff;
    text-decoration: none;
    padding: 6px 0;
}

.menu-item svg,
.menu-item i {
    display: block;
    margin: 4px auto 2px;
    width: 1em;
    height: 1em;
    fill: #ffffff;
    color: #ffffff;
    font-size: 23px;
}

.teklon-mobile-menu-item > .menu-item span {
    display: block;
    font-size: 12px;
}

/* ------------------------------------------------------------------
   Dropdown menu (rendered via Elementor template)
   ----------------------------------------------------------------*/

.teklon-mobile-nav-menu {
    display: none;
    position: absolute;
    right: -250px;
    top: 70px;
    width: 200px;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #cccccc;
    border-radius: 6px;
    margin-top: 10px;
    margin-right: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    animation: fadeIn 0.3s ease-in-out forwards;
    transition: right 0.3s ease-in-out;
    z-index: 10000;
    background: #ffffff;
}

.teklon-nav-menu {
    list-style: none;
    padding: 15px 10px;
}

.teklon-nav-menu .menu-item:not(:last-child) {
    border-bottom: solid 1px #000000;
}

.teklon-nav-menu a {
    color: #000000;
}

/* ------------------------------------------------------------------
   Search container
   ----------------------------------------------------------------*/

.teklon-search-container {
    display: none;
    position: absolute;
    left: -100%;
    top: 75px;
    width: 100%;
    margin-top: 10px;
    background: #ffffff;
    z-index: 10001;
    animation: fadeIn 0.3s ease-in-out forwards;
    transition: left 0.3s ease-in-out;
}

.teklon-search-content {
    list-style: none;
    padding: 5px 10px;
}

/* ------------------------------------------------------------------
   Show states (toggled by JS)
   ----------------------------------------------------------------*/

.teklon-mobile-nav-menu.show {
    display: block;
    right: 0;
}

.teklon-search-container.show {
    left: 0;
}

/* ------------------------------------------------------------------
   Elementor Nav Menu widget overrides (inside mobile menu template)
   ----------------------------------------------------------------*/

.elementor-widget-n-menu .e-n-menu-toggle svg {
    fill: #ffffff !important;
    margin: 0 auto !important;
    transition: 500ms !important;
    height: 23px !important;
    width: 23px !important;
}

.elementor-widget-n-menu .e-n-menu[data-layout=dropdown] .e-n-menu-title:not(.e-current) .e-n-menu-dropdown-icon svg {
    margin: 0;
}

.elementor-widget-n-menu .e-n-menu[data-layout=dropdown] .e-n-menu-title {
    justify-content: space-between !important;
}
