﻿:root {
    --aj-bg: #fef7f0;
    --aj-peach: #fbeadb;
    --aj-footer: #f6dfc8;
    --aj-accent: #e67323;
    --aj-brown: #543926;
    --aj-text: #2b2521;
}


/* ==============================================================
   GLOBAL
============================================================== */

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
}


body {
    background:
        var(--aj-bg);

    color:
        var(--aj-text);

    font-family:
        "Inter",
        sans-serif;
}


a {
    text-decoration: none;
}


.cms-page-body {
    width: 100%;
}


/* ==============================================================
   ADMIN PREVIEW TOOLBAR
============================================================== */

.cms-preview-toolbar {
    min-height: 44px;

    padding:
        8px
        18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background:
        var(--aj-brown);

    color:
        #fff;

    font-size: 12px;
}


.cms-preview-toolbar > div {
    display: flex;

    align-items: center;

    gap: 10px;
}


.cms-preview-toolbar strong {
    font-weight: 600;
}


.cms-preview-toolbar a {
    padding:
        5px
        10px;

    border:
        1px solid
        rgba(255,255,255,.45);

    border-radius: 6px;

    color:
        #fff;
}


.cms-preview-toolbar a:hover {
    background:
        rgba(255,255,255,.12);
}


/* ==============================================================
   HEADER
============================================================== */

.cms-site-header {
    position: relative;

    z-index: 1000;

    width: 100%;

    background:
        var(--aj-bg);
}


.cms-header-row {
    position: relative;

    z-index: 1000;

    width: 100%;

    min-height: 90px;

    background:
        var(--aj-bg);

    border-bottom:
        1px solid
        rgba(84,57,38,.04);
}


.cms-header-row > .container-fluid,
.cms-header-row > .container,
.cms-header-row > .container-xl {
    min-height: 90px;
}


.cms-header-row .row {
    min-height: 90px;
}


.cms-layout-column {
    min-height: 90px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: visible;
}


/* ==============================================================
   BRAND
============================================================== */

.cms-brand-wrap {
    width: 100%;
}


.cms-brand {
    display: inline-flex;

    flex-direction: column;

    line-height: 1.05;

    text-decoration: none;
}


.cms-brand-title {
    display: block;

    color:
        var(--aj-text);

    font-family:
        "Lora",
        serif;

    font-size: 23px;

    font-weight: 600;

    white-space: nowrap;
}


.cms-brand-subtitle {
    display: block;

    margin-top: 4px;

    color:
        rgba(43,37,33,.72);

    font-family:
        "Karma",
        serif;

    font-size: 13px;

    letter-spacing: 2.2px;

    white-space: nowrap;
}


/* ==============================================================
   LOGO
============================================================== */

.cms-logo-wrap {
    width: 100%;
}


.cms-header-logo {
    display: inline-block;

    max-width: 100%;

    height: auto;
}


/* ==============================================================
   MAIN NAVIGATION
============================================================== */

.cms-main-navigation {
    width: 100%;

    min-height: 90px;

    display: flex;

    align-items: center;

    position: relative;

    z-index: 1100;

    overflow: visible;
}


.cms-main-navigation.menu-align-left {
    justify-content:
        flex-start;
}


.cms-main-navigation.menu-align-center {
    justify-content:
        center;
}


.cms-main-navigation.menu-align-right {
    justify-content:
        flex-end;
}


/* ==============================================================
   ROOT MENU
============================================================== */

.cms-menu-root {
    margin: 0 !important;

    padding: 0 !important;

    display: flex !important;

    align-items: stretch;

    justify-content: center;

    gap: 0;

    list-style: none !important;
}


.cms-menu-root > li {
    list-style: none !important;
}


.cms-menu-item {
    position: relative;

    display: flex;

    align-items: stretch;

    margin: 0;

    padding: 0;

    list-style: none;
}


.cms-menu-link {
    min-height: 90px;

    padding:
        0
        14px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    color:
        var(--aj-text);

    font-size: 13px;

    font-weight: 400;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color .18s ease;
}


.cms-menu-link:hover,
.cms-menu-item:hover
> .cms-menu-link {
    color:
        var(--aj-accent);
}


.cms-menu-arrow {
    font-size: 8px;

    opacity: .6;
}


/* ==============================================================
   SUBMENU
============================================================== */

.cms-submenu {
    min-width: 165px;

    margin: 0 !important;

    padding:
        7px !important;

    position: absolute;

    top:
        calc(100% - 9px);

    left: 50%;

    z-index: 99999;

    display: block;

    background:
        var(--aj-bg);

    border:
        1px solid
        var(--aj-accent);

    border-radius: 10px;

    box-shadow:
        0
        10px
        25px
        rgba(84,57,38,.13);

    list-style: none !important;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translate(
            -50%,
            8px
        );

    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s ease;
}


.cms-menu-item:hover
> .cms-submenu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translate(
            -50%,
            0
        );
}


.cms-submenu-item {
    width: 100%;

    position: relative;

    margin: 0;

    padding: 0;

    list-style: none !important;
}


