.headerBox, .headerPort {
    width: 100%;
    position: relative;
}

.headerDown .logoText a {
    color: #333;
    display:block;
    height:100%;
}

.headerPort .logoText a img {
    padding: 10px 0 10px 0;
    height:100%;
    object-fit:contain;
}

    .headerPort {
    z-index: 1000;
    box-shadow: 0 3px 2px rgba(0,0,0,.3);
}

.headerBox {
    max-width: 1024px;
    margin: 0 auto;
    padding: 10px 0 0;
}

.hdrStockPanel {
    font-size: 14px;
    z-index: 1;
    width: 100%;
    color: #fff;
    top: -8px;
    background: #fff;
    max-height: 50px;
}

.hdrStockPanel_mbl {
    display: none;
    padding: 10px 0 6px;
    font-size: 13px;
    text-align: left;
    color: #424242;
    background: #f3f3f3;
}

.stockTag {
    float: left;
    width: 100px;
    padding-left: 12px;
}

.hdrStockPanel_mbl .marqueeTag {
    float: none;
    width: auto;
    overflow: hidden
}

.navPanel {
    background: #fff;
    margin: 0 0 0;
    width: 100%;
}

.headerPort .logo a {
    float: left;
    margin: 10px 0 10px;
    max-width: 123px;
    width: 100%;
    height: 39px;
    text-indent: -9999px;
    transition: all .2s ease;
}

.navPanel .navBlk {
    width: 100%;
    margin: 0 auto;
}

.hdrSearchBox {
    position: relative;
    width: 17px;
    height: 17px;
    float: right;
    margin: 30px 0 0 0;
}

    .hdrSearchBox a {
        display: block;
        width: 17px;
        height: 17px;
        background: url(/Assets/WesternTransmission/images/iconSearch.png) no-repeat;
        text-indent: -9999px;
    }

    .hdrSearchBox .hdrSearchPanel {
        position: absolute;
        top: 25px;
        right: 0;
        width: 270px;
        background: rgba(156,156,156,.7);
        padding: 5px;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transition: all .2s ease;
        box-shadow: 0 0 2px rgba(0,0,0,.5);
        border-radius: 2px;
    }

.hdrSearchPanel_act {
    top: 32px !important;
    visibility: visible !important;
    opacity: 1 !important
}

.hdrSearchPanel .srchInput {
    border: 1px solid #fff;
    background: #fff;
    outline: 0;
    padding: 0 5px;
    width: 208px;
    height: 32px;
    -webkit-appearance: caret;
}

.hdrSearchPanel .srchBtn {
    background: url(/Assets/WesternTransmission/images/iconSearch.png) 50% 50% no-repeat #fff;
    width: 40px;
    height: 32px;
    border: 1px solid #fff;
    float: right;
    cursor: pointer;
    text-indent: -9999px;
}

.hdrSearchBox .mbl_srchBtn {
    background: url(/Assets/WesternTransmission/images/icons/iconSearch.png) no-repeat;
    width: 18px;
    height: 21px;
    border: 1px solid #fff;
    float: right;
    cursor: pointer;
    margin: 7px 7px 0 0;
}

.mbl_searchBox {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    z-index: 500;
    background: #fff;
    border: 5px solid #00679C;
}

@media screen and (max-width:980px) {
    .headerPort .logo a {
        margin-left: 0;
    }
}

@media screen and (max-width:979px) {
    .hdrSearchBox {
        margin-top: 18px;
    }
}

@media screen and (max-width:640px) {
    .hdrStockPanel {
    }

    .hdrStockPanel_mbl {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: -37px;
    }
}

.headerPort .rowPd .logoText {
    align-content: center;
}

.headerPort .rowPd .toggleNav {
    display: none;
}

@media (max-width:979px){
    .headerPort .rowPd{
       height:52px;
    }
    .headerDown .rowPd {
        height: 40px;
    }
    .headerPort #menu-toggle {
        margin-top: 20px;
    }

    .headerPort .rowPd .toggleNav {
        display: block;
    }
}



.headerPort .rowPd {
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

.headerPort.headerDown .rowPd{
    justify-content:end;
}

a.popupQuery {
    color: #f2913d;
    cursor: pointer;
    text-decoration: underline;
}

.headerDown {
    position: fixed !important;
    top: 0 !important;
    left: 0;
}

    .headerDown .navPanel {
        margin-top: 0 !important
    }

    .headerDown .logo a {
        display: none;
        background: url(/Assets/WesternTransmission/images/logo_mobile.png) no-repeat !important;
        height: 25px;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .headerDown .logoText {
        display: none;
        float: left;
        margin: 15px 0 10px;
        color: #333;
        font-size: 18px;
    }

    .headerDown .mainNav {
        padding-top: 0;
    }

    .headerDown .hdrSearchBox {
        margin-top: 18px;
    }

    .headerDown .hdrStockPanel {
        margin-top: -50px;
    }

@media screen and (max-width:640px) {
    .navPanel {
        margin-top: 0;
    }

    .headerPort .logo a {
        background: url(/Assets/WesternTransmission/images/logo_mobile.png) no-repeat !important;
        height: 25px;
        margin-top: 12px;
        margin-bottom: 15px;
    }

    .headerDown .stic {
        display: none;
    }

    .hdrSearchBox {
        margin-top: 18px;
    }
}
