/* 20161102 revised */

/* top-bar action btn */
#top-menu-btn-action{
	cursor: pointer;
    height: 50px;
    width: 50px;
    position: absolute;
    text-indent: -999px;
    overflow: hidden;
    top: 0px;
	right: 6px;
	background-image: url(../images/action_btn.png);
    background-position: 0px 0px;
    background-size: 50px 50px;
}


.top-menu-btn-action-rotate{
	-webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
}


#top-menu-btn-action-box{
	display:none;
	background-color: rgba(0,0,0,0.5);
  border-radius: 0 0 50px 50px;
  padding: 1px 4px;
  margin-top: 50px;
  margin-right: 43px;
  width: 52px;
  float: right;
	z-index: 9;
}

.top-menu-btn-action-item{
	border: 1px solid #ff7815;
    border-radius: 50px;
    box-shadow: 2px 2px 5px rgba(25, 25, 25, 0.5);
    text-align: center;
    margin: 6px 0 8px 0;
    height: 50px;
    width: 50px;
    background-color: #fff;
}

.top-menu-btn-action-item a{
	text-decoration:none;
}

.top-menu-btn-action-item .top-menu-btn-action-item-title{
	font-size: 12px;
    color: #ff7815;
    line-height: 12px;
    margin-top: -19px;
}

.top-menu-btn-action-item-img {
	background-image: url(../images/action_btn_icon.png);
    background-position: 0px 0px;
    background-size: 50px 221px;
    height: 50px;
    width: 50px;
}

.action-item-img-1{
	background-position: 0px -3px;
}

.action-item-img-2{
	background-position: 0px -60px;
}

.action-item-img-3{
	background-position: 0px -116px;
}

.action-item-img-4{
	background-position: 1px -172px;
}

#top-logo {
    margin: 0 auto;
    /*margin-left: 60px;*/
    /*margin-right: 60px;*/
}

/* end of 20161102 */

/* 20161121 revised */
#top-logo > a {
	display: block;
	/*width: 150px;*/
	margin: 0 auto;
}
/* end of 20161121 */

/* 20161229 notification center */

.nc_bg{
    background-color: #eeeced;
}

.nc_bg #content-area{
    margin: 0 !important;
}

.top-btn-notif {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0px;
    right: 0;
    overflow: hidden;
    float: right;
    background: url(../images/notification/icon_notification.png) no-repeat center;
    background-size: 20px 20px;
    text-indent: -999px;
    cursor: pointer;
}

.top-btn-notif .notif-counter {
    display: none;
    width: 17px;
    height: 17px;
    position: absolute;
    right: 7px;
    top: 8px;
    background-color: red;
    border-radius: 17px;
    line-height: 19px;
    color: white;
    font-size: 10px;
    text-align: center;
    text-indent: initial;
}

.noti-box-wrapper .outer {
    position: relative;
    top: 0;
    width: 100%;
    padding: 1px 0;
    background-color: #eeeced;
}

.noti-box-wrapper .outer a {
    text-decoration: none;
    color: #000;
}

.notification-msg-icon-subscription {
    background-image: url(../images/notification/notification_icon_2.png);
    background-position: center center;
}

.notification-msg-icon-marketing {
    background-image: url(../images/notification/notification_icon_3.png);
    background-position: center center;
}

.notification-msg-icon-pm {
    background-image: url(../images/notification/notification_icon_4.png);
    background-position: center center;
}

.notification-msg-icon-my {
    background-image: url(../images/notification/notification_icon_5.png);
    background-position: center center;
}
.notification-msg-icon-quote {
    background-image: url(../images/notification/notification_icon_7.png);
    background-position: center center;
}

.notification-msg-icon-default {
    background-image: url(../images/notification/notification_icon_default.png);
    background-position: center center;
}

.notification-msg {
    display: block;
    margin: 6px 6px;
    padding: 16px 16px;
    background-color: #fff;
}

.notification-msg.-unread .noti-unread {
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    margin-top: -16px;
    margin-left: -16px;
    border-style: solid;
    border-width: 0px 0px 20px 20px;
    border-bottom-color: transparent;
    color: red;
}

.notification-msg .notification-msg-icon {
    cursor: pointer;
    height: 33px;
    width: 33px;
    float: left;
    overflow: hidden;
    margin-top: 2px;
    margin-right: 12px;
    border-radius: 30px;
    clear: left;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.notification-msg .line-2 {
    -webkit-line-clamp: 2;
}

.notification-msg .notification-content {
    width: 80%;
    height: 50px;
    overflow: hidden;
    word-wrap: break-word;
    line-height: 150%;
    color: #444;
}

.notification-msg.-unread .notification-content{
    color: #000;
    font-weight: bold;
}

.notification-msg span {
    color: #8B8B8B;
    font-size: 14px;
}
.notification-msg span {
    clear: left;
    display: block;
    text-align: right;
}

.notification-msg .notification-msg-icon-time {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-bottom: -1px;
    margin-right: 3px;
    overflow: hidden;
    cursor: pointer;
    background-image: url(../images/notification/icon-time.png);
    background-size: cover;
    background-position: center center;
    float: none;
    clear: none;
}

#side-bar .side-bar-block .group-link .side-bar-group-icon-0{
	/*
	background-image: url(../images/notification/icon_noti.png) !important;
  background-size: 40px 40px !important;
  background-position: center center;
  */
}

.notification-msg .ellipsis {
    overflow: hidden;
    word-wrap: break-word;
}

@media screen and (-webkit-min-device-pixel-ratio: 0){
    .notification-msg .ellipsis {
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
}

.noti-box-wrapper .my-history-container-empty {
    overflow: hidden;
    display: block;
    margin: 6px 6px;
    text-align: center;
    color: #000;
    padding-top: 35%;
    padding-bottom: 69%;
    background-color: #fff;
}

.noti-box-wrapper .my-history-container-empty p {
    text-align: center;
}

.noti-box-wrapper .my-history-container-empty img {
    height: 160px;
    margin: 0px;
}

#top-menu-btn-home{
    background-image: url(../images/notification/uhome_icon.png);
    background-size: 50px 50px;
    background-position: center;
    left: 50px;
    cursor: pointer;
    height: 50px;
    width: 50px;
    position: absolute;
    text-indent: -999px;
    overflow: hidden;
    top: 0px;
}

#top-menu-btn-action{
    right: 50px;
}

#top-menu-btn-menu {
    background-position: -2px 1px;
}
