/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 /* Mega Menu Container */
.od-mega-menu-container {
    display: block;
    background-color: #e1e1e1;
    width: 100%;
    max-width: 1440px;
}
.od-mega-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.od-mega-menu-link {
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}
.od-mega-menu-link .od-mega-menu-arrow {
    display: none;
}
.od-mega-menu-link:hover {
    color: rgba(17, 17, 17, 0.5);
}
.od-mega-menu-item {
    position: relative;
    display: inline-block;
    max-width: 240px;
    width: 100%;
}
.od-mega-menu-dropdown {
    display: block;
    position: relative;
    background-color: transparent;
    padding: 10px 0 0 0;
    z-index: 1000;
    width: 100%;
}
.od-mega-menu-columns {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.od-mega-menu-column {
    display: flex;
    background-color: rgb(233, 233, 233);
    box-sizing: border-box;
    margin: 5px 0px;
    padding: 10px 5px;
}
.od-mega-menu-column:hover {
    background-color: rgba(233, 233, 233, 0.5)
}
.od-mega-menu-column:nth-child(1), .od-mega-menu-column:nth-child(2) {
    background-color: rgb(243, 243, 243);
    border-radius: 12px;
}
.od-mega-menu-column:nth-child(1):hover, .od-mega-menu-column:nth-child(2):hover {
    background-color: rgba(243, 243, 243, 0.5)
}
.od-mega-menu-column-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;    
}
.od-mega-menu-column-item {
    color: #333;
}
.od-mega-menu-column-item:nth-child(2) {
    display: flex;
}
.od-mega-menu-description {
    font-family: inherit;
    font-size: 12px;
    color: #333;
    padding-top: 10px;
    margin: 0px;
}
.od-mega-menu-arrow {
    color: #333;
    font-size: 24px;
    line-height: 0;
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .od-mega-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .od-mega-menu-item {
        max-width: unset;
        border-bottom: solid 1px #f1f1f1;
    }
    .od-mega-menu-item:last-child {
        border-bottom: none;
    }
    .od-mega-menu-arrow {
        transition: transform 0.3s ease;
    }
    .od-mega-menu-item.is-open .od-mega-menu-link .od-mega-menu-arrow {
        transform: rotate(90deg);
    }
    .od-mega-menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .od-mega-menu-link .od-mega-menu-arrow {
        display: block;
    }
    .od-mega-menu-dropdown {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-5px);
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            transform 0.25s ease;
    }
    .od-mega-menu-item.is-open .od-mega-menu-dropdown {
        max-height: 1000px;
        opacity: 1;
        transform: translateY(0);
        padding-bottom: 10px;
    }
    .od-mega-menu-columns {
        flex-direction: column;
    }
}