.cms-submenu-link {
    width: 100%;

    min-height: 37px;

    padding:
        9px
        11px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    border-radius: 7px;

    color:
        var(--aj-text);

    font-size: 12px;

    line-height: 1.2;

    text-decoration: none;

    white-space: nowrap;
}


.cms-submenu-link:hover {
    background:
        #f6c498;

    color:
        var(--aj-text);
}


/* ==============================================================
   LEVEL 3 MENU
============================================================== */

.cms-submenu-item
> .cms-submenu {
    top: -8px;

    left:
        calc(
            100% + 6px
        );

    transform:
        translate(
            8px,
            0
        );
}


.cms-submenu-item:hover
> .cms-submenu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translate(
            0,
            0
        );
}


/* ==============================================================
   HEADER BUTTON
============================================================== */

.cms-button-wrap {
    width: 100%;
}


.cms-header-button {
    min-width: 102px;

    min-height: 35px;

    margin: 3px;

    padding:
        7px
        13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        var(--aj-accent);

    border-radius: 9px;

    background:
        transparent;

    color:
        var(--aj-accent);

    font-size: 13px;

    text-decoration: none;

    white-space: nowrap;

    transition:
        .18s ease;
}


.cms-header-button:hover {
    background:
        var(--aj-accent);

    color:
        #fff;
}


/* ==============================================================
   LAYOUT TEXT / ICON
============================================================== */

.cms-layout-text,
.cms-layout-icon {
    width: 100%;
}


/* ==============================================================
   FOOTER
============================================================== */

.cms-site-footer {
    width: 100%;

    background:
        var(--aj-bg);
}


.cms-footer-outer {
    width: 100%;

    padding:
        16px
        30px
        0;
}


.cms-footer-box {
    width: 100%;

    min-height: 112px;

    position: relative;

    overflow: hidden;

    background:
        var(--aj-footer);

    border-radius:
        10px
        10px
        0
        0;
}


.cms-footer-box
> .container-fluid,
.cms-footer-box
> .container,
.cms-footer-box
> .container-xl {
    min-height: 112px;

    padding-top: 0;

    padding-bottom: 0;
}


.cms-footer-row {
    min-height: 112px;
}


/* ==============================================================
   FOOTER ICON
============================================================== */

.cms-footer-box
.footer-icon-column {
    min-height: 112px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.cms-footer-box
.footer-icon-column
.cms-layout-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;
}


.cms-footer-box
.footer-icon-column i {
    margin: 0;

    display: block;

    color:
        #765f4d;

    font-size:
        54px !important;

    line-height: 1;
}


/* ==============================================================
   FOOTER QUOTE
============================================================== */

.cms-footer-box
.footer-text-column {
    min-height: 112px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        0
        30px;
}


.cms-footer-text {
    width: 100%;

    margin: 0;

    color:
        #171717;

    font-size: 17px;

    line-height: 1.45;

    text-align: center;
}


/* ==============================================================
   PAGE BUILDER
============================================================== */

.cms-builder-row {
    width: 100%;
}


.cms-builder-element {
    width: 100%;
}


/* ==============================================================
   TABLET
============================================================== */

@media(max-width: 1199px) {

    .cms-menu-link {
        padding:
            0
            9px;

        font-size: 12px;
    }

}


/* ==============================================================
   MOBILE
============================================================== */

@media(max-width: 991px) {

    .cms-header-row,
    .cms-header-row .row,
    .cms-layout-column,
    .cms-main-navigation {
        min-height: auto;
    }


    .cms-layout-column {
        padding:
            8px
            15px;

        justify-content: center;
    }


    .cms-brand-wrap,
    .cms-button-wrap {
        text-align: center !important;
    }


    .cms-main-navigation {
        justify-content:
            center !important;
    }


    .cms-menu-root {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }


    .cms-menu-item {
        width: 100%;

        display: block;
    }


    .cms-menu-link {
        min-height: 42px;

        width: 100%;

        justify-content:
            space-between;

        padding:
            9px
            12px;
    }


    .cms-submenu {
        min-width: 0;

        width: 100%;

        position: static;

        display: none;

        border: 0;

        border-left:
            2px solid
            var(--aj-accent);

        border-radius: 0;

        box-shadow: none;

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: none;
    }


    .cms-menu-item:hover
    > .cms-submenu,
    .cms-submenu-item:hover
    > .cms-submenu {
        display: block;

        opacity: 1;

        visibility: visible;

        transform: none;
    }


    .cms-submenu-item
    > .cms-submenu {
        position: static;

        transform: none;
    }


    .cms-footer-outer {
        padding:
            12px
            15px
            0;
    }


    .cms-footer-box,
    .cms-footer-row {
        min-height: auto;
    }


    .cms-footer-box
    .footer-icon-column {
        min-height: 80px;
    }


    .cms-footer-box
    .footer-text-column {
        min-height: 80px;

        padding:
            15px
            25px;
    }

}


/* ==============================================================
   SMALL MOBILE
============================================================== */

@media(max-width: 575px) {

    .cms-preview-toolbar {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .cms-brand-title {
        font-size: 20px;
    }


    .cms-brand-subtitle {
        font-size: 11px;

        letter-spacing: 1.5px;
    }


    .cms-footer-text {
        font-size: 13px;
    }

}
