/* ===== #menu start ===== */

a {
    text-decoration: none;
}

ul {
    padding: 0;
}

#top {
    transition: all .1s ease-out;
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
}

#top {
    position: fixed;
    height: 95px;
    width: 100%;
    z-index: 10000;
    background: #277EAE;
    background: linear-gradient(left bottom, rgba(25, 41, 79, 0.85), rgba(21, 119, 190, 0.85));
    background: -moz-linear-gradient(left bottom, rgba(25, 41, 79, 0.85), rgba(21, 119, 190, 0.85));
    background: -webkit-linear-gradient(left bottom, rgba(25, 41, 79, 0.85), rgba(21, 119, 190, 0.85));
}

#member_photo_mobile {
    position: absolute;
    top: 7px;
    left: 13px;
    background-color: #fff;
    height: 30px;
    width: 30px;
    margin: 0 8px 5px 5px;
    border-radius: 21px;
    border: 1px solid #FFF;
    display: none;
}

/* go back to index */

#logo-header,
#logo-header-little {
    margin: 20px 10px 15px 30px;
    border: 0;
    height: 55px;
}

#logo-header-min,
#logo-header-little {
    height: 0;
    overflow: hidden;
}

.logo {
    overflow: hidden;
}

#menu {
    position: absolute;
    right: 30px;
    top: 0;
    margin: 0px auto;
    letter-spacing: -4px;
}

#menu .menu-list a {
    text-decoration: none;
    color: #fff;
    display: block;
}

#menu .menu-list {
    display: inline-block;
    color: #fff;
    vertical-align: top;
    padding: 0 12px;
    line-height: 95px;
    letter-spacing: 0;
}

#menu .menu-list #member_photo_pc {
    background-color: #fff;
    height: 40px;
    width: 40px;
    margin: 26px auto;
    border-radius: 21px;
    border: 1px solid #FFF;
}

#menu .menu-list .menu-item {
    position: absolute;
    color: #fff;
    top: 95px;
    background: rgba(51, 51, 51, 0.85);
    display: none;
}

#menu .menu-list:hover {
    background: #045099;
    background: linear-gradient(rgba(255, 255, 255, 0.3), transparent);
    background: -moz-linear-gradient(rgba(255, 255, 255, 0.3), transparent);
    background: -webkit-linear-gradientrgba(rgba(255, 255, 255, 0.3), transparent);
}

#menu .menu-list .detail {
    color: #fff;
    line-height: 35px;
    padding: 5px 25px;
    text-align: justify;
}

#menu .menu-list .detail:hover {
    background: #046997;
}

#menu #menu_company #submenu_company {
    left: 0;
}

#menu #menu_company:hover #submenu_company {
    display: block;
}

#menu #menu_product #submenu_product {
    right: -30px;
    background: transparent;
}

#menu #menu_product #submenu_product .product-box {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    height: 325px;
}

#menu #menu_product #submenu_product .product-box .product-series {
    display: inline-block;
    width: 24%;
    height: 270px;
    color: #fff;
    vertical-align: top;
    line-height: 35px;
    padding: 15px 0;
    max-width: 280px;
    border-radius: 4px;
    margin: 5px 0;
}

#menu #menu_product #submenu_product .product-box .product-series .product-series-brand-name {
    position: relative;
    width: 70%;
}

#menu #menu_product #submenu_product .product-box .product-series .product-series-name {
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px #333;
    margin-top: -15px;
    margin-bottom: 10px;
}

#menu #menu_product #submenu_product .product-box .product-series .product-series-pic {
    position: relative;
    height: 150px;
}

#menu #menu_product #submenu_product .product-box .product-series .product-series-pic.conchic {
    max-width: 187px;
}

#menu #menu_team {
    display: none;
}

#menu #menu_product #submenu_product .product-box .product-series:hover {
    background: rgba(51, 51, 51, 0.55);
    padding: 20px 0 10px 0;
}

#menu #menu_company:hover #submenu_company {
    display: block;
}

#menu #menu_team:hover #submenu_team {
    display: block;
}

#menu #menu_career:hover #submenu_career {
    display: block;
}

#menu #menu_activity:hover #submenu_activity {
    display: block;
}

/* language list */

#clang img {
    position: relative;
    width: 20px;
    top: 4px;
}

#lang_menu~span.dropdown {
    position: relative;
    top: -8px;
    font-size: 9px;
    color: #fff;
    opacity: .9;
    margin-left: 4px;
    text-shadow: 3px 3px 5px #333;
}

