/* -------------------------------------------- */
/* --------- Secondary-Navigation ------------- */
/* -------------------------------------------- */

/* no secondary-nav on small screen */
.sec-nav-wrap{
    display: none;
}


/* show secondary nav on big screen */
@media only screen and (min-width:500px){
    .sec-nav-wrap{
        display: block;
        position: absolute;
        width: 100%;
        z-index: 10000;
        border-bottom: 1px solid transparent;
        box-shadow: 0 0 0px transparent;
        transition: border 0.3s, box-shadow 0.3s ;
        background-color: #fff;
        /*border-bottom: 1px solid #dadada; /* for full-screen-width, else use border on nav only */
    }
    .sec-nav-wrap.scrolled{
        /* class will be set by js when sec-nav is scrolled to the top */
        position: fixed;
        left:0;
        /* top will be set by js to be below fixed header */
        border-bottom: 1px solid #dadada;
        box-shadow: 0 5px 5px rgba(67,67,67,0.2);
    }

    .sec-nav-wrap nav.sec-nav{
        height: 53px;
        margin-top: 2em;
        border-bottom: 1px solid #dadada; /* or use border on nav-wrapper for full-screen-width */
        overflow: hidden;
        color: #858585;
        transition: 0.3s;
    }
    
     .sec-nav-wrap.scrolled nav.sec-nav{
        border-bottom:0;
    }
    
    .sec-nav-wrap + .sec-nav-after{
        padding-top: 5em; /* fallback */
        padding-top: calc(2em + 53px + 1px); /* use margin + height + border of .sec-nav */
    }
        
    .sec-nav-wrap nav.sec-nav ul{
        height: 100%;
        display: flex;
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
    .sec-nav-wrap nav.sec-nav li{
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        margin-right: 2rem;
    }
    .sec-nav-wrap nav.sec-nav li:last-child{
        margin-right: 0;
    }
    .sec-nav-wrap nav.sec-nav li a{
        display: inline-block;
        font-weight: 600;
        font-size: .9em;
        letter-spacing: .1px;
        transition: .3s ease-in-out;
        text-decoration: none;
    }
    .sec-nav-wrap nav.sec-nav li a:hover{
        color: #2c2c2c;
    }

    .sec-nav-wrap nav.sec-nav li a.is-active{
        color: #2c2c2c;
    }
    .sec-nav-wrap nav.sec-nav li a.is-active::after {
        content: '';
        height: 4px;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        background: #fc3;
    }

}


@media only screen and (min-width:min-width: 1025px){
    .sec-nav-wrap{
        padding-top: 20px;   
    }
}
@media only screen and (min-width:500px) and (max-width:1700px){
    .sec-nav-wrap{
        padding-top: 0px;   
    }
    .sec-nav-wrap nav.sec-nav ul{
        justify-content: flex-end;
    }
}