@keyframes rotate-infinite {
from {
    transform: rotate(0deg);
}
to {
    transform: rotate(360deg);
}
}

@keyframes navSmoothTransition {
0% {
    top:-100%;
}
/* 10%{
    top:-90%;
} */
100% {
    top:0%;
}
}
.text-black a {
    color: black !important;
}
.text-black a:hover {
    color: var(--accent-secondary) !important;
}
#menu-secondary-nav-top li a {
    font-size: 12px;
    color: black;
    padding: 0 5px;
}
#menu-secondary-nav-top li:hover a {
    color: var(--accent-secondary);
}
#menu-secondary-nav-top li {
    padding: 0;
}

header.position-fixed.scroll{
	animation: navSmoothTransition .5s linear;
}

.txt-logo {
animation: rotate-infinite 35s linear infinite; /* Adjust the duration as needed */
transform-origin:center;
}
  
.no-link a {
    pointer-events: none;
}

ul.menu li {
    padding: 9px 0;
    position: relative;
}

ul.menu>li.menu-item-has-children {
    margin-right: 18px;
}

.dropdown-arrow {
    clip-path: polygon(100% 0, 0 0, 50% 100%);
    -webkit-clip-path: polygon(100% 0, 0 0, 50% 100%);
    -ms-clip-path: polygon(100% 0, 0 0, 50% 100%);
    width: 9px;
    height: 9px;
    top: 45%;
    right: 0;
    transform: translate(9px, -50%);
}

@media screen and (max-width:1199px) {
    .dropdown-arrow {
        top: 12px;
        transform: translate(-5px, 0%);
        width: 18px;
        height: 15px;
    }
}

@media only screen and (min-width:1199px){
ul.menu>li>a {
    padding: 0px 9px;
}
}

ul.menu>li>a {
    color: black;
    text-decoration:none;
    transition:all .25s ease-in-out;
    cursor:pointer;
}

a svg,
a .cls-1.search {
    transition:all .25s ease-in-out;
}
a:hover svg,
a:hover .cls-1.search {
    fill:var(--accent-secondary) !important;
}
#logoMain .cls-3 {
    transition:all .25s ease-in-out;
}
#logoMain:hover .cls-3 {
    fill: var(--accent-secondary);
}
ul.menu>li.current-menu-item>a,ul.menu>li>a:hover,
.current_page_parent>a,
#menu-main-menu>.current_page_item>a,
.current_page_parent>.current-menu-item>a,
.current-page-ancestor>a,
#menu-main-menu .current_page_ancestor .current_page_item>a {
    text-decoration: none;
    color:var(--accent-secondary);
}

@media screen and (min-width:1200px) {
    ul.menu li:first-child a {
        border: none;
        padding-left: 0;
    }
}

@media screen and (max-width:1199px) {
    .nav ul.menu {
        display: block !important;
        /* padding: 0 20px 20px; */
    }

    /* ul.menu > li > a {
        color:white;
        font-weight: 700;
        text-decoration:none;
    } */
    ul.menu>li.current-menu-item>a {
        text-decoration: underline;
    }

    .menu-main-menu-container {
        pointer-events: none;
    }

    .activate .menu-main-menu-container {
        pointer-events: all;
    }

    .nav ul.shopping-cart.menu {
        background: transparent;
        display: flex !important;
    }

    .sub-menu-parent .sub-menu-parent {
        height: 100%;
        position: relative;
    }

    a#navToggle {
        cursor: pointer;
    }

    .nav-toggle div div {
        height: 5px;
        width: 55px;
        margin: 4px auto;
        margin-right: 0;
        transition: all .75s ease-in-out;
    }

    .activate .line-1 {
        transform: rotate(45deg) translate(6px, 18px);
        transform-origin: right;
    }

    .activate .line-3 {
        transform: rotate(-45deg) translate(4px, 3px);
        transform-origin: left;
    }

    .activate .line-2 {
        opacity: 0;
    }

    /* hides nav items */
    div#navItems {
        height: 100vh;
        overflow: scroll;
        transition: all 1s ease-in-out;
        position: fixed;
        top: 100%;
        left: 0;
        z-index: 3;
    }

    div#navMenuOverlay {
        width: 100%;
        height: 100%;
        top: 0;
        background: rgba(0, 0, 0, .5);
        transition: all 1s ease-in-out;
    }

    #navMenuOverlay {
        left: -100%;
    }

    #navMenuOverlay.activate {
        left: 0;
    }

    div#navItems.activate {
        top: 0;
    }
}

@media screen and (min-width:1200px) {
    ul.sub-menu {
        padding: 0 20px;
        position: absolute;
        background: var(--accent-primary);
        z-index: 10;
        height: 0;
        overflow: hidden;
        transition: all .5s ease-in-out;
        min-width: 100%;
        top: 100%;
    }
}

/* @media screen and (max-width:1199px) {
    ul.sub-menu {
        height:100%!important;
    }
} */

ul.sub-menu, ul.sub-menu * {
    list-style: none;
    overflow: hidden;
    transition: all .25s ease-in-out;
    text-align: left;
}

ul.sub-menu li {
    white-space: nowrap;
}

ul.sub-menu li a {
    color: white;
}
ul.sub-menu li a:hover {
    color: var(--accent-secondary);
}

@media only screen and (max-width:1199px) {
    ul.sub-menu {
        height: unset !important;
    }

    ul.sub-menu li a {
        color: white;
    }
}

/* for blog and other pages */
.page-template-blog header#header,
.single header#header,
.archive header#header,
.category header#header,
.tag header#header,
.search header#header {
    background: #f3be7c;
}

/* website specific css */