/**************************************************
 *
 * notification dropdown
 *
 **************************************************/

.global-notification .dropdown-toggle {
  background: url("../img/primary-bar-icon/notification/notification-icon.svg") no-repeat 0px 0px;
  height: 30px;
  width: 30px;
  border: 0;
  background-color: transparent;

  cursor: pointer;
  padding: 0;
  margin-top: -5px;
  border-left: 1px solid #E6E7E8;

  position: relative;
}
.global-notification .dropdown-toggle:hover {
  background: url("../img/primary-bar-icon/notification/notification-icon-hover.svg") no-repeat 0px 0px;
}

.global-notification .dropdown-menu.extended {
  -moz-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.7);
  -webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.7);
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.7);

  top: 30px;
  right: 0;
  left: auto;

  width: 300px;
  height: 350px;
  padding: 0;
}

.global-notification button {
  border: 0;
  background-color: transparent;
}

.global-notification .unseen-notification-count {
  background-color: #F7941E;
  color: #FFF;

  border-radius: 50%;
  position: absolute;
  top: 0;
  font-size: 10px;
  width: 17px;
  height: 17px;
  padding: 1px 3px;
}

.global-notification .notification-header {
  height: 40px;
  border-bottom: 1px solid #7BAFC2;    
  padding: 10px;
}

.global-notification .notification-list {
  height: 275px; /* 350px (dropdown height) - 40px (header height) - 35px (footer height)*/
  overflow: auto;
}
.global-notification .notification-list .notification-item {
  padding: 0 10px;
}
.global-notification .notification-list .notification-item:last-child .notification-detail {
  border-bottom: 0;
}

.global-notification .notification-list .notification-item.unread {
  background-color: #F9F9F9;
}

.global-notification .notification-list .notification-item:hover, 
.global-notification .notification-list .notification-item:hover .notification-detail {
  cursor: pointer;
  background-color: #F0F9FD;
}

.global-notification .notification-item .notification-detail {
  font-family: 'Open Sans', 'sans-serif';
  font-size: 12px;
  width: 100%;
  text-align: left;
  padding: 5px 0;
  border-bottom: 1px solid #D1D3D4;
}

.global-notification .notification-item .avatar-dropdown-container {
  margin-top: 10px;
  margin-right: 10px;
}

.global-notification .notification-item .message {
  font-family: 'Montserrat', sans-serif;
  color: #3C3228;
	font-size: 12px;
  margin-top: 2px;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.global-notification .notification-item .time {

}
.global-notification .notification-item .time .time-icon {
  width: 12px;
  height: 12px;
}
.global-notification .notification-item .time .time-text {
  margin-left: 5px;
  font-size: 10px;
  vertical-align: middle;
  color: #808080;
  font-style: italic;
} 

.global-notification .notification-footer {
  width: 100%;
  height: 35px;
  border-top: 2px solid #D1D3D4;
  border-radius: 0 0 5px 5px;
}

.global-notification .notification-header,
.global-notification .notification-footer {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 13px;
}

/**************************************************
 *
 * notification page
 *
 **************************************************/

/*
 * section ui
 */
.notificaiton-day-section {
  padding-bottom: 30px;
  position: relative;
}
.date-section {
  width: 100%;
  text-align: left;
}

.notificaiton-section {
  text-align: left;
  margin-left: 35px;
  margin-top: 10px;
}

.notificaiton-section .notification-item {
	border-bottom: 1px solid #F0F9FD;
  padding: 8px 0;
}
.notificaiton-section .notification-item.unread {
	background-color: #F9F9F9;
}
.notificaiton-section .notification-item:hover {
	background-color: #F0F9FD;
	cursor: pointer;
}

.notificaiton-section .notification-item .avatar-dropdown-container {
  width: 30px;
  height: 30px;
  top: 0;
}

.date-section .mini-circle {
  background: #D1D3D4;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  position: absolute;
  top: 30px;
  left: 10px;
}
.date-section .vertical-line {
  width: 1px;
  background: #D1D3D4;
  position: absolute;
  left: 15px;
  top: 35px;
  bottom: 15px;
}

.date-section .date {
	color: #054B73;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-style: italic;
	font-weight: bold;
}

/*
 * message ui
 */
.notificaiton-section .notification-item  .message-detail {
  padding: 0;
}

.notificaiton-section .notification-item .message {
	color: #3C3228;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	width: calc(100% - 50px);
  padding-top: 7px;
  padding-left: 8px;

  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: text-bottom;
}

.notificaiton-section .notification-item .item-icon {
	width: 35px;
	height: 35px;
}

.notificaiton-section .notification-item .time {
	padding: 5px 0 0 0;
}
.notificaiton-section .notification-item .time-icon {
	width: 12px;
	height: 12px;
	vertical-align: middle;
}
.notificaiton-section .notification-item .time-text {
	vertical-align: middle;
	font-size: 11px;
	font-style: italic;
	color: #808080;
}

/*
 * highlight item
 */
.notification-item .noti-item-highlight {
  color: #4B9BCD;
}

/*
 * loading sign
 */
.notification-page .la-ball-spin.loading-sign {
  top: auto;
  margin-bottom: 15px;
}

/*
 * responsive
 */
/*@media (min-width: 1501px) and (max-width: 1600px) {
  
}*/

@media (max-width: 991px) {
  .notificaiton-section .notification-item {
    padding: 0;
  }

  .notificaiton-section .notification-item .time {
    padding: 0 0 0 39px;
    position: relative;
    top: -9px;
  }

  .notificaiton-section .notification-item .item-icon {
    position: relative;
    top: 9px;
  }

  .notificaiton-section .notification-item .avatar-dropdown-container {
    top: 9px;
  }
}