/* Hamburger Style */
.hamburger {
    width: 60px;
    height: 50px;
    display: none;
    position: absolute;
    left: 10px;
    top: 16px;
    z-index: 1313;
}

.hamburger-inner {
    width: calc(100% - 20px);
    height: 2px;
    display: block;
    background-color: #fff;
    border-radius: 0;
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    width: 100%;
    height: 2px;
    display: block;
    background-color: #fff;
    border-radius: 0;
    position: absolute;
    left: 0;
    top: -10px;
}

.hamburger-inner::after {
    top: auto;
    bottom: -10px;
}

/* Squeeze */
.-squeeze .hamburger-inner {
    transition-duration: 0.1s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.-squeeze .hamburger-inner::before {
    transition: top 0.1s 0.14s ease, opacity 0.1s ease;
}

.-squeeze .hamburger-inner::after {
    transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.-squeeze.active .hamburger-inner {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition-delay: 0.14s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.-squeeze.active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease, opacity 0.1s 0.14s ease;
}

.-squeeze.active .hamburger-inner::after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* End Hamburger Style */

/* Header */
#header {
    height: 96px;
    position: fixed;
    left: 0;
    top: 0;
    overflow: visible;
    z-index: 13131313;
    transition: 300ms 300ms ease;
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
    -ms-transform: matrix(1, 0, 0, 1, 0, 0);
    -o-transform: matrix(1, 0, 0, 1, 0, 0);
    transform: matrix(1, 0, 0, 1, 0, 0);
    width: 100%;
    padding: 0;
    margin: 0;
}

#header::before {
    content: '';
    width: 100%;
    height: 96px;
    display: block;
    background-color: #154d7f;
    position: absolute;
    left: 0;
    top: -102px;
    text-indent: -9999px;
    transition: 250ms ease;
    z-index: 13;
}

#header .right-side {
    position: absolute;
    right: 0;
    top: 24px;
    overflow: hidden;
}

#header .group-btn {
    float: left;
    margin-top: 0.5em;
    margin-left: 20px;
}

#header .group-btn > div {
    width: 40px;
    height: 40px;
    display: block;
    float: left;
    margin-left: 8px;
    overflow: hidden;
}

#header.addbg .group-btn > div {
    top: 16px;
}

#header .page-center, #logo .page-center {
    width: calc(100% - 64px);
    z-index: 13;
}

#header .group-btn > div a {
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #fff;
    position: relative;
    opacity: 0.6;
    font-size: 18px;
    line-height: 38px;
    text-align: center;
    color: #fff;
    transition: 190ms ease;
}

#header .group-btn > div a::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 105%;
    z-index: -1;
    transition: 190ms ease;
}

.page-center {
    width: 1208px;
    max-width: calc(100vw - 30px);
    height: 100%;
    position: relative;
    margin: 0 auto;
}

#header.addbg::before {
    top: 0;
}

#header.addbg .logo {
    width: 60px;
    height: 74px;
    display: block;
    position: absolute;
    left: 0;
    top: 16px;
    transition: 300ms ease;
}

#logo .logo {
    width: 96px;
    height: 117px;
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
    transition: 300ms ease;
}

#header .logo a {
    width: 100%;
    height: 100%;
    display: block;
    background: url('../images/logo.svg') 0 0/100% no-repeat;
    text-indent: -9999px;
}

#logo .logo a {
    width: 100%;
    height: 100%;
    display: block;
    background: url('../images/logo.svg') 0 0/100% no-repeat;
    text-indent: -9999px;
}


.mainmenu {
    position: absolute;
    left: 136px;
    top: 48px;
    transition: 300ms ease;
}

.mainmenu ul::after {
    content: '';
    height: 0px;
    display: block;
    padding: 0;
    margin: 0;
    line-height: 0;
    clear: both;
    overflow: hidden;
    visibility: hidden;
}

.mainmenu ul li {
    position: relative;
    float: left;
    margin-left: 30px;
}

.mainmenu ul li:first-child {
    margin-left: 0;
}

