/**
 * Theme Name: foundation-kit
 * Theme URI: https://www.wearethunderbolt.com
 * Author: Thunderbolt Digital
 * Author URI: https://www.wearethunderbolt.com
 * Description: Custom Theme for Theme
 * Version: 1.0.0
 */

/* Header CSS */
header {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}
.logged-in header {
    top: 32px;
}
div#main-navigation-wrap::-webkit-scrollbar {
    display: none;
}
#main-navigation-wrap ul#menu-main-navigation > li > a {
    font-size: 28px;
    font-weight: 700;
    padding: 20px 56px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    transition: all 0.3s ease-in;
    font-family: "Lexend Deca", sans-serif;
}
#main-navigation-wrap ul#menu-main-navigation > li > a:hover,
#main-navigation-wrap ul#menu-main-navigation > li.active > a {
    background-color: #fff;
    color: rgb(var(--theme-secondary));
}
#main-navigation-wrap ul#menu-main-navigation > li > ul.sub-menu {
    position: fixed;
    left: 566px;
    top: 0;
    width: 0;
    background-color: #fff;
    color: rgb(var(--theme-secondary));
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.3s ease-in;
    padding: 13rem 50px 40px;
    overflow-y: scroll;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu::-webkit-scrollbar {
    display: none;
}
#main-navigation-wrap ul#menu-main-navigation > li.active > ul.sub-menu {
    width: 500px;
    opacity: 1;
    visibility: visible;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    > li
    ul.sub-menu {
    padding-left: 25px;
    display: none;
    padding-bottom: 15px;
    padding-top: 5px;
}
#main-navigation-wrap ul#menu-main-navigation > li > ul.sub-menu a {
    text-transform: uppercase;
    font-size: 21px;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 400;
    display: flex;
    align-items: center;
    margin-top: 20px;
    position: relative;
    color: rgb(var(--theme-secondary));
    width: max-content;
}
#main-navigation-wrap ul#menu-main-navigation > li > ul.sub-menu a::before {
    position: absolute;
    content: "";
    width: 0;
    background-color: rgb(var(--theme-secondary));
    height: 5px;
    bottom: 0;
    left: 0;
    transition: all 0.3s ease-in;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    a:hover::before,
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.current-menu-item
    a::before,
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.active
    > a::before {
    width: 100%;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li.active
    > ul.sub-menu
    > li:nth-child(2)
    a {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 35px;
    display: block;
}
#main-navigation-wrap ul#menu-main-navigation > li > ul.sub-menu li.back-arrow {
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
#main-navigation-wrap ul#menu-main-navigation > li > a span.arrow {
    position: relative;
    padding-left: 10px;
    width: 22px;
    height: 22px;
}
#main-navigation-wrap ul#menu-main-navigation > li > a span.arrow svg {
    width: 22px;
    height: 22px;
    position: absolute;
    transform: rotate(90deg);
}
#main-navigation-wrap ul#menu-main-navigation > li > a span.arrow svg path {
    stroke: #fff;
    stroke-width: 4px;
    transition: all 0.3s ease-in;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > a:hover
    span.arrow
    svg
    path,
#main-navigation-wrap
    ul#menu-main-navigation
    > li.active
    > a
    span.arrow
    svg
    path {
    stroke: rgb(var(--theme-secondary));
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.back-arrow
    svg {
    width: 13px;
    height: 10px;
    transform: rotate(-90deg);
    margin-right: 2px;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.menu-item-has-children
    a {
    margin-bottom: 0;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.menu-item-has-children
    li {
    padding-bottom: 8px;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.menu-item-has-children
    li
    a {
    margin-top: 0;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.menu-item-has-children
    a
    span.arrow {
    position: relative;
    margin-left: 10px;
    width: 18px;
    height: 12px;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.menu-item-has-children
    a
    span.arrow
    svg {
    width: 18px;
    height: 12px;
    position: absolute;
    transform: rotate(180deg);
    transition: all 0.3s ease-in;
}
#main-navigation-wrap
    ul#menu-main-navigation
    > li
    > ul.sub-menu
    li.menu-item-has-children.active
    a
    span.arrow
    svg {
    transform: rotate(0);
}
@media (max-width: 1279px) {
    #main-navigation-wrap ul#menu-main-navigation > li > a {
        font-size: 20px;
        padding: 16px 40px;
    }
    #main-navigation-wrap ul#menu-main-navigation > li > a span.arrow svg {
        width: 17px;
        height: 20px;
    }
    #main-navigation-wrap ul#menu-main-navigation > li > ul.sub-menu {
        left: 404px;
        padding: 10rem 30px 30px;
    }
    #main-navigation-wrap ul#menu-main-navigation > li > ul.sub-menu a {
        font-size: 16px;
        margin-top: 15px;
    }
    #main-navigation-wrap
        ul#menu-main-navigation
        > li.active
        > ul.sub-menu
        > li:nth-child(2)
        a {
        font-size: 20px;
        margin-bottom: 20px;
    }
    #main-navigation-wrap ul#menu-main-navigation > li.active > ul.sub-menu {
        width: 360px;
    }
}
@media (max-width: 767px) {
    #main-navigation-wrap ul#menu-main-navigation > li > ul.sub-menu {
        left: 0;
        top: 0;
        padding: 10rem 20px 20px;
    }
    #main-navigation-wrap ul#menu-main-navigation > li.active > ul.sub-menu {
        width: 100%;
    }
    #main-navigation-wrap ul#menu-main-navigation > li > a {
        padding: 16px 20px;
    }
    header.active button#menu-trigger,
    header.active .right a {
        color: rgb(var(--theme-secondary));
    }
    header.active .logo img.default {
        opacity: 0;
    }
    header.active .logo img.black-mobile {
        opacity: 1;
    }
}
@media (max-width: 639px) {
    .logged-in header {
        top: 0;
    }
}
/* Header CSS */
