#mobile-fixed,
#member-box,
#mobile-search {
    display: none;
}

@media screen and (max-width: 1000px) {
    #mobile-fixed {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 500;
        -webkit-transition: all .3s ease;
                transition: all .3s ease;
    }
    #mobile-fixed ul {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-bottom: 1px solid #DC5C6B;
    }
    #mobile-fixed li {
        display: table-cell;
        border-width: 1px 1px 0;
        background: #BE0000;
    }
    #mobile-fixed a {
        display: block;
        text-align: center;
        line-height: 40px;
        color: #fff;
        position: relative;
    }
    #mobile-fixed li .icon {
        background-image: url(../../images/system/mobile_fixed.png);
        width: 30px;
        height: 30px;
        vertical-align: middle;
        margin: 0 auto 3px;
    }
    #mobile-fixed .icon.menu    { background-position:      0 0; }
    #mobile-fixed .icon.search  { background-position:  -30px 0; }
    #mobile-fixed .icon.member  { background-position:  -60px 0; }
    #mobile-fixed .icon.contact { background-position:  -90px 0; }
    #mobile-fixed .icon.wish    { background-position: -120px 0; }
    #mobile-fixed .icon.cart    { background-position: -150px 0; }
    #mobile-fixed .icon.home    { background-position: -180px 0; }
    #mobile-fixed .icon.earth   { background-position: -210px 0; }
    #mobile-fixed .icon.logout {
        background: url(../../images/system/icons.png) -75px -25px no-repeat;
        width: 25px;
        height: 25px;
    }
    
    #mobile-fixed .qty {
        position: absolute;
        top: 2px;
        left: 54%;
        display: inline-block;
        color: #fff;
        font-size: 12px;
        letter-spacing: 0;
        background: #333;
        line-height: 20px;
        padding: 0 4px;
        min-width: 20px;
        border-radius: 10px;
        box-sizing: border-box;
    }
    
    #mobile-search {
        display: block;
        position: fixed;
        z-index: 400;
        top: -41px;
        left: 0;
        right: 0;
        background: #BE0000;
        padding: 6px;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    #mobile-search.active {
        top: 41px;
    }
    #mobile-search .search-box {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        display: block;
        margin: 0;
        padding: 0;
    }
    #mobile-search .form-control {
        margin: 0;
        background: #fff;
        border: 0;
        height: 30px;
        line-height: 30px;
        padding-right: 40px;
        padding-left: 10px;
        border-radius: 5px;
    }
    #mobile-search .ibtn.search {
        background-image: url(../../images/system/mobile_search_btn.png);
        width: 30px;
        height: 30px;
        position: absolute;
        right: 0;
        top: 0;
    }
    
    #member-box {
        display: block;
        position: fixed;
        z-index: 400;
        top: 40px;
        left: 0;
        right: 0;
        color: #fff;
        max-height: 0;
        overflow: hidden;
        text-align: center;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
        background: #333;
    }
    #member-box.active {
        max-height: 500px;
    }
    #member-box li {
        border-bottom: 1px solid #333;
    }
    #member-box li a {
        display: block;
        padding: 6px 10px;
        background: #333;
        font-size: 16px;
    }
    #member-box .qty {
        display: inline-block;
        background: #fff;
        font-size: 12px;
        color: #333;
        font-weight: bold;
        padding: 0 6px;
        -webkit-border-radius: 5px;
                border-radius: 5px;
    }
    .animated {
      -webkit-animation-duration: 1s;
      animation-duration: 1s;
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;
    }
    @-webkit-keyframes bounceInDown {
      from, 60%, 75%, 90%, to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
      }

      0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -3000px, 0);
        transform: translate3d(0, -3000px, 0);
      }

      60% {
        opacity: 1;
        -webkit-transform: translate3d(0, 25px, 0);
        transform: translate3d(0, 25px, 0);
      }

      75% {
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
      }

      90% {
        -webkit-transform: translate3d(0, 5px, 0);
        transform: translate3d(0, 5px, 0);
      }

      to {
        -webkit-transform: none;
        transform: none;
      }
    }

    @keyframes bounceInDown {
      from, 60%, 75%, 90%, to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
      }

      0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -3000px, 0);
        transform: translate3d(0, -3000px, 0);
      }

      60% {
        opacity: 1;
        -webkit-transform: translate3d(0, 25px, 0);
        transform: translate3d(0, 25px, 0);
      }

      75% {
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
      }

      90% {
        -webkit-transform: translate3d(0, 5px, 0);
        transform: translate3d(0, 5px, 0);
      }

      to {
        -webkit-transform: none;
        transform: none;
      }
    }

    .bounceInDown {
      -webkit-animation-name: bounceInDown;
      animation-name: bounceInDown;
    }
}