/*-------------------------------------- Header -------------------------------------------*/
#Header{
    width: 100%;
    background: #0d747c;
    color: #fff;
    position: relative;
    top:0;
    z-index: 2;
    min-height: 75px;
    min-width: 1300px;
}
.home{
    float: left;
    min-width: 100px;
    text-align: center;
    height: auto;
}
.home:hover{background: #025157;}
.accountBar{
    float: right;
    padding: 0 15px;
    line-height: 50px;
}
.btnLogout{
    color: #FFFFFF;
    padding: 8px 16px;
    margin-left: 4px;
}
.btnLogout i{
    font-size: 24px;
    color: #a5dbd1;
    vertical-align: -20%;
}
.btnLogout:hover{
    border-radius: 99px;
   background: #095f66;
}

/*-------------------------------------- 公告 傭金 報表 -------------------------------------------*/
.nav{
    text-align: center;
    float: left;
}
.sub1 li{
    display: inline-block;
    position: relative;
}
.sub1 > li{z-index: 1;}
.sub1 a{
    display: inline-block;
    padding: 0 30px;
    text-decoration: none;
    color: #ffffff;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
}
.sub2{
    position: absolute;
    top: 100%;    
    width: 200px;
    z-index: 999;
    text-align: left;
    display: none;
    opacity: 0;
}
.sub2:before{
    position: absolute;
    z-index: 1;
    content: '';
    display:block;
    width: 0;
    height: 0;
    top: 0;
    left: 33px;
    border-bottom: 10px solid #84CEC0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
.sub2:after{
    position: absolute;
    z-index: 1;
    content: '';
    display:block;
    width: 0;
    height: 0;
    top: 1px;
    left: 33px;
    border-bottom: 10px solid #1E827A;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
.sub2 li{
    display: block;
}
.sub1 > li:hover > .sub2 { display:block; }
.sub1 > li:hover .sub2,
.sub1 > li .sub2:hover {
    display: block;
    opacity: 1;
    margin-top: 0;
    background:  linear-gradient(to bottom, transparent 0px, transparent 10px, #45aead 10px, #2c8b8b 100%);    
}
.sub2 a{
    display: block;
    border-top: 1px solid #419D94;
    color: #FFFFFF;
    text-shadow: none;
    height:40px;
    line-height:40px;
}
.sub2 a:hover{
    background-color: rgba(21, 89, 96, 0.6);
    color: #8CFCFF;
    text-shadow: none;
}
.sub2 li{
    border-left: 1px solid #20C4AD;
    border-right: 1px solid #20C4AD;
}
.sub2 li:first-child{
    border-top:1px solid #20C4AD;
    margin-top: 10px;
}
.sub2 li:last-child{
    border-bottom:1px solid #20C4AD;
}
.sub2 li:first-child a{
    border-top: none;
}
.nav .sub2 a i{
    font-size: large;
    color: #ffdd00;
    line-height: 23px;
    margin: 0 4px;
}

/*-------------------------------------- 時間 聯繫我們 我的帳戶 -------------------------------------------*/
.contactUs, .time{
    color: #FFFFFF;
    float: right;
    margin: 0 5px;
    font-size: 13px;
    height: 50px;
    line-height: 50px;
}

.contactUs ul li{
    display: inline-block;
}

.contactUs ul li a{
    color: #adfff9;
    display: inline-block;
    padding: 0 2px;
    font-size: 13px;
}

.contactUs ul li a:hover{
    color: #fff;
}

/* ICON */
.nav .sub1 a i{
    height: 23px;
    width: 23px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}
#SystemManagement i{background:url(../images/icon.png) no-repeat center 0;}
#MemberManagement i{background:url(../images/icon.png) no-repeat center -23px;}
#TrialManagement i{background:url(../images/icon.png) no-repeat center -46px;}
#AgentManagement i{background:url(../images/icon.png) no-repeat center -69px;}
#CashSystem i{background:url(../images/icon.png) no-repeat center -92px;}
#CompanyAccount i{background:url(../images/icon.png) no-repeat center -115px;}
#Bulletin i{background:url(../images/icon.png) no-repeat center -138px;}
#RakebackOffers i{background:url(../images/icon.png) no-repeat center -161px;}
#ReportQuery i{background:url(../images/icon.png) no-repeat center -184px;}
/**/
#BulletinICON i{background: url(../images/icon03.png) no-repeat center -1px;}
#Agent i{background: url(../images/icon03.png) no-repeat center -23px;}
#Report i{background: url(../images/icon03.png) no-repeat center -47px;}
#Manage i{background: url(../images/icon03.png) no-repeat center -71px;}
#Wallet i{background: url(../images/icon03.png) no-repeat center -95px;}
#Account i{
    font-size: 20px;
    color: #9be1dc;
}
/* 新功能樣式 */
.tip-overlay{
    display: inline-block;
    color: #ffffff;
    line-height: 17px;
    font-size: 10px;
    text-shadow: none;
    background: #fd6366;
    padding: 2px 4px;
    margin-left: 6px;
    border-radius: 4px;
    position: relative;
}
.tip-overlay::before{
    content: " ";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 6px 5px 0;
    border-color: transparent #fd6366 transparent transparent;
    right: 32px;
    top: 6px;
    position: absolute;
}
.badge-overlay{
    position: absolute;
    left: 0%;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 100;
    -webkit-transition: width 1s ease, height 1s ease;
    -moz-transition: width 1s ease, height 1s ease;
    -o-transition: width 1s ease, height 1s ease;
    transition: width 0.4s ease, height 0.4s ease
}
.badge-overlay .badge{
    margin: 0;
    padding: 0;
    color: white;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    line-height: normal;
    text-transform: uppercase;
    background: #FF6565;
    position: absolute;
    -ms-transform: translateX(-30%) translateY(0%) rotate(-45deg);
    -webkit-transform: translateX(-30%) translateY(0%) rotate(-45deg);
    transform: translateX(-30%) translateY(0%) rotate(-45deg);
    -ms-transform-origin: top right;
    -webkit-transform-origin: top right;
    transform-origin: top right;
}
.badge-overlay .badge::before, 
.badge-overlay .badge::after {
    content: '';
    position: absolute;
    top: 0;
    margin: 0 -1px;
    width: 100%;
    height: 100%;
    background: inherit;
    min-width: 55px
}
.badge-overlay .badge::before {
    right: 100%
}
.badge-overlay .badge::after {
    left: 100%
}