﻿.main_h {
    position: fixed;
    top: 0px;
    max-height: 100px;
    z-index: 999;
    width: 100%;
    background: none;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0;
    top: -100px;
}

.open-nav {
    max-height: 400px !important;
    background-color: SteelBlue;
}

    .open-nav .mobile-toggle {
        transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
    }

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    right: 0px;
    top: 0;
    width: 30px;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}

    .mobile-toggle span {
        width: 30px;
        height: 4px;
        margin-bottom: 6px;
        border-radius: 1000px;
        background: #C9C9DA;
        display: block;
    }

.sticky {
    background-color: SteelBlue;
    opacity: 1;
    top: 0px;
    border-top-width: 1px;
    border-bottom-width: 1px;
}

.stickyimg {
    opacity: 1;
    top: -4px;
    right: 75%px;
    color: #FFFFFF;
    padding: 10px;
    position: fixed;
    border-top-width: 1px;
    border-bottom-width: 1px;
    visibility: visible;
}

.logo {
    width: 150px;
    height: 100px;
    float: left;
    margin-top: 0px;
}

.menufix {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 2%;
}

.line {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    -webkit-transition: 1s;
    transition: 1s;
}

    .line:after {
        position: absolute;
        -webkit-transition: 1s;
        transition: 1s;
        content: '';
        width: 0;
        left: 50%;
        bottom: 1px;
        height: 2px;
        background-color: #000066;
    }

    .line:hover {
        cursor: pointer;
    }

        .line:hover:after {
            width: 100%;
            left: 0;
        }

@media only screen and (max-width: 100%) {
    .sticky {
        background-color: #101529;
    }

    .main_h {
        padding-top: 0px;
    }

    .logo {
        float: none;
    }

    .mobile-toggle {
        display: block;
    }

    .line:after {
        height: 1px;
        background-color: #8A9AD2;
    }
}

@media all and (min-width: 767px) and (max-width: 1024px) {
    nav ul a {
        padding-right: 12px;
        padding-left: 12px;
    }
}