.mainmenu ul li.btn-partner-click,
.mainmenu ul li.btn-privilege,
.mainmenu ul li.btn-live {
    display: none;
}

.mainmenu a {
    color: rgba(255, 255, 255, 0.6);
}

.mainmenu a:hover {
    color: rgba(255,255,255,1);
}

.mainmenu a::after {
    content: '';
    width: 100%;
    height: 3px;
    display: block;
    background-color: #ff0c01;
    position: absolute;
    left: 0;
    bottom: -8px;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    transition: 200ms ease;
}

.mainmenu a.active,
.desktop .mainmenu a:hover {
    color: rgba(255, 255, 255, 1);
}

.mainmenu a.active::after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}


#header.addbg::before {
    top: 0;
}


#header.addbg .mainmenu {
    margin-left: -40px;
}

#header.addbg .mainmenu a.active,
.desktop #header.addbg .mainmenu a:hover {
    color: rgba(255, 255, 255, 1);
}

#header.addbg .mainmenu a::after {
    bottom: -27px;
}

#header.addbg .group-btn>div {
    top: 16px;
}

.dropdown {
    float: left;
    /*overflow: hidden;*/
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

li.dropdown:hover {
    overflow: visible;
}

/* s */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: #154d7f;
    padding: 12px 12px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    /*background-color: #ddd;*/
    background-color:#154d7f;
    color:#fff;
    text-decoration: underline solid red;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media screen and (max-width: 800px) {
    .hamburger {
        display: block;
    }

    .hamburger-inner,
    .hamburger-inner:after,
    .hamburger-inner:before {
        position: absolute;
        width: 40px;
        height: 4px;
        transition-timing-function: ease;
        transition-duration: .15s;
        transition-property: transform;
        border-radius: 4px;
        background-color: #fff;
    }

    #header .logo {
        left: 94% !important;
        top: 4px !important;
        -webkit-transform: translateX(-50%) scale(0.6);
        -ms-transform: translateX(-50%) scale(0.6);
        -o-transform: translateX(-50%) scale(0.6);
        transform: translateX(-50%) scale(0.6);
        -webkit-transform-origin: top;
        -moz-transform-origin: top;
        -ms-transform-origin: top;
        -o-transform-origin: top;
        transform-origin: top;
        width: 96px !important;
        height: 117px !important;

    }

    #logo .logo {
        left: 94% !important;
        top: 4px !important;
        -webkit-transform: translateX(-50%) scale(0.6);
        -ms-transform: translateX(-50%) scale(0.6);
        -o-transform: translateX(-50%) scale(0.6);
        transform: translateX(-50%) scale(0.6);
        -webkit-transform-origin: top;
        -moz-transform-origin: top;
        -ms-transform-origin: top;
        -o-transform-origin: top;
        transform-origin: top;
        width: 96px !important;
        height: 117px !important;
    }

    #header .logo.center{
        left: 50% !important;
    }

    #header .group-btn {
        margin-top: 0;
    }

    #header .right-side {
        top: 20px;
    }

    #header .page-center, #logo .page-center {
        width: 100%;
    }

    .mainmenu {
        width: 300px;
        height: 100vh;
        display: none;
        background-color: #154d80;
        position: fixed;
        overflow: hidden;
        overflow-y: auto;
        top: 0;
        right: 0;
        left: auto;
    }

    .mainmenu ul {
        padding: 40px 30px;
    }

    .mainmenu ul li {
        display: block;
        float: none;
        margin: 40px 0 0;
    }

    #header .mainmenu a::after {
        bottom: -6px !important;
    }

    .mainmenu ul li a {
        display: inline-block;
        font-size: 22px;
        color: #fff;
        position: relative;
    }

    #header,
    #header::before {
        height: 80px;
    }

    .ins-container-navigator-fixed {
        top: 80px;
    }

    .dropdown-content a:hover {
        /*background-color: #ddd;*/
        background-color: #154d7f;
        color: #fff;
        text-decoration: none;
    }
    .dropdown-content a {
        color: #154d7f !important;
        display: block !important;
    }
    
}