
/* clone into the offcanvas with jquery */
body > .hamburger {
	width: 0;
	height: 0;
	overflow: hidden;
}
/* clone styles */
.dh-offcanvas .hamburger {
	position: absolute;
	top: 30px;
	right: 30px;
	transform: scaleX(0.8);
}
.dh-offcanvas .hamburger .line {
	background-color: #b28453 !important;
}
.dh-offcanvas #hamburger-a .line:nth-child(1) {
    transform: translateY(13px) rotate(45deg) !important;
}
.dh-offcanvas #hamburger-a .line:nth-child(2) {
    opacity: 0 !important;
}
.dh-offcanvas #hamburger-a .line:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

/* Offcanvas Overrides */
.wp-block-group.dh-offcanvas {
	align-items: flex-start;
	padding: 0;
}
.wp-block-group.dh-offcanvas.is-active, 
body.dh-offcanvas.is-active {
    display: inline-grid;
    grid-template-columns: 1fr;
    top: 0;
    right: auto;
    left: 0;
    bottom: auto;
    align-items: flex-start;
    justify-items: center;
    height: 100vh;
    width: auto;
	min-width: 25vw;
	max-width: 75vw;
    visibility: visible;
    z-index: 11;
	backdrop-filter: blur(20px) !important;
	background-color: rgba(210,210,210.0.8) !important;
    /* background-color: #d2d2d2 !important; */
}


/* Split into panels */
body .wp-block-group.dh-offcanvas {
    padding: 120px 0 0 0 !important;
    align-items: flex-start;
    justify-items: flex-start;
	padding: 0;
    background: none;
    height: 100vh;
}
body .dh-offcanvas > .wp-block-group {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto 1fr;
    align-items: flex-start;
    height: auto;
    min-height: 100%;
    max-width: 75vw !important;
    column-gap: 0;
    row-gap: 0;
}
.wp-block-group.dh-offcanvas.is-active > .wp-block-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width:25vw;
    height: 120px;
    background: #F6F6F6;
    z-index:-1;
}

/* LVL1 */
div.lvl1_wrapper {
    display: inline-grid;
    width: 25vw;
    height: auto;
    grid-row: 1 / span 1;
    grid-column: 1 / span 1;
}
ul.lvl1_list {
    display: inline-grid;
    grid-template-columns: 1fr;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    left: 40px;
    width: calc(100% - 40px);
}
.mobile-navigation ul {
    display: inline-grid;
    grid-template-columns: 1fr;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    left: 40px;
    width: calc(100% - 40px);
}
ul.lvl1_list:before {
    content: "";
    position: absolute;
    left: -40px;
    height: 100%;
    width: 40px;
    background: #F6F6F6;
}
ul.lvl1_list li.list-item {
    padding: 16px 16px 16px 16px;
    background: #F6F6F6;
    transition: all .3s ease;
    width: calc(100% - 32px);
    position: relative;
    cursor: pointer;
}
li.list-item a {
    color: black;
}
ul.lvl1_list li.list-item.active {
    background: none;
}
ul.lvl1_list li.list-item a {
    text-decoration: none;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
}
ul.lvl1_list li.list-item .caret {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 20px;
    top: 8px;
    background: url("green-caret.png") 50% 50% no-repeat;
    background-size: 5px 24px;
    transition: all .3s ease;
}
ul.lvl1_list li.list-item.active .caret {
    opacity: 0;
    transform: rotate(180deg);
}
ul.lvl1_list li.list-item.active:hover .caret {
    opacity: 1;
}

/* LVL2 */
div.lvl2_wrapper {
    display: inline-grid;
    width: 0vw;
    overflow: hidden;
    height: 100%;
    grid-row: 1 / span 2;
    grid-column: 2 / span 1;
    transition: all .3s ease;
}
div.lvl2_wrapper.active {
    width:25vw;
}
ul.lvl2_list {
    margin-block-start: 0;
    margin-block-end: 0;
    height: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease;
    transition-delay: .3s;
    list-style-type: none;
    margin: 0 0 0 40px;
    padding: 0;
    width: calc(100% - 40px);
}
ul.lvl2_list.active {
    display: inline-block;
    height: auto;
    max-height: calc(100vh - 120px);
}
ul.lvl2_list li.list-item {
    padding: 16px 16px 16px 16px;
    background: none;
    transition: all .3s ease;
    width: calc(100% - 32px);
    position: relative;
    cursor: pointer;
}
ul.lvl2_list li.list-item.active {
    background: #F6F6F6;
}
ul.lvl2_list li.list-item a {
    text-decoration: none;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
}
ul.lvl2_list li.list-item .caret {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 20px;
    top: 8px;
    background: url("green-caret.png") 50% 50% no-repeat;
    background-size: 5px 24px;
    transition: all .3s ease;
}
ul.lvl2_list li.list-item.active .caret {
    opacity: 0;
    transform: rotate(180deg);
}
ul.lvl2_list li.list-item.active:hover .caret {
    opacity: 1;
}

