@media (max-width: 1020px) {
    #mobile_nav { display: block !important; }
}

body.navShow {
    overflow: hidden !important;
}

#mobile_nav {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform .25s ease-out;
}

body.navShow #mobile_nav {
    transform: translateX(0);
}

.mobile_nav_panels {
    display: flex;
    flex-direction: row;
    width: 200%;
    height: 100%;
    transition: transform .25s ease-out;
}

body.navSubShow .mobile_nav_panels {
    transform: translateX(-50%);
}

.mobile_nav_panel {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#mobile_nav_panel_1 { background: var(--color_grey); }
#mobile_nav_panel_2 { background: #fff; }

.mobile_nav_search_bar {
    background: var(--color_grey);
    border-top: 3px solid var(--color_green);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mobile_search_form {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    height: 40px;
    padding: 0 12px;
    gap: 12px;
    color: #37460d;
}

.mobile_search_form svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
    flex-shrink: 0;
}

.mobile_search_form input[type="search"] {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #37460d;
    padding: 0;
    width: 100%;
    appearance: none;
}

.mobile_search_form input[type="search"]::-webkit-search-cancel-button,
.mobile_search_form input[type="search"]::-webkit-search-decoration {
    display: none;
}

.mobile_search_form button[type="submit"] {
    width: 40px;
    height: 40px;
    background: #37460d;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
    color: #fff;
    transition: background .15s ease-out;
    margin-right: -12px;
}

.mobile_search_form button[type="submit"]:hover {
    background: var(--color_green);
}

.mobile_search_form button[type="submit"] svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    stroke: none;
}

.mobile_search_form input[type="search"]::placeholder {
    color: rgba(55, 70, 13, .4);
}

.mobile_lang_switch {
    display: flex;
    align-items: center;
    height: 40px;
    flex-shrink: 0;
}

.mobile_lang_switch .lang_select {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .15s ease-out;
}

.mobile_lang_switch a.lang_select {
    background: #fff;
    color: #000;
}

.mobile_lang_switch a.lang_select:hover {
    background: #ddd;
    color: #000;
}

.mobile_lang_switch span.lang_select {
    background: #37460d;
    color: #fff;
    cursor: default;
}

.mobile_nav_items {
    flex: 1;
    padding: 16px 12px 12px;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.mobile_nav_items ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile_nav_items ul.menu li {
    margin: 0 0 12px;
}

.mobile_nav_items ul.menu a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #37460d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 8px 12px;
    background: var(--color_grey);
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.mobile_nav_items ul.menu a:hover {
    color: #37460d;
}

.mobile_nav_items ul.menu .menu_arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mobile_nav_items ul.menu .menu_arrow svg {
    width: 11px;
    height: 19px;
    fill: #37460d;
    stroke: none;
}

.mobile_nav_items ul.sub-menu {
    display: none;
}

.mobile_nav_cta {
    padding: 12px;
    padding-bottom: 48px;
    background: var(--color_grey);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex-shrink: 0;
}

.mobile_nav_cta .cta_btn {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 12px;
    background: var(--color_green);
    color: #000;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: opacity .15s ease-out;
}

.mobile_nav_cta .cta_btn svg {
    width: 20px;
    height: auto;
    flex-shrink: 0;
    fill: currentColor;
    stroke: none;
}

.mobile_nav_cta .cta_btn:hover {
    opacity: .85;
    color: #000;
}

#mobile_nav_back {
    background: var(--color_grey);
    border: none;
    border-top: 3px solid var(--color_green);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 64px;
    padding: 0 12px 0 24px;
    width: 100%;
    flex-shrink: 0;
    text-align: left;
    color: #37460d;
}

#mobile_nav_back .back_icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#mobile_nav_back .back_icon svg {
    width: 11px;
    height: 19px;
    fill: currentColor;
    stroke: none;
    transform: scaleX(-1);
}

#mobile_nav_back .mobile_nav_back_label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #37460d;
}

.mobile_subnav_items {
    flex: 1;
    padding: 12px;
    background: #fff;
}

.mobile_subnav_items ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile_subnav_items ul li {
    margin: 0;
}

.mobile_subnav_items ul a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #37460d;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    background: var(--color_grey);
    text-decoration: none;
    border-bottom: none;
}

.mobile_subnav_items ul a:hover {
    color: #37460d;
    border-bottom: none;
}
