/* notices dropdown */

.cikumas-notices             { position: relative; width: 32px; height: 32px; font-size: 0; }
.cikumas-notices > a         { display: block; line-height: 20px; padding: 6px; position: relative; }
.cikumas-notices > a > *     { display: inline-block; vertical-align: middle; }
.cikumas-notices > a > .icon  { width: 20px; height: 20px; font-size: 18px; color: #228dcf; }
.cikumas-notices > a > .count { position: absolute; right: 6px; top: 0; transform: translate(50%, -50%); border-radius: 50%; }
.cikumas-notices > a > .count { display: block; padding: 2px; min-width: 17px; height: 17px; line-height: 17px; font-size: 10px; text-align: center; }
.cikumas-notices > a > .count { color: #fff; background-color: #1f3c77; box-shadow: 0 4px 6px 0 rgba(0,0,0,0.3); }
.cikumas-notices > a > .count:empty { display: none; }

.cikumas-notices > .dropdown        { position: absolute; box-shadow: 0 8px 15px 0 rgba(0,0,0,0.21); line-height: initial; }
.cikumas-notices > .dropdown        { border: 1px solid #f1f1f1; background-color: #fff; }
.cikumas-notices > .dropdown        { top: 100%; left: 50%; transform: translate(-50%, 0); width: 360px; }
.cikumas-notices > .dropdown > *    { position: relative; z-index: 2; }
.cikumas-notices > .dropdown:before { position: absolute; z-index: 1; right: 50%; top: 0; transform: translate(+50%, -50%) rotate(45deg); }
.cikumas-notices > .dropdown:before { content: ""; width: 10px; height: 10px; background-color: #fff; }
.cikumas-notices > .dropdown:before { border-left: 1px solid #f1f1f1; border-top: 1px solid #f1f1f1; }
.cikumas-notices      > .dropdown       { display: none; }
.cikumas-notices.open > .dropdown       { display: block; }
.cikumas-notices.open > .dropdown:empty { display: none; }

@media screen and (max-width: 800px) {
    .cikumas-notices > .dropdown        { width: 250px; }
}

.cikumas-notices ul        { position: relative; list-style-type: none; margin: 0; padding: 0; }
.cikumas-notices ul        { overflow-x: hidden; overflow-y: auto; max-height: 400px; }
.cikumas-notices ul > li   { position: relative; list-style-type: none; margin: 0; padding: 0; }

.cikumas-notices .head     { padding: 0 10px; font-size: 11px; line-height: 32px; color: #282828; border-bottom: 1px solid #E5E5E5; }
.cikumas-notices .head a   { float: right; text-decoration: none; }

.cikumas-notices .foot              { border-top: 1px solid #E5E5E5; display: flex; align-items: stretch; }
.cikumas-notices .foot form         { width: 50%; }
.cikumas-notices .foot button       { display: block; width: 100%; border: none; font-size: 12px; line-height: 32px; text-align: center; cursor: pointer; }
.cikumas-notices .foot button       { color: #282828; background-color: #fff; }
.cikumas-notices .foot button:hover { color: #fff; background-color: #0C83FF; }

.cikumas-notices .settings          { display: none; }
.cikumas-notices .settings li       { padding: 0 10px; font-size: 12px; color: #282828; }
.cikumas-notices .settings li.group { line-height: 32px; color: #b5b5b5; }
.cikumas-notices .settings .foot    { border-top: 1px solid #E5E5E5; }

.cikumas-notices       .notices > .none  { display: none; padding: 10px; font-size: 12px; color: #999; font-style: italic; text-align: center; }
.cikumas-notices.empty .notices > .none  { display: block; }

.cikumas-notices.empty .notices > .foot  { display: none; }


.cikumas-notices .notices ul > li       { overflow: hidden; background-color: rgba(12,131,255,0.05); border-bottom: 1px solid #e5e5e5; }
.cikumas-notices .notices ul > li.read  { background-color: transparent; }
.cikumas-notices .notices ul > li:last-of-type { border-bottom: none; }

.cikumas-notices .notices ul > li .notice                             { display: block; padding: 10px; }

.cikumas-notices .notices ul > li .notice > .icon                     { display: inline-block; vertical-align: middle; width: 32px; height: 32px; }
.cikumas-notices .notices ul > li .notice > .icon                     { background: no-repeat center center; background-size: contain; text-align: center; }
.cikumas-notices .notices ul > li .notice > .icon.calendar-task       { background-image: url('/static/img/notices/calendar.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.calendar-reminder   { background-image: url('/static/img/notices/calendar.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.class-resource      { background-image: url('/static/img/notices/class-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.class-post          { background-image: url('/static/img/notices/class-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.class-reply         { background-image: url('/static/img/notices/class-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-new      { background-image: url('/static/img/notices/assignment-new.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-revisit  { background-image: url('/static/img/notices/assignment-revisit.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-upcoming { background-image: url('/static/img/notices/assignment-upcoming.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-handed   { background-image: url('/static/img/notices/assignment-handed.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-grade    { background-image: url('/static/img/notices/assignment-grade.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-deadline { background-image: url('/static/img/notices/assignment-deadline.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.student-left        { background-image: url('/static/img/notices/student-left.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.student-added       { background-image: url('/static/img/notices/student-added.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.student-added-by    { background-image: url('/static/img/notices/student-added.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.license-invite      { background-image: url('/static/img/notices/license-invite.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.license-remove      { background-image: url('/static/img/notices/license-remove.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.school-calendar     { background-image: url('/static/img/notices/school-calendar.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.school-resource     { background-image: url('/static/img/notices/school-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.school-post         { background-image: url('/static/img/notices/school-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.school-reply        { background-image: url('/static/img/notices/school-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-calendar      { background-image: url('/static/img/notices/school-calendar.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-user-add      { background-image: url('/static/img/notices/student-added.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-post          { background-image: url('/static/img/notices/school-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-post-mention  { background-image: url('/static/img/notices/school-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-reply         { background-image: url('/static/img/notices/school-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-reply-mention { background-image: url('/static/img/notices/school-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.team-post           { background-image: url('/static/img/notices/class-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.team-reply          { background-image: url('/static/img/notices/class-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.parent-linked       { background-image: url('/static/img/notices/parent-linked.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.upload-added        { background-image: url('/static/img/notices/class-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.feedback-added      { background-image: url('/static/img/notices/class-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.feedback-comment-added:before { content: '💬'; line-height: 32px; font-size: 20px; }
.cikumas-notices .notices ul > li .notice > .icon.birthday:before               { content: '🎂'; line-height: 32px; font-size: 20px; }
.cikumas-notices .notices ul > li .notice > .icon.onboarding-renew:before       { content: "\f2b5"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }


.cikumas-notices .notices ul > li .notice > .info              { display: inline-block; vertical-align: middle; margin: 0 10px; width: calc(100% - 32px - 30px - 50px); }
.cikumas-notices .notices ul > li .notice > .info > *          { overflow: hidden; text-overflow: ellipsis; /*white-space: nowrap;*/ }
.cikumas-notices .notices ul > li .notice > .info > .title     { font-size: 10px; line-height: 15px; color: #999; }
.cikumas-notices .notices ul > li .notice > .info > .title > b { font-weight: normal; color: #0C83FF; }
.cikumas-notices .notices ul > li .notice > .info > .text      { font-size: 11px; line-height: 17px; color: #0C83FF; }

.cikumas-notices .notices ul > li .notice > .time             { display: inline-block; vertical-align: top; width: 50px; }
.cikumas-notices .notices ul > li .notice > .time             { font-size: 10px; line-height: 15px; color: #0C83FF; text-align: center; }

.cikumas-notices .notices ul > li       .notice > .time { opacity: 1; }
.cikumas-notices .notices ul > li:hover .notice > .time { opacity: 0; }

.cikumas-notices .notices ul > li       .notice-hide    { line-height: 15px; padding: 10px 20px 10px 10px; width: 50px; font-size: 10px; color: #0C83FF; text-align: right; }
.cikumas-notices .notices ul > li       .notice-hide    { position: absolute; z-index: 2; right: 0; top: 0; }
.cikumas-notices .notices ul > li       .notice-hide    { right: -80px; }
.cikumas-notices .notices ul > li:hover .notice-hide    { right: 0; }