/* LVL3 */
div.lvl3_wrapper {
    display: inline-grid;
    width: 0vw;
    overflow: hidden;
    height: 100%;
    background: #F6F6F6;
    grid-row: 1 / span 2;
    grid-column: 3 / span 1;
    transition: all .3s ease;
}
div.lvl3_wrapper.active {
    width:25vw;
}
div.lvl3_wrapper:before {
    content: "";
    position: absolute;
    left: 50vw;
    top: 0;
    width: 25vw;
    height: 120px;
    background: #F6F6F6;
    z-index: -1;
}
ul.lvl3_list {
    margin-block-start: 0;
    margin-block-end: 0;
    height: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease;
    transition-delay: .3s;
    list-style-type: none;
    margin: 0 0 0 40px;
    padding: 0;
    width: calc(100% - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
ul.lvl3_list.active {
    height: auto;
    max-height: 10000px;
}
ul.lvl3_list li.list-item {
    padding: 16px 16px 16px 16px;
    background: none;
    transition: all .3s ease;
    width: calc(100% - 32px);
    position: relative;
    cursor: pointer;
}
ul.lvl3_list li.list-item a {
    text-decoration: none;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
    text-align: center;
}
ul.lvl3_list li.list-item a img {
    display: inline-block;
    width: 100%;
    height: auto;
}
ul.lvl3_list li.list-item a span {
    display: inline-block;
    width: 100%;
    text-align: center;
}
.lvl3_grid > h3 {
    position: relative;
    padding: 16px 16px 16px 16px;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    width: calc(100% - 80px);
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 20px;
    margin-top: 0;
    box-sizing: border-box;
}
.lvl3_grid > h3:after {
    content: "";
    width: 100%;
    height: 3px;
    display: inline-block;
    background: #B59359;
    background: linear-gradient(90deg,rgba(181, 147, 89, 1) 0%, rgba(181, 147, 89, 0) 100%);
}

/* LVL 3 Header Link */
.lvl3_grid > h3 > a.all_link {
    color: black;
    text-decoration: none;
}

/* Secondary Nav */
body .dh-offcanvas > .wp-block-group > .mobile-navigation {
    grid-row: 2 / span 1;
    grid-column: 1 / span 1;
    height: 100%;
    background: #F6F6F6;
}
body .dh-offcanvas > .wp-block-group > .mobile-navigation  nav {
    background: #F6F6F6 !important;
    padding-left: 40px;
    padding-right: 40px;
}
body .dh-offcanvas > .wp-block-group > .mobile-navigation  nav:before {
    content: "";
    width: 100%;
    height: 3px;
    display: inline-block;
    background: #B59359;
    background: linear-gradient(90deg,rgba(181, 147, 89, 1) 0%, rgba(181, 147, 89, 0) 100%);
}
body .dh-offcanvas > .wp-block-group > .mobile-navigation  nav > ul.wp-block-navigation__container {
    margin-block-start: 0;
    margin-block-end: 0;
    height: auto;
    max-height: 100vh;
    overflow: hidden;
    transition: all .3s ease;
    transition-delay: .3s;
    list-style-type: none;
    margin: 20px 0 0 0;
    padding: 0;
    /* width: calc(100% - 80px); */
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0;
}
body .dh-offcanvas > .wp-block-group > .mobile-navigation  nav > ul.wp-block-navigation__container li.wp-block-navigation-item {
    padding: 16px 16px 16px 16px;
    background: none;
    transition: all .3s ease;
    /* width: calc(100% - 32px); */
    width: 100%;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}
body .dh-offcanvas > .wp-block-group > .mobile-navigation  nav > ul.wp-block-navigation__container li.wp-block-navigation-item a.wp-block-navigation-item__content {
    text-decoration: none;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
    text-align: center;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #2f7456;
}
body .dh-offcanvas > .wp-block-group > .mobile-navigation .mobile-accordion  nav:last-of-type > ul.wp-block-navigation__container li.wp-block-navigation-item a.wp-block-navigation-item__content {
    /* color: black; */
    color: black;
}

@media screen and (max-width:1300px) {
    ul.lvl1_list li.list-item a {
        font-size: 17px;
    }
    ul.lvl2_list li.list-item a {
        font-size: 17px;
    }
    .lvl3_grid > h3 {
        font-size: 17px;
    }
    ul.lvl3_list li.list-item a {
        font-size: 15px;
    }
    body .dh-offcanvas > .wp-block-group > .mobile-navigation  nav > ul.wp-block-navigation__container li.wp-block-navigation-item a.wp-block-navigation-item__content {
        font-size: 17px;
    }
}
@media screen and (max-width:1140px) {
    ul.lvl3_list {
        grid-template-columns: 1fr;
    }
}