﻿.navmenu {
    display: block;
    height: 49px;
    line-height: 49px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 11;
    background-color: transparent;
}

.menu {
    display: inline-block;
    transition: right 0.3s;
}

    .menu li {
        display: inline-block;
        position: relative;
        z-index: 1;
    }

        .menu li a {
            text-decoration: none;
            padding: 0 10px;
            font-size: 14px;
            display: block;
            color: #fff;
            transition: all 0.2s ease-in-out 0s;
            cursor: pointer;
        }

.responsive-menu {
    display: none;
    width: 49px;
    height: 49px;
    line-height: 49px;
    padding-right: 10px;
    box-sizing: border-box;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
}

    .responsive-menu:hover {
        color: #fff;
        text-decoration: none;
    }
/*icon*/
#nav-icon2 {
    width: 27px;
    height: 100%;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

    #nav-icon2 span {
        display: block;
        position: absolute;
        height: 3px;
        width: 50%;
        opacity: 1;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

        #nav-icon2 span:nth-child(even) {
            left: 50%;
            border-radius: 0 9px 9px 0;
        }

        #nav-icon2 span:nth-child(odd) {
            left: 0px;
            border-radius: 9px 0 0 9px;
        }

        #nav-icon2 span:nth-child(1), #nav-icon2 span:nth-child(2) {
            top: 14px;
        }

        #nav-icon2 span:nth-child(3), #nav-icon2 span:nth-child(4) {
            top: 23px;
        }

        #nav-icon2 span:nth-child(5), #nav-icon2 span:nth-child(6) {
            top: 32px;
        }

    #nav-icon2.open span:nth-child(1), #nav-icon2.open span:nth-child(6) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #nav-icon2.open span:nth-child(2), #nav-icon2.open span:nth-child(5) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #nav-icon2.open span:nth-child(1) {
        left: 5px;
        top: 20px;
    }

    #nav-icon2.open span:nth-child(2) {
        left: calc(50% - 5px);
        top: 20px;
    }

    #nav-icon2.open span:nth-child(3) {
        left: -50%;
        opacity: 0;
    }

    #nav-icon2.open span:nth-child(4) {
        left: 100%;
        opacity: 0;
    }

    #nav-icon2.open span:nth-child(5) {
        left: 5px;
        top: 24px;
    }

    #nav-icon2.open span:nth-child(6) {
        left: calc(50% - 5px);
        top: 24px;
    }
/*search*/
.leftboxMenu {
    float: left;
    height: 32px;
    font-size: 13px;
    color: #fff;
    line-height: 32px;
    padding: 0 12px;
    border-radius: 16px;
    margin-top: 8.5px;
    margin-left: 10px;
    cursor: pointer;
    position: relative;
}

    .leftboxMenu i {
        float: left;
        margin: 0 8px 0 -12px;
        height: 32px;
        width: 32px;
        border-radius: 50%;
        text-align: center;
        font-size: 22px;
        line-height: 32px;
        color: #333;
    }

.optionLogin {
    position: absolute;
    z-index: 11;
    top: 45px;
    left: 40px;
    background: #fff;
    font-size: 13px;
    color: #333;
    padding: 10px 15px;
    border-radius: 3px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    width: 160px;
    /*right: -120px;*/
    cursor: pointer;
}

.optionRow {
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}
    .optionRow:hover {
        color: #6fcfb8;
    }
    .fontIcon {
        margin-left: 15px;
        font-size: 17px;
        color: #666;
    }

.welcomeTxt {
    max-width: 142px;
    display: inline-block;
    overflow: hidden;
    height: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navmenuMin {
    display: none;
}

@media (max-width: 880px) {
    .navmenuMin {
        display: block;
        width: 100%;
        height: 49px;
        position: fixed;
        top: 0;
    }

    .menu {
        display: none;
        position: absolute;
        right: 0px;
        left: 0;
        top: 49px;
        z-index: 3;
        /*-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);*/
        overflow: auto;
        max-height: 100%;
    }

    .responsive-menu {
        display: inline-block;
        font-size: 26px;
    }

    .navmenu {
        margin: 0;
    }

    .menu li {
        display: block;
        margin: 0;
    }

        .menu li a {
            height: 45px;
            line-height: 45px;
            text-align: center;
        }
}

@media (min-width: 881px) and (max-width:930px) {
    .menu li a {
        padding: 0 8px;
        font-size: 13px;
    }

    .welcomeTxt {
        max-width: 100px;
    }

    .leftboxMenu {
        font-size: 12px;
        margin-left: 8px;
    }
}

@media (max-width:380px) {
    .welcomeTxt {
        max-width: 97px;
    }
}

.mainboxOptions {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 11;
}
