﻿
@media only screen and (min-width: 1200px) {
    .menuTitle
    {
        color: white;
        font-size: 12px;
    }

    .menu-btn {
        position: relative;
        overflow: hidden; /* clip overflow if needed */
        width: 155px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        text-align: center;
        margin-right: 10px;
    }
    /* the “button face” */
    .menu-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/images/menu_button.png') no-repeat center center;
        background-size: contain;
        transition: filter .3s ease;
        /* behind the text */
        z-index: 0;
    }
    /* keep your text on top */
    .menu-btn .menuTitle {
        position: relative;
        z-index: 1;
        max-width: 100px;
        white-space: normal; /* if you want wrapping */
        word-break: break-word;
        margin: 0;
    }
    /* on hover, only the pseudo-element goes gray */
    .menu-btn:hover::before {
        filter: grayscale(100%);
    }

    .nav-item.active .menu-btn::before {
        filter: grayscale(100%);
    }

    .nav-item {
        text-align: center;
        font-size: small;
    }

    .nav-item > a img {
        opacity: 0.5
    }

    .nav-item > a:hover, .dropdown:hover .dropbtn {
        border: 1px ridge whitesmoke;
    }

    .nav-item > a:hover img {
        opacity: 0.8
    }

    .navbar-nav > .active > a img {
        opacity: 1
    }

}

@media only screen and (max-width: 1199.9px) {
    .menuTitle {
        color: teal;
        font-size: 12px;
        font-weight: 600;
        margin-left: 10px;
    }

    .nav-item {
        text-align: left;
        max-height: 35px;
        width: calc(100vw - 36px);
        max-width: none;
    }

    .nav-item > a:hover, .dropdown:hover .dropbtn {
        border: 1px outset whitesmoke;
        max-height: 35px;
    }

    .navbar-nav > .active > a {
        border: 3px outset whitesmoke;
        max-height: 35px;
        font-weight: 800 !important;
    }

    .navDiv-sm {
        /* subtle bottom shadow to lift it off the page */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        background: linear-gradient( to bottom, #006a71 0%, /* full strength teal top */
        #006a71 5%, /* still strong at 5% down */
        rgba(0,143,139,0) 12% /* fully transparent by 12% down */
        ), #fff; /* fallback white underneath */
        margin-top: -8px;
    }

    #navbarSupportedContent {
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: .5rem 1rem;
        background-color: whitesmoke;
    }
}