#lang_menu {
    position: absolute;
    display: none;
    top: 95px;
    width: 200px;
    text-align: left;
    background-color: rgba(51, 51, 51, 0.85);
    opacity: 0.9;
    right: 0px;
    z-index: 21;
    line-height: 28px;
}

#lang_menu img.country {
    position: relative;
    width: 20px;
    top: 4px;
}

#mask {
    position: absolute;
    z-index: 19;
    background: #FFF;
    width: 100%;
    height: 2000px;
    overflow: hidden;
    top: 0;
    left: 0;
    opacity: 0.15;
    display: none;
}

#lang_menu ul {
    list-style: none;
}

#lang_menu ul li {
    padding: 5px 25px;
    color: #FFF;
    line-height: 35px;
}

#lang_menu ul li:hover {
    background: #046997;
    opacity: 0.9;
}

#lang_menu ul a {
    text-decoration: none;
}

/* #social2,
#address2,
#social3 {
    display: none;
} */

#padding {
    display: none;
}

/*產品系列menu在有js顯示，無js則隱藏*/

#product {
    position: absolute;
    width: 100%;
    text-align: center;
    padding: 2px;
    display: none;
}

#product ul {
    display: inline-block;
}

#product li {
    list-style: none;
    float: left;
    padding: 3px 50px;
    display: block;
    padding-bottom: 10px;
    cursor: pointer;
}

#product li:hover {
    background: rgba(0, 0, 0, 0.2);
}

#product li a {
    text-decoration: none;
    width: 25%;
    height: 120px;
    color: #fff;
    text-shadow: 3px 3px 5px #333;
}

#product img {
    width: 157px;
    height: 140px;
}

sup {
    color: white;
}

.hot-icon {
    position: relative;
    -webkit-animation: hot-blink 1s infinite;
    -moz-animation: hot-blink 1s infinite;
    -o-animation: hot-blink 1s infinite;
    animation: hot-blink 1s infinite;
    top: -2px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    background: #ce0000;
    text-shadow: none;
    display: inline-block;
    padding: 0px 4px;
    line-height: 1.5;
    margin-left: 7px;
    border-radius: 5px;
}

.hot-icon::before {
    position: absolute;
    -webkit-animation: hot-blink-2 3s infinite;
    -moz-animation: hot-blink-2 3s infinite;
    -o-animation: hot-blink-2 3s infinite;
    animation: hot-blink-2 3s infinite;
    content: "";
    border: 5px solid transparent;
    border-right-color: #ce0000;
    height: 1px;
    left: -8px;
    top: 4px;
}

/* animation - red hot tag */

@-webkit-keyframes hot-blink {
    0% {
        background: #ce0000;
        left: 0;
    }
    50% {
        background: #B71800;
        left: 3px;
    }
    100% {
        background: #ce0000;
        left: 0;
    }
}

@-moz-keyframes hot-blink {
    0% {
        background: #ce0000;
        left: 0;
    }
    50% {
        background: #B71800;
        left: 3px;
    }
    100% {
        background: #ce0000;
        left: 0;
    }
}

@-o-keyframes hot-blink {
    0% {
        background: #ce0000;
        left: 0;
    }
    50% {
        background: #B71800;
        left: 3px;
    }
    100% {
        background: #ce0000;
        left: 0;
    }
}

@keyframes hot-blink {
    0% {
        background: #ce0000;
        left: 0;
    }
    50% {
        background: #B71800;
        left: 3px;
    }
    100% {
        background: #ce0000;
        left: 0;
    }
}

/* red hot tag tooltip */

@-webkit-keyframes hot-blink-2 {
    0% {
        border-right-color: #ce0000;
    }
    50% {
        border-right-color: #B71800;
    }
    100% {
        border-right-color: #ce0000;
    }
}

@-moz-keyframes hot-blink-2 {
    0% {
        border-right-color: #ce0000;
    }
    50% {
        border-right-color: #B71800;
    }
    100% {
        border-right-color: #ce0000;
    }
}

@-o-keyframes hot-blink-2 {
    0% {
        border-right-color: #ce0000;
    }
    50% {
        border-right-color: #B71800;
    }
    100% {
        border-right-color: #ce0000;
    }
}

@keyframes hot-blink-2 {
    0% {
        border-right-color: #ce0000;
    }
    50% {
        border-right-color: #B71800;
    }
    100% {
        border-right-color: #ce0000;
    }
}

