.main-navigation {
    li.menu-item {
        a.menu-link {
            span.menu-text {
                font-weight: bold;
                color: #000;
                font-size: 20px;
                text-transform: uppercase;
            }

            &:hover {
                span.menu-text {
                    color: #952828;
                }
            }
        }
    }
}

.ast-search-menu-icon {
    .search-form {
        border: none !important;
    }

    .astra-search-icon svg {
        display: none;
    }

    .astra-search-icon .ast-icon {
        display: inline-block;
        width: 30px;
        height: 30px;
        background-image: url("../icons/search_icon.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

.main-header-bar {
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 1px solid #bcbcbc;

    .search-form {
        input.search-field {
            width: 100px !important;

            &:focus {
                border-style: none !important;
            }

            &::placeholder {
                text-transform: uppercase;
                color: #000;
                font-weight: bold;
            }
        }
    }
}

#mega-menu-wrap-primary {
    ul#mega-menu-primary {
        li.astm-search-menu {
            display: none;
        } 

        li.mega-menu-item a {
            font-weight: bold !important;

            &:hover {
                color: #952828 !important;
            }
        }

        li.mega-current-menu-item {
            a.mega-menu-link {
                color: #952828 !important;
                font-weight: bold !important;
            }
        }
    }
}

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
    background-color: #952828 !important;
}


@media (max-width: 1085px) {
    #mega-menu-wrap-primary {
        ul#mega-menu-primary {
            li {
                .mega-menu-link {
                    font-size: 16px !important;
                }
            }
        }
    }
}

@media (max-width: 950px) {
    .main-navigation {
        li.menu-item {
            a.menu-link {
                span.menu-text {
                    font-size: 15px;
                }
            }
        }
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
        font-size: 15px !important;
    }
}

@media (max-width: 922px) {
    #mega-menu-wrap-primary {
        ul#mega-menu-primary {
            margin-top: 24px;

            li.mega-menu-item a {
                padding-left: 20px !important;

                &:hover {
                    color: #952828;
                }
            }

            li.astm-search-menu {
                display: block;
            } 

            form.is-search-form {
                max-width: 100px;
            }

            input.is-search-input { 
                color: #000;
                padding-left: 20px !important;
                border: none !important;

                &::placeholder {
                    text-transform: uppercase;
                    color: #000;
                    font-weight: bold;
                    text-decoration: underline;
                }
            }

            span.is-search-icon {
                background: none !important;
                border: 1px solid #952828;
            }

            span.is-search-icon svg {
                display: none;
            }

            span.is-search-icon {
                display: inline-block !important;
                width: 30px !important;
                height: 30px !important;
                background-image: url("../icons/search_icon.svg") !important;
                background-size: contain !important;
                background-repeat: no-repeat !important;
                background-position: center !important;
            }
        }
    }
}

@media screen and (max-width: 910px) {
    #mega-menu-wrap-primary {
        ul#mega-menu-primary {
            form.is-search-form {
                max-width: 150px;
                min-width: 10px;
            }
        }
    }
}