@media only screen and (min-width:900px) and (max-width:1150px) {
    /* menu */
    .logo {
        height: 95px;
        padding: 0;
    }
    #logo-header-little {
        margin: 24px 10px 15px 30px;
        border: 0;
        height: 50px;
    }
    #logo-header {
        height: 0;
        overflow: hidden;
    }
    #menu .menu-list.vn {
        padding: 0 5px;
    }
    #menu #menu_product #submenu_product .product-box {
        width: 85%;
        height: 305px;
    }
    #menu #menu_product #submenu_product .product-box .product-series .product-series-brand-name {
        width: 80%;
    }

    #menu #menu_product #submenu_product .product-box .product-series {
        height: 255px;
    }
    #menu #menu_product #submenu_product .product-box .product-series:hover {
        padding: 25px 0 5px 0;
    }
    /* .slogan{position:absolute;left:13%;top:30%;font-size:62pt;color:rgba(255,255,255,0.9);text-shadow:3px 3px 3px rgba(0,0,0,0.6);} */
    #product {
        position: absolute;
        width: 100%;
        text-align: center;
        top: 95px;
        padding: 0;
        display: none;
    }
    #product ul {
        display: inline-block;
    }
    #product li {
        list-style: none;
        float: left;
        padding: 3px 50px;
        display: block;
        padding-bottom: 7px;
        cursor: pointer;
    }
    #product li:hover {
        background: rgba(0, 0, 0, 0.2);
    }
    #product li a {
        text-decoration: none;
        width: 25%;
        height: 120px;
        color: #fff;
        text-shadow: 3px 3px 5px #333;
    }
    #product img {
        width: 120px;
        height: 107px;
    }
}

@media only screen and (min-width:150px) and (max-width:899px) {
    #top {
        height: 45px;
        z-index: 10000;
    }
    #member_photo_mobile {
        display: block;
    }
    .logo {
        text-align: center;
        height: 45px;
        box-shadow: 0px -15px 50px rgba(0, 0, 0, 0.5);
    }
    #logo-header {
        position: absolute;
        left: -9999px;
    }
    #logo-header-min {
        position: absolute;
        border: 0;
        height: 30px;
        opacity: 1;
        top: 8px;
        left: 48.5%;
    }
    #search,
    #search img,
    #clang,
    #clang img,
    #menu,
    .menuitem,
    #product {
        height: 0;
        overflow: hidden;
    }
    #padding {
        position: fixed;
        padding: 0;
        height: 100%;
        width: 100%;
        margin: 45px auto 0 auto;
        -webkit-overflow-scrolling: touch;
        display: none;
    }
    #padding:hover {
        overflow-y: auto;
    }
    div.accordion,
    div.non-accordion {
        position: relative;
        left: 5%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        background-color: transparent;
        color: #fff;
        cursor: pointer;
        width: 90%;
        text-align: left;
        border: none;
        outline: none;
        font-weight: bold;
        border-top: 1px rgba(255, 255, 255, .5) solid;
        line-height: 50px;
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    .non-accordion a {
        text-decoration: none;
        color: #fff;
        display: block;
    }
    .non-accordion #member_photo_minmenu {
        position: relative;
        display: inline-block;
        background-color: #fff;
        height: 30px;
        width: 30px;
        margin: 0 8px 5px 5px;
        border-radius: 21px;
        border: 1px solid #FFF;
        top: 15px;
        transition: initial;
    }
    div.non-accordion:nth-child(1),
    div.accordion:nth-child(1) {
        border-top: none;
        margin-top: 10px;
    }
    div.accordion:last-child {
        margin-bottom: 45px;
    }
    div.accordion.active,
    div.accordion:hover,
    div.non-accordion:hover {
        background-color: rgba(36, 116, 187, 0.4);
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    div.panel {
        padding: 0 15px;
        background-color: rgba(255, 255, 255, .01);
        margin-bottom: 15px;
        display: none;
    }
    div.panel.show {
        display: block !important;
        padding: 5px 0;
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    div.panel.show p {
        margin: 5px 0;
    }
    div.panel.show a {
        text-decoration: none;
        padding: 0px 0 4px 17px;
        line-height: 28px;
        margin: 0 27px;
        display: block;
        color: #fff;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 15px;
        border-bottom: 1px solid transparent;
    }
    div.panel.show a:hover {
        color: #80bf25;
        border-bottom: 1px solid #80bf25;
    }
    div.panel .flags {
        position: relative;
        top: 5px;
        width: 20px;
    }
    img.mp {
        position: relative;
        top: 4px;
        width: 25px;
        height: 20px;
        margin-right: 10px;
    }
    div.sub {
        position: absolute;
        width: 12px;
        right: 40px;
    }
    div.sub span {
        position: relative;
        width: 100%;
        display: block;
        height: 2px;
        background: #fff;
        border-radius: 25px;
        opacity: 1;
    }
    div.sub span:nth-child(1) {
        top: -30px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    div.sub span:nth-child(2) {
        top: -24px;
        opacity: 1;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    div.sub.open span:nth-child(1) {
        top: -28px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    div.sub.open span:nth-child(2) {
        opacity: 1;
        top: -30px;
        left: -8px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    .slogan {
        height: 0;
        overflow: hidden;
    }
    #ham {
        width: 55px;
        height: 42px;
        position: absolute;
        right: 0;
        top: 0;
        padding: 0 10px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        cursor: pointer;
        z-index: 101;
    }
    #ham span {
        display: block;
        position: absolute;
        height: 1px;
        width: 35%;
        background: #fff;
        border-radius: 25px;
        opacity: 1;
        left: 20px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        padding: 0 5px;
    }
    #ham span:nth-child(1) {
        top: 14px;
    }
    #ham span:nth-child(2) {
        top: 22px;
    }
    #ham span:nth-child(3) {
        top: 30px;
    }
    #ham.open span:nth-child(1) {
        width: 30%;
        height: 2px;
        top: 22px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    #ham.open span:nth-child(2) {
        opacity: 0;
        left: -60px;
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    #ham.open span:nth-child(3) {
        width: 30%;
        height: 2px;
        top: 22px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
    }
    #padding .accordion .panel .product_series {
        width: 100%;
        border: 0px;
        text-align: center;
    }
    #padding .accordion .panel .product_series td {
        width: 100%;
    }
    #padding .accordion .panel .product_series td a {
        padding: 0;
        margin: 0;
        display: block;
        border: 0px;
    }
    #padding .accordion .panel .product_series #ss_menu {
        position: relative;
        background: url('/images/product/ss1.png') no-repeat;
        background-size: contain;
        background-position: right bottom 10%;
    }
    #padding .accordion .panel .product_series #kanpeki_menu {
        position: relative;
        background: url('/images/product/kanpeki_menu.png') no-repeat;
        background-size: contain;
        background-position: right bottom 10%;
    }
    #padding .accordion .panel .product_series #cona_menu {
        position: relative;
        background: url('/images/clean.png') no-repeat;
        background-size: contain;
        background-position: right bottom 10%;
    }
    #padding .accordion .panel .product_series #bu_menu {
        position: relative;
        background: url('/images/supply.png') no-repeat;
        background-size: contain;
        background-position: right bottom 10%;
    }
    #padding .accordion .panel .product_series #conchic_menu {
        position: relative;
        background: url('/images/nursing.png') no-repeat;
        background-size: contain;
        background-position: right bottom 10%;
    }
    #padding .accordion .panel .product_series .logo-box {
        position: relative;
        width: 100%;
        margin: 0 auto;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    #padding .accordion .panel .product_series .logo-box::before {
        content: '';
        position: absolute;
        bottom: -1px;
        left: -1px;
        width: 101%;
        height: 100%;
        background: linear-gradient( 90deg, rgba(0, 0, 0, 0.6), transparent);
        background: -webkit-linear-gradient( 90deg, rgba(0, 0, 0, 0.6), transparent);
        background: -o-linear-gradient( 90deg, rgba(0, 0, 0, 0.6), transparent);
        background: -moz-linear-gradient( 90deg, rgba(0, 0, 0, 0.6), transparent);
    }
    #padding .accordion .panel .product_series td a:hover .logo-box::before {
        background: linear-gradient( 90deg, rgba(0, 0, 0, 0.7), transparent);
        background: -webkit-linear-gradient( 90deg, rgba(0, 0, 0, 0.7), transparent);
        background: -o-linear-gradient( 90deg, rgba(0, 0, 0, 0.7), transparent);
        background: -moz-linear-gradient( 90deg, rgba(0, 0, 0, 0.7), transparent);
    }
    #padding .accordion .panel .product_series .logo-box img {
        position: relative;
        width: 50%;
        max-width: 300px;
        margin-left: 5%;
    }
    #padding .accordion .panel .product_series .brand-name {
        position: relative;
        color: #fff;
        font-size:40px;
        z-index: 3;
        text-shadow: 2px 2px 1px #000;
        margin: 0 7%;
        letter-spacing: 5px;
    }
}